/* ════════════════════════════════════════════════════════════════════════════
   L'APPLI CONTACTS (29/11/2026) · les personnes. Couleur signature violette --app-accent #fcfcff
   (Affaires est vert : on ne confond plus les deux). Tout est rangé sous .ct3 : rien ne fuit vers les autres modules.
   Charte d'ergonomie : en-tête commun, une seule surface vedette (noir teinté à 8 % de l'accent),
   tailles 12 / 14 / 16 / 22 / 32, boutons monochromes, 44 px au doigt, ambre pour le retard, jamais de rouge empilé.
   ════════════════════════════════════════════════════════════════════════════ */
.ct3{--app-accent:#fcfcff;--ac:var(--app-accent);--ac-r:252,252,255;--ac-i:#fefeff;--ac-n:#333339;
  --v:rgba(255,255,255,.045);--f:rgba(255,255,255,.14);--l:rgba(255,255,255,.075);--w:rgba(255,255,255,.055);
  --tx:#f3f3f6;--mu:rgba(243,243,246,.6);--fa:rgba(243,243,246,.38);--am:#eeece7;--am-r:245,185,113;
  --om:inset 0 1px 0 rgba(255,255,255,.07),0 30px 60px -30px rgba(0,0,0,.65);
  position:relative;isolation:isolate;color:var(--tx);font:14px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif;padding-top:22px!important;max-width:1480px}
