@charset "UTF-8";
/* Bureau présidentiel — style.css autonome (variables + polices + composants).
   Généré depuis le design system : tokens.json + components/bundle.css.
   Polices attendues dans ../fonts/ (relatif à ce fichier). Licences : SIL OFL 1.1, voir licences/. */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/IBMPlexSerif-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/IBMPlexSerif-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/IBMPlexSerif-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/IBMPlexSerif-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-VF.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nothing You Could Do"; src: url("../fonts/NothingYouCouldDo-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Variables ---------- */
:root, [data-theme="papier"] {
  --papier: #f4efe4;
  --papier-clair: #fbf8f1;
  --papier-ombre: #ece4d3;
  --chemise: #ead9b2;
  --chemise-bord: #cdb582;
  --post-it: #f6e7b0;
  --encre: #1f2430;
  --encre-douce: #4d4a42;
  --filet: #d8cfbd;
  --filet-fort: #7f7565;
  --bleu-nation: #24408e;
  --sur-bleu: #fbf8f1;
  --rouge-tricolore: #b3302a;
  --blanc-tricolore: #fbf8f1;
  --vert-resultat: #1e6650;
  --vert-resultat-fond: #dcebdf;
  --rouge-resultat: #a3241c;
  --rouge-resultat-fond: #f5dcd6;
  --ambre-alerte: #7a4e00;
  --ambre-alerte-fond: #f3e2b6;
  --focus: #2347b5;
  --voile: rgba(31, 36, 48, 0.55);
  --grp-lfi: #ae5e46;
  --grp-gdr: #ae5a66;
  --grp-eco: #458951;
  --grp-soc: #a45b86;
  --grp-liot: #817a1d;
  --grp-pres: #108986;
  --grp-central: #9d6d1c;
  --grp-dr: #2c7fb1;
  --grp-rn: #6970b7;
  --grp-ni: #777777;
  --ombre-feuille: 0 1px 0 rgba(60, 45, 20, 0.06), 0 2px 6px rgba(60, 45, 20, 0.10);
  --ombre-souleve: 0 2px 0 rgba(60, 45, 20, 0.06), 0 10px 20px rgba(60, 45, 20, 0.16);
  --ombre-chemise: 0 1px 0 rgba(60, 45, 20, 0.12), 0 4px 12px rgba(60, 45, 20, 0.10);
  --ombre-modale: 0 24px 60px rgba(20, 20, 30, 0.35);
}
:root {
  --esp-1: 4px;
  --esp-2: 8px;
  --esp-3: 12px;
  --esp-4: 16px;
  --esp-5: 24px;
  --esp-6: 32px;
  --esp-7: 48px;
  --esp-8: 72px;
  --rayon-feuille: 2px;
  --rayon-controle: 4px;
  --rayon-onglet: 8px;
  --rayon-siege: 50%;
  --largeur-page: 1200px;
  --largeur-lecture: 68ch;
  --largeur-modale: 760px;
  --font-texte: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-interface: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-cote: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --font-main: "Nothing You Could Do", "Segoe Print", cursive;
}

/* ==========================================================================
   Bureau présidentiel — feuille de style du simulateur 2027-2032
   Reprend les classes existantes du jeu. Toutes les valeurs (couleurs,
   tailles, espacements, rayons, ombres) viennent des variables de tokens.json.
   Aucune ressource externe : polices hébergées dans fonts/, textures en SVG inline.
   ========================================================================== */

/* ---------- 0. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--papier);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: 17px;
  line-height: 27px;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-texte); color: var(--encre); margin: 0 0 var(--esp-3); text-wrap: balance; }
h1 { font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 30px; font-weight: 700; }
h3, h4 { font-size: 19px; line-height: 25px; font-weight: 700; }
p { margin: 0 0 var(--esp-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--bleu-nation); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.petit { font-family: var(--font-interface); font-size: 15px; line-height: 21px; color: var(--encre-douce); }
.chapo { font-size: 20px; line-height: 31px; max-width: var(--largeur-lecture); }

/* Utilitaire : texte réservé aux lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 1. Mise en page ---------- */
.bureau { max-width: var(--largeur-page); margin: 0 auto; padding: var(--esp-6) var(--esp-6) var(--esp-8); }

.colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--esp-6);
  align-items: start;
}
.colonnes > * { min-width: 0; }

/* Liseré tricolore : la seule touche tricolore, 3 px, décorative */
.lisere {
  height: 3px;
  background: linear-gradient(90deg, var(--bleu-nation) 0 33.33%, var(--blanc-tricolore) 33.33% 66.66%, var(--rouge-tricolore) 66.66% 100%);
  border: 0;
  margin: 0;
}

/* En-tête de semestre */
.entete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--esp-4) var(--esp-6); padding: var(--esp-5) 0 var(--esp-5); border-bottom: 1px solid var(--filet); margin-bottom: var(--esp-6); }
.entete h1 { margin: 0; }
.entete h1 .petit { display: block; margin-top: var(--esp-1); font-size: 17px; font-weight: 400; }
.surtitre, .etiquette { font-family: var(--font-interface); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); margin: 0 0 var(--esp-2); }
.cote { font-family: var(--font-cote); font-size: 14px; line-height: 18px; letter-spacing: 0.02em; color: var(--encre-douce); }

