/* =======================================================================
   enquete-central.css — L'onglet « Enquête » de Central    (17/11/2026)
   -----------------------------------------------------------------------
   Un fichier à part, comme enquete-central.js : central.css n'est pas
   touché. Les cartes, chiffres et barres viennent des Statistiques
   (`st-*`) ; ici seulement ce qui est propre à l'enquête, préfixe `eqc-`.
   Couleurs : teintes claires, chiffres foncés (pas d'aplats vifs).
   ======================================================================= */

.eqc-filtres{ flex-wrap:wrap; row-gap:8px; }
.eqc-filtres select{ border:1px solid var(--border); border-radius:9px; padding:6px 9px;
  font:inherit; font-size:12.5px; background:#fff; color:var(--text); }
.eqc-note{ margin:-6px 0 14px; }
.eqc-pct{ font-weight:500; color:var(--mauve); font-size:12px; margin-left:4px; }
.eqc-tete{ margin:0 0 10px; font-size:13.5px; }
.eqc-tete b{ font-size:20px; }

/* Jour par jour : une colonne par jour, terminées en plein, non terminées en clair */
.eqc-jours{ display:flex; align-items:flex-end; gap:4px; height:170px; padding-top:6px; overflow-x:auto; }
.eqc-jour{ flex:1 0 22px; max-width:46px; height:100%; display:flex; flex-direction:column; align-items:center; }
.eqc-pile-v{ flex:1; width:100%; display:flex; flex-direction:column; justify-content:flex-end; }
.eqc-pile-v .eqc-t{ display:block; background:var(--accent); opacity:.55; border-radius:3px 3px 0 0; }
.eqc-pile-v .eqc-e{ display:block; background:var(--accent); opacity:.18; }
.eqc-n{ font-size:11px; font-weight:700; height:15px; font-variant-numeric:tabular-nums; }
.eqc-j{ font-size:10px; color:var(--mauve); white-space:nowrap; }
.eqc-cle{ display:inline-block; width:10px; height:10px; border-radius:2px; margin:0 3px 0 10px; vertical-align:-1px; }
.eqc-cle-t{ background:var(--accent); opacity:.55; }
.eqc-cle-e{ background:var(--accent); opacity:.18; }

/* Le tableau des pubs */
.eqc-table{ width:100%; border-collapse:collapse; font-size:13px; }
.eqc-table th{ text-align:left; font-weight:600; color:var(--mauve); font-size:11.5px; padding:6px 8px; border-bottom:1px solid var(--border); }
.eqc-table td{ padding:8px; border-bottom:1px solid var(--border-soft); font-variant-numeric:tabular-nums; }
.eqc-table td:first-child{ font-weight:600; }

/* Les grilles « Insatisfait · Bien · Très bien » */
.eqc-legende{ font-size:12px; color:var(--text-2); margin:0 0 10px; }
.eqc-legende .eqc-cle{ margin-left:0; }
.eqc-legende .eqc-cle + .eqc-cle, .eqc-legende .eqc-cle:not(:first-child){ margin-left:12px; }
.eqc-avis{ display:grid; grid-template-columns:minmax(150px,240px) 1fr; gap:12px; align-items:center; margin-bottom:6px; }
.eqc-avis-nom{ font-size:13px; }
.eqc-pile{ display:flex; height:26px; border-radius:7px; overflow:hidden; border:1px solid var(--border-soft); }
.eqc-pile span{ display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700;
  color:var(--text); white-space:nowrap; overflow:hidden; font-variant-numeric:tabular-nums; }
.eqc-n1{ background:#F6D6D2; }
.eqc-n2{ background:#ECEEF0; }
.eqc-n3{ background:#D4ECD8; }
span.eqc-cle.eqc-n1, span.eqc-cle.eqc-n2, span.eqc-cle.eqc-n3{ border:1px solid rgba(0,0,0,.06); }
@media (max-width:640px){ .eqc-avis{ grid-template-columns:1fr; gap:4px; margin-bottom:10px; } }

/* Les textes libres */
.eqc-textes{ list-style:none; margin:0; padding:0; }
.eqc-textes li{ padding:10px 12px; margin-bottom:6px; background:var(--sub); border-radius:9px; }
.eqc-textes p{ margin:0 0 4px; font-size:13.5px; line-height:1.45; white-space:pre-wrap; }
.eqc-meta{ font-size:11.5px; color:var(--mauve); }

/* ---------- Le tirage au sort (admin) ---------- */
.eqc-tirage-texte{ font-size:13.5px; line-height:1.5; margin:0 0 14px; max-width:62em; }
.eqc-tirer{ font-size:14px; padding:12px 20px; }
.eqc-tirer[disabled]{ opacity:.45; cursor:not-allowed; }
.eqc-participants td{ vertical-align:middle; }
.eqc-participants .btn{ padding:5px 11px; font-size:12px; }
.eqc-etat{ display:inline-block; padding:3px 9px; border-radius:var(--rp); font-size:11.5px; font-weight:600; color:var(--text); }
.eqc-ok{ background:#D4ECD8; }
.eqc-neutre{ background:#ECEEF0; }
.eqc-non{ background:#F6D6D2; }
.eqc-gagnant .eqc-prenom{ font-size:26px; font-weight:700; margin:6px 0 2px; }
.eqc-gagnant .eqc-mail{ margin:0 0 10px; font-size:13px; color:var(--text-2); word-break:break-all; }
.eqc-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.eqc-actions .btn{ text-decoration:none; }

/* La révélation, à filmer : fond sombre, un prénom en grand */
.eqc-revel{ margin:0 0 16px; padding:34px 24px 26px; border-radius:var(--radius); background:#17323C; color:#FDF8EA;
  text-align:center; cursor:pointer; user-select:none; }
.eqc-revel-sur{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; opacity:.75; }
.eqc-revel-nom{ font-size:clamp(40px,7vw,72px); font-weight:700; margin:14px 0 18px; min-height:1.2em; transition:color .2s, transform .2s; }
.eqc-revel-gagne{ color:#FFC61E; transform:scale(1.06); }
.eqc-revel-liste{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; min-height:30px; }
.eqc-revel-liste span{ padding:6px 12px; border-radius:var(--rp); font-size:13px; font-weight:600; }
.eqc-revel-g{ background:#FFC61E; color:#17323C; }
.eqc-revel-s{ background:rgba(253,248,234,.16); }
@media (prefers-reduced-motion:reduce){ .eqc-revel-nom{ transition:none; } }
/* Pendant la révélation, les cartes des gagnants restent cachées (suspense) */
.eqc-suspense .eqc-apres{ display:none; }
