/* System Design: UI tokens.
   Copied verbatim from the tools repo (public/style.css, :root blocks), the source of these values.
   One derived token, --text-2 (secondary text), is added because tools has none.
   Dark by default; set data-theme="light" or "dark" on <html> to switch. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #12161b;
  --raised: #1a2027;
  --line: #262d37;
  --text: #e7eaee;
  --text-2: #a4adba;
  --muted: #8d96a3;
  --accent: #9aa8ff;
  --accent-ink: #0b0d10;
  --key: #9aa8ff;
  --str: #7ee0a8;
  --num: #f0b27a;
  --ok: #4ade80;
  --warn: #f0b27a;
  --bad: #f87171;
  --add-bg: #14391f;
  --add-ink: #86efac;
  --del-bg: #4c1d1d;
  --del-ink: #fca5a5;
  --chg-bg: #3b2d14;
  --focus: #9aa8ff;
  --amber: #f2b33d;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --raised: #f0f2f5;
  --line: #dfe3e8;
  --text: #12161b;
  --text-2: #3f4a5a;
  --muted: #566070;
  --accent: #4338ca;
  --accent-ink: #ffffff;
  --key: #4338ca;
  --str: #15803d;
  --num: #b45309;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --add-bg: #dcfce7;
  --add-ink: #14532d;
  --del-bg: #fee2e2;
  --del-ink: #7f1d1d;
  --chg-bg: #fef3c7;
  --focus: #4338ca;
  --amber: #b86e00;
}
