/* Violences de masse (décision 0185) : complète atlas.css, comme la page « La Terre et le
   ciel ». Une forme et une couleur par contexte, une couleur par groupe de victimes, lisibles
   en clair et en sombre. */
:root {
  --k-ville: #9f1239; --k-captifs: #b45309; --k-groupe: #7e22ce; --k-colonial: #0f766e; --k-repression: #1e40af;
  --t-massacre: #9f1239; --t-tuerie: #b45309; --t-pogrom: #a16207; --t-extermination: #7e22ce; --t-genocide: #111827; --t-persecution: #475569; --t-deportation: #0f766e; --t-famine: #1e40af; --t-traite_europeenne: #0e7490;
  --v-civ: #be185d; --v-mil: #475569; --v-sd: #a8a29e;
  --n-epoque: #8a6a2c; --n-historien: #475569; --n-decompte: #111827; --n-officiel: #0e7490;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --k-ville: #fb7185; --k-captifs: #fbbf24; --k-groupe: #c084fc; --k-colonial: #2dd4bf; --k-repression: #93c5fd;
    --t-massacre: #fb7185; --t-tuerie: #fbbf24; --t-pogrom: #facc15; --t-extermination: #c084fc; --t-genocide: #f3f4f6; --t-persecution: #cbd5e1; --t-deportation: #2dd4bf; --t-famine: #93c5fd; --t-traite_europeenne: #67e8f9;
    --v-civ: #f472b6; --v-mil: #cbd5e1; --v-sd: #78716c;
    --n-epoque: #e0b65e; --n-historien: #aab4c4; --n-decompte: #f3f4f6; --n-officiel: #67e8f9;
  }
}
:root[data-theme="dark"] {
  --k-ville: #fb7185; --k-captifs: #fbbf24; --k-groupe: #c084fc; --k-colonial: #2dd4bf; --k-repression: #93c5fd;
  --t-massacre: #fb7185; --t-tuerie: #fbbf24; --t-pogrom: #facc15; --t-extermination: #c084fc; --t-genocide: #f3f4f6; --t-persecution: #cbd5e1; --t-deportation: #2dd4bf; --t-famine: #93c5fd; --t-traite_europeenne: #67e8f9;
  --v-civ: #f472b6; --v-mil: #cbd5e1; --v-sd: #78716c;
  --n-epoque: #e0b65e; --n-historien: #aab4c4; --n-decompte: #f3f4f6; --n-officiel: #67e8f9;
}

/* Repères : une forme par contexte. L'anneau dit le plus haut chiffre des sources. */
.mk-ville { fill: var(--k-ville); }
.mk-captifs { fill: var(--k-captifs); }
.mk-groupe { fill: var(--k-groupe); }
.mk-colonial { fill: var(--k-colonial); }
.mk-repression { fill: var(--k-repression); }
.anneau .mk { fill: none; stroke-width: 1; opacity: .6; }
.anneau .mk-ville { stroke: var(--k-ville); } .anneau .mk-captifs { stroke: var(--k-captifs); }
.anneau .mk-groupe { stroke: var(--k-groupe); } .anneau .mk-colonial { stroke: var(--k-colonial); }
.anneau .mk-repression { stroke: var(--k-repression); }
/* Couleur du type (0228), au-dessus de celle du contexte (légende et filtres). */
.mk.mt-massacre { fill: var(--t-massacre); } .anneau .mk.mt-massacre { fill: none; stroke: var(--t-massacre); }
.mk.mt-tuerie { fill: var(--t-tuerie); } .anneau .mk.mt-tuerie { fill: none; stroke: var(--t-tuerie); }
.mk.mt-pogrom { fill: var(--t-pogrom); } .anneau .mk.mt-pogrom { fill: none; stroke: var(--t-pogrom); }
.mk.mt-extermination { fill: var(--t-extermination); } .anneau .mk.mt-extermination { fill: none; stroke: var(--t-extermination); }
.mk.mt-genocide { fill: var(--t-genocide); } .anneau .mk.mt-genocide { fill: none; stroke: var(--t-genocide); }
.mk.mt-persecution { fill: var(--t-persecution); } .anneau .mk.mt-persecution { fill: none; stroke: var(--t-persecution); }
.mk.mt-deportation { fill: var(--t-deportation); } .anneau .mk.mt-deportation { fill: none; stroke: var(--t-deportation); }
.mk.mt-famine { fill: var(--t-famine); } .anneau .mk.mt-famine { fill: none; stroke: var(--t-famine); }
.mk.mt-traite_europeenne { fill: var(--t-traite_europeenne); } .anneau .mk.mt-traite_europeenne { fill: none; stroke: var(--t-traite_europeenne); }
.pt-massacre { background: var(--t-massacre); }
.pt-tuerie { background: var(--t-tuerie); }
.pt-pogrom { background: var(--t-pogrom); }
.pt-extermination { background: var(--t-extermination); }
.pt-genocide { background: var(--t-genocide); }
.pt-persecution { background: var(--t-persecution); }
.pt-deportation { background: var(--t-deportation); }
.pt-famine { background: var(--t-famine); }
.pt-traite_europeenne { background: var(--t-traite_europeenne); }
.k-type { display: inline-flex; align-items: center; gap: .3rem; }
/* Les plus meurtriers : liseré foncé et nom en gras, sur toute la frise. */
.majeur > .mk, .majeur > .anneau .mk { stroke: var(--texte); stroke-width: 1.4; }
.majeur > .anneau .mk { stroke-dasharray: 2 1.5; opacity: .8; }

