:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --border: #e6e8ec;
  --border-strong: #d5d9e0;
  --text: #0f1722;
  --text-2: #4b5565;
  --text-3: #697586;
  --accent: #3b44d9;
  --accent-hover: #2f36b8;
  --accent-soft: #eeeffd;
  --on-accent: #ffffff;
  --success: #12805c;
  --success-soft: #e6f4ee;
  --warning: #986111;
  --warning-soft: #fbf3e2;
  --danger: #b92f29;
  --danger-soft: #fbeae9;
  --sidebar-bg: #0b1220;
  --sidebar-text: #b9c3d3;
  --sidebar-text-active: #ffffff;
  --sidebar-item-active: rgba(255,255,255,.09);
  --sidebar-border: rgba(255,255,255,.12);
  --auth-highlight: #9da4ff;
  --nav-backdrop: rgba(0,0,0,.48);
  --r-pill: 999px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.04);
  --shadow-2: 0 8px 24px rgba(16,24,40,.08);
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-kpi: 32px;
  --ease: cubic-bezier(.2,0,0,1);
  --t-fast: 150ms;
  --t-base: 200ms;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101723;
  --surface: #182231;
  --surface-2: #202d3f;
  --border: #304055;
  --border-strong: #40516a;
  --text: #f3f6fa;
  --text-2: #c4cdd9;
  --text-3: #a2afc0;
  --accent: #8993ff;
  --accent-hover: #aab1ff;
  --accent-soft: #28305d;
  --on-accent: #10172b;
  --success: #6fdbb2;
  --success-soft: #143d32;
  --warning: #f5c775;
  --warning-soft: #49391e;
  --danger: #ff9a94;
  --danger-soft: #4b282c;
  --shadow-1: 0 1px 2px rgba(0,0,0,.2);
  --shadow-2: 0 8px 24px rgba(0,0,0,.22);
  --auth-highlight: #afb4ff;
}
