/* ══════════════════════════════════════════════════════════════════════════
   EXPLORATEUR — vue « Recherche » de l'Analyse fondamentale (explorateur.js)
   ══════════════════════════════════════════════════════════════════════════
   Même grammaire que l'accueil de la page : Inter, panneaux blancs à filet
   léger, une ENCRE par univers (variable --u posée en ligne).
   ⚠ La page impose à tout bouton `14 px / 700 / coins 24 px` en !important
   (`.per-page button:not(.fs-tabbtn)`) et efface le fond de toute cellule de
   tableau : chaque surcharge ici passe par #exp-racine et porte !important. */

#exp-racine.exp-racine {
  position: relative;
  margin: 6px 0 40px;
  color: #0D0D0D;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --exp-filet: rgba(13, 13, 13, 0.09);
  --exp-gris: #6B6B6B;
  --exp-pale: #9A9A9A;
  --exp-pos: #067A3C;
  --exp-neg: #C4261F;
}
#exp-racine * { box-sizing: border-box; }

/* ── En-tête ───────────────────────────────────────────────────────── */
#exp-racine .exp-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 18px; }
#exp-racine .exp-titre { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
#exp-racine .exp-sous { font-size: 13.5px; color: var(--exp-gris); margin-top: 6px; max-width: 900px; line-height: 1.5; }

/* ── Barre des univers : des tuiles à emblèmes ──────────────────────
   Trois vrais visages par univers (logos, jetons, drapeaux, icônes), le nom,
   et le MÊME compte que la ligne de résultats. */
#exp-racine .exp-univers {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px;
}
body .per-page #exp-racine button.exp-u,
#exp-racine button.exp-u {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  height: 64px; padding: 0 14px 0 12px !important; text-align: left;
  background: #FFFFFF !important; color: #0D0D0D !important;
  border: 1px solid var(--exp-filet) !important; border-radius: 14px !important;
  font-size: 14px !important; font-weight: 600 !important;
  cursor: pointer; box-shadow: 0 1px 2px rgba(13,13,13,.04);
  transition: border-color .15s, box-shadow .2s, transform .2s, background .15s;
}
#exp-racine button.exp-u:hover {
  border-color: color-mix(in srgb, var(--u) 45%, transparent) !important;
  box-shadow: 0 8px 22px -14px var(--u); transform: translateY(-1px);
}
body .per-page #exp-racine button.exp-u.on,
#exp-racine button.exp-u.on {
  background: color-mix(in srgb, var(--u) 7%, #FFFFFF) !important;
  border-color: var(--u) !important;
  box-shadow: 0 0 0 1px var(--u), 0 10px 26px -16px var(--u);
}
#exp-racine .exp-u-pile { display: inline-flex; flex: none; padding-left: 8px; }
#exp-racine .exp-av {
  width: 30px; height: 30px; margin-left: -9px; flex: none;
  border-radius: 50%; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 0 0 2px #FFFFFF, 0 1px 3px rgba(13,13,13,.18);
  display: inline-flex; align-items: center; justify-content: center;
}
#exp-racine button.exp-u.on .exp-av { box-shadow: 0 0 0 2px color-mix(in srgb, var(--u) 7%, #FFFFFF), 0 1px 3px rgba(13,13,13,.18); }
#exp-racine .exp-av img { width: 100%; height: 100%; object-fit: contain; display: block; }
#exp-racine .exp-av-ico { font-size: 13px; }
#exp-racine .exp-av-mono { font-size: 10px; font-weight: 700; color: #555; background: #F1F1F1; }
#exp-racine .exp-av-drapeau .ca-drapeau { width: auto !important; height: auto !important; display: block; }
#exp-racine .exp-av-drapeau svg { width: 40px; height: 27px; display: block; flex: none; }
#exp-racine .exp-u-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
#exp-racine .exp-u-lib { font-size: 14px; font-weight: 700; color: #0D0D0D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#exp-racine button.exp-u.on .exp-u-lib { color: color-mix(in srgb, var(--u) 85%, #000000); }
#exp-racine .exp-u-n { font-size: 12px; font-weight: 500; color: var(--exp-pale); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1250px) { #exp-racine .exp-univers { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }

