/* ==========================================================================
   Interface v2 — écrans « Organisations », « Centre de pilotage digital »
   et « Santé des données » (25/08/2026, session refonte-ux)
   ==========================================================================
   Compagnon de ui-v2-admin.js. Tout est scopé html.ui-v2 et préfixé v2m-
   (m comme monitoring/administration) : sans le drapeau "sobria-ui-v2"
   (ui-v2.js), ce fichier ne change RIEN à l'interface actuelle.

   Règles communes v2 (cahier §8) : cartes blanches radius 12, bordure
   var(--v2-bordure-douce), ombre 0 1px 2px rgba(20,33,59,.04) ; H1 en
   PT Serif ; pastilles pastel radius 4 ; cibles tactiles 44 px ; UN seul
   bouton primaire cuivre par écran ; grille de 8 points.
   ========================================================================== */

/* ------------------------------------------------------- en-tête d'écran */
html.ui-v2 .v2m-entete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
html.ui-v2 .v2m-entete h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  color: var(--sobria-nuit);
}
html.ui-v2 .v2m-sous-titre {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--texte-attenue);
  max-width: 68ch;
}
html.ui-v2 .v2m-entete-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
html.ui-v2 .v2m-aide {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--texte-attenue);
  max-width: 78ch;
}

/* ----------------------------------------------------------------- boutons */
/* Un seul primaire cuivre par écran ; les autres restent blancs bordés. */
html.ui-v2 .v2m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  background: var(--fond-surface, #fff);
  color: var(--texte);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
html.ui-v2 .v2m-btn:hover { background: #faf8f3; }
html.ui-v2 .v2m-btn svg { width: 18px; height: 18px; flex: none; }
html.ui-v2 .v2m-btn-primaire {
  border: 0;
  background: var(--sobria-cuivre);
  color: #fff;
  font-weight: 600;
}
html.ui-v2 .v2m-btn-primaire:hover { background: #b06c33; }
/* Action destructrice (désactiver) : bord et texte rouges, jamais un aplat. */
html.ui-v2 .v2m-btn-danger {
  border-color: #e5c1bb;
  color: #a3392b;
}
html.ui-v2 .v2m-btn-danger:hover { background: #fbeeec; }

html.ui-v2 .v2m-select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  background: var(--fond-surface, #fff);
  color: var(--texte);
  font-size: 14px;
  width: auto;
  max-width: 100%;
}

html.ui-v2 .v2m-lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cuivre-clair, #a05f27);
  text-decoration: none;
}
html.ui-v2 .v2m-lien:hover { text-decoration: underline; }
html.ui-v2 .v2m-lien svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ filtres */
html.ui-v2 .v2m-filtres {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
html.ui-v2 .v2m-filtres input,
html.ui-v2 .v2m-filtres select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  background: var(--fond-surface, #fff);
  color: var(--texte);
  font-size: 14px;
  width: auto;
  max-width: 100%;
}
html.ui-v2 .v2m-filtres .v2m-recherche { flex: 1 1 240px; min-width: 200px; }
html.ui-v2 .v2m-compteur {
  margin-left: auto;
  font-size: 13px;
  color: var(--texte-attenue);
  white-space: nowrap;
}

/* -------------------------------------------------------------- cartes */
html.ui-v2 .v2m-carte {
  background: var(--fond-surface, #fff);
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(20, 33, 59, .04);
  padding: 24px;
  min-width: 0;
  margin-bottom: 16px;
}
/* Variante « tableau plein bord » (la table touche les bords arrondis). */
html.ui-v2 .v2m-carte-pleine { padding: 0; overflow: hidden; }
html.ui-v2 .v2m-carte h2 {
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--sobria-nuit);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
html.ui-v2 .v2m-h3 {
  margin: 4px 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--texte-attenue);
}
html.ui-v2 .v2m-deux-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
html.ui-v2 .v2m-deux-col .v2m-carte { margin-bottom: 16px; }
html.ui-v2 .v2m-vide {
  padding: 28px 20px;
  text-align: center;
  color: var(--texte-attenue);
  font-size: 14px;
}
html.ui-v2 .v2m-note { font-size: 12.5px; margin: 10px 0 0; }
html.ui-v2 .v2m-attenue { color: var(--texte-attenue); }
html.ui-v2 .v2m-nom {
  font-size: 14px;
  font-weight: 600;
  color: var(--sobria-nuit);
}

/* ------------------------------------------------------------------- KPI */
html.ui-v2 .v2m-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
html.ui-v2 .v2m-kpis-4 { grid-template-columns: repeat(4, 1fr); }
html.ui-v2 .v2m-kpi {
  background: var(--fond-surface, #fff);
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(20, 33, 59, .04);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
html.ui-v2 .v2m-kpi-icone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f7ede2;
  color: var(--sobria-cuivre);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
html.ui-v2 .v2m-kpi-icone svg { width: 22px; height: 22px; }
html.ui-v2 .v2m-kpi-num {
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--sobria-nuit);
  line-height: 1.15;
}
html.ui-v2 .v2m-kpi-lbl {
  font-size: 12.5px;
  color: var(--texte-attenue);
  margin-top: 2px;
}

/* Mini-KPI (dans une carte : temps réel, clics de contact, erreurs). */
html.ui-v2 .v2m-mini-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
html.ui-v2 .v2m-mini-kpi {
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  background: var(--fond-surface-2, #faf8f3);
  padding: 12px 14px;
  min-width: 0;
}
html.ui-v2 .v2m-mini-kpi-accent { border-color: var(--sobria-cuivre); }
html.ui-v2 .v2m-mini-kpi-alerte { border-color: #e5c1bb; background: #fbeeec; }
html.ui-v2 .v2m-mini-kpi .v2m-kpi-num { font-size: 20px; }

/* ---------------------------------------------------------------- pastilles */
html.ui-v2 .v2m-pastille {
  display: inline-block;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 8px;
  white-space: nowrap;
}
html.ui-v2 .v2m-pastille-verte  { background: #eaf5ee; color: #3f8f5f; }
html.ui-v2 .v2m-pastille-ambre  { background: #fdf3e3; color: #9a6b1a; }
html.ui-v2 .v2m-pastille-rouge  { background: #fbeeec; color: #a3392b; }
html.ui-v2 .v2m-pastille-bleue  { background: #eef3fb; color: #2f5fa8; }
html.ui-v2 .v2m-pastille-neutre { background: #efeeec; color: #676d7c; }
html.ui-v2 .v2m-pastille-cuivre { background: #f7ede2; color: #a05f27; }

/* ------------------------------------------------------------------ tableau */
html.ui-v2 .v2m-tableau {
  width: 100%;
  border-collapse: collapse;
}
html.ui-v2 .v2m-tableau th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--texte-attenue);
  padding: 12px;
  border-bottom: 1px solid var(--v2-bordure-douce);
  white-space: nowrap;
}
html.ui-v2 .v2m-tableau td {
  padding: 10px 12px;
  border-top: 1px solid var(--v2-bordure-douce);
  font-size: 14px;
  vertical-align: middle;
  color: var(--texte);
}
html.ui-v2 .v2m-tableau tbody tr:first-child td { border-top: 0; }
html.ui-v2 .v2m-tableau tbody tr.v2m-ligne { cursor: pointer; }
html.ui-v2 .v2m-tableau tbody tr.v2m-ligne:hover { background: #faf8f3; }
html.ui-v2 .v2m-tableau tbody tr.v2m-ligne:focus-visible {
  outline: 2px solid var(--sobria-cuivre);
  outline-offset: -2px;
}
html.ui-v2 .v2m-tableau a { color: var(--cuivre-clair, #a05f27); }
html.ui-v2 .v2m-c-num { text-align: right; width: 96px; }
html.ui-v2 .v2m-c-marque { white-space: nowrap; }
/* Tables de données (pilotage) : dans une carte à padding, coins doux. */
html.ui-v2 .v2m-tableau-donnees td, html.ui-v2 .v2m-tableau-donnees th { padding: 8px 10px; }
html.ui-v2 .v2m-defile { overflow-x: auto; }

/* ------------------------------------------------------------ organisations */
html.ui-v2 .v2m-org-cellule {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
html.ui-v2 .v2m-org-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--fond-surface-2, #faf8f3);
  border: 1px solid var(--v2-bordure-douce);
  flex: none;
}
html.ui-v2 .v2m-org-logo-vide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--sobria-nuit);
}
html.ui-v2 .v2m-sous-nom {
  font-size: 12px;
  color: var(--texte-attenue);
  margin-top: 1px;
}
html.ui-v2 .v2m-point-couleur {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(20, 33, 59, .18);
  vertical-align: -2px;
  margin-right: 2px;
}

/* -------------------------------------------------------- panneau latéral */
html.ui-v2 .v2m-panneau {
  position: fixed;
  top: calc(var(--banniere-env-h, 0px) + var(--v2-topbar-hauteur, 64px));
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--fond-surface, #fff);
  border-left: 1px solid var(--v2-bordure-douce);
  box-shadow: -12px 0 32px rgba(20, 33, 59, .12);
  transform: translateX(105%);
  transition: transform var(--duree-moyenne, 200ms) var(--courbe, ease-out);
  z-index: 70;                        /* sous les modales (100), sur le contenu */
  overflow-y: auto;
  padding: 24px;
}
html.ui-v2 .v2m-panneau.v2m-ouvert { transform: none; }
html.ui-v2 .v2m-panneau-fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--texte);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html.ui-v2 .v2m-panneau-fermer:hover { background: var(--fond-survol, #efeade); }
html.ui-v2 .v2m-panneau-fermer svg { width: 20px; height: 20px; }
html.ui-v2 .v2m-panneau h2 {
  margin: 0 44px 2px 0;
  font-size: 20px;
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  color: var(--sobria-nuit);
}
html.ui-v2 .v2m-panneau-vignette { margin-bottom: 10px; }
html.ui-v2 .v2m-panneau-vignette .v2m-org-logo { width: 56px; height: 56px; }
html.ui-v2 .v2m-panneau-vignette .v2m-org-logo-vide { font-size: 22px; }
html.ui-v2 .v2m-panneau-sous {
  font-size: 13px;
  color: var(--texte-attenue);
  margin-bottom: 10px;
}
html.ui-v2 .v2m-panneau-pastilles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
html.ui-v2 .v2m-panneau-bloc {
  border-top: 1px solid var(--v2-bordure-douce);
  padding: 14px 0;
}
html.ui-v2 .v2m-panneau-bloc h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--texte-attenue);
}
html.ui-v2 .v2m-panneau-bloc dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 13.5px;
}
html.ui-v2 .v2m-panneau-bloc dt { color: var(--texte-attenue); }
html.ui-v2 .v2m-panneau-bloc dd { margin: 0; color: var(--texte); overflow-wrap: anywhere; }
html.ui-v2 .v2m-panneau-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html.ui-v2 .v2m-panneau-actions .v2m-btn { justify-content: flex-start; }

/* ----------------------------------------------------------- temps réel */
html.ui-v2 .v2m-live-point {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f8f5f;
  box-shadow: 0 0 0 3px #eaf5ee;
  flex: none;
}

/* ---------------------------------------------------- sources connectées */
html.ui-v2 .v2m-source-ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  border-top: 1px solid var(--v2-bordure-douce);
}
html.ui-v2 .v2m-source-ligne:first-of-type { border-top: 0; }
html.ui-v2 .v2m-source-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9c5bb;               /* point NEUTRE : non branché, pas en panne */
  flex: none;
}
html.ui-v2 .v2m-source-point-actif {
  background: #3f8f5f;
  box-shadow: 0 0 0 3px #eaf5ee;
}
html.ui-v2 .v2m-source-corps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
html.ui-v2 .v2m-source-corps .v2m-attenue { font-size: 12.5px; }

/* -------------------------------------------------------- barres claires */
html.ui-v2 .v2m-barre-ligne {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 6px 0;
}
html.ui-v2 .v2m-barre-corps { flex: 1; min-width: 0; }
html.ui-v2 .v2m-barre-lbl {
  display: block;
  font-size: 13.5px;
  color: var(--texte);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
html.ui-v2 .v2m-barre-piste {
  height: 6px;
  border-radius: 3px;
  background: var(--fond-surface-2, #faf8f3);
}
html.ui-v2 .v2m-barre-jauge {
  height: 6px;
  border-radius: 3px;
  background: var(--sobria-cuivre);
}
html.ui-v2 .v2m-barre-num {
  font-size: 13px;
  color: var(--texte-attenue);
  white-space: nowrap;
  padding-bottom: 1px;
}

/* -------------------------------------------------------------- entonnoir */
html.ui-v2 .v2m-entonnoir { display: grid; gap: 6px; }
html.ui-v2 .v2m-entonnoir-marche {
  display: flex;
  align-items: center;
  gap: 12px;
}
html.ui-v2 .v2m-entonnoir-nom {
  width: 150px;
  flex: none;
  font-size: 13px;
  color: var(--texte-attenue);
}
html.ui-v2 .v2m-entonnoir-piste { flex: 1; min-width: 0; }
html.ui-v2 .v2m-entonnoir-jauge {
  height: 26px;
  border-radius: 6px;
  background: var(--sobria-cuivre);
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  min-width: 26px;
}
html.ui-v2 .v2m-entonnoir-taux {
  width: 70px;
  flex: none;
  text-align: right;
  font-size: 13px;
  color: var(--texte-attenue);
}
html.ui-v2 .v2m-entonnoir-fleche {
  padding-left: 162px;
  color: var(--texte-attenue);
  opacity: .6;
  font-size: 13px;
}

/* -------------------------------------------------------------- Web Vitals */
html.ui-v2 .v2m-vitals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
html.ui-v2 .v2m-vital {
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  background: var(--fond-surface-2, #faf8f3);
  padding: 12px 14px;
  min-width: 0;
}
html.ui-v2 .v2m-vital-num {
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--sobria-nuit);
}
html.ui-v2 .v2m-vital-lbl {
  font-size: 12px;
  color: var(--texte-attenue);
  margin-top: 2px;
}
html.ui-v2 .v2m-vital-bon     { border-color: #bcd9c6; background: #eaf5ee; }
html.ui-v2 .v2m-vital-moyen   { border-color: #ecd9ae; background: #fdf3e3; }
html.ui-v2 .v2m-vital-mauvais { border-color: #e5c1bb; background: #fbeeec; }

/* --------------------------------------------------------- carte du monde */
html.ui-v2 .v2m-carte-monde {
  width: 100%;
  background: var(--fond-surface-2, #faf8f3);
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
}
html.ui-v2 .v2m-carte-monde .v2m-carte-grille {
  stroke: rgba(20, 33, 59, .08);
  stroke-width: 1;
}
html.ui-v2 .v2m-carte-monde text { fill: #1d2843; }

/* ---------------------------------------------------------------- parcours */
html.ui-v2 .v2m-parcours { display: grid; gap: 10px; }
html.ui-v2 .v2m-parcours-session {
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}
html.ui-v2 .v2m-parcours-etape { padding-left: 8px; }
html.ui-v2 .v2m-parcours-fleche {
  padding-left: 8px;
  color: var(--texte-attenue);
  opacity: .6;
}

/* ------------------------------------------------------ cartes de chaleur */
html.ui-v2 .v2m-heatmap-detail {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
}
html.ui-v2 .v2m-heatmap-grille {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 16px;
  gap: 1px;
  background: var(--fond-surface-2, #faf8f3);
  border: 1px solid var(--v2-bordure-douce);
  border-radius: 6px;
  padding: 4px;
}

/* ----------------------------------------------------------- listes claires */
html.ui-v2 .v2m-liste-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  border-top: 1px solid var(--v2-bordure-douce);
  font-size: 14px;
}
html.ui-v2 .v2m-liste-ligne:first-of-type { border-top: 0; }

/* ------------------------------------------------- santé des données */
html.ui-v2 .v2m-controle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 8px;
  border-top: 1px solid var(--v2-bordure-douce);
}
html.ui-v2 .v2m-controle:first-of-type { border-top: 0; }
html.ui-v2 .v2m-controle-danger  { background: #fdf7f6; }
html.ui-v2 .v2m-controle-warning { background: #fdfaf2; }
html.ui-v2 .v2m-controle-corps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
html.ui-v2 .v2m-controle-droite {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
html.ui-v2 .v2m-controle-num {
  font-family: var(--font-head, "PT Serif", Georgia, serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--sobria-nuit);
  min-width: 34px;
  text-align: right;
}
html.ui-v2 .v2m-actions-liste {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  html.ui-v2 .v2m-kpis { grid-template-columns: repeat(2, 1fr); }
  html.ui-v2 .v2m-deux-col { grid-template-columns: 1fr; }
  html.ui-v2 .v2m-heatmap-detail { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  html.ui-v2 .v2m-entete { align-items: flex-start; flex-direction: column; }
  html.ui-v2 .v2m-compteur { margin-left: 0; }
  html.ui-v2 .v2m-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  html.ui-v2 .v2m-kpi { padding: 12px 14px; gap: 10px; }
  html.ui-v2 .v2m-entonnoir-nom { width: 105px; font-size: 12px; }
  html.ui-v2 .v2m-entonnoir-fleche { padding-left: 117px; }

  /* Organisations : le tableau devient des cartes empilées ; les colonnes
     secondaires (compteurs, marque) vivent dans le panneau de détail. */
  html.ui-v2 .v2m-carte-pleine .v2m-tableau thead { display: none; }
  html.ui-v2 .v2m-carte-pleine .v2m-tableau,
  html.ui-v2 .v2m-carte-pleine .v2m-tableau tbody,
  html.ui-v2 .v2m-carte-pleine .v2m-tableau tr,
  html.ui-v2 .v2m-carte-pleine .v2m-tableau td { display: block; }
  html.ui-v2 .v2m-carte-pleine .v2m-tableau tbody tr {
    padding: 12px 16px;
    border-top: 1px solid var(--v2-bordure-douce);
  }
  html.ui-v2 .v2m-carte-pleine .v2m-tableau tbody tr:first-child { border-top: 0; }
  html.ui-v2 .v2m-carte-pleine .v2m-tableau td {
    padding: 2px 0;
    border: 0;
    display: inline-block;
    margin-right: 8px;
  }
  html.ui-v2 .v2m-carte-pleine .v2m-tableau td:first-child {
    display: block;
    margin: 0 0 4px;
  }
  html.ui-v2 .v2m-c-num, html.ui-v2 .v2m-c-marque { display: none !important; }

  /* Le panneau devient une feuille plein écran, au-dessus de la tabbar. */
  html.ui-v2 .v2m-panneau {
    top: var(--banniere-env-h, 0px);
    width: 100vw;
    border-left: 0;
    z-index: 80;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------- accessibilité */
html.ui-v2 .v2m-btn:focus-visible,
html.ui-v2 .v2m-lien:focus-visible,
html.ui-v2 .v2m-select:focus-visible {
  outline: 2px solid var(--sobria-cuivre);
  outline-offset: 2px;
}
