:root,[data-theme="dark"]{color-scheme:dark}
[data-theme="light"]{
  color-scheme:light; --surface-0:#f2f4f5; --surface-1:#fff; --surface-2:#e8ecef;
  --ink:#161b20; --ink-soft:#424b54; --ink-muted:#5c6670;
  --border:rgba(20,31,42,.12); --border-strong:rgba(20,31,42,.28);
  --glass-bg:rgba(255,255,255,.79); --glass-solid:#f7f9fa;
  --glass-highlight:inset 0 1px 0 rgba(255,255,255,.9);
  --shadow-panel:0 16px 48px rgba(26,39,52,.07); --shadow-modal:0 24px 96px rgba(14,25,36,.25);
  --positive:#24714f; --warning:#805314; --negative:#b72b36;
  --overlay:rgba(16,22,28,.65);
}
@media(prefers-color-scheme:light){:root:not([data-theme]){
  color-scheme:light;--surface-0:#f2f4f5;--surface-1:#fff;--surface-2:#e8ecef;--ink:#161b20;--ink-soft:#424b54;--ink-muted:#5c6670;
  --border:rgba(20,31,42,.12);--border-strong:rgba(20,31,42,.28);--glass-bg:rgba(255,255,255,.79);--glass-solid:#f7f9fa;
  --positive:#24714f;--warning:#805314;--negative:#b72b36;
}}
[data-theme="light"] .theme-sun,[data-theme="dark"] .theme-moon{display:none}