/* LE GRAND ÉCRAN — LA COQUILLE (chantier grand-ecran, 06/10/2026 ; conception-nova-terrain/18-grand-ecran/PLAN.md § 3.4 ; DECISIONS
   D-GE1 à D-GE13 ; la maquette approuvée : 18-grand-ecran/captures/*.png). TOUT est sous .app--grand (posée sur #app par
   telephone/grand/index.js : le Gérant chez lui ou la personne au téléphone, à 1024 px et plus) : sans elle, RIEN ne change — le
   téléphone, la petite tablette, un Distributeur sur la Samsung couchée (D-GE11).
   · le cadre : le RAIL à gauche (la barre du bas, debout : la marque NOVA, les onglets, un trait, ce que le grand écran ajoute), la
     SCÈNE à droite (l'en-tête, le bandeau, le contenu) ; les écrans du téléphone y gardent leur colonne de 672 px (nova.css) et
     marchent tels quels ; les écrans du grand écran (data-ecran="ge-…") prennent toute la largeur ;
   · la feuille (nav.feuille) devient un TIROIR à droite (460 px, toute la hauteur, le voile derrière) ; les toasts en bas à droite ;
   · le panneau d'un écran (grand/panneau.js : .ge-panneau) glisse à droite DANS l'écran ;
   · les petits composants que les 4 écrans partagent (.ge-tete, .ge-bloc, .ge-np, .ge-filtre, .ge-vide, les graphiques .ge-g-*…).
   Les couleurs : CELLES de base.css (aucune neuve) ; clair ET sombre par les jetons ; cibles de 44 px au moins ; « moins de
   mouvement » respecté. Le look : celui de NOVA (le look jeu). */

.app--grand { --ge-rail: 96px; --ge-panneau: 460px; --ge-rayon: 16px; --entete-h: 60px; }

/* ---------- le cadre : le rail à gauche, la scène à droite ---------- */
#app.app--grand {
  display: grid;
  grid-template-columns: calc(var(--ge-rail) + env(safe-area-inset-left)) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
}
/* l'en-tête d'un écran du téléphone : son titre à 20 px du rail, comme la ligne du haut d'un écran du grand écran (8 + 12 de
   .entete-espace) */
#app.app--grand > .entete { grid-column: 2; grid-row: 1; min-width: 0; padding-inline: 8px calc(12px + env(safe-area-inset-right)); }
#app.app--grand > .zone-bandeau { grid-column: 2; grid-row: 2; min-width: 0; }
#app.app--grand > .contenu { grid-column: 2; grid-row: 3; min-width: 0; }
/* PIPELINE-SEULEMENT (15/10) : « au nom de » la personne au téléphone, le grand écran s'allume (grand/index.js) — le bandeau « 👑 Tu vois le
   compte de … · Revenir à mon compte » prend toute la largeur EN HAUT (au-dessus du rail et de la scène) ; le tiroir commence sous lui */
#app.app--grand.app--au-nom-de { grid-template-rows: auto auto auto minmax(0, 1fr); }
#app.app--grand > .au-nom-de { grid-column: 1 / -1; grid-row: 1; }
#app.app--grand.app--au-nom-de > .entete { grid-row: 2; }
#app.app--grand.app--au-nom-de > .zone-bandeau { grid-row: 3; }
#app.app--grand.app--au-nom-de > .contenu { grid-row: 4; }
#app.app--grand.app--au-nom-de > .barre { grid-row: 2 / -1; margin-top: 0; padding-top: 10px; }
#app.app--grand.app--au-nom-de > .feuille { top: var(--au-nom-de-h, 56px); border-radius: 0 0 0 22px; }
/* un écran plein (Présenter au client, la promotion) : pas de rail, toute la largeur */
#app.app--grand.sans-barre { grid-template-columns: minmax(0, 1fr); }
#app.app--grand.sans-barre > .entete, #app.app--grand.sans-barre > .zone-bandeau, #app.app--grand.sans-barre > .contenu { grid-column: 1; }

