/* Switchboard design tokens. Dark is the default; <html data-theme="light"> switches.
   Components never hard-code colors: only this file changes between themes. */
@font-face {
  font-family: "Inter";
  src: url("/ui/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0a0e27;
  --surface: #0f172a;
  --surface-2: #111a33;
  --surface-3: #172240;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e6eaf6;
  --text-2: #a4aec9;
  --text-3: #6f7a99;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-active: #1d4ed8;
  --primary-soft: rgba(59, 130, 246, 0.16);
  --on-primary: #ffffff;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.16);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.16);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.16);
  --info: #38bdf8;
  --info-soft: rgba(56, 189, 248, 0.16);
  --away: #f97316;
  --away-soft: rgba(249, 115, 22, 0.16);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.45);
  --scrim: rgba(3, 6, 20, 0.7);
  --chart-grid: rgba(255, 255, 255, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --sidebar: 240px;
  --topbar: 56px;
  --content-max: 1440px;
  --ease: 150ms ease;
  --ease-panel: 200ms ease;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #eef2f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --primary-soft: rgba(59, 130, 246, 0.12);
  --accent-soft: rgba(139, 92, 246, 0.12);
  --success-soft: rgba(34, 197, 94, 0.14);
  --warning-soft: rgba(245, 158, 11, 0.16);
  --danger-soft: rgba(239, 68, 68, 0.12);
  --info-soft: rgba(56, 189, 248, 0.16);
  --away-soft: rgba(249, 115, 22, 0.14);
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-2: 0 8px 24px rgba(15, 23, 42, 0.12);
  --scrim: rgba(15, 23, 42, 0.45);
  --chart-grid: #e2e8f0;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --ease: 0s;
    --ease-panel: 0s;
  }
}
