/**
 * MillPulse — 2026 design tokens (shared across all app pages)
 */
:root,
[data-theme="light"] {
  --primary: #1F3A5F;
  --primary2: #2d5080;
  --primary-pale: #e8f0fa;
  --accent: #0ea5e9;
  --accent-pale: #e0f2fe;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --surface3: #f1f5f9;
  --border: #e2e8f0;
  --divider: #e8edf3;
  --text: #0f172a;
  --muted: #64748b;
  --inverse: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.92);

  --success: #15803d;
  --success-bg: #ecfdf3;
  --warn: #b45309;
  --warn-bg: #fff7ed;
  --error: #be185d;
  --error-bg: #fdf2f8;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.09), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.11), 0 4px 12px rgba(15, 23, 42, 0.05);

  --font-body: 'General Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Zodiak', 'General Sans', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;

  /* Legacy aliases */
  --pulpiq-navy: #1F3A5F;
  --pulpiq-navy-light: #2d5080;
  --pulpiq-navy-dark: #152a45;
  --pulpiq-teal: #0ea5e9;
  --pulpiq-teal-dk: #1F3A5F;
  --pulpiq-teal-dark: #0284c7;
  --pulpiq-teal-light: #7dd3fc;
  --pulpiq-teal-lt: #e0f2fe;
  --pulpiq-white: #ffffff;
  --pulpiq-offwhite: #f4f7fb;
  --pulpiq-off-white: #f4f7fb;
  --pulpiq-border: #e2e8f0;
  --pulpiq-text: #0f172a;
  --pulpiq-muted: #64748b;
  --pulpiq-gray: #64748b;
  --pulpiq-gray-light: #cbd5e1;
  --pulpiq-green: #15803d;
  --pulpiq-red: #be185d;
  --pulpiq-amber: #b45309;
  --pulpiq-light: #e8f0fa;
  --navy: #1F3A5F;
  --cyan: #0ea5e9;
}

[data-theme="dark"] {
  --primary: #93b4d8;
  --primary2: #7aa3cc;
  --primary-pale: #1a2a3d;
  --accent: #38bdf8;
  --accent-pale: #0c2233;

  --bg: #0b0f14;
  --surface: #111820;
  --surface2: #151d28;
  --surface3: #1a2432;
  --border: #2a3544;
  --divider: #1f2833;
  --text: #e8edf4;
  --muted: #94a3b8;
  --topbar-bg: rgba(17, 24, 32, 0.92);

  --success: #4ade80;
  --success-bg: #142818;
  --warn: #fbbf24;
  --warn-bg: #2a2010;
  --error: #f472b6;
  --error-bg: #2a1220;

  --pulpiq-navy: #1F3A5F;
  --pulpiq-teal: #38bdf8;
}
