/* Pers6na Partner — v2.0 (nouveau design) */
[hidden]{display:none!important}
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(fonts/inter400.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(fonts/inter500.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(fonts/inter600.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(fonts/inter700.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:800;font-display:swap;src:url(fonts/inter800.woff2) format("woff2")}
:root{--ink:#16141F;--ink2:#4A4657;--ink3:#2C2938;--mute:#625E70;--line:#E7E1F3;--line2:#CFC6E3;--bg:#FFFFFF;--card:#FFFFFF;--panel:#F7F5FC;--soft:#F1EAFD;
--brand:#6E2FD8;--brand-d:#4F1BA8;--plum:#6A0F8E;--ok:#4F6B0E;--okbg:#EAF5DD;--warn:#C8352F;--orange:#B8471A;--orbg:#FFF1E6;
--rainbow:linear-gradient(90deg,#E8432B,#F39A1E,#F2D51B,#8DC63F,#19A3C9,#6E2FD8);
--Or:#118DFF;--Co:#E66C37;--Ev:#6B007B;--Cr:#AFCA25;--Di:#FFDD00;--In:#D64550;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:var(--brand)}
svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* En-tête */
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;padding:calc(14px + var(--safe-t)) 22px 10px;background:rgba(255,255,255,.97);backdrop-filter:blur(10px)}
.top.sh{box-shadow:0 1px 0 var(--line)}
.wordmark{height:22px;width:auto;display:block}
.avatar{margin-left:auto;width:40px;height:40px;border-radius:50%;background:var(--plum);color:#fff;font-weight:700;font-size:13px;display:grid;place-items:center}
main{padding:8px 22px calc(104px + var(--safe-b));max-width:720px;margin:0 auto;min-height:70vh}

/* Barre du bas */
.tabs{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;justify-content:space-around;align-items:flex-start;background:#fff;border-top:1px solid var(--line);padding:9px 4px calc(10px + var(--safe-b))}
.tabs button{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:64px;min-height:44px;font-size:10.5px;font-weight:600;color:var(--mute)}
.tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.tabs button.on{color:var(--brand);font-weight:700}
.tabs button span{white-space:nowrap}

/* Titres de page */
.ph{display:flex;flex-direction:column;gap:8px;margin:8px 0 18px}
.kick{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand)}
h1{font-size:27px;line-height:1.12;margin:0;font-weight:800;letter-spacing:-.02em}
h1 span{color:var(--brand)}
h2,.sec{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin:24px 0 10px}
.sech{display:flex;justify-content:space-between;align-items:baseline;margin:24px 0 10px}.sech .sec{margin:0}.sech a,.sech button{font-size:12.5px;font-weight:600;color:var(--brand);text-decoration:none}
.sub{color:var(--ink2);margin:-6px 0 18px;font-size:14.5px}
.back{height:44px;display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--brand);margin:0 0 0 -6px}
.back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bar2{display:flex;justify-content:space-between;align-items:center;margin-top:-6px}
.bar2 .meta{font-size:12px;font-weight:600;color:var(--ink2)}

/* Segments en pilule */
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:4px;margin:0 0 14px}
.seg button{height:38px;border-radius:999px;font-weight:600;font-size:13px;color:var(--ink3)}
.seg button.on{background:var(--brand);color:#fff;font-weight:700}
.pills{display:flex;gap:6px}
.pills button{height:34px;min-width:52px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line2);background:#fff;font-size:12.5px;font-weight:600;color:var(--ink3)}
.pills button.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
.pills.sm button{height:30px;min-width:42px;font-size:12px}

/* Champs */
.search{position:relative;margin-bottom:14px}
.search svg{position:absolute;left:14px;top:13px;width:18px;height:18px;fill:none;stroke:var(--mute);stroke-width:1.8;stroke-linecap:round}
.search input{width:100%;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:0 14px 0 42px;font-size:15px;color:var(--ink)}
input.search{width:100%;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:0 14px;font-size:15px;margin-bottom:14px}
.lbl{display:block;font-size:12px;font-weight:600;color:var(--ink2);margin-bottom:5px}
.codesel{position:relative;margin-bottom:14px}
.codesel select{width:100%;height:44px;appearance:none;-webkit-appearance:none;padding:0 40px 0 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel);font-weight:600;font-size:15px;color:var(--ink)}
.codesel:after{content:"";position:absolute;right:16px;bottom:18px;width:8px;height:8px;border-right:2px solid var(--mute);border-bottom:2px solid var(--mute);transform:rotate(45deg);pointer-events:none}
.codes{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.codes button{height:34px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line2);background:#fff;font-weight:600;font-size:13px}
.codes button.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.crumbs{display:flex;flex-wrap:wrap;gap:4px;align-items:center;font-size:14px;color:var(--mute);margin:0 0 10px}
.crumbs:empty{display:none}
.crumbs button{color:var(--brand);font-weight:600;height:36px}

/* Listes : cartes séparées */
.list{display:flex;flex-direction:column;gap:8px}
.list > .empty{border:1px solid var(--line);border-radius:12px}
.row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;padding:9px 8px 9px 13px;min-height:58px;background:#fff}
.row .ri{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;font-weight:700;color:#fff;background:var(--brand)}
.row .ri.folder{background:var(--soft);color:var(--brand);border-radius:10px}
.row .ri.person{border-radius:50%;color:#fff}
.row .ri.pdf,.row .ri.ppt,.row .ri.doc,.row .ri.vid,.row .ri.img{border-radius:8px;width:36px;height:40px;font-size:10px;letter-spacing:.02em}
.row .ri.pdf{background:#FCEBEC;color:#C8352F}.row .ri.ppt{background:var(--orbg);color:var(--orange)}.row .ri.doc{background:#E8F1FF;color:#0B5DA8}.row .ri.vid{background:var(--ink);color:#fff}.row .ri.img{background:var(--okbg);color:var(--ok)}
.row .rt{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:3px}
.row .rt b{display:block;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .rt small{color:var(--ink2);font-size:11.5px;font-weight:600}
.row .rt small.c{color:var(--brand)}
.row .chev{flex:none;width:18px;height:18px;fill:none;stroke:var(--mute);stroke-width:1.8;stroke-linecap:round;margin-right:4px}
.row .act{flex:none;display:flex;gap:0}
.row .act button{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--brand);background:transparent}
.row .act svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.row .act button.del{color:var(--warn)}
.row .new{flex:none;height:22px;padding:0 8px;border-radius:999px;background:var(--soft);color:var(--brand);font-size:10.5px;font-weight:700;display:flex;align-items:center}
.row.dot{padding:6px 6px 6px 12px;gap:10px}
.row.dot .d{flex:none;width:10px;height:10px;border-radius:50%;background:var(--brand)}
.empty{padding:26px 18px;text-align:center;color:var(--mute);font-size:14.5px}
a.row{text-decoration:none;color:inherit}

/* Cartes et tuiles */
.card{border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 0}
.stat{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;text-align:left;color:var(--ink)}
.stat small{display:block;color:var(--ink2);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.stat b{display:block;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--brand);line-height:1.1}
.stat b.o{color:var(--orange)}
.stat span{font-size:12.5px;font-weight:600;line-height:1.3;color:var(--ink)}
.stat span.m{color:var(--ink2);font-weight:500}
.rbcard{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.rbcard:before{content:"";display:block;height:6px;background:var(--rainbow)}
.rbcard .in{padding:13px 16px;display:flex;flex-direction:column;gap:5px}
.rbcard .in b{font-size:14.5px;line-height:1.4}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:6px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;min-height:112px}
.tile .ic{width:36px;height:36px;border-radius:10px;background:var(--soft);color:var(--brand);display:grid;place-items:center}
.tile .ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tile b{font-size:13.5px;font-weight:700;line-height:1.3}
.tile small{font-size:11.5px;font-weight:600;color:var(--ink2)}
.tile.on{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.rcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.rc{border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:left;background:#fff;display:flex;flex-direction:column}
.rc:before{content:"";height:5px;background:var(--rainbow)}
.rc.m:before{background:var(--plum)}
.rc span{padding:11px 12px;display:flex;flex-direction:column;gap:4px}
.rc b{font-size:13.5px}.rc small{font-size:11.5px;color:var(--ink2);font-weight:600}
.team{display:flex;flex-direction:column;gap:10px;width:100%;text-align:left;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff}
.team .h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.team .h b{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team .m{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.team .m i{width:24px;height:24px;border-radius:50%;background:var(--brand);opacity:.85}
.team .m i.x{background:transparent;border:1.5px dashed var(--line2);opacity:1}
.team .m small{margin-left:8px;font-size:12px;color:var(--ink2);font-weight:600}
.tag2{flex:none;height:22px;padding:0 8px;border-radius:999px;font-size:10.5px;font-weight:700;display:inline-flex;align-items:center;white-space:nowrap;background:#F3F1F6;color:var(--ink2)}
.tag2.ok{background:var(--okbg);color:var(--ok)}.tag2.or{background:var(--orbg);color:var(--orange)}.tag2.p{background:var(--soft);color:var(--brand)}
.dashed{width:100%;height:48px;border-radius:14px;border:1.5px dashed var(--brand)!important;background:#fff!important;color:var(--brand)!important;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;padding:0}
.dashed svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Formulaires */
.form,.newf{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:12px}
.field{margin:0}
.field label,.field .lab{display:block;font-size:12px;font-weight:600;color:var(--ink2);margin-bottom:5px}
.field input,.field textarea{width:100%;height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:15px;color:var(--ink)}
.field textarea{height:auto;min-height:84px;padding:11px 14px;resize:vertical;line-height:1.45}
.field select{width:100%;height:44px;appearance:none;-webkit-appearance:none;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23625E70%27 stroke-width=%271.6%27/%3E%3C/svg%3E") no-repeat right 14px center;font-size:15px;color:var(--ink)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.form .seg,.newf .seg{margin:0}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;padding:0 16px;border-radius:12px;background:var(--brand);color:#fff;font-weight:700;font-size:14.5px;text-align:center;text-decoration:none}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn:disabled{opacity:.5}
.btn.ghost{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
.btn.line{background:#fff;color:var(--ink3);border:1.5px solid var(--line2);font-weight:600}
.btn.red{background:var(--warn)}
.btn.danger{color:var(--warn);border-color:var(--warn)}
.btn.mini{display:inline-flex;width:auto;height:30px;padding:0 12px;font-size:12px;border-radius:999px;margin-top:0}
a.btn{display:flex}
.pill{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap}
.pill.sent{background:#E8F1FF;color:#0B5DA8}.pill.done{background:var(--okbg);color:var(--ok)}.pill.err{background:#FCEBEC;color:var(--warn)}.pill.wait{background:#F3F1F6;color:var(--ink2)}
.note{font-size:12.5px;color:var(--mute);margin:8px 2px 0;line-height:1.45}
.note.warn{color:var(--warn);font-weight:600}
.tools{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.tools .note{margin-top:0}
.done-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.done-card .ok{width:48px;height:48px;border-radius:50%;background:var(--okbg);color:var(--ok);display:grid;place-items:center}
.done-card .ok svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.done-card b{font-size:16px}.done-card p{margin:0 0 8px;font-size:13.5px;color:var(--ink2);line-height:1.45}
.toast{position:fixed;left:16px;right:16px;bottom:calc(92px + var(--safe-b));z-index:70;background:var(--ink3);color:#fff;padding:14px 16px;border-radius:14px;font-weight:600;font-size:14.5px;box-shadow:0 10px 30px rgba(22,17,43,.3)}

/* Feuille de confirmation */
.sheet{position:fixed;inset:0;z-index:80;background:rgba(22,20,31,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet > div{width:100%;max-width:520px;background:#fff;border-radius:22px 22px 0 0;padding:22px 22px calc(26px + var(--safe-b));display:flex;flex-direction:column;gap:12px}
.sheet b.t{font-size:17px;font-weight:800}.sheet p{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink2)}

/* Connexion */
.login{display:flex;flex-direction:column;gap:20px;padding:6px 0 0}
.login .ph{margin:12px 0 0}
.login h1{font-size:30px}
.login p.lead{margin:0;font-size:14.5px;line-height:1.5;color:var(--ink2)}
.login .help{font-size:12.5px;color:var(--mute);text-align:center;margin-top:-10px}
.login .foot{font-size:11.5px;color:var(--mute);text-align:center}
.login .pills{justify-content:center}
.login .rain{height:6px;border-radius:999px;background:var(--rainbow)}
body.anon .tabs{display:none}

/* Installation */
.install{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;color:var(--ink3);margin-top:18px}
.login .install{margin-top:0}
.install .ihead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.install .ihead b{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand)}
.itabs{display:flex;gap:4px}
.itab{height:32px;padding:0 12px;border-radius:999px;border:1.5px solid var(--brand)!important;color:var(--brand);font-weight:700;font-size:12.5px;background:#fff}
.itab.on{background:var(--brand);color:#fff}
.isteps{list-style:none;counter-reset:st;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.isteps li{counter-increment:st;position:relative;padding-left:32px;font-size:13.5px;line-height:1.4}
.isteps li:before{content:counter(st);position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}
.install .bInstall{margin-top:12px}

.spin{display:flex;justify-content:center;padding:40px}
.spin i{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--brand);animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}

/* Visionneuse */
body.noscroll{overflow:hidden}
.viewer{position:fixed;inset:0;z-index:60;background:#F3F1F6;display:flex;flex-direction:column}
.vbar{display:flex;align-items:center;gap:10px;padding:calc(10px + var(--safe-t)) 14px 10px;background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.vbar .vclose{color:var(--brand);font-weight:600;font-size:14px;height:40px;flex:none;display:flex;align-items:center;gap:2px}
.vbar .vtitle{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:700}
.vbar .vshare{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--brand);background:var(--soft)}
.vbar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vbody{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:10px 8px calc(16px + var(--safe-b));display:flex;flex-direction:column;align-items:center;gap:10px}
.vpage{background:#fff;box-shadow:0 2px 12px rgba(22,17,43,.14);border-radius:4px;flex:none}
.vimg,.vvid{max-width:100%;max-height:100%;margin:auto}

/* Notifications */
.nbanner{display:flex;gap:12px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:0 0 14px}
.nbanner .ic{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--soft);color:var(--brand)}
.nbanner svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nbanner .tx{flex:1;display:flex;flex-direction:column;gap:2px}.nbanner .tx b{font-size:13.5px}.nbanner .tx span{font-size:12px;color:var(--ink2);line-height:1.35}
.nb-btns{display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.nb-btns .on{height:32px;padding:0 12px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;font-weight:700}
.nb-btns .later{height:24px;padding:0 4px;font-size:11.5px;font-weight:600;color:var(--mute)}
.news{padding:13px 16px;cursor:pointer;display:flex;flex-direction:column;gap:5px}
.news + .news{border-top:1px solid var(--line)}
.news b{display:block;font-size:14.5px;line-height:1.4}
.news small{color:var(--mute);font-size:11.5px;font-weight:600}
.news p{margin:0;color:var(--ink2);font-size:13.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news a{display:none;color:var(--brand);font-weight:600;font-size:13px;word-break:break-all}
.news .more{color:var(--brand);font-size:12.5px;font-weight:600}
.news.open p{display:block;-webkit-line-clamp:unset}.news.open a{display:block}.news.open .more{display:none}
.news.post{cursor:default;border:1px solid var(--line);border-radius:14px}.news.post + .news.post{border-top:1px solid var(--line)}.news.post p{display:block}.news.post .btn.li{width:auto;align-self:flex-start;height:38px;margin-top:6px;font-size:13px}.news.post.hl{background:var(--soft)}

/* Réglages */
.who{display:flex;gap:14px;align-items:center;margin:4px 0 6px}
.who .av{width:52px;height:52px;border-radius:50%;background:var(--plum);color:#fff;display:grid;place-items:center;font-weight:700;font-size:16px;flex:none}
.who h1{font-size:22px}.who small{font-size:12.5px;color:var(--ink2);font-weight:600}
.box{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.tgl{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;font-size:14px;font-weight:600}
.box .tgl + .tgl{border-top:1px solid var(--line)}
.tgl input{appearance:none;-webkit-appearance:none;width:44px;height:26px;border-radius:13px;background:#D9D4E5;position:relative;flex:none;cursor:pointer;transition:background .15s;margin:0}
.tgl input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .15s}
.tgl input:checked{background:var(--brand)}.tgl input:checked::after{left:21px}
.lnkrow{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 14px;font-size:14px;font-weight:600;color:var(--ink);text-align:left}
.box .lnkrow + .lnkrow{border-top:1px solid var(--line)}
.lnkrow svg{width:18px;height:18px;fill:none;stroke:var(--mute);stroke-width:1.8;stroke-linecap:round}
.menu-note{margin:0;padding:0 14px 12px;font-size:12.5px;color:var(--mute);line-height:1.4}
.menu-link{display:block;width:100%;text-align:left;padding:13px 14px;font-weight:700;font-size:14px;color:var(--brand)}
.logout{display:block;width:100%;text-align:center;height:48px;border-radius:12px;border:1.5px solid var(--line2);color:var(--warn);font-weight:700;font-size:14px;margin-top:22px}
.ver{text-align:center;font-size:11.5px;color:var(--mute);margin-top:12px}
.gear{margin-left:auto;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;color:var(--ink2)}
.gear svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Envois, My plan, sélection */
.field label.pick,.pick{display:flex;align-items:center;gap:12px;padding:11px 14px;margin:0;border-bottom:1px solid var(--line);cursor:pointer;font-size:inherit;color:inherit;font-weight:400;background:#fff}
.pick:last-child{border-bottom:0}.pick input{flex:none;width:22px;height:22px;accent-color:var(--brand);margin:0}
.pick .rt b{display:block;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick .rt small{color:var(--ink2);font-size:12px}.pick .rt{flex:1;min-width:0}
.list:has(> .pick){display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;gap:0}
.pgh{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin:16px 0 8px}.pgh:first-child{margin-top:0}
.lnk{float:right;color:var(--brand);font-weight:600;font-size:13px}#bSendR{width:100%}
.okbox{background:#fff;border:1px solid var(--line)!important;border-radius:14px;margin:6px 0 14px!important}.okbox .rt{font-size:14px;line-height:1.4}#bPlan{width:100%}
.plan-prog{display:flex;gap:6px;margin:16px 2px 4px}.plan-prog i{flex:1;height:8px;border-radius:99px;background:var(--line)}.plan-prog i.on{background:var(--brand)}
.plan-btns{display:flex;gap:8px;margin-top:6px}.plan-btns .btn{flex:1}
.tst{margin:2px 2px 0;line-height:1.55}.tst .pill{margin-right:4px;vertical-align:1px}.tag{color:var(--brand);font-weight:700;white-space:nowrap}
.bar{height:8px;background:var(--line);border-radius:6px;margin-top:10px;overflow:hidden}.bar i{display:block;height:100%;background:var(--brand);border-radius:6px}
.amt{flex:none;text-align:right;font-weight:700;font-size:13.5px;padding-left:8px;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.amt small{color:var(--ink2);font-weight:600;font-size:11.5px}
.alert{background:#FCEBEC;color:#8A1F26;border-radius:14px;padding:12px 14px;margin:8px 0;font-weight:600;font-size:14px}
.pack{border:1px solid var(--line);border-radius:14px;padding:13px 14px;margin-top:10px}
.pack .h{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.pack .h small{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)}.pack .h span{font-size:13px;color:var(--ink2)}.pack .h span b{font-size:16px;color:var(--ink)}
.rt small.seen{color:var(--ok);font-weight:600}
.ract{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:6px}
.row .rt small.l,.row .rt small.seen{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu{display:none!important}

/* ===== Ordinateur (≥ 1024 px) ===== */
.side-brand,.side-only,.side-user{display:none!important}
@media (min-width:1024px){
  :root{--side:248px;--panel-w:clamp(440px,46vw,900px)}
  body:has(#tabs:not([hidden])) .top{display:none}
  body:has(#tabs:not([hidden])) main{margin:0 0 0 var(--side);max-width:1100px;padding:36px 48px 56px}
  body.side-view:has(#tabs:not([hidden])) main{margin-right:var(--panel-w);max-width:none;padding-left:32px;padding-right:32px}
  .tabs{top:0;bottom:0;left:0;right:auto;width:var(--side);margin:0;border:0;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:4px;padding:24px 14px 16px;overflow-y:auto}
  .side-brand{display:flex!important;align-items:center;padding:2px 10px 26px}
  .side-brand img{height:22px;width:auto}
  .tabs button{flex-direction:row;justify-content:flex-start;gap:12px;padding:0 12px;min-height:44px;border-radius:12px;font-size:14.5px;color:var(--ink3);text-align:left}
  .tabs button:hover{background:var(--panel)}
  .tabs button.on{background:var(--soft);color:var(--brand)}
  .side-only{display:flex!important;margin-top:14px;position:relative}
  .side-only:before{content:"";position:absolute;left:12px;right:12px;top:-8px;border-top:1px solid var(--line)}
  .side-user{display:flex!important;align-items:center;gap:10px;margin-top:auto;padding:10px!important;min-height:56px!important;background:var(--panel)}
  .side-user i{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--plum);color:#fff;font-style:normal;font-weight:700;font-size:13px}
  .side-user span{flex:1;min-width:0;line-height:1.25}.side-user b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
  .side-user small{display:block;font-size:11.5px;font-weight:500;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .side-user em{font-style:normal;color:var(--mute);font-size:18px}
  .toast{left:calc(var(--side) + 24px);right:auto;bottom:24px;max-width:480px}
  h1{font-size:32px}
  .list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px}
  .list:has(> .empty){display:flex}
  .row:hover,.team:hover,.tile:hover,.stat:hover,.rc:hover{border-color:var(--line2);background:#FCFBFE}
  .tiles{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
  .teams{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}
  .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .home-cols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start}
  .home-cols .list{display:flex}
  main > .form,main > form{max-width:640px}
  .sheet{align-items:center}.sheet > div{border-radius:22px}
  .viewer.side{left:auto;width:var(--panel-w);z-index:25;box-shadow:-12px 0 40px rgba(22,17,43,.12)}
  .viewer.side .vbar{padding:12px 12px 12px 18px}
  .viewer.side .vx{font-size:18px;width:40px;height:40px;border-radius:10px;background:var(--soft);color:var(--brand);display:grid;place-items:center;padding:0}
}
.crumbs .ph,.crumbs h1{color:var(--ink)}
.row .rt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph{position:relative}.ph .gear{position:absolute;right:0;top:-10px}
@media (min-width:1024px){.codesel{max-width:420px}.seg{max-width:520px}}
.news.post a.btn.li{display:inline-flex;color:#fff}.news.post a.btn.li:hover{color:#fff}

/* 2.0.4 : onglet IA */
@media (max-width:1023px){.tabs button{min-width:0;flex:1 1 0}.tabs button span{font-size:10px}}
body.ia main{min-height:0;padding-bottom:0}
body.ia main .ph{margin-bottom:10px}
#iaBox{max-width:720px;margin:0 auto;padding:0 12px}
#iaBox iframe{display:block;border-radius:16px;background:#fff}
#iaBox[hidden],.tabs button[hidden]{display:none!important}
@media (min-width:1024px){
  body:has(#tabs:not([hidden])) #iaBox{margin:0 0 0 var(--side);max-width:1100px;padding:0 48px 24px}
  body.ia:has(#tabs:not([hidden])) main{padding-bottom:0}
  #iaBox iframe{border:1px solid var(--line)!important}
}

/* 2.0.7 : titres sur une ligne */
@media (max-width:1023px){main .ph h1{font-size:clamp(19px,6.1vw,26px);letter-spacing:-.025em}}

/* ---------- My Pers6na (app client) ---------- */
.pcard{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #E6DDF2;border-radius:14px;background:#fff}
.pcard .ri{width:46px;height:46px;min-width:46px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:15px}
.pcard .rt{display:flex;flex-direction:column;gap:2px;min-width:0}
.pcard .rt b{font-size:16px}
.pcard .rt small{color:#6B6680;font-size:12.5px;overflow-wrap:anywhere}
.pbtns{display:flex;gap:10px;margin-top:10px}
.pbtns .btn{flex:1;text-decoration:none}
.kick:has(.km){text-transform:none;letter-spacing:.01em;font-size:15px}
.kick .km{color:#16112B;font-weight:800}
