/* Écrans du Terrain (morceau 2) : la barre NOVA sur les écrans du terrain, le « 📍 » d'un tag qui attend sa position, la carte
   sans rues, MON ÉQUIPE en direct (une colonne à 390 px ; les mêmes jetons que nova.css : --m-portes… --rang-n). Classes
   préfixées t2- (le terrain) et me- (Mon équipe) : rien d'autre n'est touché. */

/* ---------- la barre NOVA sur un écran du terrain (les mêmes règles que .app--nova .barre) ---------- */
.app--barre-nova .barre-libelle { font-size: 14px; letter-spacing: 0; }
.app--barre-nova .barre--6 .barre-item { padding: 0 1px; }
.app--barre-nova .barre--6 .barre-libelle { font-size: 12.5px; }
.app--barre-nova .barre--6 .barre-icone, .app--barre-nova .barre--6 .barre-icone svg { width: 24px; height: 24px; }
.app--barre-nova .barre-pastille--mot { top: -11px; right: -30px; height: 17px; line-height: 17px; padding: 0 5px; font-size: 11.5px; letter-spacing: .02em; }
.app--barre-nova .barre--6 .barre-pastille--mot { right: -22px; }
.app--barre-nova .barre-item:active { transform: scale(.97); }

/* ---------- le « 📍 » : la position arrive (un tag attend sa preuve, 15 s au plus) ---------- */
.t2-attente { position: fixed; z-index: 60; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--encre, #111); color: var(--fond, #fff); font-weight: 700; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  animation: t2-entre .18s ease-out both; pointer-events: none; }
.t2-attente-p { display: inline-block; animation: t2-pouls 1s ease-in-out infinite; }
@keyframes t2-entre { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes t2-pouls { 50% { transform: translateY(-3px) scale(1.15); } }

/* ---------- la carte sans rues (jamais blanche : la carte de Verdun dessus) ---------- */
.t2-sans-rues { padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.t2-sans-rues-titre { margin: 0 0 4px; font-family: var(--f-titre); font-weight: 700; font-size: 20px; }
.t2-sans-rues-sous { margin: 0 0 8px; color: var(--gris); font-size: 15px; }
.t2-sans-rues-boutons { display: grid; gap: 8px; margin-top: 8px; }
.t2-demain { font-weight: 700; }

/* ---------- MON ÉQUIPE ---------- */
.me { display: grid; gap: 12px; }
.me-attente { min-height: 120px; display: grid; place-items: center; }
.me-tete { display: grid; gap: 8px; }
.me-tete .nso--segments { margin-bottom: 2px; }
.me-compte { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 16px; }
.me-compte-n b, .me-compte-s b { font-family: var(--f-titre); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.me-compte-s { display: inline-flex; align-items: center; gap: 5px; }
.me-point { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #9CA3AF; box-shadow: 0 0 0 2px var(--surface, #fff); }
.me-point--sur_le_terrain { background: #16A34A; }
.me-point--en_pause { background: #F59E0B; }
@media (prefers-reduced-motion: no-preference) { .me-point--sur_le_terrain { animation: me-vivant 2s ease-in-out infinite; } }
@keyframes me-vivant { 50% { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 6px rgba(22, 163, 74, .25); } }
/* LE STATUT HONNÊTE (chantier 100) : « 🚗 en route » (cyan), « 📵 plus de signal » (rouge) — les mêmes points à Mon équipe, à la vue du
   Gérant et au grand écran ; la PETITE LIGNE du dernier signe, dans la couleur de sa fraîcheur (vert < 10 min, orange < 1 h, gris plus vieux) */
.me-point--en_route { background: #0891B2; }
.me-point--plus_de_signal { background: #DC2626; }
.sh-l { display: block; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.sh-l--vert { color: var(--vert); }
.sh-l--orange { color: var(--ambre-texte); }
.sh-l--gris { color: var(--gris); }
.sh-l--signal { color: var(--sos); font-weight: 700; }
.me-compte-route, .me-compte-signal { font-size: 15px; }
.app--nova .me-filtres { margin: 0; }
.app--nova .me-filtre[aria-pressed="true"] { background: var(--encre); color: var(--surface, #fff); border-color: var(--encre); }
.app--nova .me-outils { margin-top: 4px; }

/* les Tops : des cartes qui défilent de côté (jamais plus large que l'écran) */
.me-tops-boite { display: grid; gap: 6px; min-width: 0; }
.me-tops { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin: 0 -2px; overscroll-behavior-x: contain; scrollbar-width: none; }
.me-tops::-webkit-scrollbar { display: none; }
.me-top { flex: 0 0 auto; width: min(210px, 62vw); scroll-snap-align: start; border: 1px solid var(--ligne); border-radius: 16px; background: var(--surface); padding: 8px 8px 4px; }
.me-top-t { margin: 0 0 4px 4px; font-size: 22px; line-height: 1; }
/* une ligne d'un Top de Mon équipe est un bouton : 48 px (la correction du 01/10, gardée au retour du look jeu) */
.me-top-l { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 48px; padding: 2px 4px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.me-top-l:active { background: var(--surface-2); }
.me-top-m { flex: none; width: 22px; font-size: 18px; text-align: center; }
.me-top-nm { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-top-l b { flex: none; font-family: var(--f-titre); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

/* une carte par personne */
.me-liste { display: grid; gap: 10px; }
.me-carte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; min-width: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--ligne); }
.me-carte:active { transform: scale(.985); }
@media (prefers-reduced-motion: no-preference) { .me-carte { transition: transform .08s ease-out; } }
.me-carte-tete { display: flex; align-items: center; gap: 12px; min-width: 0; }
.me-av { position: relative; flex: none; }
.me-av .me-point { position: absolute; right: 0; bottom: 2px; width: 14px; height: 14px; }
.me-carte-nm { flex: 1; min-width: 0; display: grid; }
.me-carte-nm b { font-weight: 700; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-carte-nm small { color: var(--gris); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.me-chevron { flex: none; color: var(--gris); font-size: 24px; }
/* les 4 missions d'une carte en 2 colonnes : plus serrées que celles de l'Accueil (nova.css est chargé APRÈS ce fichier :
   ces règles portent .app--nova pour passer devant les siennes) ; jamais plus large que la carte (épreuve 98 : 41 px de trop) */
.me-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; min-width: 0; }
.app--nova .me-mi { min-width: 0; min-height: 26px; gap: 4px; }
.app--nova .me-grille .nv-mi-ico { width: 20px; font-size: 16px; }
.app--nova .me-grille .nv-mi-n { min-width: 0; }
.app--nova .me-mi .nv-mi-n b { font-size: 16px; }
.app--nova .me-mi .nv-mi-n small { font-size: 12px; }
.app--nova .me-grille .nv-barre { min-width: 14px; height: 8px; }
.app--nova .me-grille .nv-mi-ok { width: 12px; }
@container app (max-width: 340px) { .me-grille { grid-template-columns: minmax(0, 1fr); } }

/* sa fiche */
.me-fiche { display: grid; gap: 12px; }
.me-fiche-tete { display: flex; align-items: center; gap: 14px; }
.me-fiche-nm { margin: 0; font-family: var(--f-titre); font-weight: 700; font-size: 24px; line-height: 1.1; }
.me-ronds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; justify-items: center; }
.me-rond { position: relative; display: grid; justify-items: center; gap: 2px; }
.me-rond svg { transform: rotate(-90deg); }
.me-rond-fond { fill: none; stroke: var(--surface-2); stroke-width: 7; }
.me-rond-p { fill: none; stroke: var(--c); stroke-width: 7; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) { .me-rond-p { transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .3, 1); } }
.me-rond-t { position: absolute; top: 0; left: 0; right: 0; height: 64px; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.me-rond-t span { font-size: 14px; }
.me-rond-t b { font-family: var(--f-titre); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.me-rond small { color: var(--gris); font-size: 12px; font-weight: 600; }
.me-semaine { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 150px; margin: 6px 0 8px; }
.me-jour { display: grid; grid-template-rows: 18px 1fr 18px 16px; height: 100%; justify-items: center; font-size: 12px; }
.me-jour-c { font-size: 11px; font-weight: 700; white-space: nowrap; }
.me-jour-b { position: relative; width: 70%; max-width: 28px; height: 100%; border-radius: 8px 8px 4px 4px; background: var(--surface-2); overflow: hidden; }
.me-jour-b i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--c); border-radius: inherit; }
@media (prefers-reduced-motion: no-preference) { .me-jour-b i { animation: me-monte .6s cubic-bezier(.2, .8, .3, 1) both; transform-origin: bottom; } }
@keyframes me-monte { from { transform: scaleY(0); } }
.me-jour-b s { position: absolute; left: -2px; right: -2px; height: 0; border-top: 2px dashed var(--gris); opacity: .6; }
.me-jour-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.me-jour-j { color: var(--gris); font-weight: 700; }
.me-jour--auj .me-jour-j { color: var(--encre); }
.me-jour--avenir .me-jour-b { background: transparent; border: 1px dashed var(--ligne); }
.me-xs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.me-x { display: grid; flex: 1 1 90px; padding: 6px 10px; border-radius: 12px; background: var(--surface-2); }
.me-x b { font-family: var(--f-titre); font-weight: 800; font-size: 20px; }
.me-x small { color: var(--gris); font-size: 13px; font-weight: 600; }

/* fin (V2) : Mon équipe à la tablette (la colonne de 672 px, D-49) : les 3 Tops côte à côte, sans défilement de côté ;
   les cartes des personnes sur 2 colonnes */
@container app (min-width: 700px) {
  .me-tops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }
  .me-top { width: auto; min-width: 0; }
  .me-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mon équipe : « ⚠️ Client agressif » (D-DSP4), sobre : un mot en ambre, jamais rouge */
.me-agr { display: block; font-size: 13.5px; font-weight: 700; color: var(--ambre-texte); line-height: 1.3; }
.nv-s .me-agr { display: inline; }
.me-compte-agr { color: var(--ambre-texte); }

/* =============================== LES 7 TAGS (chantier T, 02/10 ; D-TG4, D-TG11, D-TG13) ===============================
   Au LOOK JEU (Mounir, 02/10 : « Le look jeu d'avant le style clair ») : les classes et les jetons d'avant le style clair
   (.nb--porte en capitales, --accent pour « Présenter », --vert pour « Close », le contour --ambre d'« Agressif », D-DSP22).
   La carte PORTE : « Présenter » en haut, à part, pleine largeur ; puis les 6 dispositions en 2 rangées de 3, la même taille ; deux
   mots peuvent passer à la ligne, jamais un mot coupé. 3 classes par sélecteur : devant les règles des rangées d'avant (.c5-dispo). */
.c5-boutons.c5-presenter { display: block; }
.c5-boutons.c5-presenter .nb { width: 100%; min-height: 54px; }
.c5-boutons.c5-six.c5-six, .c5-secondaires.c5-dispo.c5-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.c5-six .nb.c5-tag { min-width: 0; min-height: 60px; padding: 4px 5px; font-size: 16px; font-size: clamp(15px, 4.4cqi, 19px); line-height: 1.05;
  white-space: normal; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.c5-six .nb.c5-tag .nb-pile { gap: 2px; }
.c5-six .nb.c5-tag .nb-sous { font-size: 12px; font-size: clamp(11px, 3.1cqi, 13px); line-height: 1.1; white-space: nowrap; }
.c5-six .nb.c5-tag--npr { border-color: var(--ambre); }
/* ZÉRO GEL (07/10) : plus aucun sélecteur « has » ici — chaque petit changement de la carte PORTE (la pastille, chaque seconde des 15 s ;
   la bande « Annuler ») faisait recalculer le style de toute la carte (mesuré à ×6 : ≈ 20 à 40 ms à CHAQUE fois ; sans eux ≈ 1 ms). Les
   mêmes règles, les mêmes spécificités, sur des classes que l'app pose elle-même : .c5-ligne-verdict--long (ligneVerdict, majPastille),
   .c5-porte--loin, --loin-abri, --tot (majPastille), .c5-plan--retour (le rendu de la carte quand la bande « Annuler » est là).
   LA PASSE ÉCRAN PAR ÉCRAN (07/10 ; D-PE2, D-PE3, D-PE4 ; la maquette : conception 19-passe-ecrans, ses classes pe-* devenues c5-*) :
   les mêmes jetons (base.css), clair et sombre par eux. (ecrans/porte-commun.js : ligneVerdict, majPastille)
   D-PE2 · le numéro et sa rue sur UNE ligne (la place du verdict) ; le verdict EN GROS, dans une pastille pleine de 21 px, sur la
   ligne de son passage — une ligne, toujours : les boutons ne sautent pas quand le verdict change (le passage se coupe « … ») ; un
   verdict qui explique (.c5-pastille--long : « Journée finie : notée, pas comptée ») passe à la ligne, son passage dessous. */
.c5-numero .c5-rue-num { font-family: var(--f-titre); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--gris); white-space: nowrap; }
.c5-lignes .c5-ligne-verdict { align-self: stretch; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 38px; }
.c5-lignes .c5-ligne-verdict.c5-ligne-verdict--long { flex-wrap: wrap; row-gap: 3px; }
.c5-verdict.c5-pastille { flex: none; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 38px; padding: 0 16px;
  border-radius: 999px; background: var(--surface-2); color: var(--gris); font-family: var(--f-titre); font-weight: 800; font-size: 21px;
  letter-spacing: .01em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c5-verdict.c5-pastille.c5-verdict--ok { background: var(--vert-doux); color: var(--vert); }
.c5-verdict.c5-pastille.c5-verdict--ambre { background: var(--ambre-doux); color: var(--ambre-texte); box-shadow: inset 0 0 0 2.5px var(--ambre); }
.c5-verdict.c5-pastille.c5-verdict--ardoise { background: var(--ardoise-doux); color: var(--ardoise); }
.c5-verdict.c5-pastille.c5-pastille--long { flex: 0 1 auto; padding: 7px 14px; border-radius: 16px; font-size: 17px; line-height: 1.15; white-space: normal; text-align: center; }
.c5-lignes .c5-passage { flex: 0 1 auto; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c5-lignes .c5-ligne-verdict.c5-ligne-verdict--long .c5-passage { flex-basis: 100%; text-align: center; }
/* D-PE3 · trop loin : les boutons qui demandent la position pâlissent (un toucher serait refusé ; il l'est toujours, rien d'écrit, et
   il dit pourquoi) ; « Présenter » reste ; « Ne pas revenir » (jugé « à l'abri » : 150 m) seulement s'il serait refusé lui aussi ;
   un immeuble : « Entrée fermée » et « Je suis entré » (la même règle, à la même épingle) */
.c5-porte.c5-porte--loin .c5-six .nb.c5-tag:not(.c5-tag--npr), .c5-porte.c5-porte--loin-abri .c5-six .nb.c5-tag--npr,
.c5-porte.c5-porte--loin .c5-imm .nb { opacity: .38; }
/* D-PE4 · les 15 s se voient là où il touche : une barre au-dessus des boutons (la 1re rangée des 6 ; les 2 d'un immeuble), qui se
   vide (--c5-reste : la part qui reste) */
.c5-porte .c5-boutons.c5-six, .c5-porte .c5-imm { position: relative; }
.c5-porte.c5-porte--tot :is(.c5-boutons.c5-six, .c5-imm)::before, .c5-porte.c5-porte--tot :is(.c5-boutons.c5-six, .c5-imm)::after {
  content: ''; position: absolute; left: 0; top: -6px; height: 5px; border-radius: 3px; pointer-events: none; }
.c5-porte.c5-porte--tot :is(.c5-boutons.c5-six, .c5-imm)::before { right: 0; background: var(--ambre-doux); }
/* ZÉRO GEL (07/10) : la barre se vide par une transformation (le compositeur l'anime seul) — avant : sa largeur, une mise en page et un
   style refaits à CHAQUE image pendant les 15 s qui suivent un tag, quand il touche la porte suivante (mesuré à ×6 : ≈ 60 par seconde,
   ≈ 45 ms de style et 45 ms de mise en page par seconde). La même barre, au même endroit, qui se vide de droite à gauche. */
.c5-porte.c5-porte--tot :is(.c5-boutons.c5-six, .c5-imm)::after { right: 0; transform-origin: 0 50%; transform: scaleX(var(--c5-reste, 0)); background: var(--ambre); transition: transform 1s linear; will-change: transform; }
/* « moins de mouvement » : la même spécificité que la règle ci-dessus (avant : moins forte, la transition restait) */
@media (prefers-reduced-motion: reduce) { .c5-porte.c5-porte--tot :is(.c5-boutons.c5-six, .c5-imm)::after { transition: none; } }
/* « ANNULER » TOUJOURS SOUS LE DOIGT (le correctif d'E du 02/10, gardé au look jeu) : les raisons sur UNE rangée qui défile (le
   bandeau garde sa hauteur) ; pendant les 5 s du bandeau, les pastilles du haut s'effacent (la carte est plus courte sous les 2
   rangées) ; SOS reste là et touchable. */
.c5-retour .c5-puces.c5-puces { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-right: -8px; padding-right: 8px; }
.c5-plan.c5-plan--retour .c5-haut-g, .c5-plan.c5-plan--retour .c5-haut-d { pointer-events: none; }
.c5-plan.c5-plan--retour .c5-haut-g > :not(.c5-sos), .c5-plan.c5-plan--retour .c5-haut-d > * { visibility: hidden; }
/* D-PC1 · LA PORTE C (07/10 ; ecrans/j05.js · sectionLibre) : après un geste, la carte PORTE ne propose aucune porte — « Touche ta
   porte » (il touche, sur la carte, la porte devant laquelle il est), au look jeu (la police des titres, en capitales) ; elle garde la
   hauteur de la carte d'une porte (style en ligne) : la carte au-dessus ne change pas de taille, rien ne bouge. */
.c5-porte.c5-porte--libre { justify-content: center; }
.c5-libre { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; }
.c5-libre-doigt { font-size: 32px; line-height: 1; }
.c5-libre-mot { font-family: var(--f-titre); font-weight: 800; font-size: 26px; letter-spacing: .03em; line-height: 1.1; text-transform: uppercase; color: var(--encre); }
/* LA CARTE GRANDE (08/10 ; D-CG1 ; ecrans/j05.js · sectionLibre) : la bande « Annuler » partie, la carte PORTE libre se replie (sa
   hauteur à elle : « Touche ta porte » et « Dernière ») et la carte prend la place ; il touche sa porte : elle se déplie, et pendant
   400 ms elle ne prend aucun toucher (un 2e toucher trop rapide ne note jamais la porte). */
.c5-porte.c5-porte--garde { pointer-events: none; }
.c5-porte.c5-porte--pli .c5-libre { min-height: 52px; }
/* Repliée, la carte PORTE n'a plus 314 px autour de « Dernière : … · modifier » : « modifier » arrivait à 6 px de la barre du bas
   (l'onglet PRÉSENTER juste dessous) et ne faisait que 44 px (le vérificateur, 08/10). Repliée : 48 px et 14 px d'air au-dessus de la
   barre (D-CG7). Devant une porte, la carte PORTE reste celle de main au pixel près. */
.c5-porte.c5-porte--pli { padding-bottom: 14px; }
.c5-porte.c5-porte--pli .c5-derniere button { min-height: 48px; }
/* Les TAPS sous les portes (D-TG11) : l'Accueil (Missions), Mon équipe (chaque carte, la tête de l'équipe) — une petite ligne grise
   sous le chiffre des portes. */
.app--nova .nv-mi-l--taps, .app--nova .me-mi--taps { flex-wrap: wrap; row-gap: 0; }
.app--nova .nv-mi-taps, .app--nova .me-taps { flex: 0 0 auto; width: 100%; padding-left: 34px; margin-top: -3px; font-size: 13px; font-weight: 600;
  line-height: 1.2; color: var(--gris); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* la passe écran par écran (07/10 ; D-PE6) : son rythme, « il te faut N portes/h », après les taps, à l'encre */
.app--nova .nv-mi-taps .nv-rythme { font-weight: 700; color: var(--encre); }
.app--nova .me-taps { padding-left: 30px; font-size: 12px; }
.app--nova .me-grille .me-taps { padding-left: 24px; }
/* LA PASSE ÉCRAN PAR ÉCRAN, 3e PASSE (07/10 ; D-PE3-5) : les 4 chiffres de l'équipe sur UNE ligne — 🚪 🗣️ 🎤 🎯 en 4 colonnes (l'icône,
   le nombre en 21 px, « / 360 » dessous s'il ne tient pas, la barre sur toute la colonne, « 57 taps » sous 🚪) ; les segments et le
   compte de l'équipe sur toute la largeur. Le ✓ d'un objectif atteint reste (en haut à droite de sa colonne ; le nombre et la barre
   en vert, comme avant). Les mêmes nombres (les épreuves 98 et 105 les lisent). */
.app--nova .me-tete.me-tete--ligne { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; row-gap: 10px; }
.app--nova .me-tete--ligne > :not(.me-mi) { grid-column: 1 / -1; }
.app--nova .me-tete--ligne > .me-mi { position: relative; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 3px; min-height: 0; text-align: center; }
.app--nova .me-tete--ligne > .me-mi .nv-mi-ico { width: auto; font-size: 21px; }
.app--nova .me-tete--ligne > .me-mi .nv-mi-n { min-width: 0; white-space: normal; line-height: 1.05; }
.app--nova .me-tete--ligne > .me-mi .nv-mi-n b { font-size: 21px; }
.app--nova .me-tete--ligne > .me-mi .nv-mi-n small { display: inline-block; margin-left: .2em; font-size: 12.5px; white-space: nowrap; }
.app--nova .me-tete--ligne > .me-mi .nv-barre { flex: none; width: 100%; min-width: 0; height: 8px; margin-top: 2px; }
.app--nova .me-tete--ligne > .me-mi .nv-mi-ok { position: absolute; top: 0; right: 2px; width: auto; font-size: 16px; line-height: 1; }
.app--nova .me-tete--ligne > .me-mi .me-taps { width: auto; padding: 0; margin: 0; font-size: 12px; text-align: center; }
/* les rangées des 4 colonnes alignées (l'icône, le nombre, la barre, les taps) : quand un nombre passe sur 2 lignes (« 105 / 1 200 » à
   360 px, une grande équipe), les 4 barres restent à la même hauteur — `subgrid` (Chrome 117+, Safari 16+) ; sans lui : la colonne */
@supports (grid-template-rows: subgrid) {
  .app--nova .me-tete--ligne > .me-mi { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 3px; align-items: end; justify-content: normal; }
}

/* =============== LA CARTE SUR TOUT L'ÉCRAN, LA PORTE EN PETITE BANDE EN BAS (porte-compacte, 08/10 ; D-PCo-1 à D-PCo-9) ===============
   La direction, le 08/10 : « mais la maps je pense pas quel prend 79$ de lecrant » ; « tu pex meme faire quel prend plus et que jusqua
   ce que il veux metre la disposition il appuie sur la porte que ca sort petit en bas » ; « parce que les gars on trop demander ca alors
   ca veux dire que c'est important pour eux qu ca prend toute la maps ». (ecrans/j05.js : la carte posée dans .c5-carte, sous tout.)
   D-PCo-1 · LA CARTE PREND TOUT L'ÉCRAN, d'un bord à l'autre, et ne change JAMAIS de taille (aucun redessin quand la bande change) ; par-
   dessus, petit et flottant : les chiffres du haut (UNE ligne mince), ses boutons (SOS, Partager, Filtres, Mes rues, Me recentrer), la
   bande du bas, la pilule de la barre (base.css). Le plan (.c5-plan) n'est plus que la zone libre entre les chiffres et la bande : ce
   qui s'y pose (ses boutons, « Annuler », la bannière) garde sa place d'avant, au-dessus de la bande ; un toucher ailleurs va à la carte.
   Le grand écran (le rail, grand-terrain.css) : rien ne change. */
:root { --c5-tete: 46px; }
html[data-ecran="j05"] .app:not(.app--grand) > .contenu { padding-bottom: 0; }
.app:not(.app--grand) .c5-carte--plein { padding-bottom: var(--barre-occupe); }
.app.sans-barre .c5-carte--plein { padding-bottom: env(safe-area-inset-bottom, 0px); }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau:not(:empty) ~ .contenu .c5-carte--plein { padding-top: var(--c5-tete); }
.c5-carte--plein > .ct-carte { position: absolute; inset: 0; z-index: 0; }
.c5-carte--plein > .c5-plan { z-index: 2; pointer-events: none; }
.c5-carte--plein > .c5-plan > :not(.c5-haut) { pointer-events: auto; }
.c5-carte--plein > section.c5-porte { z-index: 3; }

/* les chiffres du haut : UNE ligne mince qui flotte (la même ligne de l'Accueil : 🤜 · 🚪 · DM · 🎤 · 🎯, ⏱, ⇅), un toucher ouvre
   l'Accueil comme avant ; le statut en son symbole et sa couleur (● sur le terrain, ◐ en pause, ■ journée finie, ○ pas commencé : une
   forme chacun, jamais la couleur seule) — son mot reste pour le lecteur d'écran */
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau { position: absolute; z-index: 11; top: env(safe-area-inset-top, 0px); left: 0; right: 0;
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px)); pointer-events: none; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd { pointer-events: auto; display: flex; align-items: center; gap: 7px; max-width: 640px; height: 34px;
  margin: 0 auto; padding: 0 12px 0 11px; border: 1px solid color-mix(in srgb, var(--ligne) 75%, transparent); border-radius: 999px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 4px 18px rgba(21, 33, 42, .16), 0 1px 3px rgba(21, 33, 42, .08); }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-l1 { display: contents; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd .np { order: 0; flex: none; min-height: 0; padding: 0; gap: 0; background: none; font-size: 0; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd .np .np-symbole { font-size: 13px; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-l2 { order: 1; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; padding: 0;
  font-size: 15px; font-size: clamp(13px, 3.75cqi, 16px); line-height: 1; white-space: nowrap; overflow: hidden; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-chrono { order: 2; margin-left: 0; flex: none; gap: 3px; font-size: 13px; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-chrono b { font-size: 16px; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-chrono--place { display: none; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-file { order: 3; flex: none; font-size: 14px; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-barres { left: 20px; right: 20px; bottom: 2px; height: 3px; gap: 6px; }
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-barres span { border-radius: 2px; }
/* la ligne « au nom de » (le Gérant qui ouvre un compte) est au-dessus de tout : rien à changer */

/* ses boutons : la même place, sous la ligne des chiffres (ecrans.css : .c5-haut à 10 px du haut de la zone libre) ; D-PCo-7 : ils RESTENT
   devant sa porte, comme avant (le 1er jet les effaçait dès qu'il touchait une porte : rien ne les ramenait avant le tag — « Blocs
   seulement », Filtres, Mes rues, Partager hors d'atteinte tant qu'une porte est choisie). Pendant « Annuler » : comme avant. */

/* D-PCo-3 · LA BANDE DU BAS (une porte touchée) : une carte arrondie qui flotte au-dessus de la pilule de la barre, PAR-DESSUS la carte ;
   la porte sur UNE ligne (‹ › dans « ⋯ », sauf dans un immeuble), puis UNE rangée de 4 : ABSENT · PAS INTÉRESSÉ · PRÉSENTER · ⋯ */
.c5-carte--plein > section.c5-porte { align-self: center; width: calc(100% - 16px); max-width: 600px; margin: 0 0 0; padding: 7px 9px; gap: 5px;
  border: 1px solid var(--ligne); border-radius: 22px; box-shadow: 0 8px 28px rgba(21, 33, 42, .18), 0 1px 3px rgba(21, 33, 42, .08); }
:root[data-theme="dark"] .c5-carte--plein > section.c5-porte:not(.c5-porte--pli) { box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c5-carte--plein > section.c5-porte:not(.c5-porte--pli) { box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .3); } }
/* D-PCo-18 (le correcteur, 09/10) · LA LIGNE DE LA PORTE NE COUPE RIEN D'ESSENTIEL, à 360 px comme à 800 : le numéro, la pastille du
   verdict (« ✓ 3 m » comme « 📍 Rapproche-toi · 71 m » ou « ▦ Entrée ✓ · 14 h 01 ») et le compte du passage (« 2e passage ») restent
   entiers et rien ne passe par-dessus ; la rue se coupe « … » s'il le faut, la fin du passage aussi (« — absent à 13 h 05 », D-PE2).
   Quand ils ne tiennent pas sur une ligne (une pastille longue, une longue rue), le verdict passe DESSOUS, à droite : la bande grandit
   vers le haut (la rangée du bas ne bouge pas, la carte non plus). La fin du passage et la ligne d'un immeuble ne pèsent pas dans ce
   calcul (contain: inline-size) : seulement leur début (min-width : « 12e passage », « 12 logements à faire »). Le vérificateur (09/10) :
   « ⋯ » serrait le passage (« 1er… ») ; l'immeuble cachait sa rue ; la pastille du logement débordait sur « app. 1 ». */
.c5-carte--plein > section.c5-porte .c5-porte-tete { flex-wrap: wrap; column-gap: 8px; row-gap: 4px; min-height: 34px; }
.c5-carte--plein > section.c5-porte .c5-numero { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; }
.c5-carte--plein > section.c5-porte .c5-numero .t-grand { flex: none; font-size: 29px; line-height: 1; }
.c5-carte--plein > section.c5-porte .c5-numero .c5-rue-num { flex: 0 1 auto; min-width: 0; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
.c5-carte--plein > section.c5-porte .c5-numero .c5-app { flex: none; font-size: 17px; white-space: nowrap; }
.c5-carte--plein > section.c5-porte .c5-porte-tete > .c5-lignes { flex: 1 1 auto; min-width: 0; align-items: flex-end; text-align: right; }
.c5-carte--plein > section.c5-porte .c5-lignes .c5-ligne-verdict { justify-content: flex-end; gap: 8px; min-height: 32px; }
.c5-carte--plein > section.c5-porte .c5-verdict.c5-pastille { min-height: 32px; padding: 0 12px; font-size: 19px; }
.c5-carte--plein > section.c5-porte .c5-verdict.c5-pastille.c5-pastille--long { padding: 5px 10px; font-size: 15px; }
.c5-carte--plein > section.c5-porte .c5-lignes .c5-passage { order: -1; flex: 1 1 auto; min-width: 6.4em; contain: inline-size; font-size: 14px; text-align: right; }
.c5-carte--plein > section.c5-porte .c5-lignes .c5-rue { font-size: 13.5px; line-height: 1.2; }
/* l'immeuble, le logement : leur ligne sur UNE ligne (ce qui reste à faire, puis la sorte ; « 1 sur 4 · 1er passage ») ; la rue est
   collée au numéro (D-PCo-17) ; le bout se coupe s'il le faut, jamais le début */
.c5-carte--plein > section.c5-porte .c5-lignes .c5-rue.c5-rue--une { align-self: stretch; max-width: 100%; min-width: 9.6em; contain: inline-size; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
/* l'immeuble pas encore entré : « 1175 Clemenceau ▦ 4 log. », puis sa ligne et le verdict — à côté du numéro s'ils tiennent (l'un sur
   l'autre), sinon dessous (l'un à côté de l'autre) ; seul leur début compte pour savoir s'ils tiennent (min-width: min-content) */
.c5-carte--plein > section.c5-porte .c5-porte-tete--immeuble > .c5-lignes { flex: 1 1 0%; min-width: min-content; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; column-gap: 8px; row-gap: 2px; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--immeuble .c5-rue.c5-rue--une { flex: 1 1 auto; align-self: center; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--immeuble .c5-ligne-verdict { flex: 0 1 auto; max-width: 100%; }
/* le logement (il est entré) : ‹ › autour de « 1175 Clemenceau app. 1 » (D-PCo-5), puis, sur toute la largeur : « 1 sur 4 · 1er
   passage » et le verdict (qui passe dessous s'ils ne tiennent pas ensemble) — comme la carte d'aujourd'hui */
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; grid-template-areas: "g n d" "s s s"; align-items: center; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement > .c5-fleche { width: 48px; height: 48px; border-radius: 12px; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement > .c5-fleche:first-child { grid-area: g; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement > .c5-fleche:last-child { grid-area: d; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement > .c5-numero { grid-area: n; justify-self: center; justify-content: center; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement > .c5-lignes { grid-area: s; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; column-gap: 8px; row-gap: 2px; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement .c5-rue.c5-rue--une { flex: 1 1 auto; align-self: center; min-width: 10.4em; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--logement .c5-ligne-verdict { flex: 0 1 auto; max-width: 100%; }
/* D-PCo-16 · « ⋯ » ouvert : ‹ › sur la rangée de « Dernière : … · modifier » (au-dessus des 4 autres), plus dans la ligne de la porte */
.c5-carte--plein > section.c5-porte .c5-plus-nav { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.c5-carte--plein > section.c5-porte .c5-plus-nav > .c5-fleche { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.c5-carte--plein > section.c5-porte .c5-plus-nav-milieu { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.c5-carte--plein > section.c5-porte .c5-barrette { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -2px; padding: 0 2px; }
.c5-carte--plein > section.c5-porte .c5-barrette::-webkit-scrollbar { display: none; }
.c5-carte--plein > section.c5-porte .c5-barrette .c5-unite { flex: none; min-height: 48px; font-size: 16px; }   /* les numéros : 16 px (14,5 avant), lisibles au soleil */
.c5-carte--plein > section.c5-porte > .c5-rappel { text-align: center; }
/* D-PCo-8 · les numéros de son épingle (un duplex, des jumelés : 65 % des portes notées) DANS la ligne de la porte : les mêmes boutons que la
   barrette (48 px), celui de sa porte en grand et choisi ; la rue suit s'il reste de la place ; à droite, le passage SUR le verdict. La
   bande garde ses 2 rangées (avant : une 3e rangée de 48 px). Trop de numéros : ils défilent sous le doigt, comme la barrette. */
.c5-carte--plein > section.c5-porte .c5-porte-tete--numeros { min-height: 48px; }
.c5-carte--plein > section.c5-porte .c5-numero.c5-barrette--tete { flex: 1 1 150px; min-width: 0; max-width: none; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start;
  gap: 6px; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete::-webkit-scrollbar { display: none; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-unite { flex: none; min-width: 48px; min-height: 48px; padding: 0 9px; gap: 5px; font-family: var(--f-titre); font-weight: 800; font-size: 19px; line-height: 1; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-unite svg { width: 18px; height: 18px; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-unite .t-grand { font-size: 25px; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-rue-num { flex: none; white-space: nowrap; }   /* D-PCo-19 : entière, après son numéro (les autres défilent) — jamais une lettre coupée entre deux numéros */
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-app { flex: none; }
/* D-PCo-19 (le correcteur, 09/10) : SON numéro en tête de la ligne, puis la rue, puis les autres numéros de l'épingle (ils défilent) —
   une épingle de 18 numéros (des maisons en rangée : 402 à 436) cachait le sien hors de la ligne quand il était le dernier */
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-unite--moi { order: -2; }
.c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-rue-num, .c5-carte--plein > section.c5-porte .c5-barrette--tete .c5-app { order: -1; }
/* D-PCo-18 : les numéros prennent la place (150 px au moins avant que le verdict passe dessous) ; le passage sur le verdict, de sa largeur */
.c5-carte--plein > section.c5-porte .c5-porte-tete--numeros > .c5-lignes { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--numeros .c5-ligne-verdict { flex-direction: column; align-items: flex-end; gap: 2px; min-height: 0; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--numeros .c5-passage { align-self: stretch; max-width: 100%; font-size: 13px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c5-carte--plein > section.c5-porte .c5-porte-tete--numeros .c5-verdict.c5-pastille { min-height: 30px; font-size: 18px; }
/* la rangée : 4 cibles de 52 px de haut (un doigt avec des gants : 48 et plus), les mots entiers ; « PAS INTÉRESSÉ » sur deux lignes */
.c5-carte--plein > section.c5-porte .c5-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) 52px; gap: 6px; }
.c5-carte--plein > section.c5-porte .c5-actions > .nb { min-width: 0; min-height: 52px; padding: 3px 5px; font-size: 16px; font-size: clamp(15px, 4.25cqi, 18px); line-height: 1.05;
  white-space: normal; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
/* « Présenter » dans sa case (.c5-presenter : la classe d'avant, que les épreuves lisent) : rouge, toute la case */
.c5-carte--plein > section.c5-porte .c5-actions > .c5-presenter { display: grid; min-width: 0; }
.c5-carte--plein > section.c5-porte .c5-actions > .c5-presenter > .nb { width: 100%; min-width: 0; min-height: 52px; padding: 3px 5px; border-color: var(--accent); font-size: 16px; font-size: clamp(15px, 4.25cqi, 18px); line-height: 1.05;
  white-space: normal; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.c5-plus-b { min-width: 48px; min-height: 52px; padding: 0; border: 2px solid var(--ligne); border-radius: 14px; background: var(--surface-2); color: var(--encre);
  font-family: var(--f-titre); font-weight: 800; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.c5-plus-b[aria-expanded="true"] { font-size: 22px; background: var(--encre); color: var(--surface); border-color: var(--encre); }
.c5-plus-b:active { transform: scale(.97); }
/* « ⋯ » : les 4 qui servent peu, AU-DESSUS de la rangée (la rangée du bas ne bouge pas), deux par ligne */
.c5-carte--plein > section.c5-porte .c5-plus-zone { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 2px; }
.c5-carte--plein > section.c5-porte.c5-porte--plus .c5-plus-zone { display: grid; }
.c5-carte--plein > section.c5-porte .c5-plus-zone > .nb { min-width: 0; min-height: 52px; padding: 4px 6px; font-size: 16px; font-size: clamp(15px, 4.25cqi, 18px); line-height: 1.05;
  white-space: normal; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.c5-carte--plein > section.c5-porte .c5-plus-bas { display: flex; flex-direction: column; gap: 6px; }
.c5-carte--plein > section.c5-porte .c5-plus-bas .c5-secondaires { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.c5-carte--plein > section.c5-porte .c5-plus-bas .c5-secondaires .nb { flex: 1 1 0; min-height: 48px; }
.c5-carte--plein > section.c5-porte .c5-derniere button { min-height: 48px; }
/* l'immeuble pas encore entré : ENTRÉE FERMÉE · JE SUIS ENTRÉ · ⋯ */
.c5-carte--plein > section.c5-porte .c5-imm.c5-imm--compacte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 52px; gap: 6px; }
.c5-carte--plein > section.c5-porte .c5-imm.c5-imm--compacte > .nb { min-height: 52px; font-size: 16px; font-size: clamp(15px, 4.25cqi, 18px); }

/* D-PCo-4 · QUAND IL MARCHE (aucune porte, la bande « Annuler » partie) : « 👆 Touche ta porte » n'est plus qu'une PASTILLE ; « Dernière :
   … · modifier » une autre, à côté (ou dessous, à 390 px) ; tout autour, la carte se voit et se touche. Pendant les 5 s d'« Annuler », la
   bande garde la hauteur d'une porte (rien ne bouge sous le doigt, un 2e toucher trop rapide tombe sur elle) — comme avant (D-PC1). */
.c5-carte--plein > section.c5-porte.c5-porte--pli { background: transparent; border-color: transparent; box-shadow: none; pointer-events: none;
  flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 0 0 6px; }
.c5-carte--plein > section.c5-porte.c5-porte--pli > * { pointer-events: auto; }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-libre, .c5-carte--plein > section.c5-porte.c5-porte--pli .c5-derniere {
  border: 1px solid color-mix(in srgb, var(--ligne) 75%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 4px 16px rgba(21, 33, 42, .16); }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-libre { min-height: 42px; padding: 0 15px 0 11px; gap: 6px; pointer-events: none; }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-libre-doigt { font-size: 21px; }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-libre-mot { font-size: 18px; }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-derniere { flex-wrap: nowrap; gap: 2px; padding: 0 2px 0 14px; white-space: nowrap; color: var(--encre); }
.c5-carte--plein > section.c5-porte.c5-porte--pli .c5-du { width: 100%; }

/* la bande « Annuler », la bannière : la même place (au-dessus de la bande), la même largeur que la bande à la tablette */
.c5-carte--plein .c5-retour, .c5-carte--plein .c5-banniere { max-width: 600px; margin-inline: auto; }
/* D-PCo-12 · pendant les 5 s d'« Annuler », « Me recentrer » s'efface comme ses autres boutons (SOS reste) : il dépassait à moitié
   derrière la bande (déjà sur main) — rien de coupé à l'écran */
.c5-carte--plein > .c5-plan.c5-plan--retour > .plan-recentrer { visibility: hidden; pointer-events: none; }
/* « Me recentrer », la marque de la Géobase : au-dessus de la bande (j05 · poserAttribution) ; la marque, lisible et petite */
.c5-carte--plein > .ct-carte .leaflet-bottom.leaflet-left { transition: none; }
.c5-carte--plein > .ct-carte .leaflet-control-attribution { font-size: 9.5px; line-height: 1.35; padding: 0 4px; border-radius: 0 6px 0 0; }
/* pendant les 5 s d'« Annuler » : la bande garde la hauteur de la porte (min-height, j05 · sectionLibre) — son contenu (« 👆 TOUCHE TA
   PORTE », « Dernière ») tient dedans : jamais plus haute qu'une porte (rien ne bouge sous le doigt) */
.c5-carte--plein > section.c5-porte.c5-porte--libre:not(.c5-porte--pli) .c5-libre { min-height: 40px; }
.c5-carte--plein > section.c5-porte.c5-porte--libre:not(.c5-porte--pli) .c5-derniere button { min-height: 44px; }
.c5-carte--plein > section.c5-porte.c5-porte--libre:not(.c5-porte--pli) .c5-libre-mot { font-size: 22px; }
.c5-carte--plein > section.c5-porte.c5-porte--libre:not(.c5-porte--pli) .c5-libre-doigt { font-size: 26px; }
/* D-PCo-6 · la ligne mince des chiffres (une journée pleine : « 🤜 212 · 🚪 125 · DM 58 · 🎤 11 · 🎯 3 · ⏱ ≈ 7 h 41 · ⇅ 12 » tient sur UNE
   ligne à 360 px) : sur la carte, le nombre seul — la cible (« /200 ») est dans ses barres, sous les nombres, et sur l'Accueil (un
   toucher) ; un objectif atteint reste vert */
html[data-ecran="j05"] .app:not(.app--grand) > .zone-bandeau .bd-cible { display: none; }

/* =============== FINITIONS (09/10 ; D-FIN-1 à D-FIN-5) · LA BARRE DU BAS CACHÉE QUAND UNE PORTE EST OUVERTE ===============
   La direction, le 09/10 (le choix 3, « ok pour tout ») : « Encore plus de carte : cacher la barre du bas quand une porte est ouverte ?
   (pour changer d'onglet, il faudrait d'abord fermer la porte) ». html[data-porte-ouverte] (j05 · poserPorteOuverte) : la bande d'une
   porte est ouverte (sa porte, « ⋯ », un immeuble, un logement) ou la bande « Annuler » tient sa place (5 s). La pilule glisse un peu
   vers le bas en s'effaçant (0,18 s : transform et opacité seulement, rien ne saute) et ne se touche plus ; la bande descend à sa place —
   son bas là où était le bas de la pilule (--barre-air : 8 px, ou la zone sûre de l'iPhone moins 12 px, comme la pilule). La porte fermée
   (la bande repliée, « Touche ta porte ») : la pilule revient (0,18 s), la bande et ses pastilles reprennent leur place au-dessus d'elle.
   La pilule ne glisse que de --barre-air : son bas s'arrête au bas de l'écran — plus bas, elle agrandirait ce que .app peut faire
   défiler (une transformation compte) et un « scrollIntoView » (Playwright, le clavier de l'iPhone) décalait toute l'app de 56 px.
   Seulement l'écran Terrain des gars (j05) au téléphone et à la tablette : ni le grand écran (le rail), ni Clover, ni les autres écrans. */
html[data-ecran="j05"] .app:not(.app--grand) > .barre { transition: transform .18s ease-out, opacity .18s ease-out, visibility 0s linear 0s; }
html[data-ecran="j05"][data-porte-ouverte] .app:not(.app--grand) > .barre { transform: translateY(var(--barre-air)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .18s ease-in, opacity .18s ease-in, visibility 0s linear .18s; }
html[data-ecran="j05"][data-porte-ouverte] .app:not(.app--grand):not(.sans-barre) .c5-carte--plein { padding-bottom: var(--barre-air); }
@media (prefers-reduced-motion: reduce) { html[data-ecran="j05"] .app:not(.app--grand) > .barre, html[data-ecran="j05"][data-porte-ouverte] .app:not(.app--grand) > .barre { transition: none; } }

/* COMPTE-TERRAIN (09/10 ; D-CT4) : SA carte de travail, dans son compte ouvert, EN LECTURE — à la place des boutons de tag, une ligne
   éteinte de la hauteur de la rangée (la bande ne change pas de taille) : « 👀 Tu regardes · seul Yacine tague » */
.c5-lecture { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 4px 10px; border: 2px dashed var(--ligne);
  border-radius: 14px; background: var(--surface-2); color: var(--gris); font-family: var(--f-titre); font-weight: 700; font-size: 17px; line-height: 1.1; text-align: center; }
/* compte-terrain (D-CT6) : SA bande de chiffres (🤜 · 🚪 · DM · 🎤 · 🎯) flotte SOUS le bandeau « 👑 Tu vois le compte de … » (il la couvrait) ;
   sa hauteur est posée par ecrans/bandeau.js (--au-nom-de-h) */
html[data-ecran="j05"] .app.app--au-nom-de:not(.app--grand) > .zone-bandeau { top: calc(env(safe-area-inset-top, 0px) + var(--au-nom-de-h, 56px)); }

/* =============== LE 8e TAG · « REVENIR POUR LE PAIEMENT » (chantier 89, 29/10 ; FUSION-PAIEMENT-A-REVENIR.md) ===============
   Le bleu canard (#047E8B, son « $ » blanc : 4,8:1). « Présentation » › sa 4e fin ; la feuille du jour (3 semaines de puces, 7 colonnes ;
   les heures, facultatives) ; À SA PORTE : le retour — ✓ PAYÉ (le vert de la Close) · AUTRE JOUR · ANNULÉ — à la place d'ABSENT · PAS INTÉRESSÉ
   · PRÉSENTER (la carte compacte : la même grille, « ⋯ » garde les 4 autres) ou au-dessus de « Présenter » (la fiche, l'immeuble). Les 6
   boutons et leurs styles ne bougent pas. */
.c5-pres-fin--pai { border-color: #047E8B; color: #047E8B; }
.c5-pai-jours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.c5-pai-heures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.c5-pai .c5-pai-chip { justify-content: center; min-height: 46px; padding: 0 4px; font-family: var(--f-titre); font-size: 16px; font-weight: 700; white-space: nowrap; }
.c5-pai .c5-pai-chip[aria-pressed="true"] { border-color: #047E8B; background: #047E8B; color: #FFFFFF; }
.c5-pai .c5-pai-noter[disabled] { opacity: .45; }
.c5-pai-retour { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.c5-pai-retour > .nb { min-width: 0; min-height: 56px; padding: 4px 5px; font-size: 16px; line-height: 1.05; }
.c5-pai-b--jour { border-color: #047E8B; color: #036672; }
.c5-pai-b--annule { border-color: #DC2626; color: #B91C1C; }
.c5-carte--plein > section.c5-porte .c5-actions.c5-actions--pai { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) 52px; }
/* l'entrée de l'agenda, dans Filtres (sous « Mes clients ») : une rangée de 52 px */
.c5-rv-entree { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin: 10px 0 4px; padding: 6px 12px; border: 1.5px solid var(--ligne);
  border-left: 6px solid #047E8B; border-radius: 14px; background: var(--surface); color: var(--encre); text-align: left; cursor: pointer; }
.c5-rv-entree--retard { border-color: #DC2626; border-left-color: #047E8B; }
.c5-rv-i { display: inline-flex; color: #047E8B; }
.c5-rv-i svg { width: 24px; height: 24px; }
/* (le correcteur, 31/10) la même entrée sur la carte SANS RUES (« Pas encore de portes ») : 56 px, sous le titre */
.t2-rv:empty { display: none; }
.t2-rv .c5-rv-entree--carte { min-height: 56px; margin: 8px 0 2px; }
/* (le correcteur, tour 2) la même entrée sur « Sur le terrain » (le Gérant : l'agenda de son bureau), sous Demain · Donner des rues (l'écart : celui de .vg) */
.vg > .t2-rv .c5-rv-entree--carte { margin: 0; }
.c5-rv-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.c5-rv-t b { font-family: var(--f-titre); font-size: 18px; font-weight: 800; }
.c5-rv-t span { font-size: 13.5px; color: var(--gris); }
.c5-rv-entree--retard .c5-rv-t span { color: #B91C1C; font-weight: 700; }
.c5-rv-n { min-width: 30px; padding: 2px 8px; border-radius: 999px; background: #047E8B; color: #FFFFFF; font-family: var(--f-titre); font-size: 17px; text-align: center; }
