/* Workbench design tokens (docs/DESIGN.md, stage 2). Locked: build adds no new colour, size or
   spacing value. Contrast of every pair is computed by scripts/check-tokens.mjs, never asserted. */
:root {
  /* Colour. A circuit board: soldermask ground, copper for actions, gold only for reward (XP, rank). */
  --color-ground: #0c2a20;
  --color-raised: #113428;
  --color-raised-2: #184533;
  --color-line: #24604a;        /* dividers and card edges: decorative */
  --color-line-strong: #5a9a7e; /* input and control boundaries: must read as UI */
  --color-text: #eef4ee;
  --color-text-dim: #a9c4b6;
  --color-accent: #e39a52;      /* copper: the one action colour */
  --color-reward: #f1cb72;      /* gold: XP, rank, recall wins. Never an action. */
  --color-ink: #0b231a;         /* text on copper or gold */
  --color-ok: #93e5b2;
  --color-bad: #ff9584;

  /* Type */
  --font-display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --text-xs: 12px;  --text-sm: 14px;  --text-base: 16px;  --text-lg: 18px;
  --text-xl: 22px;  --text-2xl: 28px; --text-3xl: 36px;

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;

  /* Shape. Rule: cards 14px, controls 10px, solder pads and chips fully round. */
  --r-card: 14px; --r-control: 10px; --r-pill: 999px;

  /* Layout */
  --content-max: 760px; --nav-h: 64px; --tab-h: 64px;
  color-scheme: dark;
}
