/* ==========================================================================
   CGT-VIVEST — 62-sondages.css — SONDAGES DES ADHÉRENT·ES (3.0.0-beta.65)
   --------------------------------------------------------------------------
   Balisage : assets/js/cgt/cgt-sondages.js — liste #sondages (htmlListe, carte),
   sondage #sondages/<id> (htmlFiche : bulletin, « Tu as voté », résultats,
   gestion), fenêtre « Nouveau sondage » / « Modifier » (ouvrirFormulaire,
   #sm-dynamic-modal.cgt-sdg-modale) et encart de l'accueil (.cgt-sdg-encart, beta.81-82).

   Composition « affiche militante en 2,5D » :
   - le sondage porte la rubrique « pétition » (rose) de cgt.fr : la parole des
     adhérent·es ; variables --rub-* de [data-sup-rub] (53-support § 0) ;
   - cartes à filet de rubrique en tête ; état en pastille (pictogramme + texte,
     jamais la couleur seule) ; bulletin = cases larges à cocher ; résultats =
     jauges carrées (la réponse en tête en rose, les autres en encre douce).

   Composants RÉUTILISÉS : .cgt-titre-ecran, .cgt-accent (10-theme) ; boutons,
   cartes .cgt-carte, champs, bannières .sm-alert, états vides, jauges
   .cgt-progression, modales et confirmations (30-composants).
   Poids : :not(#cgt) seulement contre une règle plus lourde du socle (cartes,
   jauges). !important : seulement sur le remplissage des jauges (le socle en met).
   Mouvement : transform / opacity seulement, coupé par prefers-reduced-motion.
   Pas de color-mix(), pas de backdrop-filter, pas de :has().
   ========================================================================== */


/* ==========================================================================
   1. PAGE — conteneur, entête (titre à mot d'accent, chapo, action)
   ========================================================================== */
.cgt-sdg-page{
  display:flex;
  flex-direction:column;
  gap:28px;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:4px 0 12px;
  box-sizing:border-box;
  font-family:var(--police-texte);
  color:var(--texte);
}
.cgt-sdg-page *, .cgt-sdg-page *::before, .cgt-sdg-page *::after{ box-sizing:border-box; }
.cgt-sdg-page [hidden]{ display:none; }

.cgt-sdg-entete{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px 28px;
}
.cgt-sdg-entete-texte{ min-width:0; }
.cgt-sdg-titre-ecran.cgt-titre-ecran{ margin:0; }
.cgt-sdg-chapo{
  margin:14px 0 0;
  max-width:62ch;
  font-size:var(--fs-16);
  line-height:var(--lh-corps);
  color:var(--texte-2);
}
.cgt-sdg-entete-actions{ display:flex; flex-wrap:wrap; gap:14px; padding-bottom:6px; }

.cgt-sdg-note{
  margin:0;
  font-size:var(--fs-14);
  line-height:var(--lh-corps);
  color:var(--texte-3);
}


/* ==========================================================================
   2. PASTILLE D'ÉTAT — à voter, voté, en cours, clos
   ========================================================================== */
.cgt-sdg-etat{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:4px 10px;
  font-size:var(--fs-12);
  font-weight:var(--fw-800);
  line-height:1.3;
  letter-spacing:var(--ls-majuscules);
  text-transform:uppercase;
  background:var(--papier-3);
  color:var(--texte-2);
  box-shadow:2px 2px 0 0 var(--tranche);
}
.cgt-sdg-etat i{ font-size:12px; }
.cgt-sdg-etat[data-etat="a-faire"]{ background:var(--rub-plein); color:var(--rub-sur); }
.cgt-sdg-etat[data-etat="fait"]{ background:var(--cgt-cyan-plein); color:var(--cgt-blanc); }
.cgt-sdg-etat[data-etat="clos"]{ background:var(--picto-encre-fond); color:var(--picto-encre-texte); }


/* ==========================================================================
   3. LISTE — sections « En cours » et « Terminés », cartes
   ========================================================================== */