/* Les questions de « Tout » portent le petit emblème de leur univers. */
#exp-racine .exp-q-av { display: inline-flex; margin-left: -6px; }
#exp-racine .exp-q-av .exp-av { width: 20px; height: 20px; margin-left: 0; box-shadow: 0 0 0 1px rgba(13,13,13,.08); }
#exp-racine .exp-q-av .exp-av-ico { font-size: 10px; }
#exp-racine .exp-q-av .exp-av-drapeau svg { width: 30px; height: 20px; }
#exp-racine .exp-roue-p { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 10px; }

/* ── Questions toutes faites ───────────────────────────────────────── */
#exp-racine .exp-questions { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
#exp-racine .exp-questions:empty { display: none; }
#exp-racine .exp-q-lib { font-size: 12.5px; font-weight: 600; color: var(--exp-gris); white-space: nowrap; line-height: 34px; min-width: 150px; }
#exp-racine .exp-q-liste { display: flex; flex-wrap: wrap; gap: 8px; }
body .per-page #exp-racine button.exp-q,
#exp-racine button.exp-q {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px !important;
  background: #FFFFFF !important; color: #262626 !important;
  border: 1px solid var(--exp-filet) !important; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 500 !important;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
#exp-racine button.exp-q:hover { border-color: var(--u) !important; color: var(--u) !important; }
#exp-racine .exp-q-pt { width: 7px; height: 7px; border-radius: 50%; background: var(--u); flex: none; }
body .per-page #exp-racine button.exp-q.on,
#exp-racine button.exp-q.on {
  background: color-mix(in srgb, var(--u) 9%, #FFFFFF) !important;
  border-color: var(--u) !important; color: var(--u) !important; font-weight: 600 !important;
}

/* ── Critères ──────────────────────────────────────────────────────── */
#exp-racine .exp-criteres {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 0 14px; margin-bottom: 4px;
  border-top: 1px solid var(--exp-filet);
}
#exp-racine .exp-c {
  display: inline-flex; align-items: stretch; height: 34px;
  border: 1px solid color-mix(in srgb, var(--u) 38%, transparent); border-radius: 999px;
  background: color-mix(in srgb, var(--u) 7%, #FFFFFF);
  overflow: hidden;
}
#exp-racine .exp-c.ouvert { border-color: var(--u); box-shadow: 0 0 0 3px color-mix(in srgb, var(--u) 14%, transparent); }
body .per-page #exp-racine .exp-c button,
#exp-racine .exp-c button {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  color: color-mix(in srgb, var(--u) 82%, #000000) !important;
  font-size: 13px !important; font-weight: 500 !important; cursor: pointer;
}
#exp-racine .exp-c .exp-c-edit { padding: 0 6px 0 14px !important; white-space: nowrap; }
#exp-racine .exp-c .exp-c-lib { font-weight: 700; }
#exp-racine .exp-c .exp-c-vide { opacity: .6; font-style: italic; }
#exp-racine .exp-c .exp-c-x { padding: 0 12px 0 6px !important; font-size: 16px !important; line-height: 1; opacity: .6; }
#exp-racine .exp-c .exp-c-x:hover { opacity: 1; }
body .per-page #exp-racine button.exp-ajout,
#exp-racine button.exp-ajout {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 15px !important;
  background: #FFFFFF !important; color: var(--u) !important;
  border: 1px dashed color-mix(in srgb, var(--u) 60%, transparent) !important; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 600 !important; cursor: pointer;
}
#exp-racine button.exp-ajout:hover { border-style: solid !important; background: color-mix(in srgb, var(--u) 6%, #FFFFFF) !important; }
#exp-racine button.exp-ajout i { font-size: 11px; }
#exp-racine .exp-recherche {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px; width: 230px;
  background: #FFFFFF; border: 1px solid var(--exp-filet); border-radius: 999px;
  color: var(--exp-pale); font-size: 12px;
}
#exp-racine .exp-recherche:focus-within { border-color: #1B4FD8; }
#exp-racine .exp-recherche input {
  border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important;
  font: 500 13px/1 Inter, sans-serif !important; color: #0D0D0D; width: 100%; padding: 0 !important; height: auto !important;
}

