/* LE GRAND ÉCRAN — É-GE4 · CLOVER SUR UN SEUL ÉCRAN (chantier grand-ecran, 07/10/2026 ; PLAN § 7.4 ; la maquette : 18-grand-ecran/
   captures/4-clover-*.png). L'écran : telephone/grand/ecrans/clover.js. TOUT est sous .app--grand (le téléphone ne change pas,
   D-GE11) ; les couleurs : celles de base.css (clair ET sombre par les jetons ; la couleur d'une fille : --cg, posée par l'écran) ;
   les composants partagés (.ge-tete, .ge-bloc, .ge-np, .ge-et, .ge-vide, le panneau) : grand.css. Cibles de 44 px au moins ; « moins de
   mouvement » respecté.
   LA GRILLE (des zones nommées : equipe · carte · liste · agenda · appels) :
   · COUCHÉ (l'iPad couché, l'ordinateur) — avec les appels (le propriétaire) : l'équipe en bande et les appels à droite sur toute la
     hauteur ; la carte et la liste côte à côte ; l'agenda en large (la maquette). Sans les appels (le Gérant de l'équipe, Q1 B) : la
     liste à droite sur toute la hauteur, la carte et l'agenda en large ;
   · DEBOUT (l'iPad debout) : l'équipe, la carte et la liste côte à côte, l'agenda, les appels (la file et les appels du jour en deux
     colonnes) ; la grille défile si l'écran est trop court.
   Le détail (grand/panneau.js) glisse par-dessus la colonne de droite (couché) ou la moitié droite (debout). */

.app--grand .ge-clover { --gcl-c3: 352px; display: flex; flex-direction: column; height: 100%; min-height: 0; }
.app--grand .ge-clover > .ge-tete { flex: none; }
.app--grand .ge-clover .ge-tete-sous { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.app--grand .gcl-ventes { min-height: 34px; font-size: 15px; }

/* ---------- la grille ---------- */
.app--grand .gcl-g {
  flex: 1; min-height: 0; display: grid; gap: 14px;
  padding: 14px calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) 16px;
  grid-template-columns: minmax(0, 1fr) var(--gcl-c3);
  grid-template-rows: auto minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-areas: "equipe liste" "carte liste" "agenda liste";
}
.app--grand .gcl-g--appels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--gcl-c3); grid-template-areas: "equipe equipe appels" "carte liste appels" "agenda agenda appels"; }
.app--grand .gcl-g--sans-liste { grid-template-columns: minmax(0, 1fr); grid-template-areas: "equipe" "carte" "agenda"; }
.app--grand .gcl-g--appels.gcl-g--sans-liste { grid-template-columns: minmax(0, 1fr) var(--gcl-c3); grid-template-areas: "equipe appels" "carte appels" "agenda appels"; }
/* une fenêtre couchée étroite (l'iPad Pro 11 couché, 1194 px) : la colonne de droite se serre (les cartes de l'équipe aussi : plus bas) */
@media (max-width: 1260px) { .app--grand .ge-clover { --gcl-c3: 316px; } }

.app--grand .ge-clover.ge--debout .gcl-g {
  overflow-y: auto; overscroll-behavior: contain;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(360px, .95fr) minmax(400px, 1fr);
  grid-template-areas: "equipe equipe" "carte liste" "agenda agenda";
}
.app--grand .ge-clover.ge--debout .gcl-g--appels { grid-template-rows: auto minmax(360px, .95fr) minmax(400px, 1fr) minmax(400px, .9fr); grid-template-areas: "equipe equipe" "carte liste" "agenda agenda" "appels appels"; }
.app--grand .ge-clover.ge--debout .gcl-g--sans-liste { grid-template-areas: "equipe equipe" "carte carte" "agenda agenda"; }
.app--grand .ge-clover.ge--debout .gcl-g--appels.gcl-g--sans-liste { grid-template-areas: "equipe equipe" "carte carte" "agenda agenda" "appels appels"; }

