/* GÉNÉRÉ par tools/tokens.ts depuis tools/tokens/palette.json. Ne pas modifier à la main.
   Valeurs : palette Orchestre du 10 novembre 2026 (contraste fort), thèmes clair et sombre par light-dark().
   Le thème suit le système ; data-theme="light" ou "dark" le force sur la racine ou sur un sous-arbre. */
:root {
  color-scheme: light dark;
  /* Couleurs à thème : light-dark(clair, sombre). */
  --bythium-surface-page: light-dark(oklch(0.9819 0.0029 264.54), oklch(0.1723 0.0026 247.98));
  --bythium-surface-base: light-dark(oklch(1 0 0), oklch(0.2048 0.0061 271.11));
  --bythium-surface-card: light-dark(oklch(1 0 0), oklch(0.2271 0.0079 274.58));
  --bythium-surface-raised: light-dark(oklch(0.9582 0.0041 271.37), oklch(0.253 0.0095 276.71));
  --bythium-surface-overlay: light-dark(oklch(1 0 0), oklch(0.253 0.0095 276.71));
  --bythium-surface-sidebar: light-dark(oklch(0.964 0.0029 264.54), oklch(0.1536 0.0027 248));
  --bythium-surface-elevated: light-dark(oklch(1 0 0), oklch(0.253 0.0095 276.71));
  --bythium-state-hover: light-dark(oklch(0 0 0 / 0.039), oklch(1 0 0 / 0.039));
  --bythium-state-selected: light-dark(oklch(0 0 0 / 0.071), oklch(1 0 0 / 0.078));
  --bythium-track: light-dark(oklch(0 0 0 / 0.11), oklch(1 0 0 / 0.09));
  --bythium-text-primary: light-dark(oklch(0.2686 0.0097 268.31), oklch(0.947 0.004 286.32));
  --bythium-text-secondary: light-dark(oklch(0.4559 0.0175 264.39), oklch(0.7789 0.0091 264.51));
  --bythium-text-muted: light-dark(oklch(0.519 0.0208 261.3), oklch(0.6488 0.0146 262.36));
  --bythium-border-subtle: light-dark(oklch(0.9157 0.0071 268.54), oklch(0.2733 0.0075 274.68));
  --bythium-border-strong: light-dark(oklch(0.6354 0.0179 262.72), oklch(0.5103 0.0165 268.35));
  --bythium-border-focus: light-dark(oklch(0.4884 0.0892 220.43), oklch(0.8216 0.1277 212.37));
  --bythium-accent: light-dark(oklch(0.4884 0.0892 220.43), oklch(0.8216 0.1277 212.37));
  --bythium-accent-secondary: light-dark(oklch(0.4884 0.0892 220.43), oklch(0.8216 0.1277 212.37));
  --bythium-accent-brand: light-dark(oklch(0.8216 0.1277 212.37), oklch(0.8216 0.1277 212.37));
  --bythium-on-accent: light-dark(oklch(1 0 0), oklch(0.1845 0.0101 285.36));
  --bythium-link: light-dark(oklch(0.4818 0.1887 300.03), oklch(0.6929 0.2018 306.83));
  --bythium-brand-primary: light-dark(oklch(0.4944 0.1932 299.27), oklch(0.4944 0.1932 299.27));
  --bythium-brand-primary-hover: light-dark(oklch(0.428 0.1781 301.81), oklch(0.428 0.1781 301.81));
  --bythium-on-brand-primary: light-dark(oklch(1 0 0), oklch(1 0 0));
  --bythium-brand-vivid: light-dark(oklch(0.6929 0.2018 306.83), oklch(0.6929 0.2018 306.83));
  --bythium-brand-primary-text: light-dark(oklch(0.4818 0.1887 300.03), oklch(0.6929 0.2018 306.83));
  --bythium-status-success: light-dark(oklch(0.5036 0.0991 157.99), oklch(0.7527 0.0743 162.61));
  --bythium-status-warning: light-dark(oklch(0.4989 0.093 82.27), oklch(0.8068 0.0946 86.15));
  --bythium-status-danger: light-dark(oklch(0.5044 0.1499 18.44), oklch(0.7399 0.0911 14.28));
  --bythium-status-info: light-dark(oklch(0.4762 0.089 251.61), oklch(0.7607 0.0638 250.13));
  --bythium-chart-1: light-dark(oklch(0.6289 0.1421 304.99), oklch(0.6712 0.1396 306.02));
  --bythium-chart-2: light-dark(oklch(0.6195 0.0839 214.21), oklch(0.7556 0.0971 212.58));
  --bythium-chart-3: light-dark(oklch(0.6284 0.0799 84.86), oklch(0.7846 0.0971 84.35));
  --bythium-chart-4: light-dark(oklch(0.6154 0.1019 164.68), oklch(0.7372 0.1163 164.58));
  --bythium-chart-5: light-dark(oklch(0.6337 0.1193 17.7), oklch(0.6773 0.1174 18.63));
  --bythium-chart-6: light-dark(oklch(0.5807 0.1342 260.06), oklch(0.6249 0.1295 259.68));
  --pack-bg: light-dark(oklch(0.971 0.0108 297.63), oklch(0.1305 0.0143 275.32));
  --pack-ink: light-dark(oklch(0.2132 0.0468 279.84), oklch(0.958 0.0202 279.94));
  --pack-mut: light-dark(oklch(0.4291 0.0465 279.5), oklch(0.7557 0.039 277.13));
  --pack-line: light-dark(oklch(0.332 0.1164 284.62 / 0.141), oklch(1 0 0 / 0.11));
  --pack-line2: light-dark(oklch(0.332 0.1164 284.62 / 0.259), oklch(1 0 0 / 0.2));
  --pack-panel: light-dark(oklch(1 0 0 / 0.78), oklch(0.1846 0.0328 277.25 / 0.78));
  --pack-panel2: light-dark(oklch(1 0 0 / 0.6), oklch(1 0 0 / 0.043));
  --pack-code: light-dark(oklch(0.9873 0.0067 295.45), oklch(0.159 0.0257 275.87));
  --pack-codeink: light-dark(oklch(0.2979 0.0581 276.86), oklch(0.9018 0.033 278.19));
  --pack-c1: light-dark(oklch(0.5998 0.1043 216.31), oklch(0.7971 0.1339 211.53));
  --pack-c2: light-dark(oklch(0.5489 0.2341 285.4), oklch(0.709 0.1592 293.54));
  --pack-c3: light-dark(oklch(0.5868 0.1303 158.88), oklch(0.7729 0.1535 163.22));
  --pack-c4: light-dark(oklch(0.5977 0.2111 353.12), oklch(0.7253 0.1752 349.76));
  --pack-focus: light-dark(oklch(0.5225 0.2549 280.33), oklch(0.8651 0.1153 207.08));
  --pack-link: light-dark(oklch(0.4754 0.2328 281.48), oklch(0.8764 0.1019 209.64));
  --pack-btn1: light-dark(oklch(0.5225 0.2549 280.33), oklch(0.7971 0.1339 211.53));
  --pack-btn2: light-dark(oklch(0.5106 0.2301 276.97), oklch(0.709 0.1592 293.54));
  --pack-btn3: light-dark(oklch(0.5198 0.0936 223.13), oklch(0.7729 0.1535 163.22));
  --pack-btnink: light-dark(oklch(1 0 0), oklch(0.1334 0.0183 283.64));
  --pack-a1: light-dark(oklch(0.8276 0.1013 230.32 / 0.549), oklch(0.7971 0.1339 211.53 / 0.298));
  --pack-a2: light-dark(oklch(0.8112 0.1013 293.57 / 0.6), oklch(0.6056 0.2189 292.72 / 0.341));
  --pack-a3: light-dark(oklch(0.9049 0.0895 164.15 / 0.502), oklch(0.7729 0.1535 163.22 / 0.22));
  --pack-tok-t: light-dark(oklch(0.4882 0.0851 218.24), oklch(0.8764 0.1019 209.64));
  --pack-tok-s: light-dark(oklch(0.5125 0.1148 158.3), oklch(0.8712 0.1363 154.45));
  --pack-tok-c: light-dark(oklch(0.55 0.0517 277.85), oklch(0.6696 0.0478 276.7));
  --pack-tok-k: light-dark(oklch(0.5225 0.2549 280.33), oklch(0.8112 0.1013 293.57));
  --pack-wm1: light-dark(oklch(0.5516 0.0972 218.48), oklch(0.8651 0.1153 207.08));
  --pack-wm2: light-dark(oklch(0.5225 0.2549 280.33), oklch(0.8112 0.1013 293.57));
  --pack-wm3: light-dark(oklch(0.559 0.1284 157.89), oklch(0.8452 0.1299 164.98));
  /* Ombres : la couleur de chaque couche suit le thème. */
  --shadow-sm: 0px 1px 2px 0px light-dark(oklch(0 0 0 / 0.059), oklch(0 0 0 / 0.22));
  --shadow-overlay: 0px 0px 0px 1px light-dark(oklch(0 0 0 / 0.039), oklch(0 0 0 / 0.4)), 0px 8px 28px 0px light-dark(oklch(0 0 0 / 0.122), oklch(0 0 0 / 0.451)), 0px 2px 6px 0px light-dark(oklch(0 0 0 / 0.059), oklch(0 0 0 / 0.251));
  --shadow-window: 0px 30px 70px -40px light-dark(oklch(0 0 0 / 0.6), oklch(0 0 0 / 0.6));
  --shadow-glow: 0px 30px 80px -40px light-dark(oklch(0.6929 0.2018 306.83), oklch(0.6929 0.2018 306.83));
  --pack-shadow: 0px 24px 60px -24px light-dark(oklch(0.436 0.1547 287.36 / 0.349), oklch(0 0 0 / 0.8));
  /* Couleurs de marque, identiques dans les deux thèmes (logo, dégradé). */
  --bythium-brand-cyan: oklch(0.8216 0.1277 212.37);
  --bythium-brand-violet: oklch(0.6929 0.2018 306.83);
  --bythium-brand-milieu: oklch(0.7104 0.1558 288.52);
  --bythium-brand-sphere: oklch(0.7413 0.1239 259.16);
  --bythium-brand-blanc-casse: oklch(0.9604 0.0107 286.2);
  --bythium-brand-marine: oklch(0.2253 0.05 262.93);
  --bythium-brand-blanc: oklch(1 0 0);
  --bythium-brand-noir: oklch(0 0 0);
  --bythium-brand-gradient: linear-gradient(135deg in oklch, oklch(0.8216 0.1277 212.37) 0%, oklch(0.7104 0.1558 288.52) 50%, oklch(0.6929 0.2018 306.83) 100%);
  /* Typographie (base Orchestre : 13 px, légende 12 px, titre 22 px ; en rem pour le zoom du texte, WC-R08). */
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-features: "cv01", "ss03";
  --font-size-base: 0.8125rem;
  --font-size-caption: 0.75rem;
  --font-size-title: 1.375rem;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --line-height-base: 1.4;
  /* Espacement : échelle de 4 px (--space-2 = 8 px). */
  --space-0: 0;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  /* Rayons. */
  --radius-sm: 4px;
  --radius-control: 6px;
  --radius-card: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;
  /* Contrôles : hauteur visuelle Orchestre 30 px ; la cible tactile reste 44 px (WC-D03). */
  --control-height: 30px;
  --target-touch-min: 44px;
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  /* Mouvement (WC-N11 : 300 ms au plus). */
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 300ms;
  --ease-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-kinetic: cubic-bezier(0.2, 0, 0, 1);
  /* Empilement (WC-N05 : échelle de 1 à 50). */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 20;
  --z-dropdown: 30;
  --z-overlay: 40;
  --z-toast: 45;
  --z-skip: 50;
  /* Thème résolu, en mot, pour une requête de style : @container style(--bythium-scheme: light). */
  --bythium-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bythium-scheme: dark;
  }
}
:root[data-theme="dark"],
[data-theme="dark"] {
  color-scheme: dark;
  --bythium-scheme: dark;
}
:root[data-theme="light"],
[data-theme="light"] {
  color-scheme: light;
  --bythium-scheme: light;
}
/* La seule règle universelle du paquet (section 5.4). */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: var(--space-4);
  background: var(--bythium-surface-page);
  color: var(--bythium-text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}
bythium-surface {
  display: block;
  min-inline-size: 0;
}
