:root,
[data-theme="dark"] {
  --bg: #05060a;
  --bg-elevated: #0b0d14;
  --surface: #11141d;
  --surface-2: #171b27;
  --surface-hover: #1d2333;
  --text: #f4f6fb;
  --text-secondary: #c4cad8;
  --muted: #8b93a7;
  --accent: #5b8cff;
  --accent-2: #8b7bff;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --glow: rgba(91, 140, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --danger: #ff6b7a;
  --success: #3dd68c;
  --warning: #f5c451;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(5, 6, 10, 0.82);
  --bottom-nav-bg: rgba(11, 13, 20, 0.94);
  --overlay: rgba(0, 0, 0, 0.55);
  --chart-fill: rgba(91, 140, 255, 0.25);
  --input-bg: #0d1018;
  --logo-muted: #6d758a;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f5f9;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --surface-hover: #e7ebf4;
  --text: #0f1420;
  --text-secondary: #3a4256;
  --muted: #667085;
  --accent: #3b6ef5;
  --accent-2: #6a5cff;
  --accent-soft: rgba(59, 110, 245, 0.12);
  --glow: rgba(59, 110, 245, 0.22);
  --border: rgba(15, 20, 32, 0.08);
  --border-strong: rgba(15, 20, 32, 0.14);
  --danger: #e5484d;
  --success: #1f9d63;
  --warning: #d99a1a;
  --shadow: 0 16px 40px rgba(20, 30, 60, 0.1);
  --header-bg: rgba(255, 255, 255, 0.86);
  --bottom-nav-bg: rgba(255, 255, 255, 0.94);
  --overlay: rgba(15, 20, 32, 0.4);
  --chart-fill: rgba(59, 110, 245, 0.2);
  --input-bg: #f7f8fc;
  --logo-muted: #98a2b3;
  color-scheme: light;
}

:root {
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --container: 1120px;
  --header-h: 64px;
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;
  --z-header: 40;
  --z-bottom: 45;
  --z-drawer: 50;
  --z-modal: 60;
  --z-toast: 70;
  --z-cookie: 65;
}
