/* Згенеровано scripts/tokens.py з web/design/tokens.json. Руками не правити. */
:root{--font-text:-apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;--font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--radius-segment:7px;--radius-field:10px;--radius-card:16px;--radius-window:14px;--radius-pill:999px;--shadow-card:0 0 0 0.5px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.04);--shadow-window:0 0 0 0.5px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.04);--shadow-thumb:0 3px 8px rgba(0,0,0,0.12), 0 3px 1px rgba(0,0,0,0.04)}
:root,[data-theme=light]{--window:#F5F5F7;--surface:#FFFFFF;--surface-2:#F5F5F7;--label:#1D1D1F;--label-2:#6E6E73;--separator:rgba(60,60,67,0.16);--separator-2:rgba(60,60,67,0.09);--control-fill:rgba(118,118,128,0.12);--selected:rgba(0,0,0,0.065);--amber:#FFB000;--on-amber:#1D1D1F;--amber-text:#A15C00;--ai-text:#8A5300;--ai-bg:#FFF3CF;--human:#0040DD;--human-bg:#E6EEFF;--success:#248A3D;--success-bg:#E4F5E8;--attention:#C93400;--attention-bg:#FFEBE0;--danger:#D70015;--danger-bg:#FFE6E8;--bubble-me:#0071E3;--bubble-client:#E9E9EB;--switch-on:#34C759}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--window:#1C1C1E;--surface:#2C2C2E;--surface-2:#3A3A3C;--label:#F5F5F7;--label-2:#98989D;--separator:rgba(84,84,88,0.6);--separator-2:rgba(84,84,88,0.35);--control-fill:rgba(118,118,128,0.24);--selected:rgba(255,255,255,0.1);--amber:#FFB340;--on-amber:#1D1D1F;--amber-text:#FFB340;--ai-text:#FFD27A;--ai-bg:#3A2E12;--human:#6FA0FF;--human-bg:#1B2A4A;--success:#30D158;--success-bg:#173A22;--attention:#FF9F5A;--attention-bg:#3D2416;--danger:#FF6961;--danger-bg:#3F1A1C;--bubble-me:#0A84FF;--bubble-client:#3A3A3C;--switch-on:#30D158}}
[data-theme=dark]{--window:#1C1C1E;--surface:#2C2C2E;--surface-2:#3A3A3C;--label:#F5F5F7;--label-2:#98989D;--separator:rgba(84,84,88,0.6);--separator-2:rgba(84,84,88,0.35);--control-fill:rgba(118,118,128,0.24);--selected:rgba(255,255,255,0.1);--amber:#FFB340;--on-amber:#1D1D1F;--amber-text:#FFB340;--ai-text:#FFD27A;--ai-bg:#3A2E12;--human:#6FA0FF;--human-bg:#1B2A4A;--success:#30D158;--success-bg:#173A22;--attention:#FF9F5A;--attention-bg:#3D2416;--danger:#FF6961;--danger-bg:#3F1A1C;--bubble-me:#0A84FF;--bubble-client:#3A3A3C;--switch-on:#30D158}
