/* Fonts are self-hosted: no external requests. Geist (SIL OFL 1.1), Inter optional fallback. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ==========================================================
   Business Manager — "Sleek"
   Built on The Glass Company's Sleek system (same type, ink/white/grey, no borders, dock),
   with the business's own calm colour instead of tape yellow: slate blue by default, .green as the option.
   In the app: <body class="sk">, add "dark" for dark mode and "green" for the green colour.
   Sign-in screens always use "sk dark".
   ========================================================== */

.sk {
  --bg: #F3F3F0;          /* Page */
  --surface: #FFFFFF;     /* Cards, sheets */
  --fill: #ECECE8;        /* Fields, chips, keys, segmented track */
  --fill-2: #E2E2DD;      /* Pressed */
  --line: rgba(11,13,18,.08);
  --ink: #0B0D12;         /* Text and primary buttons. 17.5:1 on page */
  --ink-2: #3B3F47;       /* Secondary text 10.6:1 */
  --ink-3: #5F646D;       /* Labels only 5.0–6.0:1 */
  --dock: #0B0D12;        /* Floating action dock */
  --on-dock: #F3F3F0;
  --on-dock-2: #A6ABB4;   /* 8.4:1 on dock */
  /* --accent, --accent-ink, --accent-soft, --on-accent: see "The business's colour" at the end */
  --warn: #9A4A00; --warn-bg: #FFF1E0;
  --bad: #B42318; --bad-bg: #FDECEA;
  --ok: #1F7A4D;
  --r-field: 16px; --r-card: 22px; --r-sheet: 32px;
  --tap: 56px; --key: 64px; --mic: 84px;
  --shadow-card: 0 1px 2px rgba(11,13,18,.04), 0 8px 24px rgba(11,13,18,.05);
  --shadow-float: 0 12px 32px rgba(11,13,18,.22), 0 2px 6px rgba(11,13,18,.12);

  font-family: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
}
.sk * { box-sizing: border-box; }
.sk button { font-family: inherit; letter-spacing: inherit; }
.sk .i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; flex: none; }
.sk .i.s18 { width: 18px; height: 18px; }
.sk .i.s26 { width: 26px; height: 26px; }

.sk .scrim { position: absolute; inset: 0; background: rgba(11,13,18,.32); z-index: 3; }

