/* kit/tokens/tokens.css */
/* Sogoma, jetons v4.0.2 (2026-10-30). Fichier fabrique par kit/tokens/build_tokens.py : ne pas modifier a la main.
   Jour est le theme par defaut. Nuit suit prefers-color-scheme, sauf data-theme="day"; data-theme="night" le force.
   Contraste eleve : data-contrast="more" ou prefers-contrast: more (surcouche du Jour). */

:root, [data-theme="day"], [data-theme="light"] {
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-quiet: #f4f7f5;
  --mist: #d6ebe3;
  --ink: #13242b;
  --ink-muted: #4b5d63;
  --oasis: #0e6a62;
  --on-oasis: #ffffff;
  --oasis-deep: #0a3f3b;
  --on-oasis-deep: #ffffff;
  --dawn: #f0a437;
  --on-dawn: #13242b;
  --dawn-ink: #8a5b1a;
  --dawn-soft: #fef6eb;
  --line: #c9d6d3;
  --border: #7a8e8b;
  --focus: #0e6a62;
  --success: #0e6a62;
  --success-soft: #f1f6f6;
  --error: #a33a2b;
  --error-soft: #f6ebea;
  --locked: #6f8380;
  --locked-soft: #eef2f0;
  --scrim: rgba(19,36,43,0.45);
  --shadow-sheet: 0 12px 32px rgba(10,63,59,.14);
  --chart-watch-1-1: var(--oasis-600);
  --chart-watch-1-1-outline: 0;
  --chart-watch-1-1-pattern: none;
  --chart-watch-1-gap: 0px;
  --chart-watch-2-1: var(--oasis-100);
  --chart-watch-2-1-outline: 1;
  --chart-watch-2-1-pattern: none;
  --chart-watch-2-2: var(--oasis-900);
  --chart-watch-2-2-outline: 0;
  --chart-watch-2-2-pattern: none;
  --chart-watch-2-gap: 0px;
  --chart-watch-3-1: var(--oasis-100);
  --chart-watch-3-1-outline: 1;
  --chart-watch-3-1-pattern: dots;
  --chart-watch-3-2: var(--oasis-500);
  --chart-watch-3-2-outline: 0;
  --chart-watch-3-2-pattern: none;
  --chart-watch-3-3: var(--oasis-900);
  --chart-watch-3-3-outline: 0;
  --chart-watch-3-3-pattern: none;
  --chart-watch-3-gap: 0px;
  --chart-watch-4-1: var(--oasis-200);
  --chart-watch-4-1-outline: 1;
  --chart-watch-4-1-pattern: dots;
  --chart-watch-4-2: var(--oasis-400);
  --chart-watch-4-2-outline: 0;
  --chart-watch-4-2-pattern: hatch;
  --chart-watch-4-3: var(--oasis-600);
  --chart-watch-4-3-outline: 0;
  --chart-watch-4-3-pattern: none;
  --chart-watch-4-4: var(--oasis-900);
  --chart-watch-4-4-outline: 0;
  --chart-watch-4-4-pattern: none;
  --chart-watch-4-gap: 0px;
  --chart-workshop-1-1: var(--oasis-600);
  --chart-workshop-1-1-outline: 0;
  --chart-workshop-1-1-pattern: none;
  --chart-workshop-1-gap: 0px;
  --chart-workshop-2-1: var(--oasis-100);
  --chart-workshop-2-1-outline: 1;
  --chart-workshop-2-1-pattern: none;
  --chart-workshop-2-2: var(--oasis-900);
  --chart-workshop-2-2-outline: 0;
  --chart-workshop-2-2-pattern: none;
  --chart-workshop-2-gap: 0px;
  --chart-workshop-3-1: var(--oasis-100);
  --chart-workshop-3-1-outline: 1;
  --chart-workshop-3-1-pattern: none;
  --chart-workshop-3-2: var(--oasis-500);
  --chart-workshop-3-2-outline: 0;
  --chart-workshop-3-2-pattern: dots;
  --chart-workshop-3-3: var(--oasis-900);
  --chart-workshop-3-3-outline: 0;
  --chart-workshop-3-3-pattern: none;
  --chart-workshop-3-gap: 2px;
  --chart-workshop-4-1: var(--oasis-200);
  --chart-workshop-4-1-outline: 1;
  --chart-workshop-4-1-pattern: dots;
  --chart-workshop-4-2: var(--oasis-400);
  --chart-workshop-4-2-outline: 0;
  --chart-workshop-4-2-pattern: hatch;
  --chart-workshop-4-3: var(--oasis-600);
  --chart-workshop-4-3-outline: 0;
  --chart-workshop-4-3-pattern: cross;
  --chart-workshop-4-4: var(--oasis-900);
  --chart-workshop-4-4-outline: 0;
  --chart-workshop-4-4-pattern: none;
  --chart-workshop-4-gap: 2px;
  --chart-certainty-notdue: var(--oasis-100);
  --chart-certainty-notdue-outline: 1;
  --chart-certainty-notdue-pattern: none;
  --chart-certainty-promised: var(--oasis-400);
  --chart-certainty-promised-outline: 0;
  --chart-certainty-promised-pattern: none;
  --chart-certainty-overdue: var(--oasis-800);
  --chart-certainty-overdue-outline: 0;
  --chart-certainty-overdue-pattern: hatch;
  --chart-div-1: var(--oasis-800);
  --chart-div-2: var(--oasis-400);
  --chart-div-3: var(--mist-100);
  --chart-div-4: var(--dawn-700);
  --chart-div-5: var(--dawn-800);
  --chart-div-3-outline: 1;
  --chart-axis: var(--border);
  --chart-grid: var(--line);
  --chart-label: var(--ink-muted);
  --status-ok: var(--oasis-600);
  --status-ok-pattern: none;
  --status-surveillance: var(--mist-200);
  --status-surveillance-pattern: hatch;
  --status-incident: var(--error);
  --status-incident-pattern: none;
  --status-unknown: var(--mist-100);
  --status-unknown-pattern: dots;
  color-scheme: light;
}

/* Surcouche Contraste (Jour). Alias v3 : data-theme="contrast". Placee avant Nuit : Nuit l'emporte. */
[data-contrast="more"], [data-theme="contrast"] {
  --ink: #0a1418;
  --oasis: #054a44;
  --oasis-deep: #032b28;
  --line: #5a6f6c;
  --border: #27383d;
  --focus: #054a44;
  --on-oasis: #ffffff;
  --on-oasis-deep: #ffffff;
  --on-dawn: #0a1418;
  --shadow-sheet: none;
}

@media (prefers-contrast: more) { :root:not([data-contrast="off"]) {
  --ink: #0a1418;
  --oasis: #054a44;
  --oasis-deep: #032b28;
  --line: #5a6f6c;
  --border: #27383d;
  --focus: #054a44;
  --on-oasis: #ffffff;
  --on-oasis-deep: #ffffff;
  --on-dawn: #0a1418;
  --shadow-sheet: none;
} }

