/* ==========================================================================
   CRM de Roger sur le Mac au style d'Apple (carte systeme 583, etape 7) : crm-mac.jsx. Rendu seulement sous la barre neuve
   du Mac (?barre). Meme architecture que le CRM du Mac d'aujourd'hui (crm-view.jsx) : onglets, filtres, trois colonnes (ou
   la grille d'un onglet range), la fiche d'un lead dans une fenetre au-dessus du tableau.
   Roger ne pose pas html.a-app : la base des briques est posee ici sur .cm et, tant que l'ecran est la (html.cm-html), sur
   les fenetres rendues dans <body> (feuilles, menus, popovers, alertes, bandeau) ; 1rem = 13, le corps de macOS, par
   html.bm-mac (la barre). Jetons --a-* seulement ; Papier le jour, Encre la nuit (prefers-color-scheme, apple.css).
   Mesures du Mac (convention, sections 4 et 7) : cartes rayon 12, marges 16, fenetre 16, popover 20, menu 12.
   ========================================================================== */

/* fond Papier sur toute la zone de contenu, sans halo (Tito 27/11 : "sans") */
html.cm-html .app-scroll{background:var(--a-fond)}
html.cm-html .app-scroll::before{display:none}

/* ---------- base (l'ecran et ses fenetres rendues dans <body>) ---------- */
.cm,html.cm-html :is(.a-feuille-r,.a-menu-r,.a-pop,.a-alerte-hote,.a-bandeau-hote){color:var(--a-t1);font-family:var(--a-police);
  font-size:1rem;line-height:1.294;letter-spacing:0;font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.cm{min-height:100%;background:var(--a-fond);-webkit-user-select:none;user-select:none}
:where(.cm,.cm-fen,.cm-feuille,.cm-pop,.cm-menu) *,:where(.cm,.cm-fen,.cm-feuille,.cm-pop,.cm-menu) *::before,
:where(.cm,.cm-fen,.cm-feuille,.cm-pop,.cm-menu) *::after{box-sizing:border-box;-webkit-user-drag:none}
:where(.cm,.cm-fen,.cm-feuille,.cm-pop,.cm-menu) :where(button,input,textarea,label){font-family:inherit;color:inherit;letter-spacing:inherit}
:where(.cm,.cm-fen,.cm-feuille,.cm-pop) :where(button){cursor:default}
:where(.cm,.cm-fen,.cm-feuille,.cm-pop) a{color:inherit;text-decoration:none}
:is(.cm,.cm-fen,.cm-feuille,.cm-pop) :focus{outline:none}
:is(.cm,.cm-fen,.cm-feuille,.cm-pop) :focus-visible{outline:3px solid color-mix(in srgb,var(--a-bleu) 55%,transparent);outline-offset:1px}
:is(.cm,.cm-fen,.cm-feuille,.cm-pop) :where(input:not([type=checkbox],[type=radio]),textarea):focus-visible{outline:none}
.cm-pousse{flex:1 1 auto}
.cm-rouge{color:var(--a-rouge)}
.cm-gris{color:var(--a-t2)}
.cm-pt{flex:none;display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c)}
.cm-pt--g{width:9px;height:9px}
.cm-chev{flex:none;color:var(--a-t3);font-size:.77rem}
/* un bouton capsule qui ouvre quelque chose reste marque tant que c'est ouvert */
:is(.cm,.cm-fen) .a-btn.a-on{background:var(--a-remplir3)}

/* ---------- la page : colonne centree de 1200 (le tableau d'aujourd'hui), marges de 24 ---------- */
.cm-page{max-width:1248px;margin:0 auto;padding:18px 24px 96px}
.cm-frais{margin:0 4px 8px;text-align:right;color:var(--a-t2);font-size:.846rem}
.cm-attente{display:flex;justify-content:center;padding:96px 0}

