/* Généré par tools/generer_tokens.py depuis design/tokens.json. Ne pas modifier. */
:root {
  color-scheme: light dark;
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 0.75rem;
  --esp-4: 1.0rem;
  --esp-5: 1.5rem;
  --esp-6: 2.0rem;
  --esp-7: 3.0rem;
  --esp-8: 4.0rem;
  --rayon-petit: 8px;
  --rayon-moyen: 12px;
  --rayon-grand: 16px;
  --rayon-pilule: 999px;
  --texte-petit: 0.875rem;
  --texte-corps: 1.0rem;
  --texte-fort: 1.125rem;
  --texte-titre3: 1.25rem;
  --texte-titre2: 1.625rem;
  --texte-titre1: 2.0rem;
  --cible: 48px;
  --duree-rapide: 150ms;
  --duree-normal: 220ms;
  --fond: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F7F5;
  --trait: #DCE4DF;
  --trait-fort: #66796E;
  --encre: #0B1A13;
  --encre-2: #3B4C43;
  --primaire: #135A39;
  --primaire-survol: #0E4A2E;
  --sur-primaire: #FFFFFF;
  --primaire-fond: #E6F3EC;
  --marque: #3B9C6B;
  --danger: #8F1D1D;
  --danger-fond: #FBE9E9;
  --avertissement: #5C4000;
  --avertissement-fond: #FFF1C9;
  --focus: #135A39;
  --ton-attente-fond: #E4EBF2;
  --ton-attente-encre: #23384D;
  --ton-attente-contour: #5A7590;
  --ton-disponible-fond: #B1EAB7;
  --ton-disponible-encre: #123A1D;
  --ton-disponible-contour: #2F7A43;
  --ton-partiel-fond: #FFF1C9;
  --ton-partiel-encre: #4F3800;
  --ton-partiel-contour: #8F6B00;
  --ton-indisponible-fond: #E8B9B9;
  --ton-indisponible-encre: #4F1414;
  --ton-indisponible-contour: #9C3B3B;
  --ton-action-fond: #D7F5E6;
  --ton-action-encre: #143F2A;
  --ton-action-contour: #24704A;
  --ton-clos-fond: #E6E9E7;
  --ton-clos-encre: #333D38;
  --ton-clos-contour: #6B7570;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #0F1714;
    --surface: #17211C;
    --surface-2: #1F2B25;
    --trait: #33443B;
    --trait-fort: #7E9388;
    --encre: #E8F0EB;
    --encre-2: #AEBFB5;
    --primaire: #7FD6A5;
    --primaire-survol: #9BE3BA;
    --sur-primaire: #0B2417;
    --primaire-fond: #1C3A2B;
    --marque: #3B9C6B;
    --danger: #F2A3A3;
    --danger-fond: #3A1E1E;
    --avertissement: #F0CF7C;
    --avertissement-fond: #3A2F12;
    --focus: #7FD6A5;
    --ton-attente-fond: #22303D;
    --ton-attente-encre: #CBDCEC;
    --ton-attente-contour: #6F8BA6;
    --ton-disponible-fond: #1F4429;
    --ton-disponible-encre: #C4F0CA;
    --ton-disponible-contour: #5DB874;
    --ton-partiel-fond: #3A2F12;
    --ton-partiel-encre: #FBE7AE;
    --ton-partiel-contour: #BE9B3A;
    --ton-indisponible-fond: #4A2424;
    --ton-indisponible-encre: #F5CFCF;
    --ton-indisponible-contour: #C96D6D;
    --ton-action-fond: #1C3A2B;
    --ton-action-encre: #BDEFD3;
    --ton-action-contour: #7FD6A5;
    --ton-clos-fond: #29302C;
    --ton-clos-encre: #CDD5D0;
    --ton-clos-contour: #7E8983;
  }
}

:root[data-theme="dark"] {
  --fond: #0F1714;
  --surface: #17211C;
  --surface-2: #1F2B25;
  --trait: #33443B;
  --trait-fort: #7E9388;
  --encre: #E8F0EB;
  --encre-2: #AEBFB5;
  --primaire: #7FD6A5;
  --primaire-survol: #9BE3BA;
  --sur-primaire: #0B2417;
  --primaire-fond: #1C3A2B;
  --marque: #3B9C6B;
  --danger: #F2A3A3;
  --danger-fond: #3A1E1E;
  --avertissement: #F0CF7C;
  --avertissement-fond: #3A2F12;
  --focus: #7FD6A5;
  --ton-attente-fond: #22303D;
  --ton-attente-encre: #CBDCEC;
  --ton-attente-contour: #6F8BA6;
  --ton-disponible-fond: #1F4429;
  --ton-disponible-encre: #C4F0CA;
  --ton-disponible-contour: #5DB874;
  --ton-partiel-fond: #3A2F12;
  --ton-partiel-encre: #FBE7AE;
  --ton-partiel-contour: #BE9B3A;
  --ton-indisponible-fond: #4A2424;
  --ton-indisponible-encre: #F5CFCF;
  --ton-indisponible-contour: #C96D6D;
  --ton-action-fond: #1C3A2B;
  --ton-action-encre: #BDEFD3;
  --ton-action-contour: #7FD6A5;
  --ton-clos-fond: #29302C;
  --ton-clos-encre: #CDD5D0;
  --ton-clos-contour: #7E8983;
}
