/*
 * Halo : design system de Life OS (remplace Atelier le 2026-11-27).
 * Nuit d'abord : noir violacé, panneaux de verre, une présence lumineuse (le halo) pour ce que fait Claude.
 * Les noms de variables sont ceux d'Atelier, pour que toutes les applis basculent sans toucher leur balisage.
 * Source unique : packages/mcp-core/src/halo. Ne pas recopier ce fichier dans une appli.
 */
:root {
  color-scheme: dark;
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-ui: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --space-0-5: 4px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --radius-0: 0;
  --radius-1: 12px;
  --radius-2: 16px;
  --radius-3: 24px;
  --radius-pill: 999px;
  --radius-dot: 50%;
  --line-hair: 1px;
  --line-strong-width: 2px;
  --layout-prose: 70ch;
  --layout-page: 1200px;
  --layout-dots: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --bg: #07080c;
  --bg-2: #0c0d14;
  --surface: #11121b;
  --raised: #1a1b27;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #eceaf5;
  --text-2: #a9a5bd;
  --text-3: #8c88a3;
  --primary: #ffffff;
  --primary-hover: #e4e1f2;
  --on-primary: #07080c;
  --accent: #8b7bff;
  --accent-hover: #a497ff;
  --on-accent: #0b0820;
  --accent-ink: #b3a8ff;
  --accent-bg: #1d1838;
  --info: #4fd1ff;
  --info-bg: #0b2430;
  --ok: #6ee7b7;
  --ok-bg: #0d2a22;
  --warn: #ffc98f;
  --warn-bg: #2e2212;
  --danger: #ff8a96;
  --danger-bg: #35141b;
  --chart-1: #8b7bff;
  --chart-2: #4fd1ff;
  --chart-3: #6ee7b7;
  --chart-4: #ffb86b;
  --chart-5: #5d5a73;
  --halo-stops: #8b7bff, #4fd1ff, #ffb86b, #8b7bff;
  --page-glow: radial-gradient(1200px 600px at 50% -10%, #17132b 0%, rgba(7, 8, 12, 0) 70%);
  --shadow-float: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 6px rgba(139, 123, 255, 0.07), 0 20px 60px rgba(0, 0, 0, 0.5);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f5fb;
    --bg-2: #eeecf6;
    --surface: #ffffff;
    --raised: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-2: rgba(20, 16, 50, 0.04);
    --glass-hover: rgba(20, 16, 50, 0.08);
    --line: rgba(20, 16, 50, 0.09);
    --line-strong: rgba(20, 16, 50, 0.22);
    --text: #121020;
    --text-2: #4d4966;
    --text-3: #615d7a;
    --primary: #121020;
    --primary-hover: #2a2640;
    --on-primary: #ffffff;
    --accent: #5b4bdb;
    --accent-hover: #4a3bc4;
    --on-accent: #ffffff;
    --accent-ink: #4a3bc4;
    --accent-bg: #ebe8ff;
    --info: #0e7490;
    --info-bg: #dff4fa;
    --ok: #0f7a55;
    --ok-bg: #dcf3ea;
    --warn: #8a5a00;
    --warn-bg: #fbeed8;
    --danger: #c0283f;
    --danger-bg: #fbe3e7;
    --chart-1: #5b4bdb;
    --chart-2: #0e8fb0;
    --chart-3: #0f8a5f;
    --chart-4: #d9822b;
    --chart-5: #9a97ad;
    --halo-stops: #7b6bff, #2fb8e6, #ff9f4a, #7b6bff;
    --page-glow: radial-gradient(1200px 600px at 50% -10%, #e4e0ff 0%, rgba(246, 245, 251, 0) 70%);
    --shadow-float: 0 0 0 1px rgba(20, 16, 50, 0.06), 0 20px 50px rgba(20, 16, 50, 0.14);
    --shadow-glow: 0 0 0 6px rgba(91, 75, 219, 0.07), 0 16px 40px rgba(20, 16, 50, 0.12);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5fb;
  --bg-2: #eeecf6;
  --surface: #ffffff;
  --raised: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-2: rgba(20, 16, 50, 0.04);
  --glass-hover: rgba(20, 16, 50, 0.08);
  --line: rgba(20, 16, 50, 0.09);
  --line-strong: rgba(20, 16, 50, 0.22);
  --text: #121020;
  --text-2: #4d4966;
  --text-3: #615d7a;
  --primary: #121020;
  --primary-hover: #2a2640;
  --on-primary: #ffffff;
  --accent: #5b4bdb;
  --accent-hover: #4a3bc4;
  --on-accent: #ffffff;
  --accent-ink: #4a3bc4;
  --accent-bg: #ebe8ff;
  --info: #0e7490;
  --info-bg: #dff4fa;
  --ok: #0f7a55;
  --ok-bg: #dcf3ea;
  --warn: #8a5a00;
  --warn-bg: #fbeed8;
  --danger: #c0283f;
  --danger-bg: #fbe3e7;
  --chart-1: #5b4bdb;
  --chart-2: #0e8fb0;
  --chart-3: #0f8a5f;
  --chart-4: #d9822b;
  --chart-5: #9a97ad;
  --halo-stops: #7b6bff, #2fb8e6, #ff9f4a, #7b6bff;
  --page-glow: radial-gradient(1200px 600px at 50% -10%, #e4e0ff 0%, rgba(246, 245, 251, 0) 70%);
  --shadow-float: 0 0 0 1px rgba(20, 16, 50, 0.06), 0 20px 50px rgba(20, 16, 50, 0.14);
  --shadow-glow: 0 0 0 6px rgba(91, 75, 219, 0.07), 0 16px 40px rgba(20, 16, 50, 0.12);
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