/* ── La phrase de lecture ──────────────────────────────────────────── */
#exp-racine .exp-lecture { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 12px; flex-wrap: wrap; }
#exp-racine .exp-lecture:empty { display: none; }
#exp-racine .exp-l-texte { font-size: 14px; color: #262626; line-height: 1.45; min-width: 0; flex: 1 1 420px; }
#exp-racine .exp-l-n { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
#exp-racine .exp-l-sur, #exp-racine .exp-l-univ { color: var(--exp-pale); }
#exp-racine .exp-l-tri { color: var(--exp-gris); }
#exp-racine .exp-l-q { font-size: 13px; color: var(--exp-gris); margin-top: 3px; max-width: 860px; }
#exp-racine .exp-l-outils { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body .per-page #exp-racine button.exp-raz,
#exp-racine button.exp-raz {
  background: transparent !important; border: 0 !important; padding: 0 !important; height: auto;
  color: var(--exp-gris) !important; font-size: 13px !important; font-weight: 500 !important;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(13,13,13,.25); cursor: pointer;
}
#exp-racine button.exp-raz:hover { color: #0D0D0D !important; }
#exp-racine .exp-vues { display: inline-flex; padding: 3px; background: #EDEDED; border-radius: 11px; }
body .per-page #exp-racine button.exp-vue,
#exp-racine button.exp-vue {
  height: 30px; padding: 0 13px !important;
  background: transparent !important; border: 0 !important; border-radius: 8px !important;
  color: var(--exp-gris) !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
body .per-page #exp-racine button.exp-vue.on,
#exp-racine button.exp-vue.on { background: #FFFFFF !important; color: #0D0D0D !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
#exp-racine button.exp-vue i { font-size: 12px; }

/* ── Le tableau ────────────────────────────────────────────────────── */
#exp-racine .exp-table-cadre {
  background: #FFFFFF; border: 1px solid var(--exp-filet); border-radius: 14px;
  overflow-x: auto; overflow-y: hidden;
}
#exp-racine table.exp-table { width: 100% !important; min-width: 100%; display: table !important; table-layout: auto; border-collapse: separate; border-spacing: 0; }
#exp-racine table.exp-table thead th {
  height: 46px !important; padding: 0 10px !important;
  text-align: left; white-space: nowrap; cursor: pointer; user-select: none;
  position: static;
}
#exp-racine table.exp-table thead th.exp-cat { cursor: default; }
#exp-racine table.exp-table th.exp-num, #exp-racine table.exp-table td.exp-num { text-align: right; }
#exp-racine table.exp-table thead th:hover { color: #0D0D0D !important; }
#exp-racine table.exp-table thead th.exp-tri { color: #0D0D0D !important; font-weight: 700 !important; }
#exp-racine .exp-fl { display: inline-block; width: 12px; text-align: center; margin-left: 2px; }
#exp-racine table.exp-table tbody td { height: 54px !important; padding: 0 10px !important; white-space: nowrap; }
#exp-racine table.exp-table tbody td.exp-tri { background: rgba(13,13,13,.025) !important; }
#exp-racine table.exp-table tbody tr.exp-ligne { cursor: pointer; }
#exp-racine table.exp-table tbody tr.exp-ligne:hover td { background: rgba(27,79,216,.045) !important; }
#exp-racine table.exp-table tbody tr.exp-ligne:focus-visible { outline: 2px solid #1B4FD8; outline-offset: -2px; }
#exp-racine table.exp-table tbody tr:last-child td { border-bottom: 0 !important; }
#exp-racine td.exp-nom-td { position: sticky; left: 0; z-index: 1; background: #FFFFFF !important; max-width: 290px; }
#exp-racine thead th:first-child { position: sticky; left: 0; z-index: 2; background: #FFFFFF !important; }
#exp-racine .exp-nom { display: inline-flex; align-items: center; gap: 11px; min-width: 0; max-width: 100%; }
/* ⚠ La page pose « tnum » sur toute cellule : sous Inter, le trait d'union
   devient TABULAIRE et « États-Unis » se lit « États - Unis ». Le texte
   reprend des glyphes proportionnels ; seuls les chiffres restent tabulaires. */
