/* Polaris — near-black void, layered surfaces, and a blue star accent. */
:root {
  --bg: #060810;
  --surface-1: #0b0e18;
  --surface-2: #111625;
  --surface-3: #172034;
  --surface-hover: #1d2940;
  --border: #1a2036;
  --border-strong: #303d59;

  --text: #e8ecf8;
  --text-muted: #8b93ad;
  --text-faint: #626d88;

  /* Shared color primitives also keep the legacy accent/danger aliases. */
  --blue: #6ea8ff;
  --red: #ff7e8a;
  --accent: var(--blue);
  --accent-strong: #8bbbff;
  --accent-soft: rgba(110, 168, 255, 0.12);
  --accent-text: #cfe0ff;
  --accent-glow: rgba(150, 180, 255, 0.45);
  --success: #72d6ad;
  --success-soft: rgba(114, 214, 173, 0.12);
  --warning: #f0c674;
  --warning-soft: rgba(240, 198, 116, 0.12);
  --danger: var(--red);
  --danger-soft: rgba(255, 126, 138, 0.12);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;

  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.4);
  --ring: 2px solid var(--accent);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 200ms;

  /* Local system fonts only; use tabular-nums with the mono stack for figures. */
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Compatibility for components that have not migrated to the new tokens. */
  --void: var(--bg);
  --panel: var(--surface-1);
  --panel-edge: var(--border);
  --ink: var(--text);
  --ink-dim: var(--text-muted);
  --star: var(--accent-text);
  --star-glow: var(--accent-glow);
}