.app--grand .gcl-equipe { grid-area: equipe; min-width: 0; }
.app--grand .gcl-carte { grid-area: carte; }
.app--grand .gcl-liste { grid-area: liste; }
.app--grand .gcl-agenda { grid-area: agenda; }
.app--grand .gcl-appels { grid-area: appels; }
.app--grand .gcl-g > .ge-bloc { min-height: 0; }

/* ---------- l'équipe : une bande de cartes (elle défile de côté quand l'équipe est grande) ---------- */
.app--grand .gcl-equipe-defil {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 3px; margin: -3px;
}
.app--grand .gcl-equipe-defil::-webkit-scrollbar { display: none; }
.app--grand .gcl-pers {
  flex: 1 0 236px; max-width: 400px; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; scroll-snap-align: start;
  text-align: left; font: inherit; color: var(--encre); cursor: pointer; border: 2px solid var(--ligne); transition: border-color .15s, box-shadow .15s, transform .12s;
}
button.gcl-pers:active { transform: scale(.985); }
@media (hover: hover) { .app--grand button.gcl-pers:hover { border-color: color-mix(in srgb, var(--cg, var(--encre)) 55%, var(--ligne)); } }
.app--grand .gcl-pers.elu, .app--grand .gcl-pers[aria-pressed="true"] { border-color: var(--cg, var(--encre)); box-shadow: 0 0 0 1px var(--cg, var(--encre)), var(--ombre); }
.app--grand .gcl-pers-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app--grand .gcl-av { position: relative; flex: none; display: inline-grid; }
.app--grand .gcl-av .me-point { position: absolute; right: -2px; bottom: 1px; width: 13px; height: 13px; }
.app--grand .gcl-av--tel { width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--cyan-doux); font-size: 21px; }
.app--grand .gcl-pers-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.app--grand .gcl-pers-nm b { display: flex; align-items: center; gap: 7px; min-width: 0; font-family: var(--f-titre); font-weight: 800; font-size: 21px; line-height: 1.05; }
.app--grand .gcl-pers-nm b > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-pers-nm small { font-size: 14px; color: var(--gris); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-pers-t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.app--grand .gcl-pers-t > span { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px; border-radius: 11px; background: var(--surface-2); font-family: var(--f-titre); font-weight: 700; color: var(--gris); }
.app--grand .gcl-pers-t b { font-size: 21px; font-weight: 800; color: var(--encre); line-height: 1; font-variant-numeric: tabular-nums; }
.app--grand .gcl-pers-t small { max-width: 100%; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-pers-t .ok b { color: var(--vert); }
.app--grand .gcl-pers--agente, .app--grand .gcl-pers--note, .app--grand .gcl-pers--vide, .app--grand .gcl-pers--attente { cursor: default; }
.app--grand .gcl-pers--plus { flex: 0 0 auto; min-width: 88px; align-items: center; justify-content: center; color: var(--gris); }
.app--grand .gcl-pers--plus b { font-family: var(--f-titre); font-weight: 800; font-size: 21px; color: var(--encre); }
.app--grand .gcl-pers--note { flex: 0 1 260px; flex-direction: row; align-items: center; gap: 12px; }
.app--grand .gcl-note-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 21px; }
.app--grand .gcl-pers--vide, .app--grand .gcl-pers--attente { justify-content: center; align-items: center; min-height: 104px; color: var(--gris); font-weight: 700; }
@media (max-width: 1260px) {
  .app--grand .gcl-pers { flex-basis: 196px; }
  .app--grand .gcl-pers--plus { flex-basis: auto; min-width: 72px; }
  .app--grand .gcl-pers--note { flex-basis: 220px; }
}

/* ---------- la carte ---------- */
.app--grand .gcl-carte { position: relative; overflow: hidden; padding: 0; min-height: 0; background: var(--carte-terre, var(--surface-2)); }
.app--grand .gcl-carte-boite { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; }
.app--grand .gcl-carte-boite .ct-carte { position: absolute; inset: 0; touch-action: none; }
.app--grand .gcl-compte { position: absolute; left: 12px; top: 12px; z-index: 2; pointer-events: none; max-width: calc(100% - 80px); }
.app--grand .gcl-compte-t {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 14px; 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 .gcl-compte-t > span { display: inline-flex; align-items: center; gap: 5px; }
.app--grand .gcl-compte-t b { color: var(--encre); font-weight: 800; }
.app--grand .gcl-compte-t i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--st); }
.app--grand .gcl-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; border-radius: 14px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); overflow: hidden; }
.app--grand .gcl-zoom button { width: 48px; height: 48px; border: 0; background: none; color: var(--encre); font: inherit; font-size: 25px; font-weight: 700; line-height: 1; cursor: pointer; }
.app--grand .gcl-zoom button + button { border-top: 1px solid var(--ligne); }
.app--grand .gcl-zoom button:active { background: var(--surface-2); }
/* les épingles des commerces nommés de la fille choisie (44 × 44 au doigt ; le rond : la couleur de son statut du jour, gris à faire) */
.gcl-pin-icone { background: none; border: 0; }
.app--grand .gcl-pin { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.app--grand .gcl-pin i {
  width: 12px; height: 12px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 2px #FFFFFF, 0 1px 3px rgba(0, 0, 0, .35);
  display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #FFFFFF; transition: transform .15s;
}
.app--grand .gcl-pin.fait i { width: 20px; height: 20px; box-shadow: 0 0 0 2.5px #FFFFFF, 0 1px 4px rgba(0, 0, 0, .4); }
.app--grand .gcl-pin.elu i { transform: scale(1.35); box-shadow: 0 0 0 2.5px #FFFFFF, 0 0 0 7px color-mix(in srgb, var(--pc) 35%, transparent), 0 2px 6px rgba(0, 0, 0, .4); }
.app--grand .gcl-pin:focus-visible { outline: 3px solid var(--encre); outline-offset: -6px; border-radius: 50%; }

/* ---------- les commerces de la fille choisie ---------- */
.app--grand .gcl-liste { display: flex; flex-direction: column; min-height: 0; padding: 12px 8px 6px; }
.app--grand .gcl-liste-et { padding: 0 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-cm-liste { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; }
.app--grand .gcl-cm {
  flex: none; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 5px 8px;
  border: 0; border-radius: 12px; background: none; text-align: left; color: var(--encre); font: inherit; cursor: pointer; transition: background-color .12s;
}
@media (hover: hover) { .app--grand .gcl-cm:hover { background: var(--surface-2); } }
.app--grand .gcl-cm:active, .app--grand .gcl-ap:active { background: var(--surface-2); }
.app--grand .gcl-cm.elu { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--cg, var(--encre)); }
.app--grand .gcl-cm > i { justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--pc, var(--gris-clair)); }
.app--grand .gcl-cm.fait > i { width: 14px; height: 14px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--pc, var(--cg)); }
.app--grand .gcl-cm-t { min-width: 0; display: flex; flex-direction: column; }
.app--grand .gcl-cm-t b { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-cm-t small { font-size: 14px; color: var(--gris); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-cm .ge-np { min-height: 26px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- l'agenda de la semaine ---------- */
.app--grand .gcl-agenda { display: flex; flex-direction: column; min-height: 0; padding: 10px 12px 8px; }
.app--grand .gcl-ag-tete { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-height: 48px; padding: 0 2px 8px; }
.app--grand .gcl-ag-tete h2 { margin: 0; font-size: 23px; white-space: nowrap; }
.app--grand .gcl-ag-sous { color: var(--gris); font-weight: 600; font-size: 15px; white-space: nowrap; }
.app--grand .gcl-ag-droite { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.app--grand .gcl-leg { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.app--grand .gcl-leg-p { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ligne); font-weight: 700; font-size: 15px; white-space: nowrap; }
.app--grand .gcl-leg-p i { width: 10px; height: 10px; border-radius: 50%; background: var(--cg); }
.app--grand .gcl-leg-p--donner i { background: var(--ambre); }
.app--grand .gcl-ag {
  flex: 1; min-height: 0; position: relative; display: grid; grid-template-columns: 46px repeat(var(--gcl-jours, 6), minmax(0, 1fr)); grid-auto-rows: min-content;
  align-content: start; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.app--grand .gcl-ag-coin, .app--grand .gcl-ag-j { position: sticky; top: 0; z-index: 4; background: var(--surface); border-bottom: 1px solid var(--ligne); box-sizing: border-box; }
.app--grand .gcl-ag-j { text-align: center; font-family: var(--f-titre); font-weight: 700; font-size: 15px; color: var(--gris); padding-top: 2px; }
.app--grand .gcl-ag-j b { display: block; font-size: 21px; color: var(--encre); line-height: 1; }
.app--grand .gcl-ag-j.auj, .app--grand .gcl-ag-j.auj b { color: var(--accent-texte); }
.app--grand .gcl-ag-h { position: relative; }
.app--grand .gcl-ag-h span { position: absolute; right: 6px; transform: translateY(-50%); font-family: var(--f-titre); font-size: 14px; font-weight: 700; color: var(--gris); white-space: nowrap; }
.app--grand .gcl-ag-h span:first-child { transform: translateY(2px); }
.app--grand .gcl-ag-c { position: relative; border-left: 1px solid var(--ligne); background-image: linear-gradient(var(--ligne) 1px, transparent 1px); background-size: 100% var(--hh); }
.app--grand .gcl-ag-c.auj { background-color: color-mix(in srgb, var(--accent) 5%, transparent); }
.app--grand .gcl-rdv {
  position: absolute; z-index: 1; box-sizing: border-box; border: 0; border-radius: 8px; padding: 3px 6px 3px 9px; text-align: left; overflow: hidden; cursor: pointer;
  color: var(--encre); font: inherit; background: color-mix(in srgb, var(--cg) 16%, var(--surface)); box-shadow: inset 3px 0 0 var(--cg);
  transition: transform .12s, box-shadow .12s, opacity .15s;
}
@media (hover: hover) { .app--grand .gcl-rdv:hover { transform: translateY(-1px); box-shadow: inset 3px 0 0 var(--cg), 0 4px 10px rgba(0, 0, 0, .12); } }
.app--grand .gcl-rdv b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-titre); font-weight: 700; font-size: 15px; line-height: 1.08; }
.app--grand .gcl-rdv small { display: block; font-size: 14px; font-weight: 700; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-rdv.court small { display: none; }
.app--grand .gcl-rdv.court b { -webkit-line-clamp: 2; }
.app--grand .gcl-rdv.passe { opacity: .55; }
.app--grand .gcl-rdv--ambre { background: var(--ambre-doux); }
.app--grand .gcl-rdv--ardoise { background: var(--ardoise-doux); }
.app--grand .gcl-rdv.elu { z-index: 3; box-shadow: inset 3px 0 0 var(--cg), 0 0 0 2px var(--encre); opacity: 1; }
.app--grand .gcl-rdv.neuf { animation: gcl-neuf 1.1s ease-out 2; }
.app--grand .gcl-rdv.flash { animation: gcl-neuf .9s ease-out 1; }
@keyframes gcl-neuf { 0% { box-shadow: inset 3px 0 0 var(--cg), 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: inset 3px 0 0 var(--cg), 0 0 0 12px transparent; } }
.app--grand .gcl-ag-now { position: absolute; left: 0; right: 0; z-index: 2; border-top: 2px solid var(--sos); pointer-events: none; }
.app--grand .gcl-ag-now::before { content: ''; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--sos); }
.app--grand .gcl-ag-rien { position: absolute; left: 46px; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--gris); font-weight: 700; pointer-events: none; }
/* placer un rendez-vous : le moment suit le doigt, toucher pose */
.app--grand .gcl-ag.placer .gcl-ag-c { cursor: copy; background-color: color-mix(in srgb, var(--accent) 6%, transparent); }
.app--grand .gcl-ag.placer .gcl-rdv { pointer-events: none; opacity: .45; }
.app--grand .gcl-ag-fantome {
  position: absolute; left: 3px; right: 3px; z-index: 5; box-sizing: border-box; border-radius: 8px; border: 2px dashed var(--accent); pointer-events: none;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); padding: 3px 8px; font-family: var(--f-titre); font-weight: 800; font-size: 15px;
  color: var(--accent-texte); line-height: 1.1; overflow: hidden;
}
.app--grand .gcl-placer { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 4px 4px 4px 12px; border-radius: 12px; background: var(--accent-doux); color: var(--accent-texte); font-weight: 700; font-size: 15px; }
.app--grand .gcl-placer-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-avec { display: flex; gap: 4px; padding: 2px; border-radius: 10px; background: var(--surface); overflow-x: auto; scrollbar-width: none; max-width: 340px; }
.app--grand .gcl-avec button {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 8px;
  background: none; color: var(--encre); font: inherit; font-weight: 700; cursor: pointer;
}
.app--grand .gcl-avec button i { width: 9px; height: 9px; border-radius: 50%; background: var(--cg); }
.app--grand .gcl-avec button[aria-pressed="true"] { background: var(--encre); color: var(--surface); }
.app--grand .gcl-placer-x { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--surface); color: var(--encre); font: inherit; font-weight: 800; cursor: pointer; }

/* ---------- les appels (qui les voit) ---------- */
.app--grand .gcl-appels { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 14px 14px 8px; }
.app--grand .gcl-ap-tete { flex: none; display: flex; align-items: center; gap: 10px; }
.app--grand .gcl-ap-tete h2 { flex: 1; margin: 0; font-size: 23px; }
.app--grand .gcl-ap-stats { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.app--grand .gcl-ap-stats > span { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border-radius: 12px; background: var(--surface-2); font-weight: 700; color: var(--gris); }
.app--grand .gcl-ap-stats b { font-family: var(--f-titre); font-size: 24px; font-weight: 800; color: var(--encre); line-height: 1; font-variant-numeric: tabular-nums; }
.app--grand .gcl-ap-stats small { max-width: 100%; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-ap-stats .ok b { color: var(--vert); }
.app--grand .gcl-ap-obj .ge-barre { align-self: stretch; height: 5px; margin: 5px 8px 0; background: var(--ligne); }
.app--grand .gcl-ap-h { flex: none; }
.app--grand .gcl-ap-h .ge-g-col { cursor: default; }
@media (hover: hover) { .app--grand .gcl-ap-h .ge-g-col:hover .ge-g-zone { fill: transparent; } }
.app--grand .gcl-ap-liste { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; margin: 0 -6px; padding: 0 6px 6px; border-top: 1px solid var(--ligne); }
.app--grand .gcl-ap-groupe { display: flex; flex-direction: column; gap: 2px; }
.app--grand .gcl-ap-sep { padding: 10px 8px 4px; }
.app--grand .gcl-ap {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; min-height: 58px; padding: 6px 8px;
  border: 0; border-radius: 12px; background: none; text-align: left; color: var(--encre); font: inherit; cursor: pointer; transition: background-color .12s;
}
@media (hover: hover) { .app--grand .gcl-ap:hover { background: var(--surface-2); } }
.app--grand .gcl-ap.elu { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--encre); }
.app--grand .gcl-ap-heure { font-family: var(--f-titre); font-weight: 800; font-size: 17px; white-space: nowrap; }
.app--grand .gcl-ap-heure small { display: block; font-family: var(--f-texte); font-size: 14px; color: var(--gris); font-weight: 600; }
.app--grand .gcl-ap--file .gcl-ap-heure { color: var(--accent-texte); }
.app--grand .gcl-ap-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--gris); font-size: 15px; }
.app--grand .gcl-ap-c { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.app--grand .gcl-ap-c b { max-width: 100%; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-ap-c .ge-np { min-height: 24px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-ap-ecoute { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--encre); color: var(--surface); font-size: 13px; }
.app--grand .gcl-ap-vide { margin: 0; padding: 8px; color: var(--gris); font-weight: 600; }
.app--grand .ge-clover.ge--debout .gcl-ap-liste { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 16px; align-content: start; }

/* ---------- le détail (le panneau) : par-dessus la colonne de droite ---------- */
.app--grand .gcl-panneau .ge-panneau-pied > * { flex: 1 1 128px; }
.app--grand .ge-clover > .ge-panneau.gcl-panneau { top: calc(var(--ge-tete-h, 64px) + 14px); right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: var(--gcl-c3); }
.app--grand .ge-clover.ge--debout > .ge-panneau.gcl-panneau { width: min(460px, calc(50% - 23px)); }
.app--grand .gcl-panneau .ge-panneau-tete { gap: 10px; }
.app--grand .gcl-p-ico { flex: none; width: 40px; text-align: center; font-size: 27px; line-height: 1; }
.app--grand .gcl-p-nm { flex: 1; min-width: 0; }
.app--grand .gcl-p-nm b { display: block; font-family: var(--f-titre); font-weight: 800; font-size: 24px; line-height: 1.05; overflow-wrap: anywhere; }
.app--grand .gcl-p-nm small { display: block; margin-top: 3px; color: var(--gris); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app--grand .gcl-dls { display: flex; flex-direction: column; }
.app--grand .gcl-dl { display: flex; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--ligne); font-size: 15px; }
.app--grand .gcl-dl:first-child { border-top: 0; }
.app--grand .gcl-dl-ico { flex: none; width: 26px; text-align: center; font-size: 18px; }
.app--grand .gcl-dl b { font-weight: 700; }
.app--grand .gcl-p-attente { margin: 0; color: var(--gris); font-weight: 600; }
.app--grand .gcl-ecoute { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; border-radius: 14px; background: var(--surface-2); font-weight: 700; color: var(--gris); }
.app--grand .gcl-ecoute-b { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--encre); color: var(--surface); font-size: 18px; cursor: pointer; }

/* ---------- L'ORDINATEUR : TROIS COLONNES (T5 · I10) ET REPLIER UNE COLONNE (I11) — 11/10 ; 25-gerant-ordinateur/PLAN-T3.md § 3.1, § 4,
   D-GO-T3a, T3b, T3m ----------
   `ge--large` (posée sur #app par grand/index.js › estLarge : le grand écran ET 1400 px ou plus), couché. La règle du Terrain (T1) :
   L'ÉQUIPE à gauche (352 px ; 384 à 1800 px et plus : une carte par fille, de haut en bas) · LA CARTE des commerces · la 3e colonne à
   droite (400 px ; 440) : les commerces de la fille choisie (et dessous, les appels pour qui les voit), et LA FICHE d'un commerce (d'un
   rendez-vous, d'un appel) À SA PLACE — elle ne glisse plus et ne couvre jamais la carte. L'agenda de la semaine : sous l'équipe et la
   carte, aussi large qu'avant.
   I11 : la poignée de chaque colonne (44 px, en haut, collée au bord de la carte) ; la gauche → une BANDE de 72 px avec les anneaux
   (on voit qui est là, un toucher = elle) ; la droite → 0 px (une fiche touchée la rouvre le temps de la fiche) ; ⤢ « plein écran » (en
   haut à droite de la carte) : les deux colonnes à 0 px et la carte prend toute la scène (l'agenda revient en sortant ; il reste pendant
   « placer un rendez-vous »). Le choix est gardé sur cet ordinateur (grand/replier.js). La carte suit sa zone (clover.js › suivreCarte :
   Leaflet invalidateSize). Une colonne à 0 px garde la marge de l'écran : la grille rend la place de son intervalle (16 − 14 = 2 px).
   Debout, et sous 1400 px : rien de ce bloc ne s'applique (l'iPad ne change pas). */
#app.ge--large .ge-clover:not(.ge--debout) { --gcl-g1: 352px; --gcl-c3: 400px; --gcl-bande: 72px; }
@media (min-width: 1800px) { #app.ge--large .ge-clover:not(.ge--debout) { --gcl-g1: 384px; --gcl-c3: 440px; } }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-g {
  grid-template-columns: var(--gcl-g1) minmax(0, 1fr) var(--gcl-c3); grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "equipe carte liste" "agenda agenda liste";
}
/* qui voit les appels (le propriétaire) : la 3e colonne = ses commerces en haut, LES APPELS dessous, plus haut (la file et les appels du
   jour défilent) ; l'équipe (avec l'agente) et la carte un peu plus hautes, l'agenda défile */
#app.ge--large .ge-clover:not(.ge--debout) .gcl-g--appels {
  grid-template-rows: minmax(0, .8fr) minmax(0, .5fr) minmax(0, .9fr);
  grid-template-areas: "equipe carte liste" "equipe carte appels" "agenda agenda appels";
}
/* sans la liste (un serveur sans la route des commerces) : les appels prennent la 3e colonne ; sans les deux, pas de 3e colonne (sauf le
   temps d'une fiche) */