#exp-racine .exp-nom, #exp-racine .exp-cat-t, #exp-racine .exp-pays, #exp-racine .exp-type,
#exp-racine .exp-l-texte, #exp-racine .exp-c, #exp-racine .exp-e-ol, #exp-racine .exp-n-lec .exp-nom {
  font-feature-settings: normal !important; font-variant-numeric: normal !important;
}
#exp-racine .exp-nom-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
#exp-racine .exp-nom-n { font-size: 13.5px; font-weight: 600; color: #0D0D0D; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
#exp-racine .exp-nom-s { font-size: 11.5px; color: var(--exp-pale); overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
#exp-racine .exp-v { font-size: 13px; font-variant-numeric: tabular-nums; color: #0D0D0D; }
#exp-racine .exp-v.exp-pos { color: var(--exp-pos); }
#exp-racine .exp-v.exp-neg { color: var(--exp-neg); }
#exp-racine .exp-cat-t { font-size: 12.5px; color: #3A3A3A; max-width: 170px; display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
#exp-racine .exp-pays { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #3A3A3A; }
#exp-racine .exp-pays .ca-drapeau svg, #exp-racine .exp-e-opt .ca-drapeau svg { width: 19px; height: 13px; display: block; }
#exp-racine .exp-pays .ca-drapeau, #exp-racine .exp-e-opt .ca-drapeau { width: auto; height: auto; flex: none; }
#exp-racine .exp-type {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--u); padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--u) 9%, #FFFFFF);
}

/* Vignettes : mêmes sources que les fiches. */
#exp-racine .exp-vig {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
#exp-racine .exp-vig-img { border-radius: 50%; background: #F3F3F3; }
#exp-racine .exp-vig-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
#exp-racine .exp-vig-ko { background: #EFEFEF; }
#exp-racine .exp-vig-mono { font-size: 11px; font-weight: 700; letter-spacing: .02em; border-radius: 50%; }
#exp-racine .exp-vig-ico { font-size: 13px; }
#exp-racine .exp-vig-drapeau { border-radius: 0; }
#exp-racine .exp-vig-drapeau .ca-drapeau { width: auto !important; height: auto !important; display: inline-flex; }
#exp-racine .exp-vig-drapeau svg { width: 28px; height: 19px; display: block; border-radius: 3px; }

#exp-racine .exp-plus-cadre { display: flex; justify-content: center; margin-top: 14px; }
body .per-page #exp-racine button.exp-plus,
#exp-racine button.exp-plus {
  height: 38px; padding: 0 20px !important; background: #FFFFFF !important;
  border: 1px solid var(--exp-filet) !important; border-radius: 999px !important;
  color: #0D0D0D !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer;
}
#exp-racine button.exp-plus span { color: var(--exp-pale); font-weight: 500; }
#exp-racine button.exp-plus:hover { border-color: #0D0D0D !important; }

#exp-racine .exp-vide { background: #FFFFFF; border: 1px dashed rgba(13,13,13,.16); border-radius: 14px; padding: 34px 20px; text-align: center; color: var(--exp-gris); font-size: 13.5px; }
#exp-racine .exp-vide-t { font-size: 15px; font-weight: 700; color: #0D0D0D; margin-bottom: 4px; }
#exp-racine .exp-attente { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 0; color: var(--exp-gris); font-size: 13.5px; }
#exp-racine .exp-roue { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #E4E4E4; animation: exp-tour .8s linear infinite; }
@keyframes exp-tour { to { transform: rotate(360deg); } }

#exp-racine .exp-pied { font-size: 12px; color: var(--exp-pale); margin-top: 16px; line-height: 1.6; }