/* Frise des 10 semestres */
.frise { display: flex; gap: 3px; list-style: none; margin: var(--esp-2) 0 0; padding: 0; }
.frise li { width: 22px; height: 8px; border: 1px solid var(--filet-fort); border-radius: 1px; background: transparent; }
.frise li.fait { background: var(--encre-douce); border-color: var(--encre-douce); }
.frise li.actuel { background: var(--bleu-nation); border-color: var(--bleu-nation); height: 12px; margin-top: -2px; }

/* ---------- 2. Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--esp-2);
  min-height: 46px; padding: 11px 22px;
  font-family: var(--font-interface); font-size: 17px; line-height: 20px; font-weight: 650;
  color: var(--sur-bleu); background: var(--bleu-nation);
  border: 2px solid var(--bleu-nation); border-radius: var(--rayon-controle);
  box-shadow: 0 2px 0 rgba(20, 30, 70, 0.35);
  cursor: pointer; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 rgba(20, 30, 70, 0.35); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(20, 30, 70, 0.35); }

.btn.discret { color: var(--encre); background: transparent; border: 1.5px solid var(--filet-fort); box-shadow: none; font-weight: 600; }
.btn.discret:hover { background: var(--papier-ombre); }

/* Bouton à risque (49.3, dissolution) : contour rouge, se remplit au survol */
.btn.rouge { color: var(--rouge-resultat); background: var(--papier-clair); border-color: var(--rouge-resultat); box-shadow: 0 2px 0 rgba(120, 20, 15, 0.25); }
.btn.rouge:hover { color: var(--papier-clair); background: var(--rouge-resultat); }

.btn:disabled, .btn[aria-disabled="true"] { color: var(--encre-douce); background: var(--papier-ombre); border-color: var(--filet-fort); box-shadow: none; transform: none; cursor: not-allowed; }

.lien {
  display: inline; padding: 0; margin: 0; background: none; border: 0;
  font-family: var(--font-interface); font-size: 15px; line-height: 21px; font-weight: 600;
  color: var(--bleu-nation); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  cursor: pointer;
}
.lien:hover { text-decoration-thickness: 2px; }

/* ---------- 3. Dossiers (chemises à onglet) ---------- */
.dossier {
  position: relative;
  margin: calc(var(--esp-7) + 18px) 0 0;
  padding: var(--esp-6);
  background-color: var(--chemise);
  border: 1px solid var(--chemise-bord);
  border-radius: 0 var(--rayon-onglet) var(--rayon-feuille) var(--rayon-feuille);
  box-shadow: var(--ombre-chemise);
}
.dossier::before {
  content: attr(data-onglet);
  position: absolute; left: -1px; bottom: calc(100% - 1px);
  max-width: calc(100% - 48px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 9px 22px 7px;
  font-family: var(--font-interface); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--encre);
  background-color: var(--chemise);
  border: 1px solid var(--chemise-bord); border-bottom: 0;
  border-radius: var(--rayon-onglet) var(--rayon-onglet) 0 0;
}
/* Pli du carton, en haut de la chemise */
.dossier::after {
  content: ""; position: absolute; left: var(--esp-6); right: var(--esp-6); top: 10px;
  border-top: 1px solid var(--chemise-bord); opacity: 0.7; pointer-events: none;
}
.dossier > h2, .dossier > h3 { margin-top: var(--esp-2); }
.dossier > p { max-width: var(--largeur-lecture); }
.dossier .cote { position: absolute; top: 18px; right: var(--esp-6); }

.actions-dossier { display: flex; flex-wrap: wrap; gap: var(--esp-3); margin-top: var(--esp-5); padding-top: var(--esp-4); border-top: 1px dashed var(--chemise-bord); }

/* Dossier écarté ou reporté : la chemise se referme visuellement */
.dossier.ecarte, .dossier.reporte { padding-block: var(--esp-4); }
.dossier.ecarte .options, .dossier.reporte .options { display: none; }

/* ---------- 4. Cartes de mesures ---------- */
.options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--esp-5) var(--esp-4);
  margin-top: var(--esp-5);
}

.option {
  position: relative;
  display: flex; flex-direction: column; gap: var(--esp-3);
  width: 100%; margin: 0; padding: var(--esp-5);
  text-align: left; font: inherit; color: var(--encre);
  background-color: var(--papier-clair);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-feuille);
  box-shadow: var(--ombre-feuille);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.option h3, .option h4 { margin: 0; font-size: 19px; line-height: 25px; }
.option p { margin: 0; }

.option:hover { transform: translateY(-3px); box-shadow: var(--ombre-souleve); }

.option.choisie, .option[aria-pressed="true"] {
  border: 2px solid var(--bleu-nation);
  padding: calc(var(--esp-5) - 1px);
  box-shadow: var(--ombre-souleve);
  transform: translateY(-3px);
}
.option.choisie::after, .option[aria-pressed="true"]::after {
  content: "✓ Retenue";
  position: absolute; top: -13px; right: var(--esp-4);
  padding: 4px 10px;
  font-family: var(--font-interface); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sur-bleu); background-color: var(--bleu-nation);
  border-radius: var(--rayon-controle);
  animation: retenue 0.22s ease-out;
}

