/* Undefined theme tokens retain the original green palette through local fallbacks. */
:root{color-scheme:light}
:root[data-theme="yellow"]{
  --ink:#302b20;--muted:#74694c;--green:#745700;--lime:#fff0b8;--line:#e5dcc4;--cream:#fffaf0;
  --theme-ink:var(--ink);--theme-muted:var(--muted);--theme-accent-ink:#745700;
  --theme-accent:#f4c430;--theme-accent-soft:#f4df92;--theme-focus:#987100;
  --theme-line:#e5dcc4;--theme-surface-tint:#fffdf7;--theme-surface-soft:#fff8e5;
  --theme-surface-hover:#fbf0ce;--theme-surface-selected:#fff0b8;
  --theme-button-bg:#f4c430;--theme-button-hover:#e5b31d;--theme-button-text:#30270e;
  --theme-toast-bg:#40371f;
}
:root[data-theme="orange"]{
  --ink:#382b24;--muted:#7c685a;--green:#9c4218;--lime:#ffe1c8;--line:#ead9cc;--cream:#fff6ef;
  --theme-ink:var(--ink);--theme-muted:var(--muted);--theme-accent-ink:#9c4218;
  --theme-accent:#f28b38;--theme-accent-soft:#f5c094;--theme-focus:#b35422;
  --theme-line:#ead9cc;--theme-surface-tint:#fffcf9;--theme-surface-soft:#fff2e8;
  --theme-surface-hover:#fce7d7;--theme-surface-selected:#ffe1c8;
  --theme-button-bg:#f28b38;--theme-button-hover:#e77b26;--theme-button-text:#341d11;
  --theme-toast-bg:#493225;
}
:root[data-theme="night"]{
  color-scheme:dark;
  --ink:#e4eaf2;--muted:#adb9c9;--green:#a6c3ff;--lime:#304766;--line:#3e4c62;--cream:#151b26;
  --theme-ink:var(--ink);--theme-muted:var(--muted);--theme-accent-ink:#a6c3ff;
  --theme-accent:#8aafff;--theme-accent-soft:#526a8e;--theme-focus:#a6c3ff;
  --theme-line:#3e4c62;--theme-surface:#202938;--theme-surface-tint:#1b2432;
  --theme-surface-soft:#253143;--theme-surface-hover:#2c3a50;--theme-surface-selected:#304766;
  --theme-button-bg:#a6c3ff;--theme-button-hover:#bbd1ff;--theme-button-text:#15253e;
  --theme-toast-bg:#2f4360;--theme-toast-error-bg:#492f35;
  --theme-danger:#ffb5a7;--theme-danger-bg:#492f35;--theme-danger-line:#80545a;
  --theme-warning:#f0c98e;--theme-warning-bg:#403526;--theme-success:#9cdbb4;
  --theme-online:#9cdbb4;--theme-offline:#adb9c9;--theme-warm-accent:#bd9d7d;
  --theme-overlay:#050914b8;--theme-image-overlay:#060a12ed;--theme-grid:#9ab5e012;
  --chart-green:#9cdbb4;--chart-blue:#a6c3ff;--chart-purple:#d4b3ed;
  --chart-orange:#f0c98e;--chart-peach:#ffb5a7;
  --chart-teal:#81d2ca;--chart-coral:#f3a395;--chart-olive:#d1cf92;
}
