/* Oqora CRM · styles du lot P : pipeline (.s-pipe, classes pp-), contacts (.s-contacts), fiche et panneaux d'action (.s-fiche),
   panneau « Résultat de l'appel » (.s-appel). Toutes les règles sont préfixées par la classe racine de leur section ;
   seule crm.css (lot 0) définit des jetons :root et des règles globales (contrat H.2). Téléphone (< 900 px) : une colonne,
   boutons de 44 px de haut, aucune barre de défilement horizontale de la page. */

/* ---------------------------------------------------------------- Pipeline (24/10/2026) : écran « Prospects » de GHL
   Classes pp- : barre, sous-barre, tableau à la hauteur de l'écran (chaque colonne défile seule), cartes compactes,
   menu « ⋯ », zones de dépôt, vue Liste. Fond gris clair, colonnes grises, cartes blanches bordées, coins 8 px, texte
   13-14 px d'une seule couleur, icônes grises de 16 px qui foncent au survol. */
.s-pipe{ display:block; min-width:0;
  --pp-ligne:#dfe3e8; --pp-ligne-forte:#c9cfd6; --pp-col:#eceff3; --pp-col-ligne:#e0e4e9; --pp-survol:#f3f5f7;
  --pp-icone:#7a828a; --pp-r:8px; }
.s-pipe .pp{ display:flex; flex-direction:column; gap:10px; min-width:0; color:var(--ink); font-size:14px; }
/* Ordinateur : le tableau va jusqu'en bas de la fenêtre ; la marge du bas de la page est reprise pour ne pas faire
   défiler la page entière (seules les colonnes défilent). */
@media (min-width: 900px){ .s-pipe{ margin-bottom:-56px; } }
.s-pipe .num{ font-variant-numeric:tabular-nums; }

/* Barre et sous-barre : un panneau blanc, deux lignes */
.s-pipe .pp-barre, .s-pipe .pp-sousbarre{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.s-pipe .pp-barre{ background:var(--surface); border:1px solid var(--pp-ligne); border-radius:var(--pp-r); padding:10px 14px; }
.s-pipe .pp-titre{ display:flex; align-items:center; gap:10px; min-width:0; flex:1 1 auto; }
.s-pipe .pp-nom-pipeline{ font-size:16px; font-weight:650; letter-spacing:-.01em; white-space:nowrap; }
.s-pipe .pp-pastille{ display:inline-flex; align-items:center; height:22px; padding:0 8px; border-radius:999px;
  background:var(--pp-col); color:var(--ink-soft); font-size:12px; font-weight:600; white-space:nowrap; }
.s-pipe .pp-barre-droite{ display:flex; align-items:center; gap:10px; margin-left:auto; }
.s-pipe .pp-segments{ display:inline-flex; padding:2px; gap:2px; background:var(--pp-col); border-radius:var(--pp-r); }
.s-pipe .pp-segment{ display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 10px; border:0; border-radius:6px;
  background:none; color:var(--ink-soft); font:500 13px/1 var(--font); cursor:pointer; }
.s-pipe .pp-segment svg{ width:15px; height:15px; }
.s-pipe .pp-segment[aria-pressed="true"]{ background:var(--surface); color:var(--ink); box-shadow:0 1px 2px rgba(16,24,40,.1); }
.s-pipe .pp-btn{ min-height:34px; padding:0 14px; font-size:13px; border-radius:var(--pp-r); box-shadow:none; }
.s-pipe .pp-btn svg{ width:16px; height:16px; }

.s-pipe .pp-sousbarre{ justify-content:space-between; border-bottom:1px solid var(--pp-ligne); padding:0 2px; }
.s-pipe .pp-vues{ display:flex; gap:20px; flex-wrap:wrap; }
.s-pipe .pp-vue{ height:38px; padding:0; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; background:none;
  color:var(--ink-soft); font:500 14px/1 var(--font); cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.s-pipe .pp-vue:hover{ color:var(--ink); }
.s-pipe .pp-vue[aria-selected="true"]{ color:var(--ink); border-bottom-color:var(--bleu); font-weight:600; }
.s-pipe .pp-compte{ font-size:12px; color:var(--ink-faint); font-weight:500; }
.s-pipe .pp-outils{ display:flex; align-items:center; gap:8px; padding:4px 0; }
.s-pipe .pp-ancre{ position:relative; }
.s-pipe .pp-outil{ display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 10px; border:1px solid var(--pp-ligne-forte);
  border-radius:var(--pp-r); background:var(--surface); color:var(--ink); font:500 13px/1 var(--font); cursor:pointer; }
.s-pipe .pp-outil svg{ width:15px; height:15px; color:var(--pp-icone); flex:none; }
.s-pipe .pp-outil:hover{ background:var(--pp-survol); }
.s-pipe .pp-outil--actif{ border-color:var(--bleu); }
.s-pipe .pp-outil--tri{ padding-right:4px; }
.s-pipe .pp-masque{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.s-pipe .pp-select{ border:0; background:transparent; color:var(--ink); font:500 13px/1 var(--font); height:30px; cursor:pointer;
  padding:0 2px; }
.s-pipe .pp-chercher{ height:32px; width:220px; border:1px solid var(--pp-ligne-forte); border-radius:var(--pp-r); padding:0 10px;
  background:var(--surface); color:var(--ink); font:400 13px/1 var(--font); }
.s-pipe .pp-chercher:focus{ outline:0; border-color:var(--bleu); box-shadow:0 0 0 3px var(--bleu-ring); }

/* Filtres : petite fenêtre sous le bouton */
.s-pipe .pp-popover{ position:absolute; z-index:40; top:calc(100% + 6px); right:0; width:280px; background:var(--surface);
  border:1px solid var(--pp-ligne); border-radius:var(--pp-r); box-shadow:0 8px 24px rgba(11,23,51,.12), 0 2px 6px rgba(11,23,51,.06);
  padding:12px; display:grid; gap:10px; }
.s-pipe .pp-champ{ display:block; }
.s-pipe .pp-etiquette-champ{ display:block; font:500 12px/1.3 var(--font); color:var(--ink-soft); margin-bottom:4px; }
.s-pipe .pp-select-champ{ min-height:34px; height:34px; border:1px solid var(--pp-ligne-forte); background-color:var(--surface); border-radius:6px;
  font-size:13px; padding:0 8px; box-shadow:none; }
.s-pipe .pp-popover-pied{ display:flex; justify-content:flex-end; }
.s-pipe .pp-lien{ border:0; background:none; color:var(--ink-soft); font:500 13px/1 var(--font); cursor:pointer; padding:6px 2px;
  text-decoration:underline; text-underline-offset:2px; }
.s-pipe .pp-lien:hover{ color:var(--ink); }
.s-pipe .pp-info{ color:var(--ink-soft); font-size:13px; padding:4px 2px; }
.s-pipe .pp-selecteur{ display:none; }

/* Tableau : à la hauteur de l'écran ; la barre horizontale reste visible en bas (B1) */
.s-pipe .pp-tableau{ display:flex; gap:10px; overflow-x:auto; overflow-y:hidden; align-items:stretch; min-height:320px;
  padding-bottom:6px; overscroll-behavior-x:contain; }
.s-pipe .pp-tableau::-webkit-scrollbar{ height:12px; }
.s-pipe .pp-tableau::-webkit-scrollbar-track{ background:var(--pp-col); border-radius:6px; }
.s-pipe .pp-tableau::-webkit-scrollbar-thumb{ background:#b9c0c8; border-radius:6px; border:2px solid var(--pp-col); }
.s-pipe .pp-tableau::-webkit-scrollbar-thumb:hover{ background:#9aa3ad; }
@supports not selector(::-webkit-scrollbar){ .s-pipe .pp-tableau{ scrollbar-color:#b9c0c8 var(--pp-col); } }
.s-pipe .pp-colonne{ flex:0 0 260px; width:260px; display:flex; flex-direction:column; min-height:0; background:var(--pp-col);
  border:1px solid var(--pp-col-ligne); border-radius:var(--pp-r); transition:box-shadow .12s var(--ease), background .12s var(--ease); }
.s-pipe .pp-col-tete{ padding:10px 10px 8px 12px; flex:none; }
.s-pipe .pp-col-ligne{ display:flex; align-items:center; gap:4px; min-width:0; }
.s-pipe .pp-col-nom{ flex:1; min-width:0; font-size:13px; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s-pipe .pp-col-resume{ margin-top:2px; font-size:12px; color:var(--ink-soft); font-variant-numeric:tabular-nums; }
.s-pipe .pp-anciens{ border:0; background:none; color:var(--ink-soft); font:500 12px/1.3 var(--font); text-align:left; cursor:pointer;
  padding:0 12px 8px; text-decoration:underline; text-underline-offset:2px; }
.s-pipe .pp-anciens:hover{ color:var(--ink); }
.s-pipe .pp-cartes{ flex:1; min-height:0; overflow-y:auto; padding:0 8px 8px; display:flex; flex-direction:column; gap:6px; }
.s-pipe .pp-cartes::-webkit-scrollbar{ width:8px; }
.s-pipe .pp-cartes::-webkit-scrollbar-thumb{ background:#cbd1d8; border-radius:4px; }
.s-pipe .pp-vide{ font-size:12px; color:var(--ink-faint); padding:6px 4px; }
.s-pipe .pp-colonne.pp-cible{ background:var(--bleu-tint); box-shadow:inset 0 0 0 2px var(--bleu); }

/* Colonne repliée : une bande étroite, nom à la verticale */
.s-pipe .pp-colonne--repliee{ flex:0 0 44px; width:44px; }
.s-pipe .pp-replie{ flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; padding:10px 0; border:0; background:none;
  color:var(--ink); cursor:pointer; border-radius:var(--pp-r); min-height:120px; }
.s-pipe .pp-replie svg{ width:16px; height:16px; color:var(--pp-icone); }
.s-pipe .pp-replie-nom{ writing-mode:vertical-rl; font-size:13px; font-weight:650; white-space:nowrap; overflow:hidden;
  text-overflow:ellipsis; max-height:60vh; }
.s-pipe .pp-replie-n{ font-size:12px; color:var(--ink-soft); }
.s-pipe .pp-replie:hover{ background:var(--pp-survol); }

/* Carte compacte */
.s-pipe .pp-carte{ position:relative; flex:none; background:var(--surface); border:1px solid var(--pp-ligne); border-radius:var(--pp-r);
  padding:7px 10px 5px 12px; display:flex; flex-direction:column; gap:2px; cursor:pointer; outline:none; min-width:0; }
.s-pipe .pp-carte:hover{ border-color:var(--pp-ligne-forte); box-shadow:0 1px 3px rgba(16,24,40,.08); }
.s-pipe .pp-carte:focus-visible{ border-color:var(--bleu); box-shadow:0 0 0 3px var(--bleu-ring); }
.s-pipe .pp-carte--ancien{ background:#fbfbfc; }
.s-pipe .pp-carte--alerte{ box-shadow:inset 3px 0 0 var(--ambre-vif); }
.s-pipe .pp-carte--glissee{ opacity:.45; }
.s-pipe .pp-carte-tete{ display:flex; align-items:center; gap:4px; min-width:0; }
.s-pipe .pp-nom{ flex:1; min-width:0; border:0; background:none; padding:0; text-align:left; color:var(--ink); cursor:pointer;
  font:600 14px/19px var(--font); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s-pipe .pp-nom:hover{ text-decoration:underline; text-underline-offset:2px; }
.s-pipe .pp-ligne{ display:flex; align-items:baseline; gap:8px; font-size:13px; line-height:16px; color:var(--ink-soft); min-width:0; }
.s-pipe .pp-source{ flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s-pipe .pp-valeur{ flex:none; color:var(--ink); font-weight:600; }
.s-pipe .pp-prochaine{ display:flex; align-items:center; gap:5px; font-size:12px; line-height:15px; color:var(--ink-soft); min-width:0; }
.s-pipe .pp-prochaine span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s-pipe .pp-prochaine svg{ width:13px; height:13px; flex:none; color:var(--pp-icone); }
/* 25/10/2026 (style commun) : le retard se voit à l'horloge rouge ; le texte garde la couleur du texte secondaire. */
.s-pipe .pp-prochaine--retard svg{ color:var(--rouge); }
.s-pipe .pp-etiquettes{ display:flex; gap:4px; min-width:0; overflow:hidden; }
.s-pipe .pp-tag{ display:inline-block; max-width:110px; height:18px; line-height:18px; padding:0 6px; border-radius:4px;
  background:#eef0f3; color:var(--ink-soft); font-size:11px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:none; }
.s-pipe .pp-tag--plus{ max-width:none; }
.s-pipe .pp-tag--alerte{ background:var(--ambre-tint); color:var(--ambre); max-width:none; }
.s-pipe .pp-icones{ display:flex; align-items:center; gap:2px; margin:1px 0 0 -5px; }
.s-pipe .pp-icone{ width:26px; height:24px; flex:none; display:grid; place-items:center; border:0; border-radius:6px; background:none;
  color:var(--pp-icone); cursor:pointer; padding:0; }
.s-pipe .pp-icone svg{ width:16px; height:16px; }
.s-pipe .pp-icone:hover{ color:var(--ink); background:var(--pp-survol); }
.s-pipe .pp-icone[disabled]{ opacity:.4; cursor:not-allowed; background:none; color:var(--pp-icone); }
.s-pipe .pp-icone[data-droit]{ opacity:.6; }
.s-pipe .pp-icone .cadenas{ display:none; }
/* 25/10/2026 : pastille de compte sur une icône (comme GHL) : petite, en haut à droite, chiffres tabulaires.
   Grise par défaut, bleue pour les messages non lus, rouge si une tâche est en retard. L'icône qui a quelque chose fonce. */
.s-pipe .pp-icone{ position:relative; }
.s-pipe .pp-icone--compte{ color:var(--ink-soft); }
.s-pipe .pp-nb{ position:absolute; top:-4px; right:-4px; min-width:14px; height:14px; padding:0 3px; box-sizing:border-box;
  border-radius:7px; background:#6b737b; color:#fff; font:600 9.5px/14px var(--font); text-align:center;
  font-variant-numeric:tabular-nums; box-shadow:0 0 0 1.5px var(--surface); pointer-events:none; letter-spacing:0; }
.s-pipe .pp-nb--bleu{ background:var(--bleu); }
.s-pipe .pp-nb--rouge{ background:var(--rouge); }
.s-pipe .pp-menu-btn{ width:24px; height:19px; margin-right:-4px; }
.s-pipe .pp-col-replier{ width:24px; height:24px; }

/* Menu « ⋯ » : flotte au-dessus des colonnes (position fixe calculée à l'ouverture) */
.s-pipe .pp-menu{ position:fixed; z-index:80; min-width:200px; background:var(--surface); border:1px solid var(--pp-ligne);
  border-radius:var(--pp-r); box-shadow:0 8px 24px rgba(11,23,51,.14), 0 2px 6px rgba(11,23,51,.06); padding:4px;
  display:flex; flex-direction:column; cursor:default; }
.s-pipe .pp-menu-item{ display:flex; align-items:center; gap:8px; height:32px; padding:0 10px; border:0; border-radius:6px; background:none;
  color:var(--ink); font:400 13px/1 var(--font); text-align:left; cursor:pointer; white-space:nowrap; }
.s-pipe .pp-menu-item:hover{ background:var(--pp-survol); }
.s-pipe .pp-menu-item[disabled]{ opacity:.45; cursor:not-allowed; }
.s-pipe .pp-menu-trait{ height:1px; background:var(--pp-ligne); margin:4px 2px; }

/* Zones de dépôt pendant le glisser (Remportée, Perdue, Abandonnée) */
.s-pipe .pp-depots{ position:fixed; z-index:70; left:50%; transform:translateX(-50%); bottom:16px; width:min(760px, calc(100vw - 32px));
  background:var(--surface); border:1px solid var(--pp-ligne); border-radius:10px; padding:8px; box-shadow:0 8px 24px rgba(11,23,51,.16); }
.s-pipe .pp-depots[hidden]{ display:none; }
.s-pipe .pp-depots-titre{ font-size:12px; color:var(--ink-soft); text-align:center; margin:0 0 6px; }
.s-pipe .pp-depots-zones{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.s-pipe .pp-depot{ height:56px; display:grid; place-items:center; border:1.5px dashed var(--pp-ligne-forte); border-radius:var(--pp-r);
  font-size:14px; font-weight:600; color:var(--ink); background:#fafbfc; transition:background .12s var(--ease), border-color .12s var(--ease); }
.s-pipe .pp-depot--remportee.pp-cible{ background:var(--vert-tint); border-color:var(--vert); border-style:solid; }
.s-pipe .pp-depot--perdue.pp-cible{ background:var(--rouge-tint); border-color:var(--rouge); border-style:solid; }
.s-pipe .pp-depot--abandonnee.pp-cible{ background:var(--pp-col); border-color:var(--ink-faint); border-style:solid; }

/* Vue Liste : tableau dense */
.s-pipe .pp-liste{ overflow:auto; background:var(--surface); border:1px solid var(--pp-ligne); border-radius:var(--pp-r); }
.s-pipe .pp-table{ width:100%; border-collapse:separate; border-spacing:0; font-size:13px; }
.s-pipe .pp-table th{ position:sticky; top:0; z-index:2; height:36px; padding:0 12px; text-align:left; background:#f6f7f9;
  border-bottom:1px solid var(--pp-ligne); font:500 12px/1 var(--font); color:var(--ink-soft); white-space:nowrap; }
.s-pipe .pp-table td{ height:40px; padding:0 12px; border-bottom:1px solid #eef0f2; color:var(--ink); white-space:nowrap;
  max-width:280px; overflow:hidden; text-overflow:ellipsis; }
.s-pipe .pp-table tbody tr:hover td{ background:var(--pp-survol); }
.s-pipe .pp-table tr.pp-ligne-cochee td{ background:var(--bleu-tint); }
.s-pipe .pp-table .pp-num{ text-align:right; }
.s-pipe .pp-table th.pp-num .pp-th{ margin-left:auto; }
.s-pipe .pp-case{ width:36px; padding-right:0 !important; }
.s-pipe .pp-case input{ width:16px; height:16px; accent-color:var(--bleu); cursor:pointer; margin:0; }
.s-pipe .pp-case-zone{ display:inline-flex; align-items:center; justify-content:center; min-height:28px; min-width:24px; cursor:pointer; }
.s-pipe .pp-th{ display:inline-flex; align-items:center; gap:4px; border:0; background:none; padding:0; height:36px; cursor:pointer;
  font:500 12px/1 var(--font); color:var(--ink-soft); }
.s-pipe .pp-th:hover{ color:var(--ink); }
.s-pipe .pp-th-sens{ width:10px; }
.s-pipe .pp-nom--liste{ font-size:13px; font-weight:500; line-height:18px; max-width:240px; }
.s-pipe .pp-table td.pp-prochaine--retard svg{ color:var(--rouge); }
.s-pipe .pp-groupe{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; background:var(--surface); border:1px solid var(--pp-ligne);
  border-radius:var(--pp-r); padding:6px 10px; }
.s-pipe .pp-groupe-n{ font-size:13px; font-weight:600; margin-right:4px; }
.s-pipe .pp-groupe .btn{ min-height:30px; padding:0 10px; font-size:13px; border-radius:6px; }

/* Panneaux du pipeline (Ajouter, Modifier, Étiquettes, actions groupées) */
.s-fiche.pp-panneau .pp-puces{ display:flex; flex-wrap:wrap; gap:6px; }
.s-fiche.pp-panneau .pp-puce{ display:inline-flex; align-items:center; gap:2px; height:26px; padding:0 4px 0 8px; border-radius:6px;
  background:#eef0f3; color:var(--ink); font-size:13px; }
.s-fiche.pp-panneau .pp-puce--fixe{ padding-right:8px; color:var(--ink-soft); }
.s-fiche.pp-panneau .pp-puce-x{ width:22px; height:22px; display:grid; place-items:center; border:0; border-radius:4px; background:none;
  color:var(--ink-soft); cursor:pointer; padding:0; }
.s-fiche.pp-panneau .pp-puce-x:hover{ background:#dfe3e8; color:var(--ink); }
.s-fiche.pp-panneau .pp-puce-x svg{ width:13px; height:13px; }
.s-fiche.pp-panneau .pp-ajout-etiquette{ align-items:flex-end; flex-wrap:nowrap; }
.s-fiche.pp-panneau .pp-ajout-bouton{ flex:none; }

/* B3 : dans un panneau en colonne, un champ prend sa hauteur et non 160 px (règle .sf-champ flex 160px des rangées) */
.s-fiche.sf-panneau > .sf-champ, .s-fiche.sf-panneau > label.sf-champ{ flex:0 0 auto; }
.s-fiche.sf-panneau .sf-rangee > .sf-champ{ flex:1 1 160px; }

/* ---------------------------------------------------------------- Contacts */
.s-contacts{ display:block; min-width:0; }
.s-contacts .sc{ display:flex; flex-direction:column; gap:var(--sp-4); }
.s-contacts .sc-barre{ display:flex; flex-wrap:wrap; gap:var(--sp-3); align-items:center; }
.s-contacts .sc-chercher{ flex:1 1 260px; }
.s-contacts .sc-filtres{ display:flex; flex-wrap:wrap; gap:var(--sp-2); }
.s-contacts .sc-nombre{ font-size:var(--fs-sm); }
.s-contacts .sc-liste{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--sp-2); }
.s-contacts .sc-bouton{ width:100%; text-align:left; border:0; background:var(--surface); border-radius:var(--r-sm);
  padding:var(--sp-3) var(--sp-4); box-shadow:var(--sh-1); cursor:pointer; display:grid; gap:2px 12px;
  grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items:center; min-height:var(--tap); color:var(--ink); }
.s-contacts .sc-bouton:hover{ box-shadow:inset 0 0 0 1px var(--bleu), var(--sh-1); }
.s-contacts .sc-nom{ font-weight:700; overflow-wrap:anywhere; }
.s-contacts .sc-details, .s-contacts .sc-activite{ font-size:var(--fs-xs); }
.s-contacts .sc-meta{ font-size:var(--fs-sm); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.s-contacts .sc-activite{ text-align:right; }
.s-contacts .sf-actions{ display:flex; }
.s-contacts .sf-etiquette{ display:block; font-size:var(--fs-xs); font-weight:700; color:var(--ink-faint); }

/* ---------------------------------------------------------------- Fiche contact et panneaux d'action */
.s-fiche{ display:block; min-width:0; }
.s-fiche .sf{ display:flex; flex-direction:column; gap:var(--sp-3); }
.s-fiche .sf-bloc{ background:var(--surface); border-radius:var(--r-md); padding:var(--sp-4); box-shadow:var(--sh-1);
  display:flex; flex-direction:column; gap:var(--sp-2); min-width:0; }
.s-fiche .sf-titre{ font-size:var(--fs-sm); font-weight:750; letter-spacing:.01em; color:var(--ink-soft); }
.s-fiche .sf-nom{ font-size:var(--fs-xl); font-weight:800; overflow-wrap:anywhere; }
.s-fiche .sf-pied{ font-size:var(--fs-sm); }
.s-fiche .sf-relies{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.s-fiche .sf-relies li{ display:flex; align-items:center; gap:var(--sp-2); flex-wrap:wrap; }
.s-fiche .sf-lien{ border:0; background:transparent; color:var(--bleu); font-weight:650; cursor:pointer; padding:4px 0;
  text-align:left; min-height:32px; }
.s-fiche .sf-lien:hover{ text-decoration:underline; }
.s-fiche .sf-dl{ margin:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:var(--sp-2) var(--sp-4); }
.s-fiche .sf-dl dt{ font-size:var(--fs-xs); color:var(--ink-faint); font-weight:650; }
.s-fiche .sf-dl dd{ margin:0; font-weight:600; overflow-wrap:anywhere; }
.s-fiche .sf-ligne{ display:flex; align-items:center; gap:var(--sp-2); flex-wrap:wrap; overflow-wrap:anywhere; }
.s-fiche .sf-tel{ font-size:var(--fs-lg); font-weight:750; font-variant-numeric:tabular-nums; }
.s-fiche .sf-boutons, .s-fiche .sf-actions-ligne{ display:flex; flex-wrap:wrap; gap:var(--sp-2); }
.s-fiche .sf-liste{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.s-fiche .sf-tache, .s-fiche .sf-prevu{ display:flex; align-items:center; gap:var(--sp-2); flex-wrap:wrap; overflow-wrap:anywhere; }
.s-fiche .sf-ancien{ display:flex; align-items:center; gap:var(--sp-2); flex-wrap:wrap; margin-top:var(--sp-2); }
.s-fiche .sf-chrono{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.s-fiche .sf-evt{ padding:var(--sp-2) 0; border-top:1px solid var(--rule-soft); display:flex; flex-direction:column; gap:2px; }
.s-fiche .sf-evt:first-child{ border-top:0; }
.s-fiche .sf-evt-tete{ display:flex; align-items:center; gap:var(--sp-2); flex-wrap:wrap; font-size:var(--fs-sm); }
.s-fiche .sf-evt-quand{ margin-left:auto; font-size:var(--fs-xs); }
.s-fiche .sf-evt-texte{ font-size:var(--fs-sm); color:var(--ink-soft); white-space:pre-line; overflow-wrap:anywhere; }
.s-fiche .sf-evt audio{ width:100%; margin-top:4px; }
.s-fiche .sf-aide{ font-size:var(--fs-sm); }
.s-fiche .sf-chargement{ padding:var(--sp-4) 0; }
.s-fiche .sf-champ{ display:block; flex:1 1 160px; min-width:0; }
.s-fiche .sf-etiquette{ display:block; font-size:var(--fs-xs); font-weight:700; color:var(--ink-faint); margin-bottom:4px; }
.s-fiche .sf-rangee{ display:flex; gap:var(--sp-3); flex-wrap:wrap; }
.s-fiche .sf-case{ display:flex; align-items:center; gap:var(--sp-2); min-height:var(--tap); cursor:pointer; }
.s-fiche .sf-case input{ width:20px; height:20px; flex:none; }
.s-fiche .sf-texte{ min-height:120px; resize:vertical; }
.s-fiche .sf-etapes{ display:flex; flex-direction:column; gap:6px; }
.s-fiche .sf-etape[aria-pressed="true"]{ background:var(--bleu); color:#fff; box-shadow:var(--sh-bleu); }
/* Bouton à cadenas (droit du jeton manquant, F.4, arbitrage C1) : gris, mais cliquable (le clic explique). */
.s-fiche .btn[data-droit], .s-appel .btn[data-droit]{ opacity:.6; box-shadow:none; }
.s-fiche .sf-sous-titre{ font-weight:700; margin:var(--sp-2) 0; }
.s-fiche .sf-date{ display:flex; flex-direction:column; gap:var(--sp-2); }
.s-fiche .sf-actions{ display:flex; gap:var(--sp-2); margin-top:var(--sp-3); }
.s-fiche .sf-apercu{ margin-top:var(--sp-3); }
.s-fiche.sf-panneau{ display:flex; flex-direction:column; gap:var(--sp-3); }

/* ---------------------------------------------------------------- Panneau « Résultat de l'appel » */
.s-appel{ display:flex; flex-direction:column; gap:var(--sp-3); min-width:0; }
.s-appel .sa-tete{ background:var(--bande); border-radius:var(--r-md); padding:var(--sp-4); display:flex; flex-direction:column;
  gap:6px; align-items:flex-start; }
.s-appel .sa-nom{ margin:0 0 var(--sp-1); font-size:var(--fs-xl); font-weight:var(--fw-fort); overflow-wrap:anywhere; }
.s-appel .sa-numero{ font-size:var(--fs-2xl); font-weight:800; letter-spacing:.02em; font-variant-numeric:tabular-nums; }
.s-appel a.sa-composer{ color:inherit; text-decoration:none; }
.s-appel a.sa-composer:hover{ text-decoration:underline; text-underline-offset:4px; }
.s-appel .sa-tentative{ font-size:var(--fs-sm); color:var(--ink-soft); }
.s-appel .sa-centre{ font-size:var(--fs-sm); }
.s-appel .sa-fermee{ background:var(--ambre-tint); color:var(--ambre); border-radius:var(--r-md); padding:var(--sp-3);
  display:flex; flex-direction:column; gap:var(--sp-2); font-weight:650; }
.s-appel .sf-rangee{ display:flex; gap:var(--sp-2); flex-wrap:wrap; }
.s-appel .sa-question{ font-weight:750; }
.s-appel .sa-choix-liste{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:var(--sp-2); }
.s-appel .sa-choix{ display:flex; flex-direction:column; gap:4px; }
.s-appel .sa-consequence{ font-size:var(--fs-xs); line-height:1.35; }
.s-appel .sa-petit{ font-size:var(--fs-sm); }
.s-appel .sf-lien{ border:0; background:transparent; color:var(--ink-soft); cursor:pointer; padding:4px 0; min-height:32px;
  text-decoration:underline; }
.s-appel .sa-suite{ display:flex; flex-direction:column; gap:var(--sp-2); }
.s-appel .sa-jour-titre{ font-weight:700; font-size:var(--fs-sm); margin-top:var(--sp-2); }
.s-appel .sa-creneaux{ display:flex; flex-wrap:wrap; gap:6px; }
.s-appel .sf-champ{ display:block; flex:1 1 140px; min-width:0; }
.s-appel .sf-etiquette{ display:block; font-size:var(--fs-xs); font-weight:700; color:var(--ink-faint); margin-bottom:4px; }
.s-appel .sf-case{ display:flex; align-items:center; gap:var(--sp-2); min-height:var(--tap); cursor:pointer; }
.s-appel .sf-case input{ width:20px; height:20px; flex:none; }
.s-appel .sf-sous-titre{ font-weight:700; }
.s-appel .sf-actions{ display:flex; gap:var(--sp-2); }
.s-appel .sf-apercu{ margin-top:var(--sp-2); }

/* ---------------------------------------------------------------- Téléphone */
@media (max-width: 899px){
  .s-pipe .pp-selecteur{ display:block; }
  .s-pipe .pp-barre-droite{ width:100%; flex-wrap:wrap; margin-left:0; }
  .s-pipe .pp-barre-droite .pp-btn{ flex:1 1 auto; justify-content:center; }
  .s-pipe .pp-vues{ gap:14px; }
  /* Safari (l'iPhone de Jules) ne grandit un menu natif qu'en lui retirant son apparence : 44 px, la flèche redessinée. */
  .s-pipe .pp-select{ min-height:var(--tap); -webkit-appearance:none; appearance:none; padding-right:20px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23626a72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 4px center; background-size:12px 8px; }
  .s-pipe .pp-case-zone{ min-height:var(--tap); min-width:var(--tap); }
  .s-pipe .pp-tableau{ display:block; overflow:visible; height:auto !important; }
  .s-pipe .pp-colonne{ display:none; width:auto; }
  .s-pipe .pp-colonne[data-visible="oui"]{ display:flex; }
  .s-pipe .pp-cartes{ overflow:visible; }
  .s-pipe .pp-col-replier, .s-pipe .pp-depots{ display:none !important; }
  .s-pipe .pp-outils{ flex-wrap:wrap; width:100%; }
  .s-pipe .pp-chercher{ flex:1 1 100%; width:auto; }
  .s-pipe .pp-chercher, .s-pipe .pp-outil, .s-pipe .pp-segment, .s-pipe .pp-btn, .s-pipe .pp-vue{ min-height:var(--tap); }
  .s-pipe .pp-icone, .s-pipe .pp-nom, .s-pipe .pp-menu-item, .s-pipe .pp-lien, .s-pipe .pp-th{ min-height:var(--tap); }
  .s-pipe .pp-icone{ width:var(--tap); }
  .s-pipe .pp-menu-btn{ width:var(--tap); height:var(--tap); margin-right:-8px; }
  .s-pipe .pp-icones{ justify-content:space-between; margin:0 -6px; }
  .s-pipe .pp-liste{ height:auto !important; }
  .s-pipe .pp-case input{ width:22px; height:22px; }
  .s-pipe .pp-groupe .btn{ min-height:var(--tap); }
  .s-pipe .btn, .s-contacts .btn, .s-fiche .btn, .s-appel .btn{ min-height:var(--tap); }
  .s-pipe .pp-anciens, .s-fiche .sf-lien, .s-appel .sf-lien{ min-height:var(--tap); }
  .s-contacts .sc-bouton{ grid-template-columns:minmax(0, 1fr); }
  .s-contacts .sc-activite{ text-align:left; }
  .s-appel .sa-choix-liste{ grid-template-columns:minmax(0, 1fr); }
}
@media (max-width: 639px){
  .s-fiche .sf-boutons .btn{ flex:1 1 calc(50% - var(--sp-2)); }
  .s-fiche .sf-rangee{ flex-direction:column; }
  .s-fiche.sf-panneau .sf-rangee > .sf-champ{ flex:0 0 auto; }
}