/* Filtres : trois familles de puces (contexte, victimes, chiffres), cochées par défaut. */
.outils-violences { flex-wrap: wrap; align-items: flex-start; }
.outils-violences .selects { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.familles { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 auto; min-inline-size: 0; }
.page-violences .genres { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.page-violences .genres .fam { float: inline-start; inline-size: 4.8rem; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); }
.page-violences .genres label { position: relative; }
.page-violences .genres input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.page-violences .genres label span { display: inline-flex; align-items: center; gap: .35rem; padding: .24rem .6rem .24rem .45rem; border: 1px solid var(--ligne); border-radius: 99px; background: var(--carte); color: var(--discret); font-size: .79rem; white-space: nowrap; cursor: pointer; }
.page-violences .genres label span svg { inline-size: 13px; block-size: 13px; overflow: visible; }
.page-violences .genres label small { color: var(--discret); font-size: .72rem; font-weight: 400; }
.page-violences .genres input:checked + span { color: var(--texte); border-color: color-mix(in srgb, var(--k, var(--discret)) 55%, var(--ligne)); background: color-mix(in srgb, var(--k, var(--discret)) 12%, var(--carte)); font-weight: 600; }
.page-violences .genres input:disabled + span { opacity: .5; cursor: default; }
.page-violences .genres input:focus-visible + span { outline: 2px solid var(--or-vif); outline-offset: 1px; }
.pastille { display: inline-block; inline-size: 10px; block-size: 10px; border-radius: 3px; }
.r-civ { background: var(--v-civ); } .r-mil { background: var(--v-mil); }
.r-sd { background: repeating-linear-gradient(135deg, var(--v-sd) 0 2px, transparent 2px 4px); border: 1px solid var(--v-sd); }
.nat-ic { display: inline-block; inline-size: 14px; block-size: 8px; border-radius: 4px; }
.nat-ic.n-epoque { border: 1.5px solid var(--n-epoque); background: var(--carte); }
.nat-ic.n-historien { border: 1px solid var(--n-historien); background: repeating-linear-gradient(135deg, var(--n-historien) 0 2px, transparent 2px 4px); }
.nat-ic.n-decompte { background: var(--n-decompte); border-radius: 1px; }
.nat-ic.n-officiel { background: var(--carte); border: 2px solid var(--n-officiel); border-radius: 1px; }

/* Frise : bandes par aire, une ligne par contexte. */
.page-violences .atlas-pano .aire-fond { fill: color-mix(in srgb, var(--c) 10%, transparent); }
.page-violences .atlas-pano .aire-bande { fill: var(--c); }
.page-violences .atlas-pano .aire-nom { font-size: 11.5px; }
.page-violences .atlas-pano .genre-nom { font-size: 10.5px; fill: var(--texte); }
.page-violences .atlas-pano .ligne-genre { stroke: var(--ligne); stroke-width: 1; }
.page-violences .atlas-pano .marques-aire .mk { opacity: .5; }
.page-violences .atlas-pano a:hover .mk, .page-violences .atlas-pano a:focus-visible .mk { opacity: 1; filter: drop-shadow(0 0 2px var(--texte)); }
.page-violences .atlas-pano .pic-nom { font-size: 9.5px; font-weight: 500; fill: var(--texte); paint-order: stroke; stroke: var(--carte); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.page-violences .atlas-pano .pic-nom.majeur { font-weight: 700; }
.page-violences .atlas-pano-legende { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; margin: .4rem 0 0; font-size: .74rem; color: var(--discret); }
.page-violences .atlas-pano .atlas-pano-legende svg { display: inline-block; inline-size: 12px; min-inline-size: 0; block-size: 12px; overflow: visible; vertical-align: -2px; margin-inline-end: .3rem; }
.page-violences .leg-taille { font-style: italic; }


/* Nombre d'événements et nombre de morts, par période : mêmes colonnes ; une colonne filtre. */
.periodes-svg { inline-size: 100%; min-inline-size: 760px; display: block; margin-top: .4rem; }
.periodes-svg .col { cursor: pointer; }
.periodes-svg .col-fond { fill: transparent; }
.periodes-svg .col:hover .col-fond, .periodes-svg .col:focus-visible .col-fond { fill: color-mix(in srgb, var(--or-vif) 7%, transparent); }
.periodes-svg .col.sel .col-fond { fill: color-mix(in srgb, var(--or-vif) 12%, transparent); stroke: color-mix(in srgb, var(--or-vif) 60%, transparent); }
.periodes-svg .col-nom { font-size: 12px; font-weight: 700; fill: var(--texte); }
.periodes-svg .ax-t { font-size: 12px; font-weight: 700; fill: var(--texte); }
.periodes-svg .ax-s { font-size: 10px; fill: var(--discret); }
.periodes-svg .grille { stroke: var(--ligne); stroke-dasharray: 2 3; }
.periodes-svg .base { stroke: var(--ligne); }
.periodes-svg .b-n { fill: color-mix(in srgb, var(--texte) 70%, transparent); }
.periodes-svg .v-n { font-size: 13px; font-weight: 700; fill: var(--texte); }
.periodes-svg .v-m { font-size: 11px; font-weight: 600; fill: var(--texte); }
.periodes-svg .v-sans { font-size: 9.5px; fill: var(--discret); font-style: italic; }
.m-bas.m-civ { fill: var(--v-civ); } .m-bas.m-mil { fill: var(--v-mil); } .m-bas.m-sd { fill: var(--v-sd); }
.m-haut { opacity: .28; } .m-haut.m-civ { fill: var(--v-civ); } .m-haut.m-mil { fill: var(--v-mil); } .m-haut.m-sd { fill: var(--v-sd); }
.m-trait { stroke-width: 2; } .m-trait.m-civ { stroke: var(--v-civ); } .m-trait.m-mil { stroke: var(--v-mil); } .m-trait.m-sd { stroke: var(--v-sd); }

/* Matrice période × région : chaque case filtre la page ; Nombre, Morts ou les deux. */
.bloc-matrice, .bloc-periodes, .bloc-sources { padding: .6rem .8rem .7rem; }
.page-violences .atlas-bloc + .atlas-bloc { margin-top: 1rem; }
.bloc-matrice .atlas-pano-tete { display: flex; align-items: center; gap: .4rem 1rem; flex-wrap: wrap; }
.mat-bascule { margin-inline-start: auto; }
.matrice-defile { overflow-x: auto; }
.matrice { inline-size: 100%; min-inline-size: 760px; border-collapse: separate; border-spacing: 4px; font-size: .8rem; }
.matrice th { font-weight: 600; color: var(--discret); text-align: center; padding: .2rem; }
.matrice tbody th { text-align: start; color: var(--texte); white-space: nowrap; padding-inline-end: .8rem; }
.matrice tbody th i { display: inline-block; inline-size: 3px; block-size: 1rem; background: var(--c); vertical-align: -3px; margin-inline-end: .5rem; border-radius: 2px; }
.matrice td a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .3rem .2rem .35rem; border: 1px solid var(--ligne); border-radius: 7px; background: color-mix(in srgb, var(--texte) var(--p, 0%), var(--carte)); color: var(--texte); text-decoration: none; font-variant-numeric: tabular-nums; }
.matrice td a:hover, .matrice td a:focus-visible { border-color: var(--or-vif); }
.matrice td a[aria-current] { outline: 2.5px solid var(--or-vif); outline-offset: 1px; }
.matrice .c-n { font-size: .95rem; }
.matrice .c-m { font-size: .68rem; font-weight: 500; }
.matrice .vide { display: block; text-align: center; color: var(--discret); padding: .9rem 0; border: 1px dashed var(--ligne); border-radius: 7px; }
.matrice .repart { display: flex; inline-size: 78%; block-size: 4px; border-radius: 2px; overflow: hidden; gap: 1px; margin-top: .15rem; }
.matrice .repart i { display: block; }
.matrice td.tot a { background: var(--carte); color: var(--discret); }
.matrice td.tot .c-n { color: var(--texte); }
.bloc-matrice:has(input[value="n"]:checked) .matrice .c-m,
.bloc-matrice:has(input[value="n"]:checked) .matrice .repart { display: none; }
.bloc-matrice:has(input[value="m"]:checked) .matrice .c-n { display: none; }
.bloc-matrice:has(input[value="m"]:checked) .matrice .c-m { font-size: .8rem; font-weight: 700; }

/* À la une et grille : badge du contexte, chiffres par victimes, chacun avec sa source. */
.page-violences .k-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem .12rem .38rem; border-radius: 99px; font-size: .7rem; font-weight: 700; color: var(--texte); background: color-mix(in srgb, var(--k) 16%, var(--carte)); border: 1px solid color-mix(in srgb, var(--k) 45%, transparent); }
.page-violences .k-badge svg { inline-size: 11px; block-size: 11px; overflow: visible; }
.page-violences .une-sil { position: relative; }
.page-violences .une-sil .k-badge { position: absolute; inset-block-start: .5rem; inset-inline-start: .5rem; }
.page-violences .mini-carte .onde { fill: none; stroke: var(--c); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.page-violences .mini-carte .epi { fill: var(--c); fill-opacity: 1; stroke: var(--texte); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.vm-une .une-carte h3 a { color: inherit; text-decoration: none; }
.vm-une .une-carte h3 a:hover { text-decoration: underline; }
.vm-une .une-carte:hover { box-shadow: none; border-color: var(--ligne); border-block-start-color: var(--c); }
.fourch { margin-top: .7rem; padding-top: .55rem; border-top: 1px solid var(--ligne); }
.fb-titre { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--discret); }
.fb-titre small { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: italic; margin-inline-start: .3rem; }
.fourch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fb-g { margin-top: .45rem; }
.fb-groupe { margin: 0 0 .25rem; font-size: .74rem; font-weight: 700; display: flex; align-items: center; gap: .35rem; }
.fb-groupe i { inline-size: 10px; block-size: 10px; border-radius: 3px; }
.fb-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; font-size: .8rem; }
.fb-txt b { font-size: .92rem; font-variant-numeric: tabular-nums; }
.fb-nat { font-size: .68rem; font-weight: 600; padding: 0 .35rem; border-radius: 99px; border: 1px solid currentColor; }
.fb-nat.n-epoque { color: var(--n-epoque); } .fb-nat.n-historien { color: var(--n-historien); }
.fb-nat.n-decompte { color: var(--n-decompte); } .fb-nat.n-officiel { color: var(--n-officiel); }
.fb-src { font-size: .72rem; color: var(--or); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.fb-src.rien { color: var(--discret); text-decoration: none; font-style: italic; }
.fb-axe { position: relative; block-size: 10px; margin-top: .2rem; background: linear-gradient(var(--ligne), var(--ligne)) 0 50% / 100% 1px no-repeat; }
.fb-seg, .fb-pt { position: absolute; inset-block-start: 1px; block-size: 8px; border-radius: 4px; background: var(--fb, var(--v-sd)); }
.fb-pt { inline-size: 8px; margin-left: -4px; }
.fb-seg.v-civ, .fb-pt.v-civ { --fb: var(--v-civ); } .fb-seg.v-mil, .fb-pt.v-mil { --fb: var(--v-mil); } .fb-seg.v-sd, .fb-pt.v-sd { --fb: var(--v-sd); }
.fb-seg.n-epoque, .fb-pt.n-epoque { background: var(--carte); border: 1.5px solid var(--fb); }
.fb-seg.n-historien, .fb-pt.n-historien { background: repeating-linear-gradient(135deg, var(--fb) 0 2px, transparent 2px 4px); border: 1px solid var(--fb); }
.fb-seg.n-decompte, .fb-pt.n-decompte { border-radius: 1px; }
.fb-seg.n-officiel, .fb-pt.n-officiel { background: var(--carte); border: 2px solid var(--fb); border-radius: 1px; }
.fb-vide { position: absolute; left: 0; inset-block-start: -2px; font-size: .68rem; font-style: italic; color: var(--discret); background: var(--carte); padding-right: .3rem; }
.fourch > .fb-vide { position: static; background: none; padding: 0; margin: 0; }
.fb-ticks { position: relative; block-size: 1rem; margin-top: .3rem; font-size: .64rem; color: var(--discret); }
.fb-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.fb-ticks span:first-child { transform: none; } .fb-ticks span:last-child { transform: translateX(-100%); }
.une-sources { margin-top: .7rem; padding-top: .5rem; border-top: 1px solid var(--ligne); font-size: .72rem; }
.une-sources summary { font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--discret); cursor: pointer; }
.une-sources ol { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .35rem; color: var(--texte); line-height: 1.35; }
.une-sources li { display: grid; grid-template-columns: 1.2rem 1fr; }
.une-sources li:target { background: color-mix(in srgb, var(--or-vif) 15%, transparent); border-radius: 4px; }
.une-sources .n { font-weight: 700; color: var(--or); }
.une-sources a { color: inherit; }
.legende-chiffres { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: .7rem 0 0; font-size: .76rem; color: var(--discret); }
.legende-chiffres b { color: var(--texte); font-weight: 600; }
.legende-chiffres .nat-ic { margin-inline-end: .35rem; }
.v-tag { display: inline-block; margin-inline-start: .35rem; font-size: .66rem; font-weight: 600; padding: .05rem .4rem; border-radius: 99px; border: 1px solid var(--ligne); color: var(--discret); }
.v-tag.t-civ { color: var(--v-civ); border-color: color-mix(in srgb, var(--v-civ) 50%, transparent); }
.v-tag.t-mil, .v-tag.t-mix { color: var(--texte); }
.page-violences .atlas-carte .k-badge { margin-bottom: .3rem; }
.mf { position: relative; flex: 0 0 64px; block-size: 8px; background: linear-gradient(var(--ligne), var(--ligne)) 0 50% / 100% 1px no-repeat; }
.mf-seg, .mf-pt { position: absolute; inset-block-start: 0; block-size: 8px; border-radius: 4px; background: var(--v-civ); opacity: .85; }
.mf-pt { inline-size: 6px; margin-left: -3px; }
.mf-seg.v-mil, .mf-pt.v-mil { background: var(--v-mil); } .mf-seg.v-sd, .mf-pt.v-sd { background: var(--v-sd); }
.mf-seg.v-mix, .mf-pt.v-mix { background: linear-gradient(90deg, var(--v-civ), var(--v-mil)); }
.mf-vide { position: absolute; inset: 3px 0; border-top: 1px dashed var(--discret); }
.page-violences .atlas-pied > span:nth-child(2) { flex: 1; }

