/* Carrousels — jetons de design. Généré depuis tokens.json. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/BricolageGrotesque-Variable.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Variable.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Variable-Italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
:root, [data-theme="light"] {
  --paper: #f4f2ec;
  --surface: #ffffff;
  --surface-sunken: #ebe8e0;
  --stage: #e2ded4;
  --line: #dcd8ce;
  --line-strong: #8a8477;
  --ink: #191712;
  --ink-muted: #55514a;
  --ink-faint: #6b665c;
  --accent: #dcf244;
  --on-accent: #191712;
  --primary: #191712;
  --on-primary: #f4f2ec;
  --select: #191712;
  --focus: #2b59ff;
  --link: #2343c9;
  --progress: #191712;
  --refus-bg: #f6ebd2;
  --refus-ink: #5f4000;
  --refus-line: #9a6d14;
  --erreur-bg: #fbe2dc;
  --erreur-ink: #9c2116;
  --erreur-line: #cf3f2a;
  --danger: #b0261a;
  --on-danger: #ffffff;
  --ok-bg: var(--accent);
  --avert-bg: #efece3;
  --scrim: rgba(18,17,15,0.55);
  --shadow-raised: 0 1px 2px rgba(25,23,18,0.06), 0 2px 8px rgba(25,23,18,0.06);
  --shadow-overlay: 0 12px 40px rgba(25,23,18,0.18), 0 2px 6px rgba(25,23,18,0.08);
  --shadow-slide: 0 6px 20px rgba(25,23,18,0.16);
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #121110;
  --surface: #1c1b18;
  --surface-sunken: #0b0a09;
  --stage: #050505;
  --line: #2d2b27;
  --line-strong: #6f6a60;
  --ink: #f3f0e8;
  --ink-muted: #b0ab9f;
  --ink-faint: #8f8a7f;
  --accent: #d6ee3e;
  --on-accent: #191712;
  --primary: #dcf244;
  --on-primary: #191712;
  --select: #dcf244;
  --focus: #8fb0ff;
  --link: #9db8ff;
  --progress: #f3f0e8;
  --refus-bg: #2b2312;
  --refus-ink: #ecc87b;
  --refus-line: #8d6d2c;
  --erreur-bg: #3a1611;
  --erreur-ink: #ffa18e;
  --erreur-line: #d0533f;
  --danger: #b8321f;
  --on-danger: #ffffff;
  --ok-bg: var(--accent);
  --avert-bg: #24221e;
  --scrim: rgba(0,0,0,0.66);
  --shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-overlay: 0 16px 48px rgba(0,0,0,0.7);
  --shadow-slide: 0 6px 24px rgba(0,0,0,0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --paper: #121110;
  --surface: #1c1b18;
  --surface-sunken: #0b0a09;
  --stage: #050505;
  --line: #2d2b27;
  --line-strong: #6f6a60;
  --ink: #f3f0e8;
  --ink-muted: #b0ab9f;
  --ink-faint: #8f8a7f;
  --accent: #d6ee3e;
  --on-accent: #191712;
  --primary: #dcf244;
  --on-primary: #191712;
  --select: #dcf244;
  --focus: #8fb0ff;
  --link: #9db8ff;
  --progress: #f3f0e8;
  --refus-bg: #2b2312;
  --refus-ink: #ecc87b;
  --refus-line: #8d6d2c;
  --erreur-bg: #3a1611;
  --erreur-ink: #ffa18e;
  --erreur-line: #d0533f;
  --danger: #b8321f;
  --on-danger: #ffffff;
  --ok-bg: var(--accent);
  --avert-bg: #24221e;
  --scrim: rgba(0,0,0,0.66);
  --shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-overlay: 0 16px 48px rgba(0,0,0,0.7);
  --shadow-slide: 0 6px 24px rgba(0,0,0,0.6);
    color-scheme: dark;
  }
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --size-hit: 44px;
  --size-control: 40px;
  --size-sidebar: 248px;
  --size-content: 1200px;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.cr-t-display-xl { font-family: var(--font-display); font-size: 56px; line-height: 56px; font-weight: 800; letter-spacing: -1.5px; }
.cr-t-display { font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 750; letter-spacing: -0.8px; }
.cr-t-title { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.3px; }
.cr-t-subtitle { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.cr-t-body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.cr-t-body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
.cr-t-label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 600; }
.cr-t-small { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.cr-t-tag { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1px; }
.cr-t-num { font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cr-t-num-lg { font-family: var(--font-mono); font-size: 26px; line-height: 30px; font-weight: 500; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