/* onglets (avec leur nombre) puis filtre projet, recherche, Completer, + Lead : segmentes de 28 (barre d'outils) */
.cm-haut{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.cm-outils{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.cm .cm-seg.a-seg{height:28px;border-radius:14px}
.cm .cm-seg .a-seg-pastille{border-radius:12px}
.cm .cm-seg .a-seg-b{border-radius:12px;padding:0 14px}
.cm .cm-seg .a-seg-b > .a-coupe{display:inline-flex;align-items:baseline;gap:6px;overflow:visible}
.cm .cm-seg .a-seg-b b{font-weight:600;color:var(--a-t2);font-variant-numeric:tabular-nums}
.cm .cm-seg .a-seg-b.a-on b{color:var(--a-t1)}
.cm .cm-rech{flex:0 1 280px;width:280px}
.cm .cm-outils > .a-btn{height:28px;padding:0 12px}
.cm .cm-cp-b .a-pv{margin-right:2px}

/* ---------- une carte (groupe insere du Mac : rayon 12, lisere d'un demi-point), son titre DANS la carte ---------- */
.cm-carte{position:relative;border-radius:12px;background:var(--a-carte);box-shadow:0 0 0 .5px var(--a-filet-fort),0 1px 2px rgba(17,17,17,.04);
  overflow:hidden;isolation:isolate;transition:box-shadow .15s}
/* depot pendant le glisser : l'anneau bleu du Mac */
.cm-carte.cm-sur{box-shadow:0 0 0 2px var(--a-bleu)}
.cm-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.cm-col-t{display:flex;align-items:center;gap:9px;padding:13px 16px 11px;font-size:1.154rem;font-weight:700;letter-spacing:-.2px}
.cm-col-nom{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.cm-col-n{flex:none;color:var(--a-t2);font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums}
/* la liste d'une colonne defile seule au-dela de 5 leads, sans la barre grise (Tito, 27/09) */
.cm-col-b{max-height:800px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.cm-col-b::-webkit-scrollbar{display:none}
.cm-vide{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px 16px 14px;color:var(--a-t2);
  border-top:1px solid var(--a-filet)}

/* ---------- une ligne de lead (Mail : point non lu, nom, ce qu'il dit, temperature, minuteur) ---------- */
.cm-ld{position:relative;display:flex;align-items:flex-start;gap:8px;padding:11px 16px 13px 10px;background:var(--a-carte);
  border-top:1px solid var(--a-filet);transition:background-color .2s,opacity .2s}
.cm-ld:active{background:var(--a-appui);transition:none}
.cm-ld.cm-glisse{opacity:.45}
.cm-ld--off{pointer-events:none}
.cm-ld-nl{flex:none;width:12px;height:19px;display:flex;align-items:center;justify-content:center}
.cm-ld-nl .a-nonlu{margin:0}
.cm-ld-c{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.cm-ld-l1{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
.cm-ld-nom{min-width:0;font-size:1.077rem;font-weight:600;letter-spacing:-.15px;overflow-wrap:anywhere}
.cm-ld-l1 .a-pastille{align-self:center}
.cm-ld-l2{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;color:var(--a-t2);font-size:.923rem}
.cm-ld-l2 > span:last-child{overflow-wrap:anywhere}
.cm-ld-res{color:var(--a-t2);font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
.cm-ld-l4{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:1px}
.cm-ld-txt{display:inline-flex;align-items:center;gap:5px;min-width:0;color:var(--a-t2);font-size:.923rem;overflow-wrap:anywhere}
.cm-ld-act{color:var(--a-t1)}
.cm-ld-act .sf{color:var(--a-cours)}
.cm-mn{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--a-t2);font-size:.923rem;white-space:nowrap;
  font-variant-numeric:tabular-nums}
.cm-mn--tard{color:var(--a-rouge);font-weight:600}
/* temperature : pastille d'etat a la couleur de Tito (chaud vert, tiede jaune, froid rouge, a classer violet) */
.cm-temp .cm-pt{width:6px;height:6px;background:var(--a-pa-c)}
/* Relances : une ligne qui deplie */
.cm-rel{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px 16px 8px 30px;border:0;border-top:1px solid var(--a-filet);
  margin:0;background:var(--a-carte);color:var(--a-t2);font-size:1rem;text-align:left;transition:background-color .2s}
.cm-rel .cm-chev{margin-left:auto}
.cm-rel:active{background:var(--a-appui);transition:none}

/* ---------- onglet range : une carte, les leads en grille (filets entre les cases) ---------- */
.cm-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));max-height:none;margin-left:-1px}
.cm-grille > .cm-ld{border-left:1px solid var(--a-filet)}
.cm-grille > .cm-rel,.cm-grille > .cm-vide{grid-column:1/-1;border-left:1px solid var(--a-filet)}

/* ---------- zones de depot (Plus tard, Signe, Perdu) pendant le glisser, en bas de la fenetre ---------- */
.cm-zones{position:fixed;z-index:60;left:50%;bottom:24px;transform:translateX(-50%);display:flex;gap:12px}
.cm-z{display:flex;align-items:center;justify-content:center;gap:8px;width:180px;height:56px;border-radius:16px;color:var(--a-t1);
  font-weight:600;background:var(--a-verre);-webkit-backdrop-filter:var(--a-verre-flou);backdrop-filter:var(--a-verre-flou);
  box-shadow:var(--a-ombre-verre),inset 0 1px 0 var(--a-verre-bord);transition:box-shadow .15s,transform .15s}
.cm-z.cm-sur{box-shadow:0 0 0 2px var(--a-bleu),var(--a-ombre-verre);transform:scale(1.03)}

/* ---------- menus de l'ecran (Deplacer vers, temperature, etape, notes) : un titre de note passe a la ligne ---------- */
.cm-menu .a-menu-l{white-space:normal}
.cm-menu .a-menu-x .a-coupe{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.cm-menu .a-menu-l{padding-top:3px;padding-bottom:3px}
.cm-mi{display:inline-flex;align-items:center;gap:8px}

/* ---------- champs de saisie du Mac (cadre blanc, rayon 7) ---------- */
.cm-in{display:flex;align-items:center;flex:none;min-width:0;height:28px;padding:0 8px;border-radius:7px;background:var(--a-carte);
  box-shadow:inset 0 0 0 1px var(--a-filet-fort)}
.cm-in:focus-within{box-shadow:inset 0 0 0 1px var(--a-filet-fort),0 0 0 3px color-mix(in srgb,var(--a-bleu) 40%,transparent)}
/* dans une rangee, un champ prend la place ; dans une colonne, il garde sa hauteur */
.cm-form-l > .cm-in{flex:1 1 160px}
.cm-form-l > .cm-in--large{flex:3 1 240px}
.cm-in--zone{height:auto;align-items:flex-start;padding:5px 8px}
.cm-in--zone .a-zone{min-height:60px}
.cm-in--nb{flex:0 0 96px}
.cm-in--nb .a-champ-in{text-align:right;font-variant-numeric:tabular-nums}
.cm-lab{flex:none;color:var(--a-t2);font-size:.923rem;font-weight:500}

/* ---------- les feuilles centrees (Nouveau lead, Completer les contacts) ---------- */
.cm-nl{display:flex;flex-direction:column;gap:14px;padding:4px 20px 8px}
.cm-nl-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.cm-nl-g .cm-in--large{grid-column:1/-1}
.cm-nl-l{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.cm-nl-l .cm-lab{width:84px}
.cm-dbl{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:12px;background:var(--a-carte)}
.cm-dbl-t{color:var(--a-rouge);font-weight:700}
.cm-dbl-l{display:flex;align-items:center;gap:10px}
.cm-dbl-x{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;overflow-wrap:anywhere}
.cm-dbl-x > span{color:var(--a-t2);font-size:.923rem}
.cm-cp-n{display:flex;align-items:baseline;gap:6px;margin:4px 20px 16px;color:var(--a-t2)}
.cm-cp-n b{font-family:var(--a-police-ronde);font-size:2rem;line-height:1.2;font-weight:700;color:var(--a-t1);font-variant-numeric:tabular-nums}
.cm-cp-p{display:flex;flex-direction:column;gap:8px;margin:0 20px 8px}
.cm-cp-l{display:flex;justify-content:space-between;gap:12px;color:var(--a-t2);font-size:.923rem;font-variant-numeric:tabular-nums}
.cm-cp-f{display:flex;align-items:center;gap:10px;margin:0 20px 8px}
.cm-cp-e{margin:8px 20px 0;font-size:.923rem}

/* ---------- la fiche d'un lead : fenetre centree de 760, en-tete, bloc du CRM, fil qui defile, reponse ---------- */
.a-feuille.a-feuille--centre.cm-fen{width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 32px)}
.cm-fen .a-feuille-tete{display:none}
.cm-fen .a-feuille-corps{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}
.cm-f-tete{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 20px 14px;border-bottom:1px solid var(--a-filet)}
.cm-f-l1{align-self:stretch;display:flex;align-items:flex-start;gap:12px}
.cm-f-qui{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:6px}
.cm-f-nom{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
.cm-f-nom > span:first-child{font-size:1.308rem;line-height:1.25;font-weight:700;letter-spacing:-.2px;overflow-wrap:anywhere}
.cm-f-pj{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;color:var(--a-t2);font-size:.923rem}
.cm-f-act{flex:0 1 auto;display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}
/* choix a point de couleur (temperature, etape) : bouton menu de macOS */
.cm-ch{display:inline-flex;align-items:center;gap:6px;flex:none;height:24px;padding:0 7px 0 10px;border:0;margin:0;border-radius:7px;
  background:var(--a-remplir);color:var(--a-t1);font:inherit;font-weight:500;white-space:nowrap;transition:background-color var(--a-duree-courte)}
.cm-ch > .sf{font-size:.7rem;color:var(--a-t2)}
.cm-ch.a-on{background:var(--a-remplir3)}
.cm-ch:disabled{opacity:.5}

.cm-f-crm{flex:none;display:flex;flex-direction:column;gap:10px;padding:12px 20px 12px}
.cm-f-etat{font-weight:600}
.cm-f-next{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding:9px 12px;border-radius:10px;
  background:color-mix(in srgb,var(--a-cours) 10%,var(--a-carte))}
.cm-f-next > .sf{color:var(--a-cours)}
.cm-f-next-q{font-weight:600;overflow-wrap:anywhere}
.cm-f-next-w{margin-left:auto;color:var(--a-t2);font-size:.923rem}
.cm-br{display:flex;flex-direction:column;gap:6px;padding:10px 14px 12px;border-radius:12px;background:var(--a-carte);
  box-shadow:inset 3px 0 0 var(--a-vert)}
.cm-br-t{font-weight:700}
.cm-br-x{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.42;-webkit-user-select:text;user-select:text}
.cm-br-w{color:color-mix(in srgb,var(--a-violet) 70%,var(--a-t1));font-size:.923rem}
.cm-prog{display:flex;flex-direction:column;gap:6px;padding:10px 14px 12px;border-radius:12px;background:var(--a-carte)}
.cm-prog-t{display:flex;align-items:center;gap:8px;font-weight:600}
.cm-prog-t .sf{color:var(--a-t2)}
.cm-prog--ko .cm-prog-t .sf{color:var(--a-rouge)}
.cm-prog-x{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}
.cm-prog-p{color:var(--a-t2);font-size:.923rem;overflow-wrap:anywhere}
.cm-prog-b{display:flex;gap:8px;margin-top:2px}
/* la barre des gestes : noter, rappel, notes a gauche ; ranger a droite */
.cm-f-barre{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cm-fen .cm-f-barre .a-btn{height:28px;padding:0 12px}
.cm-fen .a-btn.cm-ico{width:32px;padding:0}
.cm-fen .a-btn.cm-ico > .sf{font-size:1.15rem}
.cm-fen .a-btn.cm-ico--n{width:auto;padding:0 10px}
.cm-ranger{display:inline-flex;align-items:center;height:28px;padding:2px;border-radius:8px;background:var(--a-remplir)}
.cm-ranger-b{height:24px;padding:0 12px;border:0;margin:0;border-radius:6px;background:none;font:inherit;font-weight:500;color:var(--a-t1);
  transition:background-color var(--a-duree-courte)}
.cm-ranger-b + .cm-ranger-b{box-shadow:-1px 0 0 var(--a-filet-fort)}
.cm-ranger-b.a-on,.cm-ranger-b.a-on + .cm-ranger-b{box-shadow:none}
.cm-ranger-b.a-on{background:var(--a-seg-choisi);box-shadow:var(--a-ombre-seg);font-weight:600}
.cm-ranger-b:active{opacity:.6}
/* un formulaire de geste (echange, rappel, Plus tard, Signe, Perdu) */
.cm-form{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:12px;background:var(--a-carte)}
.cm-form > .cm-in,.cm-form > .cm-form-l,.cm-form > .cm-form-b{align-self:stretch}
.cm-form-l{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.cm-form-b{display:flex;align-items:center;gap:8px}
.cm-jetons{display:flex;flex-wrap:wrap;gap:6px}
.cm-jeton{height:24px;padding:0 10px;border:0;margin:0;border-radius:12px;background:var(--a-remplir);color:var(--a-t1);font:inherit;
  white-space:nowrap;transition:background-color var(--a-duree-courte)}
.cm-jeton.a-on{background:var(--a-teinte);color:var(--a-sur-teinte);font-weight:600}
.cm-jeton:active{opacity:.6}

/* le fil : ses messages a gauche, les tiens a droite (Messages), les echanges notes a la main en pointille */
.cm-f-fil{flex:1 1 auto;min-height:120px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;
  padding:14px 20px 18px;border-top:1px solid var(--a-filet)}
.cm-b{position:relative;flex:none;max-width:84%;align-self:flex-start;padding:10px 14px 12px;border-radius:14px;background:var(--a-carte);
  box-shadow:0 0 0 .5px var(--a-filet)}
.cm-b--nous{align-self:flex-end;background:color-mix(in srgb,var(--a-bleu) 10%,var(--a-carte));box-shadow:none}
.cm-b--note{align-self:stretch;max-width:none;background:transparent;box-shadow:none;border:1.5px dashed color-mix(in srgb,var(--a-orange) 75%,transparent)}
.cm-b-m{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;margin-bottom:4px;color:var(--a-t2);font-size:.923rem}
.cm-b-de{flex:1 1 auto;font-weight:600;overflow-wrap:anywhere}
.cm-b--nous .cm-b-de{color:color-mix(in srgb,var(--a-bleu) 75%,var(--a-t1))}
.cm-b--note .cm-b-de{color:color-mix(in srgb,var(--a-orange) 80%,var(--a-t1))}
.cm-b-m time{flex:none;font-variant-numeric:tabular-nums}
.cm-b-ob{font-weight:600;margin-bottom:4px;overflow-wrap:anywhere}
.cm-b-tx{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45;-webkit-user-select:text;user-select:text}
.cm-b-pjs{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.cm-pj{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:12px;background:var(--a-remplir);color:var(--a-t1);
  font-size:.923rem;overflow-wrap:anywhere}
.cm-b-act{display:flex;align-items:center;gap:2px;margin:-4px -6px -4px 0}
.cm-ib{flex:none;display:grid;place-items:center;width:24px;height:24px;border:0;margin:0;padding:0;border-radius:6px;background:none;
  color:var(--a-t2);font-size:.95rem}
.cm-ib:active{background:var(--a-remplir3)}
.cm-b-ed{display:flex;flex-direction:column;gap:8px}
.cm-b-ed .cm-form-b{justify-content:flex-end}
/* rappel depuis un message qui parle d'un appel, d'une heure ou d'une date : horloge au coin de la bulle */
.cm-pin{position:absolute;right:-8px;bottom:-8px;width:26px;height:26px;border-radius:50%;border:0;margin:0;padding:0;display:grid;
  place-items:center;background:var(--a-carte);color:var(--a-bleu);font-size:.9rem;box-shadow:var(--a-ombre-verre)}
.cm-pin:active{transform:scale(.92)}

/* redirection vers le decideur, puis la reponse */
.cm-redir{flex:none;display:flex;align-items:center;gap:12px;margin:0 20px 12px;padding:10px 14px;border-radius:12px;
  background:color-mix(in srgb,var(--a-orange) 10%,var(--a-carte))}
.cm-redir-c{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cm-redir-c small{color:var(--a-t2);font-size:.923rem}
.cm-redir-c b{overflow-wrap:anywhere}
.cm-f-pied{flex:none;padding:12px 20px 16px;border-top:1px solid var(--a-filet)}
.cm-f-pied-l{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cm-fen .cm-f-pied .a-btn{height:28px;padding:0 12px}
.cm-rep{display:flex;flex-direction:column;gap:8px}
.cm-rep-champ{display:block;width:100%;min-height:96px;max-height:40vh;margin:0;padding:8px 10px;border:0;border-radius:8px;outline:0;resize:vertical;
  font:inherit;font-size:1rem;line-height:1.45;color:var(--a-t1);background:var(--a-carte);box-shadow:inset 0 0 0 1px var(--a-filet-fort);
  -webkit-user-select:text;user-select:text}
.cm-rep-champ:focus{box-shadow:inset 0 0 0 1px var(--a-filet-fort),0 0 0 3px color-mix(in srgb,var(--a-bleu) 40%,transparent)}
.cm-pjs{display:flex;flex-wrap:wrap;gap:6px}
.cm-pj-x{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:26px;padding:0 4px 0 10px;border-radius:13px;background:var(--a-remplir);
  font-size:.923rem}
.cm-pj-x > span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.cm-rep-b{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cm-rep-de{color:var(--a-t2);font-size:.923rem;overflow-wrap:anywhere}
.cm-rep-prog{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.cm-fichier{cursor:default}
.cm-rep-msg{font-size:.923rem}

/* fiche contact : popover du Mac cale sur son bouton */
.cm-pop.a-pop{width:380px;max-width:min(380px,calc(100vw - 16px));padding:12px 6px 10px}
.cm-pop .a-pop-titre{margin:0 10px 6px;font-size:1rem}
.cm-kvs{max-height:min(460px,calc(100vh - 160px));overflow-y:auto;overscroll-behavior:contain;padding:0 10px}
.cm-kv{display:flex;gap:12px;padding:6px 0;border-top:1px solid var(--a-filet)}
.cm-kv:first-child{border-top:0}
.cm-kv small{flex:0 0 96px;color:var(--a-t2);font-size:.923rem}
.cm-kv span{flex:1;min-width:0;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}
.cm-kv a{color:var(--a-cyan)}
.cm-kv a:active{opacity:.45}

/* survol (souris seulement) : decor, jamais une information */
@media (hover:hover) and (pointer:fine){
  .cm-ld:hover,.cm-rel:hover{background:color-mix(in srgb,var(--a-appui) 50%,var(--a-carte))}
  .cm-ch:not(.a-on):hover,.cm-jeton:not(.a-on):hover{background:var(--a-remplir3)}
  .cm-ranger-b:not(.a-on):hover{background:var(--a-remplir2)}
  .cm-ib:hover{background:var(--a-remplir2);color:var(--a-t1)}
}
@media (prefers-reduced-motion:reduce){
  .cm-carte,.cm-ld,.cm-z{transition:none}
}
