/* Iconics Creator : application mobile des créateurs — même langage visuel que le site */
@font-face{font-family:'Prata';src:url('fonts/Prata-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Museo';src:url('fonts/Museo700-Regular.otf') format('opentype');font-weight:700;font-display:swap}
:root{
  --bg:#f6f6f6;--card:#fff;--ink:#0a0a0a;--muted:#7a7a7a;--bd:rgba(0,0,0,.08);--soft:#efefef;
  --green:#2f8f6a;--red:#d94242;--amber:#c98a1b;
  --fh:'Prata',Georgia,serif;--fs:'DM Sans',system-ui,-apple-system,sans-serif;--fm:'Museo','DM Sans',sans-serif;
  --r:22px;--ease:cubic-bezier(.22,1,.36,1);
  --sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);
  --tab-h:0px;
}
body.dark{--bg:#0a0a0a;--card:#141414;--ink:#f2f2f2;--muted:#8b8b8b;--bd:rgba(255,255,255,.09);--soft:#1d1d1d}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{height:100%}
body{min-height:100%;background:var(--bg);color:var(--ink);font-family:var(--fs);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;transition:background .3s,color .3s}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* ── coque ── */
.ibtn{position:relative;width:42px;height:42px;border-radius:50%;background:var(--card);border:1px solid var(--bd);display:grid;place-items:center;transition:transform .25s var(--ease)}
.ibtn:active{transform:scale(.92)}
.ibtn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dot{position:absolute;top:8px;right:9px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--red);color:#fff;font-size:9px;font-weight:700;display:grid;place-items:center}
.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:var(--soft);border:1px solid var(--bd);display:grid;place-items:center;font-size:13px;font-weight:700;overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover}
.view{display:none;animation:in .5s var(--ease) both}
.view.on{display:block}
@keyframes in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
h1.title{font-family:var(--fh);font-weight:400;font-size:38px;line-height:1;letter-spacing:-.045em;margin:6px 0 4px}
h1.title em{font-style:normal;color:var(--muted)}
.sub{font-size:14px;color:var(--muted);margin-bottom:22px}
.k{font-family:var(--fm);font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)}
.sec{display:flex;align-items:center;justify-content:space-between;margin:28px 2px 12px}
.sec .k{display:flex;align-items:center;gap:10px}
.sec .k::before{content:'';width:18px;height:1px;background:currentColor;opacity:.5}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;font-size:11px;font-weight:600;background:var(--soft);color:var(--muted);white-space:nowrap}
.chip.new{background:var(--ink);color:var(--bg)}
.chip.wait{background:rgba(201,138,27,.14);color:var(--amber)}
.chip.ok{background:rgba(47,143,106,.14);color:var(--green)}
.chip.no{background:rgba(217,66,66,.12);color:var(--red)}
.card{background:var(--card);border:1px solid var(--bd);border-radius:var(--r)}

/* ── boutons ── */
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:16px 20px;border-radius:99px;background:var(--ink);color:var(--bg);font-weight:600;font-size:14px;letter-spacing:.02em;transition:transform .25s var(--ease),opacity .2s}
.btn:active{transform:scale(.97)}
.btn[disabled]{opacity:.4}
.btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--bd)}
.btn.sm{width:auto;padding:10px 18px;font-size:12px}
.btn.danger{background:rgba(217,66,66,.1);color:var(--red)}
.row-btns{display:flex;gap:10px}
.row-btns .btn{flex:1}

/* ── accueil ── */
.mgr{display:flex;align-items:center;gap:14px;padding:14px 16px}
.mgr .avatar{width:48px;height:48px}
.mgr b{display:block;font-size:15px}
.mgr small{color:var(--muted);font-size:12px}
.mgr .btn{margin-left:auto}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.kpi{padding:16px 14px;border-radius:20px;background:var(--ink);color:var(--bg)}
.kpi .k{color:inherit;opacity:.55;font-size:8.5px;letter-spacing:.2em}
.kpi b{display:block;font-family:var(--fh);font-weight:400;font-size:30px;line-height:1.05;letter-spacing:-.04em;margin:8px 0 2px}
.kpi small{font-size:11px;opacity:.6}
.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.quick button{display:flex;align-items:center;gap:12px;padding:16px;border-radius:20px;background:var(--card);border:1px solid var(--bd);text-align:left;transition:transform .25s var(--ease)}
.quick button:active{transform:scale(.97)}
.quick svg{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.quick b{display:block;font-size:14px}
.quick small{font-size:11px;color:var(--muted)}
.lead{display:flex;gap:14px;align-items:center;width:100%;padding:16px;margin-bottom:10px;text-align:left;border-radius:var(--r);background:var(--card);border:1px solid var(--bd);transition:transform .25s var(--ease)}
.lead:active{transform:scale(.985)}
.lead-ico{width:46px;height:46px;flex:none;border-radius:14px;background:var(--soft);display:grid;place-items:center}
.lead-ico img{width:22px;height:22px;object-fit:contain}
body.dark .lead-ico img,body.dark .doc-ico img{filter:invert(1)}
.lead-b{flex:1;min-width:0}
.lead-b b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-b small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.lead-r{text-align:right;display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.lead-r b{font-family:var(--fh);font-weight:400;font-size:17px}
.idea{padding:18px}
.idea h3{font-family:var(--fh);font-weight:400;font-size:21px;letter-spacing:-.03em;margin-bottom:4px}
.idea p{font-size:13px;color:var(--muted);margin-bottom:14px}
.field{width:100%;padding:15px 16px;border-radius:16px;background:var(--soft);border:1.5px solid transparent;outline:none;font-size:15px;transition:border-color .2s,background .2s}
.field:focus{border-color:var(--ink);background:var(--card)}
.lbl{display:block;margin:16px 2px 8px}
textarea.field{resize:none;min-height:96px}
.empty{padding:30px 20px;text-align:center;color:var(--muted);font-size:14px;border:1.5px dashed var(--bd);border-radius:var(--r)}

/* ── agenda ── */
.cal{padding:16px}
.cal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cal-h b{font-family:var(--fh);font-weight:400;font-size:22px;letter-spacing:-.03em}
.cal-h .ibtn{width:36px;height:36px}
.cal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal-g span.d{font-size:10px;color:var(--muted);padding:6px 0;letter-spacing:.1em;text-transform:uppercase}
.cal-g button{position:relative;aspect-ratio:1;border-radius:14px;font-size:14px;display:grid;place-items:center;transition:background .2s}
.cal-g button.out{opacity:.25}
.cal-g button.today{font-weight:700;box-shadow:inset 0 0 0 1.5px var(--ink)}
.cal-g button.sel{background:var(--ink);color:var(--bg)}
.cal-g button i{position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;background:var(--ink)}
.cal-g button.sel i{background:var(--bg)}
.ev{display:flex;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.ev-d{width:50px;flex:none;text-align:center}
.ev-d b{display:block;font-family:var(--fh);font-weight:400;font-size:24px;line-height:1}
.ev-d small{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.ev-b{flex:1;min-width:0}
.ev-b b{display:block;font-size:15px}
.ev-b small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.fab{position:fixed;right:max(18px,calc(50% - 262px));bottom:calc(var(--tab-h) + var(--sab) + 30px);z-index:25;width:56px;height:56px;border-radius:50%;background:var(--ink);color:var(--bg);display:none;place-items:center;box-shadow:0 14px 30px -10px rgba(0,0,0,.5)}
.fab.on{display:grid}
.fab svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}

/* ── chat ── */
.chat-head{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px}
.chat-head .avatar{width:42px;height:42px}
.chat-head b{display:block;font-size:15px}
.chat-head small{font-size:12px;color:var(--green)}
.msgs{display:flex;flex-direction:column;gap:8px;padding-bottom:90px}
.m{max-width:82%;padding:12px 15px;border-radius:20px;font-size:14.5px;line-height:1.4;word-wrap:break-word;animation:in .35s var(--ease) both}
.m small{display:block;font-size:10px;opacity:.5;margin-top:4px}
.m.in{align-self:flex-start;background:var(--card);border:1px solid var(--bd);border-bottom-left-radius:6px}
.m.out{align-self:flex-end;background:var(--ink);color:var(--bg);border-bottom-right-radius:6px}
.composer{position:fixed;left:0;right:0;bottom:calc(var(--tab-h) + var(--sab) + 26px);z-index:24;max-width:560px;margin:0 auto;padding:0 14px;display:none}
.composer.on{display:block}
.composer form{display:flex;gap:8px;padding:6px;border-radius:99px;background:var(--card);border:1px solid var(--bd);box-shadow:0 12px 30px -14px rgba(0,0,0,.35)}
.composer input{flex:1;min-width:0;border:0;background:none;outline:none;padding:0 14px;font-size:15px}
.composer button{width:44px;height:44px;flex:none;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center}
.composer svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ── factures ── */
.steps{display:flex;gap:6px;margin-bottom:18px}
.steps i{flex:1;height:4px;border-radius:4px;background:var(--soft)}
.steps i.on{background:var(--ink)}
.cats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cats button{padding:14px;border-radius:18px;background:var(--soft);text-align:left;transition:transform .2s var(--ease)}
.cats button:active{transform:scale(.96)}
.cats b{display:block;font-size:14px}
.cats small{color:var(--muted);font-size:12px}
.line{display:grid;grid-template-columns:1fr 54px 84px 34px;gap:8px;align-items:center;margin-bottom:8px}
.line .field{padding:12px 10px;font-size:14px}
.line button{width:34px;height:34px;border-radius:50%;background:var(--soft);font-size:16px;color:var(--muted)}
.total{display:flex;justify-content:space-between;align-items:baseline;padding:16px 4px 4px;border-top:1px solid var(--bd);margin-top:12px}
.total b{font-family:var(--fh);font-weight:400;font-size:28px;letter-spacing:-.04em}
.inv{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.inv-i{width:44px;height:44px;border-radius:14px;background:var(--soft);display:grid;place-items:center;flex:none}
.inv-i svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.inv b{display:block;font-size:14.5px}
.inv small{color:var(--muted);font-size:12px}
.inv .amt{margin-left:auto;font-family:var(--fh);font-size:18px}

/* ── profil ── */
.me{display:flex;align-items:center;gap:16px;padding:18px;margin-bottom:12px}
.me .avatar{width:74px;height:74px;font-size:22px}
.me b{display:block;font-family:var(--fh);font-weight:400;font-size:26px;letter-spacing:-.04em}
.me small{color:var(--muted);font-size:13px}
.list{border-radius:var(--r);background:var(--card);border:1px solid var(--bd);overflow:hidden}
.list button,.list label{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;text-align:left;border-top:1px solid var(--bd);font-size:15px}
.list>:first-child{border-top:0}
.list svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.list .r{margin-left:auto;color:var(--muted);font-size:13px;display:flex;align-items:center;gap:6px}
.list .r svg{width:16px;height:16px}
.sw{position:relative;width:46px;height:28px;flex:none;border-radius:99px;background:var(--soft);transition:background .25s;margin-left:auto}
.sw::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .3s var(--ease)}
input:checked+.sw,.sw.on{background:var(--ink)}
body.dark input:checked+.sw,body.dark .sw.on{background:#f2f2f2}
input:checked+.sw::after,.sw.on::after{transform:translateX(18px)}
body.dark input:checked+.sw::after,body.dark .sw.on::after{background:#0a0a0a}
.hid{position:absolute;opacity:0;pointer-events:none}
.grp{margin-top:6px}

/* ── pages (documents, studio, notifications) ── */
.page{position:fixed;inset:0;z-index:40;background:var(--bg);overflow-y:auto;transform:translateX(100%);transition:transform .45s var(--ease);visibility:hidden}
.page.on{transform:none;visibility:visible}
.page-in{max-width:560px;margin:0 auto;padding:calc(var(--sat) + 12px) 18px calc(var(--sab) + 40px)}
/* bouton Retour (toutes les sous-pages de tous les espaces) : pastille avec flèche dans un rond plein */
.back{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;padding:5px 16px 5px 5px;border-radius:99px;background:var(--card);border:1px solid var(--bd);color:var(--ink);font-size:14px;font-weight:600;letter-spacing:.01em;transition:transform .25s var(--ease),border-color .2s}
.back svg{width:30px;height:30px;padding:7px;border-radius:50%;background:var(--ink);stroke:var(--bg);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.back:hover{border-color:var(--ink)}
.back:hover svg{transform:translateX(-2px)}
.back:active{transform:scale(.97)}
.back:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* retours en rond (profil, publication, discussion) : même rond plein */
#pf-back,#ps-back,.th-back{background:var(--ink);border-color:var(--ink)}
#pf-back svg,#ps-back svg,.th-back svg{stroke:var(--bg)}
/* titres en Museo (Iconics Labs) */
h1.title.t-museo{font-family:var(--fm);font-weight:700;letter-spacing:-.02em}
.doc{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.doc-ico{width:44px;height:44px;border-radius:14px;background:var(--soft);display:grid;place-items:center;flex:none}
.doc-ico img{width:20px;height:20px}
.doc-b{flex:1;min-width:0}
.doc-b b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc-b small{color:var(--muted);font-size:12px}
.doc .ibtn{width:36px;height:36px}
.tal{display:flex;gap:14px;padding:16px;margin-bottom:12px;border-radius:var(--r);background:var(--card);border:1px solid var(--bd);width:100%;text-align:left}
.tal .avatar{width:64px;height:64px;border-radius:20px;font-size:18px;flex:none}
.tal b{display:block;font-size:16px}
.tal small{display:block;color:var(--muted);font-size:12.5px;margin:2px 0 6px}
.tal p{font-size:13px;color:var(--muted);margin-bottom:10px}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.pr{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:13px}
.pr b{font-family:var(--fh);font-weight:400;font-size:17px}
.filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -18px 16px;padding:0 18px}
.filters::-webkit-scrollbar{display:none}
.filters button{flex:none;padding:10px 16px;border-radius:99px;background:var(--card);border:1px solid var(--bd);font-size:13px;font-weight:600}
.filters button.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.notif{display:flex;gap:12px;padding:14px 16px;margin-bottom:10px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.notif.un{border-color:var(--ink)}
.notif .nd{width:8px;height:8px;border-radius:50%;background:var(--red);margin-top:6px;flex:none}
.notif .nt-b{flex:1;min-width:0}
.notif b svg{width:15px;height:15px;margin-right:6px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.n-more{flex:none;width:32px;height:32px;margin:-4px -6px 0 0;border-radius:50%;display:grid;place-items:center;color:var(--muted);opacity:.7;transition:opacity .15s,background .15s}
.n-more svg{width:16px;height:16px;fill:currentColor}
.n-more:hover,.n-more[aria-expanded="true"]{opacity:1;background:var(--soft);color:var(--ink)}
.n-more:focus-visible{opacity:1;outline:2px solid var(--ink);outline-offset:1px}
@media (pointer:coarse){.n-more{width:44px;height:44px;margin:-10px -10px 0 0}}
.notif.rd .nd{background:transparent}
.notif b{display:block;font-size:14.5px}
.notif small{color:var(--muted);font-size:12px}

/* ── tab bar ── */

/* ── feuilles ── */
.shade{position:fixed;inset:0;z-index:63;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .35s}
.shade.on{opacity:1;pointer-events:auto}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:64;max-width:560px;margin:0 auto;max-height:92dvh;overflow-y:auto;background:var(--card);border-radius:30px 30px 0 0;padding:10px 20px calc(var(--sab) + 24px);transform:translateY(105%);transition:transform .5s var(--ease);box-shadow:0 -24px 60px rgba(0,0,0,.3)}
.sheet.on{transform:none}
.grab{width:40px;height:5px;border-radius:5px;background:var(--bd);margin:0 auto 16px;cursor:grab;touch-action:none}
body.dark .grab{background:rgba(255,255,255,.2)}
.sheet h2{font-family:var(--fh);font-weight:400;font-size:28px;line-height:1.05;letter-spacing:-.045em;margin-bottom:6px}
.sheet .meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 16px}
.sheet p.brief{font-size:15px;line-height:1.6;color:var(--muted);margin-bottom:16px}
.sheet .big{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd);margin-bottom:16px}
.sheet .big b{font-family:var(--fh);font-weight:400;font-size:30px;letter-spacing:-.04em}
.file{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:var(--soft);margin-bottom:16px;font-size:14px}
.file svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;flex:none}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills button{padding:10px 16px;border-radius:99px;background:var(--soft);font-size:13px;font-weight:600;transition:background .2s,color .2s}
.pills button.on{background:var(--ink);color:var(--bg)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.toast{position:fixed;left:50%;top:calc(var(--sat) + 14px);z-index:90;transform:translate(-50%,-140%);max-width:calc(100% - 32px);padding:13px 20px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:13.5px;font-weight:600;box-shadow:0 14px 34px -10px rgba(0,0,0,.5);transition:transform .5s var(--ease);text-align:center}
.toast.on{transform:translate(-50%,0)}
.install{display:none;margin:0 0 16px;padding:14px 16px;border-radius:20px;background:var(--ink);color:var(--bg);align-items:center;gap:12px;font-size:13.5px}
.install.on{display:flex}
.install .btn{margin-left:auto;background:var(--bg);color:var(--ink)}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.ibtn .dot{top:-4px;right:-4px}

/* ── colonnes (une seule sur mobile) ── */
.cols{display:block}
.col{min-width:0}

/* ── photo de profil modifiable ── */
.me-photo{position:relative;flex:none;width:74px;height:74px;border-radius:50%}
.me-photo .avatar{width:74px;height:74px;font-size:22px}
.me-photo .cam{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;border:2px solid var(--card)}
.me-photo .cam svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.link{display:block;margin-top:6px;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}

/* ── hiérarchie : qui t'accompagne chez Iconics ── */
.chain{--step:30px;--row:78px}
.node{position:relative;display:flex;align-items:center;gap:14px;height:var(--row);padding-left:calc(var(--d) * var(--step) + 26px);width:100%;text-align:left}
.node::before{content:'';position:absolute;left:calc(var(--d) * var(--step));top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--ink);z-index:1}
.node:not([data-d="0"])::after{content:'';position:absolute;left:calc((var(--d) - 1) * var(--step) + 6px);top:calc(var(--row) / -2);width:calc(var(--step) - 6px);height:var(--row);border-left:1.5px solid var(--ink);border-bottom:2px solid var(--ink);opacity:.85}
.node .avatar{width:52px;height:52px;border-radius:14px;flex:none;font-size:15px}
.node b{display:block;font-size:16px;line-height:1.2}
.node small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.node.me b::after{content:'Toi';margin-left:8px;padding:2px 8px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:10px;font-weight:700;vertical-align:2px;letter-spacing:.04em}
button.node{border-radius:12px;transition:background .2s}
button.node:active{background:var(--soft)}



/* ═════════ espaces par rôle ═════════ */
.gate{position:fixed;inset:0;z-index:100;background:var(--bg);overflow-y:auto;display:none}
.gate.on{display:block}
.gate-in{max-width:480px;margin:0 auto;padding:calc(var(--sat) + 40px) 22px calc(var(--sab) + 40px)}
.roles{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.role{display:flex;align-items:center;gap:14px;padding:16px;border-radius:22px;background:var(--card);border:1px solid var(--bd);text-align:left;width:100%;transition:transform .25s var(--ease),border-color .2s}
.role:active{transform:scale(.98)}.role:hover{border-color:var(--ink)}
.role-i{width:46px;height:46px;border-radius:14px;background:var(--soft);display:grid;place-items:center;flex:none}
.role-i svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.role b{display:block;font-size:16px}.role small{color:var(--muted);font-size:13px}
.role .r{margin-left:auto;color:var(--muted)}.role .r svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.gate-err{margin-top:12px;color:var(--red);font-size:13.5px}
.preview-note{margin:0 0 14px;padding:10px 14px;border-radius:14px;background:rgba(201,138,27,.14);color:var(--amber);font-size:12.5px;font-weight:600}
.cgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cc{display:flex;flex-direction:column;gap:2px;padding:10px 10px 14px;border-radius:22px;background:var(--card);border:1.5px solid var(--bd);text-align:left;transition:transform .25s var(--ease),border-color .2s}
.cc:active{transform:scale(.97)}.cc.sel{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.cc-img{display:block;aspect-ratio:4/4.6;border-radius:16px;overflow:hidden;background:var(--soft);margin-bottom:10px;display:grid;place-items:center;font-size:24px;font-weight:700}
.cc-img img{width:100%;height:100%;object-fit:cover}
.cc b{font-size:15px;padding:0 4px}.cc small{color:var(--muted);font-size:12px;padding:0 4px}
.cc-m{display:flex;justify-content:space-between;padding:6px 4px 0;font-family:var(--fh);font-size:15px}
.stick{position:sticky;bottom:calc(var(--tab-h) + var(--sab) + 24px);margin-top:16px;z-index:5}
.conv{display:flex;align-items:center;gap:14px;width:100%;padding:12px 4px;text-align:left;border-bottom:1px solid var(--bd)}
.conv .avatar{width:50px;height:50px;flex:none}
.conv-b{flex:1;min-width:0}.conv-b b{display:block;font-size:15px}.conv-b small{display:block;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conv-r{display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:var(--muted);font-size:11px}
.dot2{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ink);color:var(--bg);font-size:11px;font-weight:700;display:grid;place-items:center}
.thread-form{position:fixed;left:0;right:0;bottom:calc(var(--sab) + 16px);z-index:45;max-width:560px;margin:0 auto;padding:6px;display:flex;gap:8px;border-radius:99px;background:var(--card);border:1px solid var(--bd);box-shadow:0 12px 30px -14px rgba(0,0,0,.35);width:calc(100% - 28px)}
.thread-form input{flex:1;min-width:0;border:0;background:none;outline:none;padding:0 14px;font-size:15px}
.thread-form button{width:44px;height:44px;flex:none;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center}
.thread-form svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#dv-chat .thread-form{z-index:24;bottom:calc(var(--tab-h) + var(--sab) + 26px)}
.pills button{white-space:nowrap}

/* ═════════════════════════════════════════════════════════════
   DESIGN DU SITE ICONICS : en-tête, barre de navigation horizontale, titres Prata
   ═════════════════════════════════════════════════════════════ */
:root{--bg:#fff;--card:#f7f5f5;--soft:#ececec;--ink:#000;--bd:rgba(0,0,0,.09);--r:24px}
body.dark{--bg:#0a0a0a;--card:#141414;--soft:#1f1f1f;--ink:#f0f0f0;--bd:rgba(255,255,255,.09)}
#app{min-height:100dvh;position:relative}
.site-h{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;height:72px;padding:0 max(48px,env(safe-area-inset-right)) 0 max(48px,env(safe-area-inset-left));background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--bd);box-shadow:0 10px 34px rgba(0,0,0,.03)}
body.dark .site-h{background:rgba(10,10,10,.92)}
.brand-logo{display:inline-flex;align-items:center;color:var(--ink);line-height:0;flex:none;transition:transform .5s var(--ease),opacity .3s}
.brand-logo:hover{opacity:.7}
.brand-mark{height:38px;width:auto;display:block}
.lv-mark{display:block;width:46px;height:34px;background:currentColor;-webkit-mask:url(liaison-mark.svg) center/contain no-repeat;mask:url(liaison-mark.svg) center/contain no-repeat}
.toggle{position:relative;display:flex;align-items:center;gap:4px;padding:5px;background:linear-gradient(180deg,rgba(247,245,245,.94),rgba(230,230,230,.92));border:1px solid rgba(0,0,0,.06);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 14px 34px rgba(0,0,0,.05);overflow:auto hidden;scrollbar-width:none;max-width:100%}
.toggle::-webkit-scrollbar{display:none}
body.dark .toggle{background:linear-gradient(180deg,rgba(39,39,39,.96),rgba(26,26,26,.92));border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 16px 36px rgba(0,0,0,.22)}
.tab-indicator{position:absolute;top:5px;left:5px;height:calc(100% - 10px);border-radius:999px;background:var(--ink);box-shadow:0 12px 24px rgba(0,0,0,.16);z-index:0;pointer-events:none;width:0;transition:transform .45s var(--ease),width .45s var(--ease)}
.tbtn{position:relative;z-index:1;white-space:nowrap;font-family:var(--fs);font-size:10px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:10px 18px;border-radius:999px;border:0;background:transparent;color:var(--muted);transition:color .25s,transform .24s}
.tbtn:hover{color:var(--ink);transform:translateY(-1px)}
.tbtn.on{color:var(--bg)}
.header-actions{display:flex;align-items:center;gap:10px;flex:none}
.ibtn{width:40px;height:40px;background:var(--bg);box-shadow:0 12px 28px rgba(0,0,0,.05)}
.user-chip{display:flex;align-items:center;gap:8px;padding:3px 14px 3px 3px;border-radius:999px;border:1.5px solid var(--bd);background:transparent;font-size:12px;font-weight:500}
.user-chip .avatar{width:32px;height:32px;font-size:11px}
.header-login-btn{font-family:var(--fs);font-size:10px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;padding:9px 16px;border-radius:100px;border:1.5px solid var(--bd);background:transparent;color:var(--muted);transition:all .2s;white-space:nowrap}
.header-login-btn:hover{border-color:rgba(0,0,0,.2);color:var(--ink)}
body.dark .header-login-btn:hover{border-color:rgba(255,255,255,.24)}
main{max-width:1180px;margin:0 auto;padding:44px 48px calc(var(--sab) + 120px)}
h1.title{font-size:clamp(40px,6vw,76px);line-height:.95;letter-spacing:-.055em;margin:6px 0 10px}
.sub{font-size:clamp(14px,1.35vw,18px);line-height:1.6;max-width:640px;margin-bottom:30px}
.cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0 40px;align-items:start}
#v-agenda .cols,#dv-agenda .cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#v-profile .cols{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.cgrid{grid-template-columns:repeat(4,1fr)}
.kpi b{font-size:clamp(28px,3.4vw,40px)}
.install{display:none!important}
.fab{right:44px;bottom:calc(var(--sab) + 32px)}
.thread-form{max-width:780px}
#dv-chat .thread-form,#v-chat~.composer{bottom:calc(var(--sab) + 22px)}
.composer{max-width:780px}
.page{inset:0}
.page-in{max-width:820px;padding:calc(var(--sat) + 32px) 24px calc(var(--sab) + 60px)}
.gate-in{padding-top:12vh}
.lead:hover,.quick button:hover,.inv:hover,.tal:hover,.cc:hover{border-color:var(--ink)}
.sheet{left:50%;right:auto;bottom:auto;top:50%;width:min(580px,92vw);max-height:86vh;border-radius:30px;transform:translate(-50%,-44%) scale(.96);opacity:0;visibility:hidden;transition:transform .45s var(--ease),opacity .3s,visibility .3s;padding-top:28px}
.sheet.on{transform:translate(-50%,-50%);opacity:1;visibility:visible}
.grab{display:none}
.toast{top:calc(var(--sat) + 86px)}
/* mobile : l'en-tête passe sur deux lignes comme sur le site (logo + actions, puis barre de navigation) */
@media(max-width:1105px){
  .site-h{height:auto;flex-wrap:wrap;padding:10px 16px 12px;row-gap:10px}
  .brand-mark{height:32px}
  .header-actions{margin-left:auto;gap:8px}
  .ibtn{width:36px;height:36px}
  .toggle{order:3;width:100%}
  .tbtn{flex:1 0 auto;padding:10px 14px}
  .user-chip .user-nm,.header-login-btn{display:none}
  .user-chip{padding:3px}
  main{padding:26px 16px calc(var(--sab) + 110px)}
  .cols,#v-agenda .cols,#dv-agenda .cols,#v-profile .cols{display:block}
  .cgrid{grid-template-columns:repeat(2,1fr)}
  .fab{right:18px}
  .toast{top:calc(var(--sat) + 130px)}
  .sheet{left:0;right:0;bottom:0;top:auto;width:auto;max-width:560px;margin:0 auto;max-height:92dvh;border-radius:30px 30px 0 0;transform:translateY(105%);opacity:1;visibility:visible;padding-top:10px}
  .sheet.on{transform:none}
  .grab{display:block}
  .thread-form{width:calc(100% - 28px)}
}
@media(min-width:1106px){.page-in{padding-top:48px}.stick{bottom:26px}}
@media(min-width:1106px){.site-h .toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:calc(100% - 520px)}}

/* ═════════ toast : plus de point noir visible quand il est caché ═════════ */
.toast{opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-16px);transition:transform .45s var(--ease),opacity .3s,visibility .3s}
.toast.on{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* ═════════ messagerie ═════════ */
.thread{display:flex;flex-direction:column;height:min(660px,calc(100dvh - 260px));min-height:440px;border:1px solid var(--bd);border-radius:28px;overflow:hidden;background:var(--card)}
.th-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--bd);background:var(--bg)}
.th-head .avatar{width:46px;height:46px;flex:none}
.th-id{min-width:0}.th-id b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-id small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px}
.th-on{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block}
.th-back{flex:none;margin-right:2px}
.th-body{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 10px;display:flex;flex-direction:column;gap:3px;scroll-behavior:smooth}
.m-callb{padding:6px 8px 5px!important}.m-callb .cb{display:flex;align-items:center;gap:11px;width:100%;min-width:190px;padding:4px 6px 2px 4px;text-align:left;color:inherit;background:none;border:0;cursor:pointer;font:inherit}.m-callb .cb-i{position:relative;flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink)}.m-callb.out .cb-i{background:rgba(255,255,255,.16);color:var(--bg)}.m-callb .cb-i svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.m-callb .cb-i em{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;background:var(--card);color:var(--muted);display:grid;place-items:center}.m-callb .cb-i em svg{width:10px;height:10px;stroke-width:2.6}.m-callb .cb-t{display:flex;flex-direction:column;min-width:0}.m-callb .cb-t b{font-size:15px;font-weight:600}.m-callb .cb-t small{display:block;margin:1px 0 0;font-size:12.5px;opacity:.65}.m-callb .cb-h{display:block;text-align:right;margin:2px 4px 0 0;font-size:10.5px;opacity:.55}.m-callb .cb:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:12px}.m-callb.bad .cb-t b{color:#d33}.m-callb.bad.out .cb-t b{color:#ff8a80}.m-callb.bad .cb-i{background:rgba(221,51,51,.14);color:#d33}.cv-call{width:12px;height:12px;vertical-align:-1px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.cv-call.bad{color:#d33}
.th-day{align-self:center;margin:14px 0 8px;padding:5px 12px;border-radius:99px;background:var(--soft);font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.th-empty{margin:auto;color:var(--muted);font-size:14px}
.th-body .m{max-width:min(78%,520px);padding:11px 15px;border-radius:20px;font-size:15px;line-height:1.42;animation:in .3s var(--ease) both}
.th-body .m small{display:block;font-size:10.5px;opacity:.55;margin-top:4px}
.th-body .m.in{align-self:flex-start;background:var(--bg);border:1px solid var(--bd);margin-top:1px}
.th-body .m.out{align-self:flex-end;background:var(--ink);color:var(--bg);margin-top:1px}
.th-body .m.f{margin-top:10px}
.th-body .m.in.l{border-bottom-left-radius:6px}.th-body .m.out.l{border-bottom-right-radius:6px}
.th-form{display:flex;gap:8px;padding:12px 14px calc(12px + var(--sab));border-top:1px solid var(--bd);background:var(--bg)}
.th-form input{flex:1;min-width:0;padding:0 18px;height:46px;border-radius:99px;border:1.5px solid transparent;background:var(--soft);outline:none;font-size:15px;transition:border-color .2s,background .2s}
.th-form input:focus{border-color:var(--ink);background:var(--card)}
.th-form button{width:46px;height:46px;flex:none;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;transition:transform .2s var(--ease)}
.th-form button:active{transform:scale(.92)}
.th-form svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#sub-in.bare{max-width:none;padding:0}
#sub-in.bare .thread{height:100dvh;min-height:0;border:0;border-radius:0}
.msgr{display:block}
.conv{border-radius:18px;padding:12px;margin-bottom:2px;border-bottom:0;transition:background .2s}
.conv:hover{background:var(--card)}
.conv.on{background:var(--soft)}
@media(min-width:1106px){
  .msgr{display:grid;grid-template-columns:360px minmax(0,1fr);gap:28px;align-items:start}
  .msgr-l{max-height:calc(100dvh - 300px);overflow-y:auto;padding-right:4px}
  .msgr-r .thread{height:min(680px,calc(100dvh - 300px))}
}
.cc-tags{display:flex;flex-wrap:wrap;gap:6px;padding:8px 4px 0}

/* ═════════ arbre de l'équipe (même composant que l'espace créateur) ═════════ */
.tree,.tree ul{list-style:none;margin:0;padding:0}
.tree ul{margin-left:21px;padding-left:0}
.tree li{position:relative;padding-left:30px}
.tree>li{padding-left:0}
.tree li li::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:2px solid var(--ink);opacity:.8}
.tree li li:last-child::before{bottom:auto;height:calc(var(--row) / 2)}
.tree li li::after{content:'';position:absolute;left:0;top:calc(var(--row) / 2);width:23px;border-top:2px solid var(--ink);opacity:.8}
.tree{--row:76px}
.tn{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:var(--row);padding:8px 0;text-align:left}
.tn .avatar{width:52px;height:52px;border-radius:14px;flex:none;font-size:15px}
.tn-b{min-width:0}.tn-b b{display:block;font-size:16px;line-height:1.2}.tn-b small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.tn::before{content:'';position:absolute;left:-37px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--ink)}
.tree>li>.tn::before{display:none}
.tn.root{padding-bottom:4px}
.tn.grp{min-height:54px}
.tn.grp .tn-b b{font-family:var(--fm);font-size:11px;letter-spacing:.24em;text-transform:uppercase}
.tn.grp::before{width:10px;height:10px;margin-top:-5px;left:-35px}
button.tn{border-radius:14px;transition:background .2s}
button.tn[data-c=""]{cursor:default}
button.tn:not([data-c=""]):hover{background:var(--card)}
.me-tag{margin-left:8px;padding:2px 8px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:10px;font-weight:700;font-style:normal;vertical-align:2px;letter-spacing:.04em}
.page{z-index:60}

