/* SilverUI owns all palette, scale and surface decisions. */
:root{--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;--s10:40px;--s12:48px;--sidebar-width:256px;--mini-sidebar-width:80px;--drawer-width:320px;--header-height:76px;--content-max:1600px;--content-normal:1200px;--page-padding:32px;--section-gap:24px;--control-height:44px;--radius-control:8px;--radius-card:16px;--radius-surface:20px;--radius-modal:16px;--radius-pill:999px;--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--text-display:32px;--text-title:28px;--text-section:20px;--text-card:16px;--text-body:14px;--text-secondary:14px;--text-caption:12px;--text-label:13px;--text-table:12px;--text-meta:12px;
--page:#fdfefe;--navigation:#fdfefe;--surface:#fff;--elevated:#fff;--input:#fff;--border:#e6eaf0;--text:#202c3b;--secondary:#59687a;--muted:#637286;--hover:#f1f4f8;--table-hover:#f8fafc;--disabled:#e9edf3;--disabled-text:#6a7687;--overlay:rgb(13 23 38 / .42);--on-primary:#fff;--success:#16704e;--success-bg:#e8f5ee;--warning:#975400;--warning-bg:#fff4db;--danger:#b12c41;--danger-bg:#fdecef;--info:#235daa;--info-bg:#edf4ff;--chart-secondary:#8799bb;--shadow-surface:0 2px 12px rgb(26 42 65 / .055);--shadow-dropdown:0 12px 36px rgb(26 42 65 / .12);--shadow-dialog:0 24px 80px rgb(0 0 0 / .22)}

:root[data-theme=dark]{color-scheme:dark;--page:#161e28;--navigation:#161e28;--surface:#1c2734;--elevated:#243140;--input:#18222e;--border:#344353;--text:#eef3fa;--secondary:#b4c1d0;--muted:#a0b0c3;--hover:#283647;--table-hover:#233141;--disabled:#2b3745;--disabled-text:#a1aebe;--overlay:rgb(2 7 14 / .7);--success:#80dbb3;--success-bg:#183e34;--warning:#f2c573;--warning-bg:#42361f;--danger:#ffa5b1;--danger-bg:#442a33;--info:#9bc6ff;--info-bg:#22394e;--chart-secondary:#8a9ab8;--shadow-surface:0 4px 24px rgb(0 0 0 / .12);--shadow-dropdown:0 12px 36px rgb(0 0 0 / .3)}

:root,[data-accent=blue]{--primary:#2463d4;--primary-hover:#1b51b6;--primary-active:#15459e;--accent-ink:#2055b5;--accent-bright:#88b8ff;--accent-subtle:#eaf1ff;--accent-subtle-hover:#dce8ff;--focus-color:#2463d4}

[data-accent=indigo]{--primary:#4e4ec8;--primary-hover:#4040af;--primary-active:#333399;--accent-ink:#4444b6;--accent-bright:#b1b0ff;--accent-subtle:#eeeeff;--accent-subtle-hover:#e1e1ff;--focus-color:#5858d2}

[data-accent=purple]{--primary:#8344b9;--primary-hover:#71369f;--primary-active:#602b88;--accent-ink:#7538a7;--accent-bright:#d4a7ff;--accent-subtle:#f5ecfc;--accent-subtle-hover:#edddfa;--focus-color:#8344b9}

[data-accent=teal]{--primary:#087978;--primary-hover:#066562;--primary-active:#045450;--accent-ink:#086866;--accent-bright:#70d9cd;--accent-subtle:#e5f5f2;--accent-subtle-hover:#d4eeea;--focus-color:#087978}

[data-accent=green]{--primary:#287a40;--primary-hover:#206535;--primary-active:#17542a;--accent-ink:#246b39;--accent-bright:#90df9e;--accent-subtle:#eaf5eb;--accent-subtle-hover:#d9eddb;--focus-color:#287a40}

[data-accent=orange]{--primary:#b44e12;--primary-hover:#993e0c;--primary-active:#833309;--accent-ink:#a5460e;--accent-bright:#ffb782;--accent-subtle:#fff0e5;--accent-subtle-hover:#ffe4d2;--focus-color:#b44e12}

:root{--selected-bg:var(--accent-subtle);--selected-text:var(--accent-ink);--focus-ring:0 0 0 3px color-mix(in srgb,var(--focus-color),transparent 65%)}

:root[data-theme=dark]{--accent-subtle:color-mix(in srgb,var(--primary),var(--surface) 80%);--accent-subtle-hover:color-mix(in srgb,var(--primary),var(--surface) 68%);--accent-ink:var(--accent-bright);--focus-color:var(--accent-bright)}