/* Structure accessible conseillée : <article class="option"><h3><button class="choisir" aria-pressed="false">Titre</button></h3>…
   Le bouton couvre toute la carte (::after) ; le lien « Sources et détails » reste cliquable au-dessus. */
.option .choisir {
  margin: 0; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: inherit; cursor: pointer;
}
.option .choisir::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.option .choisir:focus-visible { outline: none; }
.option:has(.choisir:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.option .lien, .option a { position: relative; z-index: 1; }
.option:has(.choisir[aria-pressed="true"]) { border: 2px solid var(--bleu-nation); padding: calc(var(--esp-5) - 1px); box-shadow: var(--ombre-souleve); transform: translateY(-3px); }
.option:has(.choisir[aria-pressed="true"])::after {
  content: "✓ Retenue"; position: absolute; top: -13px; right: var(--esp-4); padding: 4px 10px;
  font-family: var(--font-interface); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sur-bleu); background-color: var(--bleu-nation); border-radius: var(--rayon-controle);
}
.option:has(.choisir:disabled) { color: var(--encre-douce); background-color: var(--papier-ombre); border-style: dashed; box-shadow: none; transform: none; }
.option .choisir:disabled { cursor: not-allowed; }

.option.indisponible, .option[aria-disabled="true"], .option:disabled {
  color: var(--encre-douce);
  background-color: var(--papier-ombre);
  border-style: dashed;
  box-shadow: none; transform: none;
  cursor: not-allowed;
}

.objectif {
  padding-top: var(--esp-3);
  border-top: 1px dashed var(--filet);
  font-style: italic; color: var(--encre-douce);
}
.objectif strong, .objectif b { font-style: normal; font-family: var(--font-interface); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; line-height: 18px; display: block; margin-bottom: 4px; }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--esp-2) var(--esp-3);
  margin-top: auto; padding-top: var(--esp-2);
  font-family: var(--font-interface); font-size: 15px; line-height: 21px; color: var(--encre-douce);
}

/* Niveau de preuve : la forme et le mot portent l'information, pas la couleur */
.preuve {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px;
  font-family: var(--font-interface); font-size: 14px; line-height: 18px; font-weight: 650;
  color: var(--encre); background: transparent;
  border: 1.5px solid var(--encre); border-radius: var(--rayon-controle);
  white-space: nowrap;
}
.preuve::before { font-size: 12px; line-height: 1; font-family: "Segoe UI Symbol", "DejaVu Sans", "Apple Symbols", sans-serif; }
.preuve.solide { color: var(--papier-clair); background-color: var(--encre); }
.preuve.solide::before { content: "●"; content: "●" / ""; }
.preuve.disputée::before { content: "◐"; content: "◐" / ""; }
.preuve.extrapolation { border-style: dashed; }
.preuve.extrapolation::before { content: "○"; content: "○" / ""; }

/* ---------- 5. Signatures et barre d'action ---------- */
.barre-signature {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--esp-3) var(--esp-5);
  margin-top: var(--esp-7); padding: var(--esp-4) var(--esp-5);
  background-color: var(--papier-clair);
  border-top: 1px solid var(--filet-fort);
  box-shadow: 0 -6px 16px rgba(60, 45, 20, 0.08);
}
.compteur { display: inline-flex; align-items: center; gap: var(--esp-3); font-family: var(--font-interface); font-size: 17px; font-weight: 600; }
.compteur .emplacements { display: inline-flex; gap: 6px; }
.compteur .emplacements span { width: 30px; height: 30px; border: 1.5px dashed var(--filet-fort); border-radius: var(--rayon-controle); display: grid; place-items: center; font-family: var(--font-main); font-size: 18px; color: var(--bleu-nation); }
.compteur .emplacements span.signe { border-style: solid; border-color: var(--bleu-nation); }

/* ---------- 6. Notes des conseillers ---------- */
.note {
  position: relative;
  padding: var(--esp-5) var(--esp-5) var(--esp-4);
  margin: var(--esp-2) 0 var(--esp-5);
  background-color: var(--post-it);
  border-radius: var(--rayon-feuille);
  box-shadow: var(--ombre-feuille);
  transform: rotate(-0.6deg);
  font-size: 17px; line-height: 26px;
}
.note:nth-of-type(even) { transform: rotate(0.5deg); }
/* Bout de ruban adhésif */
.note::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 72px; height: 18px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(251, 248, 241, 0.65);
  border: 1px solid rgba(127, 117, 101, 0.25);
}
.note .de {
  margin: var(--esp-2) 0 0; text-align: right;
  font-family: var(--font-main); font-size: 24px; line-height: 26px; color: var(--encre);
}
.note a { font-family: var(--font-interface); font-size: 15px; font-weight: 600; }

/* ---------- 7. Tableau de bord et indicateurs ---------- */
.tableau-bord {
  padding: var(--esp-5);
  background-color: var(--papier-clair);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-feuille);
  box-shadow: var(--ombre-feuille);
}
.tableau-bord > h2 { margin-bottom: var(--esp-2); }

.indic {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--esp-1) var(--esp-3);
  padding: var(--esp-3) 0;
  border-bottom: 1px solid var(--filet);
  font-family: var(--font-interface);
}
.indic:last-of-type { border-bottom: 0; }
.indic > :first-child { grid-column: 1 / -1; margin: 0; font-size: 17px; line-height: 23px; font-weight: 500; color: var(--encre); }
.indic .libelle { font-size: 15px; line-height: 21px; color: var(--encre-douce); }

