/* sovana.css — the one set of colours, sizes and shared parts for the Sovana Suite home, Payables, Accounting and
   Sheets. Design: docs/design/2026-11-26-sovana-redesign-handoff.md. suite/sovana.css is the source; each app in the
   look carries an identical copy (each is published by itself): scripts/sovana-style-sync.sh copies it,
   and `scripts/sovana-style-sync.sh check` fails when a copy differs. Each app's own stylesheet builds its parts
   from these names. */
:root {
  --sv-ink: #1D1D1F; --sv-ink-soft: #3A3A3C; --sv-muted: #636366; --sv-faint: #AEAEB2;
  --sv-ctl: #D2D2D7; --sv-hair: #E4E4E7; --sv-rowline: #EFEFF2;
  --sv-page: #FFFFFF; --sv-head: #FAFAFB; --sv-bar: #F6F6F8; --sv-fill: #F0F0F3; --sv-fill-strong: #EBEBEE; --sv-row-hover: #F7FAFF;
  --sv-blue: #0066CC; --sv-blue-pressed: #004F9E; --sv-blue-soft: #F0F6FF;
  --sv-blue-bg: #E5F1FF; --sv-blue-tx: #0058B8;
  --sv-green-bg: #E6F4EA; --sv-green-tx: #1B6E30; --sv-green-ink: #14532A; --sv-tick: #248A3D;
  --sv-amber-bg: #FFF1D6; --sv-amber-tx: #8A5300; --sv-amber-ink: #5C3800; --sv-warn: #A04A00;
  --sv-red-bg: #FFE5E7; --sv-red-tx: #B00012; --sv-red-ink: #8A000E; --sv-red: #D70015;
  --sv-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --sv-r-quiet: 7px; --sv-r: 8px; --sv-r-table: 10px; --sv-r-menu: 12px; --sv-r-dialog: 14px; --sv-r-pill: 999px;
  --sv-bar-h: 52px; --sv-ctl-h: 32px;
  --sv-focus: 0 0 0 3px rgba(0,122,255,.35);
  --sv-shadow-menu: 0 12px 32px rgba(0,0,0,.14); --sv-shadow-dialog: 0 20px 50px rgba(0,0,0,.25);
}
@media (max-width: 720px) { :root { --sv-bar-h: 56px; --sv-ctl-h: 44px; } }

/* the way home in every bar: the suite's mark, then "Sovana". One link. */
.sv-home { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--sv-r); color: var(--sv-ink); font: 600 17px/1 var(--sv-font); text-decoration: none; white-space: nowrap; }
.sv-home:hover { background: var(--sv-fill-strong); }
.sv-home:focus-visible { outline: 2px solid var(--sv-blue-pressed); outline-offset: 2px; }
.sv-mark { width: 28px; height: 28px; flex: none; display: block; }   /* 28 and 17: Vinny found 24 and 15 too small (2026-11-27) */
.sv-divider { width: 1px; height: 20px; background: var(--sv-ctl); flex: none; }
.sv-app { display: inline-flex; align-items: center; gap: 7px; font: 400 17px/1 var(--sv-font); color: var(--sv-ink); white-space: nowrap; text-decoration: none; }
/* the suite's mark goes with "Sovana" (the way home); the app's own mark goes with the app's name, a little smaller */
.sv-appmark { width: 22px; height: 22px; flex: none; display: block; }
@media (max-width: 720px) {
  .sv-home { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .sv-home span { display: none; }   /* the divider stays: it keeps the suite's mark and the app's apart */
  .sv-divider { height: 44px; background: linear-gradient(var(--sv-ctl), var(--sv-ctl)) center / 1px 20px no-repeat; }   /* as tall as the mark beside it, so the bar stays one row; the line drawn is still 20 */
  .sv-mark { width: 28px; height: 28px; }
  .sv-app { font-size: 17px; font-weight: 600; }
}

/* a status tag: grey not started, amber waiting on someone, blue under way, green done, red stopped */
.sv-tag { display: inline-block; padding: 3px 9px; border-radius: var(--sv-r-pill); font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--sv-fill); color: var(--sv-muted); }
.sv-tag.amber { background: var(--sv-amber-bg); color: var(--sv-amber-tx); }
.sv-tag.blue { background: var(--sv-blue-bg); color: var(--sv-blue-tx); }
.sv-tag.green { background: var(--sv-green-bg); color: var(--sv-green-tx); }
.sv-tag.red { background: var(--sv-red-bg); color: var(--sv-red-tx); }

/* what needs an answer, and what is ready to go: the only two coloured boxes on a page (see the Load from
   QuickBooks mock-up, docs/design/2026-11-26-load-from-quickbooks-mockup.html) */
.sv-need { background: var(--sv-amber-bg); color: var(--sv-amber-ink); border-radius: var(--sv-r-menu); padding: 16px; }
.sv-ready { background: var(--sv-blue-bg); border-radius: var(--sv-r-menu); padding: 16px; }