/* Alias v3 : data-theme="dark" vaut Nuit. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]):not([data-theme="light"]):not([data-theme="contrast"]) {
  --surface: #0d191e;
  --surface-raised: #15262d;
  --surface-quiet: #101e23;
  --mist: #1c3a36;
  --ink: #edf4f1;
  --ink-muted: #a6b8b4;
  --oasis: #57c2b4;
  --on-oasis: #06211e;
  --oasis-deep: #2f6e66;
  --on-oasis-deep: #edf4f1;
  --dawn: #f4b557;
  --on-dawn: #13242b;
  --dawn-ink: #f4b557;
  --dawn-soft: #2b2110;
  --line: #26393f;
  --border: #6f8c8a;
  --focus: #57c2b4;
  --success: #57c2b4;
  --success-soft: #12302c;
  --error: #e59a8e;
  --error-soft: #2e1715;
  --locked: #6f8c8a;
  --locked-soft: #101e23;
  --scrim: rgba(0,0,0,0.60);
  --shadow-sheet: none;
  --chart-watch-1-1: var(--oasis-300);
  --chart-watch-1-1-outline: 0;
  --chart-watch-1-1-pattern: none;
  --chart-watch-1-gap: 0px;
  --chart-watch-2-1: var(--oasis-100);
  --chart-watch-2-1-outline: 0;
  --chart-watch-2-1-pattern: none;
  --chart-watch-2-2: var(--oasis-900);
  --chart-watch-2-2-outline: 1;
  --chart-watch-2-2-pattern: none;
  --chart-watch-2-gap: 0px;
  --chart-watch-3-1: var(--oasis-100);
  --chart-watch-3-1-outline: 0;
  --chart-watch-3-1-pattern: dots;
  --chart-watch-3-2: var(--oasis-500);
  --chart-watch-3-2-outline: 0;
  --chart-watch-3-2-pattern: none;
  --chart-watch-3-3: var(--oasis-900);
  --chart-watch-3-3-outline: 1;
  --chart-watch-3-3-pattern: none;
  --chart-watch-3-gap: 0px;
  --chart-watch-4-1: var(--oasis-100);
  --chart-watch-4-1-outline: 0;
  --chart-watch-4-1-pattern: dots;
  --chart-watch-4-2: var(--oasis-300);
  --chart-watch-4-2-outline: 0;
  --chart-watch-4-2-pattern: hatch;
  --chart-watch-4-3: var(--oasis-500);
  --chart-watch-4-3-outline: 0;
  --chart-watch-4-3-pattern: none;
  --chart-watch-4-4: var(--oasis-800);
  --chart-watch-4-4-outline: 1;
  --chart-watch-4-4-pattern: none;
  --chart-watch-4-gap: 0px;
  --chart-workshop-1-1: var(--oasis-300);
  --chart-workshop-1-1-outline: 0;
  --chart-workshop-1-1-pattern: none;
  --chart-workshop-1-gap: 0px;
  --chart-workshop-2-1: var(--oasis-100);
  --chart-workshop-2-1-outline: 0;
  --chart-workshop-2-1-pattern: none;
  --chart-workshop-2-2: var(--oasis-900);
  --chart-workshop-2-2-outline: 1;
  --chart-workshop-2-2-pattern: none;
  --chart-workshop-2-gap: 0px;
  --chart-workshop-3-1: var(--oasis-100);
  --chart-workshop-3-1-outline: 0;
  --chart-workshop-3-1-pattern: none;
  --chart-workshop-3-2: var(--oasis-500);
  --chart-workshop-3-2-outline: 0;
  --chart-workshop-3-2-pattern: dots;
  --chart-workshop-3-3: var(--oasis-900);
  --chart-workshop-3-3-outline: 1;
  --chart-workshop-3-3-pattern: none;
  --chart-workshop-3-gap: 2px;
  --chart-workshop-4-1: var(--oasis-100);
  --chart-workshop-4-1-outline: 0;
  --chart-workshop-4-1-pattern: dots;
  --chart-workshop-4-2: var(--oasis-300);
  --chart-workshop-4-2-outline: 0;
  --chart-workshop-4-2-pattern: hatch;
  --chart-workshop-4-3: var(--oasis-500);
  --chart-workshop-4-3-outline: 0;
  --chart-workshop-4-3-pattern: cross;
  --chart-workshop-4-4: var(--oasis-800);
  --chart-workshop-4-4-outline: 1;
  --chart-workshop-4-4-pattern: none;
  --chart-workshop-4-gap: 2px;
  --chart-certainty-notdue: var(--oasis-800);
  --chart-certainty-notdue-outline: 1;
  --chart-certainty-notdue-pattern: none;
  --chart-certainty-promised: var(--oasis-500);
  --chart-certainty-promised-outline: 0;
  --chart-certainty-promised-pattern: none;
  --chart-certainty-overdue: var(--oasis-200);
  --chart-certainty-overdue-outline: 0;
  --chart-certainty-overdue-pattern: hatch;
  --chart-div-1: var(--oasis-100);
  --chart-div-2: var(--oasis-300);
  --chart-div-3: var(--mist-600);
  --chart-div-4: var(--dawn-400);
  --chart-div-5: var(--dawn-600);
  --chart-div-3-outline: 1;
  --chart-axis: var(--border);
  --chart-grid: var(--line);
  --chart-label: var(--ink-muted);
  --status-ok: var(--oasis);
  --status-ok-pattern: none;
  --status-surveillance: var(--mist);
  --status-surveillance-pattern: hatch;
  --status-incident: var(--error);
  --status-incident-pattern: none;
  --status-unknown: var(--surface-raised);
  --status-unknown-pattern: dots;
  color-scheme: dark;
} }

[data-theme="night"], [data-theme="dark"] {
  --surface: #0d191e;
  --surface-raised: #15262d;
  --surface-quiet: #101e23;
  --mist: #1c3a36;
  --ink: #edf4f1;
  --ink-muted: #a6b8b4;
  --oasis: #57c2b4;
  --on-oasis: #06211e;
  --oasis-deep: #2f6e66;
  --on-oasis-deep: #edf4f1;
  --dawn: #f4b557;
  --on-dawn: #13242b;
  --dawn-ink: #f4b557;
  --dawn-soft: #2b2110;
  --line: #26393f;
  --border: #6f8c8a;
  --focus: #57c2b4;
  --success: #57c2b4;
  --success-soft: #12302c;
  --error: #e59a8e;
  --error-soft: #2e1715;
  --locked: #6f8c8a;
  --locked-soft: #101e23;
  --scrim: rgba(0,0,0,0.60);
  --shadow-sheet: none;
  --chart-watch-1-1: var(--oasis-300);
  --chart-watch-1-1-outline: 0;
  --chart-watch-1-1-pattern: none;
  --chart-watch-1-gap: 0px;
  --chart-watch-2-1: var(--oasis-100);
  --chart-watch-2-1-outline: 0;
  --chart-watch-2-1-pattern: none;
  --chart-watch-2-2: var(--oasis-900);
  --chart-watch-2-2-outline: 1;
  --chart-watch-2-2-pattern: none;
  --chart-watch-2-gap: 0px;
  --chart-watch-3-1: var(--oasis-100);
  --chart-watch-3-1-outline: 0;
  --chart-watch-3-1-pattern: dots;
  --chart-watch-3-2: var(--oasis-500);
  --chart-watch-3-2-outline: 0;
  --chart-watch-3-2-pattern: none;
  --chart-watch-3-3: var(--oasis-900);
  --chart-watch-3-3-outline: 1;
  --chart-watch-3-3-pattern: none;
  --chart-watch-3-gap: 0px;
  --chart-watch-4-1: var(--oasis-100);
  --chart-watch-4-1-outline: 0;
  --chart-watch-4-1-pattern: dots;
  --chart-watch-4-2: var(--oasis-300);
  --chart-watch-4-2-outline: 0;
  --chart-watch-4-2-pattern: hatch;
  --chart-watch-4-3: var(--oasis-500);
  --chart-watch-4-3-outline: 0;
  --chart-watch-4-3-pattern: none;
  --chart-watch-4-4: var(--oasis-800);
  --chart-watch-4-4-outline: 1;
  --chart-watch-4-4-pattern: none;
  --chart-watch-4-gap: 0px;
  --chart-workshop-1-1: var(--oasis-300);
  --chart-workshop-1-1-outline: 0;
  --chart-workshop-1-1-pattern: none;
  --chart-workshop-1-gap: 0px;
  --chart-workshop-2-1: var(--oasis-100);
  --chart-workshop-2-1-outline: 0;
  --chart-workshop-2-1-pattern: none;
  --chart-workshop-2-2: var(--oasis-900);
  --chart-workshop-2-2-outline: 1;
  --chart-workshop-2-2-pattern: none;
  --chart-workshop-2-gap: 0px;
  --chart-workshop-3-1: var(--oasis-100);
  --chart-workshop-3-1-outline: 0;
  --chart-workshop-3-1-pattern: none;
  --chart-workshop-3-2: var(--oasis-500);
  --chart-workshop-3-2-outline: 0;
  --chart-workshop-3-2-pattern: dots;
  --chart-workshop-3-3: var(--oasis-900);
  --chart-workshop-3-3-outline: 1;
  --chart-workshop-3-3-pattern: none;
  --chart-workshop-3-gap: 2px;
  --chart-workshop-4-1: var(--oasis-100);
  --chart-workshop-4-1-outline: 0;
  --chart-workshop-4-1-pattern: dots;
  --chart-workshop-4-2: var(--oasis-300);
  --chart-workshop-4-2-outline: 0;
  --chart-workshop-4-2-pattern: hatch;
  --chart-workshop-4-3: var(--oasis-500);
  --chart-workshop-4-3-outline: 0;
  --chart-workshop-4-3-pattern: cross;
  --chart-workshop-4-4: var(--oasis-800);
  --chart-workshop-4-4-outline: 1;
  --chart-workshop-4-4-pattern: none;
  --chart-workshop-4-gap: 2px;
  --chart-certainty-notdue: var(--oasis-800);
  --chart-certainty-notdue-outline: 1;
  --chart-certainty-notdue-pattern: none;
  --chart-certainty-promised: var(--oasis-500);
  --chart-certainty-promised-outline: 0;
  --chart-certainty-promised-pattern: none;
  --chart-certainty-overdue: var(--oasis-200);
  --chart-certainty-overdue-outline: 0;
  --chart-certainty-overdue-pattern: hatch;
  --chart-div-1: var(--oasis-100);
  --chart-div-2: var(--oasis-300);
  --chart-div-3: var(--mist-600);
  --chart-div-4: var(--dawn-400);
  --chart-div-5: var(--dawn-600);
  --chart-div-3-outline: 1;
  --chart-axis: var(--border);
  --chart-grid: var(--line);
  --chart-label: var(--ink-muted);
  --status-ok: var(--oasis);
  --status-ok-pattern: none;
  --status-surveillance: var(--mist);
  --status-surveillance-pattern: hatch;
  --status-incident: var(--error);
  --status-incident-pattern: none;
  --status-unknown: var(--surface-raised);
  --status-unknown-pattern: dots;
  color-scheme: dark;
}

:root {
  --oasis-50: #f1f6f6;
  --oasis-100: #d6ebe3;
  --oasis-200: #adccca;
  --oasis-300: #82b2ad;
  --oasis-400: #569791;
  --oasis-500: #307f78;
  --oasis-600: #0e6a62;
  --oasis-700: #0b564f;
  --oasis-800: #0a3f3b;
  --oasis-900: #06312e;
  --dawn-50: #fef6eb;
  --dawn-100: #fbe9cf;
  --dawn-200: #f8d7a7;
  --dawn-300: #f5c37b;
  --dawn-400: #f4b557;
  --dawn-500: #f0a437;
  --dawn-600: #cf8d2e;
  --dawn-700: #ab7324;
  --dawn-800: #8a5b1a;
  --dawn-900: #623f0f;
  --mist-50: #f4f7f5;
  --mist-100: #e9efec;
  --mist-200: #c9d6d3;
  --mist-300: #a9b9b5;
  --mist-400: #7a8e8b;
  --mist-500: #5f7275;
  --mist-600: #4b5d63;
  --mist-700: #35474d;
  --mist-800: #22343a;
  --mist-900: #13242b;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --size-touch: 44px;
  --size-primary: 48px;
  --size-measure: 560px;
  --size-page: 1120px;
  --font-voice: "Newsreader", "Newsreader Fallback Noto", "Newsreader Fallback DejaVu", Georgia, serif;
  --font-voice-display: "Newsreader Display", "Newsreader", "Newsreader Fallback Noto", "Newsreader Fallback DejaVu", Georgia, serif;
  --font-hand: "Inter", "Inter Fallback Noto", "Inter Fallback DejaVu", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Fallback DejaVu", "JetBrains Mono Fallback Noto", ui-monospace, monospace;
  --ref-font-budget-morning: 120KB;
  --ref-font-budget-maison: 121.6KB;
  --ref-font-budget-statement: 149.1KB;
  --ref-font-budget-apk: 834.7KB;
  --ref-font-budget-hidayah: null;
  --type-display-family: var(--font-voice-display);
  --type-display-weight: 500;
  --type-display-size: 44px;
  --type-display-line: 50px;
  --type-display-tracking: -0.01em;
  --type-voice-lg-family: var(--font-voice);
  --type-voice-lg-weight: 500;
  --type-voice-lg-size: 32px;
  --type-voice-lg-line: 38px;
  --type-voice-md-family: var(--font-voice);
  --type-voice-md-weight: 400;
  --type-voice-md-size: 24px;
  --type-voice-md-line: 32px;
  --type-voice-sm-family: var(--font-voice);
  --type-voice-sm-weight: 400;
  --type-voice-sm-size: 18px;
  --type-voice-sm-line: 28px;
  --type-voice-xs-family: var(--font-voice);
  --type-voice-xs-weight: 400;
  --type-voice-xs-size: 16px;
  --type-voice-xs-line: 24px;
  --type-heading-family: var(--font-hand);
  --type-heading-weight: 600;
  --type-heading-size: 20px;
  --type-heading-line: 28px;
  --type-body-family: var(--font-hand);
  --type-body-weight: 400;
  --type-body-size: 16px;
  --type-body-line: 26px;
  --type-small-family: var(--font-hand);
  --type-small-weight: 400;
  --type-small-size: 14px;
  --type-small-line: 22px;
  --type-label-family: var(--font-hand);
  --type-label-weight: 500;
  --type-label-size: 14px;
  --type-label-line: 20px;
  --type-label-tracking: 0.005em;
  --type-amount-family: var(--font-hand);
  --type-amount-weight: 600;
  --type-amount-size: 28px;
  --type-amount-line: 32px;
  --type-amount-numeric: tabular-nums;
  --type-amount-sm-family: var(--font-hand);
  --type-amount-sm-weight: 500;
  --type-amount-sm-size: 18px;
  --type-amount-sm-line: 24px;
  --type-amount-sm-numeric: tabular-nums;
  --type-caption-family: var(--font-hand);
  --type-caption-weight: 400;
  --type-caption-size: 13px;
  --type-caption-line: 18px;
  --type-mono-family: var(--font-mono);
  --type-mono-weight: 400;
  --type-mono-size: 14px;
  --type-mono-line: 22px;
  --type-code-family: var(--font-mono);
  --type-code-weight: 400;
  --type-code-size: 14px;
  --type-code-line: 20px;
  --duration-micro: 120ms;
  --duration-state: 200ms;
  --duration-sheet: 320ms;
  --duration-sun: 800ms;
  --ease-held: cubic-bezier(0, 0.5, 0.25, 0.78);
  --ease-leave: cubic-bezier(0.4, 0, 1, 1);
  --chart-pattern-dots-dot: 2px;
  --chart-pattern-dots-pitch: 6px;
  --chart-pattern-hatch-stroke: 1px;
  --chart-pattern-hatch-angle-angle: 45deg;
  --chart-pattern-hatch-pitch: 4px;
  --chart-pattern-cross-stroke: 1px;
  --chart-pattern-cross-angle-angle: 45deg;
  --chart-pattern-cross-pitch: 6px;
}

@media (min-width: 600px) { :root {
  --type-display-size: 52px;
  --type-display-line: 58px;
  --type-voice-lg-size: 36px;
  --type-voice-lg-line: 42px;
} }

@media (min-width: 1024px) { :root {
  --type-display-size: 64px;
  --type-display-line: 70px;
  --type-voice-lg-size: 40px;
  --type-voice-lg-line: 46px;
  --type-voice-md-size: 28px;
  --type-voice-md-line: 36px;
  --type-voice-sm-size: 20px;
  --type-voice-sm-line: 30px;
  --type-voice-xs-size: 16px;
  --type-voice-xs-line: 24px;
  --type-heading-size: 22px;
  --type-heading-line: 30px;
  --type-body-size: 17px;
  --type-body-line: 28px;
  --type-small-size: 14px;
  --type-small-line: 22px;
  --type-label-size: 14px;
  --type-label-line: 20px;
  --type-amount-size: 32px;
  --type-amount-line: 36px;
  --type-amount-sm-size: 18px;
  --type-amount-sm-line: 24px;
  --type-caption-size: 13px;
  --type-caption-line: 18px;
  --type-mono-size: 14px;
  --type-mono-line: 22px;
  --type-code-size: 14px;
  --type-code-line: 20px;
} }

/* Mouvement reduit : tout devient immediat. */
@media (prefers-reduced-motion: reduce) { :root {
  --duration-micro: 1ms;
  --duration-state: 1ms;
  --duration-sheet: 1ms;
  --duration-sun: 1ms;
} }

