/* ─── Nexus Deep — тёмный космос ─────────────────────────────────────
   Единая система токенов. Все CSS-файлы используют ТОЛЬКО эти имена.
   ──────────────────────────────────────────────────────────────────── */

:root {
  /* Фоны */
  --bg-deep: #0a0b14;
  --bg-base: #10121e;
  --bg-elevated: #181b2a;
  --bg-raised: #1f2337;
  --bg-hover: #2a2f4a;
  --bg-active: #343a5c;

  /* Стекло */
  --glass-bg: rgba(24, 27, 42, 0.72);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.08);

  /* Текст */
  --text-primary: #eef0f8;
  --text-secondary: #a8adc9;
  --text-tertiary: #6b7094;
  --text-muted: #4a4f70;

  /* Акценты */
  --accent-primary: #7c5cff;
  --accent-primary-hover: #8f73ff;
  --accent-secondary: #ffb84d;
  --accent-secondary-hover: #ffc670;
  --accent-glow: rgba(124, 92, 255, 0.35);

  /* Статусы */
  --success: #4ade80;
  --success-glow: rgba(74, 222, 128, 0.5);
  --warning: #fbbf24;
  --danger: #f87171;
  --danger-hover: #fb8c8c;
  --danger-bg: rgba(248, 113, 113, 0.12);

  /* Градиенты */
  --gradient-accent: linear-gradient(135deg, #7c5cff 0%, #b47cff 100%);
  --gradient-warm: linear-gradient(135deg, #ffb84d 0%, #ff7c5c 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);

  /* Границы */
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Скругления */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(124, 92, 255, 0.25);

  /* Размеры */
  --rail-width: 76px;
  --sidebar-width: 264px;
  --header-height: 56px;

  /* Шрифт */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Анимации */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}