/* Mobile d'abord : couche partagée (site public, parcours d'achat, espace organisateur), chargée après style.css et pro.css.
   Cibles tactiles >= 44 px, champs à 16 px (pas de zoom iOS), texte >= 12 px, safe areas. Préfixe « html body » : prime sur pro.css. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button,summary,select,input,textarea,label,[role=button],[role=tab]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.mvb:active,.btn:active,button:active,a.tb:active,.tab:active{filter:brightness(.88);transform:scale(.985)}
@media(max-width:1024px){html body a.logo,html body a.ap2-logo,html body a.bk-ln,html body .foot a,html body .foot a.fl,html body .ap-forgot,html body .bk-ln,html body summary,html body button.ap-eye,html body button.ap-sw,html body a.ap-sw{display:inline-flex;align-items:center;min-height:44px}
html body .foot a.fl{display:flex;margin:0 0 8px;padding:10px 0}
html body .foot h4{font-size:14px}
html body a.logo,html body a.ap2-logo{min-width:44px}
html body button#ap-eye,html body button.ap-eye,html body #ap-eye{min-width:44px;min-height:44px}
html body summary{padding-block:10px}
html body .btn,html body .mvb,html body button.btn.sm,html body .tab,html body a.tb,html body .chip,html body .ux-btn{min-height:44px}
html body .btn:not(.sm),html body .mvb:not(.mvb-s):not(.mvb-ghost),html body .ux-btn{min-height:48px}
html body nav a,html body .nav a,html body .tabs a,html body a.tb,html body a.on{min-height:44px;display:inline-flex;align-items:center}
html body nav,html body .nav,html body .tabs,html body .bo-chips,html body .ds-chips,html body .vf-g2,html body .bo-mf,html body .vf-df,html body .mvb-group,html body .row-btns{gap:8px}
html body .vf-df,html body .bo-mf{flex-wrap:wrap}
html body .legal{display:flex;flex-wrap:wrap;gap:8px 16px}
html body .legal a{display:inline-flex;align-items:center;min-height:44px;margin:0 16px 8px 0}
html body .tabbar a.tb span,html body .tabbar span{font-size:12px}
html body .tabbar a.tb{min-height:56px;flex-direction:column;justify-content:center}
html body .bar.glass{gap:12px}
html body .hsearch{margin:0 12px}
html body .bar #loginbtn,html body .bar .btn.sm{margin-left:8px}
html body .chip small,html body .chip em,html body .regbtn small,html body button small,html body button em{font-size:12px!important}
html body .regbtn,html body button.chip,html body .chip{min-height:44px}
html body .chips,html body .regs{gap:8px}
html body input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),html body select,html body textarea,html body .field{font-size:16px!important;min-height:48px}
html body textarea{min-height:96px}
html body input#hq{height:48px;min-height:48px;font-size:16px}
html body .bo-tag,html body .tag,html body .pill,html body .kicker,html body .ds-lab,html body label.ds-f,html body .ew-lbl{font-size:12px}
html body small,html body .small,html body .sm,html body .muted.sm,html body p.muted,html body p.bo-note,html body .bo-note,html body .pm-h,html body .rt-foot,html body .ee-h,html body .tf-h{font-size:14px;line-height:1.5}
html body h4{font-size:14px}
html body svg text,html body svg tspan{font-size:12px}
}
@media(max-width:480px){html body .bo-mf,html body .vf-df,html body .mvb-group,html body .row-btns,html body .cm-actions{flex-direction:column-reverse;align-items:stretch}
html body .bo-mf .mvb,html body .vf-df .mvb,html body .mvb-group .mvb,html body .row-btns .mvb{width:100%;justify-content:center}
html body .btn,html body .mvb{white-space:nowrap}
html body main,html body .bo main,html body .wrap,html body .container{padding-inline:max(16px,env(safe-area-inset-left))}
}
.m-sticky{position:sticky;bottom:0;z-index:30;display:flex;gap:8px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:var(--bg-1);border-top:1px solid var(--line-1)}
.m-sticky .btn,.m-sticky .mvb{flex:1;min-height:48px}
.ui-drawer,.ui-drawer-ov{height:100dvh}
@media(max-width:1024px){html body .evx-tabs,html body .bo-tabs,html body .ds-tabs,html body .tabs{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}
html body .evx-tabs a,html body .bo-tabs a,html body .ds-tabs a,html body .tabs a{flex:none;scroll-snap-align:center;min-height:44px;padding-inline:14px;display:inline-flex;align-items:center;white-space:nowrap}
html body .ds-tabs button,html body .bo-tabs button{flex:none;min-height:44px;margin-right:8px}
html body .ux-btn{min-height:48px!important}
}
@media(max-width:1024px){
html body .evh .evx-tabs,html body .ds-tbl-card .evx-tabs{flex-wrap:nowrap;overflow-x:auto;gap:8px;scroll-snap-type:x proximity}
html body .evh .evx-tabs a,html body .ds-tbl-card .evx-tabs a{flex:none;min-height:44px;padding-inline:14px;scroll-snap-align:center}
}
@media(max-width:1024px){
html body .seg{gap:8px;flex-wrap:wrap}html body .seg button{min-height:44px;padding-inline:14px}
html body .crumbs{display:flex;flex-wrap:wrap;gap:0 8px}html body .crumbs a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
html body .legal a{min-width:44px;justify-content:center}
html body a.mono{display:inline-flex;align-items:center;min-height:44px}
}

/* espace organisateur : barre d'onglets fixe en bas */
.bo-tabbar{display:none}
@media(max-width:900px){
html body .bo-tabbar{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--bg-1);border-top:1px solid var(--line-1);padding:6px 4px max(6px,env(safe-area-inset-bottom))}
html body .bo-tabbar a,html body .bo-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;border:0;background:transparent;color:var(--txt-2);font:600 12px var(--f-ui,Inter),sans-serif;border-radius:12px}
html body .bo-tabbar svg{width:22px;height:22px}
html body .bo-tabbar a.on{color:var(--txt-1);background:var(--red-900)}html body .bo-tabbar a.on svg{color:var(--red-400)}
html body .bo-main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}