.chiffre {
  font-family: var(--font-interface); font-size: 26px; line-height: 30px; font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums; color: var(--encre);
  margin-right: var(--esp-1);
}
.tableau-bord .chiffre { font-size: 22px; line-height: 26px; }

/* La flèche dit le sens du chiffre ; le mot ajouté dit si c'est mieux ou pire */
.tendance { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-interface); font-size: 15px; line-height: 21px; font-weight: 700; color: var(--encre-douce); white-space: nowrap; }
.tendance.mieux { color: var(--vert-resultat); }
.tendance.pire { color: var(--rouge-resultat); }
.tendance.mieux::after { content: "· mieux"; font-weight: 600; }
.tendance.pire::after { content: "· pire"; font-weight: 600; }

/* ---------- 8. Hémicycle ---------- */
.hemicycle { margin: 0; }
.hemicycle svg { display: block; width: 100%; height: auto; overflow: visible; }
.hemicycle .siege { stroke: var(--papier-clair); stroke-width: 0.6; }
.hemicycle .arc-allies { fill: none; stroke: var(--encre); stroke-width: 3; stroke-linecap: round; }
.hemicycle .libelle-allies { font-family: var(--font-interface); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; fill: var(--encre); text-transform: uppercase; }
.hemicycle .total { font-family: var(--font-interface); font-weight: 700; fill: var(--encre); }
.hemicycle .sous-total { font-family: var(--font-interface); fill: var(--encre-douce); }
.hemicycle figcaption { margin-top: var(--esp-3); }
.hemicycle.compact .siege { stroke-width: 0.4; }

/* Couleurs des groupes : SVG (fill) et pastilles HTML (background) */
.g-lfi { fill: var(--grp-lfi); background-color: var(--grp-lfi); }
.g-gdr { fill: var(--grp-gdr); background-color: var(--grp-gdr); }
.g-eco { fill: var(--grp-eco); background-color: var(--grp-eco); }
.g-soc { fill: var(--grp-soc); background-color: var(--grp-soc); }
.g-liot { fill: var(--grp-liot); background-color: var(--grp-liot); }
.g-pres { fill: var(--grp-pres); background-color: var(--grp-pres); }
.g-central { fill: var(--grp-central); background-color: var(--grp-central); }
.g-dr { fill: var(--grp-dr); background-color: var(--grp-dr); }
.g-rn { fill: var(--grp-rn); background-color: var(--grp-rn); }
.g-ni { fill: var(--grp-ni); background-color: var(--grp-ni); }

.legende {
  display: flex; flex-wrap: wrap; gap: var(--esp-2) var(--esp-4);
  margin: var(--esp-3) 0 0; padding: 0; list-style: none;
  font-family: var(--font-interface); font-size: 15px; line-height: 21px; color: var(--encre);
}
.legende li { display: inline-flex; align-items: center; gap: 6px; }
.legende .pastille { width: 12px; height: 12px; border-radius: var(--rayon-siege); flex: none; }
.legende .nb { color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.legende .allie .nom { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Jauge de majorité : sièges alliés empilés jusqu'au seuil */
.jauge { margin-top: var(--esp-4); font-family: var(--font-interface); }
.jauge .piste { position: relative; display: flex; height: 16px; background: var(--papier-ombre); border: 1px solid var(--filet-fort); border-radius: 1px; }
.jauge .piste span { height: 100%; }
.jauge .piste span + span { box-shadow: inset 1px 0 0 var(--papier-clair); }
.jauge .seuil { position: absolute; font-style: normal; top: -6px; bottom: -6px; width: 0; border-left: 2px solid var(--encre); }
.jauge .seuil::after { content: attr(data-libelle); position: absolute; top: -20px; left: 0; transform: translateX(-50%); font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--encre); }
.jauge p { margin: var(--esp-2) 0 0; font-size: 15px; line-height: 21px; color: var(--encre-douce); }
.jauge p strong { color: var(--encre); }

/* ---------- 9. Tampons ---------- */
.tampon {
  display: inline-block;
  padding: 6px 14px 5px;
  font-family: var(--font-interface); font-size: 20px; line-height: 22px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--encre);
  border: 4px double currentColor;
  border-radius: var(--rayon-controle);
  transform: rotate(-6deg);
  mix-blend-mode: multiply;
  opacity: 0.94;
  /* Encre irrégulière : bruit SVG inline (aucune ressource externe) */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.1 0 0 0 1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.1 0 0 0 1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: apposer 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.tampon.vert { color: var(--vert-resultat); }
.tampon.rouge { color: var(--rouge-resultat); }
.tampon.bleu { color: var(--bleu-nation); }
.tampon.grand { font-size: 32px; line-height: 34px; padding: 10px 22px 8px; border-width: 6px; }

/* ---------- 10. Vote au Parlement ---------- */
table { width: 100%; border-collapse: collapse; font-family: var(--font-interface); font-size: 16px; line-height: 22px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding-bottom: var(--esp-2); font-family: var(--font-interface); font-size: 15px; color: var(--encre-douce); }
th { text-align: left; padding: var(--esp-2) var(--esp-3); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); border-bottom: 2px solid var(--encre); }
td { padding: var(--esp-2) var(--esp-3); border-bottom: 1px solid var(--filet); vertical-align: baseline; }
tbody tr:nth-child(even) td { background-color: rgba(236, 228, 211, 0.45); }
td.nombre, th.nombre { text-align: right; }
tfoot td { font-weight: 700; border-top: 2px solid var(--encre); border-bottom: 0; }