/* ---------- header: light, large title ---------- */
.sk .top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; min-height: 64px; flex: none; }
.sk .circ { width: 48px; height: 48px; margin: 4px; border-radius: 50%; background: var(--surface); border: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 1px 2px rgba(11,13,18,.06); cursor: pointer; }
.sk .circ::after { content: none; }
.sk .textact { min-height: 56px; padding: 0 14px; border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); }
.sk .title { padding: 4px 20px 0; margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.sk .subtitle { padding: 6px 20px 0; margin: 0; font-size: 15px; color: var(--ink-3); font-weight: 500; }
.sk .brand { display: flex; align-items: center; gap: 10px; padding-left: 6px; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.sk .brand svg { width: 28px; height: 28px; }

/* ---------- page ---------- */
.sk .page { flex: 1; padding: 20px 16px 140px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.sk .label { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 8px 4px 0; display: flex; justify-content: space-between; align-items: baseline; }
.sk .label .act { color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- floating dock ---------- */
.sk .dock { position: absolute; left: 16px; right: 16px; bottom: 22px; height: 92px; border-radius: 46px; background: var(--dock); box-shadow: var(--shadow-float); display: grid; grid-template-columns: minmax(0,1fr) var(--mic) minmax(0,1fr); align-items: center; gap: 8px; padding: 4px; z-index: 4; }
.sk .dock .side { min-height: 64px; border: 0; background: transparent; color: var(--on-dock); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; border-radius: 40px; cursor: pointer; }
.sk .dock .side .i { color: var(--on-dock); }
.sk .dock .side.dim { color: var(--on-dock-2); }
.sk .dock .pill { justify-self: center; width: auto; min-width: 88px; height: 56px; border: 0; border-radius: 28px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 18px; cursor: pointer; }
.sk .dock .pill .i { width: 16px; height: 16px; }
.sk .dock .pill.off { background: rgba(255,255,255,.10); color: var(--on-dock-2); }
.sk .dock.wide { grid-template-columns: minmax(0,1fr); padding: 14px; height: 84px; }
.sk .mic { width: var(--mic); height: var(--mic); border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sk .mic .i { width: 32px; height: 32px; stroke-width: 2.2; }
.sk .mic.on { background: var(--surface); box-shadow: 0 0 0 4px var(--accent); }
.sk .mic.on .i { color: var(--ink); }

/* ---------- buttons ---------- */
.sk .btn { min-height: var(--tap); padding: 0 22px; border-radius: 999px; border: 0; background: var(--fill); color: var(--ink); font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.sk .btn.primary { background: var(--ink); color: #fff; }
.sk .btn.ghost { background: transparent; }
.sk .btn.danger { background: var(--bad-bg); color: var(--bad); }
.sk .btn.block { width: 100%; }

/* ---------- fields: filled, label inside ---------- */
.sk .field { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 64px; padding: 10px 16px; border-radius: var(--r-field); background: var(--surface); position: relative; }
.sk .field .fl { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sk .field .fv { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.sk .field .fv.ph { color: var(--ink-3); font-weight: 400; }
.sk .field.focus { box-shadow: 0 0 0 2px var(--ink); }
.sk .field.voice { background: var(--accent-soft); }
.sk .field .vmark { position: absolute; right: 14px; top: 50%; margin-top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sk .field .vmark .i { width: 13px; height: 13px; stroke-width: 2.6; }
.sk .group { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.sk .group .field { border-radius: 0; background: transparent; }
.sk .group .field + .field { box-shadow: inset 0 1px 0 var(--line); }
.sk .group .field.voice { background: var(--accent-soft); }
.sk .field .caret { display: inline-block; width: 2px; height: 20px; background: var(--ink); vertical-align: -4px; margin-left: 1px; }

/* ---------- inline voice panel ---------- */
.sk .listen { background: var(--dock); color: var(--on-dock); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sk .listen .lh { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--on-dock-2); }
.sk .listen .lh .live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sk .listen .lh .stop { margin-left: auto; color: var(--on-dock); font-size: 14px; font-weight: 600; }
.sk .wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.sk .wave i { width: 3px; border-radius: 2px; background: var(--accent); display: block; }
.sk .listen .said { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--on-dock); }
.sk .listen .said .soft { color: var(--on-dock-2); }
.sk .checks { display: flex; flex-wrap: wrap; gap: 6px; }
.sk .checks span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.08); color: var(--on-dock-2); }
.sk .checks span .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--on-dock-2); }
.sk .checks span.done { background: rgba(255,255,255,.14); color: var(--on-dock); }
.sk .checks span.done .dot { box-shadow: none; background: var(--accent); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.sk .checks span.done .dot .i { width: 11px; height: 11px; stroke-width: 3; }
.sk .hint { background: var(--surface); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sk .hint p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.sk .hint .checks span { background: var(--fill); color: var(--ink-2); }
.sk .hint .checks span .dot { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.sk .hint .checks span.done { background: var(--accent-soft); color: var(--ink); }
.sk .filled { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 14.5px; font-weight: 600; }
.sk .filled .vmark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.sk .filled .vmark .i { width: 13px; height: 13px; stroke-width: 2.6; }
.sk .filled .undo { margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- cards ---------- */
.sk .card { background: var(--surface); border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); position: relative; }
.sk .card .row { display: flex; align-items: center; gap: 8px; }
.sk .card .t1 { font-size: 16px; font-weight: 600; flex: 1; min-width: 0; letter-spacing: -0.01em; }
.sk .card .t2 { font-size: 14.5px; color: var(--ink-3); font-weight: 500; }
.sk .card .spec { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.sk .card.new { box-shadow: 0 0 0 2px var(--accent), var(--shadow-card); }
.sk .card.flag { box-shadow: 0 0 0 1.5px #F0B27A, var(--shadow-card); }
.sk .card .warnline { display: flex; align-items: center; gap: 6px; color: var(--warn); font-size: 14.5px; font-weight: 600; }
.sk .card.forming { background: transparent; box-shadow: none; border: 1.5px dashed rgba(11,13,18,.28); }
.sk .card .chev { color: var(--ink-3); }
.sk .badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 12.5px; font-weight: 650; }
.sk .badge.ink { background: var(--ink); color: #fff; }
.sk .badge.acc { background: var(--accent); color: var(--ink); }
.sk .badge.warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- sizes ---------- */
.sk .sz { font-weight: 650; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.sk .sz .x { font-weight: 400; color: var(--ink-3); font-size: .55em; margin: 0 .3em; letter-spacing: 0; }
.sk .fr { display: inline-flex; flex-direction: column; align-items: center; font-size: .46em; line-height: 1; margin-left: .12em; font-weight: 650; letter-spacing: 0; }
.sk .fr > span:first-child { border-bottom: .1em solid currentColor; padding: 0 .1em .06em; }
.sk .fr > span:last-child { padding-top: .06em; }
.sk .sz.l { font-size: 38px; }
.sk .sz.m { font-size: 30px; }
.sk .sz.xl { font-size: 64px; }
.sk .sz .in { font-size: .5em; font-weight: 500; color: var(--ink-3); align-self: flex-start; margin-left: .08em; margin-top: .1em; }

/* ---------- chips, segmented, stepper ---------- */
.sk .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); background: var(--fill); border-radius: 18px; padding: 4px; gap: 4px; }
.sk .seg.g2 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }
.sk .seg button { min-height: 52px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-2); font-size: 15.5px; font-weight: 550; cursor: pointer; }
.sk .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 650; box-shadow: 0 1px 2px rgba(11,13,18,.08), 0 2px 8px rgba(11,13,18,.06); }
.sk .sizes { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.sk .sizebtn { min-height: 96px; border-radius: var(--r-card); border: 0; background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; color: var(--ink); cursor: pointer; }
.sk .sizebtn .fl { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sk .sizebtn.empty .ph { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.sk .sizebtn.on { box-shadow: 0 0 0 2px var(--ink); }
.sk .stepper { display: inline-flex; align-items: center; background: var(--surface); border-radius: 999px; padding: 4px; gap: 4px; }
.sk .stepper button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sk .stepper output { min-width: 40px; text-align: center; font-size: 20px; font-weight: 650; }
.sk .rowline { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: var(--r-card); padding: 8px 8px 8px 18px; min-height: 68px; }
.sk .rowline .k { font-size: 16px; font-weight: 600; }
.sk .rowline .k small { display: block; font-size: 14px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.sk .rowline .chg { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- keypad sheet ---------- */
.sk .sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--surface); border-radius: var(--r-sheet); padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 10px; z-index: 5; box-shadow: var(--shadow-float); }
.sk .grab { width: 40px; height: 5px; border-radius: 3px; background: #D5D5D0; align-self: center; }
.sk .readout { display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 6px 4px; }
.sk .readout .fl { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.sk .readout .caret { width: 3px; height: 54px; background: var(--accent); border-radius: 2px; margin-left: 6px; }
.sk .tabs { display: flex; gap: 4px; background: var(--fill); padding: 4px; border-radius: 999px; }
.sk .tabs span { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.sk .tabs span.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(11,13,18,.08); }
.sk .fracs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.sk .fracs button { height: 58px; border-radius: 16px; border: 0; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.sk .fracs button .fr { font-size: 20px; margin: 0; }
.sk .fracs button[aria-pressed="true"] { background: var(--accent); }
.sk .keys { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.sk .keys button { height: var(--key); border-radius: 18px; border: 0; background: var(--fill); color: var(--ink); font-size: 28px; font-weight: 550; display: flex; align-items: center; justify-content: center; }
.sk .keys button.fn { background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.sk .kfoot { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 6px; }
.sk .kfoot .btn { min-height: 60px; }

/* ==========================================================
   Round 3 — remaining components
   ========================================================== */

/* link and small actions */
.sk .link { min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.sk .link.muted { color: var(--ink-3); text-decoration: none; }
.sk .link.bad { color: var(--bad); text-decoration: none; }
.sk .btn.confirm { background: var(--bad); color: #fff; }
.sk .btn[disabled], .sk .btn.off { background: var(--fill); color: var(--ink-3); }
.sk .btn.primary.off { background: var(--fill-2); color: var(--ink-3); }
.sk .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; }
.sk .spin.dk { border-color: rgba(11,13,18,.15); border-top-color: var(--ink); }

/* chips */
.sk .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk .chip { min-height: 56px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--fill); color: var(--ink); font-size: 15px; font-weight: 550; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sk .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 650; }
.sk .chip .swc { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.2); }

/* switch row */
.sk .switch { width: 52px; height: 32px; border-radius: 999px; background: var(--fill-2); position: relative; flex: none; }
.sk .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sk .switch.on { background: var(--ink); }
.sk .switch.on::after { left: 23px; }

/* grouped list (settings, details) */
.sk .list { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.sk .li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 16px; box-shadow: inset 0 -1px 0 var(--line); font-size: 16px; font-weight: 500; }
.sk .li:last-child { box-shadow: none; }
.sk .li .k { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sk .li .k small { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.sk .li .v { color: var(--ink-3); font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.sk .money { min-width: 104px; height: 44px; border-radius: 12px; background: var(--fill); padding: 0 12px; display: flex; align-items: center; justify-content: flex-end; gap: 2px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.sk .money .u { color: var(--ink-3); font-weight: 500; font-size: 14px; }
.sk .money.unset { background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.sk .section { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 18px 4px 2px; }

/* notes */
.sk .note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--surface); color: var(--ink-2); font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.sk .note b { color: var(--ink); font-weight: 650; }
.sk .note .i { width: 20px; height: 20px; margin-top: 1px; color: var(--ink); }
.sk .note.warn { background: var(--warn-bg); color: var(--warn); }
.sk .note.warn b, .sk .note.warn .i { color: var(--warn); }
.sk .note.bad { background: var(--bad-bg); color: var(--bad); }
.sk .note.bad b, .sk .note.bad .i { color: var(--bad); }
.sk .note.ask { background: var(--accent-soft); color: var(--ink); }

/* toast — floats above the dock */
.sk .toast { position: absolute; left: 50%; transform: translateX(-50%); bottom: 128px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 0 18px 0 12px; height: 48px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-float); z-index: 6; }
.sk .toast .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #0B0D12; display: flex; align-items: center; justify-content: center; }
.sk .toast .tick .i { width: 14px; height: 14px; stroke-width: 2.8; }
.sk .toast.bad { background: var(--bad); color: #fff; }
.sk .toast .act { margin-left: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* empty + skeleton */
.sk .empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; }
.sk .empty .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.sk .empty h3 { margin: 6px 0 0; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.sk .empty p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-3); max-width: 280px; }
.sk .say { background: var(--surface); border-radius: 18px; padding: 14px 16px; font-size: 15.5px; line-height: 1.45; color: var(--ink); text-align: left; font-weight: 500; }
.sk .skel { background: var(--fill); border-radius: 8px; height: 14px; }

/* status strip (offline) */
.sk .strip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sk .strip .i { width: 18px; height: 18px; }

/* photos */
.sk .photos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.sk .photos .ph { aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 0; padding: 0; background: #CFCFC9; }
.sk .addphoto { aspect-ratio: 1; border-radius: 16px; border: 0; background: var(--fill); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sk .viewer { position: absolute; inset: 0; background: #000; color: #fff; display: flex; flex-direction: column; z-index: 8; }
.sk .viewer .vt { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.sk .viewer .circ { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }

/* review panel (after voice, inline) */
.sk .review { background: var(--surface); border-radius: var(--r-card); padding: 6px; display: flex; flex-direction: column; box-shadow: 0 0 0 2px var(--accent); }
.sk .review .rh { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.sk .review .rh .vmark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #0B0D12; }
.sk .review .rh .vmark .i { width: 13px; height: 13px; stroke-width: 2.6; }
.sk .rp { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: var(--bg); margin: 0 0 6px; }
.sk .rp .row { display: flex; align-items: center; gap: 8px; }
.sk .rp .t1 { flex: 1; font-size: 15.5px; font-weight: 600; }
.sk .rp .spec { font-size: 14px; color: var(--ink-2); }
.sk .review .ra { display: flex; gap: 6px; padding: 4px 0 0; }
.sk .review .ra .btn { flex: 1; }

/* sign-in */
.sk .signin { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 72px 20px 28px; }
.sk .signin .big { margin: 18px 0 0; font-size: 34px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; }
.sk .signin p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.sk .signin p b { color: var(--ink); font-weight: 600; }
.sk .signin .foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.sk .signin .links { display: flex; justify-content: space-between; }
.sk .phonein { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 0 18px; border-radius: 20px; background: var(--fill); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sk .phonein .cc { color: var(--ink-3); font-size: 20px; }
.sk .phonein.focus { box-shadow: 0 0 0 2px var(--ink); }
.sk .code { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; }
.sk .code span { height: 68px; border-radius: 16px; background: var(--fill); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sk .code span.cur { box-shadow: 0 0 0 2px var(--accent); }
.sk .code.err span { background: var(--bad-bg); color: var(--bad); }
.sk .code.busy span { color: var(--ink-3); }
.sk .code.locked span { opacity: .45; }

/* quote */
.sk .paper { background: #fff; color: #0B0D12; border-radius: var(--r-card); padding: 22px 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; font-size: 14px; }
.sk .paper .ph1 { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; }
.sk .paper .qt { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; }
.sk .paper .qd { font-size: 12.5px; color: #5F646D; text-align: right; line-height: 1.5; }
.sk .paper .for { padding: 12px 0 14px; border-top: 1px solid rgba(11,13,18,.1); font-size: 13.5px; line-height: 1.5; color: #3B3F47; }
.sk .paper .for b { color: #0B0D12; font-size: 15px; font-weight: 650; }
.sk .ql { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; row-gap: 2px; padding: 11px 0; border-top: 1px solid rgba(11,13,18,.08); }
.sk .ql .w { font-size: 14.5px; font-weight: 600; }
.sk .ql .amt { font-size: 14.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sk .ql .amt.tbd { color: #9A4A00; font-size: 13px; }
.sk .ql .d { grid-column: 1 / -1; font-size: 12.5px; color: #5F646D; line-height: 1.4; }
.sk .ql.x .w, .sk .ql.x .amt { font-weight: 500; color: #3B3F47; }
.sk .qtot { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; border-top: 1.5px solid #0B0D12; }
.sk .qtot b { font-size: 15px; font-weight: 650; }
.sk .qtot span { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.sk .qnote { font-size: 12.5px; color: #3B3F47; line-height: 1.5; padding-top: 8px; }

/* people */
.sk .av { width: 40px; height: 40px; border-radius: 50%; background: var(--fill); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 650; flex: none; }

/* ==========================================================
   Dark mode for the sleek style. Same structure; the dock
   lifts off the page, the white pill and the mic stay bright.
   ========================================================== */
.sk.dark {
  --bg: #0B0D12;
  --surface: #16181F;
  --fill: #22252D;
  --fill-2: #2D3039;
  --line: rgba(255,255,255,.08);
  --ink: #F3F3F0;
  --ink-2: #CBCDD3;
  --ink-3: #9CA0AA;
  --dock: #22252D;
  --on-dock: #F3F3F0;
  --on-dock-2: #A6ABB4;
  --warn: #FFB066; --warn-bg: #3A2410;
  --bad: #FF8A80; --bad-bg: #3A1614;
  --shadow-card: none;
  --shadow-float: 0 12px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}
.sk.dark .dock .pill { background: #F3F3F0; color: #0B0D12; }
.sk.dark .dock .pill.off { background: rgba(255,255,255,.08); color: var(--on-dock-2); }
.sk.dark .btn.primary { background: #F3F3F0; color: #0B0D12; }
.sk.dark .btn.confirm { background: #E5484D; color: #fff; }
.sk.dark .listen { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sk.dark .mic.on { background: #0B0D12; }
.sk.dark .mic.on .i { color: #F3F3F0; }
.sk.dark .circ { background: var(--surface); box-shadow: none; }
.sk.dark .card.forming { border-color: rgba(255,255,255,.25); }
.sk.dark .card.flag { box-shadow: 0 0 0 1.5px #8A5A2B; }
.sk.dark .badge.ink { background: #F3F3F0; color: #0B0D12; }
.sk.dark .toast { background: #F3F3F0; color: #0B0D12; }
.sk.dark .grab { background: #3A3D46; }
.sk.dark .scrim { background: rgba(0,0,0,.55); }
.sk.dark .switch::after { background: #F3F3F0; }
.sk.dark .switch.on { background: #F3F3F0; }
.sk.dark .switch.on::after { background: #0B0D12; }
.sk.dark .spin { border-color: rgba(11,13,18,.2); border-top-color: #0B0D12; }
.sk.dark .fracs button[aria-pressed="true"], .sk.dark .mic, .sk.dark .badge.acc, .sk.dark .filled .vmark, .sk.dark .checks span.done .dot { color: #0B0D12; }
.sk.dark .mic.on { color: #F3F3F0; }

/* ==========================================================
   Business Manager — extends "Sleek" (everything above is the
   glass app's app-sleek.css, unchanged). Same tokens, same .sk scope.
   New pieces: desk shell + rail nav, money figures, status tags,
   tables, editable lines, trade slots, owed/aging, tiles, demo banner.
   ========================================================== */

.sk { --ok-bg: #E4F1EA; --age-0: #C9CAC3; --age-1: #E8A15A; --age-2: #9A4A00; --rail: 248px; }
.sk.dark { --age-0: #3B3F47; --age-1: #C7772F; --age-2: #FFB066; }
.sk a { color: var(--ink); }
.sk button.switch { border: 0; padding: 0; cursor: pointer; }
.sk .i.s20 { width: 20px; height: 20px; }
.sk .i.s16 { width: 16px; height: 16px; }

/* ---------- demo banner: slim, above everything, never yellow ---------- */
.sk .demo { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 36px; padding: 6px 16px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 550; text-align: center; }
.sk .demo a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sk.dark .demo { background: var(--fill); color: var(--ink); }

/* ---------- desk shell: rail + main ---------- */
.sk .desk { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 100vh; }
.sk .rail { flex: 0 1 var(--rail); display: flex; flex-direction: column; gap: 2px; padding: 22px 14px 20px; }
.sk .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; padding: 0 40px 32px; }
.sk .wrap { width: 100%; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.sk .wrap.narrow { max-width: 780px; }
@media (max-width: 760px) {
  .sk .rail { flex-basis: 100%; flex-direction: row; overflow-x: auto; padding: 12px; }
  .sk .rail .nav { flex-direction: row; }
  .sk .rail .navsec, .sk .rail .me { display: none; }
  .sk .main { padding: 0 16px 24px; }
}

/* business identity: the customer's logo and name, never ours */
.sk .biz { display: flex; align-items: center; gap: 12px; padding: 2px 8px 22px; text-decoration: none; }
.sk .logo { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 750; letter-spacing: -0.03em; flex: none; overflow: hidden; }
.sk .logo img { width: 100%; height: 100%; object-fit: cover; }
.sk .biz b { display: block; font-size: 15px; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.sk .biz small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-top: 1px; }

/* rail nav: labels can be any length (Work orders, Estimates) */
.sk .nav { display: flex; flex-direction: column; gap: 2px; }
.sk .nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 14px; color: var(--ink-2); font-size: 15px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.sk .nav a .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sk .nav a .i { width: 20px; height: 20px; color: var(--ink-3); }
.sk .nav a:hover { background: var(--fill); }
.sk .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 650; box-shadow: var(--shadow-card); }
.sk .nav a[aria-current="page"] .i { color: var(--ink); }
.sk .nav a .n { font-size: 12.5px; font-weight: 650; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sk .nav a .n.late { color: var(--warn); }
.sk .navsec { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 18px 12px 6px; }
.sk .rail .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 16px 8px 0; font-size: 14px; font-weight: 600; }
.sk .rail .me small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }

/* desk header */
.sk .dhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 0 6px; }
.sk .dhead .title { padding: 0; font-size: 36px; }
.sk .dhead .subtitle { padding: 6px 0 0; }
.sk .dhead .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sk .crumb { display: flex; align-items: center; gap: 6px; padding-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.sk .crumb .circ { width: 40px; height: 40px; margin: 0 6px 0 0; }
.sk .crumb a { color: var(--ink-3); text-decoration: none; }

/* small buttons for the desk (still ≥44 px) */
.sk .btn.sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; gap: 6px; }
.sk .btn.surface { background: var(--surface); box-shadow: var(--shadow-card); }
.sk.dark .btn.surface { box-shadow: none; }
.sk .chips.sm .chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
.sk .chip .n { font-size: 12.5px; font-weight: 650; opacity: .65; font-variant-numeric: tabular-nums; }

/* ---------- panels and grids ---------- */
.sk .panel { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sk .panel .ph { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sk .panel h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.sk .panel .ph a, .sk .panel .ph .act { font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.sk .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.sk .cols.side { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 1100px) { .sk .cols.side { grid-template-columns: minmax(0, 1fr); } }

/* ---------- money ---------- */
.sk .amt { font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -0.015em; white-space: nowrap; }
.sk .fig { font-size: 44px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk .fig.xl { font-size: 64px; }
.sk .fig.m { font-size: 30px; letter-spacing: -0.035em; }
.sk .fig.late, .sk .amt.late { color: var(--warn); }
.sk .fig.ok, .sk .amt.ok { color: var(--ok); }
.sk .kl { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.sk .meta { font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.sk .meta b { color: var(--ink); font-weight: 650; }

/* ---------- status tags (filled, quiet; colour only for paid / late) ---------- */
.sk .tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 9px; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.sk .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sk .tag.ink { background: var(--ink); color: var(--bg); }
.sk .tag.ok { background: var(--ok-bg); color: var(--ok); }
.sk .tag.late { background: var(--warn-bg); color: var(--warn); }
.sk .tag.void { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--fill-2); }
.sk .tag.void::before { content: none; }

/* ---------- tables: no borders, hairline rows ---------- */
.sk .tblbox { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.sk .tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 500; }
.sk .tbl th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 0 12px 10px; white-space: nowrap; }
.sk .tbl td { padding: 14px 12px; box-shadow: inset 0 1px 0 var(--line); vertical-align: middle; }
.sk .tbl th:first-child, .sk .tbl td:first-child { padding-left: 0; }
.sk .tbl th:last-child, .sk .tbl td:last-child { padding-right: 0; }
.sk .tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk .tbl .sub { display: block; font-size: 13.5px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.sk .tbl a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sk .tbl a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sk .tbl tr.dim td { color: var(--ink-3); }
.sk .tbl tr.dim td .amt { text-decoration: line-through; }
.sk .tbl .trade { margin-top: 4px; }

/* compact list rows (home panels, phone) */
.sk .rows { display: flex; flex-direction: column; }
.sk .rw { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; box-shadow: inset 0 1px 0 var(--line); text-decoration: none; color: var(--ink); }
.sk .rw:first-child { box-shadow: none; }
.sk .rw .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sk .rw .nm b { font-size: 15.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk .rw .nm small { font-size: 13.5px; font-weight: 500; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk .rw .amt { font-size: 15.5px; }

/* ---------- forms on the desk ---------- */
.sk input.fv, .sk select.fv, .sk textarea.fv { border: 0; background: transparent; padding: 0; margin: 0; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); outline: none; width: 100%; min-width: 0; }
.sk textarea.fv { resize: vertical; line-height: 1.45; }
.sk .field.fill { background: var(--fill); }
.sk .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.sk .field .unit { position: absolute; right: 16px; bottom: 12px; font-size: 15px; color: var(--ink-3); font-weight: 500; }

/* search */
.sk .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sk .search { flex: 1 1 280px; max-width: 440px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); color: var(--ink-3); box-shadow: var(--shadow-card); }
.sk .search input { border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); flex: 1; min-width: 0; outline: none; }
.sk.dark .search { box-shadow: none; }

/* ---------- editable lines (quote / invoice editor) ---------- */
.sk .lines { display: flex; flex-direction: column; }
.sk .line { display: grid; grid-template-columns: minmax(220px, 1fr) 80px 92px 112px 124px 44px; gap: 8px; align-items: start; padding: 10px 0; box-shadow: inset 0 1px 0 var(--line); }
.sk .line.head { box-shadow: none; padding: 0 0 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); align-items: end; }
.sk .line.head .r { text-align: right; padding-right: 12px; }
.sk .cell { min-height: 48px; border-radius: 12px; background: var(--fill); padding: 0 12px; display: flex; align-items: center; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.sk .cell input { border: 0; background: transparent; font: inherit; color: inherit; width: 100%; min-width: 0; outline: none; padding: 0; }
.sk .cell.num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.sk .cell.num input { text-align: right; }
.sk .cell.focus { box-shadow: 0 0 0 2px var(--ink); background: var(--surface); }
.sk .cell.typed { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.sk .ldesc { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sk .rm { width: 44px; height: 48px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sk .addline { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }

/* ---------- trade slots: a generic place any trade module fills ---------- */
/* on a line: <div class="trade"><svg class="i">glass</svg>36 ¼ × 48 ⅝ glass · 8.51 sq ft</div> */
.sk .trade { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); padding-left: 2px; }
.sk .trade .i { width: 16px; height: 16px; color: var(--ink-3); }
/* on a job: link back to the trade app */
.sk .tbadge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.sk .tbadge .tm { width: 32px; height: 32px; border-radius: 50%; background: var(--fill); display: flex; align-items: center; justify-content: center; }
.sk .tbadge .tm .i { width: 16px; height: 16px; }
.sk .tbadge .go { width: 16px; height: 16px; color: var(--ink-3); }
.sk.dark .tbadge { box-shadow: none; }

/* ---------- totals ---------- */
.sk .totals { margin-left: auto; width: 100%; max-width: 380px; display: flex; flex-direction: column; }
.sk .totals .tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 15.5px; color: var(--ink-2); font-weight: 500; box-shadow: inset 0 -1px 0 var(--line); }
.sk .totals .tr b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sk .totals .tr.grand { box-shadow: inset 0 1.5px 0 var(--ink); margin-top: -1px; padding-top: 16px; color: var(--ink); font-weight: 650; font-size: 16px; }
.sk .totals .tr.grand b { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; }
.sk .totals .tr.paid b { color: var(--ok); }

/* ---------- still owed hero ---------- */
.sk .owed { display: flex; flex-direction: column; gap: 10px; }
.sk .owed .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* aging bar: not due / 1–30 late / over 30 late (differ in lightness, not only hue) */
.sk .aging { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 3px; background: transparent; }
.sk .aging i { display: block; height: 100%; }
.sk .aging i:nth-child(1) { background: var(--age-0); }
.sk .aging i:nth-child(2) { background: var(--age-1); }
.sk .aging i:nth-child(3) { background: var(--age-2); }
.sk .agekey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sk .agekey div { display: flex; flex-direction: column; gap: 4px; }
.sk .agekey span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.sk .agekey span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--age-0); }
.sk .agekey div:nth-child(2) span::before { background: var(--age-1); }
.sk .agekey div:nth-child(3) span::before { background: var(--age-2); }
.sk .agekey b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* who owes: a phone-through list */
.sk .callbtn { width: 48px; height: 48px; border-radius: 50%; background: var(--fill); color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; flex: none; }
.sk .callbtn.ink { background: var(--ink); color: var(--bg); }
.sk .who { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; box-shadow: inset 0 1px 0 var(--line); }
.sk .who:first-child { box-shadow: none; }
.sk .who .nm b { display: block; font-size: 16.5px; font-weight: 650; }
.sk .who .nm small { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink-3); font-weight: 500; margin-top: 3px; }
.sk .who .amt { font-size: 20px; text-align: right; }
.sk .who .amt small { display: block; font-size: 12.5px; font-weight: 600; color: var(--warn); letter-spacing: 0; margin-top: 2px; }

/* ---------- dock variants ---------- */
.sk .dock.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 76px; }
.sk .dock .side.arm { color: #FF9B91; }
.sk .dock .side.arm .i { color: #FF9B91; }

/* second tap: the same button, now asking. No dialogs, ever. */
.sk .twice { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sk .twice .hint2 { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }

/* ---------- module tiles (phone menu sheet) — 3 or 9, same grid ---------- */
.sk .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sk .tile { min-height: 96px; border-radius: 20px; background: var(--fill); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--ink); text-decoration: none; }
.sk .tile[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* ---------- settings: module switches ---------- */
.sk .li .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--fill); display: flex; align-items: center; justify-content: center; flex: none; }
.sk .li .lead { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sk .li.locked .switch { opacity: .45; }
.sk .li .wordin { width: 220px; flex: none; height: 44px; border-radius: 12px; background: var(--fill); padding: 0 12px; display: flex; align-items: center; font-size: 15.5px; font-weight: 500; }
.sk .li .wordin.ph { color: var(--ink-3); font-weight: 400; }
.sk .radio { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); flex: none; }
.sk .radio.on { box-shadow: inset 0 0 0 7px var(--ink); }
.sk .soon { font-size: 12.5px; font-weight: 650; color: var(--ink-3); background: var(--fill); height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; }
.sk .keyshow { font-family: ui-monospace, "Geist Mono", monospace; font-size: 15px; font-weight: 600; letter-spacing: .02em; background: var(--fill); border-radius: 12px; padding: 12px 14px; word-break: break-all; }

/* ---------- states ---------- */
.sk .state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 40px 24px; }
.sk .state .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--fill); display: flex; align-items: center; justify-content: center; }
.sk .state h3 { margin: 6px 0 0; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.sk .state p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-3); max-width: 320px; }
.sk .state .btn { margin-top: 8px; }

/* ---------- print: US Letter, plain browser printing ---------- */
.sk .letter { width: 816px; min-height: 1056px; background: #fff; color: #0B0D12; padding: 64px 72px 56px; display: flex; flex-direction: column; font-size: 14px; }
.sk .letter .bar { width: 56px; height: 4px; background: #0B0D12; margin-bottom: 28px; }
.sk .letter .lh { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sk .letter .who-biz { display: flex; flex-direction: column; gap: 14px; }
.sk .letter .who-biz .nm { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.sk .letter .who-biz .logo { width: 48px; height: 48px; border-radius: 12px; background: #0B0D12; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 750; }
.sk .letter .addr { font-size: 13.5px; line-height: 1.6; color: #3B3F47; }
.sk .letter .doc { text-align: right; }
.sk .letter .doc h1 { margin: 0; font-size: 52px; font-weight: 750; letter-spacing: -0.05em; line-height: 1; }
.sk .letter .doc p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: #3B3F47; }
.sk .letter .sec { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; margin-top: 28px; box-shadow: inset 0 1px 0 rgba(11,13,18,.12), inset 0 -1px 0 rgba(11,13,18,.12); }
.sk .letter .cap { font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #5F646D; margin-bottom: 6px; }
.sk .letter .sec b { display: block; font-size: 17px; font-weight: 650; margin-bottom: 2px; }
.sk .letter .sec p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #3B3F47; }
.sk .letter .tbl { margin-top: 26px; font-size: 14px; }
.sk .letter .tbl th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5F646D; box-shadow: inset 0 -1.5px 0 #0B0D12; padding-bottom: 10px; }
.sk .letter .tbl td { box-shadow: inset 0 -1px 0 rgba(11,13,18,.1); padding: 14px 12px; vertical-align: top; }
.sk .letter .tbl td:first-child, .sk .letter .tbl th:first-child { padding-left: 0; }
.sk .letter .tbl td:last-child, .sk .letter .tbl th:last-child { padding-right: 0; }
.sk .letter .tbl .sub { color: #5F646D; }
.sk .letter .foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: #3B3F47; box-shadow: inset 0 1px 0 rgba(11,13,18,.12); }
.sk .letter .owebox { margin-top: 14px; background: #0B0D12; color: #fff; border-radius: 16px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: baseline; }
.sk .letter .owebox b { font-size: 15px; font-weight: 650; }
.sk .letter .owebox span { font-size: 34px; font-weight: 750; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sk .letter .paynote { background: #F3F3F0; border-radius: 16px; padding: 16px 20px; font-size: 13.5px; line-height: 1.55; color: #3B3F47; }
.sk .letter .paynote b { color: #0B0D12; }
@media print {
  @page { size: letter; margin: 0; }
  .sk .letter { width: auto; min-height: 0; padding: 0.6in 0.7in; }
  .sk .noprint { display: none !important; }
}

/* ---------- phone frame helpers for these mockups (don't copy) ---------- */
.sk.phone { width: 390px; height: 844px; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.sk.phone .page { overflow: hidden; }

/* rail footer: settings + who's signed in, pinned to the bottom */
.sk .railfoot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 18px; }
.sk .railfoot .me { margin-top: 0; }
/* board helpers for these mockups only (don't copy) */
.sk .mk-cap { display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.sk .mk-cap b { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.sk .mk-cap span { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); font-weight: 500; }

/* small layout helpers (so app markup needs no style="" — the demo CSP blocks it) */
.sk .stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sk .stack.tight { gap: 6px; }
.sk .spread { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.sk .spread.mid { align-items: center; }
.sk .hrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sk .start { align-self: flex-start; }
.sk .latetxt { color: var(--warn); font-weight: 600; }
.sk .subtitle.pre { padding: 0 0 6px; }
.sk .pb6 { padding-bottom: 6px; }
.sk p.meta { margin: 0; }
/* aging widths: set with el.style.width from JS (CSSOM is allowed by the CSP; style="" in HTML is not) */
.sk .brand .logo { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.sk .qa { display: flex; gap: 8px; padding: 14px 16px 0; }
.sk .qa .btn { flex: 1; background: var(--surface); }
.sk .card .amt { font-size: 16px; }
.sk .card .hrow .tag { margin-left: auto; }
.sk .phone .owedcard { background: var(--surface); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); }
.sk .dock.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sk .entry { display: grid; grid-template-columns: 150px minmax(0, 1.3fr) 150px minmax(0, 1fr); gap: 8px; }
@media (max-width: 900px) { .sk .entry { grid-template-columns: 1fr 1fr; } }
.sk .rmx { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sk .rmx.arm { width: auto; padding: 0 14px; background: var(--bad); color: #fff; font-size: 14px; font-weight: 600; gap: 6px; border-radius: 999px; }
.sk .range { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sk .plrow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.sk .plrow:first-of-type { box-shadow: none; }
.sk .plrow b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sk .plrow.sum { box-shadow: inset 0 1.5px 0 var(--ink); color: var(--ink); font-weight: 650; }
.sk .plrow.sum b { font-size: 20px; font-weight: 700; }
.sk .profit { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

/* ==========================================================
   The business's colour (replaces the glass app's tape yellow).
   One calm colour per business: slate blue by default, green as the option (class .green), everything else ink and white.
   It marks good news (paid, profit, yes), switches, the mic and voice-filled fields.
   ========================================================== */
.sk {
  --accent: #3D6F99;        /* dusty slate blue (default). White on it 5.3:1 */
  --accent-ink: #2F5A80;    /* text in the colour: 6.4:1 on its soft fill */
  --accent-soft: #E4EDF5;   /* voice-filled fields, paid tags */
  --on-accent: #FFFFFF;
  --ok: var(--accent-ink); --ok-bg: var(--accent-soft);
}
.sk.green { --accent: #2F7A62; --accent-ink: #24614E; --accent-soft: #E3F0EA; }
.sk.dark { --accent: #86B4DE; --accent-ink: #9CC3E6; --accent-soft: #172A3B; --on-accent: #0B0D12; }
.sk.dark.green { --accent: #6CC3A0; --accent-ink: #84D2B2; --accent-soft: #16302A; }

.sk .mic, .sk .toast .tick, .sk .field .vmark, .sk .filled .vmark, .sk .review .rh .vmark,
.sk .checks span.done .dot, .sk .badge.acc, .sk.dark .mic, .sk.dark .filled .vmark, .sk.dark .badge.acc, .sk.dark .checks span.done .dot { color: var(--on-accent); }
.sk .mic.on { color: var(--ink); }
.sk .listen .lh .live { box-shadow: 0 0 0 4px var(--accent-soft); }
.sk .checks span.done { background: var(--accent-soft); color: var(--ink); }
.sk .switch.on, .sk.dark .switch.on { background: var(--accent); }
.sk.dark .switch.on::after { background: #F3F3F0; }
.sk .nav a[aria-current="page"] .i { color: var(--accent); }
.sk .chip .swc-green { background: #2F7A62; box-shadow: none; }
.sk .chip .swc-blue { background: #3D6F99; box-shadow: none; }
.sk .mic.sm { width: 56px; height: 56px; }
.sk .mic.sm .i { width: 24px; height: 24px; }
.sk .endrow { justify-content: flex-end; padding-top: 12px; }
.sk .btn.ghost { box-shadow: none; }