/* ---------- le rail (la barre du bas, debout) ---------- */
#app.app--grand > .barre {
  grid-column: 1; grid-row: 1 / -1; min-height: 0;
  flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
  /* en bas : la place de Moi (la photo, 48 px), posée par-dessus (plus bas dans ce fichier) */
  padding: calc(10px + env(safe-area-inset-top)) 8px calc(72px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
  margin-top: calc(-1 * env(safe-area-inset-top));
  border-top: 0; border-right: 1px solid var(--ligne);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
#app.app--grand > .barre::-webkit-scrollbar { display: none; }
/* la marque, en haut (le texte est décoratif : la nav s'appelle « Navigation principale ») */
#app.app--grand > .barre::before {
  content: 'NOVA'; content: 'NOVA' / ''; flex: none; display: block; margin: 6px 0 12px; text-align: center;
  font-family: var(--f-titre); font-weight: 800; font-size: 23px; letter-spacing: .12em; line-height: 1; color: var(--encre);
}
#app.app--grand .barre-item {
  flex: none; width: 100%; min-width: 0; height: 72px; padding: 0 2px; gap: 4px; border-radius: 14px;
  transition: background-color .15s, color .15s;
}
/* le survol : seulement avec une souris (sur l'iPad, un survol resterait collé après le toucher) */
@media (hover: hover) { #app.app--grand .barre-item:hover { background: var(--surface-2); } }
#app.app--grand .barre-item:active { background: var(--surface-2); }
/* l'actif : un trait vertical au bord gauche du rail (au lieu du trait du haut) */
#app.app--grand .barre-item::before { top: 18px; bottom: 18px; left: -8px; right: auto; width: 4px; height: auto; border-radius: 0 4px 4px 0; }
#app.app--grand .barre-icone, #app.app--grand .barre-icone svg { width: 28px; height: 28px; }
#app.app--grand .barre-libelle { max-width: 100%; font-size: 14.5px; line-height: 1.1; letter-spacing: .01em; white-space: normal; overflow: visible; text-align: center; }
#app.app--grand .barre-item .barre-pastille--mot { right: -22px; }
/* ce que le grand écran ajoute (Chiffres, Clover) : après un trait, avec un petit « + » — pipeline-seulement (15/10) : « Pipeline » (rectableau)
   est le SEUL onglet de la personne au téléphone : ni trait ni « + » */
#app.app--grand .barre-item[data-onglet-nova="chiffres"] { margin-top: 14px; }
#app.app--grand .barre-item[data-onglet-nova="chiffres"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; top: -10px; height: 2px; border-radius: 2px; background: var(--ligne);
}
#app.app--grand .barre-item[data-onglet-nova="chiffres"] .barre-icone::after, #app.app--grand .barre-item[data-onglet-nova="clover"] .barre-icone::after {
  content: '+'; content: '+' / ''; position: absolute; top: -6px; right: -16px; min-width: 15px; padding: 0 3px; border-radius: 5px;
  background: var(--accent-doux); color: var(--accent-texte); font-family: var(--f-texte); font-size: 11px; font-weight: 800; line-height: 15px; text-align: center;
}
/* une fenêtre basse (un portable, 1440 × 800) : le rail se serre */
@media (max-height: 820px) {
  #app.app--grand .barre-item { height: 60px; gap: 2px; }
  #app.app--grand .barre-icone, #app.app--grand .barre-icone svg { width: 24px; height: 24px; }
  #app.app--grand .barre-libelle { font-size: 14px; }
  #app.app--grand > .barre::before { margin: 2px 0 6px; font-size: 21px; }
  #app.app--grand .barre-item::before { top: 12px; bottom: 12px; }
}

/* la marque de l'accueil (« NOVA » en titre) : le rail la porte déjà, juste à côté — gardée pour un lecteur d'écran, plus montrée deux fois */
#app.app--grand .entete-titre.nv-marque { clip-path: inset(50%); }

/* ---------- Moi (la photo) et la synchro : en bas du rail, comme la maquette (07/10) ----------
   Les mêmes boutons que l'en-tête du téléphone (moi.js › enteteNova : le même geste, la même étiquette), posés en bas du rail :
   l'en-tête cesse d'être leur boîte (position static) et leur plan (z-index auto : un élément de grille garde sinon son plan, sous
   le rail) ; #app (fixe) les porte, au-dessus du rail. Le rail garde leur place en bas (rien dessous). */