/* cartes de KPI : 2 par ligne */
@media(max-width:700px){
html body .ds-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .ds-strip>.ds-card,html body .ds-grid>.ds-stat{grid-column:span 1}
html body .ds-stat .ds-num{font-size:24px;overflow-wrap:anywhere}
html body .ds-grid>.ds-stat{grid-column:span 1}
}

/* fenêtres : feuilles basses sur mobile (poignée, glissement pour fermer, défilement interne) */
@keyframes m-sheet{from{transform:translateY(100%)}to{transform:none}}
@media(max-width:768px){
html body .bo-modal{align-items:flex-end!important;justify-content:center;padding:0!important}
html body .bo-modal .bo-mbox{width:100%!important;max-width:100%!important;max-height:92dvh;border-radius:20px 20px 0 0!important;border-bottom:0!important;padding:28px 20px max(20px,env(safe-area-inset-bottom))!important;overflow:auto;overscroll-behavior:contain;animation:m-sheet .22s ease-out;position:relative}
html body .bo-modal .bo-mbox::before{content:'';position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:99px;background:var(--line-3,var(--txt-3));opacity:.6}
html body .bo-modal .bo-x,html body .bo-modal #bo-mx{min-width:44px;min-height:44px;top:8px;right:8px}
html body .bo-modal .bo-mf{flex-direction:column-reverse;align-items:stretch;gap:8px}
html body .bo-modal .bo-mf .mvb{width:100%;min-height:48px;justify-content:center}
}
@media(max-width:768px){html body .bo-modal.open{display:flex!important;align-items:flex-end!important}html body .bo-modal .bo-mbox{margin:0!important;box-sizing:border-box}}

/* contrastes AA : texte blanc pur sur rouge, étiquettes lisibles */
html body .btn,html body .btn *,html body .tag:not(.bo .tag),html body .chip.on,html body .chip.on em,html body .tabbar a.on span,html body .ap-sw.btn{color:var(--on-red) !important}
html body .tag.teen{background:var(--warn) !important;color:var(--cam-bg) !important}:root[data-theme="pro-light"] body .tag.teen{color:var(--on-red) !important}
html body .tag.new,html body .tag.hot{background:var(--red-500) !important}
html body .tabbar a span,html body .tabbar span{color:var(--txt-1) !important}
html body a.ap-sw,html body button.ap-sw,html body .ap-sw{color:var(--txt-1) !important;text-decoration:underline}
html body .chip small,html body .chip em,html body .seg small,html body .seg button small{color:var(--txt-1) !important}
html body .toast.ok,html body .toast{color:var(--txt-1) !important;background:var(--bg-3) !important}
html body .bo .bo-note,html body .bo p.bo-note,html body .bo-mbox p.bo-note{color:var(--txt-2) !important}
html body .evx-tabs a.on,html body .evh .evx-tabs a.on{color:var(--txt-1) !important}
html body .ib2-av,html body .ib2-tag{color:var(--txt-1) !important}
html body .bo-count{color:var(--txt-1) !important;background:var(--bg-3) !important}
html body .ev-dt span,html body .ev-mo,html body .ev-day span{color:var(--txt-2) !important}