/* Sources et méthode */
.bloc-sources { margin-top: 1.4rem; }
.bloc-sources dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: .5rem 0 0; }
.bloc-sources dt { font-weight: 700; font-size: .85rem; margin-bottom: .3rem; }
.bloc-sources dd { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--texte); }
@media (max-width: 1200px) { .bloc-sources dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .bloc-sources dl { grid-template-columns: minmax(0, 1fr); } }
/* L'axe du temps reste de gauche à droite, même en arabe (comme la frise). */
.periodes-svg text { direction: ltr; unicode-bidi: plaintext; }
.matrice tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--carte); }
@media (max-width: 40rem) { .matrice tbody th { white-space: normal; min-inline-size: 7.5rem; } }

.sr-seulement { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Page refondue (décision 0269) : en-tête chiffré, À la une, barre collante,
   onglets, graphique des fourchettes, matrice type × période, régions, tableau. ---------- */
.vm2 { display: flex; flex-direction: column; gap: 1rem; }
.vm2 h2 { font: 600 1.15rem/1.2 var(--titre); margin: 0; }
.vm2-sous { margin: .15rem 0 0; font-size: .8rem; color: var(--discret); }
.vm2-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-top: .4rem; }
.vm2-tete h1 { font: 600 2rem/1.1 var(--titre); margin: 0 0 .35rem; }
.vm2-chapo { margin: 0; color: var(--discret); }
.vm2-chapo a { color: var(--or); font-weight: 600; }
.vm2-kpis { display: grid; grid-template-columns: repeat(4, minmax(9.5rem, 1fr)); gap: .6rem; }
.vm2-kpi { display: block; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: .6rem .85rem; color: inherit; text-decoration: none; }
a.vm2-kpi:hover, a.vm2-kpi:focus-visible { border-color: var(--texte); }
.vm2-kpi b { display: block; font: 600 1.6rem/1.1 var(--chiffres); }
.vm2-kpi b small { font-size: .85rem; color: var(--discret); }
.vm2-kpi span { display: block; font-size: .76rem; color: var(--discret); line-height: 1.25; margin-top: .15rem; }
.vm2-jauge { display: block; block-size: 4px; border-radius: 2px; background: var(--panneau); margin-top: .4rem; overflow: hidden; }
.vm2-jauge i { display: block; block-size: 100%; background: var(--texte); }