#app.app--grand > .entete { position: static; z-index: auto; }
#app.app--grand > .entete .nv-photo {
  position: absolute; z-index: 3; left: calc(env(safe-area-inset-left) + (var(--ge-rail) - 48px) / 2); bottom: calc(14px + env(safe-area-inset-bottom));
}
#app.app--grand:not(.sans-barre) > .entete .nv-photo .nv-anneau { transform: scale(1.3); }   /* l'anneau de 32 px à ~42 px : la taille de la maquette */
#app.app--grand > .entete .entete-synchro {
  position: absolute; z-index: 3; left: calc(env(safe-area-inset-left) + 8px); width: calc(var(--ge-rail) - 16px); bottom: calc(68px + env(safe-area-inset-bottom));
  padding: 0 4px; border-radius: 12px; background: var(--surface);
}
#app.app--grand:has(> .entete .entete-synchro) > .barre { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
/* un écran sans barre (barre: false) : pas de rail — Moi et la synchro restent dans l'en-tête */
#app.app--grand.sans-barre > .entete .nv-photo, #app.app--grand.sans-barre > .entete .entete-synchro { position: static; width: auto; }

/* ---------- l'en-tête d'un écran du grand écran : SA ligne du haut (.ge-tete) — celle du routeur se replie ----------
   (app--ge : posée par grand/index.js › appliquerClasse ; :has() la devance d'un rendu, avant les mesures de l'écran.) Le titre :
   le <h1> de la .ge-tete ; Moi et la synchro restent en bas du rail. */
#app.app--grand.app--ge > .entete { height: 0; min-height: 0; padding: 0; border: 0; overflow: visible; }
#app.app--grand.app--ge > .entete > :not(.nv-entete-droite):not(.entete-droite), #app.app--grand.app--ge > .entete .nv-date { display: none; }
#app.app--grand:has(> .contenu > .ecran[data-ecran^="ge-"]) > .entete { height: 0; min-height: 0; padding: 0; border: 0; overflow: visible; }
#app.app--grand:has(> .contenu > .ecran[data-ecran^="ge-"]) > .entete > :not(.nv-entete-droite):not(.entete-droite),
#app.app--grand:has(> .contenu > .ecran[data-ecran^="ge-"]) > .entete .nv-date { display: none; }

/* ---------- la scène : les écrans du téléphone gardent leur colonne ; ceux du grand écran sont BORD À BORD ----------
   (la maquette : la carte touche le rail, la ligne du haut fait toute la largeur ; chaque écran donne ses marges à ses zones —
   .ge-corps est une zone avec les marges habituelles) */
#app.app--grand .ecran--nova[data-ecran^="ge-"] { width: 100%; max-width: none; margin: 0; padding: 0; gap: 0; }
#app.app--grand .contenu.contenu--fixe .ecran--fixe[data-ecran^="ge-"] { height: 100%; min-height: 0; }
.app--grand .ge { position: relative; min-width: 0; }
.app--grand .ecran--fixe > .ge { flex: 1; min-height: 0; }
.app--grand .ecran--nova:not(.ecran--fixe) > .ge { flex: 1 0 auto; }
.app--grand .ge-corps { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px calc(20px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) 20px; }
.app--grand .ge-hote-panneau { position: relative; }
/* l'attente honnête d'un écran pas encore construit (les squelettes), et son chargement (sa ligne du haut tout de suite ; « Un
   instant… » après 250 ms) */
