/* Cecil Design Tokens */
:root {
  /* Backgrounds */
  --bg-base: #0a0e14;
  --bg-surface: #0f1520;
  --bg-elevated: #162030;
  --bg-border: #1e2d40;
  --bg-hover: #1a2840;

  /* Severity colors */
  --sev-critical: #ff3b3b;
  --sev-critical-bg: rgba(255, 59, 59, 0.12);
  --sev-critical-border: rgba(255, 59, 59, 0.3);
  --sev-high: #ff8c00;
  --sev-high-bg: rgba(255, 140, 0, 0.12);
  --sev-high-border: rgba(255, 140, 0, 0.3);
  --sev-medium: #ffd600;
  --sev-medium-bg: rgba(255, 214, 0, 0.10);
  --sev-medium-border: rgba(255, 214, 0, 0.3);
  --sev-low: #3b9eff;
  --sev-low-bg: rgba(59, 158, 255, 0.10);
  --sev-low-border: rgba(59, 158, 255, 0.3);
  --sev-info: #6b8aad;
  --sev-info-bg: rgba(107, 138, 173, 0.10);
  --sev-info-border: rgba(107, 138, 173, 0.25);

  /* Status colors */
  --status-open: var(--sev-high);
  --status-investigating: #b97fff;
  --status-investigating-bg: rgba(185, 127, 255, 0.12);
  --status-resolved: #22c55e;
  --status-resolved-bg: rgba(34, 197, 94, 0.10);
  --status-blocked: var(--sev-critical);
  --status-blocked-bg: var(--sev-critical-bg);
  --status-watching: var(--sev-medium);
  --status-watching-bg: var(--sev-medium-bg);

  /* Text */
  --text-primary: #e2ecf8;
  --text-secondary: #7a9ab8;
  --text-muted: #3d5a78;
  --text-inverse: #0a0e14;

  /* Accent */
  --accent: #3b82f6;
  --accent-hover: #5b9af8;
  --accent-bg: rgba(59, 130, 246, 0.12);

  /* Monitor status */
  --monitor-healthy: #22c55e;
  --monitor-stale: #ffd600;
  --monitor-error: #ff3b3b;

  /* Source colors */
  --source-cloudflare: #f48120;
  --source-wiz: #9b5de5;
  --source-siem: #3b82f6;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', Consolas, monospace;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;

  --leading-tight: 1.2;
  --leading-normal: 1.5;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow-accent: 0 0 20px rgba(59, 130, 246, 0.2);
  --shadow-glow-critical: 0 0 16px rgba(255, 59, 59, 0.35);

  /* Layout */
  --sidebar-width: 200px;
  --sidebar-width-collapsed: 56px;
  --header-height: 72px;
  --statusbar-height: 40px;

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-entrance: 300ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Score palette */
  --score-excellent: #22c55e;
  --score-good: #3b9eff;
  --score-fair: #ffd600;
  --score-poor: #ff8c00;
  --score-critical: #ff3b3b;

  /* Chart palette */
  --chart-1: #3b82f6;
  --chart-2: #22c55e;
  --chart-3: #ff8c00;
  --chart-4: #b97fff;
  --chart-5: #f48120;

  /* Gauge */
  --gauge-track: #1e2d40;
  --gauge-fill-good: #22c55e;
  --gauge-fill-warn: #ffd600;
  --gauge-fill-bad: #ff3b3b;

  /* Age indicators */
  --age-fresh: var(--status-resolved);
  --age-aging: var(--sev-medium);
  --age-stale: var(--sev-high);
  --age-critical: var(--sev-critical);

  /* Sparkline */
  --sparkline-line: #3b82f6;
  --sparkline-fill: rgba(59, 130, 246, 0.08);
  --sparkline-dot: #5b9af8;

  /* Layout */
  --subnav-height: 44px;
  --chart-height-sm: 120px;
  --chart-height-md: 200px;
  --chart-height-lg: 280px;
}