.vm2-bloc, .vm2-une { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: .9rem 1rem; }
.vm2-dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .7rem; }
.vm2-dossier { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: .75rem .9rem; border: 1px solid var(--ligne); border-top: 4px solid var(--texte); border-radius: 12px; color: inherit; text-decoration: none; }
.vm2-dossier.d-colonisation { border-top-color: var(--or); }
.vm2-dossier b { grid-column: 1; font: 600 1.05rem/1.25 var(--titre); }
.vm2-dossier > span:not(.vm2-badge):not(.vm2-ouvrir) { grid-column: 1; font-size: .8rem; color: var(--discret); }
.vm2-dossier .vm2-badge { grid-column: 1; justify-self: start; }
.vm2-ouvrir { grid-column: 2; grid-row: 1 / span 3; border: 1px solid var(--ligne); border-radius: 9px; padding: .3rem .7rem; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.vm2-dossier:hover .vm2-ouvrir, .vm2-dossier:focus-visible .vm2-ouvrir { background: var(--texte); color: var(--fond); }
.vm2-cartes-une { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.vm2-carte-une { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .85rem; border: 1px solid var(--ligne); border-top: 4px solid var(--k); border-radius: 12px; color: inherit; text-decoration: none; }
.vm2-carte-une:hover, .vm2-carte-une:focus-visible { border-color: var(--k); }
.vm2-carte-une > b { font: 600 1rem/1.25 var(--titre); }
.vm2-carte-une .atlas-dates { margin: 0; font: .78rem var(--chiffres); color: var(--or); }
.vm2-ligne { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .72rem; color: var(--discret); }
.vm2-bilan { margin-top: .3rem; padding-top: .35rem; border-top: 1px dashed var(--ligne); font-size: .8rem; }
.vm2-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .1rem .5rem; background: var(--panneau); border: 1px solid var(--ligne); }
.vm2-badge.k { color: var(--k); background: color-mix(in srgb, var(--k) 10%, var(--carte)); border-color: color-mix(in srgb, var(--k) 35%, var(--carte)); }
.vm2-badge.k i { inline-size: 8px; block-size: 8px; border-radius: 2px; background: var(--k); }

/* Barre de filtres : collée en haut de l'écran pendant la lecture. */
.vm2-barre { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; gap: .55rem; padding: .65rem .75rem; border: 1px solid var(--ligne); border-radius: 14px; background: color-mix(in srgb, var(--fond) 94%, transparent); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgb(15 23 42 / .05); }
.vm2-rangee { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .5rem; }
.vm2-champ, .vm2-barre .selects select, .vm2-champ select { font: inherit; font-size: .85rem; border: 1px solid var(--ligne); background: var(--carte); color: var(--texte); border-radius: 9px; padding: .3rem .5rem; }
label.vm2-champ { padding: 0; border: 0; background: none; }
.vm2-barre .selects { display: contents; }
.vm2-barre .atlas-tri { margin: 0; }
.vm2-q { inline-size: 15rem; }
.vm2-etiq { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); white-space: nowrap; }
.vm2-seg { display: inline-flex; align-items: center; gap: 0; border: 0; padding: 0; margin: 0; }
.vm2-seg legend { float: inline-start; margin-inline-end: .45rem; padding: 0; }
.vm2-seg label, .vm2-seg > a { position: relative; }
.vm2-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vm2-seg span, .vm2-seg > a { display: block; padding: .3rem .65rem; font-size: .8rem; border: 1px solid var(--ligne); margin-inline-start: -1px; background: var(--carte); color: inherit; text-decoration: none; white-space: nowrap; }
.vm2-seg label:first-of-type span, .vm2-seg > a:first-of-type { border-start-start-radius: 9px; border-end-start-radius: 9px; }
.vm2-seg label:last-of-type span, .vm2-seg > a:last-of-type { border-start-end-radius: 9px; border-end-end-radius: 9px; }
.vm2-seg input:checked + span, .vm2-seg > a[aria-current] { background: var(--texte); color: var(--fond); border-color: var(--texte); font-weight: 600; }
.vm2-seg input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 1px; }
.vm2-seg input:disabled + span { opacity: .45; }
.vm2-seg.petit span, .vm2-seg.petit > a { padding: .22rem .55rem; font-size: .76rem; }
.vm2-avances { position: relative; }
.vm2-avances summary { cursor: pointer; list-style: none; border: 1px dashed var(--discret); border-radius: 9px; padding: .3rem .65rem; font-size: .8rem; font-weight: 600; }
.vm2-avances summary::-webkit-details-marker { display: none; }
.vm2-avances summary b { background: var(--texte); color: var(--fond); border-radius: 999px; padding: 0 .4rem; font-size: .7rem; }
.vm2-avances-corps { position: absolute; z-index: 30; inset-inline-start: 0; top: calc(100% + .35rem); display: flex; gap: 1.5rem; padding: .8rem 1rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; box-shadow: 0 18px 40px rgb(15 23 42 / .16); }
.vm2-avances-corps fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.vm2-avances-corps label { display: flex; gap: .4rem; align-items: center; font-size: .82rem; white-space: nowrap; }
.vm2-avances-corps small { color: var(--discret); font-family: var(--chiffres); }
.vm2-curseur { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.vm2-glissieres { position: relative; display: inline-block; inline-size: 13rem; block-size: 1.4rem; }
.vm2-glissieres input { position: absolute; inset: 0; inline-size: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.vm2-glissieres input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; inline-size: 15px; block-size: 15px; border-radius: 50%; background: var(--carte); border: 2px solid var(--texte); cursor: pointer; }
.vm2-glissieres input::-moz-range-thumb { pointer-events: auto; inline-size: 13px; block-size: 13px; border-radius: 50%; background: var(--carte); border: 2px solid var(--texte); cursor: pointer; }
.vm2-glissieres::before { content: ""; position: absolute; inset-inline: 6px; top: 50%; block-size: 4px; margin-top: -2px; border-radius: 2px; background: var(--ligne); }
.vm2-lecture { font: .8rem var(--chiffres); min-inline-size: 6.5rem; }
.vm2-pre { border: 1px solid var(--ligne); border-radius: 999px; padding: .22rem .7rem; font-size: .8rem; background: var(--carte); color: inherit; text-decoration: none; white-space: nowrap; }
.vm2-pre small { color: var(--discret); }
.vm2-pre.on { background: var(--doux); border-color: var(--or); font-weight: 600; }
.vm2-effacer { font-size: .8rem; color: var(--alerte); }

/* Onglets et actions */
.vm2-onglets { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .15rem; border-bottom: 1px solid var(--ligne); }
.vm2-onglets > a { padding: .55rem 1rem; font-weight: 600; color: var(--discret); text-decoration: none; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; position: relative; top: 1px; }
.vm2-onglets > a[aria-selected="true"] { background: var(--carte); border-color: var(--ligne); color: var(--texte); }
.vm2-onglets > a small { font-weight: 500; font-size: .75rem; }
.vm2-actions { margin-inline-start: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding-bottom: .4rem; }
.vm2-bouton { display: inline-block; border: 1px solid var(--ligne); background: var(--carte); color: var(--texte); border-radius: 9px; padding: .3rem .7rem; font: 600 .8rem var(--corps); text-decoration: none; cursor: pointer; white-space: nowrap; }
.vm2-bouton.or { background: var(--doux); border-color: var(--or); }
.vm2-actions .vm-citer { position: relative; }
.vm2-actions .vm-citer-corps { position: absolute; z-index: 30; inset-inline-end: 0; top: calc(100% + .35rem); inline-size: min(30rem, 90vw); }
.vm2-panneau { display: flex; flex-direction: column; gap: 1rem; padding-top: .9rem; }
.vm2-vide { color: var(--discret); }
.vm2-bloc-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .5rem; }
.vm2-defile { overflow-x: auto; }