/* kit/fonts/fallbacks.css */
@font-face {
  font-family: "Newsreader Fallback Noto";
  src: local("Noto Serif"), local("NotoSerif-Regular");
  size-adjust: 84.24%;
  ascent-override: 87.25%;
  descent-override: 31.46%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Newsreader Fallback DejaVu";
  src: local("DejaVu Serif"), local("DejaVuSerif");
  size-adjust: 81.10%;
  ascent-override: 90.62%;
  descent-override: 32.67%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Inter Fallback Noto";
  src: local("Noto Sans"), local("NotoSans-Regular");
  size-adjust: 101.18%;
  ascent-override: 95.74%;
  descent-override: 23.84%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Inter Fallback DejaVu";
  src: local("DejaVu Sans"), local("DejaVuSans");
  size-adjust: 95.21%;
  ascent-override: 101.75%;
  descent-override: 25.33%;
  line-gap-override: 0.00%;
}

/* kit/fonts/faces.generated.css */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/newsreader-500-opsz32.latin.f4615c38a4.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+02C6, U+02DC, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2212; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/newsreader-500-opsz32.latin-ext.2b965910ab.woff2") format("woff2");
  unicode-range: U+0100-0149, U+014C-0151, U+0154-0177, U+0179-0180, U+0182-0185, U+0187-0189, U+018B-018F, U+0191-0195, U+0197-019C, U+019E-01B1, U+01B3-024F, U+1E00-1EFF; }