/* ═════════ cartes d'influenceurs : même esprit que les vignettes du site, plus compactes ═════════ */
.cgrid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px}
.cc{position:relative;display:block;padding:0;aspect-ratio:3/4;border:0;border-radius:24px;overflow:hidden;background:var(--soft);isolation:isolate;box-shadow:0 18px 40px -26px rgba(0,0,0,.45)}
.cc-img{position:absolute;inset:0;margin:0;aspect-ratio:auto;border-radius:0;font-size:34px;transition:transform .9s var(--ease)}
.cc-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,center 12%)}
.cc:hover .cc-img{transform:scale(1.05)}
.cc::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.28) 38%,transparent 62%);pointer-events:none}
.cc-info{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:14px 14px 13px;color:#fff;display:flex;flex-direction:column;gap:2px}
.cc-info b{font-family:var(--fh);font-weight:400;font-size:20px;letter-spacing:-.03em;line-height:1.05;padding:0}
.cc-info small{color:rgba(255,255,255,.74);font-size:11.5px;padding:0}
.cc-m{padding:6px 0 0;gap:12px;justify-content:flex-start;font:600 11.5px var(--fs);color:rgba(255,255,255,.9)}
.cc-mgr{margin-top:6px;font-size:9.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.cc-top{position:absolute;top:10px;left:10px;z-index:2;display:flex;gap:6px}
.cc.sel{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--ink)}
.cc.sel::before{content:'✓';position:absolute;top:10px;right:10px;z-index:3;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-size:13px;font-weight:700}
/* moins « zoomé » partout */
h1.title{font-size:clamp(34px,4.6vw,58px);margin:4px 0 8px}
.sub{font-size:clamp(14px,1.2vw,16px);margin-bottom:24px}
.kpi b{font-size:clamp(24px,2.6vw,32px)}
main{padding-top:36px}
.cols{gap:0 32px}
@media(max-width:700px){.cgrid{grid-template-columns:repeat(2,1fr);gap:10px}.cc-info b{font-size:17px}}

/* ── Mon équipe : organigramme sobre ── */
.org{max-width:760px}
.og-root{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:24px;background:var(--ink);color:var(--bg)}
.og-root .avatar{width:54px;height:54px;border-radius:16px;flex:none}
.og-t{min-width:0;flex:1}.og-t b{display:block;font-size:16px;line-height:1.25}.og-t small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.og-root .og-t small{color:inherit;opacity:.65}
.og-root .me-tag{background:var(--bg);color:var(--ink)}
.og-n{font-family:var(--fh);font-size:28px;line-height:1;text-align:right}.og-n small{display:block;margin-top:4px;font-family:var(--fm);font-size:9px;letter-spacing:.16em;text-transform:uppercase;opacity:.6}
.og-spine{position:relative;margin:0 0 0 27px;padding:22px 0 0 26px;border-left:1px solid var(--bd)}
.og-g{position:relative;margin-bottom:26px}
.og-g h3{display:flex;align-items:center;gap:10px;font-family:var(--fm);font-size:11px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;margin:0 0 10px}
.og-g h3 i{position:absolute;left:-32px;top:5px;width:11px;height:11px;border-radius:50%;background:var(--bg);border:2px solid var(--ink)}
.og-g h3 span{font-family:var(--fs);letter-spacing:0;font-size:11px;color:var(--muted);padding:2px 8px;border-radius:99px;background:var(--card);border:1px solid var(--bd)}
.og-card{border:1px solid var(--bd);background:var(--card);border-radius:22px;overflow:hidden}
.og-m{display:flex;align-items:center;gap:12px;width:100%;padding:11px 16px;text-align:left;background:transparent;border:0;color:inherit;font:inherit;transition:background .2s}
.og-m+.og-m{border-top:1px solid var(--bd)}
.og-m .avatar{width:44px;height:44px;border-radius:13px;flex:none;font-size:14px}
button.og-m{cursor:pointer}button.og-m:hover{background:var(--soft)}
.og-go{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--bd);color:var(--muted);flex:none}
.og-go svg{width:15px;height:15px}
@media(min-width:700px){.og-card{display:grid;grid-template-columns:1fr 1fr}.og-m+.og-m{border-top:0}.og-m:nth-child(n+3){border-top:1px solid var(--bd)}.og-m:nth-child(even){border-left:1px solid var(--bd)}}

/* ── logo / photo de la marque dans l'en-tête ── */
.brand-photo{display:block;height:42px;width:42px;border-radius:13px;object-fit:cover;background:var(--soft);border:1px solid var(--bd)}
@media(max-width:1105px){.brand-photo{height:36px;width:36px;border-radius:11px}}
/* ── formulaires ── */
.fl{display:block;margin-top:16px}
.fl>.k{display:block;margin:0 2px 8px}
.fl>.k i{font-style:normal;color:var(--ink)}
.fl .hint{display:block;margin:7px 2px 0;font-size:12px;line-height:1.45;color:var(--muted)}
.fg{margin:0}.fg>.k{display:flex;align-items:center;gap:10px;color:var(--ink);padding-top:16px}
.fg>.k::after{content:'';flex:1;height:1px;background:var(--bd)}
.fcard{padding:2px 18px 20px;margin-bottom:12px}
.fcard .fl:first-child{margin-top:12px}
.fcard .note{margin:18px 2px 0;font-size:12.5px;line-height:1.55;color:var(--muted)}
.inp{position:relative;display:block}
.inp.pre .field{padding-left:34px}.inp.suf .field{padding-right:40px}
.inp i{position:absolute;top:50%;transform:translateY(-50%);font-style:normal;color:var(--muted);font-size:15px;pointer-events:none}
.inp i:not(.s){left:16px}.inp i.s{right:16px}
.selw{position:relative;display:block}
.selw .field{appearance:none;-webkit-appearance:none;padding-right:42px}
.selw::after{content:'';position:absolute;right:18px;top:50%;width:7px;height:7px;margin-top:-6px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);pointer-events:none}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opts button{padding:10px 15px;border-radius:99px;background:var(--soft);border:1.5px solid transparent;font-size:13px;font-weight:600;transition:background .2s,color .2s,transform .2s var(--ease)}
.opts button:active{transform:scale(.95)}
.opts button.on{background:var(--ink);color:var(--bg)}
.pick{display:flex;align-items:center;gap:12px}
.pick-b{flex:1;display:flex;align-items:center;gap:14px;padding:12px;border-radius:20px;border:1.5px dashed var(--bd);background:transparent;text-align:left;transition:border-color .2s,background .2s}
.pick-b:hover{border-color:var(--ink);background:var(--soft)}
.pick-b .avatar{width:56px;height:56px;border-radius:16px;flex:none;font-size:16px}
.pick-t b{display:block;font-size:14px}.pick-t small{display:block;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.4}
.pick-x{padding:9px 14px;border-radius:99px;background:var(--soft);font-size:12px;font-weight:600;color:var(--muted)}
.pick-x[hidden]{display:none}
.fsub{margin-top:22px;display:flex;flex-direction:column;gap:10px}
.empty-x{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:46px 24px;border:1.5px dashed var(--bd);border-radius:26px;max-width:520px}
.empty-x .ex-i{width:54px;height:54px;border-radius:18px;background:var(--soft);display:grid;place-items:center;margin-bottom:8px}
.empty-x .ex-i svg{width:24px;height:24px}
.empty-x b{font-family:var(--fh);font-weight:400;font-size:24px;letter-spacing:-.03em}
.empty-x p{color:var(--muted);font-size:14px;line-height:1.55;max-width:360px;margin-bottom:12px}
.empty-x .row-btns{width:100%;max-width:360px}

