:root {
  /* Brand & Health Colors */
  --primary-hsl: 217, 91%, 60%;
  --primary: hsl(var(--primary-hsl));
  --primary-hover: hsl(217, 91%, 52%);
  --primary-light: hsla(var(--primary-hsl), 0.12);
  --primary-glow: hsla(var(--primary-hsl), 0.25);

  --accent-teal: #06b6d4;
  --accent-teal-light: rgba(6, 182, 212, 0.12);
  --accent-emerald: #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.12);
  --accent-amber: #f59e0b;
  --accent-amber-light: rgba(245, 158, 11, 0.12);
  --accent-rose: #f43f5e;
  --accent-rose-light: rgba(244, 63, 94, 0.12);
  --accent-purple: #8b5cf6;
  --accent-purple-light: rgba(139, 92, 246, 0.12);

  /* Dark Theme Palette (Modern Slate & Precision Cyan) */
  --bg-main: #0c111d;
  --bg-surface: #151d2f;
  --bg-surface-elevated: #1e293b;
  --bg-surface-hover: #26334a;
  --bg-glass: rgba(21, 29, 47, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(96, 165, 250, 0.5);
  --border-accent: rgba(96, 165, 250, 0.3);

  /* Typography */
  --font-family-base: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SF Mono', Consolas, Menlo, Monaco, monospace;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Status Colors */
  --status-normal: #10b981;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  --status-info: #3b82f6;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.4), 0 2px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.5), 0 4px 10px -2px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.2);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Mode Overrides (Optional / Toggleable) */
[data-theme="light"] {
  --bg-main: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-surface-hover: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(37, 99, 235, 0.5);

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
}