.vote .groupe { display: inline-flex; align-items: center; gap: var(--esp-2); }
.vote .groupe .pastille { width: 12px; height: 12px; border-radius: var(--rayon-siege); flex: none; }

/* Positions de vote : symbole + mot, sans code couleur politique */
.pos-p, .pos-c, .pos-a { font-weight: 650; white-space: nowrap; }
.pos-p::before { content: "✓ "; content: "✓ " / ""; }
.pos-c::before { content: "✕ "; content: "✕ " / ""; }
.pos-a { color: var(--encre-douce); font-weight: 500; }
.pos-a::before { content: "– "; content: "– " / ""; }

.projet-loi { position: relative; padding: var(--esp-6); background-color: var(--papier-clair); border: 1px solid var(--filet); border-radius: var(--rayon-feuille); box-shadow: var(--ombre-feuille); }
.projet-loi .tampon { display: inline-block; margin: 0 0 var(--esp-4); }
.choix { display: flex; flex-wrap: wrap; gap: var(--esp-3); margin-top: var(--esp-5); }

/* ---------- 11. Encarts ---------- */
.encart {
  padding: var(--esp-5);
  background-color: var(--papier-clair);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-feuille);
  max-width: var(--largeur-lecture);
}
.encart > :first-child { margin-top: 0; }
.encart.alerte {
  position: relative;
  max-width: none;
  padding-top: calc(var(--esp-5) + 10px);
  color: var(--encre);
  background-color: var(--ambre-alerte-fond);
  border: 2px solid var(--ambre-alerte);
  overflow: hidden;
}
/* Bande hachurée « urgent » en haut de l'encart */
.encart.alerte::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--ambre-alerte) 0 10px, transparent 10px 20px);
}
.encart.alerte h2, .encart.alerte h3 { color: var(--encre); }
.encart.alerte .surtitre { color: var(--ambre-alerte); }

/* ---------- 12. Sources ---------- */
.sources { list-style: none; margin: var(--esp-3) 0 0; padding: 0; font-family: var(--font-interface); font-size: 15px; line-height: 21px; }
.sources li { padding: var(--esp-2) 0; border-bottom: 1px solid var(--filet); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--esp-1) var(--esp-3); }
.sources li:last-child { border-bottom: 0; }
.sources .sensibilite { padding: 1px 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--encre-douce); border: 1px solid var(--filet-fort); border-radius: var(--rayon-controle); white-space: nowrap; }

/* ---------- 13. Réglages (accueil) ---------- */
.reglages { display: grid; gap: var(--esp-5); margin: var(--esp-6) 0; }
.reglages fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.reglages legend { padding: 0; margin-bottom: var(--esp-2); font-family: var(--font-interface); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); }
.reglages .choix-reglage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--esp-3); }
.reglages label {
  display: grid; grid-template-columns: auto 1fr; gap: 2px var(--esp-3); align-items: start;
  padding: var(--esp-4); cursor: pointer;
  background-color: var(--papier-clair);
  border: 1.5px solid var(--filet-fort); border-radius: var(--rayon-feuille);
  font-family: var(--font-interface); font-size: 17px; line-height: 23px; font-weight: 650;
}
.reglages label .petit { grid-column: 2; font-weight: 400; }
.reglages input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bleu-nation); }
.reglages label:has(input:checked) { border: 2px solid var(--bleu-nation); padding: calc(var(--esp-4) - 0.5px); box-shadow: var(--ombre-feuille); }
.reglages label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- 14. Bilan final ---------- */
.bilan td.mieux { color: var(--vert-resultat); background-color: var(--vert-resultat-fond); font-weight: 700; }
.bilan td.pire { color: var(--rouge-resultat); background-color: var(--rouge-resultat-fond); font-weight: 700; }
.bilan td.mieux::after { content: " ▲"; content: " ▲" / ""; font-size: 11px; }
.bilan td.pire::after { content: " ▼"; content: " ▼" / ""; font-size: 11px; }
.bilan tbody td:last-child { font-weight: 700; }

