/* TBI semantic color palette. See ops/knowledge/site-color-palette.md.
   Default light; dark is explicit and never follows OS preference by itself.
   Tokens alone do not change existing page styles. */
:root, [data-tbi-palette="light"] {
  --tbi-color-scheme: light;
  --tbi-color-canvas: #f5f7f5;
  --tbi-color-surface: #ffffff;
  --tbi-color-subtle: #edf4db;
  --tbi-color-header: #fbf3ce;
  --tbi-color-text: #19392f;
  --tbi-color-muted: #465b53;
  --tbi-color-line: #cad5ce;
  --tbi-color-boundary: #78836e;
  --tbi-color-link: #245b46;
  --tbi-color-accent: #426440;
  --tbi-color-focus: #a14e12;
  --tbi-color-success: #275d3b;
  --tbi-color-warning: #855100;
  --tbi-color-danger: #a12a24;
}
[data-tbi-palette="dark"] {
  --tbi-color-scheme: dark;
  --tbi-color-canvas: #17231f;
  --tbi-color-surface: #202e28;
  --tbi-color-subtle: #2c3e33;
  --tbi-color-header: #443c25;
  --tbi-color-text: #e7efe9;
  --tbi-color-muted: #bbc9c1;
  --tbi-color-line: #45584c;
  --tbi-color-boundary: #8b9b91;
  --tbi-color-link: #a4dfbe;
  --tbi-color-accent: #b2d45c;
  --tbi-color-focus: #ffd18a;
  --tbi-color-success: #a4dfbe;
  --tbi-color-warning: #ffd18a;
  --tbi-color-danger: #ffb5b0;
}
