/* LE GRAND ÉCRAN — É-GE1 · LE TERRAIN (chantier grand-ecran, 07/10/2026 ; PLAN § 4 ; telephone/grand/ecrans/terrain.js ; la maquette
   approuvée : 18-grand-ecran/captures/1-terrain-*.png). Tout sous .app--grand .ge-terrain : sans le grand écran, RIEN ne change
   (le téléphone, la petite tablette, un Distributeur sur la Samsung couchée, D-GE11). Les composants partagés (la ligne du haut, le
   panneau, les filtres, la ligne d'une personne, les graphiques) sont dans grand.css ; ici : la grille de l'écran, la carte et ce qui
   flotte dessus, la liste « Mon équipe », sa fiche, Demain. Les couleurs : CELLES de base.css (clair ET sombre par les jetons ; la
   couleur d'un gars arrive en --cg / --gc) ; cibles de 44 px au moins ; « moins de mouvement » respecté. Le look : celui de NOVA. */

.app--grand .ge-terrain {
  --get-liste: 384px;                                   /* la colonne « Mon équipe » (couché) ; sa fiche : 436 px au plus, sur le
                                                           bord droit de la carte, la carte gardant 120 px à sa gauche */
  --get-st-sur_le_terrain: #16A34A; --get-st-en_pause: #F59E0B; --get-st-hors_terrain: #9CA3AF;   /* les points de .me-point */
  --get-st-en_route: #0891B2; --get-st-plus_de_signal: #DC2626;                                     /* le statut honnête (chantier 100) */
  display: grid; height: 100%; min-height: 0;
  grid-template-columns: minmax(0, 1fr) var(--get-liste); grid-template-rows: auto minmax(0, 1fr);
}
/* l'iPad Pro 11 couché, une petite fenêtre : la colonne se serre (la carte garde sa place) */
@media (max-width: 1250px) { .app--grand .ge-terrain { --get-liste: 352px; } }

/* ---------- COUCHÉ : la carte à gauche, la liste à droite, la fiche sur le bord droit de la carte ---------- */
.app--grand .ge-terrain > .get-carte-zone { grid-column: 1; grid-row: 2; }
.app--grand .ge-terrain > .get-liste-zone { grid-column: 2; grid-row: 2; border-left: 1px solid var(--ligne); }

/* ---------- DEBOUT : la carte en haut (52 %), la liste dessous sur deux colonnes ; la fiche à droite de la liste ---------- */
.app--grand .ge-terrain.ge--debout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 52fr) minmax(0, 48fr); }
.app--grand .ge-terrain.ge--debout > .get-carte-zone { grid-column: 1; grid-row: 2; }
.app--grand .ge-terrain.ge--debout > .get-liste-zone { grid-column: 1; grid-row: 3; border-left: 0; border-top: 1px solid var(--ligne); }
.app--grand .ge-terrain.ge--debout .get-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.app--grand .ge-terrain.ge--debout.ge--avec-panneau > .get-liste-zone { padding-right: calc(58% + 12px); }
.app--grand .ge-terrain.ge--debout.ge--avec-panneau .get-liste { grid-template-columns: minmax(0, 1fr); }

/* « En direct » seulement sur une lecture fraîche ; sinon l'âge de ce qu'on voit, en gris (le point ne bat plus) */
.app--grand .ge-terrain .get-direct--vieux { color: var(--gris); }
.app--grand .ge-terrain .get-direct--vieux i { background: var(--gris-clair); box-shadow: none; animation: none; }

/* ---------- LA CARTE et ce qui flotte dessus ---------- */
/* LA CARTE GRANDE DÉZOOMÉE (18/10) : au grand écran, le fond de TERRE un peu plus marqué (--carte-terre-grand) — au dézoom, les zones sans
   rues (eau, hors-zone) se lisent comme de la terre, JAMAIS du blanc, et les rues claires (Géobase) ressortent mieux. Le téléphone garde
   --carte-terre (son fond inchangé). Aucune tuile externe. */
