/* Shared geometry and interaction language for pages and map controls. */
:root {
  --sb-bg: #0b1422;
  --sb-panel: #111f2c;
  --sb-surface: #1b2e40;
  --sb-hover: #263c50;
  --sb-selected: #304b63;
  --sb-ink: #f2f7fc;
  --sb-muted: #bdcedc;
  --sb-line: #40576a;
  --sb-accent: #b9dcff;
  --sb-warm: #ffdb9f;
  --sb-space-1: 4px;
  --sb-space-2: 8px;
  --sb-space-3: 12px;
  --sb-space-4: 16px;
  --sb-space-6: 24px;
  --sb-space-8: 32px;
  --sb-space-12: 48px;
  --sb-radius-control: 8px;
  --sb-radius-panel: 12px;
  --sb-control-height: 44px;
  --sb-rule: 1px solid var(--sb-line);
  --sb-focus: 2px solid var(--sb-accent);
  --sb-duration: 160ms;
  --sb-ease: cubic-bezier(.16, 1, .3, 1);
  --sb-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root.strong-contrast {
  --sb-muted: #e2edf6;
  --sb-line: #88a6bf;
  --sb-accent: #c9e5ff;
}
@media (prefers-reduced-motion: reduce) {
  :root { --sb-duration: 0ms; }
}
:root.reduced-motion { --sb-duration: 0ms; }