/* ── Le nuage ──────────────────────────────────────────────────────── */
#exp-racine .exp-n-axes { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12.5px; color: var(--exp-gris); font-weight: 600; }
#exp-racine .exp-n-axes label { display: inline-flex; align-items: center; gap: 8px; }
#exp-racine .exp-n-axes select {
  height: 34px; padding: 0 30px 0 12px; border: 1px solid var(--exp-filet); border-radius: 10px; background: #FFFFFF;
  font: 600 13px Inter, sans-serif; color: #0D0D0D; cursor: pointer; max-width: 260px;
}
#exp-racine .exp-n-info { margin-left: auto; font-weight: 500; color: var(--exp-pale); }
#exp-racine .exp-n-lec {
  display: flex; align-items: center; gap: 22px; height: 52px; padding: 0 16px;
  background: #FFFFFF; border: 1px solid var(--exp-filet); border-bottom: 0; border-radius: 14px 14px 0 0;
}
#exp-racine .exp-n-aide { font-size: 12.5px; color: var(--exp-pale); }
#exp-racine .exp-n-val { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }
#exp-racine .exp-n-val i { font-style: normal; font-weight: 500; color: var(--exp-pale); margin-right: 4px; }
#exp-racine .exp-n-cadre { background: #FFFFFF; border: 1px solid var(--exp-filet); border-radius: 0 0 14px 14px; padding: 6px 8px 4px; }
#exp-racine .exp-n-svg { display: block; width: 100%; height: auto; overflow: visible; }
#exp-racine .exp-n-grille { stroke: #EFEFEF; stroke-width: 1; }
#exp-racine .exp-n-grad { font: 500 11px Inter, sans-serif; fill: #8A8A8A; font-variant-numeric: tabular-nums; }
#exp-racine .exp-n-med { stroke: #C9C9C9; stroke-width: 1; stroke-dasharray: 4 4; }
#exp-racine .exp-n-medt { font: 500 10.5px Inter, sans-serif; fill: #A3A3A3; }
#exp-racine .exp-n-axe { font: 600 11.5px Inter, sans-serif; fill: #5A5A5A; }
#exp-racine .exp-n-pt { fill-opacity: .5; stroke-opacity: .9; stroke-width: 1; }
#exp-racine .exp-n-pt.exp-n-bord { fill-opacity: .18; stroke-dasharray: 2 2; }
#exp-racine .exp-n-et { font: 600 11px Inter, sans-serif; fill: #262626; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
#exp-racine .exp-n-sel { fill: none; stroke-width: 2.5; pointer-events: none; }

/* ── Fenêtres (ajout d'un critère, éditeur) ────────────────────────── */
#exp-racine .exp-pop {
  position: absolute; z-index: 60;
  background: #FFFFFF; border: 1px solid rgba(13,13,13,.08); border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(13,13,13,.28), 0 2px 6px rgba(13,13,13,.06);
  padding: 14px; animation: exp-pop .14s ease-out;
}
@keyframes exp-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
#exp-racine .exp-pop-ajout { width: min(680px, 100%); }
#exp-racine .exp-pop-tete input, #exp-racine .exp-e-cq {
  width: 100%; height: 38px; padding: 0 14px !important; border: 1px solid var(--exp-filet) !important; border-radius: 10px !important;
  font: 500 13.5px Inter, sans-serif !important; outline: none; background: #FAFAFA !important; box-shadow: none !important;
}
#exp-racine .exp-pop-tete input:focus, #exp-racine .exp-e-cq:focus { border-color: var(--u) !important; background: #FFFFFF !important; }
#exp-racine .exp-pop-liste {
  margin-top: 12px; max-height: 360px; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 18px; align-items: start;
}
#exp-racine .exp-pop-g { display: flex; flex-direction: column; gap: 1px; margin-bottom: 8px; }
#exp-racine .exp-pop-g[hidden] { display: none; }
#exp-racine .exp-pop-gt { font-size: 11.5px; font-weight: 700; color: var(--exp-pale); padding: 4px 8px 3px; }
body .per-page #exp-racine button.exp-pop-it,
#exp-racine button.exp-pop-it {
  text-align: left; background: transparent !important; border: 0 !important; border-radius: 8px !important;
  padding: 6px 8px !important; font-size: 13px !important; font-weight: 500 !important; color: #262626 !important;
  cursor: pointer; line-height: 1.3; height: auto;
}
#exp-racine button.exp-pop-it:hover { background: color-mix(in srgb, var(--u) 8%, #FFFFFF) !important; color: var(--u) !important; }
#exp-racine button.exp-pop-it.deja { color: var(--u) !important; font-weight: 700 !important; }
#exp-racine button.exp-pop-it.deja::after { content: " ✓"; }

