/* tokens.css — GÉNÉRÉ par build-tokens.mjs depuis tokens.json + colors.json. NE PAS ÉDITER (C4). */
:root {
/* échelles (théme-indépendantes) */
  --white: #FFFFFF;
  --gray-50: #F5F5F3;
  --gray-75: #E4E4E1;
  --gray-100: #E8E8E6;
  --gray-200: #CDCDCB;
  --gray-300: #ABACB0;
  --gray-350: #9A9CA8;
  --gray-400: #85868E;
  --gray-500: #6B6D78;
  --gray-600: #52545F;
  --gray-700: #3A3C48;
  --gray-800: #282A36;
  --gray-850: #31333F;
  --gray-900: #1C1E2A;
  --gray-925: #0F1017;
  --gray-canvas: #E2E2E0;
  --orange-50: #FFF0E8;
  --orange-100: #FFDECC;
  --orange-200: #FFBD99;
  --orange-300: #FF9057;
  --orange-400: #FD702B;
  --orange-500: #FB5102;
  --orange-600: #DF4802;
  --orange-700: #C24002;
  --orange-800: #8F2F02;
  --orange-900: #5C1E01;
  --cyan-50: #E6F7F8;
  --cyan-100: #C2EDF0;
  --cyan-200: #7FDAE2;
  --cyan-300: #22B8CC;
  --cyan-400: #0FAEBE;
  --cyan-500: #00A5B0;
  --cyan-600: #00919B;
  --cyan-700: #007D86;
  --cyan-800: #005A61;
  --cyan-900: #003A3F;
  --status-success-light: #287845;
  --status-success-dark: #10C83B;
  --status-warning-light: #A04602;
  --status-warning-dark: #F9ED27;
  --status-critical-light: #4F1907;
  --status-critical-dark: #E1767C;
  --status-info-light: #105F79;
  --status-info-dark: #03B5E1;
  --status-pending-light: #4527BC;
  --status-pending-dark: #C481ED;
  --chart-1-light: #5D1621;
  --chart-1-dark: #D54A62;
  --chart-2-light: #1F4985;
  --chart-2-dark: #588DD8;
  --chart-3-light: #77560A;
  --chart-3-dark: #C79010;
  --chart-4-light: #14748B;
  --chart-4-dark: #1FB6DC;
  --chart-5-light: #C55323;
  --chart-5-dark: #EAA588;
  --chart-6-light: #936DD5;
  --chart-6-dark: #CDBBEB;
  --chart-7-light: #649A27;
  --chart-7-dark: #B3DF81;
  --chart-8-light: #37A571;
  --chart-8-dark: #C3EBD8;
  --ansi-black-light: #1C1E2A;
  --ansi-black-dark: #282A36;
  --ansi-red-light: #4F1907;
  --ansi-red-dark: #E1767C;
  --ansi-green-light: #287845;
  --ansi-green-dark: #10C83B;
  --ansi-yellow-light: #A04602;
  --ansi-yellow-dark: #F9ED27;
  --ansi-blue-light: #2950C2;
  --ansi-blue-dark: #92A8E8;
  --ansi-magenta-light: #4527BC;
  --ansi-magenta-dark: #C481ED;
  --ansi-cyan-light: #007D86;
  --ansi-cyan-dark: #22B8CC;
  --ansi-white-light: #52545F;
  --ansi-white-dark: #E8E8E6;
  --ansi-bright-black-light: #3A3C48;
  --ansi-bright-black-dark: #6B6D78;
  --ansi-bright-red-light: #8E2130;
  --ansi-bright-red-dark: #EE9DA7;
  --ansi-bright-green-light: #1D653B;
  --ansi-bright-green-dark: #9ADDB6;
  --ansi-bright-yellow-light: #836407;
  --ansi-bright-yellow-dark: #FAEA9E;
  --ansi-bright-blue-light: #4265D0;
  --ansi-bright-blue-dark: #B3C2F2;
  --ansi-bright-magenta-light: #783EBB;
  --ansi-bright-magenta-dark: #D6B2EC;
  --ansi-bright-cyan-light: #065A6B;
  --ansi-bright-cyan-dark: #7ADDF0;
  --ansi-bright-white-light: #0F1017;
  --ansi-bright-white-dark: #F5F5F3;
  --seq-1: #DAF2F7;
  --seq-2: #A2DDEB;
  --seq-3: #5EC4DD;
  --seq-4: #29A5C3;
  --seq-5: #1F7D94;
  --seq-6: #155464;
  --div-1: #9D380D;
  --div-2: #E36E3C;
  --div-3: #E4B594;
  --div-4: #E0E0E2;
  --div-5: #8AC8D8;
  --div-6: #1B9DBD;
  --div-7: #066178;
/* socle */
  --font-sans: Aspekta, 'Ponctuation FR', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --type-nombre-size: clamp(96px, 18vw, 400px);
  --type-nombre-size-px: 200px;
  --type-nombre-weight: 900;
  --type-nombre-leading: 0.82;
  --type-nombre-tracking: -0.03em;
  --type-display-size: 72px;
  --type-display-size-px: 72px;
  --type-display-weight: 800;
  --type-display-leading: 1;
  --type-display-tracking: -0.025em;
  --type-h1-size: 48px;
  --type-h1-size-px: 48px;
  --type-h1-weight: 800;
  --type-h1-leading: 1.08;
  --type-h1-tracking: -0.02em;
  --type-h2-size: 32px;
  --type-h2-size-px: 32px;
  --type-h2-weight: 800;
  --type-h2-leading: 1.15;
  --type-h2-tracking: -0.015em;
  --type-h3-size: 22px;
  --type-h3-size-px: 22px;
  --type-h3-weight: 700;
  --type-h3-leading: 1.3;
  --type-h3-tracking: -0.01em;
  --type-body-size: 16px;
  --type-body-size-px: 16px;
  --type-body-weight: 500;
  --type-body-leading: 1.6;
  --type-body-tracking: 0em;
  --type-body-strong-size: 16px;
  --type-body-strong-size-px: 16px;
  --type-body-strong-weight: 700;
  --type-body-strong-leading: 1.6;
  --type-body-strong-tracking: 0em;
  --type-small-size: 14px;
  --type-small-size-px: 14px;
  --type-small-weight: 500;
  --type-small-leading: 1.55;
  --type-small-tracking: 0em;
  --type-cotation-size: 13px;
  --type-cotation-size-px: 13px;
  --type-cotation-weight: 400;
  --type-cotation-leading: 1.5;
  --type-cotation-tracking: 0.02em;
  --type-ref-size: 12px;
  --type-ref-size-px: 12px;
  --type-ref-weight: 400;
  --type-ref-leading: 1.4;
  --type-ref-tracking: 0.08em;
  --type-etat-size: 12px;
  --type-etat-size-px: 12px;
  --type-etat-weight: 700;
  --type-etat-leading: 1.4;
  --type-etat-tracking: 0.08em;
  --type-legende-size: 12px;
  --type-legende-size-px: 12px;
  --type-legende-weight: 500;
  --type-legende-leading: 1.5;
  --type-legende-tracking: 0.01em;
  --type-ui-compact-size: 13px;
  --type-ui-compact-size-px: 13px;
  --type-ui-compact-weight: 500;
  --type-ui-compact-leading: 1.4;
  --type-ui-compact-tracking: 0em;
  --type-terminal-size: 13px;
  --type-terminal-size-px: 13px;
  --type-terminal-weight: 400;
  --type-terminal-leading: 1.45;
  --type-terminal-tracking: 0em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-none: 0px;
  --border-width-hairline: 1px;
  --border-width-strong: 2px;
  --border-width-frame: 3px;
  --square-dot: 0.17em;
  --square-bullet: 6px;
  --square-marker: 40px;
  --square-tick: 4px;
  --breakpoint-telephone: 375px;
  --breakpoint-volet: 640px;
  --breakpoint-poste: 960px;
  --breakpoint-large: 1280px;
  --breakpoint-mur: 1680px;
  --motion-duree-1: 120ms;
  --motion-duree-2: 240ms;
  --motion-duree-3: 480ms;
  --motion-courbe-entree: cubic-bezier(0.2, 0, 0, 1);
  --motion-courbe-sortie: cubic-bezier(0.4, 0, 1, 1);
  --layer-contenu: 0;
  --layer-collant: 100;
  --layer-superpose: 300;
  --layer-modal: 400;
  --layer-notification: 500;
  --densite-rang-h: 36px;
  --densite-cell-y: 8px;
  --densite-cell-x: 12px;
  --densite-type-rang: 14px;
  --control-height: 40px;
  --term-bg: #16171F;
  --term-ink: #E8E8E6;
  --term-accent: #FF9057;
  --term-ok: #43C46F;
  --term-err: #DC6F83;
/* sémantique — thème clair */
  --diff-add-bg: #DFF2E4;
  --diff-add-ink: #1E5B33;
  --diff-del-bg: #F6E3E6;
  --diff-del-ink: #8A2433;
  --surface: #FFFFFF;
  --surface-raised: #F5F5F3;
  --text-primary: #1C1E2A;
  --text-secondary: #52545F;
  --border: #CDCDCB;
  --border-control: #85868E;
  --border-color-strong: #1C1E2A;
  --focus-ring: #1C1E2A;
  --accent: #FB5102;
  --accent-hover: #C24002;
  --on-accent: #1C1E2A;
  --on-accent-hover: #FFFFFF;
  --text-accent: #C24002;
  --text-accent-raised: #C24002;
  --tension: #00A5B0;
  --on-tension: #1C1E2A;
  --text-tension: #007D86;
  --text-tension-raised: #007D86;
  --status-success: #287845;
  --status-warning: #A04602;
  --status-critical: #4F1907;
  --status-info: #105F79;
  --status-pending: #4527BC;
  --scrim: rgba(28, 30, 42, 0.56);
}
[data-theme="dark"] {
  --diff-add-bg: #1E3327;
  --diff-add-ink: #43C46F;
  --diff-del-bg: #3A2228;
  --diff-del-ink: #DC6F83;
  --surface: #1C1E2A;
  --surface-raised: #282A36;
  --text-primary: #F5F5F3;
  --text-secondary: #ABACB0;
  --border: #3A3C48;
  --border-control: #727580;
  --border-color-strong: #F5F5F3;
  --focus-ring: #F5F5F3;
  --accent: #FB5102;
  --accent-hover: #FF9057;
  --on-accent: #1C1E2A;
  --on-accent-hover: #1C1E2A;
  --text-accent: #FB5102;
  --text-accent-raised: #FF9057;
  --tension: #00A5B0;
  --on-tension: #1C1E2A;
  --text-tension: #22B8CC;
  --text-tension-raised: #22B8CC;
  --status-success: #10C83B;
  --status-warning: #F9ED27;
  --status-critical: #E1767C;
  --status-info: #03B5E1;
  --status-pending: #C481ED;
  --scrim: rgba(15, 16, 23, 0.64);
}
[data-density="confortable"] {
  --densite-rang-h: 48px;
  --densite-cell-y: 12px;
  --densite-cell-x: 16px;
  --densite-type-rang: 16px;
}
[data-density="compacte"] {
  --densite-rang-h: 28px;
  --densite-cell-y: 4px;
  --densite-cell-x: 8px;
  --densite-type-rang: 13px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
