/* BL-9 — BML shared design tokens (color + type scale).
   Foundation layer for the cohesion shell: loaded FIRST, before each app's
   own stylesheet, so every app starts from the same maroon palette and the
   same Master Document §4.2 font-size floors. Each app's own CSS still
   defines its own :root tokens afterward and those win the cascade — this
   file is the shared baseline, not a replacement for per-app styling.
   Keep this file byte-identical across hub/tasks/roster/library public/assets/.
   BRAND.md L1 (Courtney, 2026-07-16): ONE palette — black + maroon.
   No teal/aqua/sea, no navy/blue. */
:root{
  /* Brand */
  --maroon:#8C1B23;
  --maroon-deep:#5E0F15;
  --maroon-bright:#A93038;
  --wash:#F9ECEE;
  --canvas:#FAF6F5;
  --ink:#16181D;
  --muted:#5D5052;
  --line:#ECE0E0;

  /* Status (small badges/labels only — never identity) */
  --ok:#127A4B;
  --warn:#9A6400;
  --err:#BE3A34;

  /* Type scale — the Master Document §4.2 desktop floors are the SMALLEST
     steps here. Nothing on a daily-use surface should render smaller than
     --fs-helper except the documented .badge/.life chip exception. */
  --fs-helper:13px;   /* helper text ≥13px */
  --fs-dense:13.5px;  /* dense table cells ≥13.5px */
  --fs-label:14px;    /* form labels 14px */
  --fs-body:15px;     /* body 15–16px */
  --fs-sched:15.5px;  /* schedule names/times 15–16px */
  --fs-h3:19px;
  --fs-h2:22px;
  --fs-h1:30px;       /* page headings 28–34px */

  /* Type families — self-hosted (see fonts.css); system fallbacks first-paint */
  --serif:'Fraunces',Georgia,serif;
  --sans:'Inter',-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;

  /* Shared radii */
  --r-sm:8px;

  /* Secondary UI tokens — consolidated 2026-08-01 (Batch-2a · MFR-H26 / B1).
     Previously redefined per-app and in disagreement (hub --radius:16 vs 14
     in the other three; --shadow-sm 0 4px 14px on hub vs 0 3px 10px elsewhere;
     --maroon-tint drifted #F7EBEC / #FAEFF0 / #F9ECEE), so cards / pills /
     hover states were NOT pixel-identical across hub / tasks / roster /
     library. Promoted to ONE value each — the majority the other three
     already shipped — and the per-app :root overrides removed so the cascade
     lands here. Rollback = restore the per-app defs and delete this block. */
  --radius:14px;
  --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(33,26,27,.05),0 3px 10px rgba(33,26,27,.05);
  --maroon-tint:#F9ECEE;
}