/* Graphique des fourchettes */
.vm2-graphique { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: .9rem 1rem; }
.vm2-legende { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .2rem 0 .4rem; font-size: .76rem; color: var(--discret); }
.vm2-legende i { display: inline-block; inline-size: 10px; block-size: 10px; border-radius: 3px; margin-inline-end: .3rem; vertical-align: -1px; }
.vm2-legende i.plein { background: var(--texte); }
.vm2-legende i.hachure, .vm2-regions .hachure { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--discret) 45%, transparent) 0 2px, transparent 2px 5px); }
.vm2-forme svg { vertical-align: middle; margin-inline-end: .3rem; stroke: var(--texte); fill: none; }
.vm2-forme svg .b { fill: var(--texte); stroke: none; }
.vm2-forme svg .h { fill: var(--carte); stroke-width: 1.4; }
.vm2-svg { display: block; inline-size: 100%; min-inline-size: 60rem; block-size: auto; font-family: var(--corps); direction: ltr; unicode-bidi: isolate; }
.vm2-svg .bande { fill: color-mix(in srgb, var(--panneau) 55%, transparent); }
.vm2-svg .grille { stroke: var(--ligne); }
.vm2-svg .ax { font: 10.5px var(--chiffres); fill: var(--discret); }
.vm2-svg .ax.fort { font-weight: 700; fill: var(--texte); font-family: var(--corps); }
.vm2-svg .sans { fill: none; stroke: var(--ligne); stroke-dasharray: 3 3; }
.vm2-svg .vf line { stroke: var(--k); stroke-width: 2.4; stroke-linecap: round; opacity: .75; }
.vm2-svg .vf .b { fill: var(--k); }
.vm2-svg .vf .h { fill: var(--carte); stroke: var(--k); stroke-width: 1.5; }
.vm2-svg .vf .l { fill: none; stroke: var(--k); stroke-width: 1.2; }
.vm2-svg .vf:hover line, .vm2-svg .vf:focus-visible line { opacity: 1; stroke-width: 3.4; }
.vm2-svg .vf:hover .l, .vm2-svg .vf:focus-visible .l { fill: var(--k); }
.vm2-svg .et { font-size: 10.5px; font-weight: 700; fill: var(--k); paint-order: stroke; stroke: var(--carte); stroke-width: 3px; }
.vm2 .t-massacre { --k: var(--t-massacre); } .vm2 .t-tuerie { --k: var(--t-tuerie); } .vm2 .t-pogrom { --k: var(--t-pogrom); }
.vm2 .t-extermination { --k: var(--t-extermination); } .vm2 .t-genocide { --k: var(--t-genocide); } .vm2 .t-persecution { --k: var(--t-persecution); }
.vm2 .t-deportation { --k: var(--t-deportation); } .vm2 .t-famine { --k: var(--t-famine); } .vm2 .t-traite_europeenne { --k: var(--t-traite_europeenne); }