@font-face { font-family: "Newsreader Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/newsreader-500-opsz44.latin.64424d5a0b.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+02C6, U+02DC, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2212; }
@font-face { font-family: "Newsreader Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/newsreader-500-opsz44.latin-ext.fc3aa125a8.woff2") format("woff2");
  unicode-range: U+0100-0149, U+014C-0151, U+0154-0177, U+0179-0180, U+0182-0185, U+0187-0189, U+018B-018F, U+0191-0195, U+0197-019C, U+019E-01B1, U+01B3-024F, U+1E00-1EFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/inter-400-opsz14.latin.8a126455aa.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+02C6, U+02DC, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2212; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/inter-400-opsz14.latin-ext.41e5e76b10.woff2") format("woff2");
  unicode-range: U+0100-0149, U+014C-0151, U+0154-0177, U+0179-0180, U+0182-0185, U+0187-0189, U+018B-018F, U+0191-0195, U+0197-019C, U+019E-01B1, U+01B3-024F, U+1E00-1EFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/inter-500-opsz14.latin.047bb38f19.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+02C6, U+02DC, U+2009, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2212; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/inter-500-opsz14.latin-ext.5de04c76c4.woff2") format("woff2");
  unicode-range: U+0100-0149, U+014C-0151, U+0154-0177, U+0179-0180, U+0182-0185, U+0187-0189, U+018B-018F, U+0191-0195, U+0197-019C, U+019E-01B1, U+01B3-024F, U+1E00-1EFF; }

/* kit/css/base.css */
/* Sogoma base, v4.0.0. Reset, fonts, type steps, Sky and Line, focus, French composition helpers, registers, forced colours.
   Load order: ../tokens/tokens.css, base.css, icons.css, components.css. No raw hex here: every colour is a token.

   Fonts. The @font-face block below is generated by kit/fonts/make_fonts.py build (do not edit between the markers).
   - Default: static cuts, font-display: swap, one file per subset loaded by unicode-range.
   - Morning route: put data-register="morning" on <html>. The same files are then served under the "Newsreader Opt" and
     "Inter Opt" families with font-display: optional (no swap, no layout shift: the fallback stays if the file is late).
   - Desktop (min-width: 1024px): the variable files (families "Newsreader VF" and "Inter VF"), axes kept, opsz automatic.
   - font-synthesis: none everywhere: a missing weight or style is never faked. */


/* ---- Reset ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; font-optical-sizing: auto; }
body { min-height: 100vh; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
table { border-collapse: collapse; }

/* ---- Fonts per route ------------------------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root:not([data-register="morning"]) {
    --font-voice: "Newsreader VF", "Newsreader", "Newsreader Fallback Noto", "Newsreader Fallback DejaVu", Georgia, serif;
    --font-hand: "Inter VF", "Inter", "Inter Fallback Noto", "Inter Fallback DejaVu", system-ui, sans-serif;
  }
}

/* ---- Floors (floors 16 / 14 / 13 are data in tokens.source.json; rem so that text scaling still moves them) ------- */
:root {
  --floor-act: 1rem;
  --floor-label: 0.875rem;
  --floor-caption: 0.8125rem;
  --sg-sky-h: 48px;
  --sg-gap: var(--space-16);
  --sg-measure: var(--size-measure);
}
body { font-family: var(--type-body-family); font-weight: var(--type-body-weight); font-size: max(var(--floor-act), var(--type-body-size)); line-height: max(var(--type-body-line), 1.4em); }