/* cibles tactiles restantes */
@media(max-width:1024px){
html body footer a,html body [class*=foot] a,html body .legal a,html body header a,html body .crumbs a,html body .bar a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
html body .ds-t td a,html body .ds-tbl a,html body .ds-card td a,html body a.link,html body .ev-dash{display:inline-flex;align-items:center;min-height:44px}
html body main p a,html body .bo-main p a,html body li a{display:inline-flex;align-items:center;min-height:44px}
html body a.mono{word-break:break-all}
/* paragraphes lisibles */
html body main p,html body main small,html body .bo-main p,html body .bo-main small,html body .bo-note,html body .cl-p,html body .pp-pill,html body .ds-card span:not([class]),html body .ds-card li,html body .vo-hint,html body .muted{font-size:14px !important;line-height:1.5 !important}
html body i,html body em.ax-soon,html body .bo-top small,html body small{font-size:12px !important}
html body small,html body .ds-li-t small,html body .bo-main small{font-size:14px !important}
html body .pp-pill{font-size:14px !important}
/* espacements entre cibles voisines */
html body .a2-tabs{display:flex;gap:8px;overflow-x:auto}
html body .cl-i,html body .ib2-r{margin-bottom:8px}
html body a.mvb+a.mvb,html body a.mvb+button.mvb,html body button.mvb+a.mvb{margin-top:8px}
html body .ap-lbl{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
html body .ap-lbl+.ap-pw,html body .ap-forgot+input{margin-top:8px}
html body .tx-filters{display:flex;flex-wrap:wrap;gap:8px}
}

html body button#allreg,html body #auth-go,html body #fg-go,html body .btn.lg,html body a.btn{color:var(--on-red)!important}
html body .bo-card p.bo-note,html body .bo-card .bo-note{color:var(--txt-2)!important}
html body .tx-filters .ux-sel,html body .vo-filters .ux-sel,html body .vo-filters .ds-search,html body .tx-filters .ds-search{margin:0 0 8px}
html body .vo-filters,html body .tx-filters{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1024px){html body .ev-urls a.mono,html body td a.mono{margin-bottom:8px}html body .bo-tabbar{gap:8px}html body .foot,html body .foot-in{padding-bottom:calc(72px + env(safe-area-inset-bottom))}}

html body .ds-date span{color:var(--txt-1)!important}
html body .ib2-av{color:var(--bg-0)!important}
html body .ds-url a.mono,html body a.mono{font-size:14px!important}
html body .chip small,html body .seg button small,html body .chip em{color:var(--txt-1)!important}
@media(max-width:1024px){
html body main>a:first-child,html body .ds-ev-main a,html body .ds-ev-main>a{display:inline-flex;align-items:center;min-height:44px}
html body .ds-url{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body .ds-ev-main{gap:8px}
}

html body .seg button.on,html body .chip.on{background:var(--red-500)!important;color:var(--on-red)!important}
@media(max-width:900px){html body .ee-bar,html body .vt-bar,html body .m-sticky{bottom:calc(72px + env(safe-area-inset-bottom));margin-bottom:8px}}
html body .seg button.on small,html body .chip.on small,html body .chip.on em{background:var(--scrim)!important;color:var(--on-red)!important}

/* billet plein écran */
.tkfs{position:fixed;inset:0;z-index:300;display:grid;grid-template-rows:auto 1fr auto;height:100dvh;background:var(--bg-0);color:var(--txt-1);padding:max(12px,env(safe-area-inset-top)) 0 max(12px,env(safe-area-inset-bottom))}
.tkfs header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px}.tkfs header b{font:700 1.05rem Sora,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tkx{min-width:48px;min-height:48px;border-radius:14px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--txt-1);font-size:1.6rem}
.tkrail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.tkrail::-webkit-scrollbar{display:none}
.tkrail section{flex:0 0 100%;scroll-snap-align:center;display:grid;align-content:center;justify-items:center;gap:12px;padding:16px;text-align:center}
.tkqr{width:min(86vw,60dvh,420px);aspect-ratio:1;background:var(--surface);border-radius:24px;padding:14px;display:grid;place-items:center}.tkqr img{width:100%;height:100%;image-rendering:pixelated}
.tkrail h3{margin:0;font:700 1.3rem Sora,sans-serif}.tkrail p{margin:0;color:var(--txt-2)}
.tkfs footer{display:grid;gap:10px;padding:0 16px;text-align:center}.tkfs footer p{margin:0;color:var(--txt-2);font-size:14px}.tkfs footer .btn{min-height:48px}
.tkbtns{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:480px){.tkbtns{width:100%;flex-direction:column}.tkbtns .btn{width:100%}}

/* parcours d'achat : barre fixe en bas avec total et bouton Réserver (au-dessus de la barre d'onglets) */
@media(max-width:1000px){
html body #tiers>.cart.has{position:fixed;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:120;margin:0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;padding:10px 12px 10px 16px;border-radius:20px;background:var(--bg-2);border:1px solid var(--line-2);box-shadow:0 18px 40px var(--shadow-ink)}
html body #tiers>.cart.has .cart-lines,html body #tiers>.cart.has .cart-empty{display:none}
html body #tiers>.cart.has .cart-h{padding:0}html body #tiers>.cart.has .cart-h b{font-size:1.1rem}html body #tiers>.cart.has .cart-h span{font-size:14px;color:var(--txt-2)}
html body #tiers>.cart.has .cart-t{padding:0;grid-column:1}html body #tiers>.cart.has .cart-r.tot{padding:0;font-size:1.2rem}
html body #tiers>.cart.has #tbook{grid-column:2;grid-row:1 / span 2;width:auto;min-width:140px;min-height:52px}
html body #tiers{padding-bottom:140px}
}

/* Caisse (vente en direct) : tarifs en grandes tuiles, total et « Encaisser » toujours visibles au-dessus de la barre d'onglets, statistiques et historique après l'action. */
@media(max-width:768px){
html body .ps-tiers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .ps-tier.mvb{min-height:104px;padding:14px}
html body .ps-meth{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .ps-meth .mvb{min-height:56px;padding-inline:8px;font-size:14px;justify-content:center}
html body .ps-qty{justify-content:center;gap:16px}
html body .ps-cash{grid-template-columns:1fr}
html body .ds-grid:has(.ps-sum) .ps-stats{order:5;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
html body .ds-grid:has(.ps-sum) .ps-stats>*{flex:0 0 70%;scroll-snap-align:start}
html body .ds-grid:has(.ps-sum)>:last-child{order:6}
html body .ps-sum:not(:has(.ps-ticket)){position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:55;box-shadow:0 -10px 24px var(--shadow-ink)}
html body .ps-sum .ps-total{font-size:34px}
}

/* Cibles tactiles : lien d'évènement et recherche d'artiste. */
@media(max-width:768px){html body a.mono{display:inline-flex!important;align-items:center;min-height:44px;font-size:14px!important}html body .ln-sw .ds-search input#ln-in,html body .ln-sw .ds-search{min-height:44px!important}html body .ln-sw .ds-search input#ln-in{height:44px!important}}

/* Distribuer : sous-navigation en puces défilantes, liens en cartes. */
.dt-sub{margin:0 0 14px}.dt-sub ul{display:flex;gap:8px;list-style:none;margin:0;padding:2px 0;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
.dt-sub ul::-webkit-scrollbar{display:none}
.dt-sub li{flex:none;scroll-snap-align:start}
.dt-sub button,.dt-sub a,.dt-sub .dt-soon{cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:99px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--txt-2);font:600 14px var(--f-ui,Inter),sans-serif;white-space:nowrap}
.dt-sub button.on,.dt-sub a.on{background:var(--red-900);border-color:var(--red-500);color:var(--txt-1)}
.dt-sub .dt-soon{opacity:.55;cursor:not-allowed}.dt-sub button em,.dt-sub .dt-soon em{margin-left:2px;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--txt-3)}.dt-sub .dt-soon em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--txt-3)}
.dt-list{display:grid;gap:12px}
.dt-link{display:grid;gap:8px;padding:16px;border-radius:16px;background:var(--bg-1);border:1px solid var(--line-1)}
.dt-lh{display:flex;align-items:center;justify-content:space-between;gap:10px}.dt-lh b{font:600 16px var(--f-ui,Inter),sans-serif;min-width:0;overflow-wrap:anywhere}
.dt-lm{margin:0;color:var(--txt-2);font-size:14px}
.dt-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.dt-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.dt-tools .mvb{flex:1 1 auto}
.dt-fl{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 10px}.dt-fl::-webkit-scrollbar{display:none}
.dt-fl button{flex:none;min-height:44px;padding:0 14px;border-radius:99px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--txt-2);font:600 14px var(--f-ui,Inter),sans-serif;cursor:pointer}.dt-fl button.on{background:var(--red-900);border-color:var(--red-500);color:var(--txt-1)}
#dt-sub .ds-card,#dt-body .ds-card{display:grid;gap:16px;align-content:start;padding:20px}
#dt-sub .ds-card h3,#dt-sub .ds-card h4,#dt-body .ds-card h3,#dt-sub .ds-card p,#dt-body .ds-card p,#dt-sub .ds-card ul{margin:0}
#dt-sub .ds-card ul{padding-left:20px;display:grid;gap:6px}
.dt-prog{display:grid;gap:8px}.dt-prog p{margin:0}
.dt-list{gap:16px}
.dt-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(min-width:900px){.dt-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.dt-kpi{padding:16px;border-radius:16px;background:var(--bg-1);border:1px solid var(--line-1);display:grid;gap:4px}.dt-kpi b{font:700 24px var(--f-ui,Inter),sans-serif}.dt-kpi span{color:var(--txt-2);font-size:14px}
.dt-bar{height:10px;border-radius:99px;background:var(--bg-3);overflow:hidden}.dt-bar i{display:block;height:100%;background:var(--red-500)}
.dt-ta{width:100%;min-height:140px;box-sizing:border-box;padding:12px 14px;border-radius:12px;background:var(--bg-1);border:1px solid var(--line-2);color:var(--txt-1);font:400 16px var(--f-ui,Inter),sans-serif}
.dt-chk{display:flex!important;align-items:center;gap:10px}.dt-chk input{width:auto!important;min-height:0!important}
@media(max-width:768px){.dt-act .mvb{flex:1 1 calc(50% - 8px)}}

/* Tiroir « Plus » de l'espace pro : défile jusqu'en bas (aide, support, paramètres, déconnexion), jamais derrière la barre d'onglets ; pages à venir en veille. */
@media(max-width:900px){
html body .bo .ax-side{z-index:120;top:0;bottom:auto;height:100dvh;width:min(88vw,340px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + env(safe-area-inset-bottom));visibility:hidden;transition:transform .22s,visibility 0s .22s}
html body .bo .ax-side.open{visibility:visible;transition:transform .22s}
html body .bo .ax-bg{z-index:110;-webkit-tap-highlight-color:transparent}
/* .bo est un contexte d'empilement fixe : le tiroir (dedans) ne peut pas passer au-dessus de la barre du bas (dehors), on la masque tant qu'il est ouvert. */
html body:has(.ax-side.open) .bo-tabbar{visibility:hidden}
html body .bo .ax-foot{padding-bottom:8px}
html body .bo.pro .ax-i{min-height:48px}
html body .bo.pro .ax-out{width:100%;background:transparent;border:0;text-align:left;color:var(--red-400);font:inherit;cursor:pointer}
html body .bo.pro .ax-i.soon{pointer-events:none}
}

/* Tableau de bord et liste d'évènements : KPI 2 par ligne, puces sur une seule ligne défilante, cartes d'évènement compactes. */
@media(max-width:768px){
html body .ds-grid>.ds-stat.c-3{grid-column:span 6!important;padding:14px;gap:4px;min-height:0}
html body .ds-stat .ds-num{font-size:22px}
html body .ds-stat .ds-sub span{display:none}
html body .ds-stat .ds-sp,html body .ds-stat .ds-sp svg{height:32px}
html body .bo .ds-chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;margin-inline:-16px;padding:2px 16px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,var(--brand-600) 16px,var(--brand-600) calc(100% - 24px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,var(--brand-600) 16px,var(--brand-600) calc(100% - 24px),transparent 100%)}
html body .bo .ds-chips::-webkit-scrollbar{display:none}
html body .ds-chips .mvb{flex:none;min-height:44px;scroll-snap-align:start;white-space:nowrap}
html body .ds-ev{grid-template-columns:56px minmax(0,1fr);gap:8px 12px;padding:14px;align-items:start}
html body .ds-ev>*:not(.ds-date){grid-column:2}
html body .ds-ev>.ds-date{grid-row:span 2;align-self:start}
html body .ds-ev .ds-url{flex-wrap:nowrap;min-width:0}
html body .ds-ev .ds-url a.mono{font-size:14px!important;display:inline-flex;align-items:center;min-height:44px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ---------- Accueil mobile (≤ 768 px) : hero, à la une, listes, catégories, lieux, organisateurs, bandeau pro ---------- */
.mh,.hs-i{display:none}
@media(max-width:768px){
html body .hd{display:none}
html body .mh{display:block;padding-bottom:24px}
/* en-tête compact, fond opaque, sous l'heure */
html body .head{position:sticky;top:0;padding:env(safe-area-inset-top) 0 0;background:var(--bg-0);border-bottom:1px solid var(--line-1)}
html body .head .bar{min-height:56px;padding:6px 12px;border-radius:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:8px}
html body .head .logo{order:1;margin-right:0}html body .head .logo img{height:32px}
html body .head .bar .hsearch{display:none}
html body .head .hs-i{order:2;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-left:auto;border-radius:999px;color:var(--txt-1)}
html body .head .hs-i svg{width:22px;height:22px}
html body .head .nav{order:3;margin-left:0}
/* hero */
.mh-hero{padding:20px 16px 8px;display:grid;gap:12px}
.mh-hero h1{font:700 28px/1.15 Sora,sans-serif;letter-spacing:-.02em;margin:0;color:var(--txt-1)}
.mh-hero p{margin:0;color:var(--txt-2);font-size:15px;line-height:1.45}
.mh-search{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border-radius:999px;background:var(--bg-2);border:1px solid var(--line-2)}
.mh-search svg{width:20px;height:20px;flex:none;color:var(--txt-2)}
.mh-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--txt-1);font:500 16px Manrope,sans-serif;outline:0}
.mh-search:focus-within{border-color:var(--red-500)}
.mh-chips{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:2px 16px 6px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mh-chips::-webkit-scrollbar{display:none}
.mh-chip{flex:none;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line-2);background:var(--bg-2);color:var(--txt-1);font:600 14px Manrope,sans-serif;white-space:nowrap;scroll-snap-align:start;cursor:pointer}
.mh-chip.on{background:var(--red-500);border-color:var(--red-500);color:var(--on-red)}
/* sections */
.mh-sec{padding:20px 0 4px}
.mh-sh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 16px 12px}
.mh-sh h2{margin:0;font:700 20px Sora,sans-serif;letter-spacing:-.01em;color:var(--txt-1)}
.mh-all{display:inline-flex;align-items:center;min-height:44px;color:var(--red-400);font:600 14px Manrope,sans-serif;text-decoration:none}
/* à la une : carrousel magnétique */
.mh-car{display:flex;gap:12px;overflow-x:auto;padding:0 16px 8px;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mh-car::-webkit-scrollbar{display:none}
.mh-tile{position:relative;flex:none;width:68vw;max-width:280px;display:block;scroll-snap-align:start;border-radius:var(--r-card);background:var(--bg-2);border:1px solid var(--line-1);overflow:hidden;text-decoration:none;color:var(--txt-1)}
.mh-ph{aspect-ratio:4/5;background:var(--bg-3);overflow:hidden;display:grid;place-items:center}
.mh-ph img{width:100%;height:100%;object-fit:cover;display:block}
.mh-no{color:var(--txt-3)}.mh-no svg{width:36px;height:36px}
.mh-tb{display:grid;gap:3px;padding:12px 14px 14px}
.mh-tb h3{margin:0;font:700 16px/1.25 Sora,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-tb p{margin:0;font-size:14px;color:var(--txt-2)}.mh-tb .mh-w{color:var(--txt-3)}
.mh-tb b{margin-top:4px;font:700 15px Manrope,sans-serif;color:var(--txt-1)}
.mh .heart{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:999px;display:grid;place-items:center;border:0;background:var(--scrim-soft);color:var(--txt-1);cursor:pointer}
.mh .heart svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.mh .heart.on{color:var(--red-400)}.mh .heart.on svg{fill:currentColor}
.mh-bd{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font:700 12px Manrope,sans-serif;background:var(--bg-0);color:var(--txt-1);border:1px solid var(--line-2)}
.mh-bd.warn{background:var(--warn);color:var(--bg-0);border-color:var(--warn)}
.mh-bd.off{background:var(--red-900);color:var(--txt-1);border-color:var(--red-500)}
.mh-bd.free{background:var(--ok);color:var(--bg-0);border-color:var(--ok)}
/* liste : affiche à gauche, infos à droite */
.mh-list{display:grid;gap:10px;padding:0 16px}
.mh-row{position:relative;display:grid;grid-template-columns:92px 1fr;gap:12px;padding:10px;padding-right:56px;border-radius:var(--r-card);background:var(--bg-2);border:1px solid var(--line-1);text-decoration:none;color:var(--txt-1);min-height:124px}
.mh-row .mh-ph{width:92px;aspect-ratio:4/5;border-radius:12px}
.mh-rb{display:grid;gap:3px;align-content:start;min-width:0}
.mh-rb h3{margin:0;font:700 15px/1.25 Sora,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-rb p{margin:0;font-size:14px;color:var(--txt-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mh-rb .mh-w{color:var(--txt-3)}
.mh-rf{display:flex;align-items:center;gap:8px;margin-top:4px;flex-wrap:wrap}.mh-rf b{font:700 14px Manrope,sans-serif}
.mh-rf .mh-bd{position:static}
.mh-row .heart{top:6px;right:6px}
/* catégories, lieux, organisateurs */
.mh-cats,.mh-cards{display:flex;gap:10px;overflow-x:auto;padding:0 16px 8px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mh-cats::-webkit-scrollbar,.mh-cards::-webkit-scrollbar{display:none}
.mh-cat{flex:none;display:grid;gap:4px;align-content:center;min-width:150px;min-height:84px;padding:14px 16px;border-radius:var(--r-card);background:var(--red-900);border:1px solid var(--line-2);text-decoration:none;color:var(--txt-1);scroll-snap-align:start}
.mh-cat b{font:700 16px Sora,sans-serif}.mh-cat span{font-size:14px;color:var(--txt-2)}
.mh-card{flex:none;display:grid;gap:4px;align-content:start;width:156px;min-height:148px;padding:14px;border-radius:var(--r-card);background:var(--bg-2);border:1px solid var(--line-1);text-decoration:none;color:var(--txt-1);scroll-snap-align:start}
.mh-ci{width:48px;height:48px;border-radius:999px;background:var(--bg-3);display:grid;place-items:center;color:var(--txt-1);overflow:hidden;margin-bottom:6px}.mh-ci svg{width:22px;height:22px}.mh-ci img{width:100%;height:100%;object-fit:cover}
.mh-card b{font:700 15px/1.25 Sora,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-card span:not(.mh-ci){font-size:14px;color:var(--txt-2)}.mh-card em{font-style:normal;font-size:14px;color:var(--txt-3)}
/* bandeau organisateur et état vide */
.mh-pro,.mh-empty{margin:24px 16px 0;padding:20px;border-radius:var(--r-card);background:var(--red-900);border:1px solid var(--red-edge);display:grid;gap:10px}
.mh-pro h2,.mh-empty h2{margin:0;font:700 20px/1.25 Sora,sans-serif;color:var(--txt-1)}.mh-pro p{margin:0;color:var(--txt-2);font-size:15px}
.mh-empty{background:var(--bg-2);border-color:var(--line-2)}
/* bouton de discussion : au-dessus de la barre du bas, hors du contenu utile */
#chatw{bottom:calc(76px + env(safe-area-inset-bottom))}
/* pied de page compact */
html body .foot .fcols{gap:20px 16px}
html body .foot .legal{display:grid;gap:8px;padding-bottom:8px}
}

/* Guichet : le récapitulatif collant devient une barre compacte (total à gauche, Encaisser à droite) pour ne plus masquer la vente. */
@media(max-width:900px){
html body .ps-sum:not(:has(.ps-ticket)){flex-direction:row;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--r-card)}
html body .ps-sum:not(:has(.ps-ticket)) .ds-ch,html body .ps-sum:not(:has(.ps-ticket)) .ps-total-wrap small:not(.ds-lab){display:none}
html body .ps-sum:not(:has(.ps-ticket)) .ps-total-wrap{margin:0;gap:0;flex:none}
html body .ps-sum:not(:has(.ps-ticket)) .ps-total{font-size:26px}
html body .ps-sum:not(:has(.ps-ticket)) #ps-go{flex:1;width:auto;min-height:52px;font-size:16px}
html body .ps-quick .mvb{min-height:44px}
}
/* Accréditations : pastilles de catégorie (couleurs de la charte), codes de zone, sous-navigation. */
.ac-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:99px;font:700 13px var(--f-ui,Inter),sans-serif;background:var(--bg-3);color:var(--txt-2);border:1px solid var(--line-2)}
.ac-c-red{background:var(--red-900);color:var(--txt-1);border-color:var(--red-edge)}.ac-c-amber{background:var(--warn-bg);color:var(--warn);border-color:var(--warn)}
.ac-c-green{background:var(--ok-bg);color:var(--ok);border-color:var(--ok)}.ac-c-blue{background:var(--info-bg);color:var(--info);border-color:var(--info)}
.ac-c-violet{background:var(--bg-3);color:var(--tk-vip);border-color:var(--violet)}
.ac-code{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:var(--bg-3);border:1px solid var(--line-2);font:500 13px var(--f-mono,'IBM Plex Mono'),monospace}
.ac-colors,.ac-zones{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.ac-colors legend,.ac-zones legend{font:700 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2);margin-bottom:8px;padding:0}
.ac-opt{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 4px;cursor:pointer}.ac-opt input{width:20px;height:20px;accent-color:var(--red-500)}
.ac-sw{min-height:48px;display:flex;align-items:center}
.ph-box{display:grid;gap:12px;justify-items:center}.ph-drop{width:100%;display:grid;gap:12px;justify-items:center;padding:20px 12px;border:2px dashed var(--line-2);border-radius:16px;text-align:center}.ph-drop.on{border-color:var(--red-500);background:var(--red-halo)}
.ph-btns{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.ph-err{color:var(--danger);font:600 14px var(--f-ui,Inter),sans-serif;min-height:0;margin:0}.ph-err:empty{display:none}
#ph-cv{border-radius:12px;border:1px solid var(--line-2);touch-action:none;cursor:grab;background:var(--bg-3)}.ph-zoom{display:grid;gap:4px;width:240px;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2)}.ph-zoom input{width:100%;min-height:48px;accent-color:var(--red-500)}
.ac-thumb{width:56px;height:74px;border-radius:10px;object-fit:cover;background:var(--bg-3);border:1px solid var(--line-2);flex:none}.ac-thumb.none{display:grid;place-items:center;color:var(--txt-3);font:700 12px var(--f-ui,Inter),sans-serif;text-align:center}
.ac-top{display:flex;gap:8px}.ac-search input{width:100%;min-height:48px;font-size:16px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ac-cards{display:grid;gap:10px}.ac-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--bg-1);border:1px solid var(--line-1)}.ac-card.off,.ac-table tr.off{opacity:.55}
.ac-main{flex:1;min-width:0;display:grid;gap:4px}.ac-main b{overflow-wrap:anywhere}.ac-num{color:var(--txt-2);font-size:14px}.ac-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ac-check{display:grid;place-items:center;min-width:48px;min-height:48px;cursor:pointer}.ac-check input{width:22px;height:22px;accent-color:var(--red-500)}
.ac-tablewrap{display:none}.ac-table{width:100%;border-collapse:collapse}.ac-table th{text-align:left;font:700 13px var(--f-ui,Inter),sans-serif;color:var(--txt-2);padding:8px}.ac-table td{padding:8px;border-top:1px solid var(--line-1);vertical-align:middle}
@media(min-width:769px){.ac-cards{display:none}.ac-tablewrap{display:block;overflow-x:auto}}
.ac-sticky{flex-wrap:wrap;justify-content:center}@media(max-width:1024px){.ac-sticky{position:fixed;left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom))}.ac-spacer{height:96px}}
.ac-photo{display:flex;align-items:center;gap:12px}.ac-adv{border:1px solid var(--line-2);border-radius:12px;padding:0 12px 12px}.ac-adv summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font:700 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2)}.ac-adv label{display:grid;gap:4px;margin-top:8px}
.ac-menu{display:grid;gap:8px}.ac-menu .mvb,.ac-mi{width:100%;justify-content:center;min-height:48px}
.ac-undo{position:fixed;left:16px;right:16px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:130;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:14px;background:var(--bg-3);border:1px solid var(--line-2);color:var(--txt-1);font:600 14px var(--f-ui,Inter),sans-serif}
.ac-wide .bo-mbox,.ac-wide>div{max-width:720px}.ac-file{cursor:pointer;justify-content:center;text-align:center;min-height:48px}
.ac-big{font:700 28px var(--f-ui,Inter),sans-serif;margin:8px 0}.ac-sum{font:600 16px var(--f-ui,Inter),sans-serif}.ac-bad{color:var(--danger);font-weight:700}
.ac-prev{display:grid;gap:8px;max-height:46vh;overflow:auto}.ac-pr{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border-radius:12px;border:1px solid var(--line-1)}.ac-pr input,.ac-pr select{min-height:44px;font-size:16px;min-width:0}
.ac-pr.bad{border-color:var(--danger);background:var(--red-halo)}.ac-pr.warn{border-color:var(--warn)}.ac-pe{grid-column:1/-1;font:600 13px var(--f-ui,Inter),sans-serif;color:var(--danger)}.ac-pr.warn .ac-pe{color:var(--warn)}.ac-errs{margin:0;padding-left:20px;font:600 14px var(--f-ui,Inter),sans-serif}
.tm-grid{display:grid;gap:10px}.tm-card{align-items:flex-start}.tm-thumb{width:88px;flex:none;border-radius:8px;overflow:hidden;background:var(--bg-3);min-height:56px}.tm-thumb svg{display:block;width:100%;height:auto}
.tm-ed{display:grid;gap:12px}.tm-top{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.tm-name{display:grid;gap:4px;flex:1;min-width:200px}.tm-name input{min-height:48px;font-size:16px}.tm-modes{display:flex;flex-direction:row;gap:8px}.tm-modes .mvb{width:auto}
.tm-work{display:grid;gap:16px}@media(min-width:768px){.tm-work{grid-template-columns:minmax(280px,1fr) 340px;align-items:start}}
.tm-stage{display:grid;gap:8px}.tm-sides{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;align-items:center}.tm-sides .mvb{width:auto}.tm-sides select{min-height:48px;font-size:16px}
.tm-paper{position:relative;display:grid;place-items:center;padding:16px;border-radius:16px;background:var(--bg-2);border:1px solid var(--line-1)}.tm-paper>svg{display:block;width:min(100%,360px);height:auto;box-shadow:0 8px 24px var(--shadow-pop)}
.tm-ov{position:absolute;pointer-events:none}.tm-box{position:absolute;pointer-events:auto;background:transparent;border:1px dashed var(--info);border-radius:2px;padding:0;cursor:move;touch-action:none;min-width:24px;min-height:24px}.tm-box.on{border:2px solid var(--red-500);background:var(--red-halo)}
.tm-panel{display:grid;gap:10px;align-content:start}.tm-panel h3{font:700 16px var(--f-ui,Inter),sans-serif;margin:8px 0 0}.tm-panel label{display:grid;gap:4px;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2)}.tm-panel input:not([type=checkbox]):not([type=color]),.tm-panel select{min-height:48px;font-size:16px}.tm-panel input[type=color]{min-height:48px;width:100%}
.tm-themes{display:flex;flex-wrap:wrap;gap:8px}.tm-themes .mvb{width:auto;min-height:48px}.tm-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tm-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tm-layers{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:220px;overflow:auto}.tm-layers .mvb{width:100%;justify-content:flex-start;min-height:48px}.tm-layers .mvb.on,.tm-themes .mvb.on,.tm-modes .mvb.on,.tm-sides .mvb.on{border-color:var(--red-500);background:var(--red-900)}
.tm-issues{display:grid;gap:4px}.tm-issue{margin:0;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--warn)}.tm-issue.bad{color:var(--danger)}.tm-ok{margin:0;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--ok)}
.tm-vers{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}.tm-vers li{display:flex;justify-content:space-between;align-items:center;gap:8px}
.tm-work>*{min-width:0}.tm-panel input:not([type=checkbox]),.tm-panel select{width:100%;min-width:0;box-sizing:border-box}.tm-two>*{min-width:0}.tm-two label{display:grid}
.pr-new{display:grid;gap:12px}.pr-sel{display:grid;gap:4px;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2)}.pr-sel select{min-height:48px;font-size:16px}.pr-h{font:700 16px var(--f-ui,Inter),sans-serif;margin:16px 0 8px}
.pr-bar{height:8px;border-radius:99px;background:var(--bg-3);overflow:hidden}.pr-bar i{display:block;height:100%;background:var(--red-500);transition:width .3s}