/* Matrice type × période et régions */
.vm2-grille2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; }
.vm2-mat { border-collapse: separate; border-spacing: 3px; inline-size: 100%; }
.vm2-mat th { font-size: .72rem; font-weight: 600; color: var(--discret); padding: 0 .15rem .2rem; line-height: 1.2; }
.vm2-mat th[scope="row"] { text-align: start; color: var(--texte); font-size: .8rem; white-space: nowrap; padding-inline-end: .5rem; }
.vm2-mat th[scope="row"] i { display: inline-block; inline-size: 9px; block-size: 9px; border-radius: 2px; background: var(--k); margin-inline-end: .4rem; }
.vm2-mat.regions th[scope="col"] { writing-mode: vertical-rl; transform: rotate(180deg); block-size: 8.5rem; text-align: start; }
.vm2-mat td { padding: 0; }
.vm2-mat td a, .vm2-mat .vide { display: flex; flex-direction: column; align-items: center; justify-content: center; min-block-size: 2.4rem; border-radius: 7px; color: var(--texte); text-decoration: none; background: color-mix(in srgb, var(--k) var(--p), var(--carte)); }
.vm2-mat td a.fonce { color: var(--fond); }
.vm2-mat td a b { font: 600 .9rem/1 var(--chiffres); }
.vm2-mat td a small { font-size: .6rem; opacity: .8; }
.vm2-mat td a[aria-current] { outline: 2px solid var(--texte); outline-offset: 1px; }
.vm2-mat .vide { background: none; color: var(--ligne); }
.vm2-mat .tot { font: .8rem var(--chiffres); text-align: end; padding-inline-start: .4rem; }
.vm2-regions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.vm2-regions a { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 2.5rem 2rem; align-items: center; gap: .5rem; padding: .12rem .3rem; border-radius: 6px; color: inherit; text-decoration: none; font-size: .8rem; }
.vm2-regions a:hover, .vm2-regions a[aria-current] { background: var(--panneau); }
.vm2-regions .barre { display: flex; block-size: 10px; }
.vm2-regions .barre i { display: block; block-size: 100%; }
.vm2-regions .plein { background: var(--texte); border-radius: 2px 0 0 2px; }
.vm2-regions b { font: 600 .78rem var(--chiffres); text-align: end; }
.vm2-regions small { font: .72rem var(--chiffres); color: var(--discret); text-align: end; }