/* ---- Type steps: classes read the --type-* variables of tokens.css -------------------------------------------- */
.sg-display { font-family: var(--type-display-family); font-weight: var(--type-display-weight); font-size: max(var(--floor-act), var(--type-display-size)); line-height: max(var(--type-display-line), 1.1em); letter-spacing: var(--type-display-tracking); }
.sg-voice-lg { font-family: var(--type-voice-lg-family); font-weight: var(--type-voice-lg-weight); font-size: max(var(--floor-act), var(--type-voice-lg-size)); line-height: max(var(--type-voice-lg-line), 1.15em); }
.sg-voice-md { font-family: var(--type-voice-md-family); font-weight: var(--type-voice-md-weight); font-size: max(var(--floor-act), var(--type-voice-md-size)); line-height: max(var(--type-voice-md-line), 1.25em); }
.sg-voice-sm { font-family: var(--type-voice-sm-family); font-weight: var(--type-voice-sm-weight); font-size: max(var(--floor-act), var(--type-voice-sm-size)); line-height: max(var(--type-voice-sm-line), 1.35em); }
.sg-voice-xs { font-family: var(--type-voice-xs-family); font-weight: var(--type-voice-xs-weight); font-size: max(var(--floor-act), var(--type-voice-xs-size)); line-height: max(var(--type-voice-xs-line), 1.4em); }
.sg-heading { font-family: var(--type-heading-family); font-weight: var(--type-heading-weight); font-size: max(var(--floor-act), var(--type-heading-size)); line-height: max(var(--type-heading-line), 1.3em); }
.sg-body { font-family: var(--type-body-family); font-weight: var(--type-body-weight); font-size: max(var(--floor-act), var(--type-body-size)); line-height: max(var(--type-body-line), 1.4em); }
.sg-small { font-family: var(--type-small-family); font-weight: var(--type-small-weight); font-size: max(var(--floor-label), var(--type-small-size)); line-height: max(var(--type-small-line), 1.4em); }
.sg-label { font-family: var(--type-label-family); font-weight: var(--type-label-weight); font-size: max(var(--floor-label), var(--type-label-size)); line-height: max(var(--type-label-line), 1.3em); letter-spacing: var(--type-label-tracking); }
.sg-amount { font-family: var(--type-amount-family); font-weight: var(--type-amount-weight); font-size: max(var(--floor-act), var(--type-amount-size)); line-height: max(var(--type-amount-line), 1.15em); font-variant-numeric: var(--type-amount-numeric); white-space: nowrap; }
.sg-amount-sm { font-family: var(--type-amount-sm-family); font-weight: var(--type-amount-sm-weight); font-size: max(var(--floor-act), var(--type-amount-sm-size)); line-height: max(var(--type-amount-sm-line), 1.3em); font-variant-numeric: var(--type-amount-sm-numeric); white-space: nowrap; }
.sg-caption { font-family: var(--type-caption-family); font-weight: var(--type-caption-weight); font-size: max(var(--floor-caption), var(--type-caption-size)); line-height: max(var(--type-caption-line), 1.3em); }
.sg-mono { font-family: var(--type-mono-family); font-weight: var(--type-mono-weight); font-size: max(var(--floor-label), var(--type-mono-size)); line-height: max(var(--type-mono-line), 1.4em); }
.sg-code { font-family: var(--type-code-family); font-weight: var(--type-code-weight); font-size: max(var(--floor-label), var(--type-code-size)); line-height: max(var(--type-code-line), 1.4em); }
h1 { font-family: var(--type-voice-lg-family); font-weight: var(--type-voice-lg-weight); font-size: max(var(--floor-act), var(--type-voice-lg-size)); line-height: max(var(--type-voice-lg-line), 1.15em); }
h2 { font-family: var(--type-voice-md-family); font-weight: var(--type-voice-md-weight); font-size: max(var(--floor-act), var(--type-voice-md-size)); line-height: max(var(--type-voice-md-line), 1.25em); }
h3, h4 { font-family: var(--type-heading-family); font-weight: var(--type-heading-weight); font-size: max(var(--floor-act), var(--type-heading-size)); line-height: max(var(--type-heading-line), 1.3em); }
code, kbd, samp, pre { font-family: var(--type-code-family); font-size: max(var(--floor-label), var(--type-code-size)); }

/* ---- Sky and Line --------------------------------------------------------------------------------------------- */
/* The Sky is Oasis deep; its lower edge is the Line (2 px Oasis); one 16 px Dawn disc sits 5 px above the Line.
   The disc's horizontal position is --sun-x (a length or a percentage), set by the page from the real sun. */
.sg-sky { position: relative; display: flex; align-items: center; min-height: var(--sg-sky-h); padding-inline: var(--space-16); background: var(--oasis-deep); color: var(--on-oasis-deep); }
@media (min-width: 1024px) { :root { --sg-sky-h: 56px; } } /* GRILLE: desktop from 1024 (Sky 48 phone, 56 desktop) */
.sg-sky__name { font-family: var(--type-caption-family); font-weight: var(--type-label-weight); font-size: max(var(--floor-caption), var(--type-caption-size)); line-height: 1.3; letter-spacing: var(--type-label-tracking); }
.sg-line { height: 2px; background: var(--oasis); }

/* ---- Focus ring: 2 px Oasis outside, the 2 px offset is the ground (white in Day) ----------------------------------- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sg-sky :focus-visible { outline-color: var(--on-oasis-deep); }

/* ---- Layout helpers -------------------------------------------------------------------------------------------- */
.sg-page { width: 100%; max-width: var(--size-page); margin-inline: auto; padding-inline: var(--space-16); }
.sg-measure { max-width: var(--sg-measure); }
.sg-stack > * + * { margin-block-start: var(--sg-gap); }
.sg-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sg-skip { position: absolute; inset-inline-start: var(--space-16); inset-block-start: -100px; padding: var(--space-12) var(--space-16); background: var(--surface); color: var(--ink); border: 2px solid var(--border); }
.sg-skip:focus { inset-block-start: var(--space-8); }

