:root{
  --ink:#1c2733;--ink2:#4a5868;--mute:#7b8794;--line:#e7e2db;
  --bg:#f7f4ef;--card:#ffffff;--soft:#f0ece5;
  --brand:#2e7d6b;--brand-d:#1f5e50;--brand-l:#e3f1ed;
  --pink:#e58fa8;--pink-l:#fbe9ef;--blue:#6c9bd1;--blue-l:#e6eefa;
  --amber:#d99a2b;--amber-l:#fbf1dc;--red:#c4493d;--red-l:#fbe7e4;--ok:#2e7d4f;--ok-l:#e2f2e8;
  --r:18px;--r-s:12px;--sh:0 1px 2px rgba(28,39,51,.05),0 6px 20px rgba(28,39,51,.06);
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--ink:#eef1f4;--ink2:#c3ccd5;--mute:#94a0ad;--line:#2b3744;--bg:#0f1720;--card:#17212c;--soft:#1d2935;
    --brand:#58b8a1;--brand-d:#7ccfba;--brand-l:#173229;--pink-l:#33202a;--blue-l:#1b2a3d;--amber-l:#33291a;--red-l:#37201d;--ok-l:#17301f;
    --sh:0 1px 2px rgba(0,0,0,.4),0 6px 20px rgba(0,0,0,.35)}
}
:root[data-theme="dark"]{--ink:#eef1f4;--ink2:#c3ccd5;--mute:#94a0ad;--line:#2b3744;--bg:#0f1720;--card:#17212c;--soft:#1d2935;
  --brand:#58b8a1;--brand-d:#7ccfba;--brand-l:#173229;--pink-l:#33202a;--blue-l:#1b2a3d;--amber-l:#33291a;--red-l:#37201d;--ok-l:#17301f;
  --sh:0 1px 2px rgba(0,0,0,.4),0 6px 20px rgba(0,0,0,.35)}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--ink);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
a{color:var(--brand-d)}
h1,h2,h3{line-height:1.2;letter-spacing:-.01em;color:inherit;font-size:inherit;font-weight:700;margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:8px}
svg.ic{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ── shell ── */
.app{min-height:100vh;display:flex;flex-direction:column;max-width:1180px;margin:0 auto}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:14px 16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid transparent}
.top .hello{flex:1;min-width:0}
.top .hello small{display:block;color:var(--mute);font-size:12.5px}
.top .hello b{font-size:19px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.iconbtn{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--card);box-shadow:var(--sh)}
.iconbtn .dot{position:absolute;top:7px;right:8px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--pink);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}
.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--brand),var(--blue));flex:none}
.avatar.lg{width:72px;height:72px;font-size:26px}
.avatar.sm{width:34px;height:34px;font-size:13px}
main{flex:1;padding:6px 16px 110px}
.view{display:none;animation:fade .25s ease}
.view.on{display:block}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.view{animation:none}*{transition:none!important}}