/* Tableau */
.vm2-tab { border-collapse: collapse; inline-size: 100%; font-size: .82rem; }
.vm2-tab th { text-align: start; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--discret); padding: .45rem .5rem; border-bottom: 1px solid var(--ligne); white-space: nowrap; }
.vm2-tab th a { color: inherit; text-decoration: none; }
.vm2-tab th a::after { content: " ↕"; opacity: .45; }
.vm2-tab th a[aria-current]::after { content: " ↓"; opacity: 1; }
.vm2-tab td { padding: .42rem .5rem; border-bottom: 1px solid color-mix(in srgb, var(--ligne) 60%, transparent); vertical-align: middle; }
.vm2-tab td:first-child a { font-weight: 600; color: inherit; }
.vm2-tab .n { text-align: end; font-family: var(--chiffres); white-space: nowrap; }
.vm2-tab .imp { color: var(--or); letter-spacing: 1px; white-space: nowrap; }
.vm2-tab .discret { color: var(--discret); font-family: var(--corps); }
.vm2-tab .fort { color: var(--alerte); font-weight: 700; }
.vm2-suite { text-align: center; }

/* Pied : sources et méthode */
.vm2-pied { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr; gap: 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--ligne); border-radius: 14px; background: var(--carte); font-size: .8rem; color: var(--discret); }
.vm2-pied h3 { font: 600 .9rem var(--corps); margin: 0 0 .2rem; color: var(--texte); }
.vm2-pied p { margin: 0; }
.vm2-couverture { background: var(--panneau); border-radius: 10px; padding: .6rem .75rem; }

@media (max-width: 1100px) {
  .vm2-kpis, .vm2-cartes-une { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vm2-grille2, .vm2-dossiers { grid-template-columns: minmax(0, 1fr); }
  .vm2-pied { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vm2-barre { position: static; }
  .vm2-q { inline-size: 100%; }
  .vm2-regions a { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 2rem 1.6rem; }
  .vm2-dossier { grid-template-columns: minmax(0, 1fr); }
  .vm2-ouvrir { grid-column: 1; grid-row: auto; justify-self: start; }
  .vm2-actions { margin-inline-start: 0; }
  .vm2-pied { grid-template-columns: minmax(0, 1fr); }
}

/* Onglet Carte (0271) : cœur au plus bas chiffre, anneau au plus haut, losange sans chiffre */
.vm2-carte-grille, .vm2-sources-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: 1rem; align-items: start; }
.vm2-carte-cote, .vm2-sources-cote { display: flex; flex-direction: column; gap: .8rem; }
.vm2-carte-cadre { position: relative; background: var(--panneau); border-radius: 12px; overflow: hidden; }
.vm2-monde { display: block; inline-size: 100%; block-size: auto; direction: ltr; }
.vm2-carte .carte-fond .mer, .vm2-carte .carte-fond .eaux { fill: var(--panneau); }
.vm2-carte .carte-fond .pays { fill: color-mix(in srgb, var(--or) 16%, var(--carte)); stroke: none; }
.vm2-monde .vp .coeur { fill: var(--k); fill-opacity: .85; }
.vm2-monde .vp .anneau { fill: color-mix(in srgb, var(--k) 10%, transparent); stroke: var(--k); stroke-width: .45; stroke-opacity: .7; }
.vm2-monde .vp .l { fill: var(--carte); stroke: var(--k); stroke-width: .5; }
.vm2-monde .vp:hover .coeur, .vm2-monde .vp:focus-visible .coeur { fill-opacity: 1; stroke: var(--texte); stroke-width: .5; }
.vm2-monde .vp:hover .l { fill: var(--k); }
.vm2-monde .vp[hidden] { display: none; }
.vm2-carte-legende { position: absolute; inset-inline-start: .6rem; inset-block-end: .6rem; display: flex; align-items: center; gap: .35rem .5rem; flex-wrap: wrap; padding: .35rem .6rem; border-radius: 10px; background: color-mix(in srgb, var(--carte) 88%, transparent); font-size: .72rem; color: var(--discret); --k: var(--t-massacre); }
.vm2-carte-legende span { line-height: 1.1; }
.vm2-carte-legende .coeur { fill: var(--k); } .vm2-carte-legende .anneau { fill: none; stroke: var(--k); stroke-width: 1.4; }
.vm2-carte-legende .mesure { fill: none; stroke: var(--discret); stroke-width: 1; }
.vm2-carte-legende .l { fill: none; stroke: var(--discret); stroke-width: 1.2; }
.vm2-lecteur { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin-block: .7rem .3rem; }
.vm2-lecteur[hidden] { display: none; }

.vm2-an { flex: 1 1 18rem; accent-color: var(--or); }
.vm2-fenetre { font: 500 .85em var(--chiffres, monospace); color: var(--or); margin-inline-start: .3rem; }
.vm2-resume { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin: .5rem 0 0; padding: .55rem .75rem; border: 1px solid var(--ligne); border-radius: 10px; font-size: .8rem; }
.vm2-type i { display: inline-block; inline-size: 9px; block-size: 9px; border-radius: 2px; margin-inline-end: .3rem; }
.vm2-type[hidden] { display: none; }
.vm2-liste-carte { list-style: none; margin: .4rem 0; padding: 0; }
.vm2-liste-carte li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: .1rem .5rem; padding: .45rem 0; border-block-end: 1px solid var(--ligne); font-size: .8rem; }
.vm2-liste-carte li[hidden] { display: none; }
.vm2-liste-carte li > i { inline-size: 9px; block-size: 9px; border-radius: 2px; background: var(--k); margin-block-start: .3rem; }
.vm2-liste-carte a { font-weight: 600; color: var(--texte); text-decoration: none; }
.vm2-liste-carte .n { font-family: var(--chiffres, monospace); font-size: .74rem; white-space: nowrap; }
.vm2-liste-carte small { grid-column: 2 / -1; color: var(--discret); font-size: .7rem; }