.ct3::before{content:"";position:absolute;z-index:-1;top:-60px;left:-80px;width:min(620px,90%);height:380px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(var(--ac-r),.09),rgba(var(--ac-r),0));filter:blur(8px)}
.ct3 *{box-sizing:border-box}
.ct3 button{font:inherit;color:inherit}
.ct3-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ct3-rouge{color:#ff8a7e!important}
.ct3-ambre{color:var(--am)!important}
.ct3-faint{color:var(--fa);font-style:normal;font-size:12px}
.ct3-calme{margin:6px 8px;color:var(--mu);font-size:12px}

/* ── en-tête commun : H1 = Contacts, une ligne de contexte, la recherche puis un seul bouton ── */
.ct3-h{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px}
.ct3-ht{min-width:0}
.ct3-t1{display:flex;align-items:center;gap:8px;min-width:0}
.ct3-ret,.ct3-sep{display:none}
.ct3 .ct3-h h1{margin:0 0 6px;font-family:inherit;font-size:22px;font-weight:600;line-height:1.2;letter-spacing:-.015em;display:flex;align-items:center;gap:10px}
.ct3 .ct3-h h1::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--ac);box-shadow:0 0 0 4px rgba(var(--ac-r),.16)}
body.s3 #view .ecx-page.ct3 .ct3-h .ct3-ht h1{font-size:22px;letter-spacing:-.015em;line-height:1.2}
.ct3-h p{margin:0;color:var(--mu);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-hb{display:flex;align-items:center;gap:8px;flex:none}
.ct3-q{display:flex;align-items:center;gap:8px;height:44px;width:300px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--f);transition:border-color .2s}
.ct3-q:focus-within{border-color:rgba(var(--ac-r),.6)}
.ct3-q .ecx-i{width:16px;height:16px;flex:none;stroke:var(--mu)}
.ct3-q input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;color:var(--tx);font-family:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.ct3-q input::-webkit-search-cancel-button{display:none}
#view .ct3 .ct3-q input{height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.ct3-q input::placeholder{color:var(--fa)}
.ct3 .ct3-nv{min-height:0;width:auto;display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 18px 0 14px;border-radius:999px;border:0;background:#f3f3f6;color:#0b0c0f;font-family:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;box-shadow:0 10px 24px -14px rgba(255,255,255,.5);transition:transform .15s}
.ct3 .ct3-nv:active{transform:scale(.97)}
.ct3 .ct3-nv .ecx-i{width:16px;height:16px;fill:none;stroke:#0b0c0f;stroke-width:2;stroke-linecap:round}

/* ── sous-pages en puces : seulement quand il n'y a ni barre ni rail (téléphone) ── */
.ct3-seg{display:none;gap:2px;padding:4px;margin:0 0 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--l);overflow-x:auto;scrollbar-width:none}
.ct3-seg::-webkit-scrollbar{display:none}
.ct3-seg.deb{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
.ct3-seg button{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:999px;background:none;color:var(--mu);font-size:14px;font-weight:500;cursor:pointer;transition:background .2s,color .2s}
.ct3-seg button:hover{color:var(--tx)}
.ct3-seg button.on{background:rgba(255,255,255,.11);color:var(--tx)}
.ct3-seg i{font-style:normal;font-size:12px;font-weight:600;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.08);color:var(--mu);font-variant-numeric:tabular-nums}
.ct3-seg i:empty{display:none}
.ct3-seg button.on i{background:rgba(var(--ac-r),.22);color:var(--ac-i)}

/* ── cartes ── */
.ct3-card,.ct3-k{position:relative;min-width:0;border-radius:22px;background:var(--v);border:1px solid var(--f);box-shadow:var(--om)}
.ct3-card{padding:18px 20px}
.ct3-cardt{padding:8px 8px 6px}
.ct3-cardt>.ct3-ch{padding:10px 12px 0}
.ct3-ch{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px}
.ct3-ch h2{margin:0;font-size:16px;font-weight:600;letter-spacing:-.005em}
.ct3-ch p{margin:2px 0 0;color:var(--mu);font-size:12px}
.ct3-lien{flex:none;border:0;background:none;padding:2px 0;color:var(--mu);font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}
.ct3-lien:hover{color:var(--tx)}

/* ── panne : un bandeau d'une ligne, en haut ── */
.ct3-panne{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:8px 8px 8px 16px;border-radius:999px;background:rgba(var(--am-r),.08);border:1px solid rgba(var(--am-r),.3);color:var(--tx);font-size:14px}

/* ── quatre chiffres sur une rangée ; une seule vedette : noir teinté à 8 % de l'accent ── */
.ct3-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 14px}
.ct3 .ct3-k{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;gap:6px;padding:16px 18px;min-height:118px;cursor:pointer;transition:border-color .2s,transform .2s}
.ct3-k:hover{border-color:rgba(255,255,255,.24)}
.ct3-k:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
.ct3-k>span:first-child em{font-style:normal}
.ct3-k>span:first-child{font-size:12px;font-weight:600;color:var(--mu)}
.ct3-k>b{font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.ct3-k small{margin-top:auto;font-size:12px;color:var(--mu)}
.ct3 .ct3-k.heros{background:color-mix(in srgb,var(--ac) 8%,#0b0b0f);border-color:rgba(var(--ac-r),.42)}
.ct3-k.heros:hover{border-color:rgba(var(--ac-r),.7)}
.ct3-k.heros>b{font-size:32px;letter-spacing:-.03em}
.ct3-k.heros>span:first-child{color:var(--ac-i)}
.ct3-k.heros small{color:var(--ac-i);opacity:.85}
.ct3-kok{display:flex;align-items:center;gap:8px}
.ct3-kok svg{width:26px;height:26px;fill:none;stroke:var(--ac);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ── grille : à gauche le grand bloc puis la liste, à droite « À valider », l'étape, les échanges, les agents repliés ── */
.ct3-grille{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;align-items:start}
.ct3-main,.ct3-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.ct3-suivi>.ct3-ch{flex-wrap:wrap}
.ct3-chs{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}
.ct3-fe{display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--l);overflow-x:auto;scrollbar-width:none}
.ct3-fe::-webkit-scrollbar{display:none}
.ct3-fe button{flex:none;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--mu);font-size:12px;font-weight:500;cursor:pointer;transition:background .2s,color .2s}
.ct3-fe button:hover{color:var(--tx)}
.ct3-fe button.on{background:rgba(255,255,255,.11);color:var(--tx)}
.ct3-fe button i{font-style:normal;font-size:12px;color:var(--fa);font-variant-numeric:tabular-nums}
.ct3-fe button.on i{color:var(--ac-i)}
.ct3-src{font-size:14px;color:var(--mu)}

/* ── la liste (avatar à initiales, pastille d'étape, tri par colonne) : la prochaine action prend 30 % ── */
.ct3-tab{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
#view .ct3 .ct3-tab th,.ct3-tab th{padding:10px 12px;border-bottom:0;background:none;letter-spacing:0;text-transform:none;text-align:left;font-size:12px;font-weight:600;color:var(--mu);white-space:nowrap}
.ct3-tab th button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.ct3-tab th button:hover,.ct3-tab th button.on{color:var(--tx)}
.ct3-fl{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:transform .25s cubic-bezier(.23,1,.32,1),opacity .2s}
.ct3-tab th button:hover .ct3-fl{opacity:.45}
.ct3-tab th button.on .ct3-fl{opacity:1}
.ct3-tab th button.asc .ct3-fl{transform:rotate(180deg)}
#view .ct3 .ct3-tab td,.ct3-tab td{padding:10px 12px;border-bottom:0;font-size:14px;border-top:1px solid var(--l);vertical-align:middle;min-width:0;overflow:hidden}
.ct3-tab tbody tr{cursor:pointer}
.ct3-tab tbody tr:hover td{background:rgba(255,255,255,.04)}
.ct3-tab tbody tr:hover td:first-child{border-radius:12px 0 0 12px}
.ct3-tab tbody tr:hover td:last-child{border-radius:0 12px 12px 0}
.ct3-tab tbody tr:focus-visible{outline:2px solid var(--ac);outline-offset:-2px}
.ct3-tab .c-nom{width:27%}.ct3-tab .c-soc{width:18%}.ct3-tab .c-et{width:13%}.ct3-tab .c-de{width:12%}.ct3-tab .c-pa{width:30%}
.ct3-tab th{overflow:hidden}.ct3-tab .c-g{width:76px;text-align:right;white-space:nowrap}
.ct3-p{display:flex;align-items:center;gap:10px;min-width:0}
.ct3-pt{display:flex;flex-direction:column;min-width:0}
.ct3-pt b,.ct3-c2 b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-pt small,.ct3-c2 small{font-size:12px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-c2{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%}
.ct3-c2>span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-c2 b{font-weight:500;max-width:100%}
/* la prochaine action passe sur deux lignes avant l'ellipse */
.ct3-act .ct3-l2{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
/* la société d'un client : un lien vers sa fiche dans Clients */
.ct3 .ct3-soc{max-width:100%;padding:0;border:0;background:none;color:var(--tx);font-size:14px;font-weight:500;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;
  text-decoration:underline;text-decoration-color:rgba(var(--ac-r),.55);text-underline-offset:3px;text-decoration-thickness:1px}
.ct3 .ct3-soc:hover{color:var(--ac-i);text-decoration-color:var(--ac)}
.ct3-av{flex:none;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--t,#d6d0e8);color:#1d1d23;font-size:12px;font-weight:700;letter-spacing:.02em}
.ct3-av.pt{width:28px;height:28px;font-size:12px}
.ct3-pil{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;font-style:normal;white-space:nowrap}
.ct3-pil.froid{background:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:var(--mu)}
.ct3-pil.nouv{background:rgba(var(--ac-r),.16);color:var(--ac-i)}
.ct3-pil.s1{background:rgba(var(--ac-r),.28);color:#ede9fe}
.ct3-pil.s2{background:rgba(var(--ac-r),.44);color:#f5f3ff}
.ct3-pil.s3{background:rgba(var(--ac-r),.66);color:var(--ac-n)}
.ct3-pil.client{background:var(--ac);color:var(--ac-n)}
.ct3-pil.perdu{background:none;box-shadow:inset 0 0 0 1px var(--l);color:var(--fa)}
.ct3-ic{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--mu);transition:background .2s,color .2s}
.ct3-ic:hover{background:var(--w);color:var(--tx)}
.ct3-ic .ecx-i{width:15px;height:15px}
.ct3-suivi .c-g{display:none}
.ct3-suivi .ct3-tab .c-nom{width:27%}.ct3-suivi .ct3-tab .c-soc{width:19%}.ct3-suivi .ct3-tab .c-et{width:14%}.ct3-suivi .ct3-tab .c-de{width:10%}.ct3-suivi .ct3-tab .c-pa{width:30%}
.ct3-encore{display:block;margin:14px auto 0}
/* sur grand écran, la liste de la vue d'ensemble laisse tomber « Dernier » : la prochaine action et l'étape respirent */
@media (min-width:1241px){
  .ct3-suivi .ct3-tab .c-de{display:none}
  .ct3-suivi .ct3-tab .c-nom{width:30%}.ct3-suivi .ct3-tab .c-soc{width:21%}.ct3-suivi .ct3-tab .c-et{width:17%}.ct3-suivi .ct3-tab .c-pa{width:32%}
}

/* ── états vides positifs : une coche dans l'accent, une phrase ── */
.ct3-okv{display:flex;align-items:center;gap:12px;padding:10px 8px}
.ct3-ok{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(var(--ac-r),.14)}
.ct3-ok svg{width:18px;height:18px;fill:none;stroke:var(--ac);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ct3-okv b{font-size:14px;font-weight:600}
.ct3-okv small{font-size:12px;color:var(--mu);white-space:normal}

/* ── « À valider » : quoi, pour qui, échéance ; Ouvrir à gauche, Oui à droite ── */
.ct3-ouic .ct3-ch h2{display:flex;align-items:center;gap:8px}
.ct3-nb{font-style:normal;letter-spacing:0;padding:1px 8px;border-radius:999px;background:rgba(var(--ac-r),.2);color:var(--ac-i);font-size:12px;font-weight:600}
.ct3-ouil{display:flex;flex-direction:column;gap:8px}
.ct3-ouic:not(.tout) .ct3-oui-l.plus{display:none}
.ct3-oui-l{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;background:rgba(255,255,255,.035);transition:opacity .3s}
.ct3-oui-l.parti{opacity:.35;pointer-events:none}
.ct3-oui-l.parti b{text-decoration:line-through}
.ct3-oui-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.ct3-oui-t b{font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ct3-oui-t small{display:flex;gap:6px;min-width:0;font-size:12px;color:var(--mu)}
.ct3-oui-t small span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-oui-t small span:not(:empty)::after{content:" ·"}
.ct3-oui-t small em{flex:none;font-style:normal}
.ct3-oui-a{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ct3 .ct3-oui-o,.ct3 .ct3-oui-b{min-height:0;height:36px;min-width:72px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}
.ct3 .ct3-oui-o{border:1px solid var(--f);background:none;color:var(--tx)}
.ct3 .ct3-oui-o:hover{background:var(--w)}
.ct3 .ct3-oui-b{border:0;background:rgba(255,255,255,.14);color:var(--tx)}
.ct3 .ct3-oui-b:hover{background:rgba(255,255,255,.22)}
.ct3-vieux{display:flex;align-items:center;gap:10px;width:100%;margin:10px 0 0;padding:10px 8px 4px;border:0;border-top:1px solid var(--l);background:none;text-align:left;cursor:pointer;font-size:12px;color:var(--mu)}
.ct3-vieux>span:nth-child(2){flex:1;min-width:0}
.ct3-vieux:hover{color:var(--tx)}
.ct3-ouic.vx .ct3-vieux .ct3-chev{transform:rotate(180deg)}
.ct3-vxl{display:none;flex-direction:column;gap:8px;margin-top:8px}
.ct3-ouic.vx .ct3-vxl{display:flex}
.ct3-puce-am{flex:none;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:rgba(var(--am-r),.14);color:var(--am);font-size:12px;font-weight:600;white-space:nowrap}

/* ── « Fait pour toi » : une ligne repliée, les agents dessous ── */
.ct3-fpt{padding:6px 8px}
.ct3-fptb{display:grid;grid-template-columns:auto minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;min-height:44px;padding:6px 10px;border:0;border-radius:16px;background:none;text-align:left;cursor:pointer}
.ct3-fptb:hover{background:var(--w)}
.ct3-fptb b{font-size:14px}
.ct3-fpti{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(var(--ac-r),.14)}
.ct3-fpti svg{width:15px;height:15px;fill:none;stroke:var(--ac);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ct3-fpt.ouvert>.ct3-fptb .ct3-chev{transform:rotate(180deg)}
.ct3-fpt>.ct3-agd>div{padding:0 2px}
.ct3-fpt.ouvert>.ct3-agd{grid-template-rows:1fr}
.ct3-fpt.ouvert>.ct3-agd>div{padding-bottom:6px}
.ct3-fpts{margin:4px 10px 6px;font-size:12px;color:var(--fa)}
.ct3-agl{display:flex;flex-direction:column;gap:2px}
.ct3-ag{border-radius:14px;transition:background .25s}
.ct3-ag.ouvert{background:rgba(255,255,255,.035)}
.ct3-agb{display:grid;grid-template-columns:10px minmax(0,1fr) auto 14px;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:14px;background:none;text-align:left;cursor:pointer}
.ct3-agb:hover{background:var(--w)}
.ct3-agb b{font-size:14px;white-space:normal}
.ct3-agb b em{margin-left:6px;font-style:normal;font-weight:400;font-size:12px;color:var(--fa)}
.ct3-agb time,.ct3-ai time{font-size:12px;color:var(--fa);white-space:nowrap}
.ct3-chev{flex:none;width:14px;height:14px;fill:none;stroke:var(--mu);stroke-width:2;stroke-linecap:round;transition:transform .25s cubic-bezier(.23,1,.32,1)}
.ct3-ag.ouvert .ct3-agb .ct3-chev{transform:rotate(180deg)}
.ct3-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.22)}
.ct3-dot.jour{background:rgba(var(--ac-r),.6)}
.ct3-dot.vif{background:var(--ac);animation:ct3-pouls 1.8s ease-out infinite}
@keyframes ct3-pouls{0%{box-shadow:0 0 0 0 rgba(var(--ac-r),.55)}80%,100%{box-shadow:0 0 0 7px rgba(var(--ac-r),0)}}
.ct3-agd{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.23,1,.32,1)}
.ct3-agd>div{overflow:hidden;min-height:0}
.ct3-ag .ct3-agd>div{padding:0 6px 0 22px}
.ct3-ag.ouvert .ct3-agd{grid-template-rows:1fr}
.ct3-ag.ouvert .ct3-agd>div{padding-bottom:8px}
.ct3-ag.repos .ct3-agb>.ct3-pt,.ct3-ag.repos .ct3-agb>time{opacity:.5}
.ct3-ail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;transition:opacity .3s}
.ct3-ail.parti{opacity:.45}
.ct3 .ct3-mini{flex:none;min-height:0;height:32px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.09);color:var(--tx);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.ct3 .ct3-mini:hover{background:rgba(255,255,255,.15)}
.ct3 .ct3-mini:disabled{background:none;color:var(--fa);cursor:default}
.ct3 .ct3-mini-f{background:none;box-shadow:inset 0 0 0 1px var(--f);color:var(--mu)}
.ct3-ai{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:7px 8px;border:0;border-radius:12px;background:none;text-align:left;cursor:pointer}
.ct3-ai:hover{background:var(--w)}
.ct3-ai.stat{cursor:default}
.ct3-ai.stat:hover{background:none}
.ct3-aic{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.06)}
.ct3-aic .ecx-i{width:14px;height:14px;stroke:var(--mu)}
.ct3-parag{margin-left:6px;padding:1px 6px;border-radius:999px;background:rgba(var(--ac-r),.16);color:var(--ac-i);font-size:12px;font-weight:600;font-style:normal;vertical-align:1px}

/* ── le grand bloc : à relancer aujourd'hui ; les retards anciens sous la puce ambre ── */
.ct3-rls{display:flex;flex-direction:column;gap:2px;margin:0 -8px}
.ct3-rl{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 8px;border-radius:14px;transition:background .2s,opacity .3s}
.ct3-rl:hover{background:var(--w)}
.ct3-rl.parti{opacity:.4;pointer-events:none}
.ct3-case{display:grid;place-items:center;width:24px;height:24px;padding:0;border-radius:7px;border:1.5px solid rgba(255,255,255,.3);background:none;cursor:pointer;transition:background .2s,border-color .2s}
.ct3-case svg{width:15px;height:15px;fill:none;stroke:var(--ac-n);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.ct3-case:hover{border-color:var(--ac)}
.ct3-case[aria-checked="true"]{background:var(--ac);border-color:var(--ac)}
.ct3-case[aria-checked="true"] svg{opacity:1}
.ct3-rl.fait .ct3-rlt b{text-decoration:line-through;color:var(--mu)}
.ct3-rlt{display:flex;flex-direction:column;gap:2px;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}
.ct3-rlt b{font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ct3-rlt small{font-size:12px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3-rl time{font-size:12px;color:var(--mu);white-space:nowrap;font-variant-numeric:tabular-nums}
.ct3-rlg{display:flex;gap:8px}
.ct3-reth{display:flex;align-items:center;gap:10px;margin:6px 8px 2px;font-size:12px;color:var(--mu)}
.ct3-rl.vx+.ct3-rl.vx{border-top:1px solid var(--l);border-radius:0 0 14px 14px}

/* ── où en est le suivi ── */
.ct3-fu{display:grid;grid-template-columns:118px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:7px 8px;margin:0 -8px;width:calc(100% + 16px);border:0;border-radius:12px;background:none;text-align:left;cursor:pointer}
.ct3-fu:hover{background:var(--w)}
.ct3-fu.zero{opacity:.5}
.ct3-fu.trier{margin-top:4px;border-top:1px dashed var(--l);border-radius:0 0 12px 12px}
.ct3-rail{display:block;height:10px;border-radius:5px;background:rgba(255,255,255,.08);overflow:hidden}
.ct3-rail i{display:block;height:100%;border-radius:5px;background:var(--ac);opacity:var(--o,1);transform-origin:left}
.ct3-fv{font-size:14px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.ct3-ech>div{display:flex;flex-direction:column;gap:2px;margin:0 -8px}

/* ── page Étapes (colonnes à glisser) ── */
.ct3-pipe{display:grid;grid-template-columns:repeat(6,minmax(168px,1fr));gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity}
.ct3-col{min-height:320px;padding:10px;border-radius:22px;background:var(--v);border:1px solid var(--f);box-shadow:var(--om);scroll-snap-align:start;transition:background .2s,box-shadow .2s}
.ct3-col.client{background:rgba(var(--ac-r),.07)}
.ct3-col.survol{background:rgba(var(--ac-r),.14);box-shadow:inset 0 0 0 2px var(--ac)}
.ct3-col h4{display:flex;align-items:center;justify-content:space-between;margin:2px 4px 10px;font-size:14px}
.ct3-col h4 small{color:var(--mu);font-size:12px;font-variant-numeric:tabular-nums}
.ct3-cl{display:flex;flex-direction:column;gap:8px}
.ct3-dc{padding:12px;border-radius:16px;background:rgba(255,255,255,.06);cursor:grab;transition:background .2s,opacity .2s}
.ct3-dc:hover{background:rgba(255,255,255,.09)}
.ct3-dc.glisse{opacity:.45}
.ct3-dcp{display:flex;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px;color:var(--mu)}
.ct3-dcp span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ct3-dcp em{font-style:normal;white-space:nowrap}
.ct3-cs{margin:2px 4px;font-size:12px;color:var(--mu)}

/* ── états ── */
.ct3-vide{display:flex;justify-content:center;padding:28px 20px;border-radius:22px;background:var(--v);border:1px solid var(--f)}
.ct3-charge{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ct3-charge i{height:118px;border-radius:22px;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.08),rgba(255,255,255,.04)) 0 0/200% 100%;animation:ct3-luit 1.4s linear infinite}
.ct3-charge i:last-child{grid-column:1/-1;height:360px}
@keyframes ct3-luit{to{background-position:-200% 0}}

@media (prefers-reduced-motion:reduce){.ct3-dot.vif,.ct3-charge i{animation:none}.ct3-agd,.ct3-chev,.ct3-fl{transition:none}}

/* ── au doigt (iPad, téléphone) : 44 px partout où l'on touche ── */
@media (pointer:coarse),(max-width:1180px){
  .ct3 .ct3-oui-o,.ct3 .ct3-oui-b{height:44px}
  .ct3 .ct3-mini{height:40px;padding:0 14px}
  .ct3-fe button{height:36px}
  .ct3-case{width:28px;height:28px}
  .ct3-rl{grid-template-columns:28px minmax(0,1fr) auto}
}

/* ── tablette : le grand bloc et « À valider » côte à côte, la liste en pleine largeur ── */
@media (max-width:1240px){
  .ct3-grille{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"r o" "t t" "f e" "a a"}
  .ct3-main,.ct3-side{display:contents}
  .ct3-relance{grid-area:r}.ct3-ouic{grid-area:o}.ct3-suivi{grid-area:t}.ct3-funnel{grid-area:f}.ct3-ech{grid-area:e}.ct3-fpt{grid-area:a}
  .ct3-q{width:260px}
  .ct3-rl.vx{grid-template-columns:28px minmax(0,1fr);row-gap:8px}
  .ct3-rl.vx .ct3-rlg{grid-column:2}
}
@media (max-width:1100px){
  .ct3-h{flex-wrap:wrap}
  .ct3 .ct3-k{padding:14px 16px}
}
/* ── sans barre ni rail : les sous-pages en puces, collées sous l'en-tête ── */
@media (max-width:860px){
  /* les ancêtres coupent en « clip » (pas en « hidden ») pour que la rangée colle sous la barre du haut */
  body:has(#view .ct3),body:has(#view .ct3) #view{overflow-x:clip!important;overflow-y:visible!important}
  .ct3-seg{display:flex;position:sticky;top:calc(57px + env(safe-area-inset-top,0px));z-index:5;width:auto;background:rgba(10,10,13,.97);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
}
/* ── téléphone : en-tête, à valider, grand bloc, chiffres, la liste sur une colonne, agents repliés ── */
@media (max-width:760px){
  .ct3{padding-top:8px!important;padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  .ct3-calme,.ct3-faint,.ct3-ch p,.ct3-pt small,.ct3-c2 small,.ct3-rlt small,.ct3-oui-t small,.ct3-k>span:first-child,.ct3-k small,.ct3-nb,.ct3-pil,.ct3-puce-am,.ct3-reth,.ct3-vieux,.ct3-okv small,.ct3-fpts,.ct3-agb b em,.ct3-agb time,.ct3-ai time,.ct3 .ct3-mini,.ct3-seg i,.ct3-fe button,.ct3-rl time{font-size:13px}
  .ct3-h{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:12px}
  .ct3-ret,.ct3-sep{display:inline-flex}
  .ct3 .ct3-ret{align-items:center;gap:2px;height:44px;margin-left:-6px;padding:0 4px;border:0;background:none;color:var(--mu);font-size:16px;cursor:pointer}
  .ct3-ret svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ct3-sep{color:var(--fa);font-size:16px}
  .ct3 .ct3-h h1{margin:0;font-size:22px}
  .ct3 .ct3-h h1::before{display:none}
  .ct3-h p{white-space:normal;font-size:14px}
  .ct3-hb{width:100%}
  .ct3-q{flex:1;width:auto;min-width:0;gap:6px;padding:0 12px}
  .ct3-q input::placeholder{font-size:13px;letter-spacing:-.01em}
  .ct3 .ct3-nv{flex:none;gap:4px;padding:0 13px 0 10px}
  .ct3-seg{margin:0 -16px 12px;padding:6px 16px;border:0;border-radius:0;border-bottom:1px solid var(--l)}
  #ctCorps{display:flex;flex-direction:column;gap:10px}
  .ct3-grille,.ct3-main,.ct3-side{display:contents}
  .ct3-panne{order:0;margin:0}
  .ct3-ouic{order:1}.ct3-relance{order:2}.ct3-kpis{order:3}.ct3-suivi{order:4}.ct3-fpt{order:5}
  .ct3-funnel,.ct3-ech{display:none}
  .ct3-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
  .ct3 .ct3-k{min-height:0;padding:10px 8px 11px;gap:4px;border-radius:16px}
  .ct3-k>span:first-child{white-space:nowrap;letter-spacing:-.01em}
  .ct3-k>b,.ct3-k.heros>b{font-size:22px}
  .ct3-k small,.ct3-k .ct3-lg{display:none}
  .ct3-kok svg{width:18px;height:18px}
  .ct3-kok{font-size:16px!important}
  .ct3-card{padding:16px}
  .ct3-cardt{padding:8px}
  .ct3-fpt{padding:4px 6px}
  .ct3-relance .ct3-ch{margin-bottom:8px}
  .ct3-rl{align-items:start}
  .ct3-rl.vx{grid-template-columns:28px minmax(0,1fr);row-gap:8px}
  .ct3-rl.vx .ct3-rlg{grid-column:2}
  .ct3-rlg .ct3-mini{height:44px;flex:1}
  .ct3-reth{flex-wrap:wrap}
  .ct3-suivi .ct3-chs{display:none}
  .ct3-suivi>.ct3-ch{flex-wrap:nowrap}
  .ct3-suivi>.ct3-ch::after{content:"";flex:none}
  /* la liste sur une colonne : nom, société, étape (et la prochaine action quand il y en a une) */
  .ct3-tab,.ct3-tab tbody{display:block}
  .ct3-tab thead{display:block}
  .ct3-suivi .ct3-tab thead{display:none}
  .ct3-tab thead tr{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 4px 10px}
  .ct3-tab thead tr::-webkit-scrollbar{display:none}
  #view .ct3 .ct3-tab th{flex:none;padding:0;width:auto!important}
  .ct3-tab th.c-g{display:none}
  .ct3-tab th button{height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--l);font-size:13px}
  .ct3-tab th button.on{background:rgba(255,255,255,.12)}
  .ct3-tab th button .ct3-fl{opacity:.45}
  .ct3-tab tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:2px;align-items:center;padding:10px 6px;border-top:1px solid var(--l)}
  .ct3-tab tbody tr:first-child{border-top:0}
  #view .ct3 .ct3-tab td{display:block;width:auto!important;min-height:0;padding:0;border:0;background:none!important;font-size:14px}
  #view .ct3 .ct3-tab td.c-nom{grid-column:1;grid-row:1}
  #view .ct3 .ct3-tab td.c-et{grid-column:2;grid-row:1/3;align-self:center}
  #view .ct3 .ct3-tab td.c-soc{grid-column:1;grid-row:2;padding-left:44px}
  #view .ct3 .ct3-tab td.c-pa{grid-column:1/-1;grid-row:3;padding:4px 0 0 44px}
  #view .ct3 .ct3-tab td.c-pa:has(.ct3-faint),#view .ct3 .ct3-tab td.c-pa:empty{display:none}
  #view .ct3 .ct3-tab td.c-de{display:none}
  #view .ct3 .ct3-tab td.c-g{grid-column:1/-1;grid-row:4;padding:6px 0 0 40px}
  .ct3-tab td.c-nom .ct3-pt small{display:none}
  .ct3-tab td.c-soc .ct3-c2{flex-direction:row;gap:6px}
  .ct3-tab td.c-soc .ct3-c2 small{display:none}
  .ct3-fptb small{white-space:normal}
  .ct3-tab td.c-soc .ct3-c2 b,.ct3 .ct3-tab td.c-soc .ct3-soc{font-size:13px;color:var(--mu)}
  .ct3-tab td.c-pa .ct3-l2{font-size:13px}
  .ct3-suivi tbody tr:nth-child(n+6){display:none}
  .ct3-suivi .ct3-tab td.c-g{display:none!important}
  .ct3-pipe{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78vw;margin:0 -16px;padding:0 16px 6px;scroll-padding:0 16px}
  .ct3-charge{grid-template-columns:1fr 1fr}
}

/* ── le rail de l'iPad (861 à 1180 px) : libellés courts posés par studio-crm.js, la pastille hors de l'icône ── */
@media (min-width:861px) and (max-width:1180px){
  body.rail-on:has(#view .ct3) .stu-side[data-mode="projet"] .ecx-nav>button[data-mo]{width:100%;padding:6px 0}
  body.rail-on:has(#view .ct3) .stu-side[data-mode="projet"] .ecx-nav>button[data-mo]>span:not(.ecx-nb){max-width:100%}
  body.rail-on:has(#view .ct3) .stu-side[data-mode="projet"] .ecx-nav>button[data-mo] .ecx-nb{display:none}
}

/* le toast « Annuler » reste monochrome dans Contacts (jamais de couleur sur un bouton) */
body:has(#view .ct3) .toast.with-action .toast-btn{background:#0b0c0f;color:#f3f3f6;box-shadow:none}
/* 29/11 : la carte « À valider » commune, les promesses anciennes dessous */
.ct3-ouiw{display:flex;flex-direction:column;gap:12px;min-width:0}
.ct3-vxc .ct3-vieux{margin:0;border-top:0;padding:4px 4px}
.ct3-ouic.vx .ct3-vxc .ct3-vxl{display:flex}

/* ════════════════════════════════════════════════════════════════════════════
   CONTACTS · LA BASE ET LA FICHE (29/11/2026, studio-contacts.js). Toute la base en liste virtualisée,
   vues en puces, barre d'outils monochrome, fiche complète à deux colonnes. Le violet reste en teinte et en jauge.
   ════════════════════════════════════════════════════════════════════════════ */
.ctb-i{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ctb{display:flex;flex-direction:column;gap:12px;min-width:0}
.ctb-charge{display:flex;flex-direction:column;gap:6px;padding:28px 4px;color:var(--mu)}
.ctb-charge b{color:var(--tx);font-size:16px;font-weight:600}.ctb-charge small{font-size:12px}
.ctb-charge .ct3-charge{margin-top:14px}
.ctb-sp{flex:1}
/* les vues : une rangée de puces qui défile seule, fondu à droite */
.ctb-vues-w{position:relative;min-width:0}
.ctb-vues{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 4px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.ctb-vues::-webkit-scrollbar{display:none}
.ct3 .ctb-vue{flex:none;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--l);background:none;color:var(--mu);font-size:14px;font-weight:500;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.ct3 .ctb-vue i{font-style:normal;font-size:12px;color:var(--fa);font-variant-numeric:tabular-nums}
.ct3 .ctb-vue:hover{color:var(--tx);border-color:var(--f)}
.ct3 .ctb-vue.on{color:var(--tx);border-color:rgba(var(--ac-r),.5);background:rgba(var(--ac-r),.1)}
.ct3 .ctb-vue.on i{color:var(--ac-i)}
/* la barre d'outils : boutons fantômes monochromes, 8 px entre deux */
.ctb-barre{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ct3 .ctb-b{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--l);background:var(--v);color:var(--tx);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;cursor:pointer;transition:border-color .2s,background .2s}
.ct3 .ctb-b:hover{border-color:var(--f);background:rgba(255,255,255,.07)}
.ct3 .ctb-b.on{border-color:rgba(var(--ac-r),.5);color:var(--ac-i)}
.ct3 .ctb-ic{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border-radius:10px;border:0;background:none;color:var(--mu);cursor:pointer;text-decoration:none}
.ct3 .ctb-ic:hover{background:rgba(255,255,255,.07);color:var(--tx)}
.ct3 .ctb-ic[disabled]{opacity:.3;cursor:default}
.ct3 .ctb-mini{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--l);background:none;color:var(--tx);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.ct3 .ctb-mini:hover{border-color:var(--f)}
.ctb-actifs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:20px}
.ct3 .ctb-ch{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px 0 11px;border-radius:999px;border:0;background:rgba(var(--ac-r),.14);color:var(--ac-i);font-size:12px;font-weight:600;cursor:pointer}
.ct3 .ctb-ch .ctb-i{width:12px;height:12px}
.ct3 .ctb-chv{background:none;color:var(--mu);padding:0 8px}
.ctb-trid{margin-left:auto;color:var(--fa);font-size:12px}
.ctb-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.06);color:var(--mu);font-size:12px;font-weight:500;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.ctb-2l{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.3;color:var(--tx)}
.ct3 .ctb-lien{color:var(--tx);text-decoration:underline;text-decoration-color:rgba(255,255,255,.2);text-underline-offset:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:inline-block}
.ct3 .ctb-lien:hover{text-decoration-color:var(--ac)}
.ctb-num{font-variant-numeric:tabular-nums;font-weight:600}
/* la jauge de relation : trois barres, le violet en teinte */
.ctb-force{display:inline-flex;align-items:flex-end;gap:2px;font-size:12px;color:var(--mu)}
.ctb-force i{display:block;width:4px;border-radius:2px;background:rgba(255,255,255,.14)}
.ctb-force i:nth-child(1){height:6px}.ctb-force i:nth-child(2){height:9px}.ctb-force i:nth-child(3){height:12px}
.ctb-force span{margin-left:6px}
.ctb-force.f1 i:nth-child(1),.ctb-force.f2 i:nth-child(-n+2),.ctb-force.f3 i{background:var(--ac)}
/* la table : un conteneur qui défile dans les deux sens, l'en-tête et la colonne Nom collent */
.ctb-tab{position:relative;border-radius:22px;background:#0e0f13;border:1px solid var(--f);box-shadow:var(--om);overflow:hidden;min-width:0}
.ctb-vp{position:relative;overflow:auto;overscroll-behavior:contain;height:560px;outline:0;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.ctb-in{position:relative}
.ctb-th{position:sticky;top:0;z-index:3;display:grid;align-items:center;height:44px;background:#0d0e12;border-bottom:1px solid var(--l)}
.ct3 .ctb-hc{display:flex;align-items:center;gap:4px;height:100%;padding:0 12px;border:0;background:none;color:var(--mu);font-size:12px;font-weight:600;text-align:left;white-space:nowrap;cursor:pointer;min-width:0}
.ct3 .ctb-hc:hover{color:var(--tx)}
.ctb-hc.num{justify-content:flex-end}
.ctb-fl{display:inline-flex;align-items:center;color:var(--ac-i)}
.ctb-fl .ctb-i{width:12px;height:12px}.ctb-fl.asc .ctb-i{transform:rotate(180deg)}
.ctb-fl sup{font-size:12px;margin-left:1px}
.ctb-corps{position:relative}
.ctb-tr,.ctb-gr{position:absolute;left:0;right:0}
.ctb-tr{display:grid;align-items:center;height:56px;border-bottom:1px solid var(--l);cursor:pointer;transition:background .12s}
.ctb-tr:hover{background:#141519}
.ctb-tr.sel{background:#1f1f25}
.ctb-tr.cur{box-shadow:inset 2px 0 0 var(--ac);background:#16171b}
.ctb-td{padding:0 12px;min-width:0;overflow:hidden;font-size:14px}
.ctb-td.num{text-align:right}
.ctb-th>.ctb-nomc,.ctb-tr>.ctb-nomc{position:sticky;left:44px;z-index:2;background:inherit}
.ctb-tr>.ctb-nomc,.ctb-tr>.ctb-ck{background:#0e0f13}
.ctb-tr:hover>.ctb-nomc,.ctb-tr:hover>.ctb-ck{background:#141519}.ctb-tr.sel>.ctb-nomc,.ctb-tr.sel>.ctb-ck{background:#1f1f25}.ctb-tr.cur>.ctb-nomc,.ctb-tr.cur>.ctb-ck{background:#16171b}
.ctb-th>.ctb-ck,.ctb-tr>.ctb-ck{position:sticky;left:0;z-index:2}
.ctb-th>.ctb-ck{background:#0d0e12}
.ctb-ck{display:grid;place-items:center;width:44px;height:100%;cursor:pointer}
.ct3 .ctb-ck input{width:16px;height:16px;margin:0;accent-color:var(--ac);cursor:pointer}
.ctb-nomc .ct3-p{min-width:0}
.ctb-nomc .ct3-pt{min-width:0}
.ctb-nomc .ct3-pt b,.ctb-nomc .ct3-pt small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ctb-g{display:flex;justify-content:flex-end;gap:2px;opacity:0;transition:opacity .15s}
.ctb-tr:hover .ctb-g,.ctb-tr.cur .ctb-g{opacity:1}
.ctb-gr{display:flex;align-items:center;justify-content:space-between;gap:10px;height:44px;padding:0 16px 0 14px;background:rgba(255,255,255,.03);border-bottom:1px solid var(--l);cursor:pointer;position:absolute}
.ctb-grn{display:flex;align-items:center;gap:8px;min-width:0;position:sticky;left:14px}
.ctb-grn b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ctb-grn i{font-style:normal;font-size:12px;color:var(--fa)}
.ctb-chev{transform:rotate(-90deg);transition:transform .15s;color:var(--mu)}.ctb-gr.ouv .ctb-chev{transform:none}
.ctb-pied{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;padding:10px 16px;border-top:1px solid var(--l);color:var(--mu);font-size:12px;font-variant-numeric:tabular-nums}
.ctb-kbd kbd,.ctb-aide kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin:0 2px;border-radius:6px;border:1px solid var(--f);font:600 12px/1 inherit;color:var(--tx)}
.ctb-sugg{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:16px;border:1px solid rgba(var(--ac-r),.3);background:rgba(var(--ac-r),.06)}
.ctb-sugg>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ctb-sugg b{font-size:14px;font-weight:600}.ctb-sugg small{color:var(--mu);font-size:12px}
/* la barre des gestes groupés : posée en bas, au-dessus de tout */
.ctb-masse{position:fixed;z-index:40;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:8px 8px 8px 18px;border-radius:999px;background:rgba(18,18,24,.96);border:1px solid var(--f);box-shadow:0 24px 60px -20px rgba(0,0,0,.8);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);animation:ctb-monte .22s ease-out}
.ctb-masse[hidden]{display:none}
.ctb-masse>b{font-size:14px;font-weight:600;white-space:nowrap;margin-right:4px}
@keyframes ctb-monte{from{opacity:0;transform:translate(-50%,12px)}}
/* les menus */
.ctb-pop{position:fixed;z-index:60;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:rgba(16,16,21,.98);border:1px solid var(--f);box-shadow:0 30px 70px -20px rgba(0,0,0,.85);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:0!important;max-width:calc(100vw - 32px)}
.ctb-pop::before{display:none}
.ctb-pop header{display:flex;flex-direction:column;gap:2px;padding:14px 16px 10px;border-bottom:1px solid var(--l)}
.ctb-pop header b{font-size:14px}.ctb-pop header small{color:var(--mu);font-size:12px}
.ctb-popc{overflow:auto;padding:8px;display:flex;flex-direction:column;gap:2px}
.ctb-popc section{padding:4px 0 8px}.ctb-popc section+section{border-top:1px solid var(--l);padding-top:10px}
.ctb-popc h4{margin:2px 8px 6px;font-size:12px;font-weight:600;color:var(--mu)}
.ct3 .ctb-opt{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 8px;border-radius:10px;border:0;background:none;color:var(--tx);font-size:14px;text-align:left;cursor:pointer;width:100%}
.ct3 .ctb-opt:hover{background:rgba(255,255,255,.06)}
.ctb-opt input{width:16px;height:16px;margin:0;accent-color:var(--ac);flex:none}
.ctb-opt>span{flex:1;min-width:0}.ctb-opt>span small{display:block;color:var(--mu);font-size:12px}
.ctb-opt>i{font-style:normal;font-size:12px;color:var(--fa);font-variant-numeric:tabular-nums}
.ctb-coll{display:flex;align-items:center;gap:2px}.ctb-coll .ctb-opt{flex:1}
.ctb-trl{display:flex;align-items:center;gap:8px;padding:6px 8px}.ctb-trl span{color:var(--mu);font-size:12px;width:30px}.ctb-trl b{flex:1;font-size:14px}
.ctb-sel{display:flex;flex-direction:column;gap:6px;padding:8px;font-size:12px;color:var(--mu)}
.ctb-sel span small{display:block;color:var(--fa);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct3 .ctb-sel select,.ct3 .ctb-champ input,.ct3 .ctf-ch input,.ct3 .ctf-ch select,.ct3 .ctf-ch textarea,.ct3 .ctf-compo textarea,.ct3 .ctf-compo input{width:100%;min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid var(--l);background:rgba(255,255,255,.035);color:var(--tx);font:16px/1.35 inherit;box-shadow:none;margin:0}
.ct3 .ctf-ch textarea,.ct3 .ctf-compo textarea{resize:vertical}
.ct3 .ctb-sel select:focus,.ct3 .ctb-champ input:focus,.ct3 .ctf-ch input:focus,.ct3 .ctf-ch select:focus,.ct3 .ctf-ch textarea:focus,.ct3 .ctf-compo textarea:focus,.ct3 .ctf-compo input:focus{outline:0;border-color:rgba(var(--ac-r),.6)}
.ctb-astuce{padding:4px 8px;color:var(--fa);font-size:12px}
/* les fenêtres de la base (import, fusion, vue) */
.ctb-fen{max-width:560px}.ctb-fen.large{max-width:760px;width:calc(100vw - 32px)}
.ctb-fen::before{display:none}
.ctb-fen .stu-fen-c{max-height:min(66vh,640px);overflow:auto}
.ctb-note{margin:0 0 12px;color:var(--mu);font-size:14px;line-height:1.45}
.ctb-champ{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--mu)}
.ctb-depot{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 16px;border-radius:18px;border:1px dashed var(--f);color:var(--mu);text-align:center;cursor:pointer;transition:border-color .2s,background .2s}
.ctb-depot b{color:var(--tx);font-size:14px}.ctb-depot small{font-size:12px}
.ctb-depot .ctb-i{width:22px;height:22px}
.ctb-depot.on{border-color:var(--ac);background:rgba(var(--ac-r),.06)}
.ctb-depot.pris{padding:14px;flex-direction:row;justify-content:center}
.ctb-maps{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px;margin:6px -8px}
.ctb-bilan{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 2px;color:var(--mu);font-size:14px}.ctb-bilan b{color:var(--tx)}
.ctb-fpied{display:flex;justify-content:flex-end;padding-top:6px}
.ctb-liste{display:flex;flex-direction:column;gap:2px;max-height:50vh;overflow:auto}
/* les doublons */
.ctb-dbls{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr));gap:12px}
.ctb-dbl{display:flex;flex-direction:column;gap:6px;padding:16px 18px}
.ctb-dbl header{display:flex;align-items:center;gap:10px;margin-bottom:4px}.ctb-dbl header b{flex:1;font-size:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctb-dbl header i{font-style:normal;color:var(--mu);font-size:12px}
.ctb-dbll{display:flex;align-items:center;gap:10px;padding:8px 6px;border-radius:12px}
.ctb-dbll.p{background:rgba(var(--ac-r),.07)}
.ctb-dbll .ct3-pt{flex:1;min-width:0}.ctb-dbll .ct3-pt small{display:block;color:var(--mu);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ctb-dbll em{font-style:normal;font-size:12px;color:var(--ac-i);font-weight:500}
.ctb-dbl footer{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
.ct3 .ctb-oui{height:36px;min-height:0;padding:0 16px;border-radius:999px;font-size:14px}
.ctb-fusg{display:flex;flex-direction:column;gap:6px}
.ctb-fusc{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;border:1px solid var(--l);cursor:pointer}
.ctb-fusc input{position:absolute;opacity:0;pointer-events:none}
.ctb-fusc .ctb-i{color:var(--fa)}.ctb-fusc.on{border-color:rgba(var(--ac-r),.55);background:rgba(var(--ac-r),.07)}.ctb-fusc.on .ctb-i{color:var(--ac);fill:var(--ac)}
.ctb-fusc .ct3-pt small{display:block;color:var(--mu);font-size:12px}
.ctb-h4{margin:16px 0 8px;font-size:14px;font-weight:600}
.ctb-res{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;font-size:14px}
.ctb-res dt{color:var(--mu)}.ctb-res dd{margin:0;min-width:0;overflow-wrap:anywhere}

/* ── la fiche ── */
.ctf{display:flex;flex-direction:column;gap:16px}
.ctf-nav{display:flex;align-items:center;gap:8px}
.ctf-n{color:var(--mu);font-size:12px;font-variant-numeric:tabular-nums;margin-right:4px}
.ctf-h{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap}
.ct3 .ctf-av{width:64px;height:64px;font-size:22px}
.ctf-ht{flex:1;min-width:240px}
.ct3 .ctf-ht h1{margin:0;font-size:22px;font-weight:600;letter-spacing:-.015em;line-height:1.2}
.ctf-ht p{margin:4px 0 10px;color:var(--mu);font-size:14px}
.ctf-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ctf-act{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ctf-g{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;align-items:start}
.ctf-det,.ctf-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.ctf-bloc{display:flex;flex-direction:column;gap:10px;padding:18px 20px}
.ctf-bloc h2,.ctf-res h2{margin:0 0 4px;font-size:16px;font-weight:600}
.ctf-bloc h3{margin:8px 0 0;font-size:12px;font-weight:600;color:var(--mu)}
.ctf-ch{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--mu)}
.ctf-dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:6px 0 0;font-size:14px}.ctf-dl dt{color:var(--mu);font-size:12px;padding-top:2px}.ctf-dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.ct3 .ctf-soc,.ct3 .ctf-col{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:12px;border:0;background:none;color:var(--tx);text-align:left;cursor:pointer}
.ct3 .ctf-soc:hover,.ct3 .ctf-col:hover{background:rgba(255,255,255,.05)}
.ctf-soc .ctb-i{width:20px;height:20px;color:var(--ac-i)}
.ctf-soc .ct3-pt small,.ctf-col .ct3-pt small{display:block;color:var(--mu);font-size:12px}
.ctf-p{margin:0;font-size:14px;line-height:1.45;color:var(--tx)}
.ctf-ul{margin:0;padding-left:18px;font-size:14px;line-height:1.45;display:flex;flex-direction:column;gap:4px}
.ctf-trouve{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0}
.ctf-trouve .ct3-pt small{display:block;color:var(--mu);font-size:12px}
.ctf-res{padding:18px 20px;border-radius:22px;background:color-mix(in srgb,var(--ac) 8%,#0b0b0f);border:1px solid rgba(var(--ac-r),.42)}
.ctf-res p{margin:0 0 8px;font-size:16px;line-height:1.5}.ctf-res small{color:var(--mu);font-size:12px}
.ctf-pag{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px}
.ctf-ong{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--l);margin:-4px -4px 6px;padding:0 0 0 2px}
.ctf-ong::-webkit-scrollbar{display:none}
.ct3 .ctf-ong button{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:none;color:var(--mu);font-size:14px;font-weight:500;cursor:pointer}
.ct3 .ctf-ong button i{font-style:normal;font-size:12px;color:var(--fa)}
.ct3 .ctf-ong button.on{color:var(--tx);border-bottom-color:var(--ac)}
.ctf-tl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ctf-mois{margin:14px 0 6px;font-size:12px;font-weight:600;color:var(--mu)}
.ctf-mois:first-child{margin-top:4px}
.ctf-it{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:8px 0;position:relative}
.ctf-it::before{content:"";position:absolute;left:15.5px;top:40px;bottom:-8px;width:1px;background:var(--l)}
.ctf-it:last-child::before{display:none}
.ctf-ici{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.06);color:var(--mu)}
.ctf-it.out .ctf-ici{background:rgba(var(--ac-r),.14);color:var(--ac-i)}
.ctf-it b{display:block;font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.ctf-it small{display:block;margin-top:2px;color:var(--mu);font-size:12px}
.ctf-it p{margin:6px 0 0;color:var(--mu);font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ct3 .ctf-go{padding:0;border:0;background:none;color:var(--tx);font:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(255,255,255,.2);text-underline-offset:3px}
.ctf-compo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:8px 0 6px}
.ctf-compot{grid-template-columns:minmax(0,1fr) 170px auto}
.ctf-big{margin-bottom:4px}
.ctf-tasks{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.ctf-tasks li{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--l)}
.ctf-tasks li.fait .ct3-pt b{color:var(--fa);text-decoration:line-through}
.ctf-tasks .ct3-pt small{display:block;color:var(--mu);font-size:12px}
.ct3 .ctf-case{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border-radius:9px;border:1px solid var(--f);background:none;color:transparent;cursor:pointer}
.ct3 .ctf-case[aria-checked=true]{background:var(--ac);border-color:var(--ac);color:var(--ac-n)}

@media (prefers-reduced-motion:reduce){.ctb-masse{animation:none}.ctb-tr,.ctb-chev{transition:none}}
@media (pointer:coarse){.ct3 .ctb-b,.ct3 .ctb-vue{height:44px}.ct3 .ctb-ic{width:44px;height:44px}.ct3 .ctb-mini{height:40px}.ctb-g{opacity:1}}
@media (max-width:1180px){.ctf-g{grid-template-columns:minmax(0,1fr)}.ctf-main{order:-1}}
@media (max-width:860px){.ctb-trid{display:none}.ctb-kbd{display:none}}
/* téléphone : des cartes sur une colonne, la barre en icônes + mots courts, la fiche empilée */
@media (max-width:760px){
  .ctb-barre{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
  .ctb-barre::-webkit-scrollbar{display:none}
  .ctb-barre .ctb-sp{display:none}
  .ctb-pc{display:none!important}
  .ctb-vues{margin:0 -16px;padding:2px 16px 4px}
  .ctb-tab{border-radius:18px}
  .ctb-carte{display:grid;grid-template-columns:40px 34px minmax(0,1fr) auto;gap:10px;align-items:center;height:72px;padding:0 12px 0 0}
  .ctb-carte .ctb-ck{width:40px}
  .ctb-ct{min-width:0}.ctb-ct b,.ctb-ct small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctb-ct b{font-size:16px;font-weight:600}.ctb-ct small{font-size:13px;color:var(--mu);margin-top:2px}
  .ctb-cd{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.ctb-cd small{font-size:13px;color:var(--fa)}
  .ctb-pied{gap:4px 12px;font-size:13px}
  .ctb-masse{left:16px;right:16px;transform:none;bottom:calc(96px + env(safe-area-inset-bottom));overflow-x:auto;border-radius:22px;animation:none}
  .ctb-masse>b{font-size:13px}
  .ctb-tag,.ctf-ch,.ctf-bloc h3,.ctb-ch,.ctb-pop header small,.ctb-opt>i,.ctf-it small,.ctf-mois,.ctf-n,.ctf-dl dt,.ctb-vue i,.ctb-sugg small{font-size:13px}
  .ctf-h{gap:12px}.ct3 .ctf-av{width:52px;height:52px;font-size:16px}
  .ctf-act{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
  .ctf-act::-webkit-scrollbar{display:none}
  .ctf-pag,.ctf-compot{grid-template-columns:minmax(0,1fr)}
  .ctf-bloc,.ctf-res{padding:16px}
  .ctb-res{grid-template-columns:minmax(0,1fr)}.ctb-res dt{margin-top:6px}
  .ctb-sugg{flex-direction:column;align-items:flex-start}
}
/* boutons pleins : texte sombre sur blanc (le .ct3 hérite sinon du blanc) */
.ct3.ctb-fen .btn:not(.ecx-alt),.ct3 .ctf-compo .btn:not(.ecx-alt),.ct3 .ctb-fpied .btn,.ct3 .ctb-oui{color:#0b0c0f}
.ctf-tasks .ct3-pt b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35}
.ctf-tasks .ct3-pt{min-width:0}

/* ════ juge 8.3 (29/11) : vues partagées, conditions, fiche à la façon d'Attio, une seule rangée sur téléphone ════ */
/* la rangée de vues se fond seulement quand il reste à défiler (droite), et à gauche une fois défilée */
.ctb-vues{-webkit-mask-image:none;mask-image:none;scroll-behavior:smooth}
.ctb-vues-w.deb .ctb-vues{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 72px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 72px),transparent)}
.ctb-vues-w.deb.debg .ctb-vues{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 72px),transparent);mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 72px),transparent)}
.ctb-vues-w.debg:not(.deb) .ctb-vues{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px);mask-image:linear-gradient(90deg,transparent,#000 40px)}
/* la table tient dans la largeur : cellules plus serrées, gestes en survol dans la cellule du nom */
.ctb-td{padding:0 10px}
.ct3 .ctb-hc{padding:0 10px}
.ctb-th>.ctb-nomc,.ctb-tr>.ctb-nomc{left:40px}
.ctb-th>.ctb-ck,.ctb-tr>.ctb-ck,.ctb-ck{width:40px}
.ctb-nomc .ctb-g,.ctb-tr .ctb-nomc .ctb-g{opacity:0}
.ctb-tr:hover .ctb-nomc .ctb-g,.ctb-tr.cur .ctb-nomc .ctb-g{opacity:1}
.ctb-nomc .ctb-g{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:flex;gap:2px;padding-left:18px;background:linear-gradient(90deg,transparent,#141519 18px)}
.ctb-tr.cur .ctb-nomc .ctb-g{background:linear-gradient(90deg,transparent,#16171b 18px)}
.ct3 .ctb-lienb{border:0;background:none;padding:0;color:var(--mu);font:inherit;font-size:12px;text-decoration:underline;text-decoration-color:rgba(255,255,255,.2);text-underline-offset:3px;cursor:pointer}
.ct3 .ctb-lienb:hover{color:var(--tx)}
/* les conditions (champ, opérateur, valeur) */
.ctb-cond{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 32px;gap:6px;align-items:center;padding:4px 8px}
.ctb-cond>input,.ctb-cond>select:nth-of-type(3),.ctb-cond>.ctb-cnum{grid-column:2 / 4}
.ctb-cond>.ctb-ic{grid-column:4;grid-row:1}
.ctb-condl{font-size:12px;color:var(--mu)}
.ct3 .ctb-cond select,.ct3 .ctb-cond input,.ct3 .ctb-condaj select{width:100%;min-width:0;height:36px;padding:0 10px;border-radius:10px;border:1px solid var(--l);background:rgba(255,255,255,.04);color:var(--tx);font:inherit;font-size:14px;color-scheme:dark}
.ct3 .ctb-cond select:focus,.ct3 .ctb-cond input:focus{outline:0;border-color:rgba(var(--ac-r),.6)}
.ctb-cnum{display:flex;align-items:center;gap:8px}.ctb-cnum small{color:var(--mu);font-size:12px}
.ctb-condaj{display:flex;align-items:center;gap:8px;padding:6px 8px 2px;color:var(--mu)}
.ct3 .ctb-condaj select{border-style:dashed;background:none;color:var(--mu);cursor:pointer}
.ctb-actifs.vide{min-height:0}
/* la fiche : titre à 22 px (la règle générale des pages en mettait 34) */
body.s3 #view .ecx-page.ct3.ctf .ctf-h .ctf-ht h1,body #view .ecx-page.ct3.ctf .ctf-h .ctf-ht h1{font-size:22px;line-height:1.2;letter-spacing:-.015em;font-weight:600;margin:0}
/* Détails : paires libellé et valeur, modifiables au clic, champs vides repliés */
.ctf-kvs{display:flex;flex-direction:column;margin:0}
.ctf-kv{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px;min-height:36px}
.ctf-kv dt{color:var(--mu);font-size:12px}
.ctf-kv dd{margin:0;min-width:0}
.ctf-kvs:not(.tout) .ctf-kv.vide{display:none}
.ct3 .ctf-kvb{display:flex;align-items:center;width:100%;min-height:32px;margin-left:-8px;padding:4px 8px;border:0;border-radius:8px;background:none;color:var(--tx);font:inherit;font-size:14px;text-align:left;cursor:text;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ct3 .ctf-kvb:hover{background:rgba(255,255,255,.05)}
.ctf-kvt{display:block;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ctf-kvv{color:var(--fa)}
.ct3 .ctf-kvi{width:100%;height:34px;margin-left:-8px;padding:0 8px;border-radius:8px;border:1px solid rgba(var(--ac-r),.6);background:rgba(255,255,255,.05);color:var(--tx);font:inherit;font-size:14px;color-scheme:dark}
.ct3 .ctf-kvi:focus{outline:0}
.ct3 .ctf-vides{align-self:flex-start;margin-top:2px;padding:6px 0;border:0;background:none;color:var(--mu);font:inherit;font-size:12px;cursor:pointer}
.ct3 .ctf-vides:hover{color:var(--tx)}
.ctf-enrb{display:flex;flex-wrap:wrap;gap:8px}
.ct3 .ctf-lir{align-self:flex-start;max-width:100%;margin-top:4px}.ctf-lir span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* l'enrichissement groupé */
.ctb-enrl{max-height:52vh;gap:8px}
.ctb-enr{display:flex;flex-direction:column;gap:2px;padding:10px 4px;border-top:1px solid var(--l)}
.ctb-enrh{display:flex;align-items:center;gap:10px}.ctb-enrh .ct3-pt{flex:1;min-width:0}.ctb-enrh .ct3-pt small{display:block;color:var(--mu);font-size:12px}
.ctb-enrh .ctb-mini{gap:6px}.ctb-enrh .ctb-mini .ctb-i{width:14px;height:14px}
.ctb-enrv{color:var(--mu);font-size:12px;padding:4px 8px}
.ctb-pop .ctb-optb.on{background:rgba(255,255,255,.08)}
.ctb-pop .ctb-optb .ctb-i{color:var(--mu)}
/* téléphone : une seule rangée de puces collée sous l'en-tête, la liste défile avec la page */
@media (max-width:760px){
  .ct3[data-ctp=tous] .ct3-seg{display:none}
  /* l'en-tête du Studio (s3-hd) met « Nouveau contact » sur toute la largeur : ici, un bouton rond à côté de la recherche */
  html body.s3 #view .ct3[data-ctp=tous] .s3-hd-a{flex-wrap:nowrap!important}
  html body.s3 #view .ct3[data-ctp=tous] .s3-hd-a>.ct3-q{flex:1 1 auto!important;width:auto!important;min-width:0!important;order:0!important}
  html body.s3 #view .ct3[data-ctp=tous] .s3-hd-a>.s3-hd-b,html body.s3 #view .ct3[data-ctp=tous] .s3-hd-a>.s3-hd-pe{flex:none!important;width:44px!important;min-width:44px!important;padding:0!important;order:1!important;border-radius:14px!important}
  html body.s3 #view .ct3[data-ctp=tous] .s3-hd-a .ct3-nv span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ctb-t{display:flex;flex-direction:column;gap:10px}
  .ctb-tete{position:sticky;top:calc(57px + env(safe-area-inset-top,0px));z-index:6;display:flex;align-items:center;gap:4px;margin:0 -16px;padding:8px 12px 8px 16px;background:rgba(10,10,13,.97);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--l)}
  .ctb-tete .ctb-vues-w{flex:1;min-width:0}
  .ctb-t .ctb-vues{margin:0;padding:0}
  .ct3 .ctb-pg{color:var(--tx);border-color:var(--f);background:rgba(255,255,255,.06);gap:4px}
  .ct3 .ctb-pg .ctb-i{width:14px;height:14px}
  .ct3 .ctb-tic{position:relative;flex:none;width:44px;height:44px;border-radius:12px;color:var(--tx)}
  .ct3 .ctb-tic.on{color:var(--ac-i)}
  .ctb-tic b{position:absolute;top:6px;right:5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--ac);color:var(--ac-n,#0b0c0f);font-size:11px;line-height:16px;font-weight:700}
  .ctb-t .ctb-actifs .ctb-trid{display:none}
  .ctb-t .ctb-actifs:empty,.ctb-t .ctb-actifs.vide{display:none}
  .ctb-tab.page{overflow:visible;background:none;border:0;box-shadow:none;border-radius:0}
  .ctb-tab.page .ctb-vp{height:auto!important;overflow:visible}
  .ctb-tab.page .ctb-carte{border-bottom:1px solid var(--l)}
  .ctb-tab.page .ctb-tr>.ctb-ck,.ctb-tab.page .ctb-tr:hover>.ctb-ck{background:none}
  .ctb-tab.page .ctb-pied{padding:12px 0;border-top:0}
  .ctb-masse{overflow:visible;justify-content:space-between}
  .ctf-kv{grid-template-columns:92px minmax(0,1fr);min-height:40px}
  body.s3 #view .ecx-page.ct3.ctf .ctf-h .ctf-ht h1,body #view .ecx-page.ct3.ctf .ctf-h .ctf-ht h1{font-size:20px}
  .ctb-cond{grid-template-columns:24px minmax(0,1fr) 40px;row-gap:6px}
  .ctb-cond>select[data-cc]{grid-column:2;grid-row:1}.ctb-cond>.ctb-ic{grid-column:3;grid-row:1}
  .ctb-cond>select[data-co]{grid-column:2;grid-row:2}
  .ctb-cond>input,.ctb-cond>select[data-cv],.ctb-cond>.ctb-cnum{grid-column:2;grid-row:3}
  .ct3 .ctb-cond select,.ct3 .ctb-cond input,.ct3 .ctb-condaj select{height:44px;font-size:16px}
}
.ctb-td .ct3-c2{min-width:0;max-width:100%}.ctb-td .ct3-c2>span,.ctb-td .ct3-c2>small,.ctb-td .ct3-c2>b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
