/* Charte sémantique d'Anibal — FICHIER PRODUIT par tools/build_charte.py depuis commun/charte/charte.json.
   Ne pas modifier à la main : modifier la charte, relancer l'outil, puis tools/charte_test.py. */
:root, :root[data-theme="dark"] :is(.editor, .cover-preview, .light-sheet) {
  --niv-NC_MAJ: #a61b29; --on-niv-NC_MAJ: #ffffff; --niv-NC_MIN: #e66a1f; --on-niv-NC_MIN: #17202b;
  --niv-OBS: #f5b82e; --on-niv-OBS: #17202b; --niv-PA: #5aa9e6; --on-niv-PA: #17202b; --niv-PF: #5b4bc4;
  --on-niv-PF: #ffffff; --niv-CONFORME: #1f9d55; --on-niv-CONFORME: #17202b; --niv-NA: #8a94a6;
  --on-niv-NA: #17202b; --sev-critical: #760f72; --on-sev-critical: #ffffff; --sev-high: #c82d40;
  --on-sev-high: #ffffff; --sev-medium: #ec7c0e; --on-sev-medium: #17202b; --sev-low: #fed252;
  --on-sev-low: #17202b; --sev-info: #3786c3; --on-sev-info: #17202b; --prio-P1: #c82d40; --on-prio-P1: #ffffff;
  --prio-P2: #ec7c0e; --on-prio-P2: #17202b; --prio-P3: #fed252; --on-prio-P3: #17202b; --prio-P4: #3786c3;
  --on-prio-P4: #17202b; --st-a_venir: #aab6c4; --on-st-a_venir: #17202b; --st-a_faire: #5f6e80;
  --on-st-a_faire: #ffffff; --st-en_cours: #5aa9e6; --on-st-en_cours: #17202b; --st-en_revue: #6250d6;
  --on-st-en_revue: #ffffff; --st-bloque: #a61b29; --on-st-bloque: #ffffff; --st-termine: #16a34a;
  --on-st-termine: #17202b; --st-annule: #a8b3c0; --on-st-annule: #17202b; --st-decale: #ec7c0e;
  --on-st-decale: #17202b; --etat-bon: #1f9d55; --on-etat-bon: #17202b; --etat-attention: #fed252;
  --on-etat-attention: #17202b; --etat-serieux: #ec7c0e; --on-etat-serieux: #17202b; --etat-critique: #c82d40;
  --on-etat-critique: #ffffff; --mat-0: #79b4ff; --on-mat-0: #17202b; --mat-1: #5e9ae7; --on-mat-1: #17202b;
  --mat-2: #4682cc; --on-mat-2: #17202b; --mat-3: #2e69b2; --on-mat-3: #ffffff; --mat-4: #135298;
  --on-mat-4: #ffffff; --mat-5: #003b7a; --on-mat-5: #ffffff; --rk-faible: #1f9d55; --on-rk-faible: #17202b;
  --rk-modere: #fed252; --on-rk-modere: #17202b; --rk-eleve: #ec7c0e; --on-rk-eleve: #17202b;
  --rk-tres_eleve: #c82d40; --on-rk-tres_eleve: #ffffff; --rk-critique: #760f72; --on-rk-critique: #ffffff;
  --mat-indet: #b8c2ce; --mat-cible: #5f6e80; --mat-reserve: #a16207; --cat-1: #2a78d6; --cat-2: #eb6834;
  --cat-3: #1baf7a; --cat-4: #eda100; --cat-5: #e87ba4; --cat-6: #008300; --cat-7: #6250d6; --cat-8: #e34948;
  --cat-autre: #9aa6b4; --seq-1: #cde2fb; --seq-2: #9ec5f4; --seq-3: #6da7ec; --seq-4: #3987e5; --seq-5: #256abf;
  --seq-6: #184f95; --seq-7: #0d366b; --div-negatif: #c82d40; --div-milieu: #eef1f5; --div-positif: #2a78d6;
  --tbl-synthese: #1e3a5f; --tbl-reference: #475569; --tbl-exigences: #5b4bc4; --tbl-constats: #a61b29;
  --tbl-recommandations: #0f766e; --tbl-plan: #1d5fb4; --tbl-risques: #b45309; --tbl-inventaire: #0e7490;
  --ch-texte: #17202b; --ch-texte-2: #3b4a5c; --ch-discret: #5f6e80; --ch-grille: #e6ebf1; --ch-axe: #c3cdd8;
  --ch-fond-2: #f6f8fb; --ch-neutre: #e9eef4; --ch-surface: #ffffff;
}
:root[data-theme="dark"] {
  --niv-NC_MAJ: #d93a48; --on-niv-NC_MAJ: #ffffff; --niv-NC_MIN: #f68c11; --on-niv-NC_MIN: #17202b;
  --niv-OBS: #ffe066; --on-niv-OBS: #17202b; --niv-PA: #3987e5; --on-niv-PA: #17202b; --niv-PF: #c4b5fd;
  --on-niv-PF: #17202b; --niv-CONFORME: #34c77b; --on-niv-CONFORME: #17202b; --niv-NA: #94a3b8;
  --on-niv-NA: #17202b; --sev-critical: #c54ebe; --on-sev-critical: #17202b; --sev-high: #e94e5a;
  --on-sev-high: #17202b; --sev-medium: #f68c11; --on-sev-medium: #17202b; --sev-low: #fed252;
  --on-sev-low: #17202b; --sev-info: #58a5e4; --on-sev-info: #17202b; --prio-P1: #e94e5a; --on-prio-P1: #17202b;
  --prio-P2: #f68c11; --on-prio-P2: #17202b; --prio-P3: #fed252; --on-prio-P3: #17202b; --prio-P4: #58a5e4;
  --on-prio-P4: #17202b; --st-a_venir: #4b5a6e; --on-st-a_venir: #ffffff; --st-a_faire: #a3b1c4;
  --on-st-a_faire: #17202b; --st-en_cours: #3987e5; --on-st-en_cours: #17202b; --st-en_revue: #c4b5fd;
  --on-st-en_revue: #17202b; --st-bloque: #d93a48; --on-st-bloque: #ffffff; --st-termine: #34c77b;
  --on-st-termine: #17202b; --st-annule: #6b7a8f; --on-st-annule: #ffffff; --st-decale: #f68c11;
  --on-st-decale: #17202b; --etat-bon: #34c77b; --on-etat-bon: #17202b; --etat-attention: #ffe066;
  --on-etat-attention: #17202b; --etat-serieux: #f68c11; --on-etat-serieux: #17202b; --etat-critique: #e94e5a;
  --on-etat-critique: #17202b; --mat-0: #2863ab; --on-mat-0: #ffffff; --mat-1: #407bc5; --on-mat-1: #ffffff;
  --mat-2: #5894e0; --on-mat-2: #17202b; --mat-3: #70adfb; --on-mat-3: #17202b; --mat-4: #9dc7fe;
  --on-mat-4: #17202b; --mat-5: #cbe0fc; --on-mat-5: #17202b; --rk-faible: #34c77b; --on-rk-faible: #17202b;
  --rk-modere: #ffe066; --on-rk-modere: #17202b; --rk-eleve: #f68c11; --on-rk-eleve: #17202b;
  --rk-tres_eleve: #e94e5a; --on-rk-tres_eleve: #17202b; --rk-critique: #c54ebe; --on-rk-critique: #17202b;
  --mat-indet: #4b5a6e; --mat-cible: #c1ccd9; --mat-reserve: #facc15; --cat-1: #3987e5; --cat-2: #d95926;
  --cat-3: #199e70; --cat-4: #c98500; --cat-5: #d55181; --cat-6: #008300; --cat-7: #9085e9; --cat-8: #e66767;
  --cat-autre: #5f718a; --seq-1: #16263a; --seq-2: #184f95; --seq-3: #256abf; --seq-4: #3987e5; --seq-5: #6da7ec;
  --seq-6: #9ec5f4; --seq-7: #cde2fb; --div-negatif: #e94e5a; --div-milieu: #2a3a50; --div-positif: #3987e5;
  --tbl-synthese: #7fa6d6; --tbl-reference: #9aa9bd; --tbl-exigences: #a99cf2; --tbl-constats: #f0707a;
  --tbl-recommandations: #2dd4bf; --tbl-plan: #62a8f0; --tbl-risques: #f59e0b; --tbl-inventaire: #38bdf8;
  --ch-texte: #e6edf5; --ch-texte-2: #c1ccd9; --ch-discret: #94a3b8; --ch-grille: #22324a; --ch-axe: #3b4d66;
  --ch-fond-2: #172334; --ch-neutre: #263447; --ch-surface: #121c2b;
}