/* Onglet Sources & écarts : un point par chiffre, la forme dit la nature du chiffre */
.vm2-outils { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.vm2-foret-tab { inline-size: 100%; min-inline-size: 48rem; border-collapse: collapse; font-size: .8rem; }
.vm2-foret-tab th, .vm2-foret-tab td { padding: .3rem .5rem; border-block-end: 1px solid var(--ligne); text-align: start; vertical-align: middle; }
.vm2-foret-tab thead th { font-size: .7rem; font-weight: 500; color: var(--discret); }
.vm2-foret-tab tbody th { font-weight: 600; inline-size: 16rem; max-inline-size: 16rem; }
.vm2-foret-tab tbody th a { color: var(--texte); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm2-foret-tab tbody th small { display: block; font-weight: 400; color: var(--discret); font-size: .7rem; }
.vm2-foret-tab tr.suite th, .vm2-foret-tab tr.suite td { border-block-start: 0; }
.vm2-foret-tab tr.suite th { font-weight: 400; font-size: .72rem; padding-inline-start: 1rem; }
.vm2-foret-tab .n { text-align: end; font-family: var(--chiffres, monospace); white-space: nowrap; }
.vm2-foret-tab .n small { font-family: var(--corps); color: var(--discret); }
.vm2-foret-tab .fort { color: var(--t-massacre); font-weight: 700; }
.vm2-foret-tab .echelle { inline-size: 55%; }
.vm2-foret-tab .axe, .vm2-foret-tab .piste { position: relative; block-size: 1.4rem; margin-inline: .6rem; }
.vm2-foret-tab .axe span { unicode-bidi: plaintext; position: absolute; transform: translateX(-50%); font: .68rem var(--chiffres, monospace); white-space: nowrap; top: .3rem; }
.vm2-foret-tab .piste .g { position: absolute; inset-block: 0; inline-size: 1px; background: var(--ligne); }
.vm2-foret-tab .piste s { position: absolute; top: 50%; block-size: 1px; background: var(--discret); text-decoration: none; }
.vm2-foret-tab .piste .barre { position: absolute; top: calc(50% - 2.5px); block-size: 5px; border-radius: 3px; background: color-mix(in srgb, var(--texte) 35%, transparent); }
.ns { display: inline-block; inline-size: 9px; block-size: 9px; background: var(--texte); vertical-align: -1px; margin-inline-end: .3rem; }
.vm2-foret-tab .piste .ns { position: absolute; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.ns.n-historien { border-radius: 50%; }
.ns.n-epoque { background: #c2410c; transform: rotate(45deg) scale(.85); }
.vm2-foret-tab .piste .ns.n-epoque { transform: translate(-50%, -50%) rotate(45deg) scale(.85); }
.ns.n-decompte { background: #0f766e; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ns.n-officiel { background: #1d4ed8; border-radius: 1px; }
.ns.wiki { outline: 1.5px dashed var(--discret); outline-offset: 1px; }
.ns-barre { display: inline-block; inline-size: 18px; block-size: 5px; border-radius: 3px; background: color-mix(in srgb, var(--texte) 35%, transparent); margin-inline-end: .3rem; vertical-align: 1px; }
.vm2-attente { list-style: none; margin: .4rem 0; padding: 0; font-size: .8rem; }
.vm2-attente li { padding: .35rem 0; border-block-end: 1px solid var(--ligne); }
.vm2-attente a { font-weight: 600; color: var(--texte); }
.vm2-attente small { display: block; color: var(--discret); }
@media (max-width: 1100px) {
  .vm2-carte-grille, .vm2-sources-grille { grid-template-columns: minmax(0, 1fr); }
}
.vm2-seg > button { display: block; padding: .3rem .65rem; font: .8rem var(--corps); border: 1px solid var(--ligne); margin-inline-start: -1px; background: var(--carte); color: inherit; cursor: pointer; white-space: nowrap; }
.vm2-seg > button:first-of-type { border-start-start-radius: 9px; border-end-start-radius: 9px; }
.vm2-seg > button:last-of-type { border-start-end-radius: 9px; border-end-end-radius: 9px; }
.vm2-seg > button[aria-pressed="true"] { background: var(--texte); color: var(--fond); border-color: var(--texte); font-weight: 600; }
.vm2-couverture h3 { font: 600 .9rem var(--corps); margin: 0 0 .2rem; }
.vm2-couverture p { margin: 0; font-size: .8rem; color: var(--discret); }

/* Qui, et pourquoi (0252) et hommes, femmes, enfants (0251) */
.vm2-mat.qui td a { background: color-mix(in srgb, var(--or) var(--p), var(--carte)); }
.vm2-tab td.qui { min-inline-size: 9rem; }
.vm2-tab .puce { display: inline-block; margin: 1px 3px 1px 0; padding: 0 .45rem; border-radius: 999px; font-size: .7rem; border: 1px solid var(--ligne); white-space: nowrap; }
.vm2-tab .puce.r { background: color-mix(in srgb, #15803d 10%, var(--carte)); }
.vm2-tab .puce.m { background: color-mix(in srgb, #6d28d9 10%, var(--carte)); }
.vm2-tab .hfe { display: block; font-family: var(--corps); font-size: .68rem; color: var(--discret); white-space: nowrap; }
.vm2-avances fieldset > .discret { display: block; font-size: .72rem; margin-block-start: .2rem; }
.vm2-mat.qui th[scope="col"].tot { font-family: var(--corps); font-size: .7rem; }