/* ---- French composition helpers ------------------------------------------------------------------------------- */
:lang(fr) { hyphens: manual; quotes: "«\202F" "\202F»" "“" "”"; }
:lang(fr) q { quotes: "«\202F" "\202F»"; }
.sg-nowrap { white-space: nowrap; }
.sg-tnum { font-variant-numeric: tabular-nums; }
.sg-fr { text-wrap: pretty; overflow-wrap: break-word; }
.sg-money { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- Registers ------------------------------------------------------------------------------------------------- */
[data-register="site"] { --sg-gap: var(--space-32); --sg-measure: var(--size-measure); }

/* ---- Motion: nothing loops; the reduced-motion tokens already set the durations to 1 ms ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms; animation-iteration-count: 1; transition-duration: 1ms; scroll-behavior: auto; }
}

/* ---- Forced colours -------------------------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .sg-sky { background: Canvas; color: CanvasText; border-block-end: 2px solid CanvasText; }
  .sg-line { height: 0; background: none; border-block-start: 2px solid CanvasText; }
  :focus-visible { outline: 2px solid Highlight; }
  .sg-skip { border-color: CanvasText; }
}

/* kit/css/components.css */
.sg-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); min-height: var(--size-touch); padding: 0 var(--space-24); border: 2px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-family: var(--type-label-family); font-weight: var(--type-label-weight); font-size: max(var(--floor-act), var(--type-body-size)); line-height: 1.2; text-decoration: none; transition: background-color var(--duration-micro) var(--ease-held); }
.sg-button:hover { background: var(--surface-quiet); }
.sg-button[data-primary] { min-height: var(--size-primary); background: var(--oasis); color: var(--on-oasis); border-color: var(--oasis); }
.sg-button[data-primary]:hover { background: var(--oasis-deep); border-color: var(--oasis-deep); }
.sg-button[disabled], .sg-button[aria-disabled="true"] { border-style: dashed; color: var(--ink-muted); background: var(--locked-soft); cursor: not-allowed; }
.sg-link { color: var(--oasis); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.sg-link:hover { text-decoration-thickness: 2px; }
.sg-status { display: inline-flex; align-items: center; gap: var(--space-8); font-size: max(var(--floor-label), var(--type-label-size)); font-weight: var(--type-label-weight); }
.sg-status__mark { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--status-unknown); flex: none; }
.sg-status[data-status="ok"] .sg-status__mark { background: var(--status-ok); border-color: var(--status-ok); }
.sg-status[data-status="surveillance"] .sg-status__mark { background: var(--status-surveillance); border-style: dashed; }
.sg-status[data-status="incident"] .sg-status__mark { background: var(--status-incident); border-color: var(--status-incident); border-radius: 2px; }
.sg-status[data-status="unknown"] .sg-status__mark { border-style: dotted; }
.sg-details { border-block-end: 1px solid var(--line); }
.sg-details > summary { display: flex; align-items: center; min-height: var(--size-touch); cursor: pointer; font-family: var(--type-label-family); font-weight: var(--type-label-weight); font-size: max(var(--floor-act), var(--type-body-size)); }
.sg-details[open] > summary { border-block-end: 1px solid var(--line); }
.sg-breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-8); list-style: none; padding: 0; font-size: max(var(--floor-label), var(--type-small-size)); }
.sg-breadcrumb li + li::before { content: "/"; margin-inline-end: var(--space-8); color: var(--ink-muted); }
[data-state] { display: grid; gap: var(--space-12); padding: var(--space-24) var(--space-16); }
[data-state="waiting"] { border-inline-start: 2px dashed var(--border); }
[data-state="empty"] { background: var(--surface-quiet); border-radius: var(--radius-md); }
[data-state="failure"] { border: 2px solid var(--error); border-radius: var(--radius-md); }
[data-state="offline"] { border: 2px dotted var(--border); border-radius: var(--radius-md); background: var(--locked-soft); }
[data-register="site"] .hero { min-height: 72px; padding: var(--space-48) var(--space-16) var(--space-32); background: var(--oasis-deep); color: var(--on-oasis-deep); border-block-end: 2px solid var(--oasis); }
[data-register="site"] .hero h1 { font-family: var(--type-display-family); font-weight: var(--type-display-weight); font-size: max(var(--floor-act), var(--type-display-size)); line-height: max(var(--type-display-line), 1.1em); letter-spacing: var(--type-display-tracking); }
[data-register="site"] .hero .sg-button[data-primary] { background: var(--on-oasis-deep); color: var(--oasis-deep); border-color: var(--on-oasis-deep); }
@media (forced-colors: active) {
.sg-button { border: 2px solid ButtonText; }
.sg-button[data-primary] { border-color: Highlight; }
.sg-status__mark { border-color: CanvasText; forced-color-adjust: none; }
}
.sg-theme { display: inline-flex; align-items: center; min-height: var(--size-touch); padding-inline: var(--space-4); font: inherit; font-size: var(--floor-act); color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.sg-theme[hidden] { display: none; }
/* science-hub/hub-site.css */
/* Science Hub page layout: the rules of sites/shared/site.css the page still
   uses, forked and rewritten on Sogoma v4 tokens (the shared file stays on
   the v3 kit for the landing). Tokens only: no colour, no length outside
   @media conditions. */

/* The house loads Inter 400 and 500 and Newsreader 500 only: the steps that
   ask for another weight take the one shipped. */
:root {
  --type-heading-weight: 500;
  --type-amount-weight: 500;
  --type-voice-md-weight: 500;
  --type-voice-sm-weight: 500;
}

html { scroll-padding-block-start: var(--space-16); }
body { display: flex; flex-direction: column; }
main { flex: 1; overflow-wrap: anywhere; }
main:focus { outline: none; }

/* Draft banner (draft builds only) */
.hub-draft { padding: var(--space-8) var(--space-16); background: var(--surface-quiet); border-block-end: 1px solid var(--line); color: var(--ink); font-size: var(--floor-label); text-align: center; }

/* Page column, sections, stacks */
.hub-page { width: 100%; max-width: var(--size-page); margin-inline: auto; padding-inline: var(--space-16); }
.hub-section { padding-block: var(--space-48); }
.hub-section--quiet { background: var(--surface-quiet); }
.hub-stack > * + * { margin-block-start: var(--space-16); }
.hub-stack-lg > * + * { margin-block-start: var(--sg-gap); }
.hub-measure { max-width: var(--sg-measure); }
.hub-lead { font-family: var(--type-voice-sm-family); font-weight: var(--type-voice-sm-weight); font-size: max(var(--floor-act), var(--type-voice-sm-size)); line-height: var(--type-voice-sm-line); }
.hub-note { font-size: var(--floor-label); line-height: var(--type-small-line); color: var(--ink-muted); }
.hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12) var(--space-24); }
.hub-plain { list-style: none; padding: 0; }

@media (min-width: 600px) {
  .hub-page { padding-inline: var(--space-24); }
}
@media (min-width: 1024px) {
  .hub-section { padding-block: var(--space-64); }
}

/* science-hub/hub.css */
/* Science Hub in the house register (data-register="site"), on top of the Sogoma v4 kit.
   Patterns adapted from yolea-landing site/maison.css and site/sun.js at commit 4d98f96: the Sky, the deep-Oasis
   Opening down to the Line, one white button, the computed Abidjan sun on the Line, the folded menu below 1024 px,
   the house footer. No raw colour, no gradient, no shadow, no loop, no animation; lengths are tokens or calc() of
   tokens (a 1px hairline is allowed). */

:root { --hub-rule: calc(var(--space-4) / 2); --hub-rule-strong: calc(var(--space-4) - 1px); }

/* Night: the sky darkens. The kit's Night value lightens the deep Oasis band; here the Sky, the Opening and the
   deep band go darker than the page (as on yolea.ai). */
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) { --oasis-deep: var(--oasis-900); } }
[data-theme="night"] { --oasis-deep: var(--oasis-900); }
/* Contrast: the kit keeps --ink-muted; secondary text here reaches the 7:1 of the enhanced rule by taking --ink. */
@media (prefers-contrast: more) { :root { --ink-muted: var(--ink); } }
[data-contrast="more"] { --ink-muted: var(--ink); }

/* ---- Sky ------------------------------------------------------------------------------------------------------ */
.hub-sky { gap: var(--space-12); flex-wrap: nowrap; }
.hub-sky a { color: var(--on-oasis-deep); }
.hub-logo { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--size-touch); text-decoration: none; flex: none; }
.hub-logo img { height: calc(var(--space-24) + var(--space-4)); width: auto; }
.hub-product { display: none; font-family: var(--type-label-family); font-weight: var(--type-label-weight); font-size: var(--floor-label); white-space: nowrap; }
.hub-links { display: none; margin-inline-start: auto; }
.hub-links ul, .hub-menu ul { list-style: none; padding: 0; }
.hub-links ul { display: flex; gap: var(--space-8); }
.hub-links a, .hub-lang a, .hub-talk { display: inline-flex; align-items: center; min-height: var(--size-touch); padding-inline: var(--space-4); font-size: var(--floor-act); text-decoration: none; white-space: nowrap; }
.hub-links a:hover, .hub-lang a:hover, .hub-talk:hover { text-decoration: underline; }
.hub-lang { margin-inline-start: auto; }
.hub-sky > .sg-theme { display: none; white-space: nowrap; }
.hub-talk--bar { display: none; text-decoration: underline; text-underline-offset: var(--space-4); }
.hub-menu summary { display: inline-flex; align-items: center; min-height: var(--size-touch); padding-inline: var(--space-8); cursor: pointer; font-size: var(--floor-act); }
.hub-menu summary::-webkit-details-marker { display: none; }
.hub-menu nav { position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 20; background: var(--surface); color: var(--ink); border-block: var(--hub-rule) solid var(--oasis); padding: var(--space-8) var(--space-16); }
.hub-menu nav a { display: flex; align-items: center; min-height: var(--size-touch); color: var(--ink); }
.hub-menu .sg-theme { padding-inline: 0; max-width: 100%; text-align: start; }
.hub-menu :focus-visible { outline-color: var(--focus); }
@media (min-width: 400px) {
  .hub-product { display: inline; }
}
@media (min-width: 600px) {
  /* The Sky's edges follow the page column */
  .hub-sky { padding-inline: max(var(--space-24), calc((100% - var(--size-page)) / 2 + var(--space-24))); }
}
@media (min-width: 1024px) {
  .hub-links { display: block; }
  .hub-lang { margin-inline-start: 0; }
  .hub-sky > .sg-theme:not([hidden]) { display: inline-flex; }
  .hub-talk--bar { display: inline-flex; }
  .hub-menu { display: none; }
}