.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:space-around;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line)}
.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;font-size:11.5px;color:var(--mute);border-radius:12px;font-weight:500}
.tabbar button[aria-selected="true"]{color:var(--brand-d)}
.tabbar button[aria-selected="true"] svg{stroke-width:2.3}
@media (min-width:900px){
  .app{flex-direction:row;flex-wrap:wrap}
  .top{width:100%;flex:none}
  .tabbar{position:sticky;top:78px;align-self:flex-start;flex-direction:column;justify-content:flex-start;gap:4px;width:210px;height:auto;margin:6px 0 0 16px;padding:10px;border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
  .tabbar button{flex-direction:row;gap:12px;font-size:14.5px;padding:12px 14px;justify-content:flex-start}
  .tabbar button[aria-selected="true"]{background:var(--brand-l)}
  main{flex:1;min-width:0;padding:6px 24px 40px}
}

/* ── cards & blocks ── */
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:16px}
.card + .card,.stack > * + *{margin-top:14px}
.sec{margin:22px 0 10px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.sec h2{font-size:17px}
.sec a,.sec button{font-size:13.5px;color:var(--brand-d);font-weight:600}
.muted{color:var(--mute)}
.small{font-size:13px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;background:var(--soft);font-size:12.5px;font-weight:600;color:var(--ink2)}
.chip.brand{background:var(--brand-l);color:var(--brand-d)}
.chip.pink{background:var(--pink-l);color:#a8486a}
.chip.blue{background:var(--blue-l);color:#2f64a0}
.chip.amber{background:var(--amber-l);color:#8a5d0c}
.chip.red{background:var(--red-l);color:var(--red)}
.chip.ok{background:var(--ok-l);color:var(--ok)}
a.btn{text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:99px;font-weight:650;background:var(--brand);color:#fff;transition:transform .15s,background .15s}
.btn:hover{background:var(--brand-d)}.btn:active{transform:scale(.97)}
.btn.ghost{background:var(--soft);color:var(--ink)}
.btn.ghost:hover{background:var(--line)}
.btn.line{background:transparent;border:1.5px solid var(--line);color:var(--ink)}
.btn.sm{padding:7px 13px;font-size:13px}
.btn.block{display:flex;width:100%}
.btn[disabled]{opacity:.5;pointer-events:none}
.row{display:flex;align-items:center;gap:12px}
.row.wrap{flex-wrap:wrap}
.grow{flex:1;min-width:0}
.grid2{display:grid;gap:14px}
@media (min-width:700px){.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:repeat(3,1fr)}}
.grid3{display:grid;gap:14px}

/* hero cure */
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#2e7d6b 0%,#3d8fa8 55%,#6c9bd1 100%);border-radius:24px;padding:20px;box-shadow:var(--sh)}
.hero::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28),transparent 65%)}
.hero h1{font-size:22px;max-width:70%}
.hero p{opacity:.9;margin-top:4px}
.ring{position:absolute;right:18px;top:18px;width:84px;height:84px}
.ring svg{width:84px;height:84px;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:8;stroke-linecap:round}
.ring .bg{stroke:rgba(255,255,255,.28)}.ring .fg{stroke:#fff;transition:stroke-dashoffset .8s ease}
.ring b{position:absolute;inset:0;display:grid;place-items:center;font-size:18px}
.hero .actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.hero .btn{background:#fff;color:#1f5e50}
.hero .btn.ghost{background:rgba(255,255,255,.2);color:#fff}
.week{display:flex;gap:8px;margin-top:16px}
.week div{flex:1;text-align:center;font-size:11px;opacity:.95}
.week i{display:block;margin:4px auto 0;width:26px;height:26px;border-radius:50%;border:2px solid rgba(255,255,255,.5);display:grid;place-items:center;font-style:normal;font-size:12px}
.week i.done{background:#fff;color:#1f5e50;border-color:#fff}
.week i.today{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.3)}

/* content cards */
.hscroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:2px 16px 8px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.hscroll > *{scroll-snap-align:start;flex:none}
.cc{width:230px;border-radius:var(--r);background:var(--card);box-shadow:var(--sh);overflow:hidden;text-align:left;display:block}
.cc .cover{height:112px;display:grid;place-items:center;color:#fff;position:relative}
.cc .cover .ic{width:34px;height:34px;opacity:.95}
.cc .cover .kind{position:absolute;left:10px;top:10px;background:rgba(0,0,0,.28);padding:3px 9px;border-radius:99px;font-size:11px;font-weight:600}
.cc .cover .heart{position:absolute;right:8px;top:6px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.22)}
.cc .cover .heart[aria-pressed="true"]{background:#fff;color:var(--pink)}
.cc .cover .heart[aria-pressed="true"] svg{fill:var(--pink);stroke:var(--pink)}
.cc .body{padding:12px 14px 14px}
.cc .body b{display:block;font-size:14.5px;line-height:1.3}
.cc .body small{color:var(--mute);font-size:12.5px;display:block;margin-top:4px}
.cc .bar{height:4px;background:var(--soft);border-radius:4px;margin-top:10px;overflow:hidden}
.cc .bar i{display:block;height:100%;background:var(--brand);border-radius:4px}
.g1{background:linear-gradient(135deg,#2e7d6b,#58b8a1)}.g2{background:linear-gradient(135deg,#6c9bd1,#8d7bd1)}
.g3{background:linear-gradient(135deg,#e58fa8,#e8a76a)}.g4{background:linear-gradient(135deg,#3d8fa8,#2e7d6b)}
.g5{background:linear-gradient(135deg,#8d7bd1,#e58fa8)}.g6{background:linear-gradient(135deg,#d99a2b,#e58fa8)}
.list > * + *{border-top:1px solid var(--line)}
.li{display:flex;align-items:center;gap:12px;padding:12px 0;width:100%;text-align:left}
.li .ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--brand-l);color:var(--brand-d);flex:none}
.li .t{font-weight:600}.li .s{font-size:13px;color:var(--mute)}
.seg{display:inline-flex;background:var(--soft);border-radius:99px;padding:4px;gap:2px}
.seg button{padding:7px 14px;border-radius:99px;font-size:13.5px;font-weight:600;color:var(--ink2)}
.seg button[aria-pressed="true"]{background:var(--card);color:var(--ink);box-shadow:var(--sh)}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;padding:8px 14px;border-radius:99px;background:var(--card);border:1.5px solid var(--line);font-weight:600;font-size:13.5px}
.chips button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.search{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:99px;padding:11px 16px;box-shadow:var(--sh)}
.search input{border:0;background:none;flex:1;outline:0;min-width:0}

/* forms */
label.f{display:block;font-weight:600;font-size:13.5px;margin:14px 0 6px}
.in,.sel,.ta{width:100%;padding:11px 14px;border-radius:var(--r-s);border:1.5px solid var(--line);background:var(--card);outline:0}
.in:focus,.sel:focus,.ta:focus{border-color:var(--brand)}
.ta{min-height:96px;resize:vertical}
.sw{position:relative;width:48px;height:28px;border-radius:99px;background:var(--line);flex:none;transition:background .2s}
.sw::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.sw[aria-checked="true"]{background:var(--brand)}.sw[aria-checked="true"]::after{transform:translateX(20px)}
.opt{display:flex;gap:14px;align-items:flex-start;width:100%;text-align:left;padding:14px;border-radius:var(--r);border:2px solid var(--line);background:var(--card)}
.opt[aria-pressed="true"]{border-color:var(--brand);background:var(--brand-l)}
.opt .ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none;color:#fff}
.opt .check{margin-left:auto;width:24px;height:24px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:transparent;flex:none}
.opt[aria-pressed="true"] .check{background:var(--brand);border-color:var(--brand);color:#fff}
.opt b{display:block}.opt span.d{font-size:13px;color:var(--ink2)}

/* sheet / modal */
.scrim{position:fixed;inset:0;background:rgba(10,18,26,.5);z-index:60;display:none;align-items:flex-end;justify-content:center}
.scrim.on{display:flex}
.sheet{background:var(--bg);width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:26px 26px 0 0;padding:8px 18px 26px;animation:up .28s ease}
@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.sheet .shead{position:sticky;top:-8px;z-index:3;margin:-8px -18px 6px;padding:8px 18px 4px;background:var(--bg);min-height:50px}
.sheet .grab{width:42px;height:5px;border-radius:5px;background:var(--line);margin:6px auto 8px}
.sheet .xbtn{position:absolute;right:10px;top:6px;width:44px;height:44px;border-radius:50%;border:0;background:var(--soft);color:var(--ink);display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sheet .xbtn:active{transform:scale(.94)}
.sheet .xbtn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.sheet h2{font-size:20px;margin-bottom:4px}
@media (min-width:700px){.scrim{align-items:center}.sheet{border-radius:26px}}
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(20px);background:var(--ink);color:var(--bg);padding:11px 18px;border-radius:99px;font-weight:600;font-size:14px;opacity:0;pointer-events:none;transition:.3s;z-index:80;max-width:90vw}
.toast.on{opacity:1;transform:translateX(-50%)}
.note{display:flex;gap:10px;padding:12px 14px;border-radius:var(--r-s);background:var(--blue-l);color:var(--ink2);font-size:13px}
.note.warn{background:var(--amber-l)}
.note svg{margin-top:1px}
.empty{padding:26px;text-align:center;color:var(--mute)}
.kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.kpi div{background:var(--soft);border-radius:var(--r-s);padding:12px;text-align:center}
.kpi b{display:block;font-size:22px}.kpi span{font-size:12px;color:var(--mute)}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.cal .d{aspect-ratio:1/1;border-radius:10px;background:var(--soft);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--mute);position:relative}
.cal .d.done{background:var(--brand);color:#fff}.cal .d.today{outline:2.5px solid var(--pink);outline-offset:1px;color:var(--ink)}
.cal .d.miss{background:var(--amber-l);color:#8a5d0c}
.cal .h{text-align:center;font-size:11px;color:var(--mute)}
.mgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.mh{text-align:center;font-size:12px;color:var(--mute);font-weight:600;padding:2px 0}
.dc{min-height:64px;border-radius:12px;background:var(--card);border:1.5px solid transparent;padding:6px;text-align:left;display:flex;flex-direction:column;gap:3px;box-shadow:var(--sh);overflow:hidden;position:relative}
.dc.out{opacity:.45}
.dc.today{border-color:var(--pink)}
.dc.sel{border-color:var(--brand);background:var(--brand-l)}
.dc.over{border-color:var(--blue);background:var(--blue-l)}
.dc .n{font-size:12.5px;font-weight:700;color:var(--ink2)}
.dc .it{display:block;font-size:11.5px;line-height:1.25;border-radius:7px;padding:3px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;cursor:grab}
.it.s-draft{background:var(--soft);color:var(--ink2);border:1px dashed var(--mute)}
.it.s-pending{background:var(--amber-l);color:#8a5d0c}
.it.s-approved{background:var(--blue-l);color:#2f64a0}
.it.s-published{background:var(--ok-l);color:var(--ok);cursor:default}
.it.s-rejected{background:var(--red-l);color:var(--red)}
.dc .more{font-size:11px;color:var(--mute)}
@media (max-width:640px){.dc{min-height:50px;padding:4px}.dc .it{height:7px;padding:0;font-size:0;border-radius:4px}.dc .n{font-size:12px}}
.legend{display:flex;gap:8px;flex-wrap:wrap}
.flagbox{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--amber-l);font-size:13px}
.flagbox.ok{background:var(--ok-l)}
.tabbar .badge{background:var(--pink);color:#fff;border-radius:9px;font-size:10px;font-weight:700;padding:1px 6px;margin-left:4px}
.wrap{max-width:1280px;margin:0 auto;padding:18px 16px 60px}
.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:16px}.layout>*{min-width:0}
@media (min-width:1000px){.layout{grid-template-columns:260px minmax(0,1fr) 340px;align-items:start}}
.panel{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:16px}
.panel h2{font-size:15px;margin-bottom:10px}
.stage{display:flex;justify-content:center;padding:18px;border-radius:var(--r);background:repeating-linear-gradient(135deg,var(--soft) 0 12px,transparent 12px 24px);min-height:520px}
.dev{background:#10161d;border-radius:38px;padding:12px;box-shadow:0 20px 50px rgba(0,0,0,.28);transition:width .3s,height .3s}
.dev.phone{width:402px;height:812px}.dev.tablet{width:800px;height:900px;border-radius:26px}.dev.desktop{width:100%;height:760px;border-radius:16px;padding:8px}
.dev iframe{width:100%;height:100%;border:0;border-radius:28px;background:var(--bg)}
.dev.desktop iframe{border-radius:10px}
.bar{height:10px;border-radius:6px;background:var(--soft);overflow:hidden}.bar i{display:block;height:100%}
table{width:100%;border-collapse:collapse;font-size:13.5px}td,th{padding:8px 4px;border-bottom:1px solid var(--line);text-align:left}
.demo{font-size:11.5px;color:var(--mute);margin-top:8px}

/* ───────── HarmonyApp : ajouts ───────── */
#offline{position:sticky;top:0;z-index:90;display:flex;gap:10px;align-items:center;justify-content:center;padding:8px 14px;background:var(--amber-l);color:#8a5d0c;font-size:13px;font-weight:600}
.tabbar .badge{background:var(--pink);color:#fff;border-radius:9px;font-size:10px;font-weight:700;padding:1px 6px;margin-left:4px}
.hero .streak{display:flex;gap:8px;align-items:center;margin-top:14px;opacity:.95}
.seg.full{display:flex;width:100%}.seg.full button{flex:1}
.intent{display:flex;gap:8px;margin-top:10px}
.intent input{flex:1}
.quote{font-size:17px;line-height:1.35;font-weight:600;color:var(--ink)}
.chips.wrapchips{flex-wrap:wrap;overflow:visible}
.dotline{display:flex;gap:5px}.dotline i{flex:1;height:6px;border-radius:6px;background:var(--line)}.dotline i.on{background:var(--brand)}
/* pause : minuteur */
.presets{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.presets button{padding:12px 0;border-radius:14px;background:var(--card);border:1.5px solid var(--line);font-weight:700}
.presets button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.presets small{display:block;font-weight:500;font-size:11px;opacity:.8}
.bigtime{font-size:58px;font-weight:300;letter-spacing:-.02em;font-variant-numeric:tabular-nums;text-align:center}
.session{position:fixed;inset:0;z-index:70;display:none;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;background:linear-gradient(160deg,#1b3d37,#1d3b57 60%,#2b2f55);color:#fff;text-align:center}
.session.on{display:flex}
.session .dial{position:relative;width:min(70vw,300px);aspect-ratio:1/1;display:grid;place-items:center}
.session .dial svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.session .dial circle{fill:none;stroke-width:6;stroke-linecap:round}
.session .dial .bg{stroke:rgba(255,255,255,.18)}.session .dial .fg{stroke:#fff;transition:stroke-dashoffset .5s linear}
.session .btn{background:rgba(255,255,255,.16);color:#fff}
.session .btn.main{background:#fff;color:#1f5e50}
.session small{opacity:.8}
.orb{width:56%;aspect-ratio:1/1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#bfe9dc,#58b8a1 55%,#2e7d6b);box-shadow:0 0 60px rgba(150,230,210,.45);transition:transform linear}
@media (prefers-reduced-motion:reduce){.orb{transition:none!important}}
.phase{font-size:26px;font-weight:600;min-height:34px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:99px;background:var(--soft);font-size:12px;font-weight:600;color:var(--ink2)}
.tg{display:flex;align-items:center;gap:12px;padding:10px 0}
.tg + .tg{border-top:1px solid var(--line)}
.warnbox{border:1.5px solid var(--amber);background:var(--amber-l);border-radius:var(--r-s);padding:12px 14px;font-size:13px}
.tiny{font-size:12px;color:var(--mute)}
.lock-note{display:flex;gap:10px;align-items:flex-start}
.stat{display:flex;align-items:baseline;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}
.stat:last-child{border:0}
.err{color:var(--red);font-size:13px;margin-top:6px}
.qrow{display:flex;gap:10px;align-items:flex-start;padding:12px 0}
.qrow + .qrow{border-top:1px solid var(--line)}
/* page d'accueil / choix du profil de démonstration */
.gate{max-width:640px;margin:0 auto;padding:28px 18px 60px}
.gate .logo{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.gate .logo .mk{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--brand),var(--blue));display:grid;place-items:center;color:#fff}
.pf{display:flex;gap:14px;align-items:center;width:100%;text-align:left;padding:14px;border-radius:var(--r);background:var(--card);box-shadow:var(--sh);border:2px solid transparent}
.pf:hover,.pf:focus-visible{border-color:var(--brand)}
.pf + .pf{margin-top:10px}
.it.s-cancelled{background:var(--soft);color:var(--mute);text-decoration:line-through;cursor:default}

/* ───────── visuels ───────── */
.cc .cover.img,.cover.img{background-size:cover;background-position:center;background-repeat:no-repeat}
.cover.img > svg.ic{display:none}
.cc .cover .kind{background:rgba(20,30,40,.5)}
.cc .cover.img .heart{background:rgba(255,255,255,.88);color:var(--ink2)}
.cc .cover.img .heart[aria-pressed="true"]{color:var(--pink)}
.illus{display:block;margin:0 auto;border-radius:20px;background:#f5f2ec;overflow:hidden}
.illus img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.emp{text-align:center;padding:22px 16px;color:var(--mute)}
.emp .illus{width:128px;height:128px;margin-bottom:12px}
.banner{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 14px;border-radius:16px;background:color-mix(in srgb,var(--card) 55%,transparent);border:1px solid color-mix(in srgb,var(--ink) 10%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}
.banner i{flex:none;width:28px;height:28px;border-radius:50%;background:center/cover no-repeat;opacity:.9}
.banner span{font-weight:600;font-size:14px;color:var(--ink)}
.sheet .onb{width:112px;height:112px;margin:2px auto 10px}
.gate-bg{position:fixed;inset:0;z-index:-1;background:var(--bg) url(img/bg-landscape.webp) center bottom/cover no-repeat;opacity:.55}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gate-bg{opacity:.18}}
.gate .hero-img{width:100%;border-radius:22px;box-shadow:var(--sh);margin:6px 0 16px;display:block}
.gate .logo .mk{background:none;overflow:hidden;padding:0}
.gate .logo .mk img{width:48px;height:48px;display:block;border-radius:16px}

/* logo BioMira */
.brandmk{width:42px;height:42px;border-radius:13px;background:#fff;display:grid;place-items:center;flex:none;box-shadow:var(--sh);overflow:hidden}
.brandmk img{width:30px;height:auto;display:block}
.wordmark{height:26px;width:auto;display:block}
.wordtile{background:#fff;border-radius:12px;padding:7px 12px;display:inline-flex;box-shadow:var(--sh)}
.lock{max-width:520px;margin:0 auto;padding:34px 20px 60px;text-align:center}
.lock .biglogo{width:min(260px,72%);height:auto;background:#fff;border-radius:22px;padding:14px 18px;box-shadow:var(--sh);margin:0 auto 18px;display:block}
.lock h1{font-size:25px;margin-bottom:8px}
.lock p{color:var(--mute);margin:0 0 18px;line-height:1.5}
.lock .codebox{display:flex;gap:10px;margin:6px 0 8px}
.lock .codebox .in{flex:1;text-align:center;letter-spacing:.08em;text-transform:uppercase;font-weight:650}
.lock .err{color:var(--red,#b3261e);min-height:22px;font-size:14px;margin-bottom:6px}
.lock .note{text-align:left;margin-top:16px}

/* console admin en mode intégré (aperçu « Administrateur » dans l'iframe) */
body.embed #pv,body.embed #tools,body.embed #stage,body.embed #out{display:none!important}
body.embed .layout{display:block!important}
body.embed .layout>aside{width:100%!important;max-width:none!important}
body.embed .wrap{padding:12px!important}

/* ── niveaux, sticker J+ et bouclier ── */
.shield{display:inline-flex;vertical-align:middle;line-height:0}
.shield svg{display:block}
.stk .shield{margin-top:1px}
.shdefs{position:absolute;width:0;height:0;overflow:hidden}
.avx{position:relative;display:inline-flex;flex:none;margin-bottom:15px}
.stk{position:absolute;left:50%;bottom:-15px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:1px;padding:1px 7px 2px;border-radius:99px;background:#141a2b;color:#f6df9a;border:1.5px solid var(--card);box-shadow:0 2px 6px rgba(0,0,0,.25);white-space:nowrap;line-height:1.1;font-size:10px;pointer-events:none}
.stk b{font-weight:800;letter-spacing:.02em;font-size:10px}
.avatar.lg+.stk{font-size:12px;bottom:-16px}
#av{position:relative;overflow:visible;margin-bottom:10px}
#av .stk{font-size:8.5px;padding:0 5px 1px;bottom:-12px}#av .stk b{font-size:8.5px}
.lvl{cursor:pointer;border:0;font:inherit;color:inherit}
.lvl-b{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#1c2340,#2b3558);color:#f2c14e;font-size:21px;font-weight:800;flex:none}
.chal.done .t{color:var(--ok)}
.chal .ico{flex:none}
.cc[data-locked] .cover{filter:saturate(.45) brightness(.78)}
.lockb{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:99px;background:rgba(14,18,32,.82);color:#f6df9a;font-size:12px;font-weight:700}
.lockb svg{width:13px;height:13px}
.locked-cover{filter:saturate(.5) brightness(.75)}

/* ── bilan : score, graphiques ── */
.big{font-size:44px;font-weight:800;letter-spacing:-.02em;line-height:1}.big small{font-size:16px;font-weight:600;color:var(--mute);margin-left:3px}
.chart{width:100%;height:auto;display:block;margin-top:8px;overflow:visible}
.chart .cg{stroke:var(--line);stroke-width:1}.chart .cr{stroke:var(--mute);stroke-width:1;stroke-dasharray:4 4;opacity:.7}
.chart .cl{fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart .cd{fill:var(--brand);stroke:var(--card);stroke-width:2}
.chart .ct2{fill:var(--mute);font-size:9.5px}.chart .cv{fill:var(--ink);font-size:11px;font-weight:700}
.bolt{text-align:center;margin:18px 0 14px}.bolt-t{font-size:64px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}
.opt6{padding:14px 16px}

/* ── carte du monde (thème sombre premium, quel que soit le thème de l'application) ── */
.wdark{background:radial-gradient(120% 140% at 20% 0%,#16203c 0%,#0b1020 55%,#070a14 100%);color:#e9edf8;border:1px solid rgba(242,193,78,.18);box-shadow:0 10px 40px rgba(5,8,20,.45),inset 0 1px 0 rgba(255,255,255,.04)}
.wdark h2{color:#f4f1e8}
.wdark-sm{background:linear-gradient(135deg,#10172c,#1b2547);color:#e9edf8;border:1px solid rgba(242,193,78,.2)}.wdark-sm .small{color:#aab6d6}
.wk{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#d8b25a;font-weight:700}
.wcount{margin-top:6px;font-size:15px;color:#c9d2ea;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wcount b{font-size:30px;color:#fff;letter-spacing:-.02em}
.wlive,.live-tag{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:650;color:#7ee0b0}
.wlive i,.live-tag i{width:8px;height:8px;border-radius:50%;background:#5eead4;box-shadow:0 0 0 0 rgba(94,234,212,.7);animation:wping 1.8s infinite}
.live-tag{color:var(--ok)}.live-tag i{background:#22b573}
.wframe{margin:12px -6px 4px;border-radius:14px;overflow:hidden;background:radial-gradient(90% 90% at 50% 40%,#0f1830 0%,#080c18 100%);border:1px solid rgba(255,255,255,.05)}
.wsvg{width:100%;height:auto;display:block;max-height:60vh}
.wsvg .ct{fill:#18213a;stroke:#2c3a63;stroke-width:.45;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .2s}
.wsvg .ct:hover{fill:#222e50}
.wsvg .ct.has{fill:#2a2a3d;stroke:#7a6a3d}
.wsvg .ct.sel{fill:#3a3320;stroke:#f2c14e}
.wsvg .bub{cursor:pointer}
.wsvg .bub .halo{fill:rgba(242,193,78,.14)}
.wsvg .bub .core{fill:#f2c14e;stroke:#fff3c9;stroke-width:1;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px rgba(242,193,78,.85))}
.wsvg .bub text{fill:#1a1405;font-weight:800;pointer-events:none}
.wsvg .bub.sel .core{fill:#fff3c9}
.wsvg .bub .pulse{fill:none;stroke:#5eead4;stroke-width:1.6;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:wpulse 2.2s ease-out infinite}
.wsvg .bub:focus-visible{outline:none}.wsvg .bub:focus-visible .core{stroke:#fff;stroke-width:3}
.wchips{margin-top:10px}.wchips button{background:rgba(255,255,255,.07);color:#cdd6ee;border:1px solid rgba(255,255,255,.08)}
.wchips button[aria-pressed="true"]{background:#f2c14e;color:#1a1405;border-color:#f2c14e}
.wnote{margin-top:10px;font-size:12px;color:#8f9bbd}
@keyframes wpulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.6);opacity:0}}
@keyframes wping{0%{box-shadow:0 0 0 0 rgba(94,234,212,.6)}70%,100%{box-shadow:0 0 0 8px rgba(94,234,212,0)}}
@media (prefers-reduced-motion:reduce){.wsvg .bub .pulse,.wlive i,.live-tag i{animation:none}}

/* ── bouclier : paliers (coton → diamant) ── */
.shl{display:flex;align-items:center;gap:14px}
.shl .shield{filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}
.shsteps{display:flex;gap:6px;margin-top:12px}
.shsteps div{flex:1;text-align:center;font-size:11px;color:var(--mute)}
.shsteps div.on{color:var(--ink);font-weight:650}
.shsteps .shield{opacity:.35;filter:grayscale(.6)}
.shsteps div.on .shield{opacity:1;filter:none}

/* ── photo de profil ── */
.avatar.ph{background-size:cover;background-position:center;color:transparent}
.avatar.ph::after{content:none}
.avx .avatar.xl{width:96px;height:96px;font-size:34px}
.setrow .s b{color:var(--ink2);font-weight:600}
.tog{display:flex;align-items:flex-start;gap:12px;padding:12px 0;width:100%;text-align:left}
.tog input{width:22px;height:22px;margin-top:2px;accent-color:var(--brand);flex:none}
.pwf{position:relative}
.bgprev{display:flex;gap:10px;margin-top:12px}
.bgprev button{flex:1;border-radius:14px;overflow:hidden;border:2px solid var(--line);aspect-ratio:3/4;max-height:150px;background:#0b1620 center/cover no-repeat;position:relative;color:#eef1f4;font-weight:650;font-size:12.5px;display:flex;align-items:flex-end;justify-content:center;padding:8px}
.bgprev button[aria-pressed="true"]{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-l)}
.bgprev button.none{background:var(--soft);color:var(--ink)}

/* ── fond d'écran « Rivière zen » (le fichier se remplace dans assets/img) ── */
/* Jour (thème clair, ou mode Auto en journée) : rivière lumineuse ; soir et nuit (thème sombre) : rivière sous la lune. Le mode Auto suit l'heure (client.html + applyLook). */
body.has-bg::before{content:"";position:fixed;inset:0;z-index:-1;background:#e6f1ee url(img/bg-river-day-p.webp) center/cover no-repeat;pointer-events:none}
@media (min-aspect-ratio:1/1){body.has-bg::before{background-image:url(img/bg-river-day-l.webp)}}
:root:not([data-theme="dark"]) body.has-bg{background:#e6f1ee;--card:rgba(255,255,255,.74);--soft:rgba(255,255,255,.58);--line:rgba(31,94,80,.16);--sh:0 6px 24px rgba(20,60,50,.12)}
:root:not([data-theme="dark"]) body.has-bg::before{background-image:linear-gradient(rgba(246,252,250,.22),rgba(246,252,250,.50)),url(img/bg-river-day-p.webp)}
@media (min-aspect-ratio:1/1){:root:not([data-theme="dark"]) body.has-bg::before{background-image:linear-gradient(rgba(246,252,250,.22),rgba(246,252,250,.50)),url(img/bg-river-day-l.webp)}}
:root:not([data-theme="dark"]) body.has-bg .top{background:rgba(255,255,255,.42)}
body.has-bg::before{transition:opacity .4s}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) body.has-bg{background:#050b10;--card:rgba(14,26,32,.70);--soft:rgba(28,44,50,.66);--line:rgba(160,205,195,.16);--sh:0 8px 28px rgba(0,0,0,.38)}
  :root:not([data-theme="light"]) body.has-bg::before{opacity:1;background-image:linear-gradient(rgba(5,11,16,.28),rgba(5,11,16,.62)),url(img/bg-river-p.webp)}
  :root:not([data-theme="light"]) body.has-bg .top{background:rgba(5,11,16,.38)}
}
@media (prefers-color-scheme:dark) and (min-aspect-ratio:1/1){:root:not([data-theme="light"]) body.has-bg::before{background-image:linear-gradient(rgba(5,11,16,.28),rgba(5,11,16,.62)),url(img/bg-river-l.webp)}}
:root[data-theme="dark"] body.has-bg{background:#050b10;--card:rgba(14,26,32,.70);--soft:rgba(28,44,50,.66);--line:rgba(160,205,195,.16);--sh:0 8px 28px rgba(0,0,0,.38)}
:root[data-theme="dark"] body.has-bg::before{opacity:1;background-image:linear-gradient(rgba(5,11,16,.28),rgba(5,11,16,.62)),url(img/bg-river-p.webp)}
:root[data-theme="dark"] body.has-bg .top{background:rgba(5,11,16,.38)}
@media (min-aspect-ratio:1/1){:root[data-theme="dark"] body.has-bg::before{background-image:linear-gradient(rgba(5,11,16,.28),rgba(5,11,16,.62)),url(img/bg-river-l.webp)}}
body.has-bg .card,body.has-bg .tabbar,body.has-bg .iconbtn{-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}
.shield.t4{filter:drop-shadow(0 0 3px rgba(130,150,230,.45))}
.shield.t5{filter:drop-shadow(0 0 5px rgba(110,220,240,.75))}

/* ── Ambiances sonores (bibliothèque BioMira) ── */
.ambgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ambcard{position:relative;display:flex;align-items:flex-end;aspect-ratio:3/4;border-radius:var(--r);overflow:hidden;background-size:cover;background-position:center;color:#fff;text-align:left;box-shadow:var(--sh);isolation:isolate}
.ambcard::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,24,0) 38%,rgba(8,20,24,.78));z-index:-1}
.ambcard-t{display:block;padding:12px;padding-right:44px}
.ambcard-t b{display:block;font-size:15px;line-height:1.2;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.ambcard-t small{display:block;margin-top:3px;font-size:11.5px;line-height:1.3;opacity:.88;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ambcard-p{position:absolute;right:10px;bottom:10px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);color:#1f5e50}
.ambcard-p svg{width:16px;height:16px}
.ambcard:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.ritual{padding:10px 0;border-top:1px solid var(--line)}
.ritual:first-child{border-top:0;padding-top:0}.ritual:last-child{padding-bottom:0}
.ritual b{display:block}.ritual span{display:block;font-size:13px;color:var(--ink2);margin-top:2px}
.ambplayer{position:fixed;inset:0;z-index:80;display:none;color:#fff;background:#10201f}
.ambplayer.on{display:block}
.amb-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.04)}
.amb-veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,16,20,.35),rgba(6,16,20,.55) 45%,rgba(6,16,20,.86))}
.amb-x{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(6px)}
.amb-body{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:24px 22px max(26px,env(safe-area-inset-bottom));max-width:520px;margin:0 auto}
.amb-body small{opacity:.8;letter-spacing:.04em;text-transform:uppercase;font-size:11.5px}
.amb-body h2{font-size:26px;line-height:1.15;text-shadow:0 2px 10px rgba(0,0,0,.4)}
.amb-body p{opacity:.9;font-size:14.5px;max-width:34ch}
.amb-play{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1f5e50;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.amb-play svg{width:32px;height:32px}
.amb-note{min-height:18px;font-size:13px;opacity:.9}
.amb-vol{display:flex;align-items:center;gap:10px;width:100%;max-width:320px}
.amb-vol svg{width:22px;height:22px;flex:none;opacity:.9}
.amb-vol input{flex:1;accent-color:#fff;height:28px}
.amb-sleep{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.amb-sleep button{padding:7px 13px;border-radius:99px;font-size:13px;font-weight:600;color:#fff;background:rgba(255,255,255,.14)}
.amb-sleep button[aria-pressed="true"]{background:#fff;color:#1f5e50}
.amb-credit{font-size:11px;opacity:.65;max-width:42ch}
@media (min-width:700px){.ambgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (prefers-reduced-motion:no-preference){.ambplayer.on{animation:ambin .35s ease}@keyframes ambin{from{opacity:0}to{opacity:1}}}

/* v9 : contenu du jour, avis et difficulté */
.newb{position:absolute;left:10px;bottom:10px;padding:3px 9px;border-radius:99px;background:var(--brand);color:#fff;font-size:11px;font-weight:700}
.rv .card.small{font-size:14px}
.rvstars{display:flex;gap:6px;margin-top:6px}
.rvstars .star{min-width:44px;min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--mute);font-size:20px;font-weight:700;cursor:pointer}
.rvstars .star.on{background:var(--brand-l);border-color:var(--brand);color:var(--brand-d)}
.rvstars .star:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.rvshare{display:flex;gap:10px;align-items:flex-start;margin-top:12px;font-size:14px;cursor:pointer}
.rvshare.off{opacity:.65;cursor:default}
.rvshare input{width:22px;height:22px;margin-top:2px;flex:none}
.rvst{color:var(--brand-d);letter-spacing:1px}
.rvi .chip{font-size:11px;padding:1px 8px}

.social{margin:14px 0 4px;text-align:center;font-size:12px;color:var(--mute)}
.social a{color:var(--mute);text-decoration:underline;text-underline-offset:2px;padding:6px 2px}
.social a:hover,.social a:focus-visible{color:var(--brand-d)}

/* ── médias : lecteurs et envoi de fichiers (spécialiste) ── */
/* lecteur encadré : cadre 16:9 arrondi + commandes propres (lecture, position, son, plein écran) */
.pframe{position:relative;width:100%;aspect-ratio:16/9;max-height:56vh;border-radius:18px;overflow:hidden;background:#0d1512;border:1px solid var(--line);box-shadow:var(--sh);isolation:isolate;touch-action:manipulation}
.pframe.au{aspect-ratio:auto;max-height:none;overflow:visible;background:transparent;border:0;box-shadow:none}
.pframe:fullscreen{max-height:none;border-radius:0;border:0;aspect-ratio:auto;height:100%}
.mplayer{display:block;width:100%;height:100%;border-radius:0;background:#0d1512;object-fit:contain}
.pframe.au .mplayer{display:none}
.pbig{position:absolute;inset:0;margin:auto;width:68px;height:68px;border-radius:50%;border:0;background:rgba(10,18,26,.55);color:#fff;display:grid;place-items:center;cursor:pointer;z-index:1;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.pframe.playing .pbig{opacity:0;pointer-events:none}
.pframe.load .pbig{opacity:.55}
.pbar{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:center;gap:6px;padding:22px 8px 6px;background:linear-gradient(transparent,rgba(10,18,26,.78));color:#fff;font-size:12px;font-variant-numeric:tabular-nums}
.pframe.au .pbar{position:static;background:var(--soft);color:var(--ink);border-radius:0 0 18px 18px;padding:8px}
.pbar button{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pbar button:focus-visible,.pbig:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.pframe.au .pbar button:focus-visible{outline-color:var(--brand)}
.pbar input[type=range]{flex:1;min-width:0;height:44px;margin:0;background:transparent;accent-color:var(--brand);cursor:pointer}
.pframe:not(.au) .pbar input[type=range]{accent-color:#fff}
.pbar .pt{flex:none;min-width:34px;text-align:center}
.pcover{height:150px;border-radius:18px 18px 0 0}
.cover.acov{background-size:cover;background-position:center}
.mbox{margin-top:12px;padding:12px;border:1.5px dashed var(--line);border-radius:16px;background:var(--soft)}
.mthumb{width:76px;height:54px;flex:none;border-radius:10px;overflow:hidden;background:var(--line);display:grid;place-items:center;color:var(--ink2)}
.mthumb img{width:100%;height:100%;object-fit:cover}
.mthumb .ic{width:26px;height:26px}
.mprog{height:8px;border-radius:99px;background:var(--line);overflow:hidden;margin:8px 0 4px}
.mprog i{display:block;height:100%;background:var(--brand);border-radius:99px;transition:width .2s}

.banner[role=button]{cursor:pointer}.banner[role=button]:focus-visible{outline:2px solid var(--brand,#1f8f78);outline-offset:2px}
.banner span{line-height:1.35;transition:opacity .25s}
.sprompt{min-height:3.4em;max-width:30ch;margin:6px auto 0;font-size:16px;line-height:1.45;text-align:center;color:#fff;opacity:.92;transition:opacity .6s}
.sprompt.out{opacity:0}

.cal .d.lock{background:transparent;border:1.5px dashed color-mix(in srgb,var(--mute) 45%,transparent);color:var(--mute);opacity:.8;gap:1px;grid-template-rows:auto auto;align-content:center;cursor:pointer}
.cal .d.lock .ic{opacity:.75;stroke:currentColor;margin:0 auto}
.cal .d.lock span{line-height:1}
.cal .d{min-width:0;width:100%;padding:0}
.cal .d.lock{display:flex;flex-direction:column;align-items:center;justify-content:center}
.cal .d.lock .ic{width:11px;height:11px;flex:none}

.seg.full button{min-width:0;padding-inline:4px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chip.on{background:var(--brand);color:#fff;border-color:transparent}
.seg.full.tight{padding:3px}.seg.full.tight button{font-size:12px;padding-inline:2px;text-overflow:clip}
.fold{padding:0}.fold>summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:650;display:flex;align-items:center;justify-content:space-between}.fold>summary::-webkit-details-marker{display:none}.fold>summary::after{content:'▾';color:var(--mute);transition:transform .2s}.fold[open]>summary::after{transform:rotate(180deg)}.fold>div{padding:0 16px 16px}

/* carte communauté sur Aujourd’hui : réductible */
.wtog{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#e9edf8;font:inherit;font-size:13px;font-weight:600;cursor:pointer;flex:none}
.wtog:focus-visible{outline:2px solid #f2c14e;outline-offset:2px}
.wtog svg{width:16px;height:16px;transition:transform .2s;transform:rotate(90deg)}
.wmap.shut .wtog svg{transform:rotate(0)}
@media (prefers-reduced-motion:reduce){.wtog svg{transition:none}}