.ah-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:12px}.ah-z{display:grid;gap:2px;text-align:left;min-height:48px;cursor:pointer}.ah-z.on{border-color:var(--red-500)}.ah-n{font:700 28px var(--f-ui,Inter),sans-serif;color:var(--txt-1)}
.ah-f{display:grid;gap:8px;margin-bottom:12px}.ah-f label{display:grid;gap:4px;font:600 14px var(--f-ui,Inter),sans-serif;color:var(--txt-2)}
.rq-tabs{margin-bottom:12px}.rq-all{margin:0 0 8px}.rq-qr{display:grid;place-items:center;min-height:240px;background:var(--surface);border-radius:16px;padding:12px}.rq-qr img{width:min(100%,260px);height:auto} /* da-ok : le QR code doit rester noir sur blanc pour être lu */

/* ProTopbar sur mobile : 56 px, menu en tiroir plein écran sous la barre, seuls menu, logo, aide, notifications et avatar restent visibles. */
@media(max-width:900px){
html body .bo.pro .ax-side{top:var(--pt-top);height:calc(100dvh - var(--pt-top));width:100%;max-width:none;z-index:var(--z-drawer)}
html body .bo.pro .ax-bg{top:var(--pt-top);z-index:calc(var(--z-drawer) - 1)}
html body .bo.pro .ax-wrap{margin-left:0}
html body .bo .pt{gap:8px;padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}
html body .bo .pt .pt-site,html body .bo .pt .pt-seg,html body .bo .pt .pt-nm,html body .bo .pt .pt-chev{display:none}
html body .bo .pt .pt-logo img{height:24px}html body .bo .pt .pt-badge{height:20px;padding:0 6px;font-size:12px}
html body .bo .pt button.mvb.pt-me{padding:0;width:44px;height:44px;justify-content:center;border-radius:50%}
html body .bo .pt .pt-r{gap:8px}
html body .bo .pt .bo-drop{position:fixed;top:calc(var(--pt-top) + 4px);right:8px;left:auto}
html body .bo.pro .pt .bo-drop .bo-item.pt-mob{display:flex!important}
html body .bo.pro .pt .bo-drop .bo-item.pt-mob[hidden]{display:none!important}
/* menu utilisateur ouvert : la barre d'onglets du bas s'efface (comme pour le tiroir) pour ne pas masquer Déconnexion */
html body:has(.pt .bo-drop.open) .bo-tabbar{visibility:hidden}
html body .bo .pt .pt-bell{position:static}html body .bo .pt .pt-bell .bo-drop{left:8px;right:8px;width:auto!important}
html body .bo .pt .pt-ib,html body .bo .pt button.mvb.pt-ib{width:44px;height:44px;min-height:0}
html body .bo.pro .bo-main{padding-top:16px!important}
html body .evh-mini{left:0;padding:0 16px}
}
@media(max-width:340px){html body .bo .pt .pt-logo img{height:20px}}