.app--grand .get-carte-zone { position: relative; min-width: 0; min-height: 0; overflow: hidden; isolation: isolate; background: var(--carte-terre-grand); }
.app--grand .ct-carte, .app--grand .ct-carte.leaflet-container { background: var(--carte-terre-grand); }
.app--grand .get-carte-zone > .ct-carte { position: absolute; inset: 0; touch-action: none; }
.app--grand .get-haut { position: absolute; z-index: 2; left: 14px; top: 14px; right: 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.app--grand .get-compte {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); font-family: var(--f-titre); font-size: 18px; color: var(--gris); white-space: nowrap;
}
.app--grand .get-compte > span { display: inline-flex; align-items: center; gap: 5px; }
.app--grand .get-compte b { color: var(--encre); font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .get-compte .me-point { width: 10px; height: 10px; animation: none; }
.app--grand .get-note { pointer-events: auto; max-width: 420px; margin: 0; padding: 7px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); color: var(--gris); font-size: 14px; font-weight: 600; }
.app--grand .get-legende {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; max-width: calc(100% - 100px);
  padding: 7px 12px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--ligne);
  font-size: 14px; font-weight: 600; color: var(--gris); white-space: nowrap; pointer-events: none;
}
.app--grand .get-legende > span { display: inline-flex; align-items: center; gap: 6px; }
.app--grand .get-lg-afaire { width: 7px; height: 7px; border-radius: 50%; background: #808080; }
.app--grand .get-lg-faite { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(21, 33, 42, .2);
  background: conic-gradient(#E5484D 0 25%, #2F6FEB 0 50%, #12A594 0 75%, #E5A000 0); }
.app--grand .get-zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); transition: right .22s ease-out; }
.app--grand .get-zoom button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.app--grand .get-zoom button + button { border-top: 1px solid var(--ligne); }
.app--grand .get-zoom button:active { background: var(--surface-2); }
@media (hover: hover) { .app--grand .get-zoom button:hover { background: var(--surface-2); } }
/* l'attribution de la Géobase : en bas à droite, à côté du zoom (la légende est en bas à gauche) */
.app--grand .get-carte-zone .leaflet-bottom.leaflet-left { left: auto; right: 72px; transition: right .22s ease-out; }
/* couché, sa fiche ouverte (elle couvre la droite de la carte) : le zoom et l'attribution passent à sa gauche ; la légende se tait */
/* (dans la zone de la carte, 100 % = sa largeur : la fiche y fait min(436 px, 100 % − 120 px), à 12 px de son bord droit) */
.app--grand .ge-terrain.ge--couche.ge--avec-panneau .get-zoom { right: calc(min(436px, 100% - 120px) + 26px); }
.app--grand .ge-terrain.ge--couche.ge--avec-panneau .get-carte-zone .leaflet-bottom.leaflet-left { right: calc(min(436px, 100% - 120px) + 84px); }
.app--grand .ge-terrain.ge--couche.ge--avec-panneau .get-legende { display: none; }
/* « ❄ Blocs seulement » (les blocs d'appartements, main f52548c, D-BL6 ; le bouton .bl-hiver de styles/blocs.css, tel quel) : en haut à
   droite de la carte, comme au téléphone ; couché, sa fiche ouverte : à sa gauche, comme le zoom */
.app--grand .get-hiver { position: absolute; z-index: 2; right: 14px; top: 14px; transition: right .22s ease-out; }
.app--grand .ge-terrain.ge--couche.ge--avec-panneau .get-hiver { right: calc(min(436px, 100% - 120px) + 26px); }
/* les gars sur la grande carte : le prénom un peu plus grand (la carte du téléphone, carte/equipe-gerant.js, telle quelle) */
.app--grand .get-carte-zone .vg-pin-nom { font-size: 13.5px; padding: 1px 8px; }

/* ---------- MON ÉQUIPE ---------- */
.app--grand .get-liste-zone { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--fond); }
.app--grand .get-liste-tete { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; }
.app--grand .get-liste-tete h2 { font-size: 23px; font-weight: 800; }
.app--grand .get-med { display: inline-flex; align-items: center; gap: 6px; color: var(--gris); font-size: 14px; font-weight: 600; white-space: nowrap; }
.app--grand .get-med .nv-mtop { width: 20px; height: 20px; font-size: 11.5px; }
.app--grand .get-filtres { flex: none; padding: 0 16px 10px; }
.app--grand .get-liste { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 12px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.app--grand .get-liste--attente { justify-content: center; }
.app--grand .get-liste-vide { margin: 0; padding: 18px; text-align: center; color: var(--gris); font-weight: 600; }
.app--grand .get-liste-vide[hidden] { display: none; }
/* la ligne d'une personne (grand.css › .ge-liste-gars : la grille 'av h s' / 'av c c' / 'av b b') */
.app--grand .get-gars { flex: none; }
.app--grand .get-gars > .vg-g-av { grid-area: av; }
.app--grand .get-gars > .get-h { grid-area: h; }
.app--grand .get-gars > .ge-spark { grid-area: s; justify-self: end; align-self: end; }
.app--grand .get-gars > .ge-cinq { grid-area: c; }
.app--grand .get-gars > .ge-barre { grid-area: b; height: 5px; margin-top: 2px; }
.app--grand .get-gars .vg-g-av .me-point { width: 14px; height: 14px; }
.app--grand .get-h { display: flex; align-items: center; gap: 7px; min-width: 0; }
.app--grand .get-h b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .get-h .vg-coul { width: 10px; height: 10px; margin: 0; }
.app--grand .get-h .nv-mtop { width: 22px; height: 22px; font-size: 12px; flex: none; }
.app--grand .get-h small { margin-left: 2px; color: var(--gris); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .get-h small.get-pause { color: var(--ambre-texte); }
/* LE STATUT HONNÊTE (chantier 100) : sa petite ligne, une rangée à elle sous son nom (une ligne sans elle — Clover : la grille d'avant) ;
   dans sa fiche, sa pastille (la couleur de sa fraîcheur) ; « 📵 Plus de signal » en rouge */
.app--grand .get-gars:has(> .sh-l) { grid-template-areas: 'av h s' 'av sh sh' 'av c c' 'av b b'; }
/* (avec « 🚪 1,3 j » du cercle, cercle.css › 'av j j' : la même règle, plus précise — sinon sa grille, chargée après, n'a pas de rangée « sh ») */
.app--grand .get-gars:has(> .sh-l):has(> .get-jours) { grid-template-areas: 'av h s' 'av sh sh' 'av c c' 'av b b' 'av j j'; }
/* (le correcteur, tour 1) la ligne se replie ENTRE ses morceaux (« 📱 app · sans position · » / « dernier signe il y a 3 min ») — jamais coupée par « … » */
.app--grand .get-gars > .sh-l { grid-area: sh; min-width: 0; font-size: 13.5px; }
.app--grand .ge-np--signal { background: var(--sos-doux); color: var(--sos); }
.app--grand .get-np-signe { background: var(--surface-2); font-weight: 700; }
.app--grand .get-gars .ge-cinq small { font-size: 13px; font-weight: 700; }
.app--grand .get-gars .ge-cinq > span > small:first-child { font-size: 12.5px; font-weight: 800; }
@media (hover: hover) { .app--grand .get-gars:hover { border-color: var(--ligne); } .app--grand .get-gars[aria-pressed="true"]:hover { border-color: var(--encre); } }

/* ---------- SA FICHE (le panneau de grand/panneau.js) ---------- */
/* couché : sur le bord droit de la carte, à côté de la liste ; debout : à droite, sous la carte (la liste passe sur une colonne) */
.app--grand .ge-terrain > .ge-panneau.get-panneau { top: calc(var(--ge-tete-h, 64px) + 12px); right: calc(var(--get-liste) + 12px); bottom: 12px; width: min(436px, calc(100% - var(--get-liste) - 120px)); border-radius: 20px; }
.app--grand .ge-terrain.ge--debout > .ge-panneau.get-panneau { top: calc(var(--ge-tete-h, 64px) + (100% - var(--ge-tete-h, 64px)) * .52 + 10px); right: 12px; width: 58%; }
.app--grand .get-panneau .ge-panneau-tete { gap: 12px; min-height: 84px; padding: 12px 12px 12px 16px; }
.app--grand .get-fiche-av .me-point { width: 15px; height: 15px; }
.app--grand .get-fiche-nm { flex: 1; min-width: 0; }
.app--grand .get-panneau .get-fiche-nm h2 { display: flex; align-items: center; gap: 9px; font-size: 26px; font-weight: 800; line-height: 1.05; white-space: nowrap; overflow: hidden; }
.app--grand .get-panneau .get-fiche-nm h2 > span { overflow: hidden; text-overflow: ellipsis; }
.app--grand .get-fiche-nm .vg-coul { width: 12px; height: 12px; margin: 0; flex: none; }
.app--grand .get-fiche-nm small { display: block; margin-top: 3px; color: var(--gris); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* à l'ordinateur (la fiche : 400 px, deux ronds Appeler · Texter) : « Distributeur · 📍 il y a 3 min » se lit en entier, sur deux lignes au besoin */
#app.ge--large .get-fiche-nm small { white-space: normal; overflow: visible; }
#app.ge--large .get-fiche-nm small > span { white-space: nowrap; }
/* ses 4 tuiles à 400 px : la même place pour le mot qu'au panneau de 436 px (« présentations » ne se coupe plus en « présentation s ») */
#app.ge--large .get-panneau .get-tuile { gap: 6px; padding: 6px 8px; }
#app.ge--large .get-panneau .get-tuile-emo { width: 20px; }
/* Appeler · Texter : le téléphone de l'appareil (boutonTel), en ronds de 44 px ; le lecteur d'écran lit leur aria-label (« Appeler Léa P. ») */
.app--grand .get-tels { flex: none; display: flex; gap: 8px; }
.app--grand .get-tels .nv-tel { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); display: grid; place-items: center; }
.app--grand .get-tels .nv-tel span { display: none; }
.app--grand .get-panneau .ge-panneau-corps { padding: 14px 16px 16px; gap: 14px; }
/* la jauge des taps et les 4 tuiles */
.app--grand .get-jauge { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.app--grand .get-jauge .ge-anneau-txt b { font-size: 34px; }
.app--grand .get-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.app--grand .get-tuile { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 6px 10px; border-radius: 12px; background: var(--surface-2); font-family: var(--f-titre); line-height: 1.05; min-width: 0; }
.app--grand .get-tuile-emo { flex: none; width: 24px; text-align: center; font-size: 18px; }
.app--grand .get-tuile-emo small { font-size: 13px; font-weight: 800; color: var(--gris); }
.app--grand .get-tuile b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .get-tuile small { font-size: 14px; font-weight: 700; color: var(--gris); }
.app--grand .get-tuile--ok { background: var(--vert-doux); }
.app--grand .get-tuile--ok b { color: var(--vert); }
.app--grand .get-puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.app--grand .get-rythme { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 15.5px; }
.app--grand .get-rythme b { font-family: var(--f-titre); font-weight: 800; font-size: 21px; font-variant-numeric: tabular-nums; }
.app--grand .get-l { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 15.5px; }
.app--grand .get-l b { font-family: var(--f-titre); font-weight: 800; font-size: 17px; }
.app--grand .get-l--gris { color: var(--gris); }
/* une section de la fiche ; « fond » : un bloc gris (sa semaine, son parcours) */
.app--grand .get-sec { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.app--grand .get-sec--fond { padding: 12px 12px 10px; border-radius: 14px; background: var(--surface-2); }
.app--grand .get-et-ligne { display: flex; align-items: center; gap: 8px; }
.app--grand .get-et-ligne .ge-np { margin-left: auto; letter-spacing: 0; text-transform: none; font-family: var(--f-texte); font-weight: 800; font-size: 13.5px; min-height: 26px; }
/* sa journée : la frise (une seule cible : le doigt y glisse d'une heure à l'autre) et sa bulle */
.app--grand .get-frise { position: relative; touch-action: pan-y; cursor: default; -webkit-user-select: none; user-select: none; }
.app--grand .get-frise .ge-graphe { overflow: visible; }
.app--grand .get-frise .ge-g-col.elu .ge-g-zone { fill: var(--surface-2); }
.app--grand .get-frise .ge-g-col { cursor: inherit; }
.app--grand .get-frise--serree .ge-g-col:nth-of-type(even) .ge-g-et { display: none; }
.app--grand .get-bulle {
  position: absolute; top: 4px; left: 0; transform: translate(-50%, -100%); padding: 4px 10px; border-radius: 8px; background: #15212A; color: #FFFFFF;
  font-family: var(--f-titre); font-weight: 800; font-size: 15px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 1;
}
.app--grand .get-bulle.vue { opacity: 1; }
:root[data-theme="dark"] .app--grand .get-bulle { background: #E8EEEC; color: #15212A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app--grand .get-bulle { background: #E8EEEC; color: #15212A; } }
.app--grand .get-frise-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--gris); font-size: 14px; font-weight: 600; }
.app--grand .get-frise-leg span { display: inline-flex; align-items: center; gap: 6px; }
.app--grand .get-frise-leg i { width: 12px; height: 12px; border-radius: 3px; }
.app--grand .get-frise-leg i.get-leg-maint { width: 3px; height: 14px; border-radius: 2px; background: var(--sos); }
/* ses rues : un toucher, la carte y va */
.app--grand .get-rues { display: flex; flex-wrap: wrap; gap: 6px; }
.app--grand .get-rue {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--surface-2); color: var(--encre); font: inherit; font-weight: 700; font-size: 15px; text-align: left;
}
.app--grand .get-rue i { flex: none; width: 14px; height: 5px; border-radius: 3px; background: var(--cg, var(--encre)); }
.app--grand .get-rue:active { filter: brightness(.96); }
@media (hover: hover) { .app--grand .get-rue:hover { background: var(--ligne); } }
/* petites-suites (08/10) : ses rues AVEC LEURS PORTES — une rangée par rue, dans l'ordre de sa journée : le nom, la barre à sa couleur,
   « 83 /172 » (faites / ses portes de la rue, aujourd'hui ; vert quand la rue est finie) */
.app--grand .get-rues--portes { flex-direction: column; flex-wrap: nowrap; }
.app--grand .get-rue--portes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 34%) auto; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px; }
.app--grand .get-rue--portes .get-rue-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app--grand .get-rue--portes .ge-barre { background: color-mix(in srgb, var(--encre) 12%, transparent); }
.app--grand .get-rue-n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.app--grand .get-rue-n b { font-family: var(--f-titre); font-weight: 800; font-size: 20px; }
.app--grand .get-rue-n small { margin-left: 1px; color: var(--gris); font-size: 14px; font-weight: 700; }
.app--grand .get-rue--finie .get-rue-n b { color: var(--vert); }
/* sa semaine : ses jours de travail */
.app--grand .get-ronds { display: flex; gap: 6px; }
.app--grand .get-rond {
  flex: 1; min-width: 0; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--gris);
  font-family: var(--f-titre); font-weight: 800; font-size: 15px; line-height: 1;
}
.app--grand .get-rond--fait { background: var(--cg); color: #FFFFFF; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
/* sombre : les couleurs des gars y sont claires (couleurs-gars.js) — le chiffre en encre sombre */
:root[data-theme="dark"] .app--grand .get-rond--fait { color: #0E161B; text-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app--grand .get-rond--fait { color: #0E161B; text-shadow: none; } }
.app--grand .get-rond--auj { box-shadow: inset 0 0 0 2px var(--encre); }
.app--grand .get-rond--venir { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ligne); }
.app--grand .get-rond--manque { background: var(--ambre-doux); color: var(--ambre-texte); box-shadow: inset 0 0 0 2px var(--ambre); text-shadow: none; }
.app--grand .get-sem-l { margin: 0; font-size: 14.5px; color: var(--gris); font-weight: 600; }
.app--grand .get-sem-l b { color: var(--encre); font-family: var(--f-titre); font-size: 17px; font-weight: 800; }
/* son parcours : un bloc qu'on touche (sa fiche) */
.app--grand .get-parcours {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'et ch' 'l ch'; align-items: center; gap: 4px 10px; width: 100%;
  min-height: 56px; border: 0; color: var(--encre); font: inherit; text-align: left; cursor: pointer;
}
.app--grand .get-parcours > .ge-et { grid-area: et; }
.app--grand .get-parcours-l { grid-area: l; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.app--grand .get-parcours-l > b { font-family: var(--f-titre); font-size: 19px; font-weight: 800; }
.app--grand .get-chevron { grid-area: ch; color: var(--gris); }
.app--grand .get-parcours:active { filter: brightness(.97); }
.app--grand .get-chef { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--gris); }
.app--grand .get-chef .nv-anneau { --t: 26px; font-size: 9.5px; }
.app--grand .get-chef .nv-anneau-pts { display: none; }
.app--grand .get-chef [data-libre] { color: var(--encre); }
.app--grand .get-panneau .ge-panneau-pied .nb { gap: 8px; }

/* ---------- DEMAIN : qui est prêt (un petit tableau sous son bouton) ---------- */
.app--grand .get-pop {
  position: absolute; z-index: 8; top: calc(var(--ge-tete-h, 64px) + 8px); right: 12px; width: min(400px, calc(100% - 24px));
  max-height: calc(100% - var(--ge-tete-h, 64px) - 24px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre-forte);
}
.app--grand .get-pop--entre { animation: get-pop-entre .16s ease-out; transform-origin: top right; }
@keyframes get-pop-entre { from { opacity: 0; transform: scale(.97) translateY(-6px); } to { opacity: 1; transform: none; } }
.app--grand .get-pop h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 23px; font-weight: 800; }
.app--grand .get-pop h3 small { font-family: var(--f-texte); font-size: 15px; font-weight: 600; color: var(--gris); }
.app--grand .get-pop-liste { display: flex; flex-direction: column; }
.app--grand .get-pop-l { display: flex; align-items: center; gap: 10px; min-height: 54px; border-top: 1px solid var(--ligne); }
.app--grand .get-pop-l:first-child { border-top: 0; }
.app--grand .get-pop-l .nv-anneau { --t: 36px; font-size: 12px; }
.app--grand .get-pop-l .nv-anneau-pts { display: none; }
.app--grand .get-pop-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app--grand .get-pop-t b { font-size: 16px; }
.app--grand .get-pop-t small { color: var(--gris); font-size: 14px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app--grand .get-a-donner { min-height: 44px; padding: 0 14px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.app--grand .get-pop > .nb { margin-top: 10px; }

/* ---------- L'ORDINATEUR : TROIS COLONNES (le Gérant à l'ordinateur, T1, 09/10 ; 25-gerant-ordinateur/PLAN.md, D-GO-2, D-GO-11) ----------
   `ge--large` (posée sur #app par grand/index.js › estLarge : le grand écran ET 1400 px ou plus). La liste à gauche · la carte · la fiche
   à droite (la place de « ce qui s'ouvre », comme le tiroir Moi) : RIEN NE SE COUVRE, la carte garde sa taille quand un gars est touché.
   Sans gars choisi, la 3e colonne montre l'équipe aujourd'hui (htmlCol3) ; un gars touché : sa fiche y apparaît sur place (pas de glissement).
   La liste garde 352 px (ses 5 chiffres tiennent ; 384 px à 1800 px et plus). Debout (une fenêtre plus haute que large) : la mise en
   page de l'iPad, telle quelle. Entre 1024 et 1399 px : rien de ce bloc ne s'applique (l'iPad ne change pas). */
.app--grand .get-col3 { display: none; }
#app.ge--large .ge-terrain:not(.ge--debout) {
  --get-liste: 352px; --get-fiche: 400px;
  grid-template-columns: var(--get-liste) minmax(0, 1fr) var(--get-fiche);
}
@media (min-width: 1800px) { #app.ge--large .ge-terrain:not(.ge--debout) { --get-liste: 384px; --get-fiche: 440px; } }
#app.ge--large .ge-terrain:not(.ge--debout) > .get-liste-zone { grid-column: 1; grid-row: 2; border-left: 0; border-right: 1px solid var(--ligne); }
#app.ge--large .ge-terrain:not(.ge--debout) > .get-carte-zone { grid-column: 2; grid-row: 2; }
/* la fiche : la 3e colonne, pleine hauteur, à plat (un trait à gauche, comme la liste) ; elle défile seule, « Donner des rues » collé en bas */
#app.ge--large .ge-terrain:not(.ge--debout) > .ge-panneau.get-panneau {
  grid-column: 3; grid-row: 2; position: relative; z-index: 1; inset: auto; width: auto; height: auto; max-width: none; min-width: 0; min-height: 0;
  border: 0; border-left: 1px solid var(--ligne); border-radius: 0; box-shadow: none; transform: none; opacity: 1; transition: none;
}
/* fermée (✕, Échap : panneau.js la retire 230 ms plus tard) : invisible tout de suite ; « visibility » et pas « display » : la fiche reprise
   après un nouveau rendu (posée avant que l'écran ne reprenne ge--avec-panneau) garde une boîte, donc son défilement */
#app.ge--large .ge-terrain:not(.ge--debout):not(.ge--avec-panneau) > .ge-panneau { visibility: hidden; }
/* la fiche ne couvre plus la carte : le zoom, « ❄ Blocs seulement », l'attribution et la légende restent à leur place */
#app.ge--large .ge-terrain.ge--avec-panneau .get-zoom, #app.ge--large .ge-terrain.ge--avec-panneau .get-hiver { right: 14px; }
#app.ge--large .ge-terrain.ge--avec-panneau .get-carte-zone .leaflet-bottom.leaflet-left { right: 72px; }
#app.ge--large .ge-terrain.ge--avec-panneau .get-legende { display: flex; }
/* la 3e colonne sans gars choisi : l'équipe aujourd'hui (chantier 124, 12/11 : le bloc « ⏸ Arrêtés » est enlevé — « ☕ en pause » le dit) */
#app.ge--large .ge-terrain:not(.ge--debout) > .get-col3 {
  grid-column: 3; grid-row: 2; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  border-left: 1px solid var(--ligne); background: var(--fond); padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
}
#app.ge--large .ge-terrain.ge--avec-panneau > .get-col3 { visibility: hidden; }
/* l'équipe aujourd'hui (sans gars choisi) : les 5 chiffres de l'équipe (la jauge de la fiche), l'équipe par heure (sa frise) */
#app.ge--large .ge-terrain:not(.ge--debout) > .get-col3 { gap: 20px; }
.app--grand .get-c3-bloc { min-width: 0; }
.app--grand .get-col3 .get-c3-aide { padding-top: 0; }
/* les chiffres de l'équipe sont plus grands (« 324/1 200 ») : les 4 tuiles en une colonne, le mot sur la même ligne (jamais coupé) */
.app--grand .get-col3 .get-tuiles { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.app--grand .get-col3 .get-tuile { min-height: 40px; padding: 4px 10px; }
.app--grand .get-col3 .get-tuile br { display: none; }
.app--grand .get-col3 .get-tuile > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .get-col3 .get-tuile > span:last-child > small:last-child { margin-left: 6px; }
.app--grand .get-c3-tete { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.app--grand .get-c3-tete h2 { font-size: 23px; font-weight: 800; }
.app--grand .get-c3-tete small { color: var(--gris); font-size: 14px; font-weight: 600; }
.app--grand .get-c3-rien { margin: 0; padding: 14px 4px; color: var(--gris); font-size: 16px; font-weight: 700; }
.app--grand .get-c3-aide { margin: auto 0 0; padding-top: 16px; color: var(--gris); font-size: 14.5px; font-weight: 600; text-align: center; }

/* ---------- moins de mouvement : tout est immédiat ---------- */
@media (prefers-reduced-motion: reduce) {
  .app--grand .get-zoom, .app--grand .get-hiver, .app--grand .get-carte-zone .leaflet-bottom.leaflet-left, .app--grand .get-bulle { transition: none; }
  .app--grand .get-pop--entre { animation: none; }
}

/* ---------- T3 À L'ORDINATEUR (chantier gerant-t3, lot « terrain », 11/10 ; 25-gerant-ordinateur/PLAN-T3.md § 3.1, § 3.3, § 4 ;
   D-GO-T3a à D-GO-T3m). La direction, le 11/10 : « le terrain ya as l'option de fermer l'agler que ce sois ce lui de gauche ou droite ou
   quil se reduit pour voir plus la maps en grand ? » ; « et aussi pour filter avec les date ». TOUT sous #app.ge--large (1400 px et
   plus, couché) : sous 1400 px, rien ne change (le bouton de date, le coin de la carte, la bande, Demain dans la colonne : cachés ou
   jamais posés ; la poignée et ⤢ : grand.css les cache déjà). Les jetons de base.css (clair ET sombre) ; 44 px au moins ; le jeu. ---------- */
.app--grand .ge-terrain .ge-date-groupe, .app--grand .get-coin { display: none; }
#app.ge--large .ge-terrain:not(.ge--debout) .ge-date-groupe { display: inline-flex; }
/* I11 · le coin de la carte : ⤢ plein écran et la poignée de la 3e colonne, EN HAUT à droite (la poignée collée au bord droit de la
   carte : elle y reste, la colonne repliée) ; « ❄ Blocs seulement » passe dessous (jamais deux boutons l'un sur l'autre) */
#app.ge--large .ge-terrain:not(.ge--debout) .get-coin { display: flex; align-items: center; gap: 8px; position: absolute; z-index: 3; right: 14px; top: 14px; }
#app.ge--large .ge-terrain:not(.ge--debout) .get-hiver { top: 70px; }
#app.ge--large .ge-terrain:not(.ge--debout) .get-liste-tete .ge-poignee { margin-left: auto; flex: none; }
/* LES LARGEURS (à 1440 × 900 : la carte 592 → 872 · 992 · 1 272 · 1 344 px) : la liste → la BANDE de 72 px ; la 3e colonne → 0 (une
   fiche, Demain ou Donner des rues la rouvrent le temps qu'ils sont là) ; plein écran : les deux à 0 */
#app.ge--large .ge-terrain:not(.ge--debout) { overflow: hidden; }
#app.ge--large .ge-terrain:not(.ge--debout).ge--replie-gauche { --get-liste: 72px; }
#app.ge--large .ge-terrain:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) { --get-fiche: 0px; }
/* « les deux repliées » (replier.js : ge--plein) : la bande + 0 ; ⤢ PLEIN ÉCRAN (le Terrain : get--plein-ecran) : 0 + 0 */
#app.ge--large .ge-terrain:not(.ge--debout).ge--plein.get--plein-ecran { --get-liste: 0px; }
#app.ge--large .ge-terrain:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) > .get-col3 { display: none; }
#app.ge--large .ge-terrain:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) > .ge-panneau { overflow: hidden; border: 0; }
#app.ge--large .ge-terrain:not(.ge--debout).ge--plein.get--plein-ecran > .get-liste-zone { visibility: hidden; overflow: hidden; border: 0; }
/* LA BANDE (« Mon équipe » repliée) : chaque gars, son anneau, sa couleur, son point de statut — un toucher = sa fiche ; la poignée › en
   haut (rouvrir). (Chantier 124 : plus de « ⏸ » sur l'anneau.) */
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) > .get-liste-zone { overflow: hidden; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-liste-tete { justify-content: center; padding: 12px 0 8px; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-liste-tete > :not(.ge-poignee) { display: none; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-liste-tete .ge-poignee { margin: 0; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-filtres { display: none; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-liste { padding: 4px 0 16px; align-items: center; gap: 6px; overflow-x: hidden; scrollbar-width: none; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-liste::-webkit-scrollbar { display: none; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-gars {
  width: 60px; min-height: 60px; padding: 6px; display: grid; grid-template-columns: 1fr; grid-template-areas: 'av'; place-items: center;
  border-width: 2px; border-color: transparent; background: transparent; box-shadow: none;
}
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-gars > :not(.vg-g-av) { display: none; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-gars[aria-pressed="true"] { border-color: var(--cg, var(--encre)); background: var(--surface); }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-gars .vg-g-av { position: relative; }
#app.ge--large .ge-terrain.ge--replie-gauche:not(.get--plein-ecran) .get-gars .vg-g-av::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; width: 18px; height: 4px; margin-left: -9px; border-radius: 2px; background: var(--cg, var(--encre));
}

/* I12 · LA VUE PASSÉE (D-GO-T3d) : le jour ou la période sous le titre (en couleur, comme le bouton) ; les portes de la période sur la
   carte (leur canevas) ; la légende des statuts ; la liste (ses chiffres, « N portes ») ; la 3e colonne (les portes par statut, jour par jour) */
.app--grand .get-tete-passe { color: var(--accent-texte); font-weight: 800; }
.app--grand .get-legende--passe { gap: 4px 12px; }
.app--grand .get-legende--passe b { color: var(--encre); font-family: var(--f-titre); font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .get-lg-st { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(21, 33, 42, .2); }
.app--grand .get--passe .get-gars { grid-template-areas: 'av h' 'av c'; grid-template-columns: auto minmax(0, 1fr); }
.app--grand .get-statuts { display: flex; flex-direction: column; gap: 6px; }
.app--grand .get-st-l { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; grid-template-areas: 'p m n' 'b b b'; align-items: center; gap: 4px 10px; font-size: 15.5px; font-weight: 700; }
.app--grand .get-st-l > i { grid-area: p; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(21, 33, 42, .2); }
.app--grand .get-st-l > span:not(.get-st-b) { grid-area: m; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app--grand .get-st-l > b { grid-area: n; font-family: var(--f-titre); font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .get-st-b { grid-area: b; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--encre) 10%, transparent); overflow: hidden; }
.app--grand .get-st-b > span { display: block; height: 100%; border-radius: 3px; }
/* I7 · la bulle du survol sur la carte (la souris) : « Ana · 🤜 46 · 🚪 46 · 🎯 2 · dernière porte il y a 4 min » ; « Ana · Close » */
.app--grand .get-survol {
  position: absolute; z-index: 6; left: 0; top: 0; transform: translate(-50%, -100%); padding: 5px 11px; border-radius: 9px; background: #15212A; color: #FFFFFF;
  font-family: var(--f-titre); font-weight: 800; font-size: 15px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s;
}
.app--grand .get-survol.vue { opacity: 1; }
/* une épingle tout en haut de la carte : la bulle passe DESSOUS (jamais coupée ; de côté, terrain.js la garde dans la zone) */
.app--grand .get-survol.get-survol--dessous { transform: translate(-50%, 0); }
:root[data-theme="dark"] .app--grand .get-survol { background: #E8EEEC; color: #15212A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app--grand .get-survol { background: #E8EEEC; color: #15212A; } }
@media (hover: none) { .app--grand .get-survol { display: none; } }

/* T4 · DEMAIN ET DONNER DES RUES DANS LA 3e COLONNE (le panneau de la fiche, à plat dans sa colonne) */
.app--grand .get-demain { display: flex; flex-direction: column; gap: 4px; }
.app--grand .get-demain > .nb { margin-top: 10px; }
.app--grand .get-pop-l--suivant { margin: 0 -10px; padding: 0 10px; border-radius: 14px; border-top-color: transparent; background: var(--ambre-doux); }
.app--grand .get-pop-l--suivant + .get-pop-l { border-top-color: transparent; }
.app--grand .get-demain-nm h2, .app--grand .get-hote-nm h2 { font-size: 24px; }
.app--grand .get-panneau--hote .ge-panneau-corps { padding: 0; gap: 0; }
.app--grand .get-panneau--hote .ecran--colonne { min-height: 100%; }
/* « 44 » sur la carte (la vue passée) : le petit rond des portes de la légende (plusieurs couleurs : ses portes à leur statut) — jamais
   confondu avec 🚪 (les portes comptées par les chiffres) */
.app--grand .get-sur-carte { display: inline-flex; align-items: center; gap: 5px; }
.app--grand .get-sur-carte > i { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(21, 33, 42, .2);
  background: conic-gradient(#9CA3AF 0 35%, #DC2626 0 60%, #7C3AED 0 75%, #16A34A 0); }
/* l'écran du téléphone DANS la colonne (400 px : la largeur d'un téléphone) : sa mise en page de TÉLÉPHONE, telle quelle — les règles
   « tablette » de outils-gerant.css (min-width: 700px : la fenêtre, pas la colonne) n'y entrent pas : les anneaux en UNE rangée qui
   glisse, la carte à sa hauteur de téléphone (elle se voit sans défiler) */
.app--grand .get-panneau--hote .ecran--colonne .og-gens { gap: 10px; flex-wrap: nowrap; overflow-x: auto; }
.app--grand .get-panneau--hote .ecran--colonne .og-carte { height: 44vh; max-height: 440px; }
/* JOUR PAR JOUR d'une longue période (la vue passée) : les nombres au-dessus des barres ne se chevauchent jamais — un sur deux au-delà
   de 10 barres (comme les jours dessous), aucun au-delà de 20 (31 jours : 12 px par barre ; la hauteur dit l'allure, la liste et la fiche
   disent les nombres, le lecteur d'écran les a tous) */
.app--grand .get-par-jour .get-frise--serree .ge-g-col:nth-of-type(even) .ge-g-val, .app--grand .get-par-jour .get-frise--tres-serree .ge-g-val { display: none; }
