:root {
  color-scheme: dark;
  --bg-primary: #07111b;
  --bg-secondary: #081521;
  --bg-panel: #0d1a26;
  --bg-panel-strong: #102131;
  --bg-card: #122536;
  --bg-elevated: #162b3d;
  --bg-input: #091722;
  --bg-overlay: rgba(3, 10, 17, .86);

  --border-soft: #1c3447;
  --border-strong: #29465c;
  --border-focus: #3ba4ff;

  --text-primary: #eaf2ff;
  --text-secondary: #9fb3c8;
  --text-muted: #71879c;
  --text-inverse: #04101a;

  --accent-primary: #2ea8ff;
  --accent-strong: #58baff;
  --accent-soft: rgba(46, 168, 255, .14);
  --success: #18d26e;
  --success-soft: rgba(24, 210, 110, .12);
  --warning: #ff9f43;
  --warning-soft: rgba(255, 159, 67, .13);
  --danger: #ff4d57;
  --danger-soft: rgba(255, 77, 87, .13);
  --info: #59c8ff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

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

  --shadow-panel: 0 16px 36px rgba(0, 0, 0, .2);
  --shadow-dialog: 0 28px 80px rgba(0, 0, 0, .52);
  --focus-ring: 0 0 0 3px rgba(46, 168, 255, .28);

  --sidebar-width: 236px;
  --sidebar-rail-width: 74px;
  --topbar-height: 72px;
  /* The browser-like tab bar was removed: the left menu is the only navigation. */
  --tabs-height: 0px;
  --metrics-height: 34px;
  --control-height: 42px;

  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