.graph {
  padding: var(--esp-4) var(--esp-4) var(--esp-3);
  background-color: var(--papier-clair);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-feuille);
}
.graph h3, .graph h4 { font-family: var(--font-interface); font-size: 15px; line-height: 20px; margin-bottom: var(--esp-2); }
.graph svg { display: block; width: 100%; height: auto; overflow: visible; }
.graph .axe { stroke: var(--filet-fort); stroke-width: 1; }
.graph .grille { stroke: var(--filet); stroke-width: 1; }
.graph .serie { fill: none; stroke: var(--bleu-nation); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.graph .reference { fill: none; stroke: var(--encre-douce); stroke-width: 1.5; stroke-dasharray: 5 4; }
.graph .point { fill: var(--bleu-nation); stroke: var(--papier-clair); stroke-width: 2; }
.graph text { font-family: var(--font-interface); font-size: 12px; fill: var(--encre-douce); }
.graph .valeur { font-size: 13px; font-weight: 700; fill: var(--encre); }

.mesure-bilan {
  display: grid; grid-template-columns: 1fr auto; gap: var(--esp-1) var(--esp-4); align-items: baseline;
  padding: var(--esp-4) 0; border-bottom: 1px solid var(--filet);
}
.mesure-bilan h3, .mesure-bilan h4 { margin: 0; font-size: 18px; line-height: 24px; }
.mesure-bilan .verdict { grid-column: 1 / -1; font-family: var(--font-interface); font-size: 15px; line-height: 21px; color: var(--encre-douce); }
.mesure-bilan .verdict::before { content: "◆ "; content: "◆ " / ""; color: var(--encre); }
.mesure-bilan .verdict.critiques::before { content: "◇ "; content: "◇ " / ""; }
.mesure-bilan .etiquettes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: var(--esp-1) 0 0; padding: 0; list-style: none; }
.mesure-bilan .etiquettes li { padding: 2px 10px; font-family: var(--font-interface); font-size: 14px; line-height: 20px; font-weight: 600; border: 1px solid var(--filet-fort); border-radius: var(--rayon-controle); background: var(--papier-clair); animation: devoiler 0.4s ease-out both; }
.mesure-bilan .etiquettes li:nth-child(2) { animation-delay: 0.06s; }
.mesure-bilan .etiquettes li:nth-child(3) { animation-delay: 0.12s; }
.mesure-bilan .etiquettes li:nth-child(n+4) { animation-delay: 0.18s; }

/* La révélation : un pli confidentiel qu'on déplie */
.revelation {
  position: relative;
  padding: var(--esp-8) var(--esp-6) var(--esp-7);
  margin: var(--esp-7) 0;
  text-align: center;
  background-color: var(--papier-clair);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon-feuille);
  box-shadow: var(--ombre-souleve);
  animation: deplier 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.revelation::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--bleu-nation) 0 33.33%, var(--blanc-tricolore) 33.33% 66.66%, var(--rouge-tricolore) 66.66% 100%); border-bottom: 1px solid var(--filet); }
.revelation .surtitre { margin-bottom: var(--esp-4); }
.revelation .pct { display: block; margin: var(--esp-3) 0; font-family: var(--font-texte); font-size: 96px; line-height: 96px; font-weight: 700; letter-spacing: -0.02em; color: var(--encre); font-variant-numeric: lining-nums; }
.revelation .phrase-revelation { font-size: 22px; line-height: 32px; max-width: 32ch; margin: 0 auto; }
.revelation .phrase-revelation strong { display: block; margin-top: var(--esp-2); font-size: 30px; line-height: 38px; }
.revelation .tampon { position: absolute; top: var(--esp-6); right: var(--esp-6); animation-delay: 0.6s; }