#exp-racine .exp-pop-edit { width: 380px; max-width: 100%; }
#exp-racine .exp-e-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#exp-racine .exp-e-titre { font-size: 14px; font-weight: 700; line-height: 1.35; }
body .per-page #exp-racine button.exp-e-fermer,
#exp-racine button.exp-e-fermer {
  background: transparent !important; border: 0 !important; padding: 0 4px !important; height: auto;
  font-size: 20px !important; font-weight: 400 !important; color: var(--exp-pale) !important; cursor: pointer; line-height: 1;
}
#exp-racine .exp-e-aide { font-size: 12.5px; color: var(--exp-gris); line-height: 1.5; margin-top: 4px; }
#exp-racine .exp-h { position: relative; margin: 14px 2px 4px; }
#exp-racine .exp-h-svg { display: block; width: 100%; height: 70px; }
#exp-racine .exp-h-in { fill: var(--u); fill-opacity: .82; }
#exp-racine .exp-h-out { fill: #E2E2E2; }
#exp-racine .exp-h-vide { font-size: 12.5px; color: var(--exp-pale); padding: 18px 0; text-align: center; }
#exp-racine .exp-h-curs { position: relative; height: 20px; margin-top: -9px; }
#exp-racine .exp-h-curs::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: #E2E2E2; border-radius: 2px; }
#exp-racine .exp-h-curs input[type=range] {
  -webkit-appearance: none; appearance: none; position: absolute; left: 0; top: 0; width: 100%; height: 20px;
  margin: 0; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
  pointer-events: none; outline: none;
}
#exp-racine .exp-h-curs input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 20px; }
#exp-racine .exp-h-curs input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: #FFFFFF; border: 2.5px solid var(--u); box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
#exp-racine .exp-h-curs input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.1); }
#exp-racine .exp-h-curs input[type=range]::-moz-range-thumb {
  pointer-events: auto; cursor: grab; width: 14px; height: 14px; border-radius: 50%;
  background: #FFFFFF; border: 2.5px solid var(--u); box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
#exp-racine .exp-h-curs input[type=range]::-moz-range-track { background: transparent; }
#exp-racine .exp-h-bornes { display: flex; justify-content: space-between; font-size: 11px; color: var(--exp-pale); margin-top: 4px; font-variant-numeric: tabular-nums; }
#exp-racine .exp-e-saisie { display: flex; align-items: flex-end; gap: 6px; margin-top: 12px; }
#exp-racine .exp-e-saisie label { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--exp-gris); }
#exp-racine .exp-e-saisie input {
  width: 108px; height: 36px; padding: 0 10px !important; border: 1px solid var(--exp-filet) !important; border-radius: 9px !important;
  font: 600 13.5px Inter, sans-serif !important; font-variant-numeric: tabular-nums; outline: none; background: #FFFFFF !important; box-shadow: none !important;
}
#exp-racine .exp-e-saisie input:focus { border-color: var(--u) !important; }
#exp-racine .exp-e-u { font-size: 12.5px; color: var(--exp-pale); padding: 0 8px 10px 0; min-width: 18px; }
#exp-racine .exp-e-pied { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--exp-filet); }
#exp-racine .exp-e-n { font-size: 13px; }
#exp-racine .exp-e-sv { font-size: 11.5px; color: var(--exp-pale); flex: 1 1 100%; order: 3; }
body .per-page #exp-racine button.exp-e-ret,
#exp-racine button.exp-e-ret {
  margin-left: auto; background: transparent !important; border: 0 !important; padding: 0 !important; height: auto;
  color: var(--exp-gris) !important; font-size: 12.5px !important; font-weight: 600 !important; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(13,13,13,.25);
}
#exp-racine .exp-e-ret + .exp-e-ret { margin-left: 0; }
#exp-racine .exp-e-cq { margin-top: 10px; }
#exp-racine .exp-e-liste { margin-top: 10px; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
#exp-racine .exp-e-opt {
  display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  font-size: 13px; color: #262626; font-weight: 500;
}
#exp-racine .exp-e-opt[hidden] { display: none; }
#exp-racine .exp-e-opt:hover { background: #F6F6F6; }
#exp-racine .exp-e-opt.vide { color: #B5B5B5; }
#exp-racine .exp-e-opt input { accent-color: var(--u); width: 15px; height: 15px; margin: 0; flex: none; }
#exp-racine .exp-e-ol { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#exp-racine .exp-e-oc { font-size: 12px; color: var(--exp-pale); font-variant-numeric: tabular-nums; }

/* ── Écrans étroits ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  #exp-racine .exp-questions { flex-direction: column; gap: 8px; }
  #exp-racine .exp-q-lib { line-height: 1.2; }
  #exp-racine .exp-recherche { margin-left: 0; width: 100%; }
  #exp-racine .exp-pop-edit, #exp-racine .exp-pop-ajout { width: calc(100vw - 32px); }
  #exp-racine .exp-nom-n, #exp-racine .exp-nom-s { max-width: 150px; }
  #exp-racine .exp-n-lec { height: auto; min-height: 52px; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; }
}