/* ---- Opening: one deep-Oasis surface from the top of the page down to the Line ---------------------------------- */
/* .hero gives the deep band, the display step on h1 and the white primary (kit components, register site); the
   Line itself is the .hub-horizon below, so the band has no border of its own. */
.hub-opening { padding-inline: 0; border-block-end: 0; }
.hub-opening a { color: var(--on-oasis-deep); }
.hub-opening :focus-visible { outline-color: var(--on-oasis-deep); }
.hub-kick { font-family: var(--font-hand); font-weight: var(--type-label-weight); font-size: var(--floor-act); }
.hub-opening h1 { margin-block-start: var(--space-12); text-wrap: balance; }
.hub-sentence { margin-block-start: var(--space-24); max-width: var(--size-measure); font-family: var(--font-hand); font-weight: 400; font-size: max(var(--floor-act), var(--type-voice-sm-size)); line-height: var(--type-voice-sm-line); }
.hub-opening .hub-actions { margin-block-start: var(--space-24); }
.hub-opening .sg-button[data-primary] { min-height: var(--size-primary); text-decoration: none; font-weight: 400; }
.hub-opening .sg-button[data-primary]:hover { text-decoration: underline; }
.hub-cue { display: inline-flex; align-items: center; min-height: var(--size-touch); text-decoration: underline; text-underline-offset: var(--space-4); }
.hub-cue:hover { text-decoration-thickness: var(--hub-rule); }
/* Each item stays a plain box: the kit draws the separator on li + li::before, so it wraps with the title */
.hub-opening .sg-breadcrumb { margin-block-end: var(--space-16); align-items: baseline; }
.hub-opening .sg-breadcrumb a { display: inline-flex; align-items: center; min-height: var(--size-touch); }
.hub-opening .sg-breadcrumb li + li::before { color: var(--on-oasis-deep); }

/* The horizon: the Line, with the disc riding it at --sun-x (site/sun.js); never animated. The disc shows only
   once sun.js has computed a daytime position (data-sun="day"): no disc at night, none without JavaScript. */
.hub-horizon { position: relative; }
.hub-sun { display: none; position: absolute; inset-block-end: 100%; inset-inline-start: clamp(0%, calc(var(--sun-x, 50%) - var(--space-8)), calc(100% - var(--space-16))); width: var(--space-16); height: var(--space-16); border-radius: var(--radius-pill); background: var(--dawn); }
[data-sun="day"] .hub-sun { display: block; }

/* ---- Home: the Opening fills the first screen of a phone and ends on the Line ------------------------------------ */
/* Phone: the Opening alone fills the first screen, so every picture and panel starts below it (never above the fold,
   charte IMAGES); the Sky is var(--sg-sky-h) tall at least. The Line carries the computed Abidjan sun (sun.js), the
   only sun of the page, none at night. */
@media (max-width: 599px) {
  [data-register="site"] .hero.hub-opening--home { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--sg-sky-h)); min-height: calc(100svh - var(--sg-sky-h)); }
  .hero.hub-opening--home > .hub-page { width: 100%; }
}
/* The living garden, full bleed under the Line: one flat sky step per part of the day (no gradient), the Dawn disc on
   its arc between sunrise and sunset (sky.js sets --sky-x and --sky-y, data-sky and data-disc), the picture with its
   sky cut transparent (or a plain ground band until it exists), and a flat veil at night and in the evening. These
   defaults are 08:00, the page without JavaScript. No disc, moon or stars at night. */
.hub-garden { --sky-x: 0.17; --sky-y: 0.5; --hub-sky: var(--oasis-100); position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--hub-sky); line-height: 0; }
.hub-garden[data-sky="dawn"] { --hub-sky: var(--mist-100); }
.hub-garden[data-sky="day"] { --hub-sky: var(--oasis-100); }
.hub-garden[data-sky="golden"] { --hub-sky: var(--dawn-100); }
.hub-garden[data-sky="night"] { --hub-sky: var(--oasis-900); }
.hub-garden-sky { position: absolute; inset: 0 0 55% 0; }
.hub-garden-disc { position: absolute; inset-inline-start: calc(4% + var(--sky-x) * 92%); inset-block-end: calc(var(--sky-y) * 75%); width: var(--space-32); height: var(--space-32); translate: -50% 50%; border-radius: var(--radius-pill); background: var(--dawn); }
.hub-garden[data-disc="off"] .hub-garden-disc { display: none; }
.hub-garden-ground { position: absolute; inset: 45% 0 0 0; background: var(--mist); border-block-start: 1px solid var(--line); }
.hub-garden-picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hub-garden-veil { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hub-garden[data-sky="night"] .hub-garden-veil { background: var(--oasis-900); opacity: 0.35; }
.hub-garden[data-sky="golden"] .hub-garden-veil { background: var(--dawn); opacity: 0.12; }
@media (max-width: 599px) {
  .hub-garden { aspect-ratio: 3 / 2; }
}
/* « Faites passer les heures »: shown by sky.js only; the slider moves the sky, nothing moves by itself */
.hub-hours { padding-block-start: var(--space-16); }
.hub-hours label { display: block; font-family: var(--type-voice-sm-family); font-weight: var(--type-voice-sm-weight); font-size: max(var(--floor-act), var(--type-voice-sm-size)); line-height: var(--type-voice-sm-line); }
.hub-hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) var(--space-16); margin-block-start: var(--space-8); }
.hub-hours input { flex: 1 1 auto; min-width: 0; min-height: var(--size-touch); accent-color: var(--oasis); }
.hub-hours output { font-variant-numeric: tabular-nums; font-weight: var(--type-label-weight); }
.hub-now { display: inline-flex; align-items: center; min-height: var(--size-touch); padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: var(--space-4); cursor: pointer; }
@media (forced-colors: active) {
  .hub-garden-disc { background: Highlight; forced-color-adjust: none; }
}

/* « Ce qui vous attend »: three painted blocks, mist, ground, mist, full bleed side by side from 900 px */
.hub-live { padding-block-end: 0; }
.hub-live > .hub-page { margin-block-end: var(--space-32); }
.hub-blocks { list-style: none; padding: 0; display: grid; }
.hub-block { min-width: 0; padding: var(--space-32) var(--space-16); color: var(--ink); }
.hub-block > * + * { margin-block-start: var(--space-12); }
.hub-block--lesson, .hub-block--finish { background: var(--mist); }
.hub-block--labs { background: var(--surface); }
@media (min-width: 900px) {
  .hub-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-block { padding: var(--space-48) var(--space-32); }
}

/* People illustrations: one treatment, the same mint panel on every band; in Night a soft light panel, as on yolea.ai,
   so the deep green clothes and chairs still read (owner, 6 Nov 2026; dark versions of the pictures may follow) */