#app.ge--large .ge-clover:not(.ge--debout) .gcl-g--appels.gcl-g--sans-liste { grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "equipe carte appels" "agenda agenda appels"; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-g--sans-liste:not(.gcl-g--appels) { grid-template-columns: var(--gcl-g1) minmax(0, 1fr); grid-template-areas: "equipe carte" "agenda agenda"; }
#app.ge--large .ge-clover:not(.ge--debout).ge--avec-panneau .gcl-g--sans-liste:not(.gcl-g--appels) { grid-template-columns: var(--gcl-g1) minmax(0, 1fr) var(--gcl-c3); grid-template-areas: "equipe carte ." "agenda agenda ."; }

/* L'ÉQUIPE : une carte par fille, de haut en bas (sa colonne défile seule) */
#app.ge--large .ge-clover:not(.ge--debout) .gcl-equipe { display: flex; flex-direction: column; min-height: 0; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-equipe-defil {
  flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 10px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scroll-snap-type: none; scrollbar-width: thin;
}
#app.ge--large .ge-clover:not(.ge--debout) .gcl-pers { flex: none; max-width: none; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-pers--plus { min-height: 52px; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-pers--vide, #app.ge--large .ge-clover:not(.ge--debout) .gcl-pers--attente { min-height: 104px; }