.classement { list-style: none; margin: var(--esp-4) 0 0; padding: 0; }
.candidat {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr 4.5rem;
  grid-template-areas: "nom barre pct" ". detail detail";
  align-items: center; gap: 2px var(--esp-4);
  padding: var(--esp-3) 0;
  border-bottom: 1px solid var(--filet);
  font-family: var(--font-interface);
}
.candidat .nom { grid-area: nom; font-size: 17px; line-height: 22px; font-weight: 650; }
.candidat .barre-pct { grid-area: barre; }
.candidat .valeur { grid-area: pct; text-align: right; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.candidat .detail { grid-area: detail; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.candidat.premier .nom, .candidat.premier .valeur { font-size: 19px; }
.candidat.premier .barre-pct { height: 18px; }

.barre-pct {
  position: relative; display: block; height: 14px;
  background-color: var(--papier-ombre);
  border: 1px solid var(--filet-fort); border-radius: 1px;
  overflow: hidden;
}
.barre-pct > span, .barre-pct > i {
  display: block; height: 100%; width: var(--pct, 0%);
  background-color: var(--encre);
  transform-origin: left center;
  animation: remplir 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
/* Profil peu documenté : barre hachurée, et la mention en toutes lettres */
.candidat.peu-documente .barre-pct > span, .candidat.peu-documente .barre-pct > i {
  background: repeating-linear-gradient(-45deg, var(--encre-douce) 0 4px, transparent 4px 8px);
}

/* ---------- 15. Modale ---------- */
.modale {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: var(--esp-5);
  background-color: var(--voile);
  overflow-y: auto;
  animation: voile 0.2s ease-out both;
}
.modale[hidden] { display: none; }
.feuille {
  position: relative;
  width: 100%; max-width: var(--largeur-modale); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: var(--esp-6) var(--esp-6) var(--esp-7);
  background-color: var(--papier-clair);
  border-radius: var(--rayon-feuille);
  box-shadow: var(--ombre-modale);
  animation: poser 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.feuille > p, .feuille > ul, .feuille > ol { max-width: var(--largeur-lecture); }
.feuille .fermer { position: sticky; top: 0; float: right; margin: calc(-1 * var(--esp-3)) calc(-1 * var(--esp-3)) 0 var(--esp-3); }
.feuille table { margin: var(--esp-4) 0 var(--esp-5); }

/* ---------- 16. Animations ---------- */
@keyframes apposer { 0% { opacity: 0; transform: rotate(-6deg) scale(1.7); } 60% { opacity: 0.94; transform: rotate(-6deg) scale(0.96); } 100% { opacity: 0.94; transform: rotate(-6deg) scale(1); } }
@keyframes retenue { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes deplier { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(12px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes devoiler { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes voile { from { opacity: 0; } to { opacity: 1; } }
@keyframes poser { from { opacity: 0; transform: translateY(16px) rotate(-0.4deg); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .option:hover, .option.choisie, .option[aria-pressed="true"], .option:has(.choisir[aria-pressed="true"]), .btn:hover { transform: none; }
}

/* ---------- 17. Mobile (≥ 360 px) ---------- */
@media (max-width: 600px) {
  body { font-size: 17px; }
  h1 { font-size: 30px; line-height: 36px; }
  .bureau { padding: var(--esp-4) var(--esp-4) var(--esp-7); }
  .colonnes { gap: var(--esp-5); }
  .dossier { padding: var(--esp-5) var(--esp-4); margin-top: calc(var(--esp-6) + 18px); }
  .dossier::before { padding: 8px 14px 6px; font-size: 12px; }
  .dossier .cote { display: none; }
  .option { padding: var(--esp-4); }
  .option.choisie, .option[aria-pressed="true"], .option:has(.choisir[aria-pressed="true"]) { padding: calc(var(--esp-4) - 1px); }
  .barre-signature { padding: var(--esp-3) var(--esp-4); }
  .barre-signature .btn { flex: 1 1 100%; }
  .actions-dossier .btn { flex: 1 1 auto; }
  .tampon.grand { font-size: 24px; line-height: 26px; }
  .revelation { padding: var(--esp-7) var(--esp-4) var(--esp-6); }
  .revelation .pct { font-size: 64px; line-height: 68px; }
  .revelation .phrase-revelation strong { font-size: 24px; line-height: 30px; }
  .revelation .tampon { position: static; margin-bottom: var(--esp-4); }
  .candidat { grid-template-columns: 1fr 4rem; grid-template-areas: "nom pct" "barre barre" "detail detail"; }
  .modale { padding: var(--esp-2); align-items: end; }
  .feuille { padding: var(--esp-5) var(--esp-4) var(--esp-6); max-height: calc(100dvh - 16px); }
  .projet-loi { padding: var(--esp-5) var(--esp-4); }
  .projet-loi .tampon { float: none; display: inline-block; margin: 0 0 var(--esp-3); }
  table { font-size: 15px; }
  td, th { padding: var(--esp-2); }
  .table-defile { overflow-x: auto; }
}

/* ---------- 18. Impression (bilan) ---------- */
@media print {
  body { background: #fff; }
  .barre-signature, .btn, .modale { display: none !important; }
  .dossier, .option, .note, .tableau-bord, .revelation { box-shadow: none; }
}

/* ==========================================================================
   19. Intégration au jeu (classes propres à index.html et js/ui.js)
   ========================================================================== */
.bandeau { display: flex; justify-content: space-between; align-items: center; gap: var(--esp-4); max-width: var(--largeur-page); margin: 0 auto; padding: var(--esp-3) var(--esp-6); border-bottom: 1px solid var(--filet); }
.marque { font-family: var(--font-texte); font-size: 17px; font-weight: 700; color: var(--encre); }
.marque span { font-family: var(--font-cote); font-size: 14px; font-weight: 400; color: var(--encre-douce); margin-left: var(--esp-2); }
.pied { max-width: var(--largeur-page); margin: 0 auto; padding: var(--esp-5) var(--esp-6) var(--esp-6); border-top: 1px solid var(--filet); font-family: var(--font-interface); font-size: 15px; line-height: 21px; color: var(--encre-douce); }

.accueil { max-width: 820px; padding-top: var(--esp-6); }
.accueil h1 { margin-bottom: var(--esp-4); }
.accueil .chapo { margin-bottom: var(--esp-4); }
.accueil .encart { margin-top: var(--esp-6); }

.entete h1 sup, h1 sup { font-size: 0.55em; line-height: 0; }
.bureau > h2 { margin-top: var(--esp-7); }
.bureau > .encart { margin: var(--esp-5) 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp-3); margin-top: var(--esp-5); }
td.num, th.num { text-align: right; white-space: nowrap; }
.sous-libelle { font-weight: 400; font-size: 14px; opacity: 0.9; }

/* Dossiers du jeu */
.contexte { max-width: var(--largeur-lecture); color: var(--encre-douce); }
.dossier > .tampon { float: right; margin: 0 0 var(--esp-3) var(--esp-4); }
.dossier.decide .options { opacity: 0.75; }
.btn.discret[aria-pressed="true"] { color: var(--bleu-nation); border: 2px solid var(--bleu-nation); background: var(--papier-clair); }
.btn.discret[aria-pressed="true"]::before { content: "✓"; content: "✓" / ""; }
.dossier .sources, .encart .sources { margin-top: var(--esp-2); }

/* Notes : sources compactes */
.note p { margin: 0 0 var(--esp-2); }
.note .sources { margin: var(--esp-2) 0 0; font-size: 14px; line-height: 19px; }
.note .sources li { padding: 3px 0; border-bottom-color: rgba(127, 117, 101, 0.3); }
.note .sources .sensibilite { background: rgba(251, 248, 241, 0.6); }

/* Tableau de bord : assemblée sous les indicateurs */
.tableau-bord.assemblee { margin-top: var(--esp-5); }
.indic > span:last-child { justify-self: end; }

/* Barre de signature : message + bouton */
.barre-signature .envoi { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--esp-3); }

/* Législatives et Parlement */
.legislatives .hemicycle.compact { max-width: 420px; }
.parlement { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.parlement .hemicycle { max-width: 440px; margin-bottom: var(--esp-4); }
.projet-loi h4 { margin-top: var(--esp-5); }
.projet-loi .actions { margin-top: var(--esp-3); }
.encart.alerte h1 { font-size: 30px; line-height: 36px; margin-bottom: var(--esp-3); }
.encart .tampon { margin: var(--esp-3) 0; }
.mesure-bilan .verdict.entre::before { content: "↔ "; content: "↔ " / ""; }

/* Bilan final */
.courbes { margin-top: var(--esp-5); }
.mesure-bilan .preuve { justify-self: end; }
.mesure-bilan > p { grid-column: 1 / -1; margin: 0; }
.mesure-bilan .lectures { margin-top: var(--esp-1); }
.mesure-bilan .sources { grid-column: 1 / -1; }
.suite-revelation { margin-top: var(--esp-6); }
.suite-revelation ul { padding-left: 1.2em; }

@media (max-width: 600px) {
  .bandeau { padding: var(--esp-3) var(--esp-4); }
  .marque span { display: block; margin-left: 0; }
  .pied { padding: var(--esp-4); }
  .barre-signature .envoi { width: 100%; }
  .barre-signature .envoi .btn { flex: 1 1 100%; }
  .encart.alerte h1 { font-size: 24px; line-height: 30px; }
  .mesure-bilan .preuve { justify-self: start; grid-column: 1 / -1; }
}

/* ---------- Allègement de l'interface (1/12/2026) ---------- */
/* Tableau de bord compact : chiffres en tuiles, explications repliées */
.tableau-bord.compact { margin-top: var(--esp-5); }
.tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--esp-2); }
.tuile { display: flex; flex-direction: column; gap: 2px; padding: var(--esp-3); border: 1px solid var(--filet); border-radius: var(--rayon-feuille); font-family: var(--font-interface); }
.tuile .chiffre { margin: 0; }
.tuile .libelle { font-size: 14px; line-height: 19px; color: var(--encre-douce); }
.tuile .tendance { font-size: 14px; }

/* Blocs repliables « En savoir plus » */
details.plus { margin-top: var(--esp-3); }
details.plus > summary { cursor: pointer; font-family: var(--font-interface); font-size: 15px; line-height: 21px; font-weight: 600; color: var(--bleu-nation); }
details.plus > summary:hover { text-decoration: underline; }
details.plus[open] > summary { margin-bottom: var(--esp-2); }
details.plus ul { margin: 0; padding-left: 1.2em; }
.option details.plus { position: relative; z-index: 1; margin-top: auto; }
details.repli { padding: var(--esp-3) var(--esp-4); background-color: var(--papier-clair); border: 1px solid var(--filet); border-radius: var(--rayon-feuille); }

/* Dossiers pliables (engagements de campagne) */
details.dossier.pliable { margin-top: calc(var(--esp-5) + 18px); padding-block: var(--esp-4); }
details.dossier.pliable > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--esp-3); cursor: pointer; list-style: none; }
details.dossier.pliable > summary::-webkit-details-marker { display: none; }
details.dossier.pliable > summary h3 { margin: 0; }
details.dossier.pliable > summary h3::before { content: "▸ "; color: var(--encre-douce); }
details.dossier.pliable[open] > summary h3::before { content: "▾ "; }

/* Onglets des dossiers du semestre */
.onglets-dossiers { display: flex; flex-wrap: wrap; gap: var(--esp-2); margin-top: var(--esp-3); }
.onglets-dossiers .onglet { padding: 6px 12px; font-family: var(--font-interface); font-size: 15px; line-height: 20px; color: var(--encre); background: var(--papier-clair); border: 1px solid var(--filet-fort); border-radius: var(--rayon-controle); cursor: pointer; }
.onglets-dossiers .onglet.decide { color: var(--encre-douce); }
.onglets-dossiers .onglet.actif { color: var(--sur-bleu); background: var(--bleu-nation); border-color: var(--bleu-nation); }

/* Bilan : les 3 choses à retenir */
.a-retenir ol { margin: 0; padding-left: 1.4em; display: grid; gap: var(--esp-2); font-size: 18px; line-height: 26px; }
.resume-vote { font-family: var(--font-interface); font-size: 18px; margin: 0 0 var(--esp-2); }
details.dossier.pliable::after { display: none; }

/* Mode « Tester un programme » */
.mode-candidat { margin-top: var(--esp-6); }
.choix-candidats { display: flex; flex-wrap: wrap; gap: var(--esp-2); margin: var(--esp-3) 0; }
.choix-candidats .btn { display: inline-flex; flex-direction: column; align-items: flex-start; }