.app--grand .ge-attente, .app--grand .ge-place { min-height: 100%; display: flex; flex-direction: column; }
.app--grand .ge-attente-corps { flex: 1; display: grid; place-items: center; align-content: center; padding: 24px; }
.app--grand .ge-attente-corps .nvide { width: min(440px, 100%); padding: 30px 28px; border-radius: var(--ge-rayon); background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.app--grand .ge-chargement { opacity: 0; animation: ge-montre .2s ease-out .25s forwards; }
.app--grand .ge-chargement .nvide { background: transparent !important; border: 0 !important; box-shadow: none !important; }
@keyframes ge-montre { to { opacity: 1; } }

/* ---------- la feuille devient un tiroir à droite (toute la hauteur, 460 px, le voile derrière) ---------- */
#app.app--grand > .feuille {
  left: auto; right: 0; top: 0; bottom: 0; width: min(var(--ge-panneau), 100%); max-height: none;
  border-radius: 22px 0 0 22px; transform: translateX(104%);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) 0;
}
#app.app--grand > .feuille.ouvert { transform: none; }
#app.app--grand .feuille-poignee { display: none; }
#app.app--grand .feuille-entete { padding: 16px 12px 6px 22px; }
#app.app--grand .feuille-corps { flex: 1; min-height: 0; padding: 8px 22px 24px; }

/* ---------- les toasts : en bas à droite (à gauche du tiroir quand il est ouvert) ; la fête : au-dessus de la scène ---------- */
#app.app--grand > .toasts {
  left: auto; top: auto; right: calc(24px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - var(--ge-rail) - 48px)); justify-content: flex-end;
}
#app.app--grand.avec-feuille > .toasts { right: calc(var(--ge-panneau) + 24px); }
#app.app--grand > .celebration { left: calc(var(--ge-rail) + env(safe-area-inset-left)); }

/* ---------- le panneau d'un écran (grand/panneau.js) : il glisse à droite, DANS l'écran ---------- */
.app--grand .ge-panneau {
  position: absolute; z-index: 5; top: 12px; right: 12px; bottom: 12px; width: var(--ge-panneau); max-width: calc(100% - 24px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--ge-rayon); box-shadow: var(--ombre-forte);
  transform: translateX(calc(100% + 24px)); opacity: 0; transition: transform .22s ease-out, opacity .2s;
}
.app--grand .ge-panneau.ouvert { transform: none; opacity: 1; }
/* posé dans la racine de l'écran (la sienne, .ge, ou celle du routeur) : sous sa ligne du haut (--ge-tete-h : mesurée par
   panneau.js › orientation) ; posé dans une zone (dans: …) : à 12 px de ses bords */
.app--grand .ecran[data-ecran^="ge-"] > .ge-panneau, .app--grand .ge > .ge-panneau { top: calc(var(--ge-tete-h, 64px) + 12px); }
/* la reprise (panneau.js : la même clé après un nouveau rendu de l'écran) : déjà là, sans glisser */
.app--grand .ge-panneau.sans-glisser { transition: none; }
.app--grand .ge-panneau.change .ge-panneau-corps { animation: ge-change .12s ease-out; }
@keyframes ge-change { from { opacity: .35; } to { opacity: 1; } }
.app--grand .ge-panneau-tete { flex: none; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--ligne); }
.app--grand .ge-panneau-tete h2 { flex: 1; min-width: 0; font-size: 22px; }
.app--grand .ge-panneau-x {
  flex: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--encre);
  display: grid; place-items: center; cursor: pointer;
}
.app--grand .ge-panneau-x svg { width: 20px; height: 20px; }
.app--grand .ge-panneau-x:active { transform: scale(.95); }
.app--grand .ge-panneau-corps { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 12px; overflow-wrap: anywhere; }
.app--grand .ge-panneau-corps > * { flex-shrink: 0; }
/* les boutons du pied, collés en bas du panneau (le dernier enfant du corps) */
.app--grand .ge-panneau-pied {
  position: sticky; bottom: -14px; z-index: 1; margin: auto -14px -14px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); border-top: 1px solid var(--ligne);
}
.app--grand .ge-panneau-pied > * { flex: 1 1 160px; }

/* ---------- les composants partagés par les quatre écrans (la maquette, adaptée aux jetons) ---------- */
/* la ligne du haut d'un écran (la .tete de la maquette) : bord à bord, collée en haut de la scène (aussi quand l'écran défile) —
   <header class="ge-tete"><h1>Titre</h1><span class="ge-tete-sous">mar. 6 oct. · 16 h 40</span><span class="ge-direct"><i></i>En
   direct</span><div class="ge-tete-droite">les outils (.ge-outil)</div></header> ; dans une grille, elle prend toute la ligne */