/* --- passe mobile : cartes KPI compactes, tableaux empilés sans débordement, boutons Mollie --- */
@media(max-width:768px){
html body .ds-grid>.ds-stat.c-3,html body .ds-stat{min-height:0!important;padding:12px!important;gap:4px!important}
html body .ds-stat .ds-lab{font-size:13px;line-height:1.25;min-height:0}
html body .ds-stat .ds-num{font-size:22px!important}
html body .ds-stat .ui-spark,html body .ds-stat .ds-sp svg{height:26px!important;max-height:26px;margin-top:2px}
html body .ds-stat .ds-sub{font-size:12px;gap:4px}
html body .ds-tbl,html body .ds-tbl-card .ds-tbl,html body .vf-flat .ds-tbl{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;max-width:100%}
html body .ds-t,html body .ds-t tbody,html body .ds-t tr{width:100%;max-width:100%;min-width:0;margin:0}
html body .ds-t tr{padding:12px 0}
html body .ds-t td,html body .ds-t td:first-child{padding:6px 0!important;min-width:0;max-width:100%;overflow-wrap:anywhere}
html body .ds-t td::before{flex:none;max-width:40%}
html body .ds-t td:has(.bk-ln){flex-direction:column;align-items:flex-start;text-align:left}
html body .ds-t td:has(.bk-ln)::before{display:none}
html body .ds-t td:last-child{justify-content:flex-start;flex-wrap:wrap;gap:8px}
html body .ds-t td:last-child::before{display:none}
html body .bk-ma{width:100%;flex-direction:column;align-items:stretch}
html body .bk-ma .mvb{width:100%;flex:none;white-space:normal;justify-content:center}
html body .bk-ml p{min-width:0}
}

/* --- passe mobile site public : onglet actif lisible, pied de page compact, espace sous les tarifs --- */
@media(max-width:1000px){
html body .tabbar a.tb.on span,html body .tabbar a.on span,html body .tabbar a.tb.on{color:var(--ink-900)!important}
html body .tabbar a.on svg,html body .tabbar a.tb.on svg{color:var(--ink-900)!important;stroke:currentColor}
html body .tabbar a.tb.on{background:var(--bg-hover)}
html body .foot .fcols>:first-child{grid-column:1/-1}
html body .foot a.fl{margin:0;padding:0;min-height:44px}
html body .foot .fcols h4,html body .foot .fcols .fh{margin:0 0 4px}
html body .foot .legal{gap:0 14px;font-size:13px;line-height:1.3}
html body .foot .legal a{min-height:44px}
html body .tx-wrap{padding-bottom:8px}
html body .chat-fab{width:44px;height:44px;opacity:.92}
}
