/* Jarvis Cockpit : jetons de design. Sombre par défaut, clair via [data-theme="light"]. */
:root {
  color-scheme: dark;
  --font: "Satoshi", "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --bg: #09090b;
  --bg-sidebar: #0c0c0f;
  --surface: #111114;
  --surface-2: #17171b;
  --surface-3: #1e1e23;
  --hover: rgba(255, 255, 255, 0.04);
  --active: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text: #ededef;
  --text-2: #a1a1aa;
  --text-3: #6b6b74;

  --accent: #7c6cff;
  --accent-2: #a594ff;
  --accent-soft: rgba(124, 108, 255, 0.14);
  --accent-ring: rgba(124, 108, 255, 0.45);

  --success: #3ecf8e;
  --success-soft: rgba(62, 207, 142, 0.12);
  --warning: #f5a524;
  --warning-soft: rgba(245, 165, 36, 0.12);
  --danger: #f0616d;
  --danger-soft: rgba(240, 97, 109, 0.12);
  --info: #5ea2ff;
  --info-soft: rgba(94, 162, 255, 0.12);
  --neutral-soft: rgba(161, 161, 170, 0.12);

  --chart-1: #7c6cff;
  --chart-2: #3ecf8e;
  --chart-3: #5ea2ff;
  --chart-grid: rgba(255, 255, 255, 0.05);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-strong);

  --sidebar-w: 232px;
  --topbar-h: 52px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f8;
  --bg-sidebar: #f2f2f4;
  --surface: #ffffff;
  --surface-2: #f8f8fa;
  --surface-3: #efeff2;
  --hover: rgba(15, 15, 20, 0.04);
  --active: rgba(15, 15, 20, 0.07);
  --border: rgba(15, 15, 20, 0.08);
  --border-strong: rgba(15, 15, 20, 0.14);

  --text: #17171c;
  --text-2: #55555f;
  --text-3: #8a8a94;

  --accent: #5b4bff;
  --accent-2: #4636e8;
  --accent-soft: rgba(91, 75, 255, 0.1);
  --accent-ring: rgba(91, 75, 255, 0.35);

  --success: #12a46a;
  --success-soft: rgba(18, 164, 106, 0.1);
  --warning: #c77a00;
  --warning-soft: rgba(199, 122, 0, 0.1);
  --danger: #d93848;
  --danger-soft: rgba(217, 56, 72, 0.09);
  --info: #2f7de1;
  --info-soft: rgba(47, 125, 225, 0.1);
  --neutral-soft: rgba(85, 85, 95, 0.09);

  --chart-1: #5b4bff;
  --chart-2: #12a46a;
  --chart-3: #2f7de1;
  --chart-grid: rgba(15, 15, 20, 0.06);

  --shadow: 0 1px 2px rgba(15, 15, 20, 0.04), 0 4px 16px rgba(15, 15, 20, 0.04);
  --shadow-pop: 0 16px 48px rgba(15, 15, 20, 0.14), 0 0 0 1px var(--border-strong);
}