.app--grand .ge-tete {
  flex: none; grid-column: 1 / -1; position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: 64px;
  padding: 8px calc(20px + env(safe-area-inset-right)) 8px 20px; background: var(--surface); border-bottom: 1px solid var(--ligne);
}
.app--grand .ge-tete h1, .app--grand .ge-tete h2 { margin: 0; font-size: 27px; line-height: 1.1; white-space: nowrap; }
.app--grand .ge-tete-sous { color: var(--gris); font-weight: 600; font-size: 15px; white-space: nowrap; }
.app--grand .ge-tete-droite { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.app--grand .ge-direct { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--encre); white-space: nowrap; }
.app--grand .ge-direct i { width: 9px; height: 9px; border-radius: 50%; background: var(--sos); box-shadow: 0 0 0 3px var(--sos-doux); animation: ge-pouls 2s ease-in-out infinite; }
@keyframes ge-pouls { 50% { box-shadow: 0 0 0 6px var(--sos-doux); } }
/* un outil (48 px : une icône et un mot) */
.app--grand .ge-outil {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); cursor: pointer;
  font-family: var(--f-titre); font-weight: 800; font-size: 18px; white-space: nowrap; text-decoration: none;
}
.app--grand .ge-outil:active { background: var(--surface-2); }
.app--grand .ge-outil[aria-pressed="true"] { border-color: var(--encre); background: var(--encre); color: var(--surface); }
.app--grand .ge-outil svg { width: 22px; height: 22px; }
/* un bloc (une carte blanche arrondie) */
.app--grand .ge-bloc { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--ge-rayon); box-shadow: var(--ombre); min-width: 0; }
.app--grand .ge-bloc-tete { display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; }
.app--grand .ge-bloc-tete h3 { font-size: 21px; }
.app--grand .ge-et { font-family: var(--f-titre); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: 0; }
/* les pastilles (un mot, jamais la couleur seule) */
.app--grand .ge-np { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 10px 2px 8px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.1; white-space: nowrap; background: var(--surface-2); color: var(--encre); }
.app--grand .ge-np--vert { background: var(--vert-doux); color: var(--vert); }
.app--grand .ge-np--ambre { background: var(--ambre-doux); color: var(--ambre-texte); }
.app--grand .ge-np--gris { background: var(--surface-2); color: var(--gris); }
.app--grand .ge-np--violet { background: var(--violet-doux); color: var(--violet); }
.app--grand .ge-np--cyan { background: var(--cyan-doux); color: var(--cyan); }
.app--grand .ge-np--accent { background: var(--accent-doux); color: var(--accent-texte); }
/* le segment Aujourd'hui · Hier · La semaine : ui.segments (.nso.nso--segments), en 48 px */
.app--grand .ge-nso.nso button, .app--grand .ge-nso .nso button { min-height: 48px; padding: 0 16px; font-size: 17px; }
/* les filtres (pilules de 44 px, aria-pressed) */
.app--grand .ge-filtres { display: flex; flex-wrap: wrap; gap: 6px; }
.app--grand .ge-filtre {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--surface); color: var(--gris); font: inherit; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.app--grand .ge-filtre i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--st, var(--gris-clair)); }
.app--grand .ge-filtre[aria-pressed="true"] { background: var(--encre); color: var(--surface); border-color: var(--encre); }
/* l'état vide honnête (« — », « Rien encore ») */
.app--grand .ge-vide { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; text-align: center; color: var(--gris); font-weight: 600; }
.app--grand .ge-vide b { font-family: var(--f-titre); font-weight: 700; font-size: 21px; color: var(--encre); }
/* la barre horizontale (graphes.barre) */
.app--grand .ge-barre { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.app--grand .ge-barre > i { position: absolute; inset: 0; border-radius: inherit; background: var(--c, var(--encre)); transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform .35s ease-out; }
.app--grand .ge-barre--ok > i { background: var(--vert); }
.app--grand .ge-barre--gris > i { background: var(--gris-clair); }
/* les petites barres d'une ligne (graphes.sparkline) */
.app--grand .ge-spark { display: block; flex: none; }
.app--grand .ge-spark-vide { fill: var(--surface-2); }
/* la ligne d'une personne : l'anneau (44) et son point de statut, le prénom et le point de sa couleur, les 5 chiffres, la barre */
.app--grand .ge-liste-gars {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'av h s' 'av c c' 'av b b'; align-items: center;
  column-gap: 12px; row-gap: 3px; width: 100%; min-height: 72px; padding: 10px 12px; text-align: left; cursor: pointer; color: var(--encre); font: inherit;
  border: 2px solid transparent; border-radius: 14px; background: var(--surface); box-shadow: var(--ombre); transition: border-color .15s, transform .12s;
}
.app--grand .ge-liste-gars:active { transform: scale(.99); }
.app--grand .ge-liste-gars[aria-pressed="true"] { border-color: var(--encre); }
.app--grand .ge-cg { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cg, var(--gris-clair)); }
/* les cinq chiffres (🤜 taps · 🚪 portes · DM · 🎤 · 🎯) */
.app--grand .ge-cinq { display: flex; justify-content: space-between; gap: 6px; font-family: var(--f-titre); font-size: 15px; color: var(--gris); white-space: nowrap; }
.app--grand .ge-cinq span { display: inline-flex; align-items: baseline; gap: 2px; }
.app--grand .ge-cinq b { color: var(--encre); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .ge-cinq .ok b { color: var(--vert); }
/* l'anneau de progrès (graphes.anneauProgres) */
.app--grand .ge-anneau { position: relative; display: inline-grid; place-items: center; width: var(--t, 108px); height: var(--t, 108px); flex: none; }
.app--grand .ge-anneau > svg, .app--grand .ge-anneau-txt { grid-area: 1 / 1; }
.app--grand .ge-anneau-fond { stroke: var(--surface-2); }
.app--grand .ge-anneau-txt { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.app--grand .ge-anneau-txt b { font-family: var(--f-titre); font-weight: 800; font-size: calc(var(--t, 108px) * .28); font-variant-numeric: tabular-nums; }
.app--grand .ge-anneau-txt small { margin-top: 3px; font-family: var(--f-titre); font-weight: 700; font-size: 14px; color: var(--gris); }
.app--grand .ge-anneau--ok .ge-anneau-txt b { color: var(--vert); }
/* les graphiques (graphes.barresEmpilees, graphes.barres) */
.app--grand .ge-graphe { display: block; overflow: visible; font-family: var(--f-titre); }
.app--grand .ge-g-axe { stroke: var(--ligne); stroke-width: 1; }
.app--grand .ge-g-zone { fill: transparent; }
.app--grand .ge-g-col { cursor: pointer; outline: none; }
@media (hover: hover) { .app--grand .ge-g-col:hover .ge-g-zone { fill: var(--surface-2); } }
.app--grand .ge-g-col:focus-visible .ge-g-zone { fill: var(--surface-2); }
.app--grand .ge-g-avenir { fill: none; stroke: var(--ligne); stroke-width: 1.5; stroke-dasharray: 4 4; }
.app--grand .ge-g-et { fill: var(--gris); font-size: 14px; font-weight: 700; text-anchor: middle; }
.app--grand .ge-g-val { fill: var(--encre); font-size: 14px; font-weight: 800; text-anchor: middle; }
.app--grand .ge-g-cible { stroke: var(--gris); stroke-width: 1.5; stroke-dasharray: 6 5; }
.app--grand .ge-g-cible-mot { fill: var(--gris); font-size: 14px; font-weight: 700; text-anchor: end; }
.app--grand .ge-g-maint { stroke: var(--sos); stroke-width: 2; }

/* ---------- moins de mouvement : tout est immédiat ---------- */
@media (prefers-reduced-motion: reduce) {
  #app.app--grand .barre-item, .app--grand .ge-panneau, .app--grand .ge-barre > i, .app--grand .ge-liste-gars { transition: none; }
  .app--grand .ge-panneau.change .ge-panneau-corps, .app--grand .ge-direct i { animation: none; }
  .app--grand .ge-chargement { animation: none; opacity: 1; }
}

/* ---------- LE SOCLE DU GÉRANT À L'ORDINATEUR, T3 (11/10 ; 25-gerant-ordinateur/PLAN-T3.md § 5 ; grand/date.js, grand/replier.js) ----------
   Deux composants que le Terrain, les Chiffres, Entrevues et Clover partagent (aucun ne les refait) : LE CHOIX DE DATE (« 📅 Aujourd'hui
   ▾ » et son calendrier) et LA POIGNÉE qui replie une colonne (+ « plein écran »). Ici : leur LOOK seulement (les jetons de base.css, les
   pilules .ge-filtre et les outils .ge-outil : le jeu) ; OÙ ils se posent (la grille d'un écran replié) : la feuille de l'écran, sous
   #app.ge--large. Le calendrier vit dans <body> (rien ne le coupe) : ses règles ne passent pas par .app--grand. */
.app--grand .ge-date-groupe { display: inline-flex; align-items: center; gap: 6px; }
.app--grand .ge-date { gap: 8px; }
.app--grand .ge-date-auj {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent-doux); color: var(--accent-texte);
}
.app--grand .ge-date-auj[hidden] { display: none; }
.app--grand .ge-date-auj:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.app--grand .ge-date .ge-date-v { flex: none; opacity: .7; }
/* hors du direct (un jour passé, une période) : le bouton le dit en couleur, d'un coup d'œil (on ne regarde pas aujourd'hui) */
.app--grand .ge-date.ge-date--passe, .app--grand .ge-outil.ge-date[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-doux); color: var(--accent-texte); }
.ge-cal {
  position: fixed; z-index: 1200; width: 352px; max-width: calc(100vw - 16px); display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 12px; border-radius: 18px; background: var(--surface); color: var(--encre); border: 1px solid var(--ligne);
  box-shadow: var(--ombre-forte); font-family: var(--f-texte);
}
.ge-cal--entre { animation: ge-cal-entre .16s ease-out; transform-origin: top right; }
@keyframes ge-cal-entre { from { opacity: 0; transform: scale(.97) translateY(-6px); } to { opacity: 1; transform: none; } }
.ge-cal-rac, .ge-cal-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.ge-cal-modes { border-top: 1px solid var(--ligne); padding-top: 10px; }
.ge-cal .ge-filtre {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--surface); color: var(--gris); font: inherit; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.ge-cal .ge-filtre[aria-pressed="true"] { background: var(--encre); color: var(--surface); border-color: var(--encre); }
.ge-cal-mois { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ge-cal-mois b { font-family: var(--f-titre); font-size: 21px; font-weight: 800; text-transform: capitalize; }
.ge-cal-fl { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); cursor: pointer; }
.ge-cal-fl:not(.ge-cal-fl--d) svg { transform: scaleX(-1); }
.ge-cal-fl:disabled { opacity: .35; cursor: default; }
.ge-cal-lettres, .ge-cal-sem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.ge-cal-lettres span { text-align: center; color: var(--gris); font-family: var(--f-titre); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.ge-cal-grille { display: flex; flex-direction: column; gap: 2px; }
.ge-cal-sem > span { display: grid; place-items: center; }
.ge-cal-j {
  width: 44px; height: 44px; border-radius: 999px; border: 2px solid transparent; background: transparent; color: var(--encre); cursor: pointer;
  font-family: var(--f-titre); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums;
}
.ge-cal-j--auj { border-color: var(--encre); }
.ge-cal-j--dans { background: var(--accent-doux); color: var(--accent-texte); border-radius: 12px; }
.ge-cal-j--bout, .ge-cal-j--ancre { background: var(--accent); color: var(--sur-accent); border-radius: 999px; }
.ge-cal-j:disabled { color: var(--gris-clair); opacity: .45; cursor: default; background: transparent; }
.ge-cal-j:focus-visible, .ge-cal-fl:focus-visible, .ge-cal .ge-filtre:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .ge-cal-j:not(:disabled):not(.ge-cal-j--bout):hover { background: var(--surface-2); } .ge-cal-fl:not(:disabled):hover { background: var(--surface-2); } }
.ge-cal-aide { margin: 0; min-height: 18px; color: var(--gris); font-size: 14px; font-weight: 700; text-align: center; }
/* LA POIGNÉE (44 × 44 : une flèche ‹ › sur le bord d'une colonne) et « PLEIN ÉCRAN » (le carré du coin de la carte, comme le zoom) */
.app--grand .ge-poignee {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); box-shadow: var(--ombre);
}
.app--grand .ge-plein {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); box-shadow: var(--ombre);
}
.app--grand .ge-plein[aria-pressed="true"] { background: var(--encre); color: var(--surface); border-color: var(--encre); }
.app--grand .ge-poignee:active, .app--grand .ge-plein:active { transform: scale(.96); }
@media (hover: hover) { .app--grand .ge-poignee:hover, .app--grand .ge-plein:not([aria-pressed="true"]):hover { background: var(--surface-2); } }
.app--grand .ge-poignee:focus-visible, .app--grand .ge-plein:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* sous 1400 px (l'iPad) : ni poignée ni plein écran (D-GO-9 : l'iPad ne change pas) — les écrans ne les posent qu'en ge--large */
#app:not(.ge--large) .ge-poignee, #app:not(.ge--large) .ge-plein { display: none; }
@media (prefers-reduced-motion: reduce) { .ge-cal--entre { animation: none; } .app--grand .ge-poignee:active, .app--grand .ge-plein:active { transform: none; } }
/* IMPORT-CANDIDATS (15/10, migration 613) : « 📦 Réserve : N » (le pipeline du Gérant) et sa feuille — les meilleurs d'abord, « Donner un lot » */
.app--grand .ev-reserve-b { border-color: var(--vert); color: var(--vert); }
.app--grand .ev-res-f { gap: 12px; }
.app--grand .ev-res-groupes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.app--grand .ev-res-g { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 16px; }
.app--grand .ev-res-mot { font-weight: 700; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .ev-res-barre { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.app--grand .ev-res-barre i { display: block; height: 100%; border-radius: 5px; background: var(--vert); }
.app--grand .ev-res-g b { font-family: var(--f-titre); font-size: 20px; font-variant-numeric: tabular-nums; min-width: 4.2em; text-align: right; }
.app--grand .ev-res-g--dernier .ev-res-mot, .app--grand .ev-res-g--dernier b { color: var(--gris); }
.app--grand .ev-res-g--dernier .ev-res-barre i { background: var(--gris-clair); }
.app--grand .ev-res-lot { margin: 8px 0 0; font-size: 21px; }
.app--grand .ev-res-filles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* QUATRIEME-FILLE (17/10) : 4 personnes au téléphone — deux par ligne (jamais la 4e seule sur sa ligne, jamais un nom coupé) */
.app--grand .ev-res-filles:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* CINQUIEME-FILLE (20/10) : 5 personnes au téléphone — trois par ligne, 3 + 2 (jamais la 5e seule sur sa ligne, jamais un nom coupé) */
.app--grand .ev-res-filles:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app--grand .ev-res-combien { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
.app--grand .ev-res-combien input { width: 7em; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--surface); color: var(--encre);
  font-family: var(--f-titre); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.app--grand .ev-res-combien input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.app--grand .ev-res-donner:disabled { opacity: .45; cursor: default; }
/* ANCIENS-DANS-LES-LOTS (16/10, la 619) : la 2e ligne de la feuille — « 👋 Anciens de l’équipe : N » et son « Donner un lot » (sa feuille à elle) */
.app--grand .ev-res-anc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 6px; padding-top: 14px;
  border-top: 1px solid var(--ligne); }
.app--grand .ev-res-anc-t { font-family: var(--f-titre); font-size: 21px; font-weight: 800; color: var(--encre); font-variant-numeric: tabular-nums; }
.app--grand .ev-res-anc-b { flex: 0 1 auto; min-width: 12em; }
.app--grand .ev-res-anc-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.app--grand .ev-res-anc-n b { font-family: var(--f-titre); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--encre); }
.app--grand .ev-res-anc-n span { font-size: 16px; font-weight: 700; color: var(--gris); }
