/* Ada v3 design tokens. Dark, glowing, blue/indigo only. System fonts only. */
:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-2: #080a16;
  --bg-3: #0b0e1f;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --glass: rgba(14, 18, 40, .62);
  --line: rgba(130, 150, 255, .16);
  --line-2: rgba(150, 170, 255, .3);
  --text: #f3f5ff;
  --muted: #9aa6c8;
  --faint: #6f7ba0;
  --blue: #4f6bff;
  --blue-2: #6f8cff;
  --blue-3: #9db2ff;
  --indigo: #2a2f8f;
  --glow: rgba(79, 107, 255, .55);
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --font: ui-sans-serif, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1180px;
  --gutter: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 64px; }
}

/* Admin light theme (Orion charts style). Public pages stay dark. */
[data-theme="light"] {
  color-scheme: light;
  --bg: #eceffb;
  --bg-2: #f4f6ff;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f4ff;
  --glass: #ffffff;
  --line: rgba(60, 70, 150, .12);
  --line-2: rgba(60, 70, 150, .24);
  --text: #171a3a;
  --muted: #5c6490;
  --faint: #7b83ad;
  --blue: #4a5cf0;
  --blue-2: #5f72ff;
  --blue-3: #8f9dff;
  --glow: rgba(74, 92, 240, .25);
}
