/* ============================================================
   Kronos · Ledger — LOCKED design tokens (baseline 2026-06-02)
   Single source of truth. Every Kronos screen imports THIS file.
   Do not copy these values inline into screens (that is how tokens
   drift apart silently). Change here = change everywhere.
   Governed by the /design-lock protocol. Baseline = Round-4 Ledger,
   Aldrin rubric_run 76 PASS 20/20.
   ============================================================ */
:root{
  /* ---- brand reds ---- */
  --vino:#3D1620;        /* darkest; full-bleed, strongest moments */
  --bordeaux:#6E2532;    /* primary accent / workhorse red */
  --merlot:#8C2F3F;      /* mid red, secondary emphasis */
  --rose:#B57781;        /* soft red; captions, lighter half of K mark */

  /* ---- warm neutrals (paper family) ---- */
  --paper:#FAF6EC;       /* primary surface */
  --surface:#F5EFE2;     /* secondary panels */
  --champagne:#EFE2CC;   /* warm fill / read-only rows */
  --hairline:#D9C9AE;    /* warm dividers */

  /* ---- ink & greys ---- */
  --onyx:#161114;        /* body ink */
  --mist:#D9CFBE;        /* tan-grey 1  (FLAG: drifted from round-3 #8A7A7D mauve — see lock §Open) */
  --mist-2:#C7BBA6;      /* tan-grey 2 */
  --mist-3:#A39A87;      /* tan-grey 3 */
  --muted:#5A5048;       /* secondary text */

  /* ---- semantic accent roles ---- */
  --accent:#6E2532;      /* = bordeaux; send button, buttons, selection */
  --accent-deep:#3D1620; /* = vino; strongest emphasis */

  /* ---- status taxonomy (RESOLVED 2026-06-03: Approved = distinct green #7A8463, Rob's decision; supersedes monochrome-bordeaux) ---- */
  --st-open-fg:#B57781;          /* rose outline chip */
  --st-held-bg:#EFE2CC;          /* champagne */
  --st-held-fg:#3D1620;          /* vino */
  --st-approved-bg:#7A8463;      /* earthy green (Rob 2026-06-03; was bordeaux #6E2532) */
  --st-approved-fg:#161114;      /* onyx; AA PASS 4.72 on green (paper-on-green=3.67 FAILED AA-normal); weight 500 (not bold) */
  --st-submitted-bg:#6E2532;     /* bordeaux (Rob 2026-06-03; was vino #3D1620) */
  --st-submitted-fg:#FAF6EC;     /* paper */
  --st-blend-border:#B57781;     /* rose */

  /* ---- type families (locked) ---- */
  --font-display:'Cormorant Garamond', Georgia, serif;   /* wordmark + display */
  --font-body:'IBM Plex Sans', system-ui, sans-serif;    /* all body/UI */
  --font-num:'JetBrains Mono', ui-monospace, monospace;  /* ALL numbers (tabular) */

  /* ---- app chrome ---- */
  --backdrop:#11100F;    /* near-black, outside the device frame */
  --device-w:390px; --device-h:844px;  /* phone frame */

  /* ---- TARGET spacing/radius scale to RESTORE on wiring ----
     (Round-4 Ledger hardcoded px instead of tokens; round-3 had this scale.
      Re-adopt at wire-time — tracked as lock §Open item.) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --r:2px;               /* base corner radius */
}