/* LA FICHE : à la place de la 3e colonne (la même boîte : grand-clover.css plus haut), sans glisser ; fermée (✕, Échap : panneau.js la
   retire 230 ms plus tard), invisible tout de suite */
#app.ge--large .ge-clover:not(.ge--debout) > .ge-panneau.gcl-panneau { transform: none; opacity: 1; transition: none; box-shadow: var(--ombre); }
#app.ge--large .ge-clover:not(.ge--debout):not(.ge--avec-panneau) > .ge-panneau { visibility: hidden; }
/* la fiche d'une fille (la colonne repliée, rouverte le temps de sa fiche) : ses commerces, les lignes de la liste */
.app--grand .gcl-panneau .gcl-cm-liste { flex: none; overflow: visible; margin: 0 -6px; }
.app--grand .gcl-p-av { flex: none; display: inline-grid; }

/* LES POIGNÉES ET « PLEIN ÉCRAN » : en haut de la carte, collés à ses bords (‹ l'équipe à gauche ; ⤢ puis › la 3e colonne à droite) ;
   le compte des commerces se pousse à droite de la poignée : rien ne se croise */
#app.ge--large .ge-clover:not(.ge--debout) .gcl-carte > .ge-poignee { position: absolute; z-index: 3; top: 14px; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-carte > .ge-poignee--gauche { left: 12px; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-carte > .ge-poignee--droite { right: 12px; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-carte > .ge-plein { position: absolute; z-index: 3; top: 12px; right: 64px; }
#app.ge--large .ge-clover:not(.ge--debout) .gcl-compte { left: 64px; top: 15px; max-width: calc(100% - 64px - 128px); }
#app.ge--large .ge-clover.ge--debout :is(.ge-poignee, .ge-plein) { display: none; }

