/* Yarness design tokens — the SINGLE SOURCE OF TRUTH for the "Reclaim" design language
   (colors · accent · fonts · radius). Consumed by BOTH the dashboard (apps/desktop/ui — the
   BASELINE) and the admin console (apps/desktop/ui-admin). The two copies MUST stay byte-identical;
   uiTokensSync.test.ts fails if they drift. Layout-only vars (e.g. --rail-w) live in each UI's own
   styles.css, not here. */
:root {                       /* LIGHT (default) */
  color-scheme: light;
  --bg: #e9e5dd; --panel: #faf8f3; --panel-2: #f1ede4; --raised: #f4f1ea;
  --border: #d9d3c5; --border-2: #e7e2d6; --line: #cabfac;
  --text: #1b1812; --muted: #6a6253; --dim: #9a9181; --faint: #c2bba9;
  --accent: #ffd60a;          /* bright — fills, glows, bars */
  --accent-ink: #998006;      /* darkened — accent-colored TEXT, legible on light */
  --accent-dim: rgba(255,214,10,.16);
  --accent-line: rgba(255,214,10,.45);
  --det: #6fae2f; --det-ink: #456c1d;      /* deterministic / secondary green */
  --ok: #5fa024; --warn: #c8861a; --err: #d9543a; --queue: #9a9181;
  --r: 2px;
  --mono: 'JetBrains Mono', ui-monospace, "Cascadia Code", monospace;
  --ui: 'Chakra Petch', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {         /* DARK (warm near-black) */
  color-scheme: dark;
  --bg: #161410; --panel: #1f1c15; --panel-2: #15130d; --raised: #272318;
  --border: #332e22; --border-2: #211d15; --line: #3f3829;
  --text: #ece7db; --muted: #9c9384; --dim: #6c6454; --faint: #423c2e;
  --accent: #ffd60a;
  --accent-ink: #ffd60a;      /* on dark, accent text can be full-bright */
  --accent-dim: rgba(255,214,10,.14);
  --accent-line: rgba(255,214,10,.4);
  --det: #9bd154; --det-ink: #9bd154;
  --ok: #9bd154; --warn: #ffb84d; --err: #ff7a5c; --queue: #6c6454;
}
