/* Shared look for the whole app (overhaulplan §6): the Builder's palette as
   custom properties. The legacy tracker names alias onto it so every page
   draws from one set. Each page keeps its own stylesheet otherwise. */
:root {
  color-scheme: light;

  /* Builder materials */
  --paper: #f5efe3;
  --surface: #fffaf0;
  --ink: #211b16;
  --muted: #6d6257;
  --faint: #a3968a;
  --rule: #d8cbb7;
  --rule-soft: #e9dfd0;
  --accent: #5e4939;
  --accent-soft: #efe6d5;

  /* Traffic-light trio mapped onto the Builder's pass/warn/fail hues */
  --pass: #2c6e3f;
  --warn: #9a6b12;
  --fail: #a51d1d;

  /* Page status scrubber (scrubber.md §1.1); approved uses --pass */
  --scrub-working: #2f6fd6;
  --scrub-ink: #d08a16;
  --scrub-rendered: #a38c70;
  --scrub-todo: #e6dccb;
  --scrub-todo-edge: #cdbfaa;
  --scrub-empty-edge: #b3a591;

  /* Type */
  --font-serif: Georgia, serif;
  --font-sans: system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --focus-ring: #1677ff;

  /* Legacy tracker names (bigmergeplan §9), aliased onto the Builder set */
  --bg: var(--paper);
  --panel: var(--surface);
  --line: var(--rule);
  --line-soft: var(--rule-soft);
  --red: var(--fail);
  --yellow: var(--warn);
  --green: var(--pass);
  --radius: 7px;
  --shadow-sm: 0 1px 2px #3124180f;
  --shadow: 0 2px 10px #31241814;
}
