/* CatBate v4.1 design tokens. Values sampled from the supplied reference images:
   navy  -> ChatGPT_Image 10_10_47 / 10_22_28  (bg #000a1f, header #000c24, panel #000f27, chat #04182d, blue #2560f5, orange #fe6d02)
   graphite -> CatBate_Default_Broadcaster_Interface_1/2 (bg #08090b/#101018, panel #181c25, nav #11161c, orange #fe6d02)
   light -> Interface_4 "CatBate Chat Monitor" (bg #f8f8f8, orange #fc6c00, blue #1272e4, tip #fdf8f2, system #f6f9fe) */
:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  --fs-base: 13px; --fs-sm: 11px; --fs-xs: 10px; --fs-md: 14px; --fs-lg: 18px; --fs-kpi: 24px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --orange: #fe6d02; --orange-2: #f0501e; --orange-hi: #ff8a3d;
  --green: #2fd37a; --red: #f0384e; --amber: #ffb02e; --violet: #8b5cf6; --cyan: #19b8ff;
  --header-h: 62px; --footer-h: 34px; --nav-w: 192px; --nav-w-collapsed: 60px; --ai-w: 300px; --chat-w: 430px;
  --logo-scale: 1.3;
}
[data-theme="navy"] {
  color-scheme: dark;
  --bg: #000a1f; --bg-grad: radial-gradient(1200px 600px at 50% -10%, #06214f 0%, #000a1f 60%);
  --header: #000c24; --nav: #000d26; --panel: #000f27; --panel-2: #04182d; --panel-3: #07213c;
  --chat-bg: #04182d; --input: #031327;
  --line: #12356b; --line-soft: #0c264d; --glow: 0 0 0 1px rgba(37,96,245,.35), 0 0 18px rgba(37,96,245,.18);
  --blue: #2560f5; --blue-2: #1a8cff; --accent: #2f7bff; --accent-btn: #2568e0; --orange-btn-hi: #ff8a3d;
  --text: #eaf1ff; --text-2: #9fb2d6; --text-3: #6d83ab; --on-accent: #fff; --on-orange: #1a0b00;
  --tip-bg: rgba(254,109,2,.12); --tip-line: rgba(254,109,2,.5); --sys-bg: rgba(37,96,245,.14);
  --glass: rgba(2,14,38,.78); --glass-line: rgba(47,123,255,.45);
  --shadow: 0 10px 40px rgba(0,0,0,.55); --kpi-icon-bg: rgba(37,96,245,.18);
  --video-bg: #02060f; --focus: #7db4ff;
}
[data-theme="graphite"] {
  color-scheme: dark;
  --bg: #08090b; --bg-grad: linear-gradient(#0b0c10, #08090b);
  --header: #0f1218; --nav: #11161c; --panel: #181c25; --panel-2: #1d222d; --panel-3: #232937;
  --chat-bg: #12151c; --input: #0e1118;
  --line: #2a3140; --line-soft: #202635; --glow: 0 0 0 1px rgba(254,109,2,.0);
  --blue: #1e90fc; --blue-2: #3aa0ff; --accent: #fe6d02; --accent-btn: #2568e0; --orange-btn-hi: #ff8a3d;
  --red: #ff4d63; --text: #eef1f6; --text-2: #a4adbd; --text-3: #7a8497; --on-accent: #fff; --on-orange: #1a0b00;
  --tip-bg: rgba(254,109,2,.12); --tip-line: rgba(254,109,2,.45); --sys-bg: rgba(30,144,252,.12);
  --glass: rgba(20,24,33,.82); --glass-line: rgba(254,109,2,.5);
  --shadow: 0 10px 40px rgba(0,0,0,.6); --kpi-icon-bg: rgba(254,109,2,.16);
  --video-bg: #050608; --focus: #ffb27a;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f4f9; --bg-grad: linear-gradient(#f6f8fc, #eef2f8);
  --header: #ffffff; --nav: #ffffff; --panel: #ffffff; --panel-2: #f6f9fe; --panel-3: #eef3fb;
  --chat-bg: #ffffff; --input: #ffffff;
  --line: #dde4f0; --line-soft: #e8edf6; --glow: 0 1px 2px rgba(20,40,90,.06);
  --blue: #1272e4; --blue-2: #0c5fc4; --accent: #1272e4; --accent-btn: #1272e4;
  --text: #0d1b3a; --text-2: #46557a; --text-3: #5f6e8f; --on-accent: #fff; --on-orange: #1a0b00;
  --tip-bg: #fdf8f2; --tip-line: #f7d9b8; --sys-bg: #f6f9fe;
  --glass: rgba(255,255,255,.92); --glass-line: #cfd9ec;
  --shadow: 0 10px 30px rgba(20,40,90,.18); --kpi-icon-bg: #eaf2ff;
  --video-bg: #0b0e14; --focus: #0a56b8;
  --orange: #f26400; --orange-2: #e05200; --orange-hi: #b34700; --orange-btn-hi: #ff9a4d; --green: #0a7a43; --red: #c4122f; --amber: #8a5a00;
}
/* Accessibility template: larger type and spacing */
[data-template="AccessibilityLarge"] { --fs-base: 16px; --fs-sm: 14px; --fs-xs: 13px; --fs-md: 17px; --fs-kpi: 28px; --header-h: 72px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
