/* Vitrimap - Épidémies (1.001.22), chargé seulement par /services/epidemies */
.epi-recherche { margin: 0 0 16px; }
.epi-barre { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.epi-onglets, .epi-echelle { display: flex; flex-wrap: wrap; border: 1px solid var(--trait); background: var(--blanc); }
.epi-onglets button, .epi-echelle button { border: 0; border-right: 1px solid var(--trait); background: none; padding: 9px 14px; font: inherit; font-weight: 700; color: var(--gris); cursor: pointer; border-radius: 0; }
.epi-onglets button:last-child, .epi-echelle button:last-child { border-right: 0; }
.epi-onglets button[aria-selected="true"] { background: var(--encre, #0E1116); color: #fff; }
.epi-echelle button[aria-pressed="true"] { background: #1D5FA8; color: #fff; }
.epi-corps { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: 16px; align-items: start; }
.epi-plan-boite { position: sticky; top: 90px; }
.epi-plan { height: calc(100vh - 150px); min-height: 460px; max-height: 780px; border-radius: var(--r-cadre); overflow: hidden; background: var(--fond); z-index: 0; }
.epi-fiche { background: var(--blanc); box-shadow: var(--ombre); border-radius: var(--r-cadre); padding: 16px; min-width: 0; }
.epi-mal { font-size: 20px; margin: 0 0 4px; }
.epi-def, .epi-unite { color: var(--gris); font-size: 13px; margin: 0; text-align: justify; }
.epi-degrade { height: 12px; margin: 12px 0 4px; border: 1px solid rgba(0,0,0,.1); }
.epi-graduation { display: flex; justify-content: space-between; font-size: 12px; color: var(--gris); }
.epi-unite { margin-top: 4px; }
.epi-choix { margin-top: 14px; border-top: 1px solid var(--trait); padding-top: 12px; }
.epi-choix h3 { font-size: 18px; margin: 0; }
.epi-sous { color: var(--gris); font-size: 13px; }
.epi-chiffre { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.epi-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.epi-badge { display: inline-block; padding: 3px 10px; font-weight: 700; font-size: 13px; color: #fff; }
.epi-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--trait); font-size: 14px; }
.epi-ligne:first-of-type { margin-top: 12px; }
.epi-haut { color: #B42318; font-weight: 700; }
.epi-bas { color: #067647; font-weight: 700; }
.epi-courbe { width: 100%; height: 70px; margin-top: 4px; }
.epi-lab { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-top: 12px; }
.epi-vide { color: var(--gris); font-size: 14px; }
.epi-source { font-size: 12px; color: var(--gris); margin: 14px 0 0; text-align: justify; }
.epi-source a, .epi-choix a { text-decoration: none; }
.epi-dom { margin-top: 16px; }
.epi-dom h2 { font-size: 17px; margin: 0 0 8px; }
.epi-dom-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.epi-dom-grille button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--blanc); border: 1px solid var(--trait); border-left: 8px solid #ccc; padding: 10px 12px; font: inherit; cursor: pointer; border-radius: 0; }
.epi-dom-grille b { font-size: 14px; }
.epi-dom-grille span { font-size: 13px; color: var(--gris); }
.epi-tip { font: 13px/1.4 var(--corps, inherit); }
.epi-texte p { text-align: justify; }
@media (max-width: 900px) {
  .epi-corps { grid-template-columns: 1fr; }
  .epi-plan-boite { position: static; }
  .epi-plan { height: 62vh; min-height: 380px; }
}
