@font-face{font-family:"Bricolage";font-weight:400;font-display:block;src:url("/polices/bricolage-400.woff2") format("woff2")}
@font-face{font-family:"Bricolage";font-weight:600;font-display:block;src:url("/polices/bricolage-600.woff2") format("woff2")}
@font-face{font-family:"Bricolage";font-weight:800;font-display:block;src:url("/polices/bricolage-800.woff2") format("woff2")}

/* ---- base reprise de la console (maquettes/console/src.html), pour garder le même visuel ---- */
:root{--orange:#FF741C;--orangef:#FFF1E6;--tomate:#F23A3A;--tomatef:#FDECEC;--encre:#2A1A0E;--encre2:#3A291C;--creme:#F7F4EE;--ardoise:#4B5563;--ligne:#E7E0D4;--ligne2:#F1ECE3;--doux:#8A7F72;--vert:#1F9D6B;--vertf:#E4F5EE;--ambre:#C98A00;--act:#5B4FC7;--actf:#EFEDFB;--r:16px;--haut:58px;--cote:252px;--nuit:#2A1A0E;--jour:#F7F4EE;--fond:#F7F4EE;--surf:#fff;--surf2:#F7F4EE;--pop:#fff;--tx:#2A1A0E;--tx2:#4B5563;--plein:#2A1A0E;--pleintx:#F7F4EE;--off:#D9D1C5;--orangetx:#7A3405;--jaune:#FFC43C;--jaunef:#FFF6DC;--bleu:#1E8BFF;--bleuf:#E6F2FF}
html[data-theme=sombre]{color-scheme:dark;--fond:#15100B;--surf:#221810;--surf2:#33261B;--pop:#4D3C2D;--tx:#F3EDE4;--tx2:#C4B8A8;--doux:#9C8E7E;--ligne:#3B2C20;--ligne2:#30241A;--plein:#F3EDE4;--pleintx:#221810;--off:#57452F;--orangef:rgba(255,116,28,.17);--orangetx:#FFB98A;--tomatef:rgba(242,58,58,.18);--vert:#3FD394;--vertf:rgba(63,211,148,.15);--act:#A9A0FF;--actf:rgba(140,128,240,.2);--ambre:#FFC43C;--jaunef:rgba(255,196,60,.16);--bleuf:rgba(30,139,255,.16)}
html[data-theme=sombre] .haut{background:#0E0905;box-shadow:0 1px 0 var(--ligne)}html[data-theme=sombre] .rapides{background:transparent}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--fond);color:var(--tx);font-family:"Bricolage",system-ui,sans-serif;font-size:14px;line-height:1.4;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:inherit;text-decoration:none;cursor:pointer}
h1,h2,h3,h4,p{margin:0}
.i{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-4px}
.i.p{width:15px;height:15px;vertical-align:-3px}.i.g{width:22px;height:22px}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
kbd{font:inherit;font-size:11px;font-weight:600;min-width:20px;text-align:center;display:inline-block;background:var(--surf);border:1px solid var(--ligne);border-bottom-width:2px;border-radius:6px;padding:0 5px;color:var(--tx2);line-height:17px}

/* ============ BOUTONS ============ */
.b{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;padding:9px 16px;font-weight:600;font-size:13.5px;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .05s,color .15s}
.b:active{transform:translateY(1px)}
.b-or{background:var(--orange);color:#fff;box-shadow:0 1px 0 rgba(42,26,14,.12),0 6px 16px -6px rgba(255,116,28,.7)}.b-or:hover{background:#F2660C}
.b-en{background:var(--plein);color:var(--pleintx)}.b-en:hover{opacity:.86}
.b-ct{box-shadow:inset 0 0 0 1.5px var(--ligne);background:var(--surf)}.b-ct:hover{box-shadow:inset 0 0 0 1.5px var(--tx)}
.b-rg{background:var(--tomate);color:#fff}.b-rg:hover{background:#DC2A2A}
.b-pt{padding:6px 12px;font-size:12.5px}
.b[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.ln{font-weight:600;color:var(--tx);border-bottom:1.5px solid var(--ligne);padding-bottom:1px;font-size:13px}.ln:hover{border-color:var(--orange);color:var(--orangetx)}
.bi{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;color:var(--doux);transition:background .15s,color .15s}.bi:hover{background:var(--surf2);color:var(--tx)}.bi.dg:hover{background:var(--tomatef);color:var(--tomate)}

/* ============ CHARPENTE ============ */
.haut{position:sticky;top:0;z-index:40;height:var(--haut);display:flex;align-items:center;gap:8px;padding:0 14px 0 18px;background:var(--nuit);color:var(--jour);white-space:nowrap}
.logo{display:flex;align-items:center;flex:none}
.logo svg.bm{width:84px;height:23px;fill:#fff}
.prod{display:flex;align-items:center;gap:9px;flex:none;padding:5px 9px 5px 6px;margin:0 2px 0 4px;border-radius:12px;color:#fff;transition:background .12s}.prod:hover,body.acto .prod{background:rgba(255,255,255,.1)}
.prod .chev{width:14px;height:14px;opacity:.65;transition:transform .14s}body.acto .prod .chev{transform:rotate(180deg)}
.prod .pi{width:30px;height:30px;border-radius:9px;background:var(--orange);color:#fff;display:grid;place-items:center}.prod .pi .i{width:17px;height:17px}

.prod b{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em;line-height:1.05;color:#fff}
.prod small{display:block;font-size:11px;color:#A89A8A;line-height:1.25}
.rap .chev{width:14px;height:14px;opacity:.7;transition:transform .25s}body.menuo #btnmenu .chev{transform:rotate(180deg)}body.menuo #btnmenu{background:rgba(255,255,255,.2)}
.rap.neutre.on{background:var(--tomate);color:#fff}.rap.neutre.on kbd{background:rgba(255,255,255,.2);color:#fff}
.logo span{font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#A89A8A;border-left:1px solid rgba(255,255,255,.16);padding-left:10px}
.fil .i{width:14px;height:14px;opacity:.7}
.statut{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;padding:6px 12px 6px 10px;border-radius:999px;background:rgba(63,211,148,.16);color:#84E5BC}
.statut::before{content:"";width:8px;height:8px;border-radius:50%;background:#3FD394;box-shadow:0 0 0 3px rgba(63,211,148,.2)}
.statut.pause{background:rgba(255,196,60,.16);color:#FFD27A}.statut.pause::before{background:#FFC43C;box-shadow:0 0 0 3px rgba(255,196,60,.2)}
.sep{width:1px;height:24px;background:rgba(255,255,255,.13);margin:0 6px;flex:none}
.rap{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.08);color:var(--jour);border-radius:999px;padding:8px 13px;font-weight:600;font-size:13px;transition:background .15s}
.rap:hover{background:rgba(255,255,255,.16)}
.rap kbd{background:rgba(255,255,255,.1);border-color:transparent;color:#CFC4B6;margin-left:1px}
.rap.on{background:var(--jour);color:var(--nuit)}.rap.on kbd{background:rgba(42,26,14,.08);color:var(--nuit)}
.rap .i{width:16px;height:16px}
.esp{flex:1;min-width:4px}
.cpt{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#B8AB9C;padding:6px 10px;border-radius:10px}.cpt:hover{background:rgba(255,255,255,.07)}
.cpt b{color:#fff;font-size:15px;font-weight:800}.cpt-cx{display:inline-grid;place-items:center;position:relative}.cpt-cx::after{content:attr(data-tip);position:absolute;top:30px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff;color:#2A1A0E;font-size:12.5px;font-weight:700;padding:7px 11px;border-radius:10px;box-shadow:0 8px 20px rgba(0,0,0,.3);opacity:0;pointer-events:none;transition:opacity .12s;z-index:90}.cpt-cx:hover::after{opacity:1}body.hl .cpt-cx .i{color:var(--tomate)}.cpt-eq{display:inline-flex;align-items:center;gap:6px;margin-left:6px;padding-left:12px;border-left:1px solid rgba(255,255,255,.18)}.cpt-eq b{font-size:13px;font-weight:700;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cpt-eq .i{color:#FFB547!important}.cpt-eq span{font-size:12px}.cpt .i{color:#3FD394;width:16px;height:16px}
.rond{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#CFC4B6;flex:none}.rond:hover{background:rgba(255,255,255,.1);color:#fff}
.av{width:34px;height:34px;border-radius:50%;background:#4D3B2B;color:var(--jour);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}
.haut .b-or{padding:10px 18px;margin:0 4px}
.titresolo{display:none;font-weight:600;font-size:15px}
body[data-page=regie] .haut .suite{display:none}
.retour{display:none}body.surplace .retour{display:inline-flex;margin-left:auto;background:rgba(255,255,255,.1);color:var(--jour)}body.surplace .haut>.esp{display:none}

.cadre{display:grid;grid-template-columns:var(--cote) minmax(0,1fr);min-height:calc(100vh - var(--haut))}
.cote{position:sticky;top:var(--haut);height:calc(100vh - var(--haut));background:var(--surf);border-right:1px solid var(--ligne);padding:14px 12px 12px;overflow-y:auto;display:flex;flex-direction:column}
.cote h4{font-size:10.5px;letter-spacing:.11em;text-transform:uppercase;color:var(--doux);margin:16px 10px 6px;font-weight:600}
.cote h4:first-child{margin-top:2px}
.nav{position:relative;display:flex;align-items:center;gap:10px;padding:8px 6px 8px 10px;border-radius:10px;font-weight:600;font-size:14px;color:var(--tx);transition:background .12s}
.nav>.i{color:var(--doux)}
.nav:hover{background:var(--surf2)}
.nav.on{background:var(--orangef);color:var(--orangetx)}.nav.on>.i{color:var(--orange)}
.nav .lb{flex:1;min-width:0;display:flex;align-items:center;gap:7px}
.nav .pa{width:6px;height:6px;border-radius:50%;background:var(--act);flex:none}
.nav .bad{font-size:11px;font-weight:600;background:var(--surf2);border-radius:999px;padding:1px 7px;color:var(--tx2)}
.nav .ext{position:absolute;right:6px;top:50%;margin-top:-13px;width:26px;height:26px;border-radius:7px;display:grid;place-items:center;color:var(--doux);background:var(--surf2);opacity:0;transition:opacity .12s,background .12s}
.nav.on .ext{background:var(--orangef)}
.nav:hover .bad,.nav.on .bad{visibility:hidden}
.nav .ext .i{width:14px;height:14px}
.nav:hover .ext,.nav.on .ext,.nav .ext:focus-visible{opacity:1}.nav .ext:hover{background:var(--surf);color:var(--tx);box-shadow:0 0 0 1px var(--ligne)}
.mini{padding:2px 4px 14px;margin-bottom:12px;border-bottom:1px solid var(--ligne2)}
.cote .mini+h4{margin-top:2px}
.mini .et{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--tomate);margin:0 4px 6px}
.mini .et::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tomate);animation:pouls 1.6s infinite}
.mini .toile{border-radius:9px}
.mini small{display:block;margin:6px 4px 0;font-size:12px;color:var(--tx2);font-weight:600}
.plier{margin-top:auto;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:var(--doux);font-weight:600;font-size:13px;text-align:left}.plier:hover{background:var(--surf2);color:var(--tx)}
#cote>.plier::before{content:"";position:absolute;left:6px;right:6px;top:-13px;border-top:1px solid var(--ligne,#f1ece3)}#cote>.plier{position:relative}#cote .nav .pa{padding:5px;margin:-5px;background-clip:content-box;box-sizing:content-box;cursor:help}#cote>.gi:not(.ferme):has(+.plier),#cote>h4:has(+.gi.ferme+.plier){margin-bottom:26px}.plier .o{display:none}
.pied{margin:8px 6px 0;padding-top:10px;border-top:1px solid var(--ligne2);font-size:11.5px;color:var(--doux);line-height:1.5;display:flex;gap:7px;align-items:flex-start}
.pied::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--act);flex:none;margin-top:6px}
@keyframes pouls{0%,100%{opacity:1}50%{opacity:.35}}

main{padding:22px 28px 80px;min-width:0;max-width:1500px;width:100%}
.vue{display:none}.vue.on{display:block}
.tete{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-height:38px}
.tete h1{font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.orig{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:var(--doux);padding:3px 9px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--ligne);white-space:nowrap}
.orig.a{color:var(--act);background:var(--actf);box-shadow:none}
.tete .dr{margin-left:auto;display:flex;gap:8px;align-items:center}

/* bulle d'information */
.inf{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--doux);vertical-align:-4px;cursor:help}
.inf:hover,.inf:focus{color:var(--tx);background:var(--ligne2)}.inf .i{width:15px;height:15px}
.inf::after{content:attr(data-tip);position:absolute;top:26px;left:-10px;width:250px;background:var(--plein);color:var(--pleintx);font-size:12.5px;font-weight:400;line-height:1.45;padding:10px 12px;border-radius:12px;text-align:left;white-space:normal;letter-spacing:0;text-transform:none;display:none;z-index:30;box-shadow:0 10px 30px -10px rgba(42,26,14,.5)}
.inf.d::after{left:auto;right:-10px}
.inf:hover::after,.inf:focus::after{display:block;animation:fondu .15s .3s both}

/* cartes et réglages */
.carte{background:var(--surf);border:1px solid var(--ligne);border-radius:var(--r);padding:18px 20px}
.carte>h3,.h3{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:10px}
.carte>h3 .fin,.h3 .fin{margin-left:auto;display:flex;gap:8px;align-items:center}
.sous{color:var(--tx2);font-size:13px;line-height:1.5}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.col{display:flex;flex-direction:column;gap:16px}
.rg{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--ligne2);min-height:48px}
.rg:first-of-type{border-top:0}
.carte>h3+.rg{border-top:0;padding-top:4px}
.rg .nm{flex:1;min-width:0;font-weight:600;font-size:13.5px}.rg .nm small{display:block;font-weight:400;color:var(--doux);font-size:12.5px;margin-top:1px}
.rg .vl{font-weight:600}
.sw{width:46px;height:26px;border-radius:999px;background:var(--off);position:relative;flex:none;overflow:hidden;transition:background .3s}
.sw::before,.sw::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;top:3px;background:var(--surf);box-shadow:0 1px 2px rgba(42,26,14,.3);transition:top .34s cubic-bezier(.18,.89,.35,1.15)}
.sw::before{left:3px}
.sw::after{right:3px;top:-26px;background:var(--surf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B37D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat}
.sw.on{background:var(--plein)}.sw.on::before{top:-26px}.sw.on::after{top:3px;transition-delay:.07s}.sw:not(.on)::before{transition-delay:.07s}
.sw-fixe,.sw-fixe::before,.sw-fixe::after{transition:none!important}
.seg{display:inline-flex;background:var(--surf2);border-radius:999px;padding:3px;gap:2px}
.seg button{padding:6px 13px;border-radius:999px;font-size:12.5px;font-weight:600;color:var(--tx2);white-space:nowrap}
.seg button:hover{color:var(--tx)}.seg button.on{background:var(--pop);color:var(--tx);box-shadow:0 1px 2px rgba(42,26,14,.14)}
.pas{display:inline-flex;align-items:center;gap:4px;background:var(--surf2);border-radius:999px;padding:3px}
.pas button{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--pop);box-shadow:0 1px 2px rgba(42,26,14,.14)}.pas b{min-width:30px;text-align:center}
.champ{display:flex;align-items:center;gap:8px;background:var(--surf);border:1px solid var(--ligne);border-radius:999px;padding:0 14px;height:38px;color:var(--doux)}
.champ input{border:0;outline:0;background:none;flex:1;min-width:0;color:var(--tx)}.champ:focus-within{border-color:var(--tx)}
.puce{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:999px;font-weight:600;font-size:13px;background:var(--surf);box-shadow:inset 0 0 0 1px var(--ligne);color:var(--tx2);white-space:nowrap}
.puce:hover{box-shadow:inset 0 0 0 1px var(--tx);color:var(--tx)}.puce.on{background:var(--plein);color:var(--pleintx);box-shadow:none}
.puce b{font-weight:600;opacity:.6}
.pt{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
.etq{font-size:11px;font-weight:600;background:var(--surf2);border-radius:999px;padding:2px 8px;color:var(--tx2);white-space:nowrap}
.etq.a{background:var(--actf);color:var(--act)}
.m-tel{display:none}
.vide{display:flex;flex-direction:column;align-items:center;text-align:center;padding:56px 20px;gap:6px}
.vide .ic{width:64px;height:64px;border-radius:50%;background:var(--surf2);display:grid;place-items:center;color:var(--doux);margin-bottom:8px}.vide .ic .i{width:28px;height:28px;stroke-width:1.6}
.vide h3{font-size:17px;font-weight:600}.vide p{color:var(--tx2);max-width:42ch;margin-bottom:12px}

/* tableaux */
.tab{width:100%;border-collapse:separate;border-spacing:0}
.tab th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--doux);font-weight:600;text-align:left;padding:0 12px 10px;white-space:nowrap}
.tab td{padding:9px 12px;border-top:1px solid var(--ligne2);vertical-align:middle}
.tab tbody tr:hover td{background:var(--surf2)}
.tab .n{text-align:right}.tab td.n{font-weight:600}
.qui{display:flex;align-items:center;gap:10px;font-weight:600}.qui small{font-weight:400;color:var(--doux)}
.ini{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;background:var(--surf2);color:var(--tx2);flex:none}
.eq{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.qui>span:not(.ini){white-space:nowrap}
.el{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--vert);white-space:nowrap}.el::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.el.h{color:#B0A597}.el.h::before{background:none;box-shadow:inset 0 0 0 1.5px currentColor}
.acts{display:flex;justify-content:flex-end;gap:2px;opacity:.55}tr:hover .acts{opacity:1}
.rang{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-weight:800;font-size:13px;background:var(--surf2);color:var(--tx2)}
.rang.r1{background:var(--plein);color:var(--pleintx)}
.mv{display:inline-flex;align-items:center;font-size:11px;font-weight:600;gap:1px;margin-left:6px}.mv .i{width:12px;height:12px;stroke-width:2.6}.mv.u{color:var(--vert)}.mv.dn{color:var(--tomate)}
.barre{height:6px;border-radius:99px;background:var(--ligne2);overflow:hidden;min-width:60px}.barre i{display:block;height:100%;border-radius:99px;background:var(--plein)}
/* ---- festif: toute la console ---- */
body.fete{--c:var(--t-presentation)}
.fete .haut:after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:4px;background:linear-gradient(90deg,var(--t-presentation) 0 14.3%,var(--t-questions) 0 28.6%,var(--t-jeu) 0 42.9%,var(--t-equipes) 0 57.2%,var(--t-pause) 0 71.5%,var(--t-resultats) 0 85.8%,var(--t-video) 0);pointer-events:none}
.fete .cote a.nav:nth-of-type(7n+1),.fete .carte:nth-child(7n+1),.fete .rg:nth-child(7n+1){--c:var(--t-presentation)}
.fete .cote a.nav:nth-of-type(7n+2),.fete .carte:nth-child(7n+2),.fete .rg:nth-child(7n+2){--c:var(--t-questions)}
.fete .cote a.nav:nth-of-type(7n+3),.fete .carte:nth-child(7n+3),.fete .rg:nth-child(7n+3){--c:var(--t-jeu)}
.fete .cote a.nav:nth-of-type(7n+4),.fete .carte:nth-child(7n+4),.fete .rg:nth-child(7n+4){--c:var(--t-equipes)}
.fete .cote a.nav:nth-of-type(7n+5),.fete .carte:nth-child(7n+5),.fete .rg:nth-child(7n+5){--c:var(--t-pause)}
.fete .cote a.nav:nth-of-type(7n+6),.fete .carte:nth-child(7n+6),.fete .rg:nth-child(7n+6){--c:var(--t-resultats)}
.fete .cote a.nav:nth-of-type(7n),.fete .carte:nth-child(7n),.fete .rg:nth-child(7n){--c:var(--t-video)}
.fete .nav>.i{color:var(--c);transition:transform .12s}
.fete .nav:hover>.i{transform:rotate(-8deg) scale(1.1)}
.fete .nav.on{background:color-mix(in srgb,var(--c) 12%,var(--surf));color:var(--tx);box-shadow:inset 0 0 0 2px var(--tx),3px 3px 0 var(--tx);font-weight:800}
.fete .nav.on{z-index:1;margin:2px 3px 6px 0}.fete .nav.on>.i{color:var(--c)}.fete .nav.on .ext{background:var(--surf)}
.fete .cote h4{color:var(--tx2);font-weight:800}
.fete .tete h1{position:relative;padding-bottom:6px}
.fete .tete h1:after{content:"";position:absolute;left:0;bottom:-2px;width:64px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='8' viewBox='0 0 64 8'%3E%3Cpath d='M2 5c6-5 10 3 16-1s10-4 16 0 10 4 16 0 8-3 12-1' fill='none' stroke='%23FF741C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat}
.fete .carte{border:2px solid var(--ligne);border-radius:20px;box-shadow:0 4px 0 var(--ligne)}
.fete .carte>h3,.fete .h3{font-weight:800;font-size:15.5px}
.fete .carte>h3:before{content:"";width:10px;height:10px;border-radius:4px;background:var(--c);transform:rotate(45deg);flex:none;margin-right:2px}
.fete .jic{border-radius:11px;background:color-mix(in srgb,var(--c) 16%,var(--surf));color:var(--c);transform:rotate(-5deg)}
.fete .rg:nth-child(even) .jic{transform:rotate(5deg)}
.fete .sw.on{background:var(--t-equipes)}
.fete .seg,.fete .pas{background:color-mix(in srgb,var(--tx) 7%,var(--surf));box-shadow:inset 0 2px 4px rgba(42,26,14,.16),inset 0 0 0 1px rgba(42,26,14,.07)}
.fete .seg button.on{background:var(--plein);color:var(--pleintx);font-weight:700;box-shadow:0 2px 0 rgba(0,0,0,.35),0 4px 8px -3px rgba(42,26,14,.45)}
.fete .seg button:not(.on):hover{background:color-mix(in srgb,var(--tx) 6%,transparent)}
.fete .b-en{box-shadow:3px 3px 0 var(--orange);transition:transform .08s,box-shadow .08s}
.fete .b-en:hover{opacity:1;transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--orange)}
.fete .b-en:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--orange)}
.fete .etq{font-weight:700}

/* barres de défilement fines, partout (Yannick, mercredi 18 novembre 2026) */
*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--tx) 22%,transparent) transparent}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--tx) 22%,transparent);border-radius:8px;border:2px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--tx) 38%,transparent)}

/* ================================================================
   PORTAIL BOOMA — ce qui s'ajoute à la base de la console
   ================================================================ */
/* la couleur du super admin: nous seulement */
:root{--t-presentation:#7C5CFF;--t-questions:#1E8BFF;--t-jeu:#F0388E;--t-equipes:#14B37D;--t-pause:#F5B400;--t-resultats:#FF741C;--t-video:#E5484D;--adm:#6A4BDB;--admf:#F0ECFD;--admtx:#4A2FB8}
html[data-theme=sombre]{--adm:#A996FF;--admf:rgba(150,128,255,.14);--admtx:#CFC3FF}
body{text-wrap:pretty}
h1,h2,h3{text-wrap:balance}
.etq,.b,.puce,.seg button,.nav .lb,.orig,th,.etat,.sm button{white-space:nowrap}

/* barre du haut */
.logo .nomp{font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#A89A8A;border-left:1px solid rgba(255,255,255,.16);padding-left:10px;margin-left:10px}
.notif{position:relative}
.notif .pst{position:absolute;top:1px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--tomate);color:#fff;font-size:10.5px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px var(--nuit)}
.notif .pst:empty{display:none}
body.notifo .notif{background:rgba(255,255,255,.14);color:#fff}
.burger{display:none}
.menu{display:none}
.haut .qui-h{font-size:12.5px;color:#B8AB9C;margin-right:4px}

/* les menus qui tombent de la barre du haut */
.pop{position:fixed;right:12px;top:calc(var(--haut) + 8px);z-index:46;width:330px;max-width:calc(100vw - 16px);background:var(--surf);border:1px solid var(--ligne);border-radius:22px;padding:10px;box-shadow:0 30px 70px -28px rgba(20,12,6,.6);opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .1s,transform .14s ease-out,visibility 0s .14s}
body.profo #profil,body.notifo #notifs{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.pop .ph{display:flex;align-items:center;gap:12px;padding:10px 10px 14px}.pop .ph .av{width:42px;height:42px;font-size:14px}.pop .ph b{display:block;font-weight:600;font-size:15px}.pop .ph small{color:var(--doux);font-size:12.5px}
.pli{display:flex;align-items:center;gap:11px;padding:10px;border-radius:12px;font-weight:600;font-size:13.5px}.pli>.i{color:var(--doux)}
a.pli:hover{background:var(--surf2)}.pli .seg{margin-left:auto}.pli .seg button{padding:5px 10px;font-size:12px}
.pop hr{border:0;border-top:1px solid var(--ligne2);margin:8px 6px}
#notifs{width:400px;padding:6px}
.jic{width:30px;height:30px;border-radius:50%;background:var(--surf2);display:grid;place-items:center;color:var(--tx2);flex:none}.jic .i{width:15px;height:15px}
.ln{white-space:nowrap}
.nh{display:flex;align-items:center;gap:8px;padding:10px 10px 8px}.nh b{font-size:15px;font-weight:800}.nh .ln{margin-left:auto}
.ntl{display:flex;gap:11px;padding:10px;border-radius:14px;text-align:left;width:100%;align-items:flex-start}
.ntl:hover{background:var(--surf2)}
.ntl .jic{width:34px;height:34px}
.ntl .tx{flex:1;min-width:0}.ntl .tx b{display:block;font-weight:600;font-size:13.5px;line-height:1.3}.ntl .tx small{color:var(--doux);font-size:12px}
.ntl.nl .tx b::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--tomate);margin-right:7px;vertical-align:2px}
.ntl.nl{background:color-mix(in srgb,var(--orange) 6%,transparent)}
.nb2{display:flex;align-items:center;gap:8px;border-top:1px solid var(--ligne2);margin:6px 4px 0;padding:10px 6px 6px;font-size:12.5px;color:var(--doux)}.nb2 .ln{margin-left:auto}

/* bande de gauche: le groupe du super admin, d'une autre couleur */
.cote .adm-g{margin:16px 0 4px;padding:2px 6px 8px;border-radius:16px;background:var(--admf);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--adm) 28%,transparent)}
.cote .adm-g h4{color:var(--admtx)!important;display:flex;align-items:center;gap:7px;margin:10px 4px 6px}
.cote .adm-g h4 .i{width:14px;height:14px}
.cote .adm-g h4 small{margin-left:auto;font-size:10px;letter-spacing:.04em;text-transform:none;font-weight:600;opacity:.8}
.fete .cote .adm-g a.nav{--c:var(--adm)}
.cote .adm-g .nav:hover{background:color-mix(in srgb,var(--adm) 12%,transparent)}
.fete .cote .adm-g .nav.on{background:var(--surf)}
.cote .vide-m{padding:12px 10px;color:var(--doux);font-size:12.5px}

/* tête de page et menu secondaire (deuxième niveau) */
.tete .sous{margin-top:4px}
.tete .tt{min-width:0}
.etq.adm{background:var(--admf);color:var(--admtx)}
.sm{display:flex;gap:2px;border-bottom:1.5px solid var(--ligne);margin:-4px 0 20px;overflow-x:auto;scrollbar-width:none}
.sm::-webkit-scrollbar{display:none}
.sm button{position:relative;display:inline-flex;align-items:center;gap:7px;padding:10px 14px 12px;font-weight:600;font-size:14px;color:var(--tx2);border-radius:10px 10px 0 0;transition:color .12s,background .12s}
.sm button .i{width:16px;height:16px;color:var(--doux)}
.sm button:hover{color:var(--tx);background:var(--surf2)}
.sm button.on{color:var(--tx);font-weight:800}.sm button.on .i{color:var(--orange)}
.sm button.on::after{content:"";position:absolute;left:10px;right:10px;bottom:-1.5px;height:3.5px;border-radius:3px 3px 0 0;background:var(--orange)}
.sm.adm button.on::after{background:var(--adm)}.sm.adm button.on .i{color:var(--adm)}
.sm .bad{font-size:11px;font-weight:700;background:var(--surf2);border-radius:999px;padding:1px 7px;color:var(--tx2)}
.sm.adm .bad{background:var(--admf);color:var(--admtx)}
.sm .pjt{width:8px;height:8px;border-radius:50%;background:var(--jaune);box-shadow:0 0 0 3px var(--jaunef);margin-left:2px}
.fete .tete h1.adm:after{filter:hue-rotate(230deg) saturate(.9)}

/* sous chaque titre du menu, les entrées sont décalées un peu à droite (sans ligne) */
.cote .gi{padding-left:12px}
/* « Portail » centré sur la hauteur des petites lettres du logo (le « a »), pas sur le « b » plus haut */
.logo .nomp{position:relative;top:3px;line-height:1}

/* agir comme un organisateur : la bande violette du super admin reste en haut */
.comme{position:sticky;top:var(--haut);z-index:40;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 18px;background:var(--adm);color:#fff;font-size:13.5px}
.comme>.i{width:16px;height:16px;flex:none}.comme b{font-weight:800}
.comme small{opacity:.8;font-size:12px}
.comme .b{margin-left:auto;background:#fff;color:var(--adm);box-shadow:0 2px 0 rgba(0,0,0,.18)}
body.en-comme .cote{top:calc(var(--haut) + 40px);height:calc(100vh - var(--haut) - 40px)}

/* (Yannick, mercredi 18 novembre 2026) l'avatar se voit : orange Booma, avec un liseré */
.haut .av,.pop .ph .av{background:var(--orange);color:#fff;font-weight:800;box-shadow:0 0 0 2px var(--nuit),0 0 0 3.5px color-mix(in srgb,var(--orange) 55%,transparent)}
.pop .ph .av{box-shadow:0 0 0 3px var(--surf),0 0 0 5px color-mix(in srgb,var(--orange) 35%,transparent)}
.haut .av{margin-left:8px}
.haut .av:hover{filter:brightness(1.08)}
/* le menu de l'avatar : une couleur par ligne, le choix actif en orange */
#profil .pli>.i{width:30px;height:30px;padding:6px;border-radius:9px;box-sizing:border-box;flex:none;color:var(--k);background:color-mix(in srgb,var(--k) 13%,var(--surf))}
#profil .c-pro{--k:var(--orange)}#profil .c-lg{--k:var(--bleu)}#profil .c-fz{--k:var(--vert)}#profil .c-sem{--k:var(--act)}#profil .c-th{--k:var(--ambre)}#profil .c-aide{--k:var(--tomate)}
#profil .seg-gl{background:var(--orange);box-shadow:0 2px 0 #C2560F,0 4px 8px -3px rgba(194,86,15,.5)}
#profil .seg.gl button.on{color:#fff}
#profil .fz-b{color:var(--vert)}
#profil .pli-t{display:flex;flex-direction:column;line-height:1.2}
#profil .pli-t small{font-size:11.5px;font-weight:500;color:var(--doux)}
/* la langue : une liste déroulante, d'autres langues viendront */
.sel-p{margin-left:auto;position:relative;display:inline-flex}
.sel-p select{appearance:none;-webkit-appearance:none;font:inherit;font-size:12.5px;font-weight:700;color:var(--tx);background:var(--surf2);border:1.5px solid var(--ligne);border-radius:999px;padding:6px 30px 6px 13px;cursor:pointer}
.sel-p select:hover{border-color:color-mix(in srgb,var(--bleu) 45%,var(--ligne))}
.sel-p>.i{position:absolute;right:10px;top:50%;width:14px;height:14px;margin-top:-7px;pointer-events:none;color:var(--doux)}
#profil{width:372px;max-width:calc(100vw - 24px)}#profil .pli-t{white-space:nowrap}

/* accueil */
.bienv{position:relative;overflow:hidden;border-radius:24px;background:var(--nuit);color:#F7F4EE;padding:30px 150px 30px 32px;margin-bottom:18px;min-height:150px;display:flex;flex-direction:column;justify-content:center}
html[data-theme=sombre] .bienv{background:#0E0905;box-shadow:inset 0 0 0 1px var(--ligne)}
.bienv h1{font-size:32px;font-weight:800;letter-spacing:-.03em;line-height:1.05;position:relative;z-index:1}
.bienv p{color:#CFC4B6;margin-top:8px;font-size:15px;line-height:1.35;position:relative;z-index:1;max-width:60ch}
.bienv p b{color:#fff;font-weight:600}
.conf{position:absolute;inset:0;pointer-events:none}
.conf i{position:absolute;display:block;border-radius:4px;animation:flotte 7s ease-in-out infinite alternate}
.conf i:nth-child(1){right:7%;top:18%;width:16px;height:16px;background:var(--t-jeu);transform:rotate(20deg)}
.conf i:nth-child(2){right:18%;top:62%;width:12px;height:12px;border-radius:50%;background:var(--t-pause);animation-delay:-2s}
.conf i:nth-child(3){right:30%;top:14%;width:22px;height:7px;background:var(--t-questions);animation-delay:-4s}
.conf i:nth-child(4){right:4%;top:70%;width:26px;height:26px;border-radius:50%;background:var(--orange);animation-delay:-1s}
.conf i:nth-child(5){right:24%;top:38%;width:9px;height:9px;background:var(--t-equipes);animation-delay:-3s}
.conf i:nth-child(6){right:12%;top:40%;width:8px;height:20px;background:var(--t-presentation);animation-delay:-5s}
.conf i:nth-child(7){right:38%;top:72%;width:10px;height:10px;border-radius:50%;background:var(--tomate);animation-delay:-6s}
@keyframes flotte{from{translate:0 0;rotate:0deg}to{translate:-10px 12px;rotate:40deg}}
.stat{padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.stat small{font-size:12.5px;color:var(--tx2);font-weight:600}
.stat b{font-size:30px;font-weight:800;letter-spacing:-.025em;line-height:1.15}
.stat span{font-size:12.5px;color:var(--doux)}
.h2{font-size:18px;font-weight:800;letter-spacing:-.01em;margin:26px 0 12px;display:flex;align-items:center;gap:10px}
.h2 .fin{margin-left:auto;display:flex;gap:8px}
.actc{display:flex;flex-direction:column;gap:12px}
.actc .ht{display:flex;align-items:center;gap:12px}
.pic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--c,var(--orange)) 16%,var(--surf));color:var(--c,var(--orange));flex:none;transform:rotate(-5deg);transition:transform .15s}
.carte:hover .pic{transform:rotate(0) scale(1.06)}
.pic .i{width:22px;height:22px}
.actc .ht b{display:block;font-size:17px;font-weight:800;letter-spacing:-.01em}
.actc .ht small{color:var(--doux);font-size:12.5px}
.actc .ht .etat{margin-left:auto}
.actc .li{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--tx2);padding-left:2px}
.actc .li span{display:flex;align-items:center;gap:8px}.actc .li .i{width:15px;height:15px;color:var(--doux)}
.actc .bas{display:flex;gap:8px;margin-top:auto;padding-top:4px}
.etat{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--surf2);color:var(--tx2)}
.etat::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.etat.ok{background:var(--vertf);color:var(--vert)}
.etat.att{background:color-mix(in srgb,var(--ambre) 16%,transparent);color:var(--ambre)}
.etat.inv{background:var(--actf);color:var(--act)}
.etat.exp,.etat.urg{background:var(--tomatef);color:var(--tomate)}
.b .fl{width:14px;height:14px;opacity:.75;margin-left:-2px}
.prochs .rg{gap:14px}
.dt{width:46px;height:50px;border-radius:12px;background:var(--surf2);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;line-height:1}
.dt b{font-size:19px;font-weight:800}.dt small{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--doux);margin-top:3px}

/* événements */
.ev2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}
.evr{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:10px;border-radius:14px;border:2px solid transparent;transition:background .12s,border-color .12s}
.evr:hover{background:var(--surf2)}
.evr.on{background:var(--orangef);border-color:var(--tx);box-shadow:3px 3px 0 var(--tx)}
.evr .nm{flex:1;min-width:0}.evr .nm b{display:block;font-weight:800;font-size:14.5px}.evr .nm small{display:block;color:var(--doux);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evr.passe{opacity:.7}
.liste-ev{display:flex;flex-direction:column;gap:4px}
.fiche-ev{position:sticky;top:calc(var(--haut) + 18px)}
.fiche-ev .rg{align-items:flex-start}
.chps{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.chps .pl{grid-column:1/-1}
.saisie{border:1px solid var(--ligne);border-radius:999px;height:38px;padding:0 14px;width:100%;outline:0;background:var(--surf);color:var(--tx)}.saisie:focus{border-color:var(--tx)}
textarea.saisie{height:84px;border-radius:14px;padding:10px 14px;resize:none;line-height:1.4;display:block}
.fete .saisie{background:color-mix(in srgb,var(--tx) 4%,var(--surf));border-color:color-mix(in srgb,var(--tx) 14%,transparent);box-shadow:inset 0 2px 3px rgba(42,26,14,.11)}
.fete .saisie:focus{background:var(--surf);border-color:var(--tx);box-shadow:inset 0 2px 3px rgba(42,26,14,.06),0 0 0 3px color-mix(in srgb,var(--tx) 10%,transparent)}
.saisie[readonly]{color:var(--tx2);cursor:default}
select.saisie{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7F72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;padding-right:34px!important;cursor:pointer}
.etl{display:block;font-weight:600;font-size:13.5px;margin:12px 0 6px}
.h-champ{position:relative;display:flex;align-items:center}.h-champ>.i{position:absolute;left:13px;width:15px;height:15px;color:var(--orange);pointer-events:none;z-index:1}
.h-champ .saisie{padding-left:36px;font-weight:800}
.pts-a{display:flex;flex-wrap:wrap;gap:6px}
.pal{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px 0 6px;border-radius:999px;background:var(--surf2);font-weight:600;font-size:13px}
.pal .pic{width:22px;height:22px;border-radius:7px;transform:none}.pal .pic .i{width:13px;height:13px}

/* bibliothèque */
.bibb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.bibb .fin{margin-left:auto;display:flex;align-items:center;gap:10px}
.jauge{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--tx2);font-weight:600;white-space:nowrap}
.jauge .barre{width:120px;height:8px}.jauge .barre i{background:var(--vert)}
.poches{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.poch{background:var(--surf);border:2px solid var(--ligne);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 0 var(--ligne);transition:transform .12s,box-shadow .12s,border-color .12s;position:relative}
.poch:hover{transform:translateY(-2px);border-color:var(--tx);box-shadow:0 6px 0 var(--tx)}
.poch .vi{aspect-ratio:16/10;position:relative;overflow:hidden;background:linear-gradient(135deg,var(--c1),var(--c2));display:grid;place-items:center;color:#fff}
.poch .vi .i{width:54px;height:54px;stroke-width:1.6;transform:rotate(-8deg);filter:drop-shadow(0 6px 10px rgba(0,0,0,.2))}
.poch .vi::before{content:"";position:absolute;width:70%;aspect-ratio:1;border-radius:50%;right:-22%;top:-30%;background:rgba(255,255,255,.16)}
.poch .vi::after{content:"";position:absolute;width:34%;aspect-ratio:1;border-radius:50%;left:-8%;bottom:-14%;background:rgba(0,0,0,.1)}
.poch .co{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.poch .co b{font-weight:800;font-size:15px;line-height:1.2}
.poch .co .lg{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.poch .co .bas{margin-top:auto;padding-top:6px;display:flex;gap:6px}
.poch .co .bas .b{flex:1}
.poch .vi .nbq{position:absolute;right:10px;bottom:10px;z-index:1;font-size:12px;font-weight:800;background:rgba(255,255,255,.92);color:#2A1A0E;padding:2px 9px;border-radius:999px}
.etq .i{width:12px;height:12px;vertical-align:-2px;margin-right:3px}
.etq.cof{background:var(--orangef);color:var(--orangetx)}.etq.cof .cont{display:inline-flex;gap:2px;margin-left:5px;padding-left:5px;border-left:1px solid color-mix(in srgb,currentColor 30%,transparent)}.etq.cof .cont .i{margin:0}
.ruban{position:absolute;top:12px;left:-30px;transform:rotate(-40deg);background:var(--vert);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:4px 34px;z-index:1;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.pj{position:absolute;top:10px;right:10px;z-index:1;background:#FFC43C;color:#2A1A0E;font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.filtres{display:flex;gap:8px;flex-wrap:wrap}
.filtres .puce{height:34px;padding:0 13px}

/* partage */
.ppl{display:flex;align-items:center}
.ppl .ini{box-shadow:0 0 0 2px var(--surf);margin-left:-7px}.ppl .ini:first-child{margin-left:0}
.ini.c1{background:#DDE9FF;color:#1E5BB8}.ini.c2{background:#FFE1EE;color:#B3236A}.ini.c3{background:#DFF5EA;color:#137A52}.ini.c4{background:#FFF0CF;color:#8A5D00}
html[data-theme=sombre] .ini.c1,html[data-theme=sombre] .ini.c2,html[data-theme=sombre] .ini.c3,html[data-theme=sombre] .ini.c4{filter:brightness(.75) saturate(1.2)}
.expl{display:flex;gap:12px;align-items:flex-start;background:var(--surf2);border-radius:16px;padding:14px 16px;margin-bottom:16px;font-size:13.5px;color:var(--tx2);line-height:1.45}
.expl>.i{color:var(--orange);margin-top:1px}
.expl b{color:var(--tx)}

/* section: un vrai titre, le contenu décalé à droite */
.sect{margin-top:4px}
.sect+.sect{margin-top:18px}
.sect>h3{font-size:15.5px;font-weight:800;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.sect>.dedans{border-left:2px solid var(--ligne2);padding-left:16px;margin-left:4px}

/* étiquette « Activité (jeu) / (corpo) » en haut d'une page de produit */
.orig-mq{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;color:var(--tx2);padding:6px 12px;border-radius:99px;background:var(--surf);box-shadow:inset 0 0 0 1.5px var(--ligne)}
.g2.pg-prod{align-items:start}
.puce-n{font-size:11px;font-weight:700;padding:3px 8px;border-radius:99px;background:var(--surf2,var(--fond));color:var(--tx2);margin-left:8px;vertical-align:middle;letter-spacing:0}
.voix{display:flex;flex-direction:column;gap:12px}
.vx-h{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.vx-h>div{flex:1;min-width:180px}.vx-h b{display:block;font-size:17px;font-weight:800}.vx-h small{color:var(--doux);font-size:12.5px}
.vx-pc,.vx-code{display:flex;align-items:center;gap:8px;margin:0}.vx-pc .i,.vx-code .i{width:16px;height:16px}
.voix .h3 .doux{color:var(--doux);font-weight:600;margin-left:6px}
.vx-ord{display:flex;flex-direction:column;border-radius:14px;box-shadow:inset 0 0 0 1.5px var(--ligne)}
.vx-ord .rg{display:flex;align-items:center;gap:12px;padding:10px 12px}
.vx-ord .rg+.rg{border-top:1.5px solid var(--ligne)}
.vx-ord .pic{width:36px;height:36px;border-radius:11px;transform:none}.vx-ord .pic .i{width:18px;height:18px}
.vx-ord .nm{flex:1;font-weight:700;display:flex;flex-direction:column}.vx-ord .nm small{font-weight:500;color:var(--doux);font-size:12.5px}
.vx-ord .libre .nm{color:var(--doux)}
.vx-web{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.vx-web>div{flex:1;min-width:180px}.vx-web b{display:block;font-weight:800}.vx-web small{color:var(--doux);font-size:12.5px}
.vx-web .pic{transform:none}
/* accueil : créer un événement en un geste */
.prochs .nvevt{padding-bottom:14px}
.prochs .nvevt .saisie{flex:1;min-width:0}
.prochs .dt.plus{display:grid;place-items:center;color:var(--orange);background:var(--orangef)}
.prochs .dt.plus .i{width:20px;height:20px}

/* la case de date prend la couleur de son mois */
.dt.mc[style]{background:color-mix(in srgb,var(--mc) 15%,var(--surf));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--mc) 30%,transparent)}
.dt.mc[style] b{color:color-mix(in srgb,var(--mc) 78%,var(--tx))}
.dt.mc[style] small{color:var(--mc)}
html[data-theme=sombre] .dt.mc[style]{background:color-mix(in srgb,var(--mc) 24%,var(--surf))}
html[data-theme=sombre] .dt.mc[style] b{color:color-mix(in srgb,var(--mc) 55%,#fff)}
html[data-theme=sombre] .dt.mc[style] small{color:color-mix(in srgb,var(--mc) 70%,#fff)}

/* accueil : la ligne sous la souris se voit, discrètement ; toute la ligne ouvre l'événement */
.prochs .rg-ev{cursor:pointer;margin:0 -10px;padding-left:10px;padding-right:10px;border-radius:14px;transition:background .12s}
.prochs .rg-ev:hover{background:var(--surf2)}
.prochs .rg-ev:hover+.rg-ev{border-top-color:transparent}
.prochs .rg-ev:hover{border-top-color:transparent}

/* survol des lignes d'événements : une couleur pâle, distincte de la ligne choisie (orange) — Yannick, mercredi 18 novembre 2026 */
.evr:not(.on):hover,.prochs .rg-ev:hover{background:var(--jaunef)}
/* au survol, les étiquettes d'activités passent au blanc : le gris pâle ne va pas avec le jaune */
.prochs .rg-ev:hover .pal,.evr:not(.on):hover .pal{background:var(--surf);box-shadow:0 0 0 1px color-mix(in srgb,var(--ambre) 22%,transparent)}
/* le + crée l'événement, comme le bouton Créer */
.prochs button.dt.plus{border:0;cursor:pointer;transition:background .12s}
.prochs button.dt.plus:hover{background:var(--orange);color:#fff}

/* la page d'une activité : lancer maintenant ou préparer */
.act-p .ht small{display:block;color:var(--doux);font-size:13px;font-weight:500;margin-top:2px}
.act-p .act-l{display:flex;gap:8px;flex-wrap:wrap}
.act-p .act-aide{font-size:12.5px;color:var(--doux);margin-top:12px;line-height:1.45}.act-p .act-aide b{color:var(--tx2);font-weight:700}
.etq.rap{background:var(--orangef);color:var(--orangetx);font-weight:700;margin-left:6px;vertical-align:1px}
/* Besoin d'aide : de l'air entre la phrase et les boutons */
.pg-prod .carte>.sous+.bas{margin-top:16px}
/* page d'une activité : les autres activités de l'événement */
.prochs .aussi{font-size:11.5px;font-weight:600;color:var(--doux);margin-right:2px;align-self:center}
/* événement : la date prend 3/4 de la largeur, l'heure 1/4 (l'heure est toujours courte) */
.chps:has(#ev-date){grid-template-columns:minmax(0,3fr) minmax(112px,1fr)}

/* super admin */
.tab td .sm2{display:block;font-size:12px;color:var(--doux);font-weight:400}
.tab td .sm2.sur-mob{display:none}
.tab tr.cl{cursor:pointer}
.carte:has(>.tab){overflow-x:auto}
@media(max-width:960px){.tab .c-mob{display:none}}
.tab .qui b{font-weight:700}
.outils{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.outils .champ{flex:0 1 280px}
.outils .fin{margin-left:auto;display:flex;gap:8px}
.adm .b-en,.b-adm{background:var(--adm);color:#fff}
.fete .b-adm{box-shadow:3px 3px 0 var(--tx)}
.fete .b-adm:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--tx)}
.retourf{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--tx2);margin-bottom:12px}.retourf:hover{color:var(--tx)}
.fch{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.fch .ini{width:52px;height:52px;font-size:17px;font-weight:800}
.fch b{display:block;font-size:22px;font-weight:800;letter-spacing:-.02em}
.fch small{color:var(--doux);font-size:13px}
.fch .fin{margin-left:auto;display:flex;gap:8px}
.acc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 14px;padding:14px 0;border-top:1px solid var(--ligne2);align-items:center}
.acc:first-of-type{border-top:0;padding-top:4px}
.acc .pic{width:38px;height:38px;border-radius:12px;grid-row:span 2}
.acc .nm b{font-weight:800;font-size:14.5px}.acc .nm small{display:block;color:var(--tx2);font-size:12.5px}
.acc .dr{display:flex;gap:6px;align-items:center;justify-content:flex-end}
.acc .md{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--tx2);align-items:center}
.acc .md span{display:inline-flex;align-items:center;gap:6px}.acc .md .i{width:14px;height:14px;color:var(--doux)}
.fact{display:inline-flex;align-items:center;gap:6px}
.fact .saisie{height:30px;width:120px;font-size:12.5px;padding:0 11px}
.etq.vert{background:var(--vertf);color:var(--vert)}
.etq.rouge{background:var(--tomatef);color:var(--tomate)}
.etq.ambre{background:color-mix(in srgb,var(--ambre) 16%,transparent);color:var(--ambre)}
.jl{display:flex;flex-direction:column;gap:1px;padding:9px 0;border-top:1px solid var(--ligne2);font-size:13px}
.jl:first-of-type{border-top:0}
.jl time{color:var(--doux);font-size:12px;white-space:nowrap}
.jl b{font-weight:600}
/* rappels: la ligne du temps de chaque modèle */
.mods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mod h3 small{font-weight:400;color:var(--doux);font-size:12.5px;margin-left:auto}
.ldt{position:relative;height:92px;margin:10px 10px 4px}
.ldt::before{content:"";position:absolute;left:0;right:0;top:44px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--ligne) 0 55%,color-mix(in srgb,var(--tomate) 30%,transparent) 55% 100%)}
.ldt .pt2{position:absolute;top:37px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.ldt .pt2.h{top:auto;bottom:38px;flex-direction:column-reverse}
.ldt .pt2 i{width:17px;height:17px;border-radius:50%;background:var(--surf);box-shadow:inset 0 0 0 3px var(--orange)}
.ldt .pt2.fin i{background:var(--tomate);box-shadow:0 0 0 4px var(--tomatef)}
.ldt .pt2.apr i{box-shadow:inset 0 0 0 3px var(--tomate)}
.ldt .pt2.eff i{background:var(--tx);box-shadow:none}
.ldt .pt2 small{font-size:11px;font-weight:700;color:var(--tx2);line-height:1.2;white-space:nowrap}
.ldt .pt2.rien small{color:var(--doux);font-weight:400}.ldt .pt2.rien i{box-shadow:inset 0 0 0 2px var(--off);background:var(--surf2)}
.mod .note{font-size:12.5px;color:var(--doux);margin-top:6px}
.crl{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--ligne2)}
.crl:first-of-type{border-top:0;padding-top:4px}
.crl .nm b{font-weight:700;font-size:14px}.crl .nm small{display:block;color:var(--doux);font-size:12.5px}
.crl select.saisie{width:210px;height:34px;font-size:13px}
.k2{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-width:62px;gap:5px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:3px 9px;border-radius:999px}
.k2.av{background:var(--orangef);color:var(--orangetx)}.k2.ap{background:var(--tomatef);color:var(--tomate)}
/* aperçu d'un courriel */
.courriel{background:#F7F4EE;border-radius:18px;padding:18px;color:#2A1A0E}
.courriel .ent{font-size:12px;color:#8A7F72;display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin-bottom:12px}.courriel .ent b{color:#2A1A0E;font-weight:600}
.courriel .corps{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px -14px rgba(42,26,14,.4)}
.courriel .ban{background:#2A1A0E;padding:18px 22px;position:relative;overflow:hidden}
.courriel .ban svg{width:80px;height:22px;fill:#fff;position:relative}
.courriel .ban .conf i{animation:none}
.courriel .tx{padding:20px 22px 22px;font-size:14px;line-height:1.5}
.courriel .tx h2{font-size:21px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px;line-height:1.15}
.courriel .tx p{margin-bottom:10px;color:#4B5563}
.courriel .tx .b{margin-top:6px}
.courriel .pd{text-wrap:balance;font-size:11.5px;color:#8A7F72;padding:0 22px 18px}

/* activités: nom, version, interrupteur Active / Inactive */
.actvs .rg{gap:14px;padding:12px 0}
.actvs .pic{width:40px;height:40px;border-radius:12px}
.actvs .nm b{font-weight:800;font-size:15px}
.actvs .vers{font-weight:600;color:var(--doux);font-variant-numeric:tabular-nums}
.swl{display:inline-flex;align-items:center;gap:10px}
.swl .etq{min-width:62px;text-align:center}
/* fiche d'un compte: onglets et suivi client (contacts, notes, échanges, factures) */
.fch+.sm{margin-bottom:16px}
.crm .nnote{display:flex;flex-direction:column;gap:8px;align-items:flex-end;margin-bottom:6px}
.crm .nnote textarea{height:64px;width:100%}
.crm .rg.ech,.crm .rg.ctc{align-items:flex-start}
.crm .rg .tx{display:block;font-weight:400;font-size:13px;color:var(--tx2);margin-top:3px;line-height:1.4}
.crm .ctc .co{display:flex;align-items:center;gap:6px;font-weight:400;font-size:12.5px;color:var(--tx2);margin-top:3px;overflow-wrap:anywhere}
.crm .ctc .co .i{width:13px;height:13px;color:var(--doux);flex:none}
/* « Écrire à Booma »: une ligne par message, qui s'ouvre pour lire et répondre */
.bx{padding:6px 12px}
.bxl{border-top:1px solid var(--ligne2)}.bxl:first-child{border-top:0}
.bxt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 8px;border-radius:12px}
.bxt:hover{background:var(--surf2)}
.bxt .nm{flex:1;min-width:0;font-weight:700;font-size:14px}.bxt .nm small{display:block;font-weight:400;color:var(--doux);font-size:12.5px;margin-top:1px}
.bxt .etqs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.bxt .etq{display:inline-flex;align-items:center;gap:4px}.bxt .etq .p{width:12px;height:12px}
.bxl.ouv .bxt{background:var(--admf)}
.bxd{padding:10px 8px 18px 50px;display:flex;flex-direction:column;gap:10px}
.bxd .obj{font-size:13px;color:var(--tx2)}.bxd .obj .i{vertical-align:-2px;margin-right:6px}.bxd .obj b{color:var(--tx)}
.bxd .msg{font-size:14px;line-height:1.5}
.bxd .rep{border-radius:14px;background:var(--surf2);padding:10px 14px;font-size:13.5px;line-height:1.45;display:flex;flex-direction:column;gap:2px}
.bxd .rep time{font-size:12px;color:var(--doux)}
.bxd .bxa{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bxd .bxa .ln{margin-left:auto}
.bxd textarea.saisie{height:72px}
.bxd .bxb{display:flex;justify-content:flex-end}
@media(max-width:760px){.bxt{flex-wrap:wrap}.bxt .etqs{width:100%;justify-content:flex-start;padding-left:42px}.bxd{padding-left:8px}}
/* textes légaux */
.leg textarea.saisie{height:420px;font-size:13.5px;line-height:1.5}
.leg .rg .tx{display:block;font-weight:400;font-size:13px;color:var(--tx2);margin-top:3px}
.leg .rg .ln{flex:none}
@media(max-width:760px){.leg textarea.saisie{height:320px}}
.g2.l14{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start}
@media(max-width:760px){.fch{flex-wrap:wrap}}
/* essais de Booma Modèle: sous sa ligne, en retrait, sans trait à gauche */
.essais{padding:0 0 10px 54px}
.essais .eh{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:2px 0 8px}.essais .eh .sous{flex:1;min-width:220px;font-size:12.5px}
.essais .rg{gap:12px;flex-wrap:wrap}
@media(max-width:760px){.essais{padding-left:0}.essais .rg .nm{flex-basis:calc(100% - 50px)}.essais .rg .ln{margin-left:42px}}

/* Wiki Booma : la liste par sujet, puis la page (rendu Markdown du serveur) */
.wiki-l{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:16px}
.wiki-l .carte{margin:0}
.wiki-p{color:inherit;text-decoration:none}.wiki-p:hover b{color:var(--adm)}
.wiki-p>svg:first-child{color:var(--adm);flex:none}.wiki-p>svg:last-child{color:var(--doux);flex:none}
.wiki{font-size:14.5px;line-height:1.55;max-width:820px}
.wiki h2{font-size:18px;margin:22px 0 8px}.wiki h3{font-size:15.5px;margin:18px 0 6px}.wiki h4{font-size:14.5px;margin:14px 0 4px}
.wiki>:first-child{margin-top:0}
.wiki p{margin:8px 0}.wiki ul,.wiki ol{margin:8px 0;padding-left:22px}.wiki li{margin:4px 0}
.wiki a{color:var(--adm);text-decoration:underline}
.wiki code{font-size:13px;background:var(--surf2);padding:1px 6px;border-radius:6px}
.wiki table{width:100%;border-collapse:collapse;margin:12px 0;font-size:13.5px}
.wiki th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--doux);font-weight:600;text-align:left;padding:0 12px 8px}
.wiki td{padding:8px 12px;border-top:1px solid var(--ligne2);vertical-align:top}

/* Effacements */
.tab.effs td{vertical-align:top}
.tab.effs .gestes{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.tab.effs .etqs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.tab.effs td .etq+.etq{margin-top:4px}
.tab.effs tr.vise td{background:color-mix(in srgb,var(--adm) 8%,transparent)}
.tab.effs .etat+.sm2{margin-top:6px}
/* webapp : l'état et les gestes passent sous le nom */
.tab.effs .eff-mob{display:none}
@media (max-width:760px){
 .tab.effs .c-pt{display:none}
 .tab.effs .eff-mob{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px}
 .tab.effs .eff-mob .sm2{margin-top:0}
}
.rg.txl .gestes{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;margin-left:auto}
@media (max-width:760px){.rg.txl{flex-wrap:wrap}.rg.txl .gestes{justify-content:flex-start;margin-left:0}}
.tab.effs .rouge-t{color:var(--tomate);font-weight:700}

/* fenêtres et messages */
.voile{position:fixed;inset:0;background:rgba(42,26,14,.5);backdrop-filter:blur(3px);z-index:80;display:none;align-items:center;justify-content:center;padding:20px}
.voile.on{display:flex;animation:fondu .15s}
@keyframes fondu{from{opacity:0}to{opacity:1}}
.modale{background:var(--surf);border-radius:22px;padding:26px;width:100%;max-width:480px;max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 40px 80px -30px rgba(42,26,14,.6);animation:monte .2s cubic-bezier(.2,.9,.3,1.2)}
.modale.lg{max-width:620px}
@keyframes monte{from{transform:translateY(14px) scale(.98)}to{transform:none}}
.modale .ic{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--orangef);color:var(--orange);margin-bottom:14px}
.modale .ic.adm{background:var(--admf);color:var(--adm)}
/* en-tête de couleur de chaque fenêtre: icône, couleur et nom de la page d'où elle vient (comme la console) */
.qg-top{display:flex;gap:14px;align-items:center;border-radius:22px 22px 0 0}
.qg-top.ent{background:color-mix(in srgb,var(--hc) 13%,var(--surf));color:var(--tx)}
.qg-big{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;flex:none;color:#fff;background:var(--hc)}.qg-big .i{width:24px;height:24px}
.qg-k{font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--hc)}
.ent-t{flex:1;min-width:0}.ent-t h2{margin:1px 0 0!important;line-height:1.2}.ent-t p{margin:4px 0 0;line-height:1.35;font-size:13.5px}
.modale>.qg-top{margin:-26px -26px 18px;padding:22px 26px 18px}
.bq .fen-t{background:color-mix(in srgb,var(--hc,#FF741C) 13%,var(--surf));border-bottom:0}
.bq .fen-t .l1{align-items:center;gap:14px}
/* initiales de l'avatar: gras, inclinées, au plus grand dans le rond (comme la console) */
.ini-s{display:inline-block;transform:rotate(-9deg);font-weight:800;letter-spacing:-.03em;line-height:1;text-shadow:0 1px 0 rgba(0,0,0,.18)}
/* un lien qui mène à une autre page porte la petite flèche */
.ln .fl{width:13px;height:13px;margin-left:3px;vertical-align:-2px;opacity:.75}
.modale h2{font-size:21px;font-weight:800;letter-spacing:-.015em;margin-bottom:8px}
.modale p{color:var(--tx2);line-height:1.45}
.modale .bt{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}
.toasts{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:90;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.toast{background:var(--nuit);color:var(--jour);border-radius:999px;padding:11px 18px;font-weight:600;font-size:13.5px;display:flex;align-items:center;gap:9px;box-shadow:0 14px 30px -12px rgba(42,26,14,.7);animation:monte .2s;pointer-events:auto}
html[data-theme=sombre] .toast{background:#F3EDE4;color:#221810}
.toast .i{color:#3FD394;width:16px;height:16px}

/* le choix qui glisse (style Booma) */
.seg{position:relative}
.seg-gl{position:absolute;z-index:0;border-radius:999px;background:var(--plein);box-shadow:0 2px 0 rgba(0,0,0,.35),0 4px 8px -3px rgba(42,26,14,.45);pointer-events:none;transition:left .18s ease,width .18s ease}
.seg button{position:relative;z-index:1}
.seg.gl button.on{background:transparent!important;box-shadow:none!important;color:var(--pleintx)}

/* ---------- le calendrier (choisir une date) ---------- */
.cal-ch{display:flex;align-items:center;gap:9px;width:100%;text-align:left;cursor:pointer;font-weight:700}
.cal-ch>.i{width:16px;height:16px;color:var(--orange);flex:none}.cal-ch .chv{margin-left:auto;color:var(--doux);width:15px;height:15px}
.cal-ch.vide{font-weight:500;color:var(--doux)}
.cal{position:fixed;z-index:90;width:300px;background:var(--pop);border-radius:20px;padding:14px 14px 10px;box-shadow:0 0 0 1px var(--ligne),0 24px 50px -18px rgba(42,26,14,.4);animation:fondu .12s}
.cal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.cal-h b{font-size:15.5px;font-weight:800;letter-spacing:-.01em}
.cal-s,.cal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.cal-s span{font-size:11px;font-weight:700;color:var(--doux);padding:4px 0}
.cj{position:relative;height:36px;border-radius:12px;font-size:13.5px;font-weight:600;color:var(--tx);font-variant-numeric:tabular-nums;transition:background .1s}
.cj:hover{background:var(--surf2)}
.cj.pa{color:var(--doux);opacity:.55}
.cj.auj{box-shadow:inset 0 0 0 1.5px var(--orange);color:var(--orange);font-weight:800}
.cj.on{background:var(--plein);color:var(--pleintx);box-shadow:0 3px 0 var(--orange);font-weight:800}
.cj i{position:absolute;left:50%;bottom:4px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--orange)}
.cj.on i{background:var(--pleintx)}
.cal-b{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid var(--ligne2)}
.cal-l{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--doux)}.cal-l i{width:5px;height:5px;border-radius:50%;background:var(--orange)}
/* une heure impossible fait trembler le champ */
.saisie.err{animation:hErr .35s;border-color:var(--tomate)}@keyframes hErr{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}

/* ---------- les fuseaux horaires ---------- */
.fz-l{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--tx2);margin:-4px 0 10px}
.fz-l>.i{width:14px;height:14px;color:var(--doux);flex:none}.fz-l b{font-weight:700;color:var(--tx)}
.fz-l .ln{margin-left:4px;font-size:12.5px}
.fz-l.chez{margin-top:-6px;padding:7px 10px;border-radius:10px;background:var(--jaunef);color:var(--tx)}.fz-l.chez>.i{color:var(--ambre)}
.fz-b{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:var(--tx2);padding:4px 6px 4px 10px;border-radius:99px}
.fz-b:hover{background:var(--surf2)}.fz-b .i{width:14px;height:14px}
.fz-liste{display:flex;flex-direction:column;gap:4px;max-height:52vh;overflow:auto;margin:6px 0 4px}
.fz-o{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;text-align:left}
.fz-o:hover{background:var(--surf2)}.fz-o b{font-weight:700}.fz-o small{color:var(--doux);font-size:12.5px}
.fz-o .i{margin-left:auto;width:16px;height:16px;color:var(--vert);opacity:0}.fz-o.on{background:var(--vertf)}.fz-o.on .i{opacity:1}
.fz-conf{display:flex;align-items:center;gap:10px;padding:12px 14px;margin-top:16px;flex-wrap:wrap}
.fz-conf>.i{width:18px;height:18px;color:var(--orange)}.fz-conf span{flex:1;min-width:200px}

/* ---------- le sélecteur de fuseau : on choisit d'après l'heure qu'il est chez soi ---------- */
.fzs-ch{position:relative;display:block;margin:12px 0 6px}.fzs-ch>.i{position:absolute;left:14px;top:50%;margin-top:-8px;width:16px;height:16px;color:var(--doux)}
.fzs-ch .saisie{padding-left:40px;width:100%}
.fzs-liste{height:30vh;overflow:auto;margin:4px -8px 0;padding:0 8px 80px}
.fzs-gr{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--doux);margin:14px 4px 4px}
.fzs-sug .fzs-gr{margin-top:6px}
.fzs-o{display:flex;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:12px;text-align:left}
.fzs-o:hover{background:var(--jaunef)}
.fzs-h{flex:none;min-width:58px;text-align:center;font-weight:800;font-size:15px;font-variant-numeric:tabular-nums;padding:5px 8px;border-radius:9px;background:var(--surf2);color:var(--tx)}
.fzs-o:hover .fzs-h{background:var(--surf)}
.fzs-n{display:flex;flex-direction:column;min-width:0}.fzs-n b{font-weight:700}.fzs-n small{font-size:12px;color:var(--doux)}
.fzs-o>.i{margin-left:auto;width:16px;height:16px;color:var(--vert);opacity:0;flex:none}
.fzs-o.on{background:var(--vertf)}.fzs-o.on>.i{opacity:1}.fzs-o.on .fzs-h{background:var(--surf)}
.fzs-sug .fzs-o{border:1.5px solid var(--ligne)}
.fzs-vide{color:var(--doux);font-size:13px;padding:14px 6px}
/* le champ du fuseau à l'inscription */
.fz-ch{display:flex;align-items:center;gap:10px;width:100%;text-align:left;cursor:pointer}
.fz-ch>.i{width:16px;height:16px;color:var(--doux);flex:none}.fz-ch>span:first-of-type{flex:1;min-width:0}.fz-ch small{color:var(--doux);font-size:13px}
.fz-ch .fzs-h{font-size:13px;padding:3px 8px;background:var(--surf)}

/* le carrousel des heures : grandes cartes au ciel du moment, au doigt sur la webapp, aux flèches sur l'ordi */
.fzc{position:relative;margin:4px -26px 6px}
.fzc-b{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px calc(50% - 56px) 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.fzc-b::-webkit-scrollbar{display:none}
.fzc-c{flex:none;scroll-snap-align:center;position:relative;width:112px;height:128px;border-radius:20px;background:var(--bg);color:var(--tx);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:12px 12px 11px;text-align:left;
 opacity:.55;transform:scale(.9);transition:transform .18s,opacity .18s,box-shadow .18s}
.fzc-c.on{opacity:1;transform:scale(1);box-shadow:0 14px 26px -14px rgba(42,26,14,.65),0 0 0 3px var(--surf),0 0 0 5px var(--tx)}
.fzc-c:hover{opacity:.85}.fzc-c.on:hover{opacity:1}
.fzc-t{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;width:100%}.fzc-t .i{width:18px;height:18px}
.fzc-c b{font-size:27px;font-weight:800;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.fzc-c small{font-size:11.5px;font-weight:600;opacity:.85;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fzc-c em{position:absolute;top:-7px;right:10px;font-style:normal;font-size:10.5px;font-weight:800;background:var(--orange);color:#fff;padding:2px 8px;border-radius:99px}
.fzc-f{position:absolute;top:50%;margin-top:-26px;z-index:2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--surf);color:var(--tx);box-shadow:0 4px 12px -4px rgba(42,26,14,.4)}
.fzc-f.g{left:14px}.fzc-f.d{right:14px}.fzc-f .i{width:18px;height:18px}.fzc-f:hover{background:var(--surf2)}
@media(hover:none){.fzc-f{display:none}}
.fzs-off{flex:none;margin-left:auto;font-size:11.5px;font-weight:700;color:var(--tx2);font-variant-numeric:tabular-nums}
.fzs-off+.i{margin-left:8px!important}

/* la carte du monde des fuseaux : des points, une bande par heure, la nuit ombrée */
.fzm{margin:4px 0 12px;border-radius:18px;background:var(--surf2);overflow:hidden}
.fzm-t{display:flex;align-items:center;gap:10px;padding:10px 10px 6px}
.fzm-f{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--surf);color:var(--tx);box-shadow:0 2px 0 color-mix(in srgb,var(--tx) 12%,transparent)}
.fzm-f .i{width:17px;height:17px}.fzm-f:hover{background:var(--jaunef)}
.fzm-ciel{flex:none;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--bg);color:var(--tx)}.fzm-ciel .i{width:18px;height:18px}
.fzm-h{display:flex;flex-direction:column;line-height:1.05;flex:none}.fzm-h b{font-size:21px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.fzm-h small{font-size:11.5px;font-weight:800;color:var(--tx2)}
.fzm-v{flex:1;min-width:0;font-size:13.5px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fzm-b{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.fzm-b::-webkit-scrollbar{display:none}
.fzm-b svg{display:block;width:100%;min-width:640px;height:auto;padding:4px 8px 10px;box-sizing:border-box;touch-action:pan-x pan-y}
.fzm-b g.pair circle{fill:color-mix(in srgb,var(--tx) 40%,var(--surf2))}
.fzm-b g.imp circle{fill:color-mix(in srgb,var(--tx) 17%,var(--surf2))}
.fzm-b circle.cr{r:.72px}.fzm-b circle.n{r:.58px}
.fzm-b g.sv circle{fill:var(--jaune)}
.fzm-b g.on circle{fill:var(--orange)}
.fzm-moi circle{fill:var(--surf);stroke:var(--tx);stroke-width:1.1}
.fzm-moi text{font-size:5.2px;font-weight:800;text-anchor:middle;fill:var(--tx);paint-order:stroke;stroke:var(--surf2);stroke-width:1.6px}
.fzm-sel circle:first-child{fill:color-mix(in srgb,var(--orange) 30%,transparent);stroke:var(--orange);stroke-width:.8}
.fzm-sel circle:last-child{fill:#fff;stroke:var(--orange);stroke-width:.7}
.fzm-moi,.fzm-sel{pointer-events:none}
.fzs-o.pres{box-shadow:inset 3px 0 0 var(--orange)}
@media(max-width:560px){.fzm-t{flex-wrap:wrap}.fzm-h{flex:1}.fzm-v{order:5;flex-basis:100%;padding:0 4px 2px}}

/* NORME des fenêtres : titre et boutons fixes, seul le milieu défile (barre de défilement entre les deux) */
.modale.mf{display:flex;flex-direction:column;overflow:hidden;padding:0}
.modale.mf>.qg-top{margin:0;flex:none}
.modale.mf>.mod-c{flex:1;min-height:0;overflow-y:auto;padding:18px 26px 4px}
.modale.mf>.mod-c.sans-t{padding-top:26px}
.modale.mf>.bt{flex:none;margin:0;padding:18px 26px 22px}
.modale.mf.defile>.mod-c{padding-bottom:80px}
.modale.mf.defile>.bt{border-top:1px solid var(--ligne2);padding-top:14px}
/* la liste des villes : une vraie boîte qui défile, et ça se voit */
.fzs-boite{position:relative;border:1.5px solid var(--ligne);border-radius:16px;background:var(--surf);margin-top:6px;overflow:hidden}
.fzs-boite>.fzs-liste{height:300px;margin:0;padding:4px 8px 80px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--tx) 30%,transparent) transparent}
.fzs-boite>.fzs-liste::-webkit-scrollbar{width:8px}.fzs-boite>.fzs-liste::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--tx) 28%,transparent);border-radius:8px;border:2px solid var(--surf)}
.fzs-boite::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;background:linear-gradient(transparent,var(--surf));pointer-events:none}
.fzs-boite .fzs-gr{position:sticky;top:-4px;z-index:1;background:var(--surf);margin:0 -8px;padding:10px 16px 6px}
.fzs-compte{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px}
.fzs-compte small{font-size:12px;color:var(--doux);font-weight:600}
/* fuseau : la liste prend toute la hauteur qui reste, pour n'avoir qu'une seule chose qui défile */
.modale.mf:has(.fzs-boite){height:calc(100vh - 40px)}
.modale.mf>.mod-c:has(.fzs-boite){display:flex;flex-direction:column}
.modale.mf>.mod-c:has(.fzs-boite)>*{flex:none}
.modale.mf>.mod-c:has(.fzs-boite)>.fzs-boite{flex:1 1 auto;min-height:200px;display:flex;flex-direction:column}
.fzs-boite>.fzs-liste{flex:1;height:auto;min-height:0}

/* « Heure de Montréal » : de l'air sous le champ de la date */
.fz-l{margin:8px 0 14px 2px}
/* le bouton Retour, en haut de la page */
.retour{display:inline-flex;align-items:center;gap:7px;margin:-6px 0 10px -6px;padding:6px 12px 6px 8px;border-radius:999px;font-size:13px;font-weight:600;color:var(--tx2);transition:background .12s}
.retour .i{width:16px;height:16px}.retour b{font-weight:800;color:var(--tx)}
.retour:hover{background:var(--jaunef);color:var(--tx)}

/* la liste des organisateurs d'une activité : longue liste = cadre qui défile */
.fzs-boite.ul-l{max-height:300px;overflow-y:auto;padding-bottom:40px!important;scrollbar-width:thin}
.fzs-boite.ul-l::after{display:none}
.fzs-boite.ul-l{max-height:none}
.rv-l{display:flex;flex-direction:column;gap:4px;margin-top:6px}

/* ============ SE CONNECTER ET TERMINER L'INSCRIPTION ============ */
.ecr{display:none;position:fixed;inset:0;z-index:60;overflow:auto;padding-bottom:80px;background:var(--fond)}
body[data-vue=connexion] #connexion,body[data-vue=inscription] #inscription{display:grid}
body:not([data-vue=portail]) .haut,body:not([data-vue=portail]) .cadre{display:none}
.ecr{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.ecr .gau{position:relative;overflow:hidden;background:var(--nuit);color:#F7F4EE;padding:40px 48px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}
html[data-theme=sombre] .ecr .gau{background:#0E0905}
.ecr .gau svg.bm{width:110px;height:30px;fill:#fff;position:relative;z-index:1}
.ecr .gau h2{font-size:44px;font-weight:800;letter-spacing:-.035em;line-height:1;position:relative;z-index:1;max-width:12ch}
.ecr .gau h2 em{font-style:normal;color:var(--orange)}
.ecr .gau p{color:#CFC4B6;font-size:15px;margin-top:14px;max-width:38ch;position:relative;z-index:1;line-height:1.4}
.ecr .gau small{color:#8A7F72;position:relative;z-index:1}
.ecr .gau .conf i{transform:scale(1.8)}
.ecr .dro{display:flex;align-items:center;justify-content:center;padding:40px 24px}
.fcx{width:100%;max-width:400px}
.fcx h1{font-size:30px;font-weight:800;letter-spacing:-.025em;line-height:1.1}
.fcx .sous{margin:8px 0 18px;font-size:14px}
.fcx .saisie{height:46px;font-size:15px;padding:0 18px}
.fcx .b{height:48px;font-size:15px;width:100%}
.fcx .lien{display:flex;justify-content:space-between;align-items:center;margin:10px 2px 18px;font-size:13px}
.ou{display:flex;align-items:center;gap:12px;color:var(--doux);font-size:12.5px;margin:18px 0}.ou::before,.ou::after{content:"";flex:1;border-top:1px solid var(--ligne)}
.fcx .bas{margin-top:22px;font-size:13px;color:var(--tx2);text-align:center}
.cle{text-align:center;padding:10px 0}
.cle .rond2{width:96px;height:96px;margin:6px auto 18px;border-radius:50%;display:grid;place-items:center;background:var(--admf);color:var(--adm);position:relative}
.cle .rond2 .i{width:40px;height:40px;stroke-width:1.6}
.cle .rond2::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:2px solid var(--adm);animation:cleo 1.6s ease-out infinite}
@keyframes cleo{from{transform:scale(.9);opacity:1}to{transform:scale(1.25);opacity:0}}
.pret{display:flex;flex-direction:column;gap:8px;margin:0 0 18px}
.pret div{display:flex;align-items:center;gap:10px;background:var(--surf);border:1px solid var(--ligne);border-radius:14px;padding:10px 12px;font-size:13.5px}
.pret .pic{width:32px;height:32px;border-radius:10px;transform:none}.pret .pic .i{width:16px;height:16px}
.pret b{font-weight:700}.pret small{display:block;color:var(--doux);font-size:12px}
.coche{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--tx2);margin:14px 0 18px;cursor:pointer;line-height:1.35}
.coche input{width:18px;height:18px;accent-color:var(--orange);margin:0;flex:none}


/* porte booma.pro : du plaisir, pas la fête (Yannick, mercredi 18 novembre 2026) : 3 formes discrètes
   qui flottent très lentement (vendredi 20 novembre 2026). Porte booma.fun : tous les confettis, qui bougent. */
body:not(.porte-fun) .ecr .gau .conf i{transform:scale(1.5);opacity:.8;animation:flotte-pro 13s ease-in-out infinite alternate}
body:not(.porte-fun) .ecr .gau .conf i:nth-child(2){animation-duration:16s}
body:not(.porte-fun) .ecr .gau .conf i:nth-child(3){animation-duration:11s}
@keyframes flotte-pro{from{transform:scale(1.5) translate(0,0) rotate(0)}to{transform:scale(1.5) translate(8px,-16px) rotate(16deg)}}
@media (prefers-reduced-motion:reduce){body:not(.porte-fun) .ecr .gau .conf i{animation:none}}
body:not(.porte-fun) .ecr .gau .conf i:nth-child(n+4){display:none}
#slogan{cursor:pointer}

/* inscription : de l'air entre la langue et les conditions */
.fcx .coche.cond{margin:22px 0 18px}
.fcx select.saisie{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7F72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:14px}
/* le logo Booma dans la phrase de bienvenue, à la place du mot */
.ecr .gau h2 svg.bm-t{display:inline-block;height:.95em;width:3.55em;fill:var(--orange);vertical-align:-.04em;margin:0 .02em 0 .04em}

.fcx .aide-fz{font-size:12.5px;color:var(--doux);margin:6px 2px 0}
/* le logo de la porte d'entrée */
.ecr .gau .bm-porte{height:30px;width:auto;position:relative;z-index:1;align-self:flex-start}
.ecr .gau .bm-porte.fun,.porte-fun .ecr .gau .bm-porte.pro{display:none}
.porte-fun .ecr .gau .bm-porte.fun{display:block}
/* porte booma.fun : aux couleurs et au style de booma.fun (encre et tomate, rayons qui tournent, comme le site) */
.porte-fun .ecr .gau{background:radial-gradient(ellipse at 30% 55%,#4a2f1c 0,#2A1A0E 46%,#150c06 100%)}
.porte-fun .ecr .gau::before{content:"";position:absolute;left:30%;top:55%;width:200vmax;height:200vmax;margin:-100vmax 0 0 -100vmax;background:repeating-conic-gradient(rgba(247,244,238,.05) 0 8deg,transparent 8deg 16deg);-webkit-mask:radial-gradient(circle,#000 0,transparent 40%);mask:radial-gradient(circle,#000 0,transparent 40%);animation:tourne-fun 120s linear infinite;pointer-events:none}
@keyframes tourne-fun{to{transform:rotate(360deg)}}
.porte-fun .ecr .gau h2{letter-spacing:-.04em}
.porte-fun .ecr .gau h2 em{color:var(--tomate)}
.porte-fun .ecr .gau h2 svg.bm-t{fill:var(--tomate)}

/* porte booma.pro : grain fin comme du papier et lueur orange douce (Yannick, vendredi 20 novembre 2026) */
body:not(.porte-fun) .ecr .gau{background:radial-gradient(ellipse 70% 60% at 100% 100%,rgba(255,116,28,.20) 0,rgba(255,116,28,.07) 45%,transparent 75%),var(--nuit)}
html[data-theme=sombre] body:not(.porte-fun) .ecr .gau{background:radial-gradient(ellipse 70% 60% at 100% 100%,rgba(255,116,28,.16) 0,rgba(255,116,28,.05) 45%,transparent 75%),#0E0905}
body:not(.porte-fun) .ecr .gau::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")}
.ecr .gau .bm-porte{position:relative;z-index:1}

/* bouton « Retour au site », à côté du logo */
.ecr .gau .gau-tete{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;align-self:stretch}
.ecr .gau .gau-tete .bm-porte{align-self:center}
.retour-site{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-weight:700;font-size:13.5px;text-decoration:none;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.retour-site:hover{background:rgba(255,255,255,.2)}
.retour-site:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ---- ce que le vrai portail ajoute aux styles de la maquette (avant ecrans.css, toujours dernier) ---- */
/* un seul écran d'entrée (connexion, inscription, mot de passe) ; rien avant le démarrage */
body[data-vue=ecran] #ecran{display:grid}
body[data-vue=attente] .haut,body[data-vue=attente] .cadre,body[data-vue=attente] .ecr{display:none}
/* un bouton qui attend la réponse du serveur, ou qui n'a rien à faire */
.b:disabled{opacity:.42;cursor:default;box-shadow:none;transform:none}
.b.attend{cursor:progress}
a.b{text-decoration:none}
/* un message d'erreur */
.toast.mal .i{color:var(--tomate)}
/* un pied de fenêtre avec un geste à gauche (Retirer…) */
.bt .gauche{margin-right:auto}
/* le X rond des recherches */
.champ .efface{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surf2);color:var(--tx2);flex:none}
.champ .efface .i{width:12px;height:12px}
.champ .efface[hidden]{display:none}
/* Enregistrer et Annuler sous la fiche d'un événement */
.ev-bt{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}
/* retirer une activité d'un événement */
.pal-x{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;margin-left:2px;color:var(--doux)}
.pal-x:hover{background:var(--surf);color:var(--tx)}
.pal-x .i{width:12px;height:12px}
/* le petit menu ⋯ et le choix d'une activité */
.mpop{position:fixed;z-index:85;min-width:200px;background:var(--surf);border-radius:14px;padding:6px;box-shadow:0 18px 40px -14px rgba(42,26,14,.45),0 0 0 1px var(--ligne);display:flex;flex-direction:column}
.mpop button{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:9px;font-weight:600;font-size:13.5px;text-align:left;white-space:nowrap}
.mpop button:hover,.mpop button:focus-visible{background:var(--surf2);outline:0}
.mpop button .i{width:16px;height:16px;color:var(--doux)}
.mpop button.rouge,.mpop button.rouge .i{color:var(--tomate)}
/* la case de date d'un événement sans date */
.dt.mc.sans{--mc:var(--doux)}
/* un accès terminé */
.acc.fini{opacity:.6}
/* les écrans d'entrée : formulaires */
.fcx form{display:contents}
/* la vue « attente » ne montre rien ; le corps garde ses 80 px de vide en bas */
.vide-f{padding:12px 4px}
/* la bande « Agir comme » n'existe que pendant « Agir comme » */
.comme[hidden]{display:none}
/* un champ de date vide garde sa ligne (la classe « vide » sert aussi aux cartes vides) */
.cal-ch.vide{flex-direction:row;align-items:center;text-align:left;padding:0 14px;gap:9px}
/* une précision montrée seulement sur téléphone */
.sur-mob{display:none}
/* la cloche : titre fixe, la liste défile, 80 px de vide en bas */
#notifs{max-height:calc(100vh - var(--haut) - 24px);display:flex;flex-direction:column}
#notifs .nh{flex:none}
#notifs .nl-c{overflow:auto;padding-bottom:80px;margin:0 -4px;padding-left:4px;padding-right:4px}
/* pas de mot orphelin : titres et noms équilibrés */
.h2,.rg .nm,.rg .nm small,.acc .nm small,.tete h1,.tete .sous{text-wrap:balance}
.rg .nm b,.qui b{text-wrap:balance}
/* Mon profil : le bouton passe sous le texte quand la place manque */
.prof-cx .rg{flex-wrap:wrap}
.prof-cx .rg .nm{flex:1 1 12ch;min-width:12ch}
/* « Agir comme » en sombre : texte foncé sur le violet clair */
html[data-theme=sombre] .comme{color:var(--nuit)}
/* pendant qu'une page se charge, l'ancienne s'efface (on ne clique pas dedans) */
#page.charge{opacity:.35;pointer-events:none;transition:opacity .1s .08s}
@media(max-width:1180px){
 .ecr{grid-template-rows:max-content 1fr}
 body .ecr>.gau{min-height:max-content}
 /* fiche d'un compte : la facture passe sous le nom de l'accès */
 .acc .dr{grid-column:2/-1;justify-content:flex-start;flex-wrap:wrap}
 .acc .fact .saisie{flex:1 1 110px;min-width:0}
}
@media(max-width:760px){
 /* les tableaux tiennent dans l'écran : moins de colonnes, le numéro de facture passe sous le reste */
 .tab .c-mob,.tab .c-opt{display:none}
 .tab .sur-mob,.tab td .sm2.sur-mob{display:block}
 .tab .fact{flex-wrap:wrap}
 .tab .fact .saisie{min-width:0;flex:1 1 110px}
 /* menu de l'avatar : les choix tiennent dans le menu */
 .pop .seg button{padding-left:9px;padding-right:9px}
 .pli.c-sem{flex-wrap:wrap}
 .pli.c-sem .pli-t{flex:1 1 calc(100% - 50px)}
 .pli.c-sem .seg{flex:none;margin-left:40px}
 .h2{flex-wrap:wrap}
 .h2 .fin{flex-basis:100%;margin-left:0}
 .tab b{white-space:nowrap}
 .tab .qui>.ini{display:none}
 /* écrans d'entrée : les confettis restent à droite, loin du texte */
 .ecr .gau .conf{left:55%}
}

.aide-fz{text-wrap:balance}

/* le slogan tient sans mot isolé (ex. « prêts à rassembler. ») */
.ecr .gau h2{max-width:14ch}
/* Entrée : la maquette garde 80 px en bas pour son bandeau de démonstration ; le portail n'en a pas
   (sinon l'écran défile et une bande vide paraît sous le panneau foncé). */
body .ecr{padding-bottom:0}
/* Politique de confidentialité : page publique, visuel clair de l'entrée, texte lisible et aligné en haut */
.ecr.legal .dro{align-items:flex-start;padding:56px 32px}
.ecr.legal .fcx{max-width:640px}
.politique{color:var(--tx);font-size:15px;line-height:1.55}
.politique h1{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.politique .ver{color:var(--tx2);font-style:italic;margin:8px 0 22px}
.politique h2{font-size:18px;font-weight:800;letter-spacing:-.01em;margin:26px 0 8px}
.politique p{margin:0 0 10px}
.politique ul{margin:0 0 10px;padding-left:20px}
.politique li{margin:0 0 6px}
.politique .bas{margin-top:30px}
.ecr.legal .gau{position:sticky;top:0;height:100vh;min-height:0;align-self:start}
@media(max-width:760px){.ecr.legal .gau{position:relative;height:auto;min-height:max-content}}
.conf-l{margin-top:8px}
@media(max-width:760px){.ecr.legal .dro{padding:28px 20px}.politique h1{font-size:26px}}
/* Bandeau « Bonjour » : les confettis restent dans la marge réservée, sans jamais toucher le texte.
   Tablette : la colonne de droite (150 px) ; webapp : la bande du bas (70 px). L'ordi garde l'éparpillement de la maquette. */
@media(max-width:1180px){.bienv .conf{left:auto;width:150px}}
@media(max-width:760px){.bienv .conf{left:0;width:auto;top:auto;bottom:4px;height:56px}}
/* textes légaux : la case de l'inscription, les marques « [à remplir] », l'écran « Nos conditions ont changé » */
.coche.acc-l{line-height:1.45}
.coche.acc-l input{margin-top:1px}
.coche.acc-l input.err{outline:2px solid var(--tomate);outline-offset:2px;animation:hErr .35s}
mark.a-remplir{background:color-mix(in srgb,var(--ambre) 30%,transparent);color:var(--tx);font-weight:700;padding:0 4px;border-radius:4px}
.chg-l{margin:6px 0 18px;padding-left:20px;line-height:1.5}
.chg-l li{margin:0 0 6px}
.seg + .sous{margin-top:8px}

/* ================= LE KIT D'ÉMOJIS (super admin) ================= */
.kt-l[hidden],.kt-bs[hidden],.kt-bc[hidden],.kt-rien[hidden],.kt-alerte[hidden]{display:none!important}
.kt-haut{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.kt-total{font-size:14px;color:var(--tx2)}.kt-total b{color:var(--tx);font-weight:800}
.kt-etat{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--doux)}
.kt-etat i{width:8px;height:8px;border-radius:50%;background:var(--vert)}
.kt-etat.envoi i{background:var(--ambre)}.kt-etat.ko{color:var(--tomate)}.kt-etat.ko i{background:var(--tomate)}
.kt-outils{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.kt-outils .champ{flex:1;min-width:220px;max-width:420px}
.kt-sw{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;cursor:pointer;white-space:nowrap}
.kt-alerte{background:var(--tomatef);color:var(--tomate);font-weight:600;border-radius:14px;padding:10px 14px;margin:0 0 12px}
.kt-corps{display:grid;grid-template-columns:210px minmax(0,1fr) 250px;gap:18px;align-items:start}
.kt-nav{position:sticky;top:calc(var(--haut) + 14px);max-height:calc(100vh - var(--haut) - 28px);overflow:auto;padding:12px 8px;margin:0}
.kt-nav h4,.kt-ap h4{margin:2px 8px 8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--doux);font-weight:600}
.kt-cat{display:flex;flex-direction:column;gap:5px;width:100%;padding:8px 10px;border-radius:10px;text-align:left;font-weight:600;font-size:13px;color:var(--tx2)}
.kt-cat:hover{background:var(--surf2)}.kt-cat.on{background:var(--admf);color:var(--admtx)}
.kt-cat.cache{display:none}
.kt-cat .l{display:flex;align-items:baseline;gap:8px}
.kt-cat small{margin-left:auto;font-weight:600;font-size:11.5px;opacity:.75;white-space:nowrap}
.kt-cat.fini small{color:var(--vert);opacity:1}
.kt-barre{height:4px;border-radius:99px;background:var(--ligne2);overflow:hidden}.kt-barre i{display:block;height:100%;width:0;background:var(--adm)}
.kt-liste{min-width:0}
.kt-bc{margin:0 0 10px}
.kt-tc{position:sticky;top:var(--haut);z-index:3;background:var(--fond);display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:12px 0 10px;border-bottom:2px solid var(--tx)}
body.en-comme .kt-tc{top:calc(var(--haut) + 40px)}
.kt-tc h2{margin:0;font-size:20px;font-weight:800}
.kt-cpt{font-size:12.5px;color:var(--doux);font-weight:600;white-space:nowrap}
.kt-tout{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto;font-size:12px;color:var(--doux);font-weight:600}
.kt-tout .b{padding:4px 10px;font-size:12px}.kt-tout .b:disabled{opacity:.35;cursor:default}
.kt-ent,.kt-l{display:grid;grid-template-columns:minmax(140px,1fr) repeat(var(--n),68px) 78px;gap:10px;align-items:center}
.kt-ent{padding:8px 8px 0 24px;font-size:10.5px;font-weight:600;color:var(--doux);letter-spacing:.06em;text-transform:uppercase}.kt-ent span{text-align:center}
.kt-bs{margin:0 0 4px 12px}
.kt-ts{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;padding:14px 0 6px}
.kt-ts h3{margin:0;font-size:14.5px;font-weight:800}
.kt-l{padding:5px 8px 5px 12px;border-radius:12px}
.kt-l:hover{background:var(--surf)}
.kt-l .nm{min-width:0}.kt-l .nm b{display:block;font-size:13.5px;font-weight:600}
.kt-l.absent .nm small{display:block;font-size:11.5px;color:var(--tomate);font-weight:600}
.kt-l.vu{opacity:.55}
.kt-case{position:relative;width:68px;height:58px;border-radius:12px;display:grid;place-items:center;background:var(--surf);box-shadow:0 1px 0 rgba(42,26,14,.08),0 2px 6px -3px rgba(42,26,14,.3),inset 0 0 0 1px var(--ligne)}
.kt-case:hover{box-shadow:0 3px 8px -3px rgba(42,26,14,.4),inset 0 0 0 2px var(--off)}
.kt-case img{width:40px;height:40px;display:block}
.kt-case.vide{background:repeating-linear-gradient(135deg,var(--ligne2) 0 6px,var(--ligne) 6px 12px);box-shadow:inset 0 1px 3px rgba(42,26,14,.12)}
.kt-case.on{box-shadow:0 0 0 3px var(--adm),0 4px 10px -4px rgba(74,47,184,.55)}
.kt-case .chk{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;background:var(--adm);color:#fff;display:none;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.kt-case.on .chk{display:grid}.kt-case .chk svg{width:13px;height:13px}
.kt-l.non .kt-case:not(.vide){opacity:.4}
.kt-aucun{justify-self:start}.kt-aucun.on{background:var(--plein);color:var(--pleintx);box-shadow:none}
.kt-rien{padding:40px 0;text-align:center}
.kt-ap{position:sticky;top:calc(var(--haut) + 14px);padding:14px 16px;margin:0}
.kt-apv{aspect-ratio:1;border-radius:16px;display:grid;place-items:center;background:var(--surf2);text-align:center;padding:12px}
.kt-apv img{width:76%;height:76%}
.kt-ap h3{margin:12px 0 2px;font-size:17px;font-weight:800;line-height:1.2}
.kt-ap .sous{margin:0 0 8px;font-size:12.5px}
.kt-ap3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}
.kt-ap3 div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:12px;background:var(--surf2);font-size:11px;font-weight:600;color:var(--doux)}
.kt-ap3 div.on{box-shadow:inset 0 0 0 2px var(--adm);color:var(--tx)}
.kt-ap3 img{width:44px;height:44px}.kt-ap3 .x{width:44px;height:44px;border-radius:10px;background:repeating-linear-gradient(135deg,var(--ligne2) 0 6px,var(--ligne) 6px 12px)}
.kt-aide{margin-top:14px!important}
/* crédits */
.kt-intro{margin:0 0 14px}
.kt-cr h3{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.kt-cr dl{display:grid;grid-template-columns:160px 1fr;gap:6px 16px;margin:4px 0 0;font-size:13.5px}
.kt-cr dt{color:var(--doux)}.kt-cr dd{margin:0}
.kt-cr a{color:var(--admtx);font-weight:600;text-decoration:underline}
.kt-url{color:var(--tx2);font-size:12.5px;word-break:break-all}
.kt-cr details{margin-top:12px}.kt-cr summary{cursor:pointer;font-weight:600;color:var(--admtx)}
.kt-cr details p{font-size:13px;line-height:1.5}
/* tablette et petits ordis : pas d'aperçu */
@media(max-width:1280px){.kt-corps{grid-template-columns:190px minmax(0,1fr)}.kt-ap{display:none}}
/* webapp : catégories en rangée, nom au-dessus des cases */
@media(max-width:760px){
  .kt-corps{display:block}
  .kt-nav{position:static;max-height:none;display:flex;gap:6px;overflow-x:auto;padding:8px;margin:0 0 6px}
  .kt-nav h4{display:none}
  .kt-cat{flex:none;width:auto;padding:7px 12px}.kt-cat .kt-barre{display:none}
  .kt-ent{grid-template-columns:repeat(var(--n),1fr) 66px;padding:8px 4px 0;gap:8px}.kt-ent span:first-child{display:none}
  .kt-bs{margin-left:0}
  .kt-l{grid-template-columns:repeat(var(--n),1fr) auto;padding:8px 4px;gap:8px}
  .kt-l .nm{grid-column:1/-1}
  .kt-case{width:100%}
  .kt-tout{margin-left:0;width:100%}
  .kt-cr dl{grid-template-columns:1fr}.kt-cr dt{margin-top:6px}
}

/* ============ TABLETTE ============ */
@media(max-width:1180px){
  :root{--cote:68px}
  .cote{padding:12px 10px}
  .cote .gi{padding-left:0}
  .cote h4{font-size:0;margin:8px 8px;height:1px;background:var(--ligne)}.cote>h4:first-child{display:none}
  .cote .adm-g{padding:6px 4px;margin:10px 0 0}
  .cote .adm-g h4{font-size:0;height:auto;background:none;margin:2px 0 4px;justify-content:center}.cote .adm-g h4 small{display:none}
  .cote .adm-g h4 .i{width:16px;height:16px}
  .nav{justify-content:center;padding:11px 0}.nav .lb{display:none}
  .nav>.i{width:20px;height:20px}
  .fete .nav.on{margin:2px 0 6px}
  .g4{grid-template-columns:1fr 1fr}.g3{grid-template-columns:1fr 1fr}.g3>:last-child:nth-child(odd){grid-column:1/-1}
  main{padding:20px 20px 80px}
  .ev2{grid-template-columns:minmax(0,1fr)}.fiche-ev{position:static}
  .mods{grid-template-columns:minmax(0,1fr)}
  .ecr{grid-template-columns:minmax(0,1fr)}.ecr .gau{min-height:0;padding:28px 28px 30px;gap:26px}.ecr .gau h2{font-size:32px}
  .tab .c-opt{display:none}
}
/* ============ TÉLÉPHONE ============ */
@media(max-width:760px){
  .haut{padding:0 10px 0 6px}
  .burger{display:grid}
  .logo .nomp,.haut .qui-h{display:none}
  .cadre{grid-template-columns:minmax(0,1fr)}
  .cote{position:fixed;inset:0 auto 0 0;top:0;height:100%;width:280px;z-index:75;transform:translateX(-100%);transition:transform .2s;border:0;border-radius:0 22px 22px 0;padding:18px 14px}
  .cote h4{font-size:10.5px;height:auto;background:none;margin:16px 10px 6px}.cote>h4:first-child{display:block}
  .cote .adm-g h4{font-size:10.5px;justify-content:flex-start;margin:10px 4px 6px}.cote .adm-g h4 small{display:inline}
  .nav{justify-content:flex-start;padding:10px}.nav .lb{display:flex}
  .cote .gi{padding-left:12px}
  /* l'ombre seulement menu ouvert : fermé, elle débordait en bande grise sur le bord gauche de la page */
  body.tiroir .cote{transform:none;box-shadow:30px 0 60px -30px rgba(42,26,14,.5)}
  .menu{position:fixed;inset:0;background:rgba(42,26,14,.45);z-index:74}body.tiroir .menu{display:block}
  main{padding:16px 14px 100px}
  .g2,.g3,.g4,.chps,.g2.l14{grid-template-columns:minmax(0,1fr)}.g3>:last-child:nth-child(odd){grid-column:auto}
  .bienv{padding:22px 20px 70px}.bienv h1{font-size:25px}
  .tete{flex-wrap:wrap}.tete h1{font-size:22px}
  .tab .c-mob{display:none}
  .crl{grid-template-columns:auto minmax(0,1fr)}.crl select.saisie,.crl .b{grid-column:2}
  .maq{left:10px;right:10px;bottom:10px;justify-content:space-between}.maq>button span{display:none}.maq .seg button{padding:6px 8px;font-size:11.5px}
  .ecr .dro{padding:28px 18px 100px}
  #notifs{right:8px;left:8px;width:auto}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
