/* TractCue design tokens — the ONE place these are defined.

   Every page (public, app, coverage) links this file first, via site/shell.py.
   Before it existed the same palette was declared three times (tc.css,
   tc-app.css, and an inline copy in coverage.py) under drifting names —
   --signal-d vs nothing, --tint vs --signal-wash — so a colour change meant
   three edits and a dark-mode fix landed in one of them.

   Values are the redesign canvas's (Design.html, Sep 2026): ink on warm paper,
   rust signal, hairline rules. Light only, like the canvas. */

:root{
  --paper:#FAF9F6;--surface:#F2F0EA;--ink:#0A0A0A;--muted:#55514A;
  --signal:#B83A0C;--signal-d:#8F2D08;--signal-bright:#E85C1A;
  --signal-wash:#FBEDE6;--tint:#FBEDE6;
  --rule:#D8D4CC;--rule-strong:#6F6A61;
  --green:#2E6B3E;--amber:#8A5A00;--red:#9B2C2C;
  --display:"Newsreader","Iowan Old Style",Georgia,serif;
  --text:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --record:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --measure:75rem;
}
/* Light only. The design is ink on warm paper and has no dark theme, and the
   site must look the same whatever the visitor's OS is set to. color-scheme
   keeps form fields and scrollbars light too. */
:root{color-scheme:light}

/* The brand mark: square outline in ink, the signal wedge in its corner.
   Drawn with currentColor-free fills so it follows the theme. */
.mark{display:inline-block;width:22px;height:22px;flex:none;vertical-align:-5px}
.mark rect{fill:none;stroke:var(--ink);stroke-width:2}
.mark path{fill:var(--signal)}
