/* Operational UI layer. Brand/marketing tokens remain generated and unchanged.
   Loaded after page styles so the shared dashboard has one surface hierarchy. */
[data-theme="uo-dark"], [data-theme="dark"][data-ultimateos-shell] {
    --color-success: #3FB950;
    --color-danger: #F85149;
    --color-warning: #D6A534;
    --color-primary: #b5a6ee;
    --p: 76.42% .1027 293.38;
    --pc: 23.65% .0511 294.08;
    --color-text: #edf2fa;
    --bg-input: #111b2b;
    --bg-input-focus: #1b2940;
    --accent-primary-bg: rgba(181, 166, 238, .10);
    --accent-primary-border: rgba(181, 166, 238, .28);
    --text-on-accent: #201934;
    --color-page: #0e1522;
    --color-surface: #172131;
    --color-surface-2: #202d40;
    --bg-page: var(--color-page);
    --bg-sidebar: #111a29;
    --bg-card: var(--color-surface);
    --bg-card-hover: var(--color-surface-2);
    --color-text-muted: #9daec4;
    --text-muted: var(--color-text-muted);
    --text-secondary: #c2cddd;
    --border-default: rgba(210, 220, 240, .11);
    --border-strong: rgba(210, 220, 240, .2);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .12);
    --shadow-card-hover: var(--shadow-card);
    --b1: 20% .025 260;
    --b2: 25% .033 260;
    --b3: 30% .04 260;
}
[data-theme="uo-light"], [data-theme="light"][data-ultimateos-shell] {
    --color-success: #1A7F37;
    --color-danger: #CF222E;
    --color-warning: #9A6700;
    --color-primary: #6750a4;
    --p: 49.55% .1305 293.71;
    --pc: 100% 0 0;
    --color-text: #1e2b40;
    --color-surface: #ffffff;
    --bg-input: #f4f7fb;
    --bg-input-focus: #edf1f8;
    --accent-primary-bg: rgba(103, 80, 164, .08);
    --accent-primary-border: rgba(103, 80, 164, .24);
    --text-on-accent: #ffffff;
    --color-page: #f2f5fa;
    --color-surface-2: #e9eef6;
    --bg-page: var(--color-page);
    --bg-sidebar: #f8faff;
    --bg-card-hover: var(--color-surface-2);
    --color-text-muted: #5d6c82;
    --text-muted: var(--color-text-muted);
    --text-secondary: #46566e;
    --border-default: rgba(30, 45, 65, .12);
    --border-strong: rgba(30, 45, 65, .22);
    --shadow-card: 0 1px 2px rgba(25, 35, 55, .035);
    --shadow-card-hover: var(--shadow-card);
    --b1: 97% .003 265;
    --b2: 100% 0 265;
    --b3: 95% .006 265;
}
[data-theme="uo-dark"], [data-theme="dark"][data-ultimateos-shell], [data-theme="uo-light"], [data-theme="light"][data-ultimateos-shell] {
    --font-body: 'Manrope', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    --accent-primary: var(--color-primary);
    --accent-teal: var(--color-primary);
    --accent-teal-bg: var(--accent-primary-bg);
    --border-accent: var(--accent-primary-border);
    --text-primary: var(--color-text);
    --bg-card: var(--color-surface);
    --chart-text: var(--text-secondary);
    --font-display: var(--font-body);
    --font-size-sm: .875rem;
    --rounded-box: .75rem;
    --radius-lg: 12px;
    --glow-primary: transparent;
    --glow-success: transparent;
}