/* ── notifications : petit panneau sous la cloche, pas une page entière ── */
#pg-notifs{inset:auto;top:80px;right:max(24px,env(safe-area-inset-right));left:auto;bottom:auto;width:min(400px,calc(100vw - 24px));max-height:min(520px,calc(100dvh - 100px));border-radius:26px;border:1px solid var(--bd);background:var(--bg);box-shadow:0 30px 70px rgba(0,0,0,.18);transform:translateY(-10px) scale(.98);transform-origin:top right;opacity:0;transition:transform .3s var(--ease),opacity .25s,visibility .25s}
#pg-notifs.on{transform:none;opacity:1}
#pg-notifs .page-in{max-width:none;padding:22px 20px 20px}
#pg-notifs h1.title{font-size:28px;margin:0 0 4px}
#pg-notifs .sub{margin-bottom:14px;font-size:13px}
.np-x{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;background:var(--soft);font-size:20px;line-height:1;color:var(--muted)}
.np-x:hover{color:var(--ink)}
@media(max-width:1105px){#pg-notifs{top:104px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 124px)}}

/* ── choix multiple de réseaux ── */
.net-g{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.net{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 4px 11px;border-radius:16px;background:var(--soft);border:1.5px solid transparent;font-size:11px;font-weight:600;transition:border-color .2s,background .2s,transform .2s var(--ease)}
.net:active{transform:scale(.95)}
.net img{width:20px;height:20px;object-fit:contain}
.net.on{border-color:var(--ink);background:var(--bg)}
.net-fs{margin-top:2px}
.net-f{margin-top:12px}.net-f[hidden]{display:none}
.net-f .k{display:block;margin:0 2px 7px}
button.og-m{width:100%}

/* ── accueil du créateur : bienvenue, RIB, réseaux ── */
.onb{position:fixed;inset:0;z-index:90;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto;animation:onbIn .5s var(--ease)}
@keyframes onbIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.onb-card{width:min(520px,100%);margin:auto}
.onb-dots{display:flex;gap:6px;margin-bottom:22px;min-height:6px}
.onb-dots i{height:3px;flex:1;border-radius:3px;background:var(--bd)}
.onb-dots i.on{background:var(--ink)}
.onb-k{display:inline-flex;align-items:center;gap:10px;font-family:var(--fm);font-size:10px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.onb-k::before{content:'';width:24px;height:1px;background:currentColor;opacity:.5}
.onb-t{font-family:var(--fh);font-weight:400;font-size:clamp(40px,7vw,60px);line-height:.98;letter-spacing:-.045em;margin-bottom:14px}
.onb-t em{font-style:normal;color:var(--muted)}
.onb-p{font-size:14.5px;line-height:1.65;color:var(--muted);margin-bottom:18px;max-width:46ch}
.onb-list{list-style:none;counter-reset:o;display:grid;gap:10px;margin:6px 0 26px}
.onb-list li{counter-increment:o;display:grid;grid-template-columns:34px 1fr;column-gap:14px;align-items:center;padding:14px 16px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.onb-list li::before{content:counter(o);grid-row:span 2;width:34px;height:34px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-size:13px;font-weight:700}
.onb-list b{font-size:15px}.onb-list small{color:var(--muted);font-size:12.5px}
.onb-nav{display:flex;gap:10px;margin-top:22px}.onb-nav .btn{flex:1;margin:0}
.onb-hint{display:block;margin:6px 2px 0;font-size:12px;color:var(--muted);min-height:16px}.onb-hint.ok{color:#3a8c6e}
.onb-nets{display:grid;gap:10px;margin-top:4px}
.onb-net{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.onb-net>img{width:26px;height:26px;object-fit:contain;flex:none}
.onb-net-b{flex:1;min-width:0}.onb-net-b .k{display:block;margin-bottom:6px}
.onb-net-b .field{padding:11px 14px;font-size:14px}
.onb-sw{flex:none;display:flex;align-items:center}
/* ── visite guidée ── */
.tour{position:fixed;inset:0;z-index:95}
.tour-hl{position:fixed;border-radius:16px;box-shadow:0 0 0 9999px rgba(0,0,0,.55);pointer-events:none;transition:all .35s var(--ease);outline:2px solid #fff}
.tour-tip{position:fixed;padding:16px 18px 14px;border-radius:22px;background:var(--bg);color:var(--ink);box-shadow:0 24px 60px rgba(0,0,0,.35);animation:onbIn .35s var(--ease)}
.tour-tip b{font-family:var(--fh);font-weight:400;font-size:22px;letter-spacing:-.03em}
.tour-tip p{font-size:13.5px;line-height:1.55;color:var(--muted);margin:6px 0 14px}
.tour-nav{display:flex;align-items:center;gap:10px}
.tour-skip{background:none;border:0;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:0}
.tour-n{margin-left:auto;font-size:11px;color:var(--muted)}
.tour-next{width:auto;margin:0;padding:11px 20px}

.onb-q{margin:2px 2px 10px;font-size:13px;color:var(--muted)}
.onb-g{margin-bottom:20px}
/* logos réseaux : variante claire / sombre */
.ic-d{display:none!important}
body.dark .ic-l{display:none!important}
body.dark .ic-d{display:block!important}
.ic-l{display:block}
.onb-net>img,.onb-net>.ic-l,.onb-net>.ic-d{width:26px;height:26px;object-fit:contain;flex:none}
.net img{width:20px;height:20px;object-fit:contain}

/* ── photos à valider ── */
.ph-card{padding:16px;margin-bottom:12px}
.ph-imgs{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:12px}
.ph-imgs figure{display:flex;flex-direction:column;align-items:center;gap:6px}
.ph-imgs .avatar{width:86px;height:86px;border-radius:22px}.ph-imgs .avatar.big{width:110px;height:110px;border-radius:26px}
.ph-imgs figcaption{font-family:var(--fm);font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.ph-arrow{color:var(--muted)}.ph-arrow svg{width:20px;height:20px}
.ph-b{margin-bottom:12px}.ph-b b{display:block;font-size:15px}.ph-b small{color:var(--muted);font-size:12.5px}

.pend-note{display:flex;flex-direction:column;gap:3px;margin:12px 0 4px;padding:12px 14px;border-radius:16px;background:rgba(214,158,46,.12);border:1px solid rgba(214,158,46,.28)}
.pend-note b{font-size:13px}.pend-note small{font-size:12.5px;line-height:1.5;color:var(--muted)}
.vig-note{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:12px 0 4px;padding:14px 16px;border-radius:16px;background:var(--soft,rgba(0,0,0,.04));border:1px solid var(--bd)}
.vig-note b{font-size:13.5px}.vig-note small{font-size:12.5px;line-height:1.5;color:var(--muted)}.vig-note .btn{margin-top:10px}
.chg{margin:0 0 12px;border-top:1px solid var(--bd)}
.chg-r{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--bd);font-size:13px}
.chg-r .k{flex:none;padding-top:2px}
.chg-v{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;min-width:0}
.chg-v s{color:var(--muted);font-size:12px;max-width:100%;overflow-wrap:anywhere}.chg-v b{font-weight:600;overflow-wrap:anywhere}

.onb-photo{display:flex;justify-content:center;margin:6px 0 18px}
.onb-photo .avatar{width:168px;height:168px;border-radius:44px;font-size:42px}

/* ── mode admin ── */
.admin-bar{position:fixed;left:50%;bottom:calc(var(--sab,0px) + 14px);transform:translateX(-50%);z-index:80;display:flex;align-items:center;gap:14px;padding:10px 18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:12.5px;box-shadow:0 18px 44px rgba(0,0,0,.3);white-space:nowrap;max-width:calc(100vw - 20px);overflow-x:auto}
.admin-bar a{color:inherit;opacity:.75;text-decoration:underline;text-underline-offset:3px}.admin-bar a:hover{opacity:1}

/* ── autres comptes d'un même réseau ── */
.xtra{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 2px}
.xtra:empty{display:none}
.xchip{display:inline-flex;align-items:center;gap:6px;padding:6px 6px 6px 12px;border-radius:99px;background:var(--soft);font-size:12.5px}
.xchip button{width:20px;height:20px;border-radius:50%;background:var(--bg);font-size:14px;line-height:1;color:var(--muted)}
.xadd{padding:6px 12px;border-radius:99px;border:1.5px dashed var(--bd);font-size:12.5px;color:var(--muted);background:none;transition:border-color .2s,color .2s}
.xadd:hover{border-color:var(--ink);color:var(--ink)}
.xform{display:flex;gap:8px;width:100%}
.xform .field{padding:10px 14px;font-size:14px;flex:1;min-width:0}
.xok{padding:0 16px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:12.5px;font-weight:600;flex:none}

/* ── écran de chargement Liaison : la vague se dessine, l'étoile scintille ── */
.app-loader{position:fixed;inset:0;z-index:120;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#fff;color:#000;transition:opacity .55s var(--ease),visibility .55s}
html.dark-pre .app-loader,body.dark .app-loader{background:#0a0a0a;color:#f0f0f0}
.app-loader.out{opacity:0;visibility:hidden;pointer-events:none}
.app-loader > svg{width:min(46vw,170px);height:auto;overflow:visible}
.lv-wave{animation:lvDraw 1s cubic-bezier(.22,1,.36,1) both,lvFloat 3.2s ease-in-out 1s infinite}
.lv-star{transform-box:fill-box;transform-origin:center;animation:lvPop .9s cubic-bezier(.16,1,.3,1) .55s both,lvTwinkle 2.6s ease-in-out 1.6s infinite}
.lv-name{font-family:var(--fm);font-size:11px;font-weight:700;letter-spacing:.42em;text-indent:.42em;text-transform:uppercase;opacity:0;animation:lvName .8s ease .9s forwards}
@keyframes lvDraw{from{clip-path:inset(0 100% 0 0);opacity:.2}to{clip-path:inset(-10% -10% -10% -10%);opacity:1}}
@keyframes lvFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes lvPop{from{transform:scale(0) rotate(-90deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
@keyframes lvTwinkle{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.22) rotate(45deg)}}
@keyframes lvName{from{opacity:0;transform:translateY(6px)}to{opacity:.55;transform:none}}
@media (prefers-reduced-motion:reduce){.lv-wave,.lv-star,.lv-name{animation:none;opacity:1}.lv-name{opacity:.55}}

/* abonnés par réseau */
.fcount{margin-top:6px;padding:10px 14px;font-size:13.5px}
.onb-net .fcount{margin-top:6px}

/* messages entre talents */
.pills button.plus{width:38px;padding:0;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;background:none;border:1.5px dashed var(--bd)}
.pills button.plus:hover{border-color:var(--ink)}
.pills button.req{background:var(--ink);color:var(--bg)}
.pills button.wait{opacity:.6}
.dir-l{margin-top:12px;display:flex;flex-direction:column;gap:4px;max-height:48vh;overflow:auto}
.dir-r{display:flex;align-items:center;gap:12px;padding:10px 6px;border-radius:14px;text-align:left;width:100%;background:none}
button.dir-r:hover{background:var(--soft)}
.dir-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.dir-b b{font-size:14.5px}
.dir-b small{font-size:12px;color:var(--muted)}
.dir-b em{font-style:normal;font-size:13px;color:var(--ink);margin-top:4px;line-height:1.4}
.dir-s{font-size:12px;color:var(--muted);font-weight:600}
.req-r{align-items:flex-start;border-top:1px solid var(--bd);border-radius:0;padding:14px 4px}
.req-a{display:flex;flex-direction:column;gap:6px}

/* organigramme : la personne connectée sur fond noir, hiérarchie en cascade */
.og-root.soft{background:var(--card);color:var(--ink);border:1px solid var(--bd)}
.og-m.is-me,button.og-m.is-me:hover{background:var(--ink);color:var(--bg)}
.og-m.is-me .og-t small{color:inherit;opacity:.65}
.og-m.is-me .me-tag{background:var(--bg);color:var(--ink)}
.og-m.is-me .avatar{background:rgba(127,127,127,.25);color:inherit}
.og-g.sub{margin-left:30px}
.og-g.sub h3 i{left:-62px}
@media(min-width:700px){.og-g.sub .og-card,.og-g .og-card:has(.og-m:only-child){grid-template-columns:1fr}}

/* organigramme manager : même arbre que « Ton équipe Iconics » */
.orgc{padding:6px 18px 6px 12px}
.orgc .nd-t{flex:1;min-width:0}
.orgc .nd-t b,.orgc .nd-t small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nd-tag{margin-left:auto;font-family:var(--fm);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding:5px 10px;border-radius:99px;border:1px solid var(--bd);flex:none}
@media(max-width:520px){.nd-tag{display:none}}

/* fiche talent réelle */
.net-row{display:flex;align-items:center;gap:12px;padding:11px 0}
.net-row+.net-row{border-top:1px solid var(--bd)}
.nr-i{width:30px;height:30px;border-radius:50%;background:var(--bg);border:1px solid var(--bd);display:grid;place-items:center;flex:none}
.nr-i img{width:55%;height:55%;object-fit:contain}
.nr-t{flex:1;min-width:0}.nr-t b{display:block;font-size:14px}.nr-t small{display:block;color:var(--muted);font-size:12.5px;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nr-n{font-family:var(--fh);font-size:20px;letter-spacing:-.02em}

/* groupes et accusés de lecture */
.pills button .ub,.conv .ub{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:7px;border-radius:99px;background:var(--ink);color:var(--bg);font-style:normal;font-size:10.5px;font-weight:700;line-height:1}
.pills button.on .ub{background:var(--bg);color:var(--ink)}
.pills button svg{width:14px;height:14px;margin:-2px 6px -2px 0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pills button.grp{background:none;border:1.5px dashed var(--bd);font-size:12.5px}
.pills button.grp:hover{border-color:var(--ink)}
.th-body .m-by{display:block;font-size:11px;font-weight:700;opacity:.6;margin-bottom:3px}
.th-body .m.out.rd small{opacity:.85}
.th-mem{margin-left:auto;flex:none}
.th-mem svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
button.dir-r.on{background:var(--soft)}
.dir-st{font-weight:700;font-size:15px;width:18px;text-align:center}

/* fil d'actualité */
.po-new{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:14px}
.po-new .avatar{width:42px;height:42px;flex:none}
.po-new button{flex:1;text-align:left;padding:12px 16px;border-radius:99px;background:var(--soft);color:var(--muted);font-size:14px}
.po-exp{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:14px;border:1.5px solid var(--bd)}
.po-exp>div{flex:1;display:flex;flex-direction:column;gap:2px}.po-exp small{color:var(--muted);font-size:12.5px}
.post{background:var(--card);border:1px solid var(--bd);border-radius:22px;padding:16px 16px 10px;margin-bottom:12px}
.po-h{display:flex;align-items:center;gap:8px}
.po-a{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left}
.po-a .avatar{width:44px;height:44px;flex:none}
.po-n{display:flex;flex-direction:column;gap:1px;min-width:0}.po-n b{font-size:15px}.po-n small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.po-m{width:34px;height:34px;flex:none}.po-m svg{width:18px;height:18px;fill:currentColor}
.po-b{margin:12px 0 0;font-size:15px;line-height:1.5;word-break:break-word}
.po-i{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:16px;margin-top:12px}
.po-f{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:6px}
.po-f button{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:99px;font-size:13px;color:var(--muted);font-weight:600}
.po-f button:hover{background:var(--soft)}
.po-f svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.po-f .po-l.on{color:var(--ink)}.po-f .po-l.on svg{fill:currentColor}
.po-e{margin-left:auto;font-size:11.5px;color:var(--muted)}
.pc-pv{position:relative;margin-top:10px}.pc-pv img{width:100%;max-height:240px;object-fit:cover;border-radius:14px}.pc-pv .chip{position:absolute;top:8px;right:8px}
.cm-l{display:flex;flex-direction:column;gap:12px;margin:12px 0;max-height:46vh;overflow:auto}
.cm{display:flex;gap:10px;align-items:flex-start}.cm .avatar{width:34px;height:34px;flex:none}.cm-b{flex:1;min-width:0}.cm-b p{margin:2px 0 0;font-size:14px;line-height:1.4;word-break:break-word}.cm-b small{color:var(--muted);font-size:11.5px}
.cm-f{display:flex;gap:8px;align-items:center}.cm-f .field{margin:0;flex:1}
/* profil public */
.pf-cover{height:112px;border-radius:22px;background:linear-gradient(135deg,var(--ink),var(--soft) 140%);opacity:.92}
.pf-head{margin-top:-52px;padding:0 6px;display:flex;flex-direction:column;align-items:flex-start}
.pf-av{width:104px;height:104px;border:4px solid var(--bg);font-size:30px}
.pf-name{font-family:var(--fh);font-size:28px;margin:10px 0 0;font-weight:400}
.pf-hl{margin:2px 0 0;color:var(--muted);font-size:14.5px}
.pf-ct{margin:8px 0 0;font-size:14px}.pf-ct b{font-size:15px}
.pf-head .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pf-cats{margin-top:12px}
.pf-roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.pf-rt{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;background:var(--card);border:1px solid var(--bd);border-radius:18px;text-align:center}
.pf-rt .avatar{width:56px;height:56px}.pf-rt b{font-size:13.5px}.pf-rt small{color:var(--muted);font-size:11.5px}
.net-row .nr-t small{display:block;font-size:12px;color:var(--muted);font-weight:400}.net-row a{color:inherit;text-decoration:underline}
/* correctif : le bandeau du profil ne doit pas passer devant la photo */
.pf-cover{opacity:1}
.pf-head{position:relative;z-index:1}
#pf{max-width:760px;margin:0 auto}

/* pastille de messagerie, notifications cliquables, dossier */
.tbtn .tb-n{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;margin-left:6px;border-radius:99px;background:var(--ink);color:var(--bg);font-style:normal;font-size:10.5px;font-weight:700;line-height:1;vertical-align:1px}
.tbtn.on .tb-n{background:var(--bg);color:var(--ink)}
.notif.go{cursor:pointer}.notif.go:hover{background:var(--soft)}
.nt-a{display:flex;gap:8px;margin-top:8px}
.po-exp-in{display:flex;align-items:center;gap:12px}.po-exp-in>div{flex:1;display:flex;flex-direction:column;gap:2px}.po-exp-in small{color:var(--muted);font-size:12.5px}
/* profil public : photo en grand */
.pf-hero{position:relative;min-height:430px;border-radius:30px;background-size:cover;background-position:center top;overflow:hidden;display:flex;align-items:flex-end;background-color:var(--soft)}
.pf-hero.none{background:linear-gradient(145deg,var(--ink),#666)}
.pf-ini{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--fh);font-size:96px;color:rgba(255,255,255,.8)}
.pf-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 38%,rgba(0,0,0,0) 62%)}
.pf-ov{position:relative;width:100%;padding:22px 22px 24px;color:#fff}
.pf-ovr{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.pf-id{min-width:0}
.pf-hero .pf-name{font-family:var(--fh);font-size:32px;line-height:1.05;margin:0;color:#fff;font-weight:400}
.pf-hero .pf-hl{margin:4px 0 0;color:rgba(255,255,255,.72);font-size:14.5px}
.pf-sub{margin:2px 0 0;color:rgba(255,255,255,.62);font-size:12.5px}
.pf-bio{margin:12px 0 0;font-size:15.5px;line-height:1.45;color:#fff}
.pf-follow{flex:none;padding:12px 22px;border-radius:99px;background:#fff;color:#111;font-weight:700;font-size:14px}
.pf-follow:disabled{opacity:.7}
.pf-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.pf-stats.locked .pf-lk{cursor:default}
.pf-lock{display:flex;align-items:center;gap:14px;padding:18px}
.pf-lock svg{width:26px;height:26px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pf-lock p{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.pf-lock b{color:var(--text)}
.pf-cm{width:100%;text-align:left;background:transparent;border:0}
.pf-st{padding:14px 16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pf-st b{font-size:20px}.pf-st span{color:var(--muted);font-size:13.5px}
.pf-faces{display:flex;min-height:30px}.pf-faces .avatar{width:30px;height:30px;margin-right:-8px;border:2px solid var(--card);font-size:10px}
.pf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.pf-acts{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.pf-acts .btn{flex:1;min-width:160px}
.pf-req{margin-top:12px;padding:14px 16px}.pf-req .row-btns{margin-top:10px}

/* barre du profil public : bouton retour rond, qui reste en haut */
.pf-bar{position:sticky;top:0;z-index:6;display:flex;align-items:center;gap:12px;padding:10px 0 12px;margin:0 0 6px;background:var(--bg)}
.pf-bar .ibtn{width:42px;height:42px;border-radius:50%;background:var(--card);border:1px solid var(--bd);display:inline-flex;align-items:center;justify-content:center;flex:none}
.pf-bar .ibtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pf-bar b{font-size:15px}
#pf{max-width:760px;margin:0 auto}
.pf-bar{max-width:760px;margin-left:auto;margin-right:auto}

/* republication */
.po-rpl{font-style:normal;font-weight:400;color:var(--muted);font-size:13px}
.po-rp{margin-top:12px;padding:12px 14px;border:1px solid var(--bd);border-radius:18px;background:var(--bg)}
.po-rp .po-a .avatar{width:34px;height:34px}.po-rp .po-b{margin-top:8px}
.po-f .po-r.on{color:var(--ink)}
.po-f .po-r:disabled{opacity:.55}

/* badge « IC » : talents exclusifs Iconics */
.ic-badge{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-left:5px;border-radius:50%;background:var(--ink);color:var(--bg);font-family:var(--fs);font-size:7.5px;font-weight:800;letter-spacing:-.03em;line-height:1;vertical-align:2px;font-style:normal;flex:none}
.pf-hero .ic-badge{width:22px;height:22px;font-size:9.5px;background:#fff;color:#111;vertical-align:5px}

.pf-ico{flex:none;width:48px;height:48px;border-radius:50%;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}
.pf-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pf-ico:hover{background:var(--card)}
.pf-acts .btn{min-width:0}

.ic-badge{cursor:pointer}
.pf-rt.pf-go:hover,.dir-r.pf-go:hover{background:var(--soft)}

/* badge IC : logo Iconics */
.ic-badge{width:19px;height:19px;font-size:0}
.ic-badge svg{width:68%;height:auto;display:block}
.pf-hero .ic-badge{width:24px;height:24px}
/* profil : suivre + message ensemble, actions de même taille */
.pf-hr{display:flex;align-items:center;gap:8px;flex:none}
.pf-ico.hero{width:44px;height:44px;background:#fff;color:#111}
.pf-ico.hero:hover{background:#eee}
.pf-acts .btn{flex:1 1 0;height:52px;padding:0 18px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;margin:0}
.pf-acts .btn.ghost{border:1.5px solid var(--bd)}
.pf-lk{cursor:pointer;transition:background .2s}.pf-lk:hover{background:var(--soft)}

/* profil public : photo sans bord sombre, ombre plus légère, espacements */
.pf-hero{background-image:none!important;background:var(--soft)}
.pf-hero.none{background:linear-gradient(145deg,var(--ink),#666)}
.pf-img{position:absolute;left:-3px;top:-3px;width:calc(100% + 6px);height:calc(100% + 6px);max-width:none;object-fit:cover;object-position:center 22%;display:block}
.pf-shade{background:linear-gradient(to top,rgba(0,0,0,.62) 0%,rgba(0,0,0,.22) 34%,rgba(0,0,0,0) 56%)!important}
#pf .filters{margin:18px 0 14px}
#pf .sec{margin-top:20px}
.pf-ovr{flex-wrap:wrap;row-gap:10px}
.pf-id{flex:1 1 150px;min-width:0}
.pf-hr{margin-left:auto}
.pf-acts{margin-top:14px;align-items:center}
.pf-acts .pf-ico{margin-left:0}

/* actions du profil : « Proposer une collaboration » sur sa propre ligne */
.pf-acts{flex-wrap:wrap}
.pf-acts #pf-co,.pf-acts #pf-prop{flex:1 1 100%;order:-1;padding:0 22px}
.pf-hero .pf-name .ic-badge{margin-left:10px}

.pf-bar .pf-sh{margin-left:auto;width:42px;height:42px;border-radius:50%;background:var(--card);border:1px solid var(--bd);display:inline-flex;align-items:center;justify-content:center;flex:none}
.pf-bar .pf-sh svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* organigramme de l'équipe */
.orgc2{padding:18px 10px 22px;overflow:hidden}
.oc{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}
.oc-n{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;max-width:156px;box-sizing:border-box;padding:14px 8px;border:1px solid var(--bd);border-radius:22px;background:var(--bg);text-align:center;transition:transform .2s,border-color .2s}
.oc-n:hover{transform:translateY(-2px);border-color:var(--ink)}
.oc-n .avatar{width:56px;height:56px}
.oc-n b{font-size:14.5px;line-height:1.2}.oc-n b i{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--ink);color:var(--bg);padding:2px 7px;border-radius:99px;margin-left:4px;vertical-align:1px}
.oc-n small{font-size:11.5px;color:var(--muted);line-height:1.3}
.oc-n.oc-me{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
/* arbre : chaque branche relie son parent par un trait vertical, les branches sœurs par un trait horizontal */
.oc>.oc-n{max-width:180px}
.oc-kids{display:flex;width:100%;justify-content:center;margin-top:22px;position:relative}
.oc-kids::before{content:'';position:absolute;top:-22px;left:50%;width:1.5px;height:22px;background:var(--bd)}
.oc-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;position:relative;padding:22px 5px 0}
.oc-col::before{content:'';position:absolute;top:0;left:50%;width:1.5px;height:22px;background:var(--bd)}
.oc-col::after{content:'';position:absolute;top:0;left:0;right:0;height:1.5px;background:var(--bd)}
.oc-col:first-child::after{left:50%}.oc-col:last-child::after{right:50%}.oc-col:only-child::after{display:none}
.oc-tag{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:8px 0;text-align:center;line-height:1.3;min-height:26px;display:flex;align-items:flex-end;justify-content:center}
.oc-n b,.oc-n small{max-width:100%;overflow-wrap:anywhere}
/* ordinateur : toutes les cases de l'équipe ont la même taille (Adam, en haut, garde la sienne) */
@media (min-width:641px){.oc-col>.oc-n{width:156px;height:152px;justify-content:flex-start}.oc-col>.oc-n small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
/* téléphone : l'arbre devient une liste en retrait, chaque branche reliée par un trait à gauche */
@media (max-width:640px){
  .oc{align-items:stretch}
  .oc .oc-n,.oc>.oc-n{display:grid;grid-template-columns:44px 1fr;column-gap:12px;align-items:center;max-width:none;width:100%;text-align:left;padding:10px 14px;border-radius:18px}
  .oc-n .avatar{width:44px;height:44px;grid-row:span 2}
  .oc-n b{align-self:end}.oc-n small{align-self:start}
  .oc-kids{flex-direction:column;margin:0 0 0 35px;width:auto}
  .oc-kids::before{display:none}
  .oc-col{flex-grow:0!important;align-items:stretch;padding:0 0 0 16px}
  .oc-col::before{display:none}
  .oc-col>.oc-n{position:relative}
  .oc-col>.oc-n::before{content:'';position:absolute;left:-17px;top:50%;width:16px;height:1.5px;background:var(--bd)}
  .oc-col::after{top:0;left:0;right:auto;bottom:0;width:1.5px;height:auto}
  .oc-col:first-child::after,.oc-col:last-child::after{left:0;right:auto}
  .oc-col:not(:has(>.oc-tag)){padding-top:8px}
  .oc-col:last-child::after{bottom:auto;height:40px}
  .oc-col:last-child:has(>.oc-tag)::after{height:68px}
  .oc-col:only-child::after{display:block}
  .oc-tag{justify-content:flex-start;min-height:0;margin:12px 0 6px;height:18px}
}

/* page d'une publication */
.po-click{cursor:pointer;transition:background .2s}.po-click:hover{background:color-mix(in srgb,var(--soft) 55%,transparent)}
.ps-post .post{margin:0 0 4px;border-bottom:1px solid var(--bd);padding-bottom:6px}
.ps-post .po-b{font-size:17px;line-height:1.5}
.ps-new{display:flex;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--bd)}.ps-new .avatar{width:38px;height:38px;flex:none}.ps-new .field{margin:0;flex:1}
.ps-h{padding:14px 0 6px;font-size:13px;color:var(--muted)}
.cm2-t,.cm2{overflow:hidden;transition:max-height .26s ease,opacity .22s ease,padding .26s ease}
.cm2{display:flex;gap:10px;align-items:flex-start;padding:12px 0}
.cm2 .avatar{width:36px;height:36px;flex:none}
.cm2-b{flex:1;min-width:0}.cm2-h{display:flex;align-items:center;gap:6px}.cm2-h b{font-size:14px}.cm2-h small,.cm2-to{color:var(--muted);font-size:12px}.cm2-to b{color:var(--ink);font-weight:600}
.cm2-b p{margin:3px 0 0;font-size:14.5px;line-height:1.45;word-break:break-word}
.cm2-a{display:flex;align-items:center;gap:4px;margin-top:6px}.cm2-a button{display:inline-flex;font-size:12.5px;font-weight:600;color:var(--muted);padding:5px 10px;border-radius:99px}.cm2-a button:hover{background:var(--soft);color:var(--ink)}
.cm2-x{margin-left:auto}.cm2-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cm2-x:hover{color:#c0392b!important}
.cm2-rs{margin-left:18px;padding-left:16px;border-left:1px solid var(--bd)}.cm2-rs:empty{display:none}
.cm2-t{border-bottom:1px solid var(--bd)}
.cm2.gone,.cm2-t.gone{max-height:0!important;opacity:0;padding-top:0;padding-bottom:0;border-color:transparent}
.cm2.fresh{animation:cmIn .38s cubic-bezier(.2,.8,.2,1)}
@keyframes cmIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.cm2-f{display:flex;gap:8px;align-items:center;margin-top:8px;animation:cmIn .25s ease}.cm2-f .field{margin:0;flex:1}
.cf-ov{position:fixed;inset:0;z-index:400;display:grid;place-items:center;background:rgba(0,0,0,0);transition:background .2s;padding:20px}
.cf-ov.on{background:rgba(0,0,0,.38)}
.cf{width:min(340px,100%);background:var(--bg);border:1px solid var(--bd);border-radius:22px;padding:22px 22px 18px;box-shadow:0 30px 70px -20px rgba(0,0,0,.45);transform:translateY(10px) scale(.96);opacity:0;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .2s}
.cf-ov.on .cf{transform:none;opacity:1}
.cf b{font-size:17px}.cf p{margin:6px 0 16px;font-size:14px;color:var(--muted);line-height:1.45}.cf-b{display:flex;gap:8px;justify-content:flex-end}
.dot[hidden],.tb-n[hidden]{display:none!important}

/* messages : seuls les nouveaux arrivent avec une animation */
.th-body .m{animation:none}
.th-body .m.new.out{transform-origin:100% 100%;animation:msgOut .38s cubic-bezier(.16,1,.3,1) both}
.th-body .m.new.in{transform-origin:0 100%;animation:msgIn .38s cubic-bezier(.16,1,.3,1) both}
@keyframes msgOut{from{opacity:0;transform:translateY(14px) scale(.86)}to{opacity:1;transform:none}}
@keyframes msgIn{from{opacity:0;transform:translateY(14px) translateX(-10px) scale(.86)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.th-body .m.new{animation:none}}
/* messagerie sur ordinateur : toutes les conversations à gauche, la discussion à droite */
@media(min-width:1106px){
}
@media(min-width:1106px){
}

.mv-tools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.mv-tools .chip{margin:0}

/* encart « Vues du profil » sur mon profil public */
.pf-views{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:14px 16px;text-align:left;font-family:inherit;color:var(--text);cursor:pointer;border:1px solid var(--bd)}
.pf-views>svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6}
.pf-views span{flex:1;display:flex;flex-direction:column;gap:2px}
.pf-views b{font-size:14px}.pf-views small{font-size:12px;color:var(--muted)}

/* demande de message reçue (équipe) */
.th-req{padding:16px 18px;margin:12px 0}
.th-req p{margin:0 0 12px;font-size:14px;line-height:1.6}

/* « Mon organisation » : panneau d'ajout (inviter un créateur inscrit ou créer un accès) */
.org-hero{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.org-ic{width:48px;height:48px;border-radius:16px;background:var(--ink);color:var(--bg);display:flex;align-items:center;justify-content:center;flex:none}
.org-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
.org-search{position:relative;margin:14px 0 10px}
.org-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.8;pointer-events:none}
.org-search .field{padding-left:42px}
.org-res{display:flex;flex-direction:column;gap:6px;min-height:60px}
.org-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;background:var(--soft)}
.org-row .dir-b small{color:var(--muted)}
.org-tags{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 12px}
.org-tags .chip{cursor:pointer}
.org-sw{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:16px;background:var(--soft);margin:4px 0 6px;cursor:pointer}
.org-sw span:first-child{display:flex;flex-direction:column;gap:2px}
.org-sw small{font-size:12px;color:var(--muted)}
.org-done{margin-top:14px;padding:16px 18px;border-radius:18px;background:var(--soft);border:1px solid var(--bd)}
.org-done code{font-size:14px;padding:2px 8px;border-radius:8px;background:var(--bg);user-select:all}
/* propositions de collab */
.cp-d{display:grid;gap:0;margin:-4px 0 16px}
.cp-d>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--bd);font-size:14px}
.cp-d span{color:var(--muted)}.cp-d b{text-align:right;font-weight:600}
.cp-k{padding:14px 16px;margin:0 0 16px;display:grid;gap:8px}
.cp-k>div{display:flex;justify-content:space-between;gap:12px;font-size:14px}.cp-k span:not(.k){color:var(--muted)}.cp-k s{color:var(--muted);font-weight:400;margin-right:4px}
.cp-ag{padding:14px 16px;margin:0 0 14px;display:grid;gap:4px}.cp-ag small{color:var(--muted);font-size:13px}.cp-ag p{margin:8px 0 0;font-size:13px;line-height:1.55;white-space:pre-wrap;color:var(--ink);padding-top:8px;border-top:1px solid var(--bd)}
.cp-sp{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:-6px 0 16px}.cp-sp svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.cp-rs{display:grid;gap:10px}
.row-btns.cp-3{flex-wrap:wrap}.row-btns.cp-3 .btn{min-width:0;padding-left:10px;padding-right:10px}
@media (max-width:420px){.row-btns.cp-3 #l-k,.row-btns.cp-3 #cr-k{order:3;flex-basis:100%}}
.cp-more{margin:4px 0 8px;border-top:1px solid var(--bd);padding-top:12px}.cp-more summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:12px;list-style:none}.cp-more summary::-webkit-details-marker{display:none}.cp-more summary::after{content:' +'}.cp-more[open] summary::after{content:' −'}
.th-who{display:flex;align-items:center;gap:12px;min-width:0;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:14px}
.th-who:hover .th-id b{text-decoration:underline;text-underline-offset:3px}
/* suggestions du réseau */
.sg-l{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 12px;margin:0 -2px 6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.sg-c{flex:0 0 156px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 12px 14px;cursor:pointer}
.sg-c .avatar{width:58px;height:58px;margin-bottom:4px}
.sg-c b{font-size:14px;line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-c small{font-size:12px;color:var(--muted)}
.sg-c em{font-style:normal;font-size:11.5px;color:var(--muted);min-height:16px}
.sg-c .chip{margin-top:6px}
/* documents légaux */
.lg-todo{margin-bottom:14px}.lg-todo.urgent{border:1px solid rgba(217,66,66,.35)}.lg-todo.urgent svg:first-child{stroke:var(--red)}
.lg-lock{padding:16px 18px;margin:0 0 14px;display:grid;gap:4px;border:1px solid rgba(217,66,66,.3)}.lg-lock small{color:var(--muted);font-size:13.5px;line-height:1.5}
.lg-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.lg-h b{font-size:16px}
.lg-row{display:flex;gap:10px;align-items:stretch}.lg-row .field{flex:1;min-width:0;font-size:16px;letter-spacing:.06em}.lg-row .btn{width:auto;flex:none;padding:14px 22px}
.lg-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.lg-chips .chip{font-size:10.5px;padding:3px 8px}
/* discussions : menu de la personne, messages éphémères */
.th-eph{margin-left:auto;font-size:11.5px;font-weight:600;color:var(--muted);background:var(--soft);padding:4px 9px;border-radius:99px;white-space:nowrap}
.th-head .th-eph + .th-mem{margin-left:8px}
.tm-eph button.on{background:var(--ink);color:var(--bg)}
.m.out[data-mid]{cursor:pointer}
/* discussions : glisser pour sourdine, supprimer, épingler */
.cv-sw{position:relative;overflow:hidden;border-radius:16px}
.cv-sw>.conv{position:relative;z-index:1;transition:transform .22s ease;background:var(--bg);width:100%}
.cv-acts{position:absolute;top:0;right:0;bottom:0;display:flex;align-items:stretch;z-index:0}
.cv-acts button{width:52px;border:0;display:grid;place-items:center;color:#fff;background:#8e8e93;cursor:pointer}
.cv-acts button.del{background:var(--red)}.cv-acts button.pn{background:var(--amber)}
.cv-acts svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cv-acts{display:none}
.cv-sw>.conv{padding-right:48px}
.cv-more{display:grid;place-items:center;position:absolute;top:50%;right:8px;transform:translateY(-50%);z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;transition:background .15s,color .15s}
.cv-more:hover,.cv-more:focus-visible{background:var(--soft);color:var(--ink)}
.cv-more svg{width:17px;height:17px;fill:currentColor}
.cv-menu{position:fixed;z-index:1000;min-width:230px;background:var(--card);border:1px solid var(--bd);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:6px;display:grid}
.cv-menu button{display:flex;align-items:center;gap:10px;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;padding:10px 12px;border-radius:10px;cursor:pointer;text-align:left}
.cv-menu button:hover{background:var(--soft)}.cv-menu button.del{color:var(--red)}
.cv-menu svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cv-ic{display:inline-flex;align-items:center;gap:4px}.cv-ic svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}
.m small svg,.th-eph svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;vertical-align:-2px;margin-right:3px}
/* abonnés lus automatiquement : non modifiables */
.field.fc-auto{background:var(--soft);color:var(--ink);cursor:default;font-weight:600}
.field.fc-auto::placeholder{font-weight:400}
.note.stats-note{margin:4px 0 12px;font-size:12.5px;line-height:1.5;color:var(--muted)}
/* badge Iconics : toujours blanc avec le logo noir, en mode jour comme en mode nuit */
.ic-badge{background:#fff;color:#111;box-shadow:0 0 0 1px rgba(0,0,0,.14)}
body.dark .ic-badge{box-shadow:none}
/* organigramme Adam → Name JR → prestataires */
.org-tree{display:grid;gap:12px;margin-bottom:8px}
.ot-node{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:var(--card);border:1px solid var(--bd)}
.ot-node .avatar{width:34px;height:34px}.ot-node b{display:block;font-size:14px}.ot-node small{color:var(--muted);font-size:12px}
.ot-node.root{justify-content:center;flex-direction:column;gap:2px;background:var(--ink);color:var(--bg);border:0;text-align:center}.ot-node.root small{color:inherit;opacity:.7}
.ot-branch{margin-left:18px;padding-left:16px;border-left:1px solid var(--bd);display:grid;gap:8px}
.ot-leaves{margin-left:18px;padding-left:16px;border-left:2px dashed var(--bd);display:grid;gap:8px}
.ot-node.leaf{padding:8px 12px}.ot-empty{font-size:12.5px;color:var(--muted);padding:6px 0}
/* projets : étapes, actions, envoi, aperçu, devis */
.pj-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}
.pj-step{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:11.5px;color:var(--muted)}
.pj-step i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--bd);font-style:normal;font-size:12px;font-weight:600}
.pj-step.on{color:var(--ink)}.pj-step.on i{border-color:var(--ink)}
.pj-step.done{color:var(--ink)}.pj-step.done i{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pj-act{display:flex;flex-direction:column;gap:8px;padding:16px;margin:14px 0;border:1px solid var(--bd)}
.pj-act small{color:var(--muted);line-height:1.5}.pj-act .btn{margin-top:4px}
.pj-up{display:flex;flex-direction:column;gap:8px;padding:14px;margin-bottom:10px}
.pj-bar{height:6px;border-radius:3px;background:var(--bd);overflow:hidden}.pj-bar i{display:block;height:100%;background:var(--ink);transition:width .2s}
.pj-prev{position:relative;border-radius:12px;overflow:hidden;background:#000;user-select:none;-webkit-user-select:none}
.pj-prev img,.pj-prev video{display:block;width:100%;max-height:70vh;object-fit:contain;-webkit-user-drag:none;pointer-events:auto}
.pj-prev audio{width:100%;margin:18px 0}
.pj-prev .empty{background:var(--bg)}
.pj-wm{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#fff;opacity:.35;font-weight:700;font-size:clamp(18px,5vw,40px);letter-spacing:.12em;transform:rotate(-24deg);text-shadow:0 0 6px #000}
.pj-quote{padding:16px;border:1px solid var(--bd);border-radius:12px;font-size:13.5px;line-height:1.55;max-height:46vh;overflow:auto}
.pj-quote h2{font-size:18px;margin:0 0 10px}.pj-quote p{margin:0 0 10px}
.np-cl{display:flex;flex-direction:column;margin-top:6px}.np-cl .dir-r{background:none;border:0;font-family:inherit;color:var(--ink);cursor:pointer}
/* contrat d'utilisation à accepter */
.terms-gate{position:fixed;inset:0;z-index:59;background:var(--bg);overflow:auto;display:flex;justify-content:center;padding:calc(var(--sat,0px) + 28px) 16px calc(var(--sab,0px) + 28px)}
.tg-box{width:100%;max-width:560px}
.tg-box>.k{letter-spacing:.2em;text-transform:uppercase;font-size:12px;color:var(--muted);margin:0 0 14px}
.tg-box h1{font-family:var(--fh);font-size:28px;font-weight:600;margin:0 0 8px;color:var(--ink)}
.tg-box .sub{color:var(--muted);margin:0 0 18px;line-height:1.5}
.tg-list{list-style:none;counter-reset:tg;margin:0 0 16px;padding:0;display:grid;gap:10px}
.tg-list li{counter-increment:tg;display:grid;grid-template-columns:28px 1fr;gap:2px 10px;padding:14px;border:1px solid var(--bd);border-radius:var(--r,14px);background:var(--card)}
.tg-list li::before{content:counter(tg);grid-row:span 2;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--bg);font-size:12px;font-weight:600}
.tg-list b{color:var(--ink);font-size:15px}.tg-list span{color:var(--muted);font-size:13.5px;line-height:1.5}
.tg-full{font-size:13.5px;color:var(--muted)}.tg-full a{color:var(--ink)}
.tg-ok{display:flex;gap:10px;align-items:flex-start;margin:14px 0 4px;font-size:14px;color:var(--ink);line-height:1.45}.tg-ok input{margin-top:3px;width:18px;height:18px;flex-shrink:0}
.tg-box .btn{width:100%}
.tg-alt{display:flex;justify-content:space-between;margin-top:14px}.tg-alt button{background:none;border:0;color:var(--muted);font:inherit;font-size:13.5px;cursor:pointer;text-decoration:underline}
/* sélecteur de niches et de métiers (référentiel complet) */
.pk{display:block}
.pk-picked{display:flex;flex-wrap:wrap;gap:6px;min-height:42px;padding:8px;border-radius:14px;background:var(--soft);margin-bottom:10px;align-items:center}
.pk-picked:empty::before{content:attr(data-empty);font-size:12.5px;color:var(--muted);padding:4px 6px}
.pk-sel{display:inline-flex;align-items:center;gap:6px;padding:6px 6px 6px 11px;border-radius:999px;background:var(--card);border:1px solid var(--bd);font-size:12.5px;color:var(--ink);animation:pkPop .3s var(--ease)}
.pk-sel.main{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pk-sel small{font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;opacity:.7}
.pk-sel button{width:19px;height:19px;border-radius:50%;border:0;background:rgba(127,127,127,.2);color:inherit;font-size:13px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
.pk-q{margin-bottom:8px}
.pk-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:6px;scrollbar-width:none}.pk-tabs::-webkit-scrollbar{display:none}
.pk-tabs button{flex:none;padding:7px 12px;border-radius:999px;border:1px solid var(--bd);background:transparent;font:inherit;font-size:12px;color:var(--muted);cursor:pointer}
.pk-tabs button.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pk-grid{display:flex;flex-wrap:wrap;gap:6px;max-height:240px;overflow:auto;padding:2px}
.pk-chip{padding:8px 12px;border-radius:999px;border:1px solid var(--bd);background:var(--card);font:inherit;font-size:13px;color:var(--ink);cursor:pointer;transition:transform .2s var(--ease),background .2s}
.pk-chip:hover{transform:translateY(-1px)}
.pk-chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pk-chip.pop,.pk-sel{animation:pkPop .3s var(--ease)}
@keyframes pkPop{40%{transform:scale(1.1)}}
/* devis */
.qt-doc{margin:14px -4px 0;overflow-x:auto}
.qt-doc .qd{box-shadow:0 20px 60px -40px rgba(0,0,0,.4)}
.qt-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.qt-actions .btn{width:auto;flex:1 1 auto;padding:13px 18px}
.qb-lines{display:grid;gap:10px;margin-bottom:10px}
.qb-line{padding:14px;display:grid;gap:8px}
.qb-pick{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:0;padding:0;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.qb-pick b{font-size:15px}.qb-pick small{font-size:11.5px;color:var(--muted);text-decoration:underline}
.qb-nums{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px}
.qb-nums label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted)}
.qb-nums .field{padding:10px 12px}
.qb-lt{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--ink);font-weight:600}
.qb-del{background:none;border:0;color:#c0392b;font:inherit;font-size:12.5px;cursor:pointer}
.qb-vat button{min-width:64px}
.qb-tot{padding:14px 16px;margin:14px 0}.qb-tot p{display:flex;justify-content:space-between;margin:4px 0;font-size:14px;color:var(--muted)}.qb-tot b{color:var(--ink)}
.qb-tot .ttc{margin-top:8px;padding-top:8px;border-top:1px solid var(--bd);font-size:16px}.qb-tot .ttc span{color:var(--ink);font-weight:600}
.qp-l{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;max-height:60vh;overflow:auto}
.qp-g{flex-basis:100%;margin:10px 0 2px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.qs-colors{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 14px}
.qs-colors button{width:34px;height:34px;border-radius:50%;border:3px solid var(--card);box-shadow:0 0 0 1px var(--bd);cursor:pointer;transition:transform .2s}
.qs-colors button.on{box-shadow:0 0 0 2px var(--ink);transform:scale(1.08)}
.qs-custom{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}.qs-custom input{width:34px;height:34px;border:0;padding:0;background:none;cursor:pointer}
.linkish{background:none;border:0;padding:0;font:inherit;color:var(--ink);text-decoration:underline;cursor:pointer}
@media(max-width:520px){.qb-nums{grid-template-columns:1fr 1fr}.qb-nums label:last-child{grid-column:1 / -1}}
.qb-client{display:flex;flex-direction:column;gap:4px;padding:14px 16px;margin-bottom:10px}.qb-client b{font-size:16px;color:var(--ink)}.qb-client small{font-size:12px;color:var(--muted)}.qb-client .btn{align-self:flex-start;width:auto;margin-top:6px;padding:10px 16px}
/* bandeau du devis dans la discussion de la collab */
.qbn{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 10px;padding:12px 14px;border-radius:16px;background:var(--card);border:1px solid var(--bd);animation:pkPop .35s var(--ease)}
.qbn-t{flex:1 1 200px;display:flex;flex-direction:column;gap:2px;min-width:0}.qbn-t b{font-size:14px;color:var(--ink)}.qbn-t small{font-size:12px;color:var(--muted)}
.qbn-b{display:flex;gap:6px;flex-wrap:wrap}.qbn-b .btn{width:auto;padding:10px 14px}
/* sélecteur de compte (messagerie) : moi et les pages que je gère */
.idsw{display:flex;gap:8px;overflow-x:auto;margin:4px 0 10px;padding-bottom:2px;scrollbar-width:none}
.idsw::-webkit-scrollbar{display:none}
.idsw button{position:relative;display:flex;align-items:center;gap:8px;padding:5px 14px 5px 5px;border-radius:99px;background:var(--soft);font-size:13px;font-weight:600;white-space:nowrap;transition:background .2s,color .2s}
.idsw button .avatar{width:28px;height:28px;font-size:11px}
.idsw button.on{background:var(--ink);color:var(--bg)}
.idsw .n{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#e0245e;color:#fff;font:700 10px/18px var(--fs);font-style:normal;text-align:center}
/* bandeau « en tant que » : on agit au nom d'une page */
#actbar{position:fixed;top:0;left:0;right:0;z-index:80;display:flex;align-items:center;justify-content:center;gap:12px;height:calc(30px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:var(--ink);color:var(--bg);font-size:12px}
#actbar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#actbar button{flex:none;padding:3px 10px;border-radius:99px;background:var(--bg);color:var(--ink);font-size:11px;font-weight:700}
body.acting{padding-top:calc(30px + env(safe-area-inset-top))}
.idsw button.on .avatar{background:var(--bg);color:var(--ink)}
body.acting .site-h{top:calc(30px + env(safe-area-inset-top))}
body.acting .page{top:calc(30px + env(safe-area-inset-top))}
/* paiement d'un devis */
.pay-c{padding:6px 18px 18px;margin:0 0 14px}
.pay-l{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--bd);font-size:14px}
.pay-l small{display:block;color:var(--muted);font-size:12px}
.pay-l.tot{border-bottom:0;font-size:16px}
.pay-st{display:inline-block;padding:6px 12px;border-radius:99px;font-size:13px;font-weight:700;background:var(--soft)}
.pay-st.ok{background:#e3f4ea;color:#1f7a45}
.pay-st.wait{background:#fdf1dc;color:#8a5a00}
body.dark .pay-st.ok{background:#173d27;color:#8fe0b0}
body.dark .pay-st.wait{background:#3d2f12;color:#f0c66b}
/* raccourcis de l'accueil */
.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.shortcuts button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 4px;border-radius:18px;background:var(--card);border:1px solid var(--bd);font-size:11.5px;font-weight:600;line-height:1.2;text-align:center;transition:transform .2s var(--ease)}
.shortcuts button:active{transform:scale(.96)}
.shortcuts .sc-i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft)}
.shortcuts svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:700px){.shortcuts{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}}

/* créateur sans équipe (ni talent Iconics ni talent d'agence) */
.team-empty{display:flex;flex-direction:column;gap:4px;padding:10px 0}
.team-empty b{font-size:15px}.team-empty small{font-size:13px;line-height:1.5;color:var(--muted)}
.team-empty-b{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* Iconics Labs : vignettes des outils internes et fiche */
.labs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.labs-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid var(--bd); border-radius: 22px; background: var(--card); color: inherit; text-align: left; cursor: pointer; font: inherit; }
.labs-tile:hover { border-color: var(--ink); }
.labs-tile img { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 4px; }
.labs-tile b { font-size: 16px; }
.labs-tile small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.labs-tile .chip, .labs-tile .labs-pills { margin-top: auto; }
.labs-tile .chip { max-width: 100%; white-space: normal; line-height: 1.3; }
.labs-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.labs-st { font-size: 11.5px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 99px; white-space: nowrap; background: var(--ink); color: var(--bg, #fff); }
.labs-pf { font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.2; }
.labs-st.beta { background: #0a84ff; color: #fff; }
.labs-head .labs-pills { margin-top: 8px; }
.labs-tile small { margin-bottom: 10px; }
.labs-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.labs-head img { width: 72px; height: 72px; border-radius: 17px; }
.labs-head .chip { margin-top: 6px; display: inline-block; }
.labs-feat { margin: 0 0 8px; padding-left: 18px; line-height: 1.55; } .labs-feat li { margin-bottom: 8px; }
.labs-dl { display: flex; flex-direction: column; gap: 8px; }
.labs-dl .btn { width: 100%; text-align: center; }
.labs-dl a.btn { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.labs-sec { font-size: 17px; margin: 18px 0 6px; }
.labs-feat ul { margin: 6px 0 0; padding-left: 18px; }
.labs-tile img, .labs-head img { border: 1px solid var(--bd); }
/* « Mon organisation » : interrupteur Suite Iconics à côté de chaque profil */
.io-suite{display:flex;align-items:center;gap:8px;flex:none;cursor:pointer;margin-left:auto}.io-suite small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.io-suite .sw{margin-left:0;transform:scale(.86)}

/* menu de la photo en haut : profil, rubriques, compte, thème, déconnexion */
.me-pop{position:fixed;z-index:80;width:260px;max-width:calc(100vw - 20px);padding:6px;border-radius:20px;background:var(--bg);border:1px solid var(--bd);box-shadow:0 24px 60px -18px rgba(0,0,0,.35);transform-origin:top right;transform:scale(.94) translateY(-4px);opacity:0;transition:transform .22s var(--ease),opacity .16s}
.me-pop.on{transform:none;opacity:1}
.me-pop .mp-who{display:flex;align-items:center;gap:10px;padding:10px 10px 12px;border-bottom:1px solid var(--bd);margin-bottom:4px}
.me-pop .mp-who .avatar{width:38px;height:38px;flex:none}
.me-pop .mp-who b{display:block;font-size:14px}.me-pop .mp-who small{display:block;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.me-pop button,.me-pop .mp-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:12px;font-size:13.5px;text-align:left;background:none;color:var(--ink);cursor:pointer}
.me-pop button:hover,.me-pop .mp-row:hover{background:var(--soft)}
.me-pop svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.me-pop .mp-out{color:var(--red);border-top:1px solid var(--bd);border-radius:0 0 12px 12px;margin-top:4px}
body.me-menu .header-login-btn{display:none}
@media (prefers-reduced-motion:reduce){.me-pop{transition:opacity .15s;transform:none}}

/* ───────── profil : en-tête façon portfolio (bannière, photo carrée, chiffres) et onglets soulignés ───────── */
.pf2{position:relative;margin:0 0 6px}
.pf2-ban{height:150px;border-radius:24px;background:radial-gradient(120% 140% at 15% 0%,#c9c2ff 0%,transparent 55%),radial-gradient(120% 140% at 90% 20%,#ffc6e6 0%,transparent 50%),linear-gradient(120deg,#eef0ff,#fdf0f7)}
body.dark .pf2-ban{background:radial-gradient(120% 140% at 15% 0%,#3b3478 0%,transparent 55%),radial-gradient(120% 140% at 90% 20%,#5a2747 0%,transparent 50%),linear-gradient(120deg,#17182a,#211722)}
.pf2-top{display:flex;align-items:flex-end;gap:22px;padding:0 6px;margin-top:-64px}
.pf2-av{width:132px;height:132px;flex:none;border-radius:36px;overflow:hidden;background:var(--soft);border:4px solid var(--bg);box-shadow:0 18px 40px -18px rgba(0,0,0,.35);display:grid;place-items:center}
.pf2-av img{width:100%;height:100%;object-fit:cover}.pf2-av span{font-size:40px;font-weight:600;color:var(--muted)}
.pf2-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding-bottom:10px}
.pf2-main .pf-name{font-size:30px;line-height:1.1;letter-spacing:-.02em;margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pf2-hl{margin:4px 0 0;color:var(--muted);font-size:14px}.pf2-sub{margin:2px 0 0;font-size:14px}
.pf2-under{display:flex;flex-direction:column;gap:14px;margin:16px 6px 0}
.pf2-bio{margin:0;font-size:15px;line-height:1.55;max-width:760px}
.pf2-btns{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pf2 .pf-follow{padding:11px 22px;border-radius:14px;background:var(--ink);color:var(--bg);font-weight:600;font-size:14px;border:0}
.pf2 .pf-ico.hero{width:42px;height:42px;border-radius:14px;border:1.5px solid var(--bd);background:var(--bg);color:var(--ink);display:grid;place-items:center}
.pf2 .pf-ico.hero svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pf2-stats{display:flex;gap:26px;flex:none;padding-bottom:6px}
.pf2-st{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:0;padding:0;color:var(--ink);text-align:left}
.pf2-st span{font-size:13px;color:var(--muted);order:-1}.pf2-st b{font-size:28px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
button.pf2-st{cursor:pointer}button.pf2-st:hover b{text-decoration:underline;text-underline-offset:4px}
.pf2-stats.locked button.pf2-st{cursor:default}
.pf2-tabs{display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--bd);margin:22px 0 16px;overflow-x:auto;scrollbar-width:none}
.pf2-tabs::-webkit-scrollbar{display:none}
.pf2-tabs [data-t]{position:relative;padding:12px 0;background:none;border:0;font-size:15px;color:var(--muted);white-space:nowrap}
.pf2-tabs [data-t].on{color:var(--ink);font-weight:600}
.pf2-tabs [data-t].on::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:var(--ink)}
.pf2-tabs sup{font-size:10px;margin-left:3px;color:var(--muted);font-weight:500}
.pf2-cust{position:sticky;right:0;box-shadow:-14px 0 12px -4px var(--bg);margin-left:auto;width:34px;height:34px;flex:none;border-radius:50%;border:1px solid var(--bd);background:var(--bg);display:grid;place-items:center;color:var(--ink)}
.pf2-cust svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.pf2-xp{display:flex;flex-direction:column}
.pf2-xi{display:flex;gap:14px;padding:16px 4px;border-bottom:1px solid var(--bd)}.pf2-xi:last-child{border-bottom:0}
.pf2-xl{width:46px;height:46px;flex:none;border-radius:12px}
.pf2-xb{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pf2-xb b{font-size:15px}.pf2-xb small{color:var(--muted);font-size:12.5px}.pf2-xb p{margin:6px 0 0;font-size:14px;line-height:1.45;white-space:pre-line}
.pf2-xb .chip{align-self:flex-start;margin-top:4px}
.pf2-xi .pf-ico{width:34px;height:34px;flex:none;border-radius:50%;border:1px solid var(--bd);background:none;display:grid;place-items:center;color:var(--ink)}
.pf2-xi .pf-ico svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.pf2-ord{display:flex;flex:none;align-items:flex-start;gap:6px}.pf2-ord .pf-ico:disabled{opacity:.3;cursor:default}
.pf2-about{padding:18px 20px}.pf2-about p{margin:0 0 10px;line-height:1.5}.pf2-about .k{margin:14px 0 6px}
.pf2-xc{padding:14px 16px;margin-bottom:10px}
@media (max-width:760px){
  .pf2-ban{height:110px;border-radius:20px}
  .pf2-top{flex-direction:column;align-items:flex-start;gap:12px;margin-top:-52px}
  .pf2-av{width:104px;height:104px;border-radius:30px}
  .pf2-main{padding-bottom:0;width:100%}
  .pf2-under{margin:12px 0 0}
  .pf2-main .pf-name{font-size:26px}
  .pf2-stats{width:100%;justify-content:space-between;gap:12px;padding:12px 0 0;border-top:1px solid var(--bd)}
  .pf2-st{align-items:center;text-align:center}.pf2-st b{font-size:22px}.pf2-st span{order:0}
  .pf2-tabs{gap:18px}.pf2-tabs [data-t]{font-size:14px}
}
.pf2-add{margin:0 0 12px;justify-content:flex-start}.pf2-add .btn{width:auto;flex:none;padding:9px 16px}

/* bannières au choix */
.pf2-ban.img{background-size:cover;background-position:center}
.pf2-ban.ban-aurore{background:radial-gradient(110% 140% at 10% 0%,#ffd6a5 0%,transparent 55%),radial-gradient(120% 140% at 95% 10%,#ff9fb2 0%,transparent 55%),linear-gradient(120deg,#fff4e6,#ffe4ec)}
.pf2-ban.ban-ocean{background:radial-gradient(110% 140% at 10% 0%,#9ad0ff 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#7fe0d6 0%,transparent 55%),linear-gradient(120deg,#e8f4ff,#e3fbf7)}
.pf2-ban.ban-menthe{background:radial-gradient(110% 140% at 10% 0%,#b8f2c9 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#e3f59c 0%,transparent 55%),linear-gradient(120deg,#effcf2,#f8fde6)}
.pf2-ban.ban-nuit{background:radial-gradient(110% 140% at 10% 0%,#3a3f8f 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#7a2e6b 0%,transparent 55%),linear-gradient(120deg,#12142a,#1e1424)}
.pf2-ban.ban-sable{background:radial-gradient(110% 140% at 10% 0%,#f3dcb4 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#e9c6a8 0%,transparent 55%),linear-gradient(120deg,#fbf5ea,#f6ece2)}
.ban-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:6px 0 4px}
.ban-sw{height:70px;border-radius:16px;border:2px solid transparent;position:relative;cursor:pointer}
.ban-sw.on{border-color:var(--ink)}
.ban-sw span{position:absolute;left:10px;bottom:8px;font-size:12px;font-weight:600;color:#111}.ban-sw.ban-nuit span{color:#fff}

/* en-tête du profil : nom en DM Sans, un peu d'air sous la bannière, bouton « Modifier le profil » sur la bannière */
.pf2-ban{position:relative}
.pf2-top{margin-top:-46px;position:relative;z-index:1}
.pf2-main{padding-top:0}
.pf2-main .pf-name{font-family:var(--fs);font-weight:600;font-size:28px;letter-spacing:-.025em;line-height:1.15}
.pf2-btns:empty{display:none}
.pf2-editb{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.78);backdrop-filter:blur(14px) saturate(160%);-webkit-backdrop-filter:blur(14px) saturate(160%);font-size:13.5px;font-weight:600;color:#111;box-shadow:0 6px 18px -8px rgba(0,0,0,.25)}
.pf2-editb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.dark .pf2-editb{background:rgba(20,20,24,.7);border-color:rgba(255,255,255,.15);color:#f2f2f2}
@media (max-width:760px){.pf2-main{padding-top:0}.pf2-main .pf-name{font-size:24px}.pf2-top{margin-top:-46px}.pf2-editb{top:10px;right:10px;padding:8px 13px;font-size:12.5px}}

/* ───────── téléphone : barre d'onglets en bas, comme l'app iPhone ───────── */
.mtab{display:none}
@media (max-width:760px){
  body.has-mtab .mtab{display:flex;position:fixed;z-index:60;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));height:64px;padding:6px;border-radius:32px;background:var(--glass,rgba(255,255,255,.82));backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);border:1px solid var(--bd);box-shadow:0 14px 40px -14px rgba(0,0,0,.28)}
  .mtab button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:26px;background:none;border:0;color:var(--ink);font-size:10.5px;font-weight:600;position:relative;transition:background .2s}
  .mtab button.on{background:var(--soft)}
  .mtab button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mtab button.on svg{stroke-width:2.2}
  .mtab .mt-av{width:26px;height:26px;font-size:10px}
  .mtab button.on .mt-av{box-shadow:0 0 0 2px var(--ink)}
  .mtab .mt-dot{position:absolute;top:8px;right:calc(50% - 16px);width:8px;height:8px;border-radius:50%;background:var(--red)}
  body.has-mtab #tabbar,body.has-mtab #btn-me,body.has-mtab #tab-indicator{display:none!important}
  body.has-mtab main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  body.has-mtab .page{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  body.has-mtab #fab{bottom:calc(90px + env(safe-area-inset-bottom))}
  /* mon profil ouvert depuis l'onglet : c'est un onglet, pas une page (pas de retour), comme dans l'app */
  body.mtab-me #pf-back{visibility:hidden}
}

/* ───────── ordinateur : menu latéral rangé par thèmes ───────── */
.side{display:none}
@media (min-width:1024px){
  body.has-side .side{display:flex;flex-direction:column;position:fixed;z-index:55;top:16px;bottom:16px;left:16px;width:258px;padding:20px 14px 14px;border-radius:26px;background:var(--bg);border:1px solid var(--bd);box-shadow:0 10px 40px -24px rgba(0,0,0,.25);box-sizing:border-box}
  .sd-brand{display:flex;align-items:center;gap:10px;padding:0 10px 8px}.sd-brand b{font-family:var(--fh);font-weight:400;font-size:24px}.sd-brand .lv-mark{width:30px;height:30px}
  .sd-hello{font-size:16px;font-weight:600;margin:4px 10px 12px;padding-bottom:12px;border-bottom:1px solid var(--bd)}
  .sd-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:2px;scrollbar-width:none;margin:0 -4px;padding:0 4px}.sd-list::-webkit-scrollbar{display:none}
  .sd-g{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:14px 12px 4px}
  .sd-it{display:flex;align-items:center;gap:12px;width:100%;padding:9px 12px;border-radius:14px;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer;transition:background .15s}
  .sd-it:hover{background:var(--soft)}
  .sd-it.on{background:var(--ink);color:var(--bg);font-weight:600}
  .sd-it svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .sd-me{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px 8px 2px;border:0;border-top:1px solid var(--bd);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer;width:100%}
  .sd-me .avatar{width:38px;height:38px;flex:none}
  .sd-mt{flex:1;min-width:0}.sd-mt b{display:block;font-size:14px}.sd-mt small{display:block;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sd-dots svg{width:18px;height:18px;fill:currentColor}
  body.has-side .site-h{padding-left:300px}
  body.has-side #tabbar{order:1;margin-right:auto}
  body.has-side .header-actions{order:2;margin-left:auto}
  body.has-side .brand-logo,body.has-side #btn-me,body.has-side #btn-logout{display:none!important}
  body.has-side main{margin-left:290px;margin-right:auto;max-width:1240px;padding-left:24px;padding-right:32px}
  body.has-side .page{left:290px}
  body.has-side .page-in{max-width:1040px;margin:0;padding-left:28px;padding-right:32px}
  /* les raccourcis restent visibles sur ordinateur : ce qu'on arrange en mode Personnaliser doit rester après « Terminé » (retour d'Adam, 12/11) */
}

/* ───────── documents : dossiers en verre (survol : les fichiers se penchent, clic : ouvrir) ───────── */
.fd-lilas{--fd-g:radial-gradient(110% 140% at 10% 0%,#d9c8ff 0%,transparent 55%),radial-gradient(120% 140% at 95% 10%,#ffc9ec 0%,transparent 55%),linear-gradient(120deg,#f3eeff,#ffeef8);--fd-t:#e4d8ff}
.fd-aurore{--fd-g:radial-gradient(110% 140% at 10% 0%,#ffd6a5 0%,transparent 55%),radial-gradient(120% 140% at 95% 10%,#ff9fb2 0%,transparent 55%),linear-gradient(120deg,#fff4e6,#ffe4ec);--fd-t:#ffd9b4}
.fd-ocean{--fd-g:radial-gradient(110% 140% at 10% 0%,#9ad0ff 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#7fe0d6 0%,transparent 55%),linear-gradient(120deg,#e8f4ff,#e3fbf7);--fd-t:#b3dbff}
.fd-menthe{--fd-g:radial-gradient(110% 140% at 10% 0%,#b8f2c9 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#e3f59c 0%,transparent 55%),linear-gradient(120deg,#effcf2,#f8fde6);--fd-t:#c6f3d3}
.fd-nuit{--fd-g:radial-gradient(110% 140% at 10% 0%,#3a3f8f 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#7a2e6b 0%,transparent 55%),linear-gradient(120deg,#12142a,#1e1424);--fd-t:#2a2d5e}
.fd-sable{--fd-g:radial-gradient(110% 140% at 10% 0%,#f3dcb4 0%,transparent 55%),radial-gradient(120% 140% at 95% 20%,#e9c6a8 0%,transparent 55%),linear-gradient(120deg,#fbf5ea,#f6ece2);--fd-t:#f0dcbc}
.fd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:30px 22px;padding-top:34px}
.fd{position:relative;height:178px;cursor:pointer;perspective:900px;outline:0;animation:fd-in .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 60ms)}
.fd:focus-visible .fd-front{box-shadow:0 0 0 3px var(--ink)}
.fd-back{position:absolute;inset:16px 0 0 0;border-radius:6px 22px 22px 22px;background:var(--fd-g)}
.fd-back::before{content:'';position:absolute;left:0;top:-14px;width:44%;height:30px;border-radius:14px 18px 0 0;background:var(--fd-t)}
.fd-papers{position:absolute;left:11%;right:11%;top:4px;height:62%}
.fd-paper{position:absolute;inset:0;border-radius:12px;background:#fff;box-shadow:0 8px 20px -10px rgba(0,0,0,.35);overflow:hidden;padding:12px;box-sizing:border-box;transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .3s}
.fd-paper.p0{transform:translateY(8px) rotate(-2deg)}.fd-paper.p1{transform:translate(6px,4px) rotate(2.5deg)}.fd-paper.p2{transform:rotate(-.5deg)}
.fd-paper img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fd-paper b,.fl-pdf b{display:block;font-size:10px;font-weight:600;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:26px}
.fd-paper i,.fl-pdf i{display:block;height:4px;border-radius:2px;background:#ececec;margin-top:7px}.fd-paper i:nth-of-type(2),.fl-pdf i:nth-of-type(2){width:80%}.fd-paper i:nth-of-type(3),.fl-pdf i:nth-of-type(3){width:55%}
.fd-paper em,.fl-pdf em{position:absolute;right:9px;top:9px;font-size:8px;font-style:normal;font-weight:700;letter-spacing:.04em;color:#c0392b}
.fd-front{position:absolute;left:0;right:0;bottom:0;height:62%;box-sizing:border-box;border-radius:20px;background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 16px 32px -20px rgba(0,0,0,.4);display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:14px 14px 14px 16px;color:#111;transform-origin:50% 100%;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.fd-t{min-width:0}.fd-t b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fd-t small{font-size:11.5px;opacity:.6}
.fd-acts{display:flex;gap:6px;flex:none}
.fd-b{width:34px;height:34px;border-radius:12px;border:0;display:grid;place-items:center;background:rgba(255,255,255,.75);color:#111;cursor:pointer;transition:transform .15s}
.fd-b:active{transform:scale(.92)}.fd-b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.fd-b[data-fdm] svg{fill:currentColor;stroke:none}
.fd-add{background:#111;color:#fff}
.fd-nuit .fd-front{background:rgba(22,22,30,.5);color:#fff;border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 16px 32px -20px rgba(0,0,0,.6)}
.fd-nuit .fd-b{background:rgba(255,255,255,.14);color:#fff}.fd-nuit .fd-add{background:#fff;color:#111}
@media (hover:hover){
  .fd:hover .fd-front{transform:rotateX(-16deg)}
  .fd:hover .fd-paper.p0{transform:translate(-18%,-30px) rotate(-9deg)}
  .fd:hover .fd-paper.p1{transform:translate(18%,-30px) rotate(9deg)}
  .fd:hover .fd-paper.p2{transform:translateY(-44px)}
}
.fd.opening .fd-front{transform:rotateX(-34deg);transition-duration:.25s}
.fd.opening .fd-paper{transform:translateY(-80px) scale(1.05)!important;opacity:0;transition-duration:.25s}
.fd-paper.fresh{animation:fd-drop .7s cubic-bezier(.16,1,.3,1) both}
.fd-new{height:162px;margin-top:16px;border-radius:22px;border:1.5px dashed var(--bd);background:none;color:var(--muted);font:inherit;font-size:14px;font-weight:500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:border-color .2s,color .2s,background .2s;animation:fd-in .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 60ms)}
.fd-new:hover{border-color:var(--ink);color:var(--ink);background:var(--card)}
.fd-new span{width:42px;height:42px;border-radius:50%;background:var(--soft);display:grid;place-items:center}.fd-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.fd-hint{margin-top:22px;font-size:12.5px;color:var(--muted)}
.fl-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.fl-bar .btn{width:auto;display:inline-flex;align-items:center;gap:8px;padding:11px 18px}.fl-bar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.fl{position:relative;display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:20px;background:var(--card);border:1px solid var(--bd);animation:fd-in .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 45ms)}
.fl.fresh{animation:fd-drop .7s cubic-bezier(.16,1,.3,1) both}
.fl-th{aspect-ratio:4/3;border-radius:14px;background:var(--soft);border:0;padding:0;overflow:hidden;cursor:pointer;display:grid;place-items:center;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.fl-th:hover{transform:translateY(-3px)}.fl-th img{width:100%;height:100%;object-fit:cover}
.fl-pdf{position:relative;width:54%;height:76%;box-sizing:border-box;padding:16px 12px;border-radius:8px;background:#fff;box-shadow:0 8px 18px -10px rgba(0,0,0,.35);transition:transform .3s cubic-bezier(.16,1,.3,1)}
.fl-th:hover .fl-pdf{transform:rotate(-3deg) translateY(-2px)}
.fl-b{min-width:0;padding:0 4px 4px}.fl-b b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fl-b small{font-size:11.5px;color:var(--muted)}
.fl-acts{position:absolute;top:16px;right:16px;display:flex;gap:6px;opacity:0;transition:opacity .2s}
.fl:hover .fl-acts,.fl:focus-within .fl-acts{opacity:1}
.fl-acts .ibtn{background:var(--bg);box-shadow:0 4px 12px -6px rgba(0,0,0,.3)}
.fl-empty{margin-top:4px}
.fd-sw{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 18px}
.fd-swb{position:relative;width:58px;height:46px;padding:0;border:2px solid transparent;border-radius:16px;background:none;cursor:pointer}
.fd-swb .fd-back{inset:12px 4px 4px 4px;border-radius:3px 10px 10px 10px}.fd-swb .fd-back::before{top:-7px;height:12px;border-radius:6px 8px 0 0}
.fd-swb.on{border-color:var(--ink)}
.fd-dot{position:relative;display:inline-block;width:28px;height:22px;margin-right:12px;vertical-align:middle;flex:none}
.fd-dot .fd-back{inset:6px 0 0 0;border-radius:2px 7px 7px 7px}.fd-dot .fd-back::before{top:-5px;height:8px;border-radius:4px 6px 0 0}
@keyframes fd-in{from{opacity:0;transform:translateY(16px)}}
@keyframes fd-drop{from{opacity:0;transform:translateY(-60px) rotate(-8deg)}}
@media (hover:none){.fl-acts{opacity:1}}
@media (max-width:640px){.fd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.fd{height:150px}.fd-new{height:134px}.fd-t b{font-size:13.5px}.fd-front{padding:10px 10px 10px 12px}.fd-b{width:30px;height:30px;border-radius:10px}.fl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (prefers-reduced-motion:reduce){.fd,.fd-new,.fl,.fd-paper.fresh,.fl.fresh{animation:none}.fd-front,.fd-paper,.fl-th,.fl-pdf{transition:opacity .2s}.fd:hover .fd-front,.fd:hover .fd-paper,.fl-th:hover,.fl-th:hover .fl-pdf{transform:none}}

/* dossier créateur : « je suis déjà en agence » */
.ag-box{margin-top:14px;padding:14px;border-radius:18px;background:var(--soft);animation:fd-in .35s cubic-bezier(.2,.8,.2,1) both}
.ag-box .k.lbl{margin-top:0}
.ag-box .field{background:var(--bg)}
.ag-res{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.ag-pick{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:14px;border:1px solid var(--bd);background:var(--bg);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}
.ag-pick:hover{border-color:var(--ink)}.ag-pick:active{transform:scale(.99)}
.ag-pick.on{cursor:default;border-color:var(--ink)}
.ag-pick img,.ag-ini{width:38px;height:38px;border-radius:12px;object-fit:cover;flex:none}
.ag-ini{display:grid;place-items:center;background:var(--ink);color:var(--bg);font-weight:700}
.ag-pick>span:not(.ag-ini){flex:1;min-width:0}
.ag-pick b{display:block;font-size:14px}.ag-pick small{font-size:12px;color:var(--muted)}
.ag-pick .btn{width:auto;flex:none}
.ag-none{display:block;margin-top:10px;border:0;background:none;padding:4px 0;color:var(--ink);font:inherit;font-size:13.5px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ag-info{margin:8px 0;padding:12px 14px}.ag-info b{display:block;font-size:13.5px}.ag-info small{font-size:12.5px;color:var(--muted)}

/* ───────── ordinateur : menu latéral replié en icônes, il se déploie au survol (par-dessus la page) ───────── */
@media (min-width:1024px){
  body.has-side .side{width:76px;overflow:hidden;transition:width .38s cubic-bezier(.2,.8,.2,1) .12s,box-shadow .3s}
  body.has-side .side:hover,body.has-side .side:focus-within{width:258px;transition-delay:0s;box-shadow:0 24px 60px -24px rgba(0,0,0,.35)}
  body.has-side .side .sd-it,body.has-side .side .sd-me{white-space:nowrap}
  body.has-side .side .sd-it span,body.has-side .side .sd-brand b,body.has-side .side .sd-hello,body.has-side .side .sd-g,body.has-side .side .sd-mt,body.has-side .side .sd-dots{transition:opacity .2s}
  body.has-side .side:not(:hover):not(:focus-within) .sd-it span,body.has-side .side:not(:hover):not(:focus-within) .sd-brand b,body.has-side .side:not(:hover):not(:focus-within) .sd-hello,body.has-side .side:not(:hover):not(:focus-within) .sd-g,body.has-side .side:not(:hover):not(:focus-within) .sd-mt,body.has-side .side:not(:hover):not(:focus-within) .sd-dots{opacity:0}
  body.has-side .side:not(:hover):not(:focus-within) .sd-g{height:1px;margin:12px 10px;background:var(--bd);overflow:hidden;color:transparent}
  body.has-side .side .sd-it{width:auto;min-width:48px}
  body.has-side .side .sd-me .avatar{margin-left:2px}
  body.has-side .site-h{padding-left:118px}
  body.has-side main{margin-left:108px}
  body.has-side .page{left:108px}
}

/* ───────── tableau de bord vivant : chiffres qui montent, cartes qui se soulèvent, lumière sous le curseur ───────── */
.kpis .kpi{position:relative;overflow:hidden;isolation:isolate;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;animation:kpi-in .55s cubic-bezier(.2,.8,.2,1) both}
.kpis .kpi:nth-child(2){animation-delay:.06s}.kpis .kpi:nth-child(3){animation-delay:.12s}.kpis .kpi:nth-child(4){animation-delay:.18s}
.kpis .kpi::before{content:'';position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .3s;background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.16),transparent 60%)}
.kpis .kpi:first-child{background:radial-gradient(120% 140% at 0% 0%,#ffb36b 0%,transparent 55%),radial-gradient(120% 140% at 100% 100%,#ff4d6d 0%,transparent 60%),linear-gradient(135deg,#ff7a45,#e8467c);color:#fff}
.kpis .kpi:first-child::after{content:'';position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;border:16px solid rgba(255,255,255,.14);animation:kpi-orbit 6s ease-in-out infinite}
@keyframes kpi-orbit{50%{transform:translate(-10px,8px) scale(1.06)}}
@keyframes kpi-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
@media (hover:hover){
  .kpis .kpi:hover{transform:translateY(-5px);box-shadow:0 18px 40px -18px rgba(0,0,0,.45)}
  .kpis .kpi:hover::before{opacity:1}
}
.kpi b{font-variant-numeric:tabular-nums}
/* raccourcis de l'accueil : ils se soulèvent aussi */
.qa-card,.quick>button,.quick>a{transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .2s}
@media (hover:hover){.qa-card:hover,.quick>button:hover,.quick>a:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(0,0,0,.3)}}
@media (prefers-reduced-motion:reduce){.kpis .kpi,.kpis .kpi:first-child::after{animation:none}.kpis .kpi:hover{transform:none}body.has-side .side{transition:none}}



/* messagerie : compte affiché et changement de page */
.msx-who{position:relative;flex:none}
.msx-me{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:14px;background:none;color:var(--ink);font:inherit;font-size:14.5px;font-weight:600;cursor:pointer;text-align:left;transition:background .15s}
.msx-me:hover:not(:disabled){background:var(--soft)}.msx-me:disabled{cursor:default}
.msx-me .avatar{width:34px;height:34px;flex:none}
.msx-me .nm{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msx-me svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.msx-me[aria-expanded="true"] svg{transform:rotate(180deg)}
.msx-me i,.msx-pop i{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:#2f8cff;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;box-sizing:border-box}
.msx-pop{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:280px;padding:8px;border-radius:18px;background:var(--bg);border:1px solid var(--bd);box-shadow:0 20px 50px -20px rgba(0,0,0,.35);transform-origin:top left;animation:msx-pop .22s cubic-bezier(.2,.8,.2,1)}
@keyframes msx-pop{from{opacity:0;transform:scale(.96) translateY(-4px)}}
.msx-pop .k{margin:4px 8px 6px}
.msx-pop button{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:12px;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.msx-pop button:hover{background:var(--soft)}.msx-pop button.on{background:var(--soft)}
.msx-pop .avatar{width:36px;height:36px;flex:none}
.msx-pop .t{flex:1;min-width:0}.msx-pop .t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msx-pop .t small{font-size:12px;color:var(--muted)}
.msx-pop em{font-style:normal;font-weight:700}

/* menu replié : le logo reste visible, « Bonjour » se replie sans laisser de vide */
.sd-brand .lv-mark{flex:none}
@media (min-width:1024px){
  body.has-side .side .sd-hello{max-height:40px;overflow:hidden;transition:opacity .2s,max-height .3s,margin .3s,padding .3s}
  body.has-side .side:not(:hover):not(:focus-within) .sd-hello{max-height:0;margin-top:0;margin-bottom:6px;padding-bottom:0;border-color:transparent}
}

/* chaque discussion garde sa hauteur : la liste défile au lieu de les écraser */


/* ═════════ Finitions de design (revue impeccable / taste / ui-ux-pro-max, 28/10) : noir et blanc premium, lisibilité, plus de touches « générées » ═════════ */
/* lisibilité : gris plus foncé (contraste AA), plus aucun texte minuscule */
:root{--muted:#666}
body.dark{--muted:#8b8b8b}
.tbtn{font-size:11px;letter-spacing:.08em}
.tbtn:hover{transform:none}
.k{font-size:11px}
.kpi .k{font-size:10.5px;opacity:.7}
.kpi small,.conv-r small,.quick small{font-size:12px}
/* accueil : une carte pleine (noire) et deux en creux, sans dégradé ni cercle animé */
.kpis .kpi{background:var(--card);color:var(--ink);border:1px solid var(--bd)}
.kpis .kpi:first-child{background:var(--ink);color:var(--bg);border-color:transparent}
.kpis .kpi:first-child::after{content:none}
.kpis .kpi::before{background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%),rgba(127,127,127,.12),transparent 60%)}
.kpis .kpi:first-child::before{background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.14),transparent 60%)}
body.dark .kpis .kpi:first-child::before{background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%),rgba(0,0,0,.08),transparent 60%)}
@media (hover:hover){.kpis .kpi:hover{box-shadow:0 18px 40px -22px rgba(0,0,0,.35)}}
/* états en monochrome : le rouge reste réservé aux alertes */
.chip.ok{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.2px var(--ink)}
.chip.wait{background:transparent;color:var(--ink);border:1.2px dashed var(--muted);padding:4px 10px}
.th-on{background:var(--ink)}
.chat-head small{color:var(--muted)}
/* bannière de profil par défaut : sombre, sans pastel */
.pf2-ban:not([class*="ban-"]){background:linear-gradient(120deg,#111,#2b2b2b)}
body.dark .pf2-ban:not([class*="ban-"]){background:linear-gradient(120deg,#1a1a1a,#2a2a2a)}
/* bouton survolé : contour adouci au lieu d'un noir pur */
@media (hover:hover){.lead:hover{border-color:rgba(0,0,0,.25)}body.dark .lead:hover{border-color:rgba(255,255,255,.25)}}
/* changement d'onglet : fondu et léger glissement */
.view.on{animation:vIn .32s cubic-bezier(.2,.8,.2,1)}
@keyframes vIn{from{opacity:0;transform:translateY(8px)}}
/* coche des toasts */
#toast .tk{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;margin-right:8px}
/* mobile : raccourcis sur une colonne, rangées qui défilent signalées par un fondu */
@media (max-width:760px){
  .quick{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.view.on{animation:none}}

/* menu latéral : logo de la marque, de l’agence ou d’Iconics, à la même place que le L de Liaison */
.sd-brand .sd-logo{width:30px;height:30px;flex:none;border-radius:9px;object-fit:cover}
.sd-brand .sd-ic{width:30px;height:30px;flex:none}
.sd-brand b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ───────── menu latéral : finitions (logo seul, icônes centrées dans la pastille, liste qui tient et défile proprement) ───────── */
@media (min-width:1024px){
  body.has-side .side .sd-brand{padding:2px 0 14px 9px;margin-bottom:6px}
  /* 76 px de rail, pastille de 48 px : icône de 18 px exactement au centre (15 px de chaque côté), sans bouger au déploiement */
  body.has-side .side .sd-it{padding:9px 15px;gap:14px}
  body.has-side .side:not(:hover):not(:focus-within) .sd-it{padding-top:8px;padding-bottom:8px}
  body.has-side .side:not(:hover):not(:focus-within) .sd-g{margin:8px 15px}
  /* la liste défile : un fondu en bas plutôt qu'une icône coupée net */
  body.has-side .side .sd-list{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);padding-bottom:20px}
  body.has-side .side .sd-me{margin-top:4px}
}

/* ───────── Typographie (impeccable « typeset », apple-design) ─────────
   Rôles : titre d'écran (Prata), titres de section et de carte (DM Sans 600), corps (DM Sans 400, 15 px), métadonnées (12 px, gris),
   étiquettes en capitales (11 px, espacées). DM Sans est chargée de 300 à 800 : plus de faux gras.
   Approche : interlettrage négatif seulement en très grand, positif en petit ; chiffres à chasse fixe là où ils changent. */
h1.title{letter-spacing:-.035em;text-wrap:balance;font-optical-sizing:auto}
@media (min-width:760px){h1.title{letter-spacing:-.03em}}
h2,h3,.sheet h2,.pf2 h1,.th-head b{text-wrap:balance}
.sub,.brief,.empty,p{text-wrap:pretty}
/* chiffres qui bougent ou s'alignent : heures, compteurs, montants, badges */
.conv-r small,.dot2,.chip,.kpi b,.amt,.inv .amt,.msx-f i,.th-body small,.cal-g button,.ev-d b,time{font-variant-numeric:tabular-nums}
/* capitales espacées : un peu plus d'air quand c'est petit */
.k,.sec .k{letter-spacing:.16em}
/* texte clair sur fond sombre : un rien plus d'interlignage et d'interlettrage */
body.dark{letter-spacing:.005em}
body.dark .sub,body.dark .brief{line-height:1.6}

/* menu latéral : la hauteur suit son contenu (plus de grand vide avant la photo) ; fondu en bas seulement s'il faut défiler */
@media (min-width:1024px){
  body.has-side .side{bottom:auto;max-height:calc(100dvh - 32px)}
  body.has-side .side .sd-list{flex:0 1 auto;min-height:0;padding-bottom:6px;-webkit-mask-image:none;mask-image:none}
  body.has-side .side .sd-list.sd-scroll{padding-bottom:18px;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 24px),transparent)}
}

/* menu latéral : rien ne bouge verticalement entre replié et déployé.
   Les titres de groupe gardent la même hauteur ; replié, ils deviennent un trait fin centré dans cette même hauteur. */
@media (min-width:1024px){
  body.has-side .side .sd-it,body.has-side .side:not(:hover):not(:focus-within) .sd-it{padding-top:8px;padding-bottom:8px}
  body.has-side .side .sd-g,body.has-side .side:not(:hover):not(:focus-within) .sd-g{position:relative;height:16px;line-height:16px;margin:10px 15px 4px;padding:0;overflow:visible;background:none}
  body.has-side .side:not(:hover):not(:focus-within) .sd-g{opacity:1;color:transparent}
  body.has-side .side .sd-g::before{content:'';position:absolute;left:0;width:18px;top:50%;height:1px;background:var(--bd);opacity:0;transition:opacity .2s}
  body.has-side .side:not(:hover):not(:focus-within) .sd-g::before{opacity:1}
}

/* menu latéral : plus de fondu ; la liste s'arrête après une rubrique entière et défile rubrique par rubrique */
@media (min-width:1024px){
  body.has-side .side .sd-list,body.has-side .side .sd-list.sd-scroll{-webkit-mask-image:none;mask-image:none;padding-bottom:4px;scroll-snap-type:y mandatory;overscroll-behavior:contain}
  body.has-side .side .sd-list>*{scroll-snap-align:start}
}
@media (min-width:1024px){body.has-side .side .sd-list,body.has-side .side .sd-list.sd-scroll{box-sizing:border-box;padding-bottom:0}}

/* menu latéral au-dessus des pages ouvertes (sinon, déployé, il passe sous la page et se retrouve coupé) */
@media (min-width:1024px){body.has-side .side{z-index:62}} /* le menu déplié passe au-dessus des pages (60) et d’Iconics Call (61) */

/* ───────── En-tête de profil (tous les profils) : rien ne chevauche la bannière, tout s'aligne sur une même ligne de base ───────── */
.pf2-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:22px;margin-top:0;padding:0 8px}
.pf2-av{margin-top:-62px;align-self:end}
.pf2-main{padding:16px 0 4px;gap:4px}
.pf2-main .pf-name{font-size:30px;line-height:1.08;letter-spacing:-.025em}
.pf2-hl{margin:0;font-size:14.5px}
.pf2-sub{margin:0;font-size:14.5px;color:var(--ink)}
.pf2-stats{gap:30px;padding:0 0 6px;align-self:end}
.pf2-st b{font-size:26px;line-height:1.1}
.pf2-st span{font-size:12.5px}
.pf2-under{margin:18px 8px 0;gap:16px}
/* une seule rangée d'actions, même hauteur partout : action principale pleine, le reste en contour */
.pf2-btns{gap:10px}
.pf2 .pf-follow,.pf2 .pf2-tb,.pf2 .pf-ico.hero{height:44px;border-radius:14px}
.pf2 .pf-follow{display:inline-flex;align-items:center;gap:8px;padding:0 20px;font-size:14.5px;transition:background .2s,color .2s,transform .15s}
.pf2 .pf-follow.on{background:var(--bg);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.pf2 .pf-follow:active,.pf2 .pf2-tb:active,.pf2 .pf-ico.hero:active{transform:scale(.97)}
.pf2-ck{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pf2 .pf-ico.hero{width:44px}
.pf2 .pf2-tb{display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:1.5px solid var(--bd);background:var(--bg);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .2s,transform .15s}
.pf2 .pf2-tb:hover,.pf2 .pf-ico.hero:hover{border-color:var(--ink)}
.pf2 .pf2-tb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* sous l'en-tête : étiquettes puis actions de mise en relation, en ligne (plus de boutons pleine largeur) */
.pf-chips{margin:14px 8px 0}
.pf-acts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 8px 0}
.pf-acts .btn{width:auto;flex:none;height:44px;padding:0 22px;border-radius:14px;font-size:14.5px}
.pf-acts .pf-views{flex:1 1 100%}
@media (max-width:760px){
  .pf2-top{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:0 4px}
  .pf2-av{margin-top:-46px}
  .pf2-main{padding-top:10px}
  .pf2-main .pf-name{font-size:24px}
  .pf2-stats{grid-column:1 / -1;justify-content:flex-start;gap:26px;padding:6px 0 0}
  .pf-acts .btn{flex:1 1 auto}
}
/* Mon organisation (agence) : choix du manager attitré d'un créateur */
.dir-r .ot-mgr{flex:none;max-width:200px}
.dir-r .ot-mgr .field{padding:8px 30px 8px 12px;font-size:14px}
@media (max-width:560px){.dir-r:has(.ot-mgr){flex-wrap:wrap}.dir-r .ot-mgr{max-width:none;flex-basis:100%}}
/* Mon organisation (agence) : droits d'un membre et organigramme */
.om-perm{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--bd);font-size:15px;cursor:pointer}
.om-perm:last-of-type{border-bottom:0}
.oc-card{padding:22px 12px;display:flex;flex-wrap:wrap;gap:28px;justify-content:center;overflow-x:auto}
.oc-card>.oc{flex:1 1 260px}
.lv-ov .ov-row{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--bd);font-variant-numeric:tabular-nums}
.lv-ov .ov-row:last-child{border-bottom:0}
.lv-ov .ov-row.h{font-size:12px;color:var(--muted);padding-top:10px;padding-bottom:8px}
.lv-ov .ov-row b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-ov .ov-row small{display:block;color:var(--muted);font-size:12.5px}
.lv-ov .ov-row span{text-align:right}
@media (max-width:560px){.lv-ov .ov-row{grid-template-columns:minmax(0,1fr) repeat(2,auto)}.lv-ov .ov-row .ov-x{display:none}}
.lv-ov .row-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.lv-ov .row-chips:empty{display:none}

/* tuile « Suivis » de l'accueil : ouvre « Talents et managers » */
.kpi-go{text-align:left;font:inherit;cursor:pointer;width:100%;position:relative;transition:transform .15s var(--ease,ease)}
.kpi-go:active{transform:scale(.98)}
.kpi-go:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mb-g{margin-top:16px}
.mb-h{display:flex;align-items:center;gap:12px;padding:0 2px 8px}
.mb-h .dir-b{flex:1;min-width:0}
.mb-n{min-width:28px;height:24px;padding:0 9px;border-radius:99px;background:var(--soft,rgba(0,0,0,.05));display:grid;place-items:center;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.mb-t{width:100%;text-align:left;font:inherit;color:inherit;background:none;border:0;cursor:pointer}

/* profil public, onglet Réseaux : l'audience totale en tête, part de chaque réseau */
.aud{margin-bottom:12px;padding:18px 18px 16px;border-radius:20px;background:var(--ink);color:var(--bg)}
.aud-top{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.aud-top .k{flex-basis:100%;color:inherit;opacity:.55;font-size:8.5px;letter-spacing:.2em}
.aud-top b{font-family:var(--fh);font-weight:400;font-size:44px;line-height:1;letter-spacing:-.04em}
.aud-top small{font-size:13px;opacity:.6}
.aud-bar{display:flex;gap:3px;height:6px;margin-top:16px;border-radius:99px;overflow:hidden}
.aud-bar i{min-width:4px;border-radius:99px;background:currentColor;opacity:.85}
.aud-bar .aud-instagram{background:linear-gradient(90deg,#f58529,#dd2a7b,#8134af);opacity:1}
.aud-bar .aud-tiktok{background:#25f4ee;opacity:1}
.aud-bar .aud-youtube{background:#ff0033;opacity:1}
.aud-bar .aud-snapchat{background:#fffc00;opacity:1}
.aud-bar .aud-twitch{background:#9146ff;opacity:1}
.aud-bar .aud-facebook{background:#1877f2;opacity:1}
.net-row .nr-n{text-align:right;line-height:1.1}
.net-row .nr-n small{display:block;font-family:var(--fs);font-size:11.5px;letter-spacing:0;color:var(--muted)}
/* cible des tuiles « scroll:… » : laisse la place à la barre du haut */
.kgo-anchor{scroll-margin-top:90px}

/* ═══ accueil manager (espace réel) : esprit Apple (SF, cartes à ombre douce, listes iOS) ═══ */
.mh{--sf:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Helvetica Neue',system-ui,sans-serif;--sfr:ui-rounded,'SF Pro Rounded',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;--mh-sh:0 1px 2px rgba(0,0,0,.04),0 6px 20px -6px rgba(0,0,0,.08);font-family:var(--sf);letter-spacing:-.01em;--mh-card:#fff}
body.dark .mh{--mh-card:#1c1c1e;--mh-sh:0 0 0 1px rgba(255,255,255,.06)}
.mh-head{margin:4px 0 22px}
.mh-eyebrow{margin:0 0 6px;font-size:13px;font-weight:600;letter-spacing:.01em;text-transform:uppercase;color:var(--muted)}
.mh-title{margin:0;font-family:var(--sf);font-weight:700;font-size:clamp(34px,4.2vw,48px);line-height:1.04;letter-spacing:-.035em;color:var(--ink)}
.mh-title span{color:var(--muted)}
.mh-pulse{display:inline-flex;align-items:center;gap:8px;margin:14px 0 0;padding:6px 12px 6px 10px;border-radius:99px;background:var(--mh-card);box-shadow:var(--mh-sh);font-size:13px;font-weight:600;color:var(--ink)}
.mh-pulse::before{content:'';width:8px;height:8px;border-radius:50%;background:#34c759}
.mh-pulse.on::before{background:#ff9500;box-shadow:0 0 0 4px rgba(255,149,0,.18)}
.mh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:8px}
.mh-stat{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:16px 18px 15px;border-radius:22px;background:var(--mh-card);box-shadow:var(--mh-sh);text-align:left;font-family:var(--sf);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.mh-stat:hover{box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 28px -8px rgba(0,0,0,.14)}
.mh-stat:active{transform:scale(.97)}
.mh-stat::after{content:'';position:absolute;right:18px;top:20px;width:7px;height:7px;border-top:2px solid var(--muted);border-right:2px solid var(--muted);transform:rotate(45deg);opacity:.5}
.mh-sk{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--muted)}
.mh-sk::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}
.mh-stat.is-todo .mh-sk{color:#ff9500}.mh-stat.is-tal .mh-sk{color:#007aff}.mh-stat.is-wait .mh-sk{color:#af52de}
.mh-stat b{margin-top:8px;font-family:var(--sfr);font-weight:700;font-size:34px;line-height:1;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.mh-stat small{margin-top:3px;font-size:13px;color:var(--muted)}
.mh-cols{margin-top:18px}
.mh-sec{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:18px 2px 10px}
.mh-sec h2{margin:0;font-family:var(--sf);font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.mh-link{font-size:15px;font-weight:500;color:#007aff;letter-spacing:-.01em}
.mh-link:hover{opacity:.7}
.mh-card{border-radius:20px;background:var(--mh-card);box-shadow:var(--mh-sh);padding:0 16px;margin-bottom:6px;overflow:hidden}
.mh-empty{padding:18px;display:flex;flex-direction:column;gap:3px}
.mh-empty b{font-size:15px;font-weight:600}.mh-empty small{color:var(--muted);font-size:13px}
.mh-lead,.mh-ev{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;text-align:left;font-family:var(--sf)}
.mh-list>*+*::before{content:'';position:absolute;left:52px;right:0;top:0;height:1px;background:var(--bd)}
.mh-lead{transition:opacity .2s}.mh-lead:active{opacity:.55}
.mh-li{width:40px;height:40px;border-radius:10px;flex:none;display:grid;place-items:center;background:linear-gradient(180deg,#3a3a3c,#1c1c1e);color:#fff;font-weight:700;font-size:13px;letter-spacing:.02em}
.mh-lb{flex:1;min-width:0}.mh-lb b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-lb small{display:block;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-lr{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none}.mh-lr b{font-family:var(--sfr);font-weight:600;font-size:16px;letter-spacing:-.01em}
.mh-chev{flex:none;width:8px;height:8px;margin:0 2px 0 4px;border-top:2px solid var(--muted);border-right:2px solid var(--muted);transform:rotate(45deg);opacity:.45}
.mh-day{width:40px;height:44px;border-radius:10px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--mh-card);box-shadow:inset 0 0 0 1px var(--bd);line-height:1;overflow:hidden}
.mh-day small{order:-1;width:100%;padding:3px 0;background:#ff3b30;color:#fff;font-size:8.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.mh-day b{font-family:var(--sfr);font-weight:600;font-size:18px;margin-top:3px}
.mh-tal{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:14px 6px;padding:18px 12px}
.mh-t{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;font-family:var(--sf);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.mh-t:active{transform:scale(.93)}
.mh-t .avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--soft,rgba(0,0,0,.05));font-weight:700;font-size:14px;box-shadow:0 0 0 1px var(--bd)}
.mh-t .avatar img{width:100%;height:100%;object-fit:cover}
.mh-t small{max-width:100%;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.mh-acts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:6px}
.mh-act{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:16px;border-radius:20px;background:var(--mh-card);box-shadow:var(--mh-sh);text-align:left;font-family:var(--sf);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.mh-act:hover{box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 28px -8px rgba(0,0,0,.14)}.mh-act:active{transform:scale(.97)}
.mh-ai{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;margin-bottom:12px;color:#fff;background:#8e8e93}
.mh-ai.c-or{background:linear-gradient(180deg,#ffad33,#ff9500)}.mh-ai.c-gr{background:linear-gradient(180deg,#4cd964,#30b94d)}.mh-ai.c-rd{background:linear-gradient(180deg,#ff6259,#ff3b30)}.mh-ai.c-bl{background:linear-gradient(180deg,#3d9bff,#007aff)}
.mh-ai svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mh-act b{font-size:15px;font-weight:600}.mh-act small{font-size:12.5px;color:var(--muted);line-height:1.35}
.mh .chip{font-family:var(--sf)}
@media (max-width:700px){.mh-stats{gap:8px}.mh-stat{padding:13px 12px;border-radius:18px}.mh-stat b{font-size:26px}.mh-stat::after{display:none}.mh-sk{font-size:11.5px}.mh-act{padding:14px}}
@media (prefers-reduced-motion:reduce){.mh-t,.mh-act,.mh-stat{transition:none}}

/* ═════════════════════════════════════════════════════════════════════
   DESIGN APPLE, TOUS LES ESPACES : police système SF, cartes blanches à ombre douce,
   titres de section façon iOS, chiffres arrondis, icônes de raccourcis colorées.
   Dernier bloc de la feuille : il l'emporte sur les styles précédents.
   ═════════════════════════════════════════════════════════════════════ */
:root{--fh:-apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',system-ui,sans-serif;--fm:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',system-ui,sans-serif;--fs:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',system-ui,sans-serif;--fr:ui-rounded,'SF Pro Rounded',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;--ap-card:#fff;--ap-sh:0 1px 2px rgba(0,0,0,.04),0 6px 20px -6px rgba(0,0,0,.08);--ap-sh-h:0 1px 2px rgba(0,0,0,.05),0 12px 28px -8px rgba(0,0,0,.14);--ap-blue:#007aff;--card:#fff}
body.dark{--card:#1c1c1e;--ap-card:#1c1c1e;--ap-sh:0 0 0 1px rgba(255,255,255,.06);--ap-sh-h:0 0 0 1px rgba(255,255,255,.12);--ap-blue:#0a84ff}
body{letter-spacing:-.01em}
/* titres */
h1.title{font-weight:700;letter-spacing:-.035em;line-height:1.04}
h1.title em{font-style:normal;color:var(--muted)}
.sheet h2,.idea h3,.empty-x b,.onb-t,.tour-tip b,.cal-h b,.pf-name,.pf-hero .pf-name,.tg-box h1,.sd-brand b{font-weight:700;letter-spacing:-.03em}
/* chiffres : arrondis, semi-gras */
.kpi b,.lead-r b,.nr-n,.sheet .big b,.ev-d b,.total b,.me b,.pr b,.cc-m,.og-n,.inv .amt{font-family:var(--fr);font-weight:600;letter-spacing:-.02em}
.cc-info b{font-weight:700;letter-spacing:-.02em}
/* petites étiquettes : majuscules discrètes, façon groupes de Réglages */
.k{font-size:12px;font-weight:600;letter-spacing:.03em}
/* titres de section façon iOS : gras, sans tiret, en minuscules */
.sec{margin:26px 2px 10px;align-items:baseline}
.sec .k{font-size:20px;font-weight:700;letter-spacing:-.02em;text-transform:none;color:var(--ink)}
.sec .k::before{content:none}
.sec .k::first-letter{text-transform:uppercase}
.sec>.chip,.sec>button.chip{background:none;padding:0;font-size:15px;font-weight:500;color:var(--ap-blue)}
.sec>.chip.new,.sec>.chip.wait,.sec>.chip.ok,.sec>.chip.no{padding:4px 10px;font-size:12px}
.sec>.chip.new{background:var(--ink);color:var(--bg)}
/* tuiles chiffrées : cartes blanches, pastille de couleur */
.kpis{gap:12px}
.kpis .kpi,.kpis .kpi:first-child{background:var(--ap-card);color:var(--ink);border:0;box-shadow:var(--ap-sh);border-radius:22px;padding:16px 18px 15px;animation:none}
.kpis .kpi::before,.kpis .kpi::after,.kpis .kpi:first-child::after{content:none}
.kpis .kpi .k{display:flex;align-items:center;gap:7px;opacity:1;font-size:13px;letter-spacing:0;text-transform:none;color:#ff9500}
.kpis .kpi .k::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.kpis .kpi:nth-child(2) .k{color:var(--ap-blue)}.kpis .kpi:nth-child(3) .k{color:#af52de}.kpis .kpi:nth-child(4) .k{color:#34c759}
.kpis .kpi b{font-size:clamp(26px,2.8vw,34px);font-weight:700;margin:8px 0 2px;color:var(--ink)}
.kpis .kpi small{opacity:1;color:var(--muted);font-size:13px}
.kpis .kpi-go{position:relative;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.kpis .kpi-go:hover{box-shadow:var(--ap-sh-h)}.kpis .kpi-go:active{transform:scale(.97)}
.kpis .kpi-go::after,.kpis .kpi-go:first-child::after{content:'';position:absolute;right:18px;top:20px;width:7px;height:7px;border:0;border-radius:0;border-top:2px solid var(--muted);border-right:2px solid var(--muted);transform:rotate(45deg);opacity:.5;animation:none}
/* cartes, listes, raccourcis : blanc + ombre douce, plus de bordure */
.card,.lead,.quick button,.inv,.tal,.ev,.empty,.pf-views,.pf-req,.mh-card{background:var(--ap-card);border:0;box-shadow:var(--ap-sh)}
.card,.lead,.quick button{border-radius:20px}
.lead,.quick button,.pf-views{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.lead:hover,.quick button:hover,.inv:hover,.tal:hover,.pf-views:hover{border-color:transparent;box-shadow:var(--ap-sh-h)}
.lead-ico{border-radius:10px}
.lead-b b{font-weight:600}
.empty{border-radius:20px;color:var(--muted)}
.empty-x{border:0;background:var(--ap-card);box-shadow:var(--ap-sh)}
/* raccourcis : icône dans une pastille colorée, comme dans Réglages */
.quick button>span:first-child{width:36px;height:36px;border-radius:9px;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(180deg,#3d9bff,#007aff)}
.quick button:nth-child(2)>span:first-child{background:linear-gradient(180deg,#4cd964,#30b94d)}
.quick button:nth-child(3)>span:first-child{background:linear-gradient(180deg,#ffad33,#ff9500)}
.quick button:nth-child(4)>span:first-child{background:linear-gradient(180deg,#ff6259,#ff3b30)}
.quick button>span:first-child svg{width:19px;height:19px;stroke-width:1.9}
.quick b{font-weight:600;font-size:15px}.quick small{font-size:12.5px}
/* boutons et pastilles */
.btn{font-weight:600;letter-spacing:-.01em}
.btn.ghost{border:0;background:var(--soft)}
.chip{font-family:var(--fs);font-size:12px;letter-spacing:0}
/* filtres : pastilles grises, la sélection en noir */
.filters button{border:0;background:var(--soft);font-size:14px;font-weight:500}
.filters button.on{background:var(--ink);color:var(--bg)}
/* champs */
.field{border-radius:12px}
/* fenêtres */
.sheet{background:var(--ap-card)}
.sheet h2{font-size:26px;line-height:1.1}
/* navigation : libellés en minuscules, taille lisible */
.tbtn,.header-login-btn{font-size:13px;letter-spacing:-.01em;text-transform:none}
.tbtn{padding:9px 15px}
.sd-it{font-weight:500}
/* grilles de talents sans photo plein cadre */
.cc{border:0;box-shadow:var(--ap-sh)}
@media (prefers-reduced-motion:reduce){.lead,.quick button,.pf-views,.kpis .kpi-go{transition:none}}
@media (max-width:700px){.kpis{gap:8px}.kpis .kpi,.kpis .kpi:first-child{padding:13px 12px;border-radius:18px}.kpis .kpi .k{font-size:11.5px;gap:5px;white-space:nowrap}.kpis .kpi .k::before{width:6px;height:6px}.kpis .kpi b{font-size:26px}.kpis .kpi-go::after,.kpis .kpi-go:first-child::after{content:none}.sec .k{font-size:19px}}

/* ═══ Liaison Premium : carte « Mon abonnement », pastilles ═══ */
.prem-card{position:relative;overflow:hidden;margin-bottom:14px;padding:18px 18px 16px;border-radius:22px;background:linear-gradient(135deg,#2a2a2c,#0b0b0c);color:#fff;box-shadow:0 14px 34px -14px rgba(0,0,0,.45)}
.prem-card::before{content:'';position:absolute;right:-60px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(238,176,69,.35),transparent 65%)}
.prem-card:not(.on){opacity:.92}
.prem-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.prem-badge{display:inline-flex;align-items:center;padding:5px 11px;border-radius:99px;background:linear-gradient(135deg,#ffdb8c,#eeb045);color:#1c1405;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.prem-gift{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:rgba(255,255,255,.85)}
.prem-gift svg{width:14px;height:14px}
.prem-card b{position:relative;display:block;font-size:22px;font-weight:700;letter-spacing:-.02em}
.prem-card p{position:relative;margin:6px 0 0;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.72)}
.chip.prem{background:linear-gradient(135deg,#ffe7ad,#f3c56b);color:#3a2a06}
.btn.prem-on{background:linear-gradient(135deg,#ffdb8c,#eeb045);color:#1c1405}
.prem-go{position:relative;display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:9px 14px;border-radius:99px;background:rgba(255,255,255,.12);color:#fff;font-weight:600;font-size:13px}
.prem-go svg{width:14px;height:14px}

/* ═══ Onglet Premium (maquette du 3 novembre) ═══ */
.pm{--gold:#eeb045;--gold2:#ffdb8c}
.pm-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:2px 0 18px;flex-wrap:wrap}
.pm-lead{color:var(--muted);font-size:14.5px;max-width:420px;line-height:1.45;margin:0}
.pm-bill{display:inline-flex;padding:4px;border-radius:99px;background:var(--soft);flex:none}
.pm-bill button{padding:8px 14px;border-radius:99px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.pm-bill button.on{background:var(--ink);color:var(--bg)}
.pm-bill em{font-style:normal;margin-left:6px;font-size:11px;padding:2px 7px;border-radius:99px;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#1c1405}
.pm-test{font-size:12px;color:var(--amber);margin:-6px 0 12px}
.pm-plans{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
@media (max-width:720px){.pm-plans{grid-template-columns:1fr}}
.pm-plan{position:relative;overflow:hidden;border-radius:24px;padding:22px 20px 20px;background:var(--card);border:1px solid var(--bd)}
.pm-plan.hero{background:linear-gradient(140deg,#2a2a2c,#0b0b0c);color:#fff;border:0;box-shadow:0 18px 40px -18px rgba(0,0,0,.55)}
.pm-plan.hero::before{content:'';position:absolute;right:-70px;top:-80px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(238,176,69,.38),transparent 65%);pointer-events:none}
body.dark .pm-plan.hero{background:linear-gradient(140deg,#2b2417,#0f0d09);box-shadow:0 0 0 1px rgba(238,176,69,.25),0 18px 40px -18px rgba(0,0,0,.8)}
.pm-plan>*{position:relative}
.pm-plan.mine{box-shadow:0 0 0 2px var(--gold)}
.pm-ph{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.pm-name{font-family:var(--fm);font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.pm-tag{font-size:11px;font-weight:700;padding:4px 10px;border-radius:99px;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#1c1405;letter-spacing:.04em}
.pm-price{display:flex;align-items:baseline;gap:6px}
.pm-price b{font-family:var(--fh);font-weight:400;font-size:40px;letter-spacing:-.04em;line-height:1}
.pm-price span{font-size:13.5px;color:var(--muted)}
.pm-plan.hero .pm-price span,.pm-plan.hero .pm-sub{color:rgba(255,255,255,.6)}
.pm-sub{font-size:13px;color:var(--muted);margin:6px 0 16px;min-height:18px}
.pm-feat{list-style:none;padding:0;display:grid;gap:9px;margin:0 0 16px;font-size:14px;line-height:1.35}
.pm-feat li{display:flex;gap:9px}
.pm-feat li::before{content:'';flex:none;width:18px;height:18px;margin-top:-1px;border-radius:50%;background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat}
.pm-plan.hero .pm-feat li::before,body.dark .pm-feat li::before{background-color:rgba(255,255,255,.12);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffdb8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.pm-apps{border-radius:18px;background:var(--soft);padding:12px 12px 12px 14px;margin-bottom:16px}
.pm-plan.hero .pm-apps{background:rgba(255,255,255,.08)}
.pm-apps-h{display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:inherit}
.pm-apps-h .t{flex:1;font-size:13.5px;font-weight:600;line-height:1.25}
.pm-apps-h .t small{display:block;font-weight:500;font-size:12px;color:var(--muted);margin-top:2px}
.pm-plan.hero .pm-apps-h .t small{color:rgba(255,255,255,.55)}
.pm-stack{display:flex}
.pm-stack img{width:24px;height:24px;border-radius:7px;margin-left:-7px;box-shadow:0 0 0 2px var(--soft)}
.pm-plan.hero .pm-stack img{box-shadow:0 0 0 2px #232325}
.pm-stack img:first-child{margin-left:0}
.pm-chev{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--card);flex:none;transition:transform .3s var(--ease)}
.pm-chev svg{width:13px;height:13px;transform:rotate(90deg)}
.pm-plan.hero .pm-chev{background:rgba(255,255,255,.12)}
.pm-apps.open .pm-chev{transform:rotate(180deg)}
.pm-list{display:none;margin-top:12px;gap:2px}
.pm-apps.open .pm-list{display:grid}
.pm-app{display:flex;align-items:flex-start;gap:11px;padding:8px 6px;border-radius:12px}
.pm-app img{width:34px;height:34px;border-radius:9px;flex:none}
.pm-app .i{flex:1;min-width:0}
.pm-app b{display:block;font-size:13.5px;font-weight:600}
.pm-app span{display:block;font-size:12px;color:var(--muted);line-height:1.3}
.pm-plan.hero .pm-app span{color:rgba(255,255,255,.58)}
.pm-app em{display:block;font-style:normal;font-size:11px;font-weight:600;margin-top:3px;color:var(--muted);letter-spacing:.01em}
.pm-plan.hero .pm-app em{color:var(--gold2);opacity:.8}
.pm-note{font-size:11.5px;color:var(--muted);padding:6px 6px 0;margin:0}
.pm-note.c{text-align:center;margin-top:8px}
.pm-plan.hero .pm-note{color:rgba(255,255,255,.5)}
.pm-cta{display:flex;justify-content:center;width:100%;padding:14px;border-radius:99px;background:var(--ink);color:var(--bg);font-weight:600;font-size:14px}
.pm-plan.hero .pm-cta{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#1c1405}
.pm-cta.ghost,.pm-plan.hero .pm-cta.ghost{background:transparent;color:inherit;box-shadow:inset 0 0 0 1.5px var(--bd)}
.pm-plan.hero .pm-cta.ghost{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.25)}
.pm-cta:disabled{opacity:.6}
.pm-seats{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:10px 12px;border-radius:14px;background:var(--soft);margin-bottom:16px}
.pm-plan.hero .pm-seats{background:rgba(255,255,255,.08)}
.pm .stp{display:flex;align-items:center;gap:10px;font-weight:600}
.pm .stp button{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--card);font-size:15px;color:inherit}
.pm .stp button:disabled{opacity:.35}
.pm-plan.hero .stp button{background:rgba(255,255,255,.14)}
.pm-bdemo{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.08);margin-bottom:16px;font-size:12.5px;color:rgba(255,255,255,.7)}
.pm-bdemo .av{position:relative;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#d9a7c7,#fffcdc);flex:none}
.pm-bdemo .av i{position:absolute;right:-3px;bottom:-3px;width:17px;height:17px;border-radius:4px;background:#fff;border:2px solid #1a1a1a;display:grid;place-items:center;font-style:normal;font-family:var(--fm);font-size:7px;color:#000}
.pm-bdemo b{color:#fff;font-weight:600;display:block;font-size:13px}
/* formule Étudiant */
.pm-stu{margin-top:0;margin-bottom:16px}
.stu-in{list-style:none;margin:8px 0 12px;padding:0;display:grid;gap:6px;font-size:13.5px;color:var(--muted)}
.stu-in li::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--gold,#eeb045);margin-right:9px;vertical-align:middle}
.stu-up{display:grid;gap:8px;margin-top:12px}
.stu-l{font-size:13px;font-weight:600}
.stu-up small{font-size:12px;color:var(--muted)}
.stu-file{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-align:center}
.stu-file.busy{opacity:.55;pointer-events:none}
.pm-stu .pm-tag{margin-left:auto}
.pm-legal{font-size:11.5px;color:var(--muted);margin:16px 0 0;text-align:center}
.pm-mine{margin-top:16px;display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:20px;background:var(--card);border:1px solid var(--bd);flex-wrap:wrap}
.pm-mine .pb{padding:5px 11px;border-radius:99px;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#1c1405;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.pm-mine .t{flex:1;font-size:13.5px;min-width:160px}
.pm-mine .t small{display:block;color:var(--muted);font-size:12.5px}
.pm-mine button{padding:9px 14px;border-radius:99px;background:var(--soft);color:var(--ink);font-weight:600;font-size:13px}
.pm-box{margin-top:16px;padding:16px 18px 18px;border-radius:20px;background:var(--card);border:1px solid var(--bd)}
.pm-box h3{margin:0 0 6px;font-size:16px;font-weight:700}
.pm-box-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pm-box .dir-r{display:flex;align-items:center;gap:12px}
.pm-tgl{margin-left:auto;display:flex}
.pm-warn{font-size:13px;color:var(--amber);margin:10px 0 0}
.pm .list a.lnk{display:flex;align-items:center;gap:14px;padding:16px 18px;border-top:1px solid var(--bd);font-size:15px;color:inherit;text-decoration:none}

/* ═══ Coches certifiées et logos d'agence à côté des noms ═══ */
.lv-check{display:inline-block;width:1.05em;height:1.05em;min-width:15px;min-height:15px;margin-left:5px;vertical-align:-.22em;flex:none}
.pf-name .lv-check{width:22px;height:22px;margin-left:8px;vertical-align:-3px}
.aff{display:inline-grid;place-items:center;width:17px;height:17px;margin-left:5px;border-radius:4px;background:#fff;color:#111;box-shadow:0 0 0 1px rgba(0,0,0,.14);font-size:7.5px;font-weight:800;vertical-align:-.24em;overflow:hidden;flex:none}
.aff img{width:100%;height:100%;object-fit:cover;display:block}
.ic-badge.aff{border-radius:4px}
.pf-name .aff{width:22px;height:22px;border-radius:6px;margin-left:6px;vertical-align:-3px}
/* fiche profil : le nom est en flex (gap) ; coche et logo collés au nom comme sur X */
.pf2-main .pf-name{gap:6px}.pf2-main .pf-name .lv-check,.pf2-main .pf-name .aff{margin-left:0;position:relative;top:.09em}
/* personnes : photo ronde ; organisations certifiées (.sq) : carrée aux coins arrondis */
.pf2-av:not(.sq),.pf2-av:not(.sq) img{border-radius:50%}
body.dark .aff{box-shadow:none}
.lv-check.student{color:#7C5CFF}
.lv-check[data-seal]{cursor:pointer;outline-offset:2px;border-radius:50%}
/* « Compte certifié » (modèle X) : petite fenêtre accrochée à la coche */
.seal-pop{position:fixed;z-index:90;width:min(320px,calc(100vw - 24px));padding:18px 18px 16px;border-radius:20px;background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--bd),0 18px 44px -12px rgba(0,0,0,.35);opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top center;transition:opacity .16s ease,transform .2s cubic-bezier(.22,1,.36,1)}
.seal-pop.on{opacity:1;transform:none}
.seal-pop .sp-t{display:block;font-size:19px;font-weight:700;letter-spacing:-.02em;margin-bottom:12px}
.seal-pop .sp-l{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;font-size:14px;line-height:1.4;color:var(--muted)}
.seal-pop .sp-l .lv-check,.seal-pop .sp-l svg{width:20px;height:20px;min-width:20px;margin:0;flex:none;cursor:default}
.seal-pop .sp-l > svg:not(.lv-check){fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--ink)}
.seal-pop .sp-b{display:block;width:100%;margin-top:6px;padding:11px 14px;border-radius:99px;background:var(--ink);color:var(--bg);font-weight:600;font-size:14px}
@media (prefers-reduced-motion:reduce){.seal-pop{transition:opacity .12s}}
/* organisations certifiées : photo carrée aux coins arrondis */
.pf2-av.sq,.pf2-av.sq img{border-radius:24%}
:is(.dir-r,.po-h,.po-rp,.cm2,.pf-rt):has(.lv-check.gold) .avatar,:is(.dir-r,.po-h,.po-rp,.cm2,.pf-rt):has(.lv-check.gold) .avatar img{border-radius:26%}

/* ───────── Iconics Labs : logo animé à l'ouverture, puis les vignettes ───────── */
.lb-hero{color:var(--ink);display:flex;justify-content:center;align-items:center;min-height:min(62vh,520px);transition:min-height .7s cubic-bezier(.22,1,.36,1),padding .7s cubic-bezier(.22,1,.36,1)}
.lb-hero .lb-logo{width:min(560px,86vw);height:auto;overflow:visible;transition:width .7s cubic-bezier(.22,1,.36,1)}
.lb-hero.done{min-height:0;padding:6px 0 18px;justify-content:flex-start}
.lb-hero.done .lb-logo{width:min(300px,62vw)}
.lb-logo .lb-i,.lb-logo .lb-c,.lb-logo .lb-star,.lb-logo .lb-dot,.lb-logo .lb-word,.lb-logo .lb-tile{transform-box:fill-box;transform-origin:center;opacity:0}
.lb-hero.play .lb-i{animation:lb-rise .55s cubic-bezier(.22,1,.36,1) both}
.lb-hero.play .lb-c{animation:lb-rise .55s .08s cubic-bezier(.22,1,.36,1) both}
.lb-hero.play .lb-star{animation:lb-star .7s .32s cubic-bezier(.34,1.56,.64,1) both}
.lb-hero.play .lb-dot{animation:lb-dot .5s calc(.45s + var(--i) * 45ms) cubic-bezier(.22,1,.36,1) both}
.lb-hero.play .lb-word{animation:lb-word .6s .55s cubic-bezier(.22,1,.36,1) both}
.lb-logo .lb-shelf{fill:currentColor;fill-opacity:.05;stroke:currentColor;stroke-opacity:.1;stroke-width:.4;transform-box:fill-box;transform-origin:center bottom;opacity:0}
.lb-logo .lb-tile{transform-origin:50% 100%}
.lb-hero.play .lb-shelf{animation:lb-dockup .55s .7s cubic-bezier(.22,1,.36,1) both}
.lb-hero.play .lb-tile{animation:lb-dockup .55s .7s cubic-bezier(.22,1,.36,1) both,lb-wave .42s calc(1.05s + var(--i) * 50ms) ease-in-out both}
.lb-hero.done .lb-dot{animation:lb-float 3.2s calc(var(--i) * -230ms) ease-in-out infinite;opacity:1}
@keyframes lb-rise{from{opacity:0;transform:translateY(14%) scale(.94)}to{opacity:1;transform:none}}
@keyframes lb-star{from{opacity:0;transform:scale(.2) rotate(-90deg)}to{opacity:1;transform:none}}
@keyframes lb-dot{from{opacity:0;transform:translate(-60%,60%) scale(.3)}to{opacity:1;transform:none}}
@keyframes lb-word{from{opacity:0;transform:translateX(-8%)}to{opacity:1;transform:none}}
@keyframes lb-dockup{from{opacity:0;transform:translateY(120%)}to{opacity:1;transform:none}}
@keyframes lb-wave{0%,100%{opacity:1;transform:none}50%{opacity:1;transform:scale(1.38)}}
@keyframes lb-float{0%,100%{transform:none}50%{transform:translate(4%,-12%)}}
.lb-body .labs-tile{opacity:0;transform:translateY(10px)}
.lb-body.in .labs-tile{opacity:1;transform:none;transition:opacity .45s calc(var(--i) * 40ms) ease,transform .55s calc(var(--i) * 40ms) cubic-bezier(.22,1,.36,1)}
@media (prefers-reduced-motion:reduce){
  .lb-hero,.lb-hero .lb-logo{transition:none}
  .lb-logo .lb-i,.lb-logo .lb-c,.lb-logo .lb-star,.lb-logo .lb-dot,.lb-logo .lb-word,.lb-logo .lb-tile{opacity:1;animation:none!important}
  .lb-body .labs-tile{opacity:1;transform:none;transition:none}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Iconics Labs : au survol du logo (ou au toucher), en boucle tant qu'on reste dessus : les bulles restent autour du C,
   l'étoile pulse, des étincelles partent du C vers le dock et chaque app rebondit quand la sienne arrive */
.lb-hero.done .lb-logo{cursor:pointer}
/* l'ouverture est finie : plus aucune animation d'arrivée ne doit se rejouer (sinon l'étoile clignote quand la souris part) */
.lb-hero.done .lb-tile,.lb-hero.done .lb-star,.lb-hero.done .lb-i,.lb-hero.done .lb-c,.lb-hero.done .lb-word,.lb-hero.done .lb-shelf{opacity:1;animation:none}
.lb-hero.done .lb-star{transition:transform .35s cubic-bezier(.22,1,.36,1)}
.lb-logo .lb-fly{opacity:0;transform-box:fill-box;transform-origin:center}
.lb-hero.done.boom .lb-star{animation:lb-spin .7s cubic-bezier(.34,1.56,.64,1),lb-pulse 1.8s .7s ease-in-out infinite}
.lb-hero.done.boom .lb-fly{animation:lb-flow 2.4s calc(var(--t) * 110ms) cubic-bezier(.55,0,.35,1) infinite}
.lb-hero.done.boom .lb-tile{animation:lb-catch 2.4s calc(var(--i) * 110ms) linear infinite}
@keyframes lb-spin{0%{opacity:1;transform:none}45%{opacity:1;transform:rotate(100deg) scale(1.35)}100%{opacity:1;transform:rotate(90deg)}}
@keyframes lb-pulse{0%,100%{opacity:1;transform:rotate(90deg)}50%{opacity:1;transform:rotate(90deg) scale(1.15)}}
@keyframes lb-flow{0%,16%{opacity:0;transform:scale(.6)}22%{opacity:1;transform:scale(1.5)}60%{opacity:1;transform:translate(var(--dx),var(--dy)) scale(.8)}64%,100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.3)}}
@keyframes lb-catch{0%{opacity:1;transform:none}12%,58%{opacity:0;transform:scale(.3)}66%{opacity:1;transform:scale(1.22);animation-timing-function:ease-out}76%,100%{opacity:1;transform:none}}
/* effet loupe du Dock au survol d'une app */
.lb-hero.done .lb-shelf{opacity:1}
.lb-hero.done .lb-tile{animation:none;opacity:1;transition:transform .22s cubic-bezier(.22,1,.36,1)}
.lb-hero.done .lb-tile:hover{transform:scale(1.5) translateY(-6%)}
.lb-hero.done .lb-tile:has(+ .lb-tile:hover),.lb-hero.done .lb-tile:hover + .lb-tile{transform:scale(1.22)}
.lb-hero.done .lb-tile:has(+ .lb-tile + .lb-tile:hover),.lb-hero.done .lb-tile:hover + .lb-tile + .lb-tile{transform:scale(1.08)}
@media (prefers-reduced-motion:reduce){.lb-hero.done .lb-logo *,.lb-hero.done.boom *{animation:none!important;transition:none!important}.lb-logo .lb-fly{display:none}.lb-logo .lb-shelf{opacity:1}}
/* rechargement sur Iconics Labs : le chargeur affiche l'animation d'Iconics Labs (pas le logo Liaison) */
html.labs-pre .app-loader:not(.labs) > *{visibility:hidden}
.app-loader.labs .lb-hero{min-height:0;color:inherit}
/* ───────── Iconics Labs, page « Vitrine » (maquette validée) : À la une + Récemment mis à jour, puis les rayons ───────── */
.lb-hero,.lb-body{max-width:1100px}
.lb-body{padding-bottom:56px}
.lb-hero.done .lb-logo{width:min(250px,60vw)}
.lbv-intro{color:var(--muted);font-size:14px;margin:0 0 20px}
.lbv-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;align-items:start;margin-bottom:8px}
.lbv{min-width:0}
.lbv-track{position:relative;height:240px;border-radius:24px;overflow:hidden;touch-action:pan-y}
.lbv-slide{position:absolute;inset:0;display:flex;align-items:flex-end;padding:24px 26px;color:#fff;background:radial-gradient(120% 140% at 85% 10%,color-mix(in srgb,var(--c) 70%,#fff) 0%,var(--c) 45%,color-mix(in srgb,var(--c) 55%,#000) 100%);opacity:0;visibility:hidden;transform:scale(1.02);transition:opacity .6s ease,transform .8s cubic-bezier(.22,1,.36,1),visibility 0s .6s}
.lbv-slide.on{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease,transform .8s cubic-bezier(.22,1,.36,1),visibility 0s}
.lbv-txt{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding-right:110px}
.lbv-txt small{font-size:10.5px;font-weight:700;letter-spacing:1.4px;opacity:.85}
.lbv-txt h2{font-size:26px;font-weight:800;letter-spacing:-.7px;margin:4px 0 6px;color:#fff}
.lbv-txt p{font-size:13px;line-height:1.45;opacity:.92;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.lbv-meta{margin-top:10px}
.lbv-meta .labs-pills{flex-direction:row;align-items:center;gap:8px}
.lbv-meta .labs-st{background:rgba(255,255,255,.22);color:#fff}
.lbv-meta .labs-st.beta{background:#fff;color:var(--c)}
.lbv-meta .labs-pf{color:rgba(255,255,255,.85);font-size:12px}
.lbv-go{margin-top:12px;border:0;border-radius:99px;background:#fff;color:#111;font-weight:700;font-size:13px;padding:8px 16px;cursor:pointer;transition:transform .15s}
.lbv-go:active{transform:scale(.96)}
.lbv-slide img{position:absolute;right:22px;top:22px;width:92px;height:auto;border-radius:22%;box-shadow:0 18px 40px rgba(0,0,0,.28);transform:translateY(8px) rotate(-4deg);transition:transform .9s cubic-bezier(.22,1,.36,1)}
.lbv-slide.on img{transform:none;animation:lbv-float 5s ease-in-out .9s infinite}
@keyframes lbv-float{0%,100%{transform:none}50%{transform:translateY(-5px)}}
/* petites icônes sous la carte : un vrai dock de Mac (étagère en verre, loupe au survol, rebond et point sous l'app affichée) */
.lbv-dots{display:flex;justify-content:center;align-items:flex-end;gap:4px;width:max-content;max-width:100%;height:46px;overflow:visible;margin:12px auto 0;padding:6px 8px 9px;border-radius:16px;background:color-mix(in srgb,var(--ink) 5%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 8%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.lbv-dot{position:relative;flex:none;border:0;background:none;padding:0 2px;cursor:pointer;opacity:.55;transition:opacity .25s}
.lbv-dot img{width:28px;height:28px;border-radius:22%;display:block;transition:width .2s cubic-bezier(.22,1,.36,1),height .2s cubic-bezier(.22,1,.36,1)}
.lbv-dot::after{content:"";position:absolute;left:50%;bottom:-6px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--ink);opacity:0;transition:opacity .25s}
.lbv-dot.on{opacity:1}
.lbv-dot.on::after{opacity:.7}
.lbv-dot.on img{animation:lbv-launch .7s cubic-bezier(.3,.7,.4,1)}
.lbv-dots:hover .lbv-dot{opacity:1}
/* loupe : l'icône grandit vraiment (les voisines s'écartent) et déborde vers le haut, comme le Dock */
.lbv-dot:hover img{width:46px;height:46px}
.lbv-dot:has(+ .lbv-dot:hover) img,.lbv-dot:hover + .lbv-dot img{width:37px;height:37px}
.lbv-dot:has(+ .lbv-dot + .lbv-dot:hover) img,.lbv-dot:hover + .lbv-dot + .lbv-dot img{width:31px;height:31px}
@keyframes lbv-launch{0%,100%{transform:none}30%{transform:translateY(-38%)}55%{transform:none}75%{transform:translateY(-14%)}}
.lbv-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.lbv-side .lbv-k{margin:0 2px 0}
.lbv-mini{display:flex;gap:12px;align-items:center;background:var(--soft);border:0;border-radius:16px;padding:12px;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:transform .15s}
.lbv-mini:active{transform:scale(.98)}
.lbv-mini img{width:44px;height:44px;border-radius:22%;flex:none}
.lbv-mini span{min-width:0}
.lbv-mini b{display:block;font-size:14px}
.lbv-mini small{display:block;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbv-k{font-size:11.5px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);font-weight:700;margin:22px 2px 10px}
.lbv-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lbv-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:var(--soft);border:0;border-radius:18px;padding:14px;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:transform .15s}
.lbv-card:active{transform:scale(.98)}
.lbv-card img{width:44px;height:44px;border-radius:22%}
.lbv-card b{font-size:15px}
.lbv-card small{color:var(--muted);font-size:12.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.9em}
.lbv-line{margin-top:auto}
.lbv-line .labs-pills{flex-direction:row;align-items:center;gap:6px;flex-wrap:wrap}
.lbv-line .labs-st{font-size:10.5px;padding:4px 8px}
.lbv-line .labs-pf{font-size:11.5px}
.lb-body .lbv-card{opacity:0;transform:translateY(10px)}
.lb-body.in .lbv-card{opacity:1;transform:none;transition:opacity .45s calc(var(--i) * 35ms) ease,transform .55s calc(var(--i) * 35ms) cubic-bezier(.22,1,.36,1)}
@media (max-width:900px){.lbv-top{grid-template-columns:1fr}.lbv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.lbv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lbv-track{height:330px}.lbv-slide{padding:20px}.lbv-txt{padding-right:0}.lbv-txt h2{font-size:22px}.lbv-slide img{width:60px;top:18px;left:20px;right:auto}.lbv-dot img{width:22px;height:22px}.lbv-dots{height:40px}}
@media (prefers-reduced-motion:reduce){.lbv-slide,.lbv-slide img,.lbv-dot{transition:none}.lbv-slide.on img,.lbv-dot.on img{animation:none}.lb-body .lbv-card{opacity:1;transform:none;transition:none}}
/* Mon organisation : accès aux places et licences */
.ot-prem{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;margin-bottom:14px;text-align:left;color:inherit}
.ot-prem-i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#ffdb8c,#eeb045);color:#1c1405;flex:none}
.ot-prem-i svg{width:17px;height:17px}
.ot-prem-t{flex:1;font-size:14px}.ot-prem-t small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.ot-prem>svg{width:16px;height:16px;color:var(--muted)}
.pm-offer{margin:8px 0 0;font-size:13px;font-weight:600;color:var(--amber)}
/* Iconics Agency : offrir un abonnement */
.pm-gift-q{display:flex;gap:8px;margin:10px 0 6px}.pm-gift-q .field{flex:1}
.pm-gift-act{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.pm-gift-act .selw select{width:auto;padding-right:30px}
#pm-gift .dir-r{display:flex;align-items:center;gap:12px}

/* équipe Iconics : bascule d'aperçu Créateurs / Marques et agences dans Premium */
.pm-aud{margin:0 0 14px;width:max-content;max-width:100%}
.pm-seat-in{width:3.6em;padding:4px 2px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:center;-moz-appearance:textfield}
.pm-seat-in::-webkit-outer-spin-button,.pm-seat-in::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pm-seat-in:focus{outline:2px solid currentColor;outline-offset:1px;background:rgba(127,127,127,.12)}

/* ───────── Iconics Sign : contrats ───────── */
.sg-hero{display:flex;align-items:center;gap:14px}
.sg-hero b{display:block;font-size:16px}.sg-hero small{display:block;color:var(--muted);font-size:13px;line-height:1.45;margin-top:2px}
.sg-logo{flex:none;border-radius:22%}
.sg-sheet-h{display:flex;align-items:center;gap:12px}.sg-sheet-h h2{margin:0}
.sg-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.sg-pick button{text-align:left;cursor:pointer;border:0;font:inherit;color:inherit;padding:14px 16px}
.sg-pick button b{display:block;font-size:15px}.sg-pick button small{color:var(--muted);font-size:12.5px}
.sg-pick button:hover{box-shadow:0 0 0 2px var(--ink) inset}
.sg-wrap{display:grid;grid-template-columns:minmax(300px,400px) 1fr;gap:20px;align-items:start}
.sg-view{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}
.sg-doc{min-width:0;position:sticky;top:12px}
.sg-doc .ct:not(.ct-pg){box-shadow:0 0 0 1px var(--bd)}
.sg-side .btn{width:100%}
.sg-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sg-rcpt b{display:block;margin-bottom:8px}
.sg-person{display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--bd);padding:10px 2px;font:inherit;color:inherit;cursor:pointer}
.sg-person small{display:block;color:var(--muted);font-size:12.5px}
.sg-person.off{opacity:.5;cursor:not-allowed}
.sg-cl{padding:12px 14px;margin-bottom:8px}
.sg-cl-h{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.sg-cl-h span{font-weight:700;color:var(--muted);min-width:22px}
.sg-cl-h .field{flex:1;font-weight:600}
.sg-cl textarea{width:100%;min-height:84px;resize:vertical}
.sg-ic{width:30px;height:30px;border-radius:9px;border:0;background:var(--soft,rgba(0,0,0,.05));color:inherit;cursor:pointer;flex:none}
.sg-cv{width:100%;height:auto;aspect-ratio:3/1;background:#fafafa;border-radius:16px;box-shadow:0 0 0 1px var(--bd) inset;touch-action:none;cursor:crosshair;margin-top:12px}
.sg-cv-b{display:flex;justify-content:space-between;align-items:center;margin:6px 0 4px}
.sg-ok{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:10px 0 12px;line-height:1.4}
.sg-ok input{margin-top:3px}
.sg-ov{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);opacity:0;transition:opacity .3s}
.sg-ov.on{opacity:1}
.sg-ov-in{text-align:center;color:#fff;transform:scale(.92);transition:transform .45s cubic-bezier(.22,1,.36,1)}
.sg-ov.on .sg-ov-in{transform:none}
.sg-ov-in b{display:block;font-size:22px;margin-top:18px}.sg-ov-in small{display:block;opacity:.6;margin-top:4px;letter-spacing:.12em;text-transform:uppercase;font-size:11px}
.sg-anim .sg-ink{stroke-dasharray:180;stroke-dashoffset:180;animation:sgInk 1.1s .2s cubic-bezier(.65,0,.35,1) forwards}
.sg-anim .sg-star{transform-origin:74px 25px;transform:scale(0);animation:sgStar .5s 1.25s cubic-bezier(.34,1.56,.64,1) forwards}
@keyframes sgInk{to{stroke-dashoffset:0}}
@keyframes sgStar{to{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.sg-anim .sg-ink{animation:none;stroke-dashoffset:0}.sg-anim .sg-star{animation:none;transform:none}}
@media (max-width:900px){.sg-wrap,.sg-view{grid-template-columns:1fr}.sg-doc{position:static}.sg-pick,.sg-2{grid-template-columns:1fr}}

/* Iconics Sign : correctifs d'affichage, PDF dans la page, rapport d'import, comparaison */
.sg-wrap>*,.sg-view>*,.sg-cmp>*{min-width:0}
.sg-wrap .filters{flex-wrap:wrap;overflow:visible}
.sg-col{position:sticky;top:12px;display:flex;flex-direction:column;gap:14px}
.sg-col .sg-doc{position:static}
.sg-rcpt{padding:14px 16px}
.sg-rcpt .field{width:100%}
.sg-pdf{display:flex;flex-direction:column;gap:6px}
.sg-pdf iframe{width:100%;height:78vh;border:0;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--bd)}
.sg-cmp{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.sg-rep{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.sg-rep>div{background:var(--soft);border-radius:14px;padding:12px;text-align:center}
.sg-rep b{display:block;font-size:20px}.sg-rep small{color:var(--muted);font-size:12px}
@media (max-width:900px){.sg-col{position:static}.sg-cmp{grid-template-columns:1fr}.sg-rep{grid-template-columns:1fr 1fr}.sg-pdf iframe{height:60vh}}

/* Iconics Sign : option recommandée à l'import, logo dans le menu et les raccourcis */
.sg-pick .sg-reco{box-shadow:0 0 0 2px #e3ad45;position:relative}
.sg-reco-b{display:inline-block;margin-bottom:6px;padding:2px 9px;border-radius:999px;background:#e3ad45;color:#111;font-size:11px;font-weight:700;letter-spacing:.02em}
.sd-it .sg-logo,.sc-i .sg-logo{flex:none;display:block}

/* Iconics Sign : photo Liaison du destinataire */
.sg-person{display:flex;align-items:center;gap:12px;text-align:left}
.sg-person .avatar,.sg-who .avatar{width:40px;height:40px;flex:none}
.sg-pt{display:flex;flex-direction:column;min-width:0}
.sg-who{display:flex;align-items:center;gap:12px;margin-bottom:10px}

/* Iconics Sign : chaque colonne défile seule */
.sg-split{align-items:stretch}
.sg-split>*{overflow-y:auto;overscroll-behavior:contain;max-height:100%;padding-right:4px;scrollbar-width:thin}
.sg-split .sg-col,.sg-split .sg-doc{position:static}
.sg-split .sg-col .sg-pdf iframe{height:calc(100vh - 230px);min-height:420px}
.sg-cmp.sg-split #sg-cmp-pdf{overflow:hidden}
.sg-cmp.sg-split #sg-cmp-pdf,.sg-cmp.sg-split .sg-pdf{height:100%}
.sg-cmp.sg-split .sg-pdf iframe{height:auto;flex:1;min-height:0}

/* Iconics Sign : confirmation sur iPhone */
.sg-ph{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:18px 16px;border-radius:16px;background:var(--soft);margin-top:6px}
.sg-ph-i{font-size:30px;animation:sgPh 1.6s ease-in-out infinite}
.sg-ph small{color:var(--muted);max-width:320px}
.sg-ph-w{font-size:13px;font-weight:600;margin-top:4px}
@keyframes sgPh{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.sg-ph-i{animation:none}}
.sg-reco-app{font-size:13px;line-height:1.5;padding:10px 12px;border-radius:12px;background:rgba(227,173,69,.14);margin:6px 0 10px}
.linkbtn{background:none;border:0;color:var(--muted);text-decoration:underline;font:inherit;font-size:13px;cursor:pointer;padding:8px;margin-top:4px}

/* Iconics Sign : compteur des contrats gratuits */
.sg-quota{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:12px 2px 2px;font-size:13px;color:var(--muted)}
.sg-quota b{color:var(--fg,inherit)}
.sg-qbar{flex:1 1 120px;height:6px;border-radius:99px;background:var(--soft);overflow:hidden}
.sg-qbar i{display:block;height:100%;background:#e3ad45;border-radius:99px}
.sg-quota .linkbtn{padding:0;margin:0}

/* Iconics Sign : document plus grand */
@media (min-width:901px){.sg-wrap{grid-template-columns:minmax(300px,380px) minmax(0,1fr)}}
.sg-wrap .sg-doc .ct,.sg-view .sg-doc .ct{max-width:900px;font-size:15px}
.sg-pages{display:none;min-width:0;overflow-x:auto}
.sg-zoom{align-self:flex-end;background:var(--soft);border:0;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:inherit}
.sg-wrap.sg-big{grid-template-columns:minmax(0,1fr)}
.sg-wrap.sg-big>#sg-form{display:none}
.sg-wrap.sg-big .sg-doc .ct{max-width:1040px;font-size:16px;padding:56px 64px 40px}
.sg-wrap.sg-big #sg-doc{display:none}
.sg-wrap.sg-big .sg-pages{display:block}
.sg-pages .ct-pages{padding:4px 0 24px}
@media (max-width:900px){.sg-zoom{display:none}}

/* Iconics Sign : corrections de la campagne de tests */
[hidden]{display:none!important}
.sg-hero{padding:16px 18px}
.sg-cl textarea{field-sizing:content;min-height:84px;max-height:60vh}
.sg-pdf a,.sg-pdf a:visited{color:inherit}
@media (max-width:900px){.sg-wrap{grid-template-columns:minmax(0,1fr)}.sg-cl .ibtn,.sg-cl button{min-width:40px;min-height:40px}}

.sg-cv-alt{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 12px}
.sg-saved{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 12px;font-size:13px;color:var(--muted)}
.sg-cv-lock{opacity:.92}

/* ───────── Iconics Book : rendez-vous (types, disponibilités, rendez-vous, réservation depuis un profil) ───────── */
:root{--bk:#CA8A04;--bk-d:#A16207;--bk-s:rgba(202,138,4,.14);--bk-on:#fff}
body.dark{--bk:#EAB308;--bk-d:#EAB308;--bk-s:rgba(234,179,8,.16);--bk-on:#1a1203}
.btn.xs{width:auto;display:inline-flex;padding:9px 15px;font-size:12.5px;letter-spacing:0}
.sd-it .sg-logo.bk,.sd-book .sg-logo{flex:none;display:block}
#bk-host .hint,.bk-pk .hint{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:12px 2px 0;font-size:12.5px;color:var(--muted);line-height:1.45}
.count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:11px;font-weight:700}
#bk-host .btn,.btn.bkc{border-radius:12px}
.btn.bkc{background:var(--bk-d);color:var(--bk-on)}
#bk-host .field{border-radius:12px;border:1px solid var(--bd);background:var(--card)}
#bk-host .field:focus{border-color:var(--bk-d);box-shadow:0 0 0 3px var(--bk-s)}
#bk-host .card{border-radius:16px}
#bk-host .fl,.bkp .fl{position:static;display:block;gap:0;padding:0;border:0;border-radius:0;background:none;animation:none}
.bk-hero{padding:16px 18px;margin-bottom:14px;flex-wrap:wrap}
.bk-hero>div{min-width:0;flex:1 1 220px}
.bk-hq{margin-left:auto;display:flex;flex-direction:column;gap:5px;min-width:150px;font-size:12.5px;color:var(--muted)}
.bk-hq b{color:var(--ink);font-weight:650;font-size:13px}
.bk-hq .linkbtn{padding:0;margin:0;text-align:left}
.bk-hq .meter{height:6px;border-radius:99px;background:var(--soft);overflow:hidden}.bk-hq .meter i{display:block;height:100%;background:var(--bk);border-radius:99px}
/* onglets */
.bk-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;margin:0 0 18px;background:var(--soft);border-radius:14px;align-self:flex-start;width:fit-content;max-width:100%}
.bk-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:10px;font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
.bk-tabs button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bk-tabs button.on{background:var(--card);color:var(--ink);font-weight:650;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body.dark .bk-tabs button.on{background:var(--bg)}
.bk-tabs button:focus-visible,.bk-sw:focus-within,.bk-pk button:focus-visible,.bk-tc button:focus-visible{outline:2px solid var(--bk-d);outline-offset:2px}
.bk-tabs.sm{margin-bottom:14px}.bk-tabs.sm button{min-height:38px;padding:0 14px;font-size:13px}
.bk-tabs .count{background:var(--bk-d);color:var(--bk-on)}
/* en-têtes de section */
.bk-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 0 16px}
.bk-head h3{margin:0;font-family:var(--fh);font-weight:600;font-size:24px;letter-spacing:-.02em;line-height:1.2}
.bk-head p{margin:4px 0 0;color:var(--muted);font-size:13.5px}
.bk-head .btn{width:auto;gap:8px;padding:13px 18px}.bk-head .btn svg,.bk-tnew svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round}
/* carte du lien public */
.bk-lc{padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.bk-lc small{display:block;color:var(--muted);font-size:12.5px}.bk-lc b{display:block;font-weight:600;overflow-wrap:anywhere;font-size:14.5px}
.bk-lc .row-btns{display:flex;flex-wrap:wrap;gap:8px}.bk-lc .btn{width:auto;white-space:nowrap}
/* types */
.bk-tg{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:14px;margin-top:6px}
.bk-tc{padding:18px;display:flex;flex-direction:column;gap:10px;min-width:0}
.bk-tc h4{margin:0;display:flex;align-items:center;gap:10px;font-size:16.5px;font-weight:600;overflow-wrap:anywhere}
.bk-tc h4 i{width:12px;height:12px;border-radius:4px;background:var(--bk);flex:none}
.bk-tc .m{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.bk-tc .m svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.bk-tc .btn{margin-top:auto}
.bk-tch{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.bk-tch .bk-tg2{margin:-8px -4px 0 0}
.bk-tc.off h4,.bk-tc.off .m{opacity:.5}.bk-toff{margin:-4px 0 0;font-size:12.5px;color:var(--muted)}
.bk-tnew{min-height:130px;border:1.5px dashed var(--muted);border-radius:16px;background:transparent;color:var(--ink);font-weight:600;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px}
.bk-tnew:hover{border-color:var(--bk-d);color:var(--bk-d)}
/* semaine à dessiner */
.bk-mg,.bk-mg2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;align-items:start}
.bk-mg>*,.bk-mg2>*{min-width:0}
.bk-mg .sec:first-child,.bk-mg2 .sec:first-child{margin-top:4px}
.bk-wkh{display:flex;align-items:center;gap:8px;margin-bottom:10px}.bk-wkh b{margin-right:auto;font-size:15px}
.bk-wkh .ibtn{width:36px;height:36px}
.bk-wk{--ph:30px;display:grid;grid-template-columns:30px repeat(7,minmax(0,1fr));user-select:none;-webkit-user-select:none;position:relative}
.bk-wk .dh{padding:0 0 6px;text-align:center;font-size:11px;color:var(--muted);font-weight:600;line-height:1.2}
.bk-wk .dh b{display:block;font-size:16px;color:var(--ink);font-weight:650}
.bk-wk .dh.today b{display:grid;margin:0 auto;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--bk-d);color:var(--bk-on);font-size:13px}
.bk-wk .ax,.bk-wk .col{position:relative;height:calc(var(--ph) * 14)}
.bk-wk .ax span{position:absolute;right:5px;font-size:10px;color:var(--muted);transform:translateY(-50%)}
.bk-wk .col{border-left:1px solid var(--bd);cursor:crosshair;touch-action:pan-y;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--ph) - 1px),var(--bd) calc(var(--ph) - 1px),var(--bd) var(--ph))}
.bk-wk .col:last-child{border-right:1px solid var(--bd)}.bk-wk .col.we{background-color:rgba(127,127,127,.06)}
.bk-wk .rg{position:absolute;left:2px;right:2px;border-radius:8px;background:var(--bk-s);border:1.5px solid var(--bk-d);color:var(--ink);font-size:10px;font-weight:600;padding:3px 4px;cursor:grab;overflow:hidden;line-height:1.2;touch-action:none;z-index:2}
.bk-wk .rg .hd{position:absolute;left:0;right:0;height:10px;cursor:ns-resize}.bk-wk .rg .hd.t{top:0}.bk-wk .rg .hd.b{bottom:0}
.bk-wk .rg .hd::after{content:'';position:absolute;left:50%;margin-left:-7px;width:14px;height:3px;border-radius:2px;background:var(--bk-d)}
.bk-wk .rg .hd.t::after{top:2px}.bk-wk .rg .hd.b::after{bottom:2px}
.bk-wk .rg .del{position:absolute;top:2px;right:2px;width:16px;height:16px;border-radius:50%;background:var(--bk-d);color:var(--bk-on);font-size:11px;line-height:16px;text-align:center;padding:0}
.bk-wk .bk{position:absolute;left:5px;right:5px;border-radius:6px;background:repeating-linear-gradient(135deg,var(--card) 0 4px,var(--soft) 4px 8px);border:1.5px solid #7c4dff;font-size:9.5px;font-weight:650;padding:2px 3px;overflow:hidden;pointer-events:none;z-index:3;line-height:1.15}
.bk-wkf{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.bk-leg{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}
.bk-leg i{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--bk-s);border:1.5px solid var(--bk-d)}
.bk-leg i.b{background:repeating-linear-gradient(135deg,var(--card) 0 3px,var(--soft) 3px 6px);border-color:#7c4dff;margin-left:8px}
/* horaires hebdomadaires (résumé et interrupteurs par jour) */
.bk-dr{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:start;gap:8px 14px;border-top:1px solid var(--bd);padding:12px 0}.bk-dr:first-child{border-top:0}
.bk-dh{display:flex;align-items:center;gap:8px;min-height:40px}
.bk-dr .dn{font-weight:600;font-size:14.5px}.bk-dr .dn.off{color:var(--muted);font-weight:500}
.bk-dr .pl{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 160px}.bk-dr .pl i{font-style:normal;font-size:13px;padding:6px 12px;border-radius:10px;border:1px solid var(--bd);font-variant-numeric:tabular-nums}
.bk-dr>.off{color:var(--muted);font-size:13.5px;line-height:40px;grid-column:2 / -1}
.bk-rgs{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.bk-rg{display:flex;align-items:center;gap:8px}
.bk-rg .to{font-size:13.5px;color:var(--muted)}
/* une heure se voit modifiable : fond de champ, contour au survol, anneau ambre au clic */
.bk-hm{display:inline-flex;align-items:center;height:40px;padding:0 10px;border-radius:10px;background:var(--soft);border:1.5px solid transparent;cursor:pointer;transition:border-color .15s,background .15s}
.bk-hm:hover{border-color:var(--bk-d)}
.bk-hm:focus-within{border-color:var(--bk-d);background:var(--card);box-shadow:0 0 0 3px color-mix(in srgb,var(--bk-d) 22%,transparent)}
.bk-hm input{border:0;background:transparent;font:inherit;font-size:15px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;width:74px;padding:0;outline:none;cursor:pointer}
.bk-hm input::-webkit-calendar-picker-indicator{opacity:.45;cursor:pointer;margin-left:2px}
.bk-ico{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--muted);transition:background .15s,color .15s}
.bk-ico:hover,.bk-ico:focus-visible{background:var(--soft);color:var(--ink)}
.bk-ico svg,.bk-addl svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bk-cpb{margin-top:2px}
.bk-addl{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px 0 6px;border-radius:9px;font-size:13px;font-weight:600;color:var(--bk-d);margin-left:-6px}
.bk-addl:hover,.bk-addl:focus-visible{background:var(--soft)}
@media (max-width:600px){.bk-dr{grid-template-columns:minmax(0,1fr) auto}.bk-dh{grid-column:1}.bk-cpb{grid-column:2;grid-row:1}.bk-rgs{grid-column:1 / -1}.bk-dr>.off{grid-column:1 / -1;line-height:1.4}}
.bk-tg2{position:relative;width:48px;height:44px;flex:none;display:grid;place-items:center}
.bk-tg2 i{display:block;width:44px;height:26px;border-radius:99px;background:var(--muted);position:relative;transition:background .2s}
.bk-tg2 i::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
.bk-tg2[aria-checked="true"] i{background:var(--bk-d)}.bk-tg2[aria-checked="true"] i::after{transform:translateX(18px)}
.bk-tg2:focus-visible{outline:2px solid var(--bk-d);outline-offset:2px;border-radius:12px}
/* exceptions */
.bk-ex{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;min-height:52px;border-top:1px solid var(--bd)}
.bk-ex:first-child{border-top:0}.bk-ex b{font-weight:620}.bk-ex small{display:block;color:var(--muted);font-size:12.5px}
.bk-ex .ibtn{width:32px;height:32px;font-size:17px}
.bk-exf{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;border-top:1px solid var(--bd);margin-top:6px;padding-top:2px}
.bk-exf .btn{grid-column:1/-1;margin-top:14px}.bk-hh{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bk-none{padding:16px 0;color:var(--muted);font-size:13.5px}
/* rendez-vous : jours puis lignes */
.bk-dh{margin:20px 2px 8px;font-size:14px;font-weight:600;color:var(--muted)}.bk-dh:first-child{margin-top:4px}
.bk-ap{display:flex;flex-direction:column;gap:10px}
.bk-ap .ap{display:grid;grid-template-columns:128px minmax(0,1fr) auto;gap:8px 20px;align-items:center;padding:14px 18px;background:var(--card);border:1px solid var(--bd);border-radius:16px}
.bk-ap .ap-t{font-weight:600;font-variant-numeric:tabular-nums;font-size:14.5px}
.bk-ap .ap-n{display:flex;align-items:center;gap:8px;font-weight:600;min-width:0}.bk-ap .ap-n i{width:10px;height:10px;border-radius:3px;background:var(--bk);flex:none}.bk-ap .ap-n span{overflow-wrap:anywhere}
.bk-ap .ap-s{color:var(--muted);font-size:13.5px;margin-top:2px;overflow-wrap:anywhere}
.bk-ap .ap-s a{color:inherit;text-decoration:underline}
.bk-ap .ap-o{margin-top:6px;font-size:13px;overflow-wrap:anywhere}
.bk-ap .acts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.bk-ap .acts .btn{border-radius:10px;padding:11px 16px;font-size:13px}
.bk-ap .acts .btn.main{background:var(--bk-d);color:var(--bk-on)}
.bk-hist .hr{display:grid;grid-template-columns:110px minmax(0,1.2fr) minmax(0,1fr) 110px;gap:12px;align-items:center;min-height:46px;border-top:1px solid var(--bd);font-size:13.5px}.bk-hist .hr:first-child{border-top:0}
.bk-stats{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:10px;margin-bottom:16px}
.bk-stats .stat{padding:15px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.bk-stats .l{font-size:12px;color:var(--muted);font-weight:600}
.bk-stats .n{font-family:var(--fh);font-weight:600;font-size:30px;letter-spacing:-.03em;line-height:1.15}
.bk-stats .n small{font-size:14px;color:var(--muted);font-weight:500;letter-spacing:0}
.bk-stats .s{font-size:12px;color:var(--muted)}
.bk-stats .meter{height:6px;border-radius:99px;background:var(--soft);overflow:hidden;margin:8px 0 6px}
.bk-stats .meter i{display:block;height:100%;background:var(--bk);border-radius:99px}
/* réglages */
.bk-sw{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--bd);cursor:pointer}.bk-sw:first-child{border-top:0}
.bk-sw b{display:block;font-weight:620;font-size:14.5px}.bk-sw small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px;line-height:1.4}
.bk-url{display:flex;align-items:center;gap:0;margin-top:4px;border-radius:12px;background:var(--soft);padding-left:14px;font-size:13px;color:var(--muted)}
.bk-url .field{background:transparent!important;border:0!important;box-shadow:none!important;padding:13px 12px 13px 0;font-size:13px;color:var(--ink);min-width:0}
.bk-lk{margin:12px 0 14px}.bk-lk .btn{flex:none}
.bk-rules{padding:2px 16px 8px}
.bk-rules h4,.bk-card-h{margin:14px 0 2px;font-size:16px;font-weight:600}
/* choix d'un créneau (page publique, réservation et déplacement) */
.bk-pk{container-type:inline-size}
.bk-pkg{display:grid;grid-template-columns:1fr;gap:18px}
.bk-pk-h{display:flex;align-items:center;justify-content:space-between;margin:2px 0 12px}.bk-pk-h b{font-family:var(--fh);font-weight:600;font-size:19px}
.bk-pk-n{display:flex;gap:4px}
.bk-pk-h .ibtn{width:44px;height:44px;border-radius:12px;border:1px solid var(--bd);display:grid;place-items:center}.bk-pk-h .ibtn[disabled]{opacity:.35}
.bk-pk-h .ibtn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.bk-cal .h{font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:6px 0}
.bk-cal button{height:46px;border-radius:12px;font-weight:400;font-size:15px;color:var(--muted);opacity:.5;font-variant-numeric:tabular-nums}
.bk-cal button.av2{background:var(--bk-s);color:var(--bk-d);opacity:1;font-weight:650}
.bk-cal button.on{background:var(--bk-d);color:var(--bk-on);opacity:1}
.bk-pk-s h3{margin:0 0 12px;min-height:24px;font-family:var(--fh);font-size:17px;font-weight:600}
.bk-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bk-slots button{height:46px;border-radius:12px;border:1.5px solid var(--bk);font-weight:600;font-size:14.5px;background:var(--card);color:var(--bk-d);font-variant-numeric:tabular-nums}
.bk-slots button.on{background:var(--bk-d);color:var(--bk-on);border-color:var(--bk-d)}
@container (min-width:560px){
  .bk-pkg{grid-template-columns:minmax(0,1.5fr) minmax(150px,1fr);gap:28px}
  .bk-slots{grid-template-columns:1fr;max-height:430px;overflow-y:auto;padding:2px}
  .bk-slots button{height:48px}
}
.bk-types{flex-wrap:wrap}
.bk-done{text-align:center;padding:10px 0 4px}.bk-done h2{margin:10px 0 4px}
.bk-ok{width:60px;height:60px;border-radius:50%;background:var(--bk-d);display:grid;place-items:center;margin:6px auto 12px}.bk-ok svg{width:28px;stroke:var(--bk-on);fill:none;stroke-width:2.6}
#bk-host{container-type:inline-size}
@container (max-width:860px){.bk-mg,.bk-mg2{grid-template-columns:1fr}}
@media (max-width:900px){.bk-stats{grid-template-columns:1fr 1fr}.bk-stats .bk-q,.bk-stats .stat:last-child{grid-column:1/-1}}
@media (max-width:760px){
  .bk-tabs{width:100%}.bk-tabs button{flex:1 1 auto;justify-content:center;padding:0 10px}
  .bk-wk{--ph:26px;grid-template-columns:24px repeat(7,minmax(0,1fr))}.bk-wk .rg{font-size:8.5px;padding:2px 2px}.bk-wk .rg .del{width:14px;height:14px;line-height:14px;font-size:10px;top:auto;bottom:12px;right:1px}.bk-wk .rg{letter-spacing:-.4px}.bk-wk .bk{left:2px;right:2px;font-size:8px}
  .bk-ap .ap{grid-template-columns:minmax(0,1fr) auto;padding:14px}.bk-ap .ap-t{grid-column:1/-1}
  .bk-hist .hr{grid-template-columns:minmax(0,1fr) auto;row-gap:0;padding:8px 0}.bk-hist .hr span:nth-child(1){display:none}.bk-hist .hr span:nth-child(3){grid-column:1;color:var(--muted);font-size:12.5px}.bk-hist .hr .chip{grid-column:2;grid-row:1/3;justify-self:end}
  .bk-exf{grid-template-columns:1fr}.bk-dr .dn{width:auto;flex:1 1 90px}
  .bk-head h3{font-size:21px}.bk-hq{margin-left:0;width:100%}
}

/* Claude · assistant Iconics : carte épinglée en haut (accueil, Messages) et fil */
.as-pin{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:12px 14px;border-radius:20px;background:var(--card);border:1px solid var(--bd);text-align:left;transition:transform .25s var(--ease)}
.as-pin:active{transform:scale(.985)}
.as-av{width:46px;height:46px;flex:none;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center}
.as-av svg{width:22px;height:22px}
.as-av.big{width:40px;height:40px}
.as-pin .conv-b{flex:1;min-width:0}
.as-pin .conv-b small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-dot{width:10px;height:10px;min-width:0;padding:0}
.as-thread .th-who{flex-direction:column;align-items:flex-start;gap:0;cursor:default}.as-thread .th-who small{color:var(--muted);font-size:12px}
.as-q{align-self:flex-start;display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px;max-width:min(92%,560px)}
.as-opt{padding:10px 16px;border-radius:99px;border:1px solid var(--ink);background:var(--card);color:var(--ink);font-weight:600;font-size:14px;transition:transform .2s var(--ease),background .2s}
.as-opt:active{transform:scale(.97)}.as-opt:disabled{opacity:.5}
.as-opt.other{border-style:dashed;border-color:var(--bd);color:var(--muted)}.as-opt.other.on{border-color:var(--ink);color:var(--ink)}
.as-oth{display:flex;gap:8px;width:100%;align-items:center}.as-oth[hidden]{display:none}
.as-oth input{flex:1;min-width:0;padding:11px 14px;border-radius:99px;border:1px solid var(--bd);background:var(--card);color:var(--ink);font:inherit}
.as-oth .btn{width:auto;padding:11px 18px}
.as-ans{align-self:flex-start;font-size:13px;color:var(--muted);margin:2px 4px 10px}.as-ans b{color:var(--ink)}

/* ───── accueil en tableau de bord (grille de blocs, édition sur place façon écran d'accueil) ───── */
#v-home,#dv-home{position:relative}
.hb-off{display:none!important}
/* grille : 12 colonnes (6 sur tablette, 1 sur mobile). Les blocs se rangent par rangées de 8 px (hauteur mesurée en JS), sans trou. */
.hgrid{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:20px;grid-auto-rows:8px;grid-auto-flow:row dense;align-items:start}
.hb{position:relative;min-width:0;grid-column:span 6;padding-bottom:18px;container-type:inline-size}
.hb-void{padding-bottom:0}
.hb[data-sz=s]{grid-column:span 4}.hb[data-sz=m]{grid-column:span 6}.hb[data-sz=l]{grid-column:span 12}
.hb[data-fixed]{grid-column:1/-1}
/* disposition d'origine : deux colonnes comme avant (gauche / droite), en-têtes de bloc sur toute la largeur */
.hgrid:not(.free) .hb[data-reg=T]{grid-column:1/-1}
.hgrid:not(.free) .hb[data-reg=L]{grid-column:1/span 6}
.hgrid:not(.free) .hb[data-reg=R]{grid-column:7/span 6}
.hb-jig{position:relative;border-radius:22px}
.hb-in{display:flow-root}
.hb-in>:first-child,.hb-in>.kgo-anchor:first-child+*{margin-top:0}
.hb-in>:last-child{margin-bottom:0}
@media (max-width:1024px){
  .hgrid{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:16px}
  .hb[data-sz=s]{grid-column:span 2}.hb[data-sz=m]{grid-column:span 3}.hb[data-sz=l]{grid-column:span 6}
  .hgrid:not(.free) .hb[data-reg=L]{grid-column:1/span 3}.hgrid:not(.free) .hb[data-reg=R]{grid-column:4/span 3}
  .hgrid:not(.free) .hb[data-reg=T]{grid-column:1/-1}
}
@media (max-width:760px){.hgrid{grid-template-columns:minmax(0,1fr)}.hb,.hgrid .hb[data-sz]{grid-column:1/-1!important}}
/* le contenu s'adapte à la largeur du bloc */
@media (min-width:761px){
  @container (max-width:560px){.shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.mh-stat b{font-size:28px}}
  @container (max-width:400px){.kpis,.mh-stats,.quick,.mh-acts{grid-template-columns:minmax(0,1fr)}.shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
}
.shortcuts,.quick,.mh-acts{position:relative}
/* barre : dans le flux, au-dessus de la grille, jamais par-dessus un autre élément */
.hl-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:34px;margin:0 0 8px}
.hl-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:99px;font-size:12.5px;font-weight:600;color:var(--muted);background:transparent;transition:background .2s,color .2s,transform .2s var(--ease)}
.hl-btn svg,.hl-x svg,.hl-sz svg,.hl-plus svg,.hl-lk svg,.hl-pi svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hl-btn:hover,.hl-btn:focus-visible{color:var(--ink);background:var(--soft)}
.hl-btn:active{transform:scale(.96)}
@media (max-width:760px){.hl-btn span{display:none}.hl-btn{padding:9px}}
.hl-bar.on{position:sticky;z-index:45;justify-content:space-between;flex-wrap:wrap;padding:10px 12px 10px 16px;margin:0 0 14px;border-radius:20px;background:var(--card);border:1px solid var(--bd);box-shadow:0 12px 30px -16px rgba(0,0,0,.3)}
.hl-tip{flex:1 1 260px;margin:0;font-size:13px;line-height:1.35;color:var(--muted)}
.hl-bar-r{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hl-lk{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:99px;font-size:12.5px;font-weight:600;color:var(--muted);transition:background .2s,color .2s}
.hl-lk:hover,.hl-lk:focus-visible{background:var(--soft);color:var(--ink);outline:none}
.hl-done{width:auto!important;padding:9px 20px;font-size:13.5px}
.hl-editing .shortcuts{display:grid!important}
/* édition : tout tremble doucement, tout se prend et se déplace */
.hl-editing .hb:not([data-fixed]){cursor:grab;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;outline:none}
.hl-editing [data-tile]{cursor:grab;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:relative}
.hl-editing .hb:not([data-fixed]):focus-visible>.hb-jig{box-shadow:0 0 0 2px var(--ink)}
.hl-editing [data-tile]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.hl-editing .hb:not([data-fixed])>.hb-jig{box-shadow:0 0 0 1.5px rgba(127,127,127,.3);transition:transform .2s var(--ease),box-shadow .2s;animation:hl-jig var(--jt,.26s) ease-in-out var(--jd,0s) infinite alternate}
.hl-editing [data-tile]{animation:hl-jig var(--jt,.25s) ease-in-out var(--jd,0s) infinite alternate}
@keyframes hl-jig{from{transform:rotate(calc(var(--ja,.8deg)*-1))}to{transform:rotate(var(--ja,.8deg))}}
.hl-editing .shortcuts button:active,.hl-editing .quick button:active,.hl-editing .mh-act:active{transform:none}
.hl-editing .quick>button:hover,.hl-editing .mh-act:hover{transform:none;box-shadow:none}
body.hl-noselect,body.hl-noselect *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}
.hl-held{z-index:60;transition:none!important}
.hb.hl-held>.hb-jig{animation:none!important;transform:scale(1.02);box-shadow:0 26px 56px -14px rgba(0,0,0,.4)!important;background:var(--bg)}
[data-tile].hl-held{animation:none!important;box-shadow:0 16px 34px -10px rgba(0,0,0,.4)}
.hl-calm,.hl-calm.hb-jig{animation:none!important}
.hl-settle{z-index:60}
.hl-slot{position:absolute;pointer-events:none;border-radius:22px;border:1.5px dashed var(--muted);background:var(--soft);opacity:.6;box-sizing:border-box;transition:left .2s var(--ease),top .2s var(--ease),width .2s var(--ease),height .2s var(--ease)}
.shortcuts>.hl-slot,.quick>.hl-slot,.mh-acts>.hl-slot{border-radius:18px}
/* boutons posés sur les blocs et les tuiles */
.hl-ctl{position:absolute;inset:0;pointer-events:none;z-index:3}
.hl-ctl>*{pointer-events:auto}
.hl-x{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--bg);box-shadow:0 2px 8px rgba(0,0,0,.3);cursor:pointer}
.hl-x svg{width:13px;height:13px;stroke-width:2.4}
.hl-ctl>.hl-x{position:absolute;top:-10px;left:-10px}
.hl-editing .hb:not([data-fixed]) .hb-in{padding:10px}
[data-tile]>.hl-x{position:absolute;top:-7px;left:-7px;z-index:2;width:22px;height:22px}
[data-tile]>.hl-x svg{width:11px;height:11px}
.hl-sz{position:absolute;top:-13px;right:12px;display:inline-flex;align-items:center;gap:5px;padding:6px 10px 6px 8px;border-radius:99px;background:var(--card);border:1px solid var(--bd);box-shadow:0 2px 10px rgba(0,0,0,.14);font-size:11.5px;font-weight:600;color:var(--ink)}
.hl-sz svg{width:14px;height:14px}
.hl-sz:hover,.hl-sz:focus-visible{background:var(--soft);outline:none}
.hl-plus{display:grid;place-items:center;min-height:64px;border-radius:18px;border:1.5px dashed var(--muted);background:transparent;color:var(--muted);transition:background .2s,color .2s}
.hl-plus:hover,.hl-plus:focus-visible{background:var(--soft);color:var(--ink);outline:none}
.hl-plus svg{width:22px;height:22px}
/* panneau ancré */
.hl-pop{position:fixed;z-index:80;max-height:min(60vh,420px);overflow-y:auto;padding:8px;border-radius:20px;background:var(--card);border:1px solid var(--bd);box-shadow:0 24px 60px -20px rgba(0,0,0,.4);animation:hl-pop-in .18s var(--ease)}
@keyframes hl-pop-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.hl-ps{display:flex;flex-direction:column;gap:2px;padding:4px 0}
.hl-ps+.hl-ps{border-top:1px solid var(--bd);margin-top:4px;padding-top:8px}
.hl-ps .k{padding:2px 10px 6px;font-size:11px}
.hl-ps button{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;font-size:13.5px;font-weight:600;text-align:left}
.hl-ps button:hover,.hl-ps button:focus-visible{background:var(--soft);outline:none}
.hl-pi{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--soft);flex:none}
.hl-pi svg{width:15px;height:15px}.hl-pi .sg-logo{width:20px;height:20px}
.hl-ps small{padding:2px 10px 4px;font-size:12px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){
  .hl-editing .hb:not([data-fixed])>.hb-jig,.hl-editing [data-tile],.hl-btn,.hl-pop{animation:none;transition:none}
  .hl-editing .hb:not([data-fixed])>.hb-jig{box-shadow:none;outline:1.5px dashed var(--muted);outline-offset:3px}
  .hl-editing [data-tile]{outline:1.5px dashed var(--muted);outline-offset:2px}
  .hl-slot{transition:none}
}
@media (max-width:760px){.hl-bar.on{padding:8px 10px 8px 14px;gap:6px}.hl-tip{font-size:12px}}

/* recadrage d'une photo de profil */
.crop-ov{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:16px;animation:cropIn .2s ease-out}
.crop-box{width:min(420px,100%);background:var(--card);color:var(--ink);border-radius:24px;padding:22px;box-shadow:0 30px 80px -30px rgba(0,0,0,.6)}
.crop-box h2{margin:0 0 4px}
.crop-st{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:18px;background:var(--soft);touch-action:none;cursor:grab;margin:14px 0 12px;user-select:none}
.crop-st:active{cursor:grabbing}
.crop-st img{position:absolute;left:50%;top:50%;max-width:none;pointer-events:none}
.crop-mask{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.45);pointer-events:none}
.crop-st.sq .crop-mask{border-radius:22%}
.crop-z{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:13px;color:var(--muted)}
.crop-z input{flex:1;accent-color:var(--ink)}
@keyframes cropIn{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.crop-ov{animation:none}}

.aff[data-org]{cursor:pointer}
.aff[data-org]:hover{transform:scale(1.08)}

/* badges à côté d'un nom : groupe unique, aligné au centre des lettres, tailles relatives au nom (liste, fil, profil) */
.idb{display:inline-flex;align-items:center;gap:.28em;margin-left:.32em;vertical-align:-.16em;line-height:1;white-space:nowrap}
.idb > .lv-check,.idb > .aff,.idb > .ic-badge{position:static;top:auto;margin:0;vertical-align:baseline;flex:none;min-width:0;min-height:0}
.idb > .lv-check{width:1.12em;height:1.12em}
.idb > .aff,.idb > .ic-badge.aff{width:1.04em;height:1.04em;border-radius:.26em;font-size:inherit}
.idb > .aff svg{width:68%;height:auto;display:block}
.idb > .aff:not(:has(img)):not(:has(svg)){font-size:.42em;width:2.48em;height:2.48em}
.pf-name .idb,.pf-hero .idb{font-size:21px;margin-left:10px;vertical-align:middle}
.pf2-main .pf-name .idb{margin-left:0}
/* photo de profil : l'anneau blanc est dessiné autour (pas de bordure), la photo remplit tout le cadre, sans liseré gris sur les bords */
.pf2-av{border:0;background:var(--bg);box-shadow:0 0 0 4px var(--bg),0 18px 40px -18px rgba(0,0,0,.35)}
.pf2-av:not(:has(img)){background:var(--soft)}
.pf2-av img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%}
/* photo de profil (Safari) : la photo est posée sur tout le cadre en position absolue, jamais à sa taille naturelle → cercle parfait, plus d'œuf */
.pf2-av{position:relative;display:block;aspect-ratio:1/1;overflow:hidden}
.pf2-av img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;border-radius:inherit}
.pf2-av span{position:absolute;inset:0;display:grid;place-items:center}

/* ═════════ Messagerie (maquette d'Adam, 12/11) : liste à gauche, discussion à droite ; suit le thème clair ou sombre ═════════ */
.msx,.thread{--bd2:color-mix(in srgb,var(--ink) 22%,transparent)}
.msx{display:flex;flex-direction:column;margin-top:0;color:var(--ink)}
.msx-l{display:flex;flex-direction:column;gap:14px;min-width:0}
.msx-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px}
.msx-top .title{margin:0;font-family:var(--fs);font-size:32px;line-height:1.1;font-weight:700;letter-spacing:-.04em}
.msx-act{margin:-6px 6px 0;font-size:13px;color:var(--muted)}
.mv-tools{display:flex;gap:8px;margin:0;flex:none}
.mv-ib{width:46px;height:46px;flex:none;border-radius:50%;border:1px solid var(--bd2);display:grid;place-items:center;color:var(--ink);transition:background .15s}
.mv-ib:hover{background:var(--soft)}
.mv-new{height:46px;padding:0 18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:15px;font-weight:700;display:flex;align-items:center;gap:6px;transition:transform .2s var(--ease)}
.mv-new:active,.mv-ib:active{transform:scale(.95)}
.mv-ib svg,.mv-new svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mv-new svg{width:18px;height:18px;stroke-width:2.4}
.msx-sr{display:flex;gap:8px}
.msx-search{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:48px;padding:0 18px;border:1px solid var(--bd2);border-radius:999px;background:var(--bg);color:var(--muted)}
.msx-search:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.msx-search svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.msx-search input{flex:1;min-width:0;border:0;background:none;outline:0;font:inherit;font-size:15px;color:var(--ink)}
.msx-sel{flex:none;max-width:46%;height:48px;padding:0 12px;border:1px solid var(--bd2);border-radius:999px;background:var(--bg);color:var(--ink);font-size:14px;font-weight:600;color-scheme:light}
body.dark .msx-sel{color-scheme:dark}
.msx-seg{display:flex;gap:2px;padding:4px;border:1px solid var(--bd);border-radius:999px}
.msx-sg{flex:1 1 0;min-width:0;height:44px;padding:0 10px;border-radius:999px;color:var(--ink);font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .15s}
.msx-sg:hover{background:var(--soft)}
.msx-sg.on{background:var(--ink);color:var(--bg)}
.msx-sg i{font-style:normal;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:12px;font-weight:700;display:grid;place-items:center}
.msx-sg.on i{background:var(--bg);color:var(--ink)}
.msx-list{display:flex;flex-direction:column;gap:2px;min-height:120px}
.msx-list>*{flex:none}
.msx-sec{display:flex;align-items:center;gap:6px;margin:0;padding:10px 8px 6px;font-family:var(--fs);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.msx-sec svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.msx-list .cv-sw{border-radius:16px;overflow:visible}
.msx-list .conv,.msx-list .cv-sw>.conv{width:100%;min-height:68px;margin:0;padding:10px 52px 10px 10px;gap:12px;border:0;border-radius:16px;background:transparent;color:var(--ink);transition:background .15s}
.msx-list .conv:hover{background:color-mix(in srgb,var(--soft) 65%,transparent)}
.msx-list .conv.on,.msx-list .cv-sw>.conv.on{background:var(--soft)}
.msx-list .conv .avatar{width:46px;height:46px;font-size:15px}
.msx-list .conv-b b{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;min-width:0}
.msx-list .conv-b .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.msx-list .conv-b b svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.msx-list .conv-b b .idb{margin-left:0;flex:none}.msx-list .conv-b b .idb svg{width:auto;height:auto;fill:revert;stroke:revert}
.msx-list .conv-b small{font-size:14px;color:var(--muted)}
.msx-list .conv.un .conv-b small{color:var(--ink);font-weight:600}
.msx-list .conv-r{gap:6px}
.msx-list .conv-r small{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.msx-list .dot2{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:12px}
.msx-list .cv-more{right:6px;width:44px;height:44px}
@media (hover:hover) and (pointer:fine){
  .msx-list .conv,.msx-list .cv-sw>.conv{padding-right:10px}
  .msx-list .cv-more{opacity:0;right:10px;width:34px;height:34px}
  .msx-list .cv-sw:hover .cv-more,.msx-list .cv-sw:focus-within .cv-more{opacity:1}
  .msx-list .cv-sw:hover .conv-r,.msx-list .cv-sw:focus-within .conv-r{opacity:0}
}
.msx-none{padding:24px 8px;text-align:center;color:var(--muted);font-size:14px}
.msx-blank{margin:auto;padding:24px;color:var(--muted);text-align:center}
.msx-pinb{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border-radius:12px;color:var(--muted);font-size:14px;font-weight:600;align-self:flex-start}
.msx-pinb:hover{color:var(--ink);background:var(--soft)}
.msx-pinb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.msx-who{position:relative;flex:none}
.msx-me,.msx:not(.wide) .msx-me{display:flex;align-items:center;gap:12px;width:100%;height:56px;padding:0 12px;border:1px solid var(--bd);border-radius:16px;background:transparent;font-size:16px;font-weight:700}
.msx-me .avatar{width:34px;height:34px}
.msx-pop{top:auto;bottom:calc(100% + 6px);width:min(320px,100%)}
.msx-pop button{min-height:44px}
.msx-me:focus-visible,.msx-pop button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* ordinateur : deux colonnes sur toute la hauteur */
@media (min-width:1106px){
  main:has(>.view.on.msx-page){max-width:none!important;padding:0}
  body.has-side main:has(>.view.on.msx-page){margin-left:108px}
  .view.on.msx-page{display:flex;flex-direction:column;height:calc(100dvh - 72px);animation:none}
  .msx-page .msx.wide{flex:1;min-height:0;display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr)}
  .msx-page .msx-l{height:100%;min-height:0;padding:20px 14px 14px;border-right:1px solid var(--bd)}
  .msx-page .msx-list{flex:1;min-height:0;overflow-y:auto}
  .msx-page .msx-thread{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column}
  .msx-page .msx-thread>.thread{flex:1;height:auto;min-height:0;border:0;border-radius:0}
}
@media (max-width:1105px){.msx-l{padding:0}}

/* discussion (liste ouverte à droite, plein écran sur téléphone, ou page du créateur) */
.thread{background:var(--bg);color:var(--ink)}
.thread .th-head{gap:14px;padding:16px 24px;border-bottom:1px solid var(--bd);background:var(--bg)}
.thread .th-head .avatar{width:52px;height:52px;font-size:17px}
.th-who{flex:1 1 auto;min-width:0}
.th-id{min-width:0}
.th-id b{display:block;font-size:24px;line-height:1.15;font-weight:700;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-id b .idb{margin-left:.3em;font-size:.7em}
.th-who[data-th-profile] .th-id b{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.th-id small{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.th-on{display:none}
.th-acts{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.th-acts .th-mem,.th-head .th-eph{margin-left:0}
.thread .th-head .ibtn{width:46px;height:46px;background:transparent;border:1px solid var(--bd2);color:var(--ink)}
.thread .th-head .ibtn:hover{background:var(--soft)}
.thread .th-head .th-back{margin-right:0}
.thread .th-head .th-back svg{stroke:currentColor}
.thread .th-head .ibtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.th-head .th-call{display:none!important}
.th-head .th-cb{display:none}
.th-acts:has(.th-call:not([hidden])) .th-cb{display:grid}
.th-who:focus-visible,.th-head .ibtn:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:14px}
.th-head .ibtn:focus-visible{border-radius:50%}
.thread>.qbn{order:1}.thread>.th-body{order:2}.thread>.th-req{order:3}.thread>.th-form{order:4}
.thread>.th-head{order:0}

.thread .th-body{padding:22px 24px;gap:10px;scroll-behavior:auto}
.th-body>:first-child{margin-top:auto}
.th-day{align-self:center;margin:6px 0;padding:6px 10px;background:none;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.th-body .m{display:flex;flex-direction:column;gap:4px;max-width:68%;padding:0;margin:0;border:0;border-radius:0;background:none;color:var(--ink);font-size:16px;line-height:1.45}
.th-body .m.in{align-self:flex-start;align-items:flex-start;background:none;border:0}
.th-body .m.out{align-self:flex-end;align-items:flex-end;background:none;color:var(--ink)}
.th-body .m.f{margin-top:0}
.th-body .m .m-t{padding:11px 16px;border-radius:20px;overflow-wrap:anywhere}
.th-body .m.in .m-t{background:var(--soft)}
.th-body .m.out .m-t{background:var(--ink);color:var(--bg)}
.th-body .m small{margin:0;padding:0 6px;font-size:12px;opacity:1;color:var(--muted)}
.th-body .m.out.rd small{opacity:1}
.th-body .m-by{padding:0 6px;font-size:12px;font-weight:700;opacity:.7;margin:0}
.th-body .m.out[data-mid]:hover .m-t{opacity:.92}
/* bulle d'appel */
.th-body .m.m-callb{padding:0!important;min-width:0}
.m-callb .cb{display:flex;align-items:center;gap:14px;width:100%;min-width:240px;padding:14px 20px 14px 14px;border-radius:20px;background:var(--soft);color:var(--ink);text-align:left}
.m-callb.out .cb{background:var(--ink);color:var(--bg)}
.m-callb .cb:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.m-callb .cb-i{width:48px;height:48px;background:var(--ink);color:var(--bg)}
.m-callb.out .cb-i{background:var(--bg);color:var(--ink)}
.m-callb .cb-i svg{width:22px;height:22px}
.m-callb .cb-t b{display:block;font-size:17px;font-weight:700}
.m-callb .cb-t small{display:block;font-size:14px;color:inherit;opacity:.7;padding:0;margin:0}
.m-callb .cb-h{padding:0 6px;font-size:12px;color:var(--muted);opacity:1;margin:0}
.th-empty{margin:auto}

/* bandeau « Collab en cours » : sous l'en-tête, avec les étapes connues du serveur */
.thread>.qbn{margin:0;padding:14px 24px;border:0;border-bottom:1px solid var(--bd);border-radius:0;background:var(--card);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;animation:none}
.qbn-h{min-width:0}
.qbn-k{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.qbn-ti{display:block;margin-top:2px;font-size:17px;font-weight:700;color:var(--ink)}
.qbn-st{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.qbn-st li{height:40px;padding:0 14px 0 8px;border-radius:999px;border:1px solid var(--bd2);font-size:14px;color:var(--ink);display:flex;align-items:center;gap:6px;white-space:nowrap}
.qbn-st b{font-weight:700;color:inherit;font-size:14px}
.qbn-st em{font-style:normal;font-weight:500;color:var(--muted)}
.qbn-st .ck{width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;flex:none}
.qbn-st .ck svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.qbn-st .dt{width:10px;height:10px;margin:0 6px;border-radius:50%;background:var(--ink);flex:none}
.qbn-st .cur{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.qbn-st .cur .dt{background:var(--bg)}
.qbn-st .cur em{color:inherit;opacity:.7}
.qbn-st .todo{border-style:dashed;color:var(--muted)}
.qbn-st .todo .dt{background:transparent;border:1.5px solid var(--muted);box-sizing:border-box}
.qbn-st .bad{border-style:dashed}
.qbn-st .bad .dt{background:var(--muted)}
.qbn-a{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.qbn-t{flex:1 1 220px}
.qbn-t b{font-size:14px}.qbn-t small{font-size:13px}
.qbn-b .btn{min-height:44px;border-radius:999px}

/* zone de saisie */
.thread .th-form{align-items:center;gap:8px;padding:12px 20px calc(16px + var(--sab));border-top:1px solid var(--bd)}
.thread .th-form input{height:52px;padding:0 20px;border:1px solid var(--bd2);border-radius:999px;background:var(--bg);font-size:16px}
.thread .th-form input:focus{border-color:var(--ink);background:var(--bg);outline:2px solid var(--ink);outline-offset:1px}
.thread .th-form button{width:52px;height:52px;background:var(--ink);color:var(--bg)}
.thread .th-form button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.msx-thread .thread{min-height:0}
.th-req{margin:12px 24px;order:3}

@media (max-width:600px){
  .thread .th-head{gap:10px;padding:10px 12px}
  .thread .th-head .avatar{width:44px;height:44px;font-size:15px}
  .thread .th-head .ibtn{width:44px;height:44px}
  .th-acts{gap:6px}
  .th-id b{font-size:19px}
  .thread .th-body{padding:16px 14px}
  .th-body .m{max-width:84%}
  .thread>.qbn{padding:12px 14px}
  .qbn-st li{height:44px}
  .thread .th-form{padding:10px 12px calc(12px + var(--sab))}
  .m-callb .cb{min-width:0}
  .msx-sel{max-width:44%}
}
@media (prefers-reduced-motion:reduce){.msx *,.thread *{transition:none!important;animation:none!important}}

/* messagerie du créateur : même deux colonnes que les autres espaces */
#v-chat>h1.title,#v-chat>.sub{display:none}
#ct-pills.ct-col{margin:0!important;display:block}
.mv-req{height:46px;padding:0 14px;border-radius:999px;border:1px dashed var(--bd2);font-size:14px;font-weight:700;color:var(--ink);white-space:nowrap}
#v-chat .thread .th-body{min-height:240px}
@media (min-width:1106px){
  main:has(>#v-chat.on){max-width:none!important;padding:0}
  body.has-side main:has(>#v-chat.on){margin-left:108px}
  #v-chat.on{display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr);height:calc(100dvh - 72px);animation:none}
  #v-chat #ct-pills.ct-col{min-height:0;overflow:hidden;border-right:1px solid var(--bd);padding:20px 14px 14px}
  #v-chat #ct-pills .msx{height:100%}
  #v-chat #ct-pills .msx-l{height:100%;min-height:0}
  #v-chat #ct-pills .msx-list{flex:1;min-height:0;overflow-y:auto}
  #v-chat #th-creator{min-width:0;min-height:0;height:100%}
  #v-chat #th-creator .thread{height:100%;min-height:0;border:0;border-radius:0}
  #v-chat .th-back{display:none}
}
@media (max-width:1105px){
  #v-chat:not(.th-open) #th-creator{display:none}
  #v-chat.th-open #ct-pills{display:none}
  #v-chat.th-open #th-creator{position:fixed;inset:0;z-index:60;background:var(--bg)}
  #v-chat.th-open #th-creator .thread{height:100dvh;min-height:0;border:0;border-radius:0}
}
/* « À propos » d'un profil ou d'une page (services, compétences, langues) : pastilles espacées et alignées, le même rendu pour toutes les pages */
.pf2-about .chips{display:flex;flex-wrap:wrap;gap:10px 8px;margin:0 0 6px}
.pf2-about .chips .chip{margin:0;padding:9px 16px;font-size:14px;font-weight:500;line-height:1.2;color:var(--ink);background:var(--soft);border:1px solid var(--bd)}
.pf2-about .k{margin:22px 0 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.pf2-about p + .k{margin-top:18px}
@media (max-width:600px){.pf2-about .chips .chip{padding:8px 13px;font-size:13px}}

/* bannière en image : toujours ajustée au cadre (la règle du fond sombre par défaut ne doit pas remettre l'image à sa taille d'origine) */
.pf2-ban.img{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#111}
/* bannière : la même forme partout (4 fois plus large que haute, comme LinkedIn), pour qu'une image envoyée ne soit pas rognée différemment selon l'écran */
.pf2-ban{width:100%;height:auto!important;aspect-ratio:4/1;max-height:300px;min-height:96px}

/* ═════════ Messagerie, version apaisée (retour d'Adam du 12/11 : « trop agressif ») : moins de noir plein, tailles plus douces, filtres au même style ═════════ */
.msx-top .title{font-size:24px;letter-spacing:-.03em}
.mv-ib{width:40px;height:40px;border-color:var(--bd)}
.mv-ib svg{width:18px;height:18px}
.mv-new{height:40px;padding:0 14px;background:transparent;color:var(--ink);border:1px solid var(--bd);font-size:14px;font-weight:600}
.mv-new:hover{background:var(--soft)}
.mv-new svg{width:16px;height:16px;stroke-width:2}
.msx-search{height:42px;padding:0 14px;border-color:var(--bd);background:var(--soft)}
.msx-search input{font-size:14px}
.msx-sel{height:42px;padding:0 34px 0 14px;border:1px solid var(--bd);border-radius:999px;background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px;color:var(--ink);font:inherit;font-size:14px;font-weight:500;-webkit-appearance:none;appearance:none;cursor:pointer}
.msx-sel:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.msx-seg{gap:2px;padding:3px;border:0;background:var(--soft)}
.msx-sg{height:34px;font-size:13.5px;font-weight:600;color:var(--muted)}
.msx-sg:hover{background:transparent;color:var(--ink)}
.msx-sg.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
body.dark .msx-sg.on{background:var(--card);box-shadow:none}
.msx-sg i{min-width:18px;height:18px;font-size:11px}
.msx-sg.on i{background:var(--ink);color:var(--bg)}
.msx-list .conv,.msx-list .cv-sw>.conv{min-height:62px}
.msx-list .conv .avatar{width:42px;height:42px}
.msx-list .conv-b b{font-size:15px;font-weight:600}
.msx-list .conv-b small{font-size:13.5px}
.msx-list .conv-r small{font-size:12px}
.msx-list .dot2{min-width:20px;height:20px;font-size:11px}
.msx-me,.msx:not(.wide) .msx-me{height:50px;font-size:15px;font-weight:600}
.thread .th-head{padding:12px 22px}
.thread .th-head .avatar{width:44px;height:44px;font-size:15px}
.th-id b{font-size:18px;font-weight:650;letter-spacing:-.02em}
.th-id small{font-size:13px}
.thread .th-head .ibtn{width:40px;height:40px;border-color:var(--bd)}
.thread .th-head .ibtn svg{width:18px;height:18px}
.th-body .m{font-size:15px}
.th-body .m .m-t{padding:9px 14px;border-radius:18px}
.th-body .m.out .m-t{background:color-mix(in srgb,var(--ink) 84%,var(--bg))}
.th-body .m small{font-size:11.5px}
.th-day{font-size:11px}
.m-callb .cb{min-width:220px;padding:10px 16px 10px 10px;border-radius:18px;background:var(--soft);color:var(--ink);border:1px solid var(--bd)}
.m-callb.out .cb{background:var(--soft);color:var(--ink)}
.m-callb .cb-i,.m-callb.out .cb-i{width:38px;height:38px;background:var(--bg);color:var(--ink);border:1px solid var(--bd)}
.m-callb .cb-i svg{width:18px;height:18px}
.m-callb .cb-t b{font-size:15px;font-weight:600}
.m-callb .cb-t small{font-size:13px}
.qbn-st li{height:34px;font-size:13px}
.qbn-st .cur{background:var(--soft);border-color:var(--ink);color:var(--ink)}
.qbn-st .cur .dt{background:var(--ink)}
.qbn-ti{font-size:15px}
.thread .th-form{padding:10px 18px calc(12px + var(--sab))}
.thread .th-form input{height:44px;font-size:15px;border-color:var(--bd);background:var(--soft)}
.thread .th-form input:focus{background:var(--bg)}
.thread .th-form button{width:44px;height:44px}
/* messagerie, encore un cran plus discrète (retour d'Adam du 12/11) */
.msx-l{gap:12px}
.msx-top .title{font-size:21px}
.mv-ib{width:36px;height:36px}.mv-ib svg{width:17px;height:17px}
.mv-new{height:36px;padding:0 12px;font-size:13.5px}.mv-new svg{width:15px;height:15px}
.msx-search,.msx-sel{height:38px;font-size:13.5px}.msx-search input{font-size:13.5px}
.msx-seg{padding:3px}.msx-sg{height:30px;font-size:13px}
.msx-list .conv,.msx-list .cv-sw>.conv{min-height:56px;padding-top:8px;padding-bottom:8px;gap:11px}
.msx-list .conv .avatar{width:38px;height:38px;font-size:13px}
.msx-list .conv-b b{font-size:14.5px}
.msx-list .conv-b small{font-size:13px}
.msx-list .conv-r small{font-size:11.5px}
.msx-pinb{font-size:13px;min-height:40px}
.msx-me,.msx:not(.wide) .msx-me{height:46px;font-size:14px}.msx-me .avatar{width:30px;height:30px}
.thread .th-head{padding:10px 20px}
.thread .th-head .avatar{width:38px;height:38px;font-size:13px}
.th-id b{font-size:16px}
.th-id small{font-size:12.5px}
.thread .th-head .ibtn{width:36px;height:36px}.thread .th-head .ibtn svg{width:17px;height:17px}
.thread .th-body{padding:18px 22px;gap:8px}
.th-body .m{font-size:14.5px;max-width:64%}
.th-body .m .m-t{padding:8px 13px;border-radius:17px}
.th-body .m small{font-size:11px}
.m-callb .cb{min-width:200px;padding:8px 14px 8px 8px;gap:11px}
.m-callb .cb-i,.m-callb.out .cb-i{width:34px;height:34px}.m-callb .cb-i svg{width:16px;height:16px}
.m-callb .cb-t b{font-size:14px}.m-callb .cb-t small{font-size:12.5px}
.thread .th-form{padding:9px 16px calc(11px + var(--sab))}
.thread .th-form input{height:40px;font-size:14.5px;padding:0 16px}
.thread .th-form button{width:40px;height:40px}
@media (pointer:coarse){.mv-ib,.mv-new,.thread .th-head .ibtn,.thread .th-form button{min-width:44px;min-height:44px}}

/* menu déroulant « maison » (filtre par métier de la messagerie) */
.psel{position:relative;flex:none;max-width:46%}
.psel>select{position:absolute;inset:0;opacity:0;pointer-events:none;width:100%}
.psel-b{display:flex;align-items:center;gap:8px;width:100%;height:38px;padding:0 12px 0 14px;border:1px solid var(--bd);border-radius:999px;background:var(--soft);color:var(--ink);font-size:13.5px;font-weight:500;white-space:nowrap}
.psel-b span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.psel-b svg{width:15px;height:15px;flex:none;margin-left:auto;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.psel.on .psel-b svg{transform:rotate(180deg)}
.psel-b:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.psel-l{position:absolute;right:0;top:calc(100% + 6px);z-index:80;min-width:max(100%,210px);padding:6px;border:1px solid var(--bd);border-radius:16px;background:var(--card);box-shadow:0 18px 44px -14px rgba(0,0,0,.28);display:flex;flex-direction:column;gap:2px;transform-origin:top right;animation:pselIn .16s ease-out}
.psel-o{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border-radius:11px;color:var(--ink);font-size:14px;font-weight:500;text-align:left;white-space:nowrap}
.psel-o:hover,.psel-o:focus-visible{background:var(--soft);outline:0}
.psel-o svg{width:16px;height:16px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.psel-o.on{font-weight:600}.psel-o.on svg{opacity:1}
@keyframes pselIn{from{opacity:0;transform:scale(.96) translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.psel-l{animation:none}.psel-b svg{transition:none}}
@media (pointer:coarse){.psel-o{min-height:44px}.psel-b{min-height:44px}}
/* badges dans la messagerie : la coche et le logo gardent leur taille (les règles des petites icônes de la liste ne s'y appliquent pas) */
.th-id b .idb{font-size:1em;margin-left:.35em}
.msx-list .conv-b b .idb,.conv-b b .idb{font-size:15px;margin-left:2px}
.msx-list .conv-b b .idb>.lv-check,.conv-b b .idb>.lv-check,.th-id b .idb>.lv-check{width:1.12em!important;height:1.12em!important;min-width:0;fill:initial;stroke:none;display:block}
.msx-list .conv-b b .idb>.aff,.conv-b b .idb>.aff,.th-id b .idb>.aff{width:1.04em!important;height:1.04em!important}
.msx-list .conv-b b .idb>.aff svg,.conv-b b .idb>.aff svg,.th-id b .idb>.aff svg{width:68%!important;height:auto!important;fill:currentColor;stroke:none}

/* actions d'un message : bouton « ⋯ » à côté de la bulle (au survol sur ordinateur, toujours visible au toucher) */
.th-body .m .m-row{display:flex;align-items:center;gap:4px;max-width:100%}
.th-body .m.out .m-row{flex-direction:row-reverse}
.m-more{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--muted);opacity:0;transition:opacity .15s,background .15s}
.m-more svg{width:16px;height:16px;fill:currentColor}
.m-more:hover{background:var(--soft);color:var(--ink)}
.th-body .m:hover .m-more,.m-more:focus-visible,.m-more[aria-expanded="true"]{opacity:1}
.m-more:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
@media (hover:none){.m-more{opacity:.55;width:36px;height:36px}}
.m-menu{position:fixed;z-index:120;min-width:210px;padding:6px;border:1px solid var(--bd);border-radius:14px;background:var(--card);box-shadow:0 18px 44px -14px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:2px;animation:pselIn .14s ease-out}
.m-menu button{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border-radius:10px;color:var(--ink);font-size:14px;font-weight:500;text-align:left}
.m-menu button:hover,.m-menu button:focus-visible{background:var(--soft);outline:0}
.m-menu button[data-a="del"]{color:#c0392b}
.m-menu svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (pointer:coarse){.m-menu button{min-height:44px}}
@media (prefers-reduced-motion:reduce){.m-menu{animation:none}}
/* audit alignement des badges (13/11) : le groupe a toujours la même hauteur (coche seule, logo seul ou les deux), donc toujours centré sur le nom */
.idb{height:1.12em}
/* cartes de talents : le nom se coupe proprement (…) au lieu d'envoyer les badges à la ligne */
.pf-rt b{display:flex;align-items:center;justify-content:center;max-width:100%;min-width:0}
.pf-rt b .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-rt b .idb{flex:none}
/* texte en ligne : centre du groupe sur le centre du nom, quel que soit son contenu (coche, logo seul, les deux) */
.idb{vertical-align:middle;position:relative;top:-.12em}
/* dans les noms déjà en flex (cartes de talents, liste des messages, titre du profil), le centrage est fait par le flex */
.pf-rt b .idb,.conv-b b .idb,.msx-list .conv-b b .idb,.pf2-main .pf-name .idb{top:0}

/* ───────── messages vocaux ───────── */
.thread .th-form .th-mic{width:44px;height:44px;flex:none;border-radius:50%;background:var(--soft);color:var(--ink);border:1px solid var(--bd);display:grid;place-items:center}
.thread .th-form .th-mic:hover{background:var(--card)}
.thread .th-form .th-mic:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.thread .th-form .th-mic:disabled{opacity:.5}
.thread .th-form .th-mic svg{width:20px;height:20px}
.th-form .th-rec{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.th-form .th-rec[hidden]{display:none}
.th-form.rec>input,.th-form.rec>.th-mic,.th-form.rec>.th-sd{display:none}
.thread .th-rec button{width:44px;height:44px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink);border:1px solid var(--bd)}
.thread .th-rec .rc-go{background:var(--ink);color:var(--bg);border-color:transparent}
.thread .th-rec button:disabled{opacity:.5}
.thread .th-rec button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.th-rec svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rc-dot{width:10px;height:10px;flex:none;border-radius:50%;background:#d9362b;animation:rcb 1.2s ease-in-out infinite}
.rc-t{flex:none;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.rc-t.max{color:#c0392b;white-space:normal;line-height:1.2;font-size:13px}
.rc-lv{flex:1;min-width:24px;height:6px;border-radius:99px;background:var(--soft);overflow:hidden;border:1px solid var(--bd)}
.rc-lv i{display:block;height:100%;width:100%;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .08s linear;border-radius:99px}
.thread>.th-note{order:5;margin:0;padding:0 20px calc(10px + var(--sab));font-size:12.5px;color:var(--muted);text-align:center;background:var(--bg)}
.thread>.th-note[hidden]{display:none}
@keyframes rcb{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.rc-dot{animation:none}.rc-lv i{transition:none}.rc-lv{display:none}}
@media (max-width:520px){.thread .th-form .th-mic{width:40px;height:40px}.th-form .th-rec{gap:8px}}
.th-body .m .vx{display:flex;align-items:center;gap:10px;min-width:210px;max-width:100%;padding:8px 14px 8px 8px;border-radius:20px;background:var(--soft);color:var(--ink)}
.th-body .m.out .vx{background:color-mix(in srgb,var(--ink) 84%,var(--bg));color:var(--bg)}
.vx-p{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--bg);border:0}
.th-body .m.out .vx-p{background:var(--bg);color:var(--ink)}
.vx-p svg{width:17px;height:17px;fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.vx-p:focus-visible,.vx-bar:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.vx.load .vx-p{opacity:.6}
.vx-bar{position:relative;flex:1;min-width:70px;height:20px;cursor:pointer;touch-action:manipulation}
.vx-bar::before{content:"";position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:99px;background:currentColor;opacity:.22}
.vx-bar i{position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:99px;background:currentColor;transform:scaleX(0);transform-origin:left}
.vx-d{flex:none;font-size:13px;font-variant-numeric:tabular-nums;min-width:32px;text-align:right;opacity:.8}
.th-body .m .vx.vx-off{min-width:0;padding:10px 16px;opacity:.55;background:var(--soft);color:var(--muted);font-style:italic;gap:8px}
.th-body .m.out .vx.vx-off{background:var(--soft);color:var(--muted)}
.vx-off svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vx-x{font-size:14px}

/* ───────── Ma vignette sur le site Iconics (prestataires et partenaires) ───────── */
.sv-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;margin:0 0 14px;font-size:14px}
.sv-state.on{background:rgba(52,199,89,.12)}
.sv-state.off{background:rgba(255,159,10,.14)}
.sv-state .btn{flex:none;padding:8px 14px}
.sv-prev{margin:0 0 6px}
.sv-card{display:flex;align-items:center;gap:12px;margin-top:8px;padding:10px;border:1px solid var(--line,rgba(128,128,128,.25));border-radius:16px;max-width:320px}
.sv-card-img,.sv-pi{width:64px;height:64px;border-radius:12px;overflow:hidden;flex:none;background:rgba(128,128,128,.14);display:flex;align-items:center;justify-content:center}
.sv-card-img img,.sv-pi img,.sv-avimg img{width:100%;height:100%;object-fit:cover;display:block}
.sv-card-b{display:flex;flex-direction:column;gap:2px;min-width:0}
.sv-card-b b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-card-b small{font-size:11px;letter-spacing:.06em;opacity:.65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-none{font-weight:700;font-size:22px;opacity:.5}
.sv-av{display:flex;align-items:center;gap:14px}
.sv-avimg{width:76px;height:76px;border-radius:50%;overflow:hidden;background:rgba(128,128,128,.14);display:flex;align-items:center;justify-content:center;flex:none}
.sv-2{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;margin-bottom:8px}
.sv-n{font-weight:500;opacity:.55;margin-left:6px;text-transform:none;letter-spacing:0}
.sv-proj{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.sv-p{display:flex;align-items:center;gap:10px}
.sv-p .field{flex:1;min-width:0}
.sv-mf{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.sv-mi{cursor:pointer}
.sv-pb{display:flex;gap:2px;flex:none}
.sv-pb button{width:32px;height:32px;border-radius:10px;border:0;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sv-pb button:hover:not(:disabled){background:rgba(128,128,128,.16)}
.sv-pb button:disabled{opacity:.3;cursor:default}
.sv-pb svg{width:18px;height:18px}
@media(max-width:520px){.sv-state{flex-direction:column;align-items:stretch}.sv-2{grid-template-columns:1fr}}

/* profil, à la manière de X : une seule rangée, pilule principale + ronds au trait, même hauteur (44 px) */
.pf2-btns{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0}
.pf2 .pf-follow,.pf2 .pf2-tb{height:44px;border-radius:99px}
.pf2 .pf-follow{flex:none;box-sizing:border-box;padding:0 22px;white-space:nowrap}
.pf2 .pf-follow.on{box-shadow:none;border:1px solid var(--bd);background:var(--bg);color:var(--ink)}
.pf2 .pf-follow.on:hover{border-color:var(--ink)}
.pf2 .pf2-tb{flex:none;box-sizing:border-box;border-width:1px;padding:0 18px;white-space:nowrap}
.pf2 .pf-ico.hero{flex:none;box-sizing:border-box;width:44px;height:44px;border-radius:50%;border:1px solid var(--bd);background:var(--bg);color:var(--ink);padding:0;display:inline-flex;align-items:center;justify-content:center}
.pf2 .pf-ico.hero[hidden]{display:none}
.pf2 .pf-ico.hero svg{width:19px;height:19px;stroke-width:1.7}
.pf2 .pf-ico.hero:hover{background:var(--soft);border-color:var(--ink)}
.pf2 .pf-acts{flex-direction:column;align-items:stretch;gap:8px;margin:12px 8px 0}
.pf2 .pf-acts .btn{flex:none;width:100%;height:44px;border-radius:99px;font-size:14.5px;font-weight:600;border:1px solid var(--bd)}
.pf2 .pf-acts .btn:not(.ghost){background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pf2 .pf-acts #pf-co,.pf2 .pf-acts #pf-prop{order:0}
@media (max-width:520px){
  .pf2-btns{gap:6px}
  .pf2 .pf-follow{padding:0 16px;font-size:14px}
  .pf2 .pf2-tb{padding:0 14px}
  .pf2 .pf2-tb span{display:none}
  .pf2 .pf2-tb{width:44px;padding:0;justify-content:center}
  .pf2 .pf-ico.hero{width:42px;height:42px}
}
/* entreprises : repère « Propose ses services » (pastille au trait) */
.svc-tag{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin-top:4px;padding:2px 9px;border:1px solid var(--bd);border-radius:99px;font-size:11px;font-weight:600;line-height:1.5;color:var(--muted);white-space:nowrap}
.svc-tag svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:520px){
  .pf2 #pf-quote{width:auto;padding:0 14px}
  .pf2 #pf-quote span{display:inline}
}

/* « Ton @ » dans le profil créateur */
.hd-box{margin:6px 0 2px}.hd-row{display:flex;align-items:center;gap:6px}.hd-at{font-weight:600;color:var(--muted);font-size:17px}.hd-row .field{flex:1}
.hd-st{min-height:18px;margin:6px 2px 0;font-size:12.5px;color:var(--muted)}.hd-st.ok{color:#1f8a4c}.hd-st.no{color:#c0392b}
.hd-pv{display:flex;flex-direction:column;gap:1px;margin:8px 0 0;padding:10px 14px;border-radius:14px;background:var(--card,rgba(127,127,127,.08));border:1px solid rgba(127,127,127,.18)}.hd-pn{font-weight:600;font-size:15px}.hd-ph{font-size:13px;color:var(--muted)}
.hd-note{margin:8px 2px 10px;font-size:12px;line-height:1.45;color:var(--muted)}
/* « Votre lien » (profil et partage) : même habillage que « Ton @ » */
.lk-box{margin:10px 0 2px}.lk-base{font-size:14px}.lk-in{min-width:0}.lk-pv{word-break:break-all;font-weight:600}
/* page de marque d'un créateur en cours de vérification par Iconics : explication à la place des actions de contact */
.thread>.th-review{order:3;margin:0;padding:10px 20px 4px;font-size:12.5px;line-height:1.4;color:var(--muted);text-align:center;background:var(--bg)}
.thread .th-form[inert]{opacity:.55}
.msx-review{color:var(--ink)}
.pf-founder-l{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.pf-founder-l:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}

/* profil : l'agence en lien dans l'en-tête, rendez-vous et vues en pilules fines (aucune hauteur perdue) */
.pf-orgl{margin-top:6px}
.pf-org-link{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:3px 10px 3px 3px;border:1px solid var(--bd);border-radius:99px;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
.pf-org-link>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (hover:hover){.pf-org-link:hover{border-color:var(--ink)}}
.pf-org-av{width:22px;height:22px;flex:none;border-radius:50%;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:9px;font-weight:700}
.pf-org-av img{width:100%;height:100%;object-fit:cover;display:block}
.pf-qs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 8px 0}
.pf-q{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px 0 11px;border:1px solid var(--bd);border-radius:99px;background:none;font:inherit;font-size:13px;color:var(--muted);cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s}
.pf-q b{color:var(--ink);font-weight:600}
.pf-q svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.pf-q:hover{border-color:var(--ink);color:var(--ink)}}
.pf-q:active,.pf-org-link:active{transform:scale(.97)}
.pf-q:focus-visible,.pf-org-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (max-width:640px){.pf-qs{margin:10px 0 0}}
.pf-myp-row{margin:10px 8px 0}
.pf-acts:empty{display:none}
@media (prefers-reduced-motion:reduce){.pf-q,.pf-org-link{transition:none}.pf-q:active,.pf-org-link:active{transform:none}}

/* Devis et factures : indicateurs, éditeur de facture extérieure, suivi */
.iv-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 4px}
@media(min-width:760px){.iv-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.iv-kpis .kpi{min-width:0;container-type:inline-size}
.iv-kpis .kpi b,body.da .iv-kpis .kpi b{font-size:clamp(20px,16cqw,36px);letter-spacing:-.04em;white-space:nowrap;margin-top:auto}
.iv-kpis .kpi.warn b{color:#ff6b5e}
body.da #qt-host .chip.no,body.da .meta .chip.no{color:var(--red,#d94242);border-color:currentColor}
.iv-q{height:5px;border-radius:99px;background:rgba(127,127,127,.28);margin:8px 0 4px;overflow:hidden}.iv-q i{display:block;height:100%;border-radius:99px;background:currentColor}
.iv-act{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}.iv-act .btn{width:auto;flex:1 1 auto;padding:13px 18px}
.iv-tag{margin-left:6px}
@media(max-width:759px){body.da .iv-kpis .kpi{min-height:112px}}
@media(max-width:430px){body.da #qt-host .filters{gap:6px}body.da #qt-host .filters button{padding:0 12px;font-size:13px}}
#qt-host .dir-r{align-items:center}.iv-chips{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:600px){#qt-host .dir-r{flex-wrap:wrap;row-gap:8px}#qt-host .dir-r .dir-b{flex:1 1 100%;min-width:0}.iv-chips{justify-content:flex-start}}
#iv-add{white-space:nowrap}#iv-add svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round}
.iv-l{display:grid;grid-template-columns:minmax(0,1fr) 64px 96px 30px;gap:8px;margin-bottom:8px;align-items:center}
.iv-l .field{width:100%;min-width:0}.iv-l .r{text-align:right}
.iv-lh{font-size:11.5px;color:var(--muted)}
@media(max-width:520px){.iv-lh{display:none}.iv-l{grid-template-columns:76px minmax(0,1fr) 30px;row-gap:6px;margin-bottom:14px}.iv-l .field:first-child{grid-column:1/-1}.iv-l .field[data-k=qty]{grid-column:1;grid-row:2}.iv-l .field[data-k=unitCents]{grid-column:2;grid-row:2}.iv-l .ibtn{grid-column:3;grid-row:2}}
.iv-two{display:grid;grid-template-columns:1fr;gap:0 12px}@media(min-width:560px){.iv-two{grid-template-columns:1fr 1fr}}
.iv-seg{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 12px}.iv-seg button{padding:10px 14px;border-radius:99px;border:1px solid var(--bd);background:var(--card);color:var(--ink);font-weight:600;font-size:13px}.iv-seg button.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.iv-note{display:flex;gap:10px;padding:14px 16px;border-radius:18px;background:rgba(255,159,10,.13);color:var(--ink);font-size:13px;line-height:1.5;margin:6px 0 12px}.iv-note b{display:block}
.iv-note .btn{margin-top:10px;width:auto}
.iv-chk{display:grid;grid-template-columns:1fr;gap:6px;margin:6px 0 2px;font-size:13px}@media(min-width:560px){.iv-chk{grid-template-columns:1fr 1fr}}
.iv-chk span{display:flex;gap:7px;align-items:center}.iv-chk span.no{color:var(--muted)}.iv-chk svg{width:14px;height:14px;flex:none}
.iv-tot{display:flex;justify-content:space-between;align-items:baseline;padding:14px 4px 4px;font-size:13px;color:var(--muted)}.iv-tot b{font-size:22px;color:var(--ink);font-variant-numeric:tabular-nums}
.iv-tl{margin:14px 0 6px}.iv-tl>div{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:start;padding:9px 0}
.iv-tl i{width:20px;height:20px;border-radius:50%;border:2px solid var(--bd);display:grid;place-items:center;margin-top:1px}.iv-tl i.ok{background:var(--ink);border-color:var(--ink);color:var(--bg)}.iv-tl i.cur{border-color:var(--ink)}
.iv-tl i svg{width:11px;height:11px}.iv-tl b{display:block;font-size:14px}.iv-tl small{color:var(--muted);font-size:12.5px}.iv-tl em{font-style:normal;color:var(--muted);font-size:12.5px}
/* Devis et factures : filtres séparés de la carte « Personnaliser » (26/11) */
#qt-host #qt-style{margin-bottom:16px}
#qt-host .filters{margin-top:16px;margin-bottom:14px}
