/* Lunula shared building blocks — ONE source of truth for the design tokens and
   the desk-board card visuals, loaded by BOTH the mobile app (salon-android/app)
   and the desktop (public/). DESKTOP-V2.md hard requirement: Waiting / In chairs /
   To collect / Paid must look identical on every surface — these rules ARE that
   guarantee; do not fork them per-surface. Extracted verbatim from mobile.css. */

:root {
  --ink: #17121a; --ink2: #6e6472; --ink3: #a89fae;
  --hair: #eeeaf0; --paper: #ffffff; --wash: #faf8fb;
  --brand: #9d4564; --brand-deep: #7c3450; --gold: #ad8a52;
  --good: #2e7d54; --warn: #a06a1f; --bad: #b3261e; --info: #4a5d92;
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-full: 999px;
  --shadow-pop: 0 10px 24px rgba(23, 18, 26, .18);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 120ms; --t-med: 220ms;
}

.caps { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.num { font-variant-numeric: tabular-nums; }

/* ── desk board cards (phone-identical) ───────────────────────────────── */
.sec { margin: 6px 0 2px; display: flex; justify-content: space-between; align-items: baseline; }
.wstrip { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px; scrollbar-width: none; }
.wstrip::-webkit-scrollbar { display: none; }
.wcard { min-width: 146px; max-width: 200px; border: 1.5px solid var(--brand); border-radius: var(--r-md); padding: 12px 14px; text-align: left; background: var(--paper); flex: none; }
.wcard b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard span { font-size: 12px; color: var(--ink2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard .wt { color: var(--brand); font-weight: 700; font-size: 12px; }
.chair { display: flex; align-items: center; gap: 12px; border: 1px solid var(--hair); border-radius: var(--r-md); padding: 11px 14px; margin: 8px 0 0; width: 100%; background: var(--paper); text-align: left; }
.chair.pay { border-color: var(--gold); }
.chair .who { flex: 1; min-width: 0; }
.chair .who b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chair .who span { font-size: 12.5px; color: var(--ink2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chair .t { font-weight: 300; flex: none; }
.ringlet { width: 44px; height: 44px; border-radius: 50%; flex: none; background: conic-gradient(var(--brand) 0 calc(var(--pct, 0) * 1%), var(--hair) calc(var(--pct, 0) * 1%) 100%); display: flex; align-items: center; justify-content: center; }
.ringlet.gold { background: var(--gold); }
.ringlet i { width: 36px; height: 36px; border-radius: 50%; background: var(--wash); font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.ringlet.gold i { background: var(--paper); color: var(--gold); }
.owes-big { font-size: 24px; font-weight: 300; color: var(--bad); flex: none; }
.paid-chip { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--gold); border: 1px solid var(--gold); border-radius: var(--r-full); padding: 4px 11px; flex: none; text-transform: uppercase; }
.crow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); width: 100%; border-left: 0; border-right: 0; border-top: 0; background: none; text-align: left; }
.crow:last-child { border-bottom: 0; }
.crow .who { flex: 1; min-width: 0; }
.crow .who b { display: block; font-size: 15px; font-weight: 600; }
.crow .who span { font-size: 12.5px; color: var(--ink2); }
.crow .t { font-weight: 300; font-size: 15px; flex: none; }
.cmoon { width: 10px; height: 10px; border-radius: 50%; background: var(--hair); position: relative; overflow: hidden; flex: none; }
.cmoon::after { content: ""; position: absolute; left: 3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); }
.cmoon.live { background: var(--brand); }
.cmoon.done { background: var(--ink3); }
.cmoon.done::after { display: none; }

/* ── desktop shell in Lunula (loads after styles.css and overrides it) ─── */
.shell { font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.shell aside { background: var(--paper); border-right: 1px solid var(--hair); color: var(--ink); }
.shell aside .brand span { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.shell aside .brand-mark { background: var(--brand); color: #fff; border-radius: 50%; }
.shell aside .user-card { background: var(--wash); border: 1px solid var(--hair); color: var(--ink2); border-radius: 12px; }
.shell aside .user-card strong { color: var(--ink); }
.shell aside nav .nav-section { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin: 14px 0 4px; }
.shell aside nav button { background: none; border: 0; color: var(--ink2); font-weight: 500; border-radius: 10px; text-align: left; }
.shell aside nav button:hover { background: var(--wash); color: var(--ink); }
.shell aside nav button.active { background: var(--wash); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.shell main { background: var(--wash); }
.shell h1 { font-family: "Be Vietnam Pro", system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }

/* desk board layout */
.board-lanes { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; }
.board-lanes .lane { flex: 1; min-width: 0; }
.board-search { padding: 11px 16px; border: 1px solid var(--hair); border-radius: 12px; font-size: 14px; background: var(--paper); min-width: 260px; font-family: inherit; }
.board-search:focus { outline: none; border-color: var(--ink); }
.board-act { border: 0; border-radius: var(--r-full); background: var(--brand); color: #fff; font-weight: 600; padding: 8px 16px; font-size: 12.5px; white-space: nowrap; cursor: pointer; flex: none; font-family: inherit; }
.board-act:hover { background: var(--brand-deep); }
.chair .board-act { margin-left: 8px; }
#boardMoney { margin-top: 14px; }

/* ── money strip (desktop top / owner views) ──────────────────────────── */
.money-strip { display: flex; gap: 26px; border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 12px 16px; background: var(--paper); }
.money-strip span b { display: block; font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; }
.money-strip .red b { color: var(--bad); }
.money-strip .gold b { color: var(--gold); }