/* REPLIÉE À GAUCHE (sans le plein écran) : une BANDE de 72 px, l'anneau de chaque fille (sa couleur, son point de statut) ; un toucher =
   elle (sa carte, ses commerces) ; « + N » reste ; la note « pas pour ton poste » s'efface ; l'agenda garde sa largeur */
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) { --gcl-g1: var(--gcl-bande); }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-equipe-defil { align-items: center; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-pers {
  width: 64px; min-width: 0; padding: 8px 0; align-items: center; justify-content: center; gap: 0;
}
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-pers-h { justify-content: center; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-pers :is(.gcl-pers-nm, .gcl-pers-t) { display: none; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) :is(.gcl-pers--note, .gcl-pers--vide, .gcl-pers--attente) { display: none; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-pers--plus { min-height: 56px; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-gauche:not(.ge--plein) .gcl-pers--plus b { font-size: 18px; }

/* REPLIÉE À DROITE (sans fiche ouverte) : la 3e colonne à 0 px (les commerces, les appels) — une fiche touchée (un commerce, une fille, un
   rendez-vous) la rouvre le temps de la fiche (ge--avec-panneau) */
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) { --gcl-c3: 0px; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) .gcl-g { padding-right: calc(2px + env(safe-area-inset-right)); }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) :is(.gcl-liste, section.gcl-appels) { display: none; }
#app.ge--large .ge-clover:not(.ge--debout).ge--replie-droite:not(.ge--avec-panneau) .gcl-g--sans-liste:not(.gcl-g--appels) { padding-right: calc(16px + env(safe-area-inset-right)); }

/* ⤢ PLEIN ÉCRAN (les deux repliées) : la gauche aussi à 0 px et l'agenda rangé — LA CARTE PREND TOUTE LA SCÈNE ; l'agenda reste pendant
   « placer un rendez-vous » (on y touche le moment) */
#app.ge--large .ge-clover:not(.ge--debout).ge--plein { --gcl-g1: 0px; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein .gcl-g { padding-left: 2px; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein .gcl-equipe { display: none; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein:not(:has(.gcl-agenda.placer)) .gcl-g { grid-template-rows: minmax(0, 1fr); grid-template-areas: "equipe carte liste"; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein:not(:has(.gcl-agenda.placer)) .gcl-agenda { display: none; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein:not(:has(.gcl-agenda.placer)) .gcl-g--sans-liste:not(.gcl-g--appels) { grid-template-areas: "equipe carte"; }
#app.ge--large .ge-clover:not(.ge--debout).ge--plein.ge--avec-panneau:not(:has(.gcl-agenda.placer)) .gcl-g--sans-liste:not(.gcl-g--appels) { grid-template-areas: "equipe carte ."; }
/* (sous la fiche rouverte en plein écran, les appels n'ont plus de place : ils attendent la fin du plein écran) */
#app.ge--large .ge-clover:not(.ge--debout).ge--plein:not(:has(.gcl-agenda.placer)) section.gcl-appels { display: none; }

/* ---------- moins de mouvement : tout est immédiat ---------- */
@media (prefers-reduced-motion: reduce) {
  .app--grand .gcl-pers, .app--grand .gcl-cm, .app--grand .gcl-rdv, .app--grand .gcl-ap, .app--grand .gcl-pin i { transition: none; }
  .app--grand .gcl-rdv.neuf, .app--grand .gcl-rdv.flash { animation: none; }
}

/* ---------- clover-commerces (19/10) : « 🚫 Retirés par l'équipe · N », « ➕ Ajoutés par l'équipe · N » (en haut à droite) et leur panneau ---------- */
.app--grand .gcl-eq { gap: 6px; font-size: 16px; padding: 0 12px; }
.app--grand .gcl-eq b { font-variant-numeric: tabular-nums; min-width: 1ch; }
.app--grand .gcl-eq-mot { font-family: var(--f-titre); font-weight: 800; }
.app--grand .gcl-eq[aria-pressed="true"] b { color: var(--surface); }
/* sous 1300 px (l'iPad, une fenêtre serrée) : « Retirés · 3 » — le mot entier reste dans l'étiquette (aria-label) et le titre du panneau */
@media (max-width: 1300px) { .app--grand .gcl-eq-long { display: none; } }
.app--grand .gcl-eq-liste { display: flex; flex-direction: column; }
.app--grand .gcl-eq-l { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 0; border-top: 1px solid var(--ligne); }
.app--grand .gcl-eq-l:first-child { border-top: 0; }
.app--grand .gcl-eq-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app--grand .gcl-eq-t b { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.app--grand .gcl-eq-t small { color: var(--gris); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.app--grand .gcl-eq-l .nb { flex: none; min-height: 44px; }