.cgt-sdg-section{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.cgt-sdg-section-titre{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  font-size:var(--fs-20);
  font-weight:var(--fw-800);
  line-height:1.3;
  color:var(--texte);
}
.cgt-sdg-compte{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 8px;
  font-size:var(--fs-14);
  font-weight:var(--fw-800);
  font-variant-numeric:tabular-nums;
  background:var(--rub-plein);
  color:var(--rub-sur);
  box-shadow:2px 2px 0 0 var(--tranche);
}
.cgt-sdg-section ~ .cgt-sdg-section .cgt-sdg-compte{ background:var(--picto-encre-fond); color:var(--picto-encre-texte); }
.cgt-sdg-rien{ margin:0; font-size:var(--fs-15); line-height:var(--lh-corps); color:var(--texte-2); }

.cgt-sdg-grille{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap:20px;
  margin:0;
  padding:0;
  list-style:none;
}
.cgt-sdg-item{ display:flex; min-width:0; }
.cgt-sdg-carte.cgt-carte:not(#cgt){
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  width:100%;
  margin:0;
  padding:18px 20px 20px;
  border-top:6px solid var(--rub);
  color:var(--texte);
  text-decoration:none;
}
.cgt-sdg-carte[data-etat="clos"].cgt-carte:not(#cgt){ border-top-color:var(--filet-fort); }
.cgt-sdg-carte-question{
  font-size:var(--fs-18);
  font-weight:var(--fw-800);
  line-height:1.35;
  color:var(--texte);
  overflow-wrap:anywhere;
}
.cgt-sdg-carte-meta{ font-size:var(--fs-14); line-height:var(--lh-corps); color:var(--texte-2); }
.cgt-sdg-carte-tete{
  width:100%;
  margin-top:auto;
  padding-top:10px;
  border-top:1px solid var(--filet);
  font-size:var(--fs-14);
  line-height:var(--lh-corps);
  color:var(--texte);
  overflow-wrap:anywhere;
}
.cgt-sdg-carte-tete-libelle{
  font-family:var(--police-accent);
  font-style:italic;
  font-weight:var(--fw-accent);
  color:var(--rub-fort);
}
.cgt-sdg-vide.sm-empty-state:not(#cgt) .sm-btn{ margin-top:6px; }


/* ==========================================================================
   4. UN SONDAGE — entête (question, précision, repères)
   ========================================================================== */
.cgt-sdg-fiche{ max-width:820px; gap:24px; }
.cgt-sdg-fil{ margin:0; }
.cgt-sdg-retour{
  font-size:var(--fs-14);
  font-weight:var(--fw-700);
  color:var(--lien);
  text-decoration:underline;
  text-underline-offset:3px;
}
.cgt-sdg-retour::before{ content:"← "; }
@media (hover: hover){ .cgt-sdg-retour:hover{ color:var(--lien-survol); } }

.cgt-sdg-fiche-entete{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; min-width:0; }
.cgt-sdg-fiche-question.cgt-titre-ecran{
  margin:0;
  max-width:100%;
  font-size:clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  overflow-wrap:anywhere;
  text-wrap:balance;
}
.cgt-sdg-precision{
  margin:0;
  max-width:65ch;
  font-size:var(--fs-16);
  line-height:var(--lh-para);
  white-space:pre-line;
  color:var(--texte-2);
  overflow-wrap:anywhere;
}
.cgt-sdg-faits{ display:flex; flex-wrap:wrap; gap:12px 32px; margin:4px 0 0; }
.cgt-sdg-fait{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.cgt-sdg-fait dt{
  font-size:var(--fs-12);
  font-weight:var(--fw-800);
  letter-spacing:var(--ls-majuscules);
  text-transform:uppercase;
  color:var(--texte-3);
}
.cgt-sdg-fait dd{ margin:0; font-size:var(--fs-15); font-weight:var(--fw-600); color:var(--texte); }
.cgt-sdg-fiche-corps{ display:flex; flex-direction:column; gap:20px; min-width:0; }
.cgt-sdg-h2{
  margin:0;
  padding:0;
  font-size:var(--fs-20);
  font-weight:var(--fw-800);
  line-height:1.3;
  color:var(--texte);
}


/* ==========================================================================
   5. BULLETIN — cases larges, garanties, « Voter »
   ========================================================================== */
.cgt-sdg-bulletin.cgt-carte:not(#cgt){
  display:flex;
  flex-direction:column;
  gap:18px;
  margin:0;
  padding:22px;
  border-top:6px solid var(--rub);
}
.cgt-sdg-choix{ display:flex; flex-direction:column; gap:10px; min-width:0; margin:0; padding:0; border:0; }
.cgt-sdg-aide{ margin:0; font-size:var(--fs-14); color:var(--texte-2); }
.cgt-sdg-options{ display:flex; flex-direction:column; gap:10px; margin-top:4px; }
.cgt-sdg-option{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:var(--cible-tactile);
  padding:12px 16px;
  font-size:var(--fs-16);
  font-weight:var(--fw-600);
  line-height:1.4;
  color:var(--texte);
  background:var(--papier-2);
  border:2px solid var(--filet-fort);
  cursor:pointer;
  transition:border-color var(--duree-2) var(--courbe-std), background-color var(--duree-2) var(--courbe-std), translate var(--duree-2) var(--courbe-ressort);
}
.cgt-sdg-option input{ flex:none; width:22px; height:22px; margin:0; cursor:inherit; }
.cgt-sdg-option-texte{ min-width:0; overflow-wrap:anywhere; }
@media (hover: hover){ .cgt-sdg-option:hover{ border-color:var(--rub); } }
.cgt-sdg-option.est-cochee{
  border-color:var(--rub);
  background:var(--rub-fond);
  box-shadow:3px 3px 0 0 var(--tranche);
  translate:-2px -2px;
}
.cgt-sdg-option.est-inactive{ color:var(--texte-desactive); cursor:not-allowed; }
/* Anneau de focus au clavier seulement (au doigt, la case cochée suffit) */
.cgt-sdg-option input:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }

.cgt-sdg-garanties{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
  padding:14px 16px;
  list-style:none;
  background:var(--papier-2);
  border:1px solid var(--filet);
}
.cgt-sdg-garanties li{ display:flex; align-items:baseline; gap:10px; font-size:var(--fs-14); line-height:var(--lh-corps); color:var(--texte-2); }
.cgt-sdg-garanties i{ flex:none; width:16px; text-align:center; color:var(--rub-fort); }
.cgt-sdg-garanties strong{ font-weight:var(--fw-800); color:var(--texte); }
.cgt-sdg-bulletin-pied{ display:flex; justify-content:flex-end; }

/* Après le vote */
.cgt-sdg-avote.cgt-carte:not(#cgt){
  display:flex;
  align-items:center;
  gap:16px;
  margin:0;
  padding:18px 20px;
  border-left:6px solid var(--cgt-cyan-plein);
}
.cgt-sdg-avote-picto{
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  font-size:20px;
  background:var(--cgt-cyan-plein);
  color:var(--cgt-blanc);
  box-shadow:3px 3px 0 0 var(--tranche);
}
.cgt-sdg-avote-titre{ margin:0; font-size:var(--fs-18); font-weight:var(--fw-800); line-height:1.3; color:var(--texte); }
.cgt-sdg-avote-texte{ margin:4px 0 0; font-size:var(--fs-14); line-height:var(--lh-corps); color:var(--texte-2); }
.cgt-sdg-reserve.sm-alert:not(#cgt){ margin:0; }
.cgt-sdg-reserve p{ margin:0; }


/* ==========================================================================
   6. RÉSULTATS — jauges, participation, « En direct » / « Définitifs »
   ========================================================================== */
.cgt-sdg-resultats.cgt-carte:not(#cgt){
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:0;
  padding:22px;
}
.cgt-sdg-resultats-tete{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; }
.cgt-sdg-direct, .cgt-sdg-definitif{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:3px 9px;
  font-size:var(--fs-11);
  font-weight:var(--fw-900);
  letter-spacing:var(--ls-majuscules);
  text-transform:uppercase;
}
.cgt-sdg-direct{ background:var(--cgt-jaune); color:var(--sur-jaune); }
.cgt-sdg-direct::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:var(--rayon-rond);
  background:var(--cgt-rouge-700);
  animation:cgt-sdg-pouls 1.6s ease-in-out infinite;
}
.cgt-sdg-definitif{ background:var(--picto-encre-fond); color:var(--picto-encre-texte); }
@keyframes cgt-sdg-pouls{
  0%, 100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.35; transform:scale(.7); }
}

.cgt-sdg-barres{ display:flex; flex-direction:column; gap:16px; margin:0; padding:0; list-style:none; }
.cgt-sdg-barre{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.cgt-sdg-barre-ligne{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 16px; }
.cgt-sdg-barre-libelle{ min-width:0; font-size:var(--fs-16); font-weight:var(--fw-600); line-height:1.4; color:var(--texte); overflow-wrap:anywhere; }
.cgt-sdg-barre[data-tete] .cgt-sdg-barre-libelle{ font-weight:var(--fw-800); }
.cgt-sdg-barre-marque{
  display:inline-block;
  margin-left:6px;
  padding:1px 7px;
  font-size:var(--fs-11);
  font-weight:var(--fw-900);
  letter-spacing:var(--ls-majuscules);
  text-transform:uppercase;
  vertical-align:2px;
  background:var(--rub-plein);
  color:var(--rub-sur);
}
.cgt-sdg-barre-chiffres{ flex:none; font-size:var(--fs-14); color:var(--texte-2); font-variant-numeric:tabular-nums; }
.cgt-sdg-barre-chiffres strong{ font-size:var(--fs-18); font-weight:var(--fw-800); color:var(--texte); }
.cgt-sdg-jauge.cgt-progression{ height:14px; }
.cgt-sdg-jauge .cgt-progression-remplie:not(#cgt){
  width:var(--part, 0%);
  background:var(--texte-3) !important;
  transform-origin:left center;
  animation:cgt-sdg-jauge var(--duree-6) var(--courbe-sortie) both;
}
.cgt-sdg-barre[data-tete] .cgt-sdg-jauge .cgt-progression-remplie:not(#cgt){ background:var(--rub-plein) !important; }
.cgt-sdg-resultats[data-calme] .cgt-progression-remplie:not(#cgt){ animation:none; }
@keyframes cgt-sdg-jauge{ from{ transform:scaleX(0); } }

.cgt-sdg-participation{
  margin:0;
  padding-top:14px;
  border-top:1px solid var(--filet);
  font-size:var(--fs-15);
  line-height:var(--lh-corps);
  color:var(--texte-2);
}
.cgt-sdg-participation strong{ font-weight:var(--fw-800); color:var(--texte); }
/* 3.0.0-beta.66 : « Résultats en PDF » au pied des résultats d'un sondage clos (DS, secrétaire) */
.cgt-sdg-resultats-pied{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 16px;
  padding-top:14px;
  border-top:1px solid var(--filet);
}
.cgt-sdg-resultats-pied .cgt-sdg-note{ flex:1 1 220px; }


/* ==========================================================================
   7. GESTION — DS, secrétaire, administrateur
   ========================================================================== */
.cgt-sdg-gestion{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:18px 20px;
  border:2px dashed var(--filet-fort);
}
.cgt-sdg-gestion-titre{
  margin:0;
  font-size:var(--fs-12);
  font-weight:var(--fw-800);
  letter-spacing:var(--ls-majuscules);
  text-transform:uppercase;
  color:var(--texte-3);
}
.cgt-sdg-gestion-actions{ display:flex; flex-wrap:wrap; gap:12px; }


/* ==========================================================================
   8. FENÊTRE « NOUVEAU SONDAGE » / « MODIFIER »
   ========================================================================== */
.cgt-sdg-form{ display:flex; flex-direction:column; gap:18px; }
/* Le plafond (display:flex) reste caché en « Une seule réponse » : la fenêtre est hors de .cgt-sdg-page */
.cgt-sdg-form [hidden]{ display:none; }
.cgt-sdg-form .sm-form-group{ margin:0; }
.cgt-sdg-form .sm-input{ width:100%; }
.cgt-sdg-form .sm-alert:not(#cgt){ margin:0; }
.cgt-sdg-form .sm-alert p{ margin:0; }
.cgt-sdg-form-reponses{ min-width:0; margin:0; padding:0; border:0; }
.cgt-sdg-form-reponses > legend{ margin:0 0 8px; padding:0; }
.cgt-sdg-form-liste{ display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none; counter-reset:cgt-sdg-reponse; }
.cgt-sdg-form-reponse{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:10px;
  counter-increment:cgt-sdg-reponse;
}
.cgt-sdg-form-reponse::before{
  content:counter(cgt-sdg-reponse);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  font-size:var(--fs-13);
  font-weight:var(--fw-800);
  font-variant-numeric:tabular-nums;
  background:var(--picto-encre-fond);
  color:var(--picto-encre-texte);
}
.cgt-sdg-form-ajout{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-top:12px; }
.cgt-sdg-form-ajout .sm-form-hint{ margin:0; }
/* Une seule réponse / plusieurs : deux grands choix côte à côte (état coché posé par le JS, sans :has()) */
.cgt-sdg-form-mode{ min-width:0; margin:0; padding:0; border:0; }
.cgt-sdg-form-mode > legend{ margin:0 0 8px; padding:0; }
.cgt-sdg-mode{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.cgt-sdg-mode-choix{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-height:var(--cible-tactile);
  padding:12px 14px;
  background:var(--papier-2);
  border:2px solid var(--filet-fort);
  cursor:pointer;
  transition:border-color var(--duree-2) var(--courbe-std), background-color var(--duree-2) var(--courbe-std);
}
.cgt-sdg-mode-choix input{ flex:none; width:20px; height:20px; margin:1px 0 0; cursor:inherit; }
.cgt-sdg-mode-choix span{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.cgt-sdg-mode-choix strong{ font-size:var(--fs-15); font-weight:var(--fw-800); line-height:1.3; color:var(--texte); }
.cgt-sdg-mode-choix small{ font-size:var(--fs-13); line-height:1.4; color:var(--texte-2); }
@media (hover: hover){ .cgt-sdg-mode-choix:hover{ border-color:var(--rub); } }
.cgt-sdg-mode-choix.est-cochee{ border-color:var(--rub); background:var(--rub-fond); box-shadow:3px 3px 0 0 var(--tranche); }
.cgt-sdg-mode-choix input:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
.cgt-sdg-form-max{ display:flex; flex-direction:column; gap:6px; max-width:280px; margin-top:12px; }
.cgt-sdg-erreur-texte{ margin:6px 0 0; }


/* ==========================================================================
   9. ACCUEIL — encart des sondages (3.0.0-beta.81, beta.82)
   En tête de l'accueil (bureau et applis), pour tous les comptes qui voient les sondages : chaque sondage ouvert,
   puis chaque sondage clos depuis moins de 5 jours ; rien à montrer → pas d'encart. Une ligne par sondage
   (question, pastille d'état, clôture) ; « Voter » en bouton rose quand le vote est attendu, simple lien sinon.
   ========================================================================== */
.cgt-sdg-encart.cgt-carte:not(#cgt){
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0;
  padding:16px 20px 8px 16px;
  border-left:6px solid var(--rub);
}
.cgt-sdg-encart-entete{ display:flex; align-items:center; gap:12px 16px; min-width:0; }
.cgt-sdg-encart-picto{
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  font-size:20px;
  background:var(--rub-plein);
  color:var(--rub-sur);
  box-shadow:3px 3px 0 0 var(--tranche);
}
.cgt-sdg-encart-texte{ display:flex; flex:1 1 auto; flex-direction:column; gap:2px; min-width:0; }
.cgt-sdg-encart-titre{ margin:0; font-size:var(--fs-18); font-weight:var(--fw-800); line-height:1.3; color:var(--texte); }
.cgt-sdg-encart-chapo{ margin:0; font-size:var(--fs-14); line-height:var(--lh-corps); color:var(--texte-2); }
.cgt-sdg-encart-tous,
.cgt-sdg-encart-action{
  font-size:var(--fs-14);
  font-weight:var(--fw-800);
  color:var(--lien);
  text-decoration:underline;
  text-underline-offset:3px;
}
.cgt-sdg-encart-tous{ flex:none; }
.cgt-sdg-encart-liste{ display:flex; flex-direction:column; margin:0; padding:0; list-style:none; }
.cgt-sdg-encart-liste > li{ border-top:1px solid var(--filet); }
.cgt-sdg-encart-ligne{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:8px 18px;
  padding:12px 0 12px 60px;   /* sous le texte de l'entête : pictogramme 44 px + écart 16 px */
  color:var(--texte);
  text-decoration:none;
}
.cgt-sdg-encart-question{
  grid-column:1;
  font-size:var(--fs-16);
  font-weight:var(--fw-800);
  line-height:1.35;
  color:var(--texte);
  overflow-wrap:anywhere;
}
.cgt-sdg-encart-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 12px;
  grid-column:1;
  font-size:var(--fs-14);
  line-height:var(--lh-corps);
  color:var(--texte-2);
}
.cgt-sdg-encart-action{ grid-column:2; grid-row:1 / span 2; justify-self:end; }
.cgt-sdg-encart-ligne[data-etat="a-faire"] .cgt-sdg-encart-action{
  padding:9px 18px;
  background:var(--rub-plein);
  color:var(--rub-sur);
  text-decoration:none;
  box-shadow:3px 3px 0 0 var(--tranche);
}
@media (hover: hover){
  .cgt-sdg-encart-ligne:hover .cgt-sdg-encart-question{ text-decoration:underline; text-underline-offset:3px; }
}
.cgt-sdg-encart-ligne:focus-visible{ outline:2px solid var(--focus); outline-offset:2px; }


/* Cloche : « Nouveau sondage », « Résultats du sondage » à la couleur de la rubrique (comme 45-coque § notifications) */
body.sm-connecte [data-type="sondage"] .sm-notification-icon{ --picto-fond:var(--t-petition); --picto-texte:var(--t-petition-sur); }


/* ==========================================================================
   10. PETITS ÉCRANS ; MOUVEMENT RÉDUIT
   ========================================================================== */
@media (max-width: 768px){
  .cgt-sdg-page{ gap:22px; }
  .cgt-sdg-entete-actions{ width:100%; padding-bottom:0; }
  .cgt-sdg-entete-actions .sm-btn{ flex:1 1 auto; }
  .cgt-sdg-bulletin.cgt-carte:not(#cgt), .cgt-sdg-resultats.cgt-carte:not(#cgt){ padding:18px 16px; }
  .cgt-sdg-bulletin-pied .sm-btn{ width:100%; }
  .cgt-sdg-gestion-actions .sm-btn{ flex:1 1 auto; }
  .cgt-sdg-resultats-pied .sm-btn{ width:100%; }
}
@media (max-width: 480px){
  .cgt-sdg-mode{ grid-template-columns:minmax(0, 1fr); }
  .cgt-sdg-encart.cgt-carte:not(#cgt){ padding-right:16px; }
  /* Grille : le titre reste à côté du pictogramme même quand la phrase est longue (avec flex-wrap, le bloc
     de texte passait sous le pictogramme) ; « Tous les sondages » dessous, aligné sur le texte. */
  .cgt-sdg-encart-entete{ display:grid; grid-template-columns:44px minmax(0, 1fr); gap:6px 16px; }
  .cgt-sdg-encart-tous{ grid-column:2; justify-self:start; }
  .cgt-sdg-encart-ligne{ grid-template-columns:minmax(0, 1fr); padding-left:0; }
  .cgt-sdg-encart-action{ grid-column:1; grid-row:auto; justify-self:start; }
}
@media (prefers-reduced-motion: reduce){
  .cgt-sdg-direct::before, .cgt-sdg-jauge .cgt-progression-remplie:not(#cgt){ animation:none; }
  .cgt-sdg-option, .cgt-sdg-option.est-cochee{ transition:none; translate:none; }
}