.hub-fig { --panel: var(--oasis-100); margin: 0; padding: var(--space-12); background: var(--panel); border-radius: var(--radius-md); }
.hub-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .hub-fig { --panel: var(--oasis-200); } }
[data-theme="night"] .hub-fig { --panel: var(--oasis-200); }
.hub-block .hub-fig { margin-block-end: var(--space-24); }
/* A slot waiting for its owner-approved image: a plain mist panel, no picture, no text */
.hub-fig--empty { --panel: var(--mist); aspect-ratio: 5 / 4; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .hub-fig--empty { --panel: var(--mist); } }
[data-theme="night"] .hub-fig--empty { --panel: var(--mist); }

/* « Trois façons d'apprendre »: three tiles; the trainer stands beside them on wide screens only */
.hub-way-list { list-style: none; padding: 0; display: grid; gap: var(--space-24); }
.hub-way { padding-block-start: var(--space-16); border-block-start: var(--hub-rule) solid var(--oasis); }
.hub-way > * + * { margin-block-start: var(--space-8); }
.hub-fig--side { display: none; }
@media (min-width: 900px) {
  .hub-way-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hub-ways--fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-48); align-items: center; }
  .hub-fig--side { display: block; }
}

/* Phones: « Essayer 7 jours » held at the bottom of the screen from the first band after the Opening, the same action as
   the Opening's primary (not a second primary); none from 600 px */
.hub-stick { position: sticky; inset-block-end: 0; z-index: 5; padding: var(--space-8) var(--space-16); background: var(--surface); border-block-start: 1px solid var(--line); }
.hub-stick .sg-button { display: flex; width: 100%; justify-content: center; min-height: var(--size-primary); text-decoration: none; }
.hub-stick .sg-button:hover { text-decoration: underline; }
@media (min-width: 600px) {
  .hub-stick { display: none; }
}

/* ---- Sections ------------------------------------------------------------------------------------------------- */
.hub-h2 { font-family: var(--type-display-family); font-weight: var(--type-display-weight); font-size: max(var(--floor-act), var(--type-voice-lg-size)); line-height: var(--type-voice-lg-line); letter-spacing: var(--type-display-tracking); text-wrap: balance; }
.hub-h3 { font-family: var(--type-voice-md-family); font-weight: var(--type-voice-md-weight); font-size: max(var(--floor-act), var(--type-voice-md-size)); line-height: var(--type-voice-md-line); }
.hub-section a:not(.sg-button):not(.sg-link) { color: inherit; text-underline-offset: var(--space-4); }

/* The course cards: one per entry of catalogue.json */
.hub-courses { list-style: none; padding: 0; display: grid; gap: var(--space-24); }
.hub-course { height: 100%; overflow: hidden; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-block-start: var(--hub-rule-strong) solid var(--oasis); border-radius: var(--radius-md); }
.hub-course-body { padding: var(--space-24); }
.hub-course-body > * + * { margin-block-start: var(--space-16); }
/* « Bientôt »: quieter than an open course: no fill, a hairline, no rule of colour */
.hub-course--soon { background: transparent; border-block-start: 1px solid var(--line); }
@media (min-width: 900px) {
  .hub-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hub-course-title a { text-decoration: none; }
.hub-course-title a:hover { text-decoration: underline; }
.hub-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-16); padding-block: var(--space-16); border-block: var(--hub-rule) solid var(--oasis); }
.hub-facts dt { font-size: var(--floor-label); color: var(--ink-muted); }
.hub-facts dd { margin: 0; }
@media (min-width: 600px) {
  .hub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Lists, folded answers */
.hub-list { padding-inline-start: var(--space-24); }
.hub-list li + li { margin-block-start: var(--space-8); }
.hub-folds .sg-details > summary { padding-block: var(--space-8); }
.hub-folds .sg-details > div { padding-block: var(--space-12) var(--space-16); }
.hub-folds .sg-details > div > * + * { margin-block-start: var(--space-8); }

/* ---- Prices --------------------------------------------------------------------------------------------------- */
.hub-controls { display: flex; flex-wrap: wrap; gap: var(--space-16) var(--space-32); }
.hub-choice { border: 0; padding: 0; min-width: 0; }
.hub-choice legend { padding: 0; margin-block-end: var(--space-8); font-weight: var(--type-label-weight); }
.hub-choice-options { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.hub-choice label { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--size-touch); padding-inline: var(--space-12); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); cursor: pointer; }
.hub-choice input { margin: 0; accent-color: var(--oasis); }
.hub-choice label:has(input:checked) { border-color: var(--oasis); font-weight: var(--type-label-weight); text-decoration: underline; text-underline-offset: var(--space-4); }
.hub-plans { list-style: none; padding: 0; display: grid; gap: var(--space-16); }
.hub-plan { display: flex; flex-direction: column; gap: var(--space-12); height: 100%; padding: var(--space-24); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); }
.hub-plan--highlight { border-color: var(--oasis); border-block-start-width: var(--hub-rule-strong); }
.hub-plan .sg-button { margin-block-start: auto; align-self: flex-start; }
.hub-from { font-size: var(--floor-label); color: var(--ink-muted); }
.hub-amount [data-value] { font-family: var(--type-amount-family); font-weight: var(--type-amount-weight); font-size: max(var(--floor-act), var(--type-amount-size)); line-height: var(--type-amount-line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hub-amount small { font-size: var(--floor-label); white-space: nowrap; }
/* What a plan includes: a fold that shows it opens (the sign is decorative,
   empty alternative text for assistive technology) */
.hub-plan .sg-details > summary::after { content: "+" / ""; margin-inline-start: auto; padding-inline-start: var(--space-8); }
.hub-plan .sg-details[open] > summary::after { content: "\2212" / ""; }
.hub-equiv { display: block; font-size: var(--floor-label); color: var(--ink-muted); }
@media (min-width: 600px) {
  .hub-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .hub-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- Deep band (the contact band of the home) ------------------------------------------------------------------ */
.hub-deep { background: var(--oasis-deep); color: var(--on-oasis-deep); }
.hub-deep a { color: var(--on-oasis-deep); }
.hub-deep a.sg-button { background: var(--on-oasis-deep); color: var(--oasis-deep); border-color: var(--on-oasis-deep); text-decoration: none; }
.hub-deep a.sg-button:hover { text-decoration: underline; }
.hub-deep :focus-visible { outline-color: var(--on-oasis-deep); }

/* ---- House footer --------------------------------------------------------------------------------------------- */
.hub-footer { padding-block: var(--space-32); border-block-start: 1px solid var(--line); font-size: var(--floor-label); line-height: var(--type-small-line); }
.hub-footer-name { font-weight: var(--type-label-weight); font-size: var(--floor-act); }
.hub-footer-line { margin-block: var(--space-8) var(--space-16); font-family: var(--type-voice-sm-family); font-weight: var(--type-voice-sm-weight); font-size: max(var(--floor-act), var(--type-voice-sm-size)); line-height: var(--type-voice-sm-line); }
.hub-footer-nav { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: var(--space-24); }
.hub-footlinks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--space-16); }
.hub-footer a, .hub-footlinks [aria-current] { display: inline-flex; align-items: center; min-height: var(--size-touch); }
.hub-footlinks [aria-current] { font-weight: var(--type-label-weight); }
.hub-footer p + p { margin-block-start: var(--space-4); }
.hub-disclosure { color: var(--ink-muted); }

/* ---- Forced colours ------------------------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .hub-sun { background: Highlight; forced-color-adjust: none; }
  .hub-course, .hub-plan { border-color: CanvasText; }
}
