/* AI Business OS shared design tokens. One stylesheet, five themes.
   Apply with <html data-theme="midnight|rose-quartz|champagne|matcha|glacier">.
   Brief palette values are kept exactly for --bg, --panel, --accent.
   Contrast (WCAG): text/panel >= 11:1, muted/panel >= 6:1 on every theme.
   --accent-text is the accent used for TEXT; on Champagne it is darkened to #7A5A3C (6.0:1)
   because #987452 is only 4.1:1 on the panel. Use --accent for fills, rings and glows. */
:root, [data-theme="midnight"] {
  --bg: #101116; --panel: #1D1E28; --accent: #B8A5F5;
  --accent-text: #B8A5F5; --on-accent: #101116;
  --text: #F2F0F7; --muted: #A9A7B8;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --glass: rgba(29,30,40,.62); --glass-hi: rgba(255,255,255,.06);
  --glow-1: #6E56CF; --glow-2: #2B2F6B; --glow-3: #B8A5F5;
  --shadow: 0 30px 80px -20px rgba(0,0,0,.65);
  --scheme: dark;
}
[data-theme="rose-quartz"] {
  --bg: #24151F; --panel: #392333; --accent: #F3A9D0;
  --accent-text: #F3A9D0; --on-accent: #24151F;
  --text: #FBEFF5; --muted: #C9AEBD;
  --line: rgba(255,220,236,.10); --line-strong: rgba(255,220,236,.20);
  --glass: rgba(57,35,51,.58); --glass-hi: rgba(255,214,234,.08);
  --glow-1: #D9468F; --glow-2: #6B2350; --glow-3: #F3A9D0;
  --shadow: 0 30px 80px -20px rgba(20,4,14,.7);
  --scheme: dark;
}
[data-theme="champagne"] {
  --bg: #F1E8DD; --panel: #FFFAF4; --accent: #987452;
  --accent-text: #7A5A3C; --on-accent: #FFFAF4;
  --text: #2A2119; --muted: #6B5D4F;
  --line: rgba(80,55,30,.10); --line-strong: rgba(80,55,30,.20);
  --glass: rgba(255,250,244,.66); --glass-hi: rgba(255,255,255,.7);
  --glow-1: #E7C9A4; --glow-2: #F7E6D2; --glow-3: #C9A57E;
  --shadow: 0 30px 70px -24px rgba(90,60,30,.28);
  --scheme: light;
}
[data-theme="matcha"] {
  --bg: #15251F; --panel: #22392E; --accent: #A9D8B1;
  --accent-text: #A9D8B1; --on-accent: #15251F;
  --text: #EEF5EF; --muted: #A8BBAE;
  --line: rgba(210,255,220,.09); --line-strong: rgba(210,255,220,.18);
  --glass: rgba(34,57,46,.6); --glass-hi: rgba(220,255,228,.06);
  --glow-1: #3F8F5C; --glow-2: #1C4A34; --glow-3: #A9D8B1;
  --shadow: 0 30px 80px -20px rgba(0,10,5,.7);
  --scheme: dark;
}
[data-theme="glacier"] {
  --bg: #101F30; --panel: #1B3048; --accent: #8CCBFF;
  --accent-text: #8CCBFF; --on-accent: #101F30;
  --text: #EEF5FB; --muted: #A3B6C9;
  --line: rgba(200,230,255,.09); --line-strong: rgba(200,230,255,.18);
  --glass: rgba(27,48,72,.6); --glass-hi: rgba(210,236,255,.07);
  --glow-1: #2F7FD1; --glow-2: #15365C; --glow-3: #8CCBFF;
  --shadow: 0 30px 80px -20px rgba(0,6,16,.7);
  --scheme: dark;
}
:root {
  --font-display: "Satoshi", "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif; /* Satoshi via Fontshare API only (ITF license: do not bundle files) */
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: .45s;
}
html { color-scheme: var(--scheme); background: var(--bg); color: var(--text);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Added for command center polish (additive). Motion curves, specular edge, layered elevation. */
:root {
  --ease-spring: cubic-bezier(.34, 1.3, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --specular: rgba(255,255,255,.16);
  --elev: 0 1px 1px rgba(0,0,0,.10), 0 10px 30px -12px rgba(0,0,0,.45), 0 40px 90px -40px rgba(0,0,0,.6);
}
[data-theme="champagne"] {
  --specular: rgba(255,255,255,.95);
  --elev: 0 1px 1px rgba(90,60,30,.06), 0 10px 28px -14px rgba(90,60,30,.22), 0 40px 80px -40px rgba(90,60,30,.28);
}
