/* ✦ [EAU 30/11/2026] Maha : « pose ça en style eau, tout le template ». Feuille commune Thérapia (app, fiches, salle, /cal/).
   Socle = skill style-buee (eau, buée qu'on essuie, verre). Les couches d'eau sont posées par /js/buee.js en z-index -1 :
   elles restent DERRIÈRE tout, donc jamais sur la caméra. Préfixe html:not(#eau) : passe devant les thèmes (data-theme).
   Dans Giri Pro (html.dans-cabinet), la tenue du Cabinet garde la main : rien ici ne s'y applique. */
html:not(#eau):not(.dans-cabinet){
  --b-fond:#06121c;--b-texte:#f6f9fb;--b-doux:#d2dde6;--b-pale:#b4c6d4;--b-or:#f0cd84;
  --b-verre:rgba(14,32,48,.58);--b-verre-fort:rgba(10,24,38,.80);--b-fil:rgba(255,255,255,.20);
  --b-or-poli:linear-gradient(100deg,#c79242 0%,#f8e2a6 22%,#fff8e0 34%,#f0cd84 48%,#c79242 70%,#f8e2a6 100%);
  --b-lingot:linear-gradient(180deg,#fbe7b4,#e4b866 55%,#c79242);
  /* palette Thérapia (mêmes variables que les thèmes) */
  --clair:#06121c;--or:#e4b866;--or-vif:#f0cd84;--or-lum:#fbe7b4;--or-profond:#f0cd84;--or-texte:#f0cd84;
  --encre:#f6f9fb;--texte:#e6eef4;--doux:#c3d2de;--titre:#f6f9fb;
  --carte:rgba(14,32,48,.58);--carte-2:rgba(16,36,54,.62);--tiede:rgba(255,255,255,.07);--tiede-2:rgba(255,255,255,.11);--survol:rgba(255,255,255,.12);
  --nav-1:rgba(8,22,34,.55);--nav-2:rgba(8,22,34,.66);
  --bord:rgba(255,255,255,.20);--bord-doux:rgba(255,255,255,.10);--bord-or:rgba(255,255,255,.16);--bord-or-fort:rgba(240,205,132,.45);
  --lueur-1:transparent;--lueur-2:transparent;--sur-or:#22180a;--puce:rgba(255,255,255,.10);--halo:rgba(220,170,80,.30);
  --ombre:0 18px 50px rgba(0,8,20,.45);--focus:rgba(159,240,201,.30);
  --ok-f:rgba(90,210,160,.15);--ok-t:#9ff0c9;--err-f:rgba(255,120,100,.15);--err-t:#ffb4a2;
  --att-f:rgba(240,205,132,.14);--att-t:#f3d79a;--run-f:rgba(240,205,132,.16);--rubis:#d9604f;
  /* pages du calendrier (giri-rdv, choisir, offre, réserver) */
  --fond:transparent;--or2:#f0cd84;--filet:rgba(255,255,255,.20);--ok:#9ff0c9;
  color-scheme:dark;background:#06121c;color:#f6f9fb;
}
html:not(#eau):not(.dans-cabinet) body{background:transparent!important;color:var(--texte);font-family:Inter,system-ui,'Segoe UI',sans-serif;font-size:1.19rem;line-height:1.6;-webkit-font-smoothing:antialiased}

/* ── l'eau (couches de buee.js) : derrière tout le contenu ── */
.b-eau{position:fixed;inset:-10%;z-index:-1;pointer-events:none;background:
 radial-gradient(40% 35% at 20% 25%,rgba(64,170,200,.55),transparent 70%),radial-gradient(35% 40% at 80% 20%,rgba(90,120,220,.45),transparent 70%),
 radial-gradient(45% 40% at 70% 80%,rgba(30,150,150,.50),transparent 70%),radial-gradient(30% 30% at 15% 85%,rgba(120,90,200,.35),transparent 70%),
 linear-gradient(160deg,#0a2236 0%,#06121c 55%,#081a24 100%);animation:b-derive 38s ease-in-out infinite alternate}
@keyframes b-derive{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-3%,2%,0) scale(1.06)}100%{transform:translate3d(2%,-2%,0) scale(1.03)}}
.b-caustique{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.22;mix-blend-mode:screen;
 background:repeating-radial-gradient(circle at 30% 40%,transparent 0 22px,rgba(160,230,255,.10) 23px 25px,transparent 26px 48px);filter:url(#b-ondule);animation:b-derive 26s ease-in-out infinite alternate-reverse}
#b-buee{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.26}
html.dans-cabinet .b-eau,html.dans-cabinet .b-caustique,html.dans-cabinet #b-buee,html.encadre #b-buee{display:none}
#poussiere{display:none}
.b-onde{position:absolute;border-radius:50%;pointer-events:none;border:2px solid rgba(255,255,255,.55);transform:translate(-50%,-50%) scale(0);animation:b-onde .7s ease-out forwards}
@keyframes b-onde{to{transform:translate(-50%,-50%) scale(1);opacity:0}}

/* ── le verre ── */
html:not(#eau):not(.dans-cabinet) :is(.card,.item,.heros,.chiffres,.vide-bloc,.guide,.carte,.consent-carte,.gp-carte,.gs,.gp-fond .gp,.theme-c,.plus .menu,.nav .compte-menu){
  background:var(--b-verre);border:0;-webkit-backdrop-filter:blur(22px) saturate(165%);backdrop-filter:blur(22px) saturate(165%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 0 0 1px var(--b-fil),inset 0 -1px 0 rgba(0,0,0,.25),0 18px 50px rgba(0,8,20,.42);
  color:var(--texte);text-shadow:0 1px 2px rgba(0,10,20,.3)}
html:not(#eau):not(.dans-cabinet) :is(.consent-carte,.gp-carte,.gs,.gp-fond .gp,.modal-bg .card){background:rgba(12,30,46,.70)}
html:not(#eau):not(.dans-cabinet) :is(.plus .menu,.nav .compte-menu,.vg-bulle,.vg-invit){background:var(--b-verre-fort)}
html:not(#eau):not(.dans-cabinet) :is(.vg-bulle,.vg-invit){background:rgba(10,24,38,.94);color:#f6f9fb;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html:not(#eau):not(.dans-cabinet) .item:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 0 0 1px rgba(240,205,132,.45),0 18px 50px rgba(0,8,20,.45)}
html:not(#eau):not(.dans-cabinet) .heros::before{display:none}
html:not(#eau):not(.dans-cabinet) :is(h1,h2,h3){color:var(--b-texte)}
html:not(#eau):not(.dans-cabinet) :is(h1 b,h1 em,h2 b){background:var(--b-or-poli);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
html:not(#eau):not(.dans-cabinet) a:not(.btn):not(.lien):not(.go):not(.gp-btn):not(.g-google){color:#f3d79a}
html:not(#eau):not(.dans-cabinet) :is(.muted,label,.item .meta,.sect>.aide,.tete .jour,.heros .detail,.chiffres span,.vide-bloc p){color:var(--doux);font-size:max(1.02rem,1em)}
html:not(#eau):not(.dans-cabinet) .muted{font-size:1.05rem}
html:not(#eau):not(.dans-cabinet) .item .nom{font-size:1.12rem}

/* ── boutons : lingot d'or (texte foncé, toujours) et bulle de verre ── */
html:not(#eau):not(.dans-cabinet) :is(.btn:not(.ghost):not(.danger):not(.discret),.nav .nav-cta,.c-oui,.gp-btn:not(.discret),.gs .gs-go,.gp-fond .gp-go,.go,.onglet.actif,.nav .compte-av){
  background:var(--b-lingot);color:#22180a;border:0;text-shadow:none;box-shadow:inset 0 1px 0 #fff6dc,0 8px 24px rgba(220,170,80,.30)}
html:not(#eau):not(.dans-cabinet) :is(.btn.ghost,.btn.discret,.c-non,.gp-btn.discret,.gs .gs-b,.onglet,.puce,.gs .gs-p){
  background:rgba(255,255,255,.10);color:var(--b-texte);border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.30),inset 0 0 0 1px rgba(255,255,255,.18);text-shadow:none}
html:not(#eau):not(.dans-cabinet) :is(.btn.ghost,.btn.discret,.c-non,.gp-btn.discret,.gs .gs-b,.onglet,.puce,.gs .gs-p):hover{background:rgba(255,255,255,.18)}
html:not(#eau):not(.dans-cabinet) :is(.puce[aria-pressed=true],.gs .gs-p[aria-pressed=true]){background:var(--b-lingot);color:#22180a;box-shadow:inset 0 1px 0 #fff6dc}
html:not(#eau):not(.dans-cabinet) .puce[aria-pressed=true] small{color:#4a3510}
html:not(#eau):not(.dans-cabinet) :is(.btn,.go,.gs-go,.gp-go,.c-oui):disabled{opacity:.5}
html:not(#eau):not(.dans-cabinet) .btn.danger{background:linear-gradient(180deg,#e47b6c,#b9483a);color:#fff}

/* ── formulaires ── */
html:not(#eau):not(.dans-cabinet) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){
  background:rgba(4,16,26,.45);color:var(--b-texte);border:1px solid rgba(255,255,255,.24);border-radius:12px;font-size:max(1.05rem,16px)}
html:not(#eau):not(.dans-cabinet) :is(input,textarea)::placeholder{color:#93a9ba}
html:not(#eau):not(.dans-cabinet) :is(input,select,textarea):focus{outline:none;border-color:#9ff0c9;box-shadow:0 0 0 3px rgba(159,240,201,.25)}
html:not(#eau):not(.dans-cabinet) select option{background:#0c2131;color:#f6f9fb}
html:not(#eau):not(.dans-cabinet) input[type=checkbox]{accent-color:#e4b866}

/* ── navigation ── */
html:not(#eau):not(.dans-cabinet) .nav{background:rgba(6,18,28,.42);border-color:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%)}
html:not(#eau):not(.dans-cabinet) .nav :is(a.lien,button.lien){color:var(--b-doux)}
html:not(#eau):not(.dans-cabinet) .nav :is(a.lien,button.lien):hover{background:rgba(255,255,255,.10);color:#fff}
html:not(#eau):not(.dans-cabinet) .nav a.lien.actif{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 3px 0 0 #f0cd84}
html:not(#eau):not(.dans-cabinet) .nav :is(.marque,.qui){color:var(--b-texte)}
@media (max-width:900px){   /* règle buée n°4 : un parent flouté retient ses enfants fixes (sous-menu du compte) */
  html:not(#eau):not(.dans-cabinet) .nav{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(8,22,34,.92)}
  html:not(#eau):not(.dans-cabinet) .nav .bas{background:linear-gradient(90deg,transparent,rgba(8,22,34,.98) 10px);box-shadow:14px 0 0 rgba(8,22,34,.98)}
  html:not(#eau):not(.dans-cabinet) .nav a.lien.actif{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -3px 0 #f0cd84}
}
html:not(#eau):not(.dans-cabinet) .modal-bg{background:rgba(2,10,18,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html:not(#eau):not(.dans-cabinet) :is(.pill.live,.pill.planned){color:#f3d79a}

/* ═══ LA SALLE (seance.html) ═══ */
html:not(#eau) .salle{background:transparent}
html:not(#eau) .salle .topbar{background:rgba(6,18,28,.45);border-bottom:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(22px) saturate(165%);backdrop-filter:blur(22px) saturate(165%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
html:not(#eau) .salle .topbar :is(.brand,.titre){color:#f6f9fb}
html:not(#eau) .salle .topbar .titre{font-size:1.35rem}
html:not(#eau) .salle :is(.timer){color:#f3d79a;font-size:1.05rem}
html:not(#eau) .salle .conn-state{color:#c3d2de;font-size:.95rem}
html:not(#eau) .salle .attente{background:transparent;color:#f6f9fb;text-shadow:0 2px 14px rgba(0,12,24,.75)}
html:not(#eau) .salle .attente h2{color:#f6f9fb;font-size:2rem;text-align:center;padding:0 16px}
html:not(#eau) .salle #attenteSousTitre{color:#d2dde6!important;font-size:1.19rem}
html:not(#eau) .salle #remoteVideo{background:transparent}
html:not(#eau) .salle .videos::after{box-shadow:inset 0 0 120px rgba(0,8,20,.35)}
html:not(#eau) .salle #localVideo{border:1px solid rgba(255,255,255,.4);box-shadow:0 10px 30px rgba(0,8,20,.5)}
html:not(#eau) .salle #cadreMoi .poignee{border-color:#f0cd84}
html:not(#eau) .salle :is(.nom-overlay,.nom-local,.moi-pastille,#cadreMoi .moi-reduire,.bandeau-rec,.bandeau-screen){background:rgba(6,18,28,.62);color:#f6f9fb;border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html:not(#eau) .salle .nom-overlay{font-size:1.02rem}
html:not(#eau) .salle .bandeau-consent{font-size:1rem}
html:not(#eau) .salle .tb-dock{background:rgba(10,26,40,.55);border:0;-webkit-backdrop-filter:blur(22px) saturate(165%);backdrop-filter:blur(22px) saturate(165%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 0 0 1px rgba(255,255,255,.18),0 18px 50px rgba(0,8,20,.45)}
html:not(#eau) .salle .tb-btn:not(.hang){background:rgba(255,255,255,.12);color:#f6f9fb;border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.16)}
html:not(#eau) .salle .tb-btn:not(.hang):hover{background:rgba(255,255,255,.2)}
html:not(#eau) .salle .tb-btn.off{background:rgba(255,140,120,.22);color:#ffd2c8}
html:not(#eau) .salle .tb-btn.active{background:var(--b-lingot);color:#22180a}
html:not(#eau) .salle .tb-wrap span{color:#d2dde6;font-size:.8rem}
html:not(#eau) .salle .tb-sep{background:linear-gradient(180deg,transparent,rgba(255,255,255,.28),transparent)}
html:not(#eau) .salle #btnGiriProposer{color:#f0cd84!important}
/* consentement */
html:not(#eau) .salle .consent{background:rgba(4,14,24,.30)}
html:not(#eau) .consent-carte .orbe-c{filter:drop-shadow(0 0 18px rgba(240,205,132,.45))}
html:not(#eau) .consent-carte h2{font-family:'Cormorant Garamond',Georgia,serif;color:#f6f9fb;font-size:2.3rem}
html:not(#eau) .c-intro{color:#e6eef4;font-size:1.19rem}
html:not(#eau) .c-intro strong,html:not(#eau) .c-liste b{color:#f3d79a}
html:not(#eau) .c-liste li{color:#e6eef4;font-size:1.19rem;border-left-color:rgba(240,205,132,.5)}
html:not(#eau) .c-liste b{font-size:1.08rem}
html:not(#eau) .c-mail{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16)}
html:not(#eau) .c-mail label{color:#f6f9fb;font-size:1.08rem}
html:not(#eau) :is(.c-mail-note,.c-note){color:#c3d2de;font-size:1rem}
html:not(#eau) .c-case{background:rgba(240,205,132,.12);border:1px solid rgba(240,205,132,.4)}
html:not(#eau) .c-case span{color:#f6f9fb;font-size:1.12rem}
html:not(#eau) .c-pied{background:rgba(10,24,38,.96);box-shadow:0 -14px 26px rgba(10,24,38,.9)}
html:not(#eau) .c-btn{font-size:1.08rem;border-radius:999px}
/* préparation caméra/micro (salle-prepa.js) */
html:not(#eau) .gp:not(.gp-fond .gp){background:rgba(6,18,28,.42);-webkit-backdrop-filter:blur(26px) saturate(150%);backdrop-filter:blur(26px) saturate(150%);color:#f6f9fb}
html:not(#eau) .gp-carte .gp-orbe{filter:drop-shadow(0 0 18px rgba(240,205,132,.45))}
html:not(#eau) .gp:not(.gp-fond .gp) h2{color:#f6f9fb;font-size:2.1rem}
html:not(#eau) .gp .gp-sous{color:#d2dde6;font-size:1.19rem}
html:not(#eau) .gp-pas li{color:#c3d2de;font-size:1.12rem}
html:not(#eau) .gp-pas li.ici{color:#fff}
html:not(#eau) .gp-pas li.fait{color:#d2dde6}
html:not(#eau) .gp-pas b{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
html:not(#eau) .gp-pas li.ici b{background:var(--b-lingot);color:#22180a}
html:not(#eau) .gp-pas li.fait b{background:#9ff0c9;color:#06221a}
html:not(#eau) .gp-btn{font-size:1.12rem;border-radius:999px;padding:16px 18px}
html:not(#eau) .gp-note{color:#c3d2de;font-size:1rem}
html:not(#eau) .gp-alerte{background:rgba(240,205,132,.10);border:1px solid rgba(240,205,132,.35);color:#f6f9fb;font-size:1.08rem}
html:not(#eau) .gp-video{border:1px solid rgba(255,255,255,.3);box-shadow:0 10px 30px rgba(0,8,20,.4)}
html:not(#eau) .gp-son{color:#d2dde6;font-size:1.08rem}
html:not(#eau) .gp-barre{background:rgba(255,255,255,.12);height:12px}
html:not(#eau) .gp-barre i{background:linear-gradient(90deg,#9ff0c9,#f0cd84)}
html:not(#eau) .gp-ok{color:#9ff0c9}
html:not(#eau) .gp-fleche{color:#f0cd84}
/* paiement (giri-paiement.js) : même nom « .gp » que la préparation → on lui rend sa forme de pop-up */
html:not(#eau) .gp-fond{background:rgba(2,10,18,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html:not(#eau) .gp-fond .gp{position:static;inset:auto;display:block;overflow:auto;padding:24px 22px;max-width:460px;border-radius:24px;font:1.12rem/1.55 Inter,system-ui,sans-serif;z-index:auto}
html:not(#eau) .gp-fond .gp h3{font:600 1.8rem/1.2 'Cormorant Garamond',Georgia,serif;color:#f6f9fb}
html:not(#eau) .gp-fond .gp .gp-m{color:#c3d2de;font-size:1rem}
html:not(#eau) .gp-fond .gp-go{font-size:1.12rem}
html:not(#eau) .gp-fond .gp-non{color:#d2dde6}
html:not(#eau) .gp-fond .gp-err{color:#ffb4a2}
/* « Proposer la suite » (giri-salle.js) */
html:not(#eau) .gs-fond{background:rgba(2,10,18,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html:not(#eau) .gs-fond .gs{border-radius:24px;font-size:1.1rem}
html:not(#eau) .gs-fond .gs h3{font:600 1.8rem/1.2 'Cormorant Garamond',Georgia,serif;color:#f6f9fb}
html:not(#eau) .gs-fond .gs :is(.gs-m,p){color:#d2dde6;font-size:1.02rem}
html:not(#eau) .gs-fond .gs .gs-p{font-size:1.02rem}
html:not(#eau) .gs-fond .gs .gs-non{color:#d2dde6}
html:not(#eau) .gs-fond .gs .gs-err{color:#ffb4a2}
html:not(#eau) .gs-fond .gs input{background:rgba(4,16,26,.45)!important;color:#f6f9fb;border:1px solid rgba(255,255,255,.24)!important}
html:not(#eau) .gs-bandeau{background:rgba(10,24,38,.86);color:#f6f9fb;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:1.05rem}
/* réglages / enregistrements */
html:not(#eau) .dark-modal .card{background:var(--b-verre-fort);border:0;color:#f6f9fb}
html:not(#eau) .dark-modal h3{color:#f6f9fb;font-size:1.7rem}
html:not(#eau) .dark-modal label{color:#d2dde6;font-size:1.02rem}
html:not(#eau) .dark-modal select{background:rgba(4,16,26,.5);border-color:rgba(255,255,255,.24);font-size:1.02rem}
html:not(#eau) :is(.rec-mini-btn){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}

/* ═══ pages du calendrier (rendez-vous, choisir, offre, réserver) ═══ */
html:not(#eau):not(.dans-cabinet) :is(.recap){background:rgba(255,255,255,.08);color:#f6f9fb}
html:not(#eau):not(.dans-cabinet) .msg{color:#ffb4a2}
html:not(#eau):not(.dans-cabinet) :is(.sous,.vide,.mention){color:var(--doux)}
html:not(#eau):not(.dans-cabinet) .mention{font-size:1rem}
html:not(#eau):not(.dans-cabinet) .marque{color:#f3d79a}
html:not(#eau):not(.dans-cabinet) .ok h1{color:#9ff0c9}

@media (prefers-reduced-motion:reduce){.b-eau,.b-caustique,.b-onde{animation:none!important}}
@media (prefers-contrast:more){html:not(#eau) :is(.card,.item,.carte,.consent-carte,.gp-carte,.gs){background:rgba(6,16,26,.95)!important}#b-buee,.b-caustique{display:none}}
body:has(.modal-bg.open) .gs-pastille,body:has(.gs-fond) .gs-pastille{visibility:hidden}
/* téléphone : la barre du haut tient sur une ligne (logo seul, point de connexion sans texte) */
@media (max-width:560px){
  html:not(#eau) .salle .topbar{padding:10px 14px}
  html:not(#eau) .salle .topbar .brand{font-size:0;gap:0}
  html:not(#eau) .salle .topbar .brand .orbe{width:30px;height:30px}
  html:not(#eau) .salle #connLbl{display:none}
  html:not(#eau) .salle .topbar .titre{font-size:1.2rem}
  html:not(#eau) .salle .topbar .droite{gap:10px}
}
html:not(#eau) body>div[role="status"][style*="70px"]{background:rgba(10,24,38,.9)!important;color:#f6f9fb!important;border:1px solid rgba(255,255,255,.2)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}

/* ── [BARRE 30/11] La barre de la salle, refaite (Maha : « les boutons sont trop moches ») ─────────────
   Une goutte de verre posée sur l'eau : touches en galet (carré très arrondi), icône nette, mot lisible dessous,
   « Terminer » en pastille corail plus large. États : coupé = corail barré · actif = or. */
html:not(#eau) .salle .toolbar{background:transparent;border:0;padding:14px 16px calc(16px + env(safe-area-inset-bottom,0px))}
html:not(#eau) .salle .tb-dock{display:inline-flex;align-items:flex-start;gap:10px;padding:12px 14px 10px;border-radius:28px;
  background:linear-gradient(180deg,rgba(26,52,74,.62),rgba(8,24,38,.72));
  -webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),inset 0 0 0 1px rgba(255,255,255,.14),0 22px 60px rgba(0,8,20,.55),0 0 0 1px rgba(0,10,20,.35)}
html:not(#eau) .salle .tb-wrap{gap:7px;min-width:64px}
html:not(#eau) .salle .tb-wrap span{color:#e3ecf2;font:500 .82rem/1.15 Inter,system-ui,sans-serif;letter-spacing:.01em;text-align:center;max-width:92px}
html:not(#eau) .salle .tb-btn{position:relative;width:58px;height:58px;border-radius:20px;border:0;cursor:pointer;display:grid;place-items:center;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s,box-shadow .18s}
html:not(#eau) .salle .tb-btn svg{width:25px;height:25px;stroke-width:1.75}
html:not(#eau) .salle .tb-btn:not(.hang){color:#f6f9fb;
  background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.07));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(0,10,20,.25),inset 0 0 0 1px rgba(255,255,255,.14),0 6px 16px rgba(0,8,20,.35)}
html:not(#eau) .salle .tb-btn:not(.hang):hover{transform:translateY(-3px);
  background:linear-gradient(160deg,rgba(255,255,255,.3),rgba(255,255,255,.12));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 0 1px rgba(240,205,132,.55),0 12px 26px rgba(0,8,20,.45),0 0 22px rgba(240,205,132,.18)}
html:not(#eau) .salle .tb-btn:active{transform:translateY(0) scale(.95)}
html:not(#eau) .salle .tb-btn:focus-visible{outline:2px solid #f0cd84;outline-offset:3px}
/* coupé : corail + barre en travers de l'icône */
html:not(#eau) .salle .tb-btn.off{color:#ffe1da;background:linear-gradient(160deg,rgba(255,128,108,.5),rgba(190,60,48,.42));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 0 0 1px rgba(255,170,150,.4),0 6px 16px rgba(90,14,8,.4)}
html:not(#eau) .salle .tb-btn.off::after{content:"";position:absolute;left:50%;top:50%;width:34px;height:2.5px;border-radius:2px;background:#ffe1da;
  transform:translate(-50%,-50%) rotate(-42deg);box-shadow:0 0 0 2px rgba(150,40,30,.55)}
/* actif (partage d'écran…) : or, encre foncée */
html:not(#eau) .salle .tb-btn.active{color:#22180a;background:linear-gradient(170deg,#f8e2a6,#e2b65a 55%,#b98a2e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 20px rgba(120,80,10,.4),0 0 24px rgba(240,205,132,.3)}
html:not(#eau) .salle .tb-btn.rec-active{color:#fff;background:linear-gradient(160deg,#ff7d6b,#c93c2c);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 0 0 4px rgba(255,110,90,.22),0 8px 20px rgba(120,20,10,.45)}
/* terminer : pastille corail large, toujours identifiable */
html:not(#eau) .salle .tb-btn.hang{width:84px;border-radius:22px;color:#fff;
  background:linear-gradient(170deg,#ff8672,#e2503d 55%,#b9301f);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(90,10,4,.25),0 10px 24px rgba(150,30,18,.5)}
html:not(#eau) .salle .tb-btn.hang svg{width:28px;height:28px}
html:not(#eau) .salle .tb-btn.hang:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 32px rgba(170,36,22,.6),0 0 26px rgba(255,120,100,.3)}
html:not(#eau) .salle .tb-sep{align-self:center;width:1px;height:38px;margin:0 4px 20px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.3),transparent)}
@media (max-width:560px){
  html:not(#eau) .salle .toolbar{padding:8px 6px calc(10px + env(safe-area-inset-bottom,0px))}
  html:not(#eau) .salle .tb-dock{gap:7px;padding:9px 10px;border-radius:24px;max-width:100%}
  html:not(#eau) .salle .tb-wrap{min-width:0}
  html:not(#eau) .salle .tb-wrap span{display:none}
  html:not(#eau) .salle .tb-btn{width:50px;height:50px;border-radius:17px}
  html:not(#eau) .salle .tb-btn.hang{width:66px}
  html:not(#eau) .salle .tb-sep{margin:0 2px;height:30px}
}
@media (prefers-reduced-motion:reduce){html:not(#eau) .salle .tb-btn{transition:none}html:not(#eau) .salle .tb-btn:hover{transform:none}}

/* ── [PRÉSENCE 30/11] pastille « ton client est déjà dans la salle » (carte Séance ouverte + écran d'attente) ── */
.presence{display:inline-flex;align-items:center;gap:10px;margin:12px 0 0;padding:7px 15px;border-radius:999px;font:600 1rem/1.3 Inter,system-ui,sans-serif;
  color:#d2dde6;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);text-shadow:none}
.presence i{flex:none;width:11px;height:11px;border-radius:50%;background:#8fa3b3}
.presence.la{color:#b9f6d9;background:rgba(61,220,151,.15);box-shadow:inset 0 0 0 1px rgba(61,220,151,.5)}
.presence.la i{background:#3ddc97;animation:pres-pouls 1.8s ease-out infinite}
@keyframes pres-pouls{0%{box-shadow:0 0 0 0 rgba(61,220,151,.65)}75%,100%{box-shadow:0 0 0 11px rgba(61,220,151,0)}}
@media (prefers-reduced-motion:reduce){.presence.la i{animation:none}}
.attente .presence-salle{margin-top:18px}
/* renommer sur place (carte + liste) */
.nom-modifiable{cursor:text;border-bottom:1px dashed transparent;transition:border-color .15s}
.nom-modifiable:hover{border-bottom-color:rgba(240,205,132,.6)}
.crayon{background:none;border:0;padding:2px 6px;margin-left:4px;color:#f0cd84;font-size:1.05rem;cursor:pointer;opacity:.75;vertical-align:middle}
.crayon:hover,.crayon:focus-visible{opacity:1}
.a-nommer{color:#f0cd84;cursor:pointer;border-bottom:1px dashed rgba(240,205,132,.6)}
input.renommage{font:inherit;font-size:1.15rem;padding:6px 12px;width:min(100%,24ch);border-radius:12px;background:rgba(4,16,26,.6);color:#f6f9fb;border:1px solid #9ff0c9}
/* fenêtre du message */
#mc_texte{width:100%;min-height:9.5em;resize:vertical;line-height:1.55;padding:12px 14px;box-sizing:border-box}
#modalMessage .mc-ligne{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
#modalMessage .mc-modele{background:none;border:0;padding:0;color:#f0cd84;cursor:pointer;font:500 .98rem Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
#modalMessage .mc-etat{min-height:1.4em;margin:10px 0 0;color:#b9f6d9;font-size:1rem}
#modalMessage .mc-etat.err{color:#ffb4a2}

/* ── [FIL EN SÉANCE 30/11] panneau du Fil, côté praticien : pousse la vidéo, ne la couvre jamais ── */
:root{--fil-l:400px;--fil-h:55vh}
.fil-seance{position:fixed;top:0;right:0;bottom:0;width:var(--fil-l);z-index:40;display:none;flex-direction:column;color:#eef4f8;
  background:linear-gradient(180deg,rgba(16,36,54,.86),rgba(8,22,34,.92));-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);
  box-shadow:inset 1px 0 0 rgba(255,255,255,.18),-18px 0 50px rgba(0,8,20,.45);font:400 1.02rem/1.55 Inter,system-ui,sans-serif}
body.fil-ouvert .fil-seance{display:flex}
body.fil-ouvert .salle{margin-right:var(--fil-l)}
.fil-seance .fs-poignee{position:absolute;left:-5px;top:0;bottom:0;width:10px;cursor:ew-resize;touch-action:none}
.fil-seance .fs-poignee::after{content:"";position:absolute;left:3px;top:50%;width:4px;height:46px;margin-top:-23px;border-radius:3px;background:rgba(255,255,255,.28)}
.fil-seance header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 20px 12px;border-bottom:1px solid rgba(255,255,255,.12)}
.fil-seance .fs-sur{font:700 .78rem Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#f0cd84}
.fil-seance h3{margin:2px 0 0;font:600 1.6rem/1.15 'Cormorant Garamond',Georgia,serif;color:#f6f9fb}
.fil-seance .fs-fermer{background:rgba(255,255,255,.1);border:0;color:#f6f9fb;width:38px;height:38px;border-radius:12px;font-size:1rem;cursor:pointer;flex:none}
.fil-seance .fs-corps{overflow-y:auto;padding:6px 20px 28px;scrollbar-width:thin!important}
.fil-seance .fs-bloc{margin-top:16px}
.fil-seance h4{margin:0 0 6px;font:700 .82rem Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#f0cd84}
.fil-seance h4 small{font-weight:500;letter-spacing:0;text-transform:none;color:#9ff0c9}
.fil-seance h5{margin:12px 0 4px;font:600 .95rem Inter,sans-serif;color:#d2dde6}
.fil-seance p{margin:0;color:#e3ecf2}
.fil-seance ul{margin:0;padding-left:18px}.fil-seance li{margin:5px 0;color:#e3ecf2}
.fil-seance .fs-angles{padding:12px 14px 12px 16px;border-radius:14px;background:rgba(240,205,132,.12);box-shadow:inset 3px 0 0 #f0cd84,inset 0 0 0 1px rgba(240,205,132,.3)}
.fil-seance .fs-angles li{color:#fbeacb}
.fil-seance .fs-theme{padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.fil-seance .fs-t{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fil-seance .fs-traj{display:inline-flex;align-items:center;gap:6px;font-size:.88rem;color:#d2dde6;white-space:nowrap}
.fil-seance .fs-traj i{width:9px;height:9px;border-radius:50%;background:#9fb3c2}
.fil-seance .fs-traj.nv i{background:#7cc4ff}.fil-seance .fs-traj.up i{background:#ff8a73}.fil-seance .fs-traj.st i{background:#f0cd84}.fil-seance .fs-traj.down i{background:#3ddc97}
.fil-seance blockquote{margin:6px 0 0;padding-left:12px;border-left:2px solid rgba(240,205,132,.45);font-style:italic;color:#d2dde6}
.fil-seance .fs-vide{margin-top:16px;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.07)}
.fil-seance textarea{width:100%;box-sizing:border-box;min-height:8em;resize:vertical;padding:10px 12px;border-radius:12px;background:rgba(4,16,26,.55);color:#f6f9fb;border:1px solid rgba(255,255,255,.24);font:400 1rem/1.5 Inter,sans-serif}
@media (max-width:760px){
  .fil-seance{top:auto;left:0;width:auto;height:var(--fil-h);border-radius:22px 22px 0 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 -18px 50px rgba(0,8,20,.5)}
  body.fil-ouvert .salle{margin-right:0;height:calc(100vh - var(--fil-h));height:calc(100dvh - var(--fil-h))}
  .fil-seance .fs-poignee{left:0;right:0;top:-4px;bottom:auto;width:auto;height:26px;cursor:ns-resize}
  .fil-seance .fs-poignee::after{left:50%;top:9px;width:46px;height:5px;margin:0 0 0 -23px}
  :root{--fil-h:46vh}
  body.fil-ouvert .salle .attente{gap:8px}
  body.fil-ouvert .salle .attente .orbe{display:none}
  html:not(#eau) body.fil-ouvert .salle .attente h2{font-size:1.35rem}
  body.fil-ouvert .salle .bandeau-rec{width:calc(100% - 24px);box-sizing:border-box;text-align:center;justify-content:center;font-size:.85rem;border-radius:14px}
}
/* [FIL EN SÉANCE 30/11] téléphone : la barre du praticien (7 touches) tient dans 390 px — « écran » retiré (aucun téléphone ne partage son écran depuis le navigateur) */
@media (max-width:560px){
  html:not(#eau) .salle .tb-dock:has(#btnFil){gap:5px;padding:8px}
  html:not(#eau) .salle .tb-dock:has(#btnFil) .tb-wrap:has(#btnScreen){display:none}
  html:not(#eau) .salle .tb-dock:has(#btnFil) .tb-btn{width:42px;height:46px;border-radius:15px}
  html:not(#eau) .salle .tb-dock:has(#btnFil) .tb-btn svg{width:22px;height:22px}
  html:not(#eau) .salle .tb-dock:has(#btnFil) .tb-btn.hang{width:56px}
}

/* ── [DIRECT 30/11] l'assistant en direct, en haut du Fil (praticien seulement) ── */
.fil-seance .fs-direct{margin-top:16px;padding:14px 16px;border-radius:16px;background:rgba(124,196,255,.09);box-shadow:inset 0 0 0 1px rgba(124,196,255,.28)}
.fil-seance .fd-tete{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fil-seance .fd-tete h4{margin:0}
.fil-seance .fd-pastille{display:inline-flex;align-items:center;gap:7px;font-size:.92rem;color:#d2dde6;white-space:nowrap}
.fil-seance .fd-pastille i{width:10px;height:10px;border-radius:50%;background:#9fb3c2}
.fil-seance .fd-pastille.on{color:#b9f6d9}
.fil-seance .fd-pastille.on i{background:#3ddc97;box-shadow:0 0 0 0 rgba(61,220,151,.6);animation:fdPouls 1.8s ease-out infinite}
@keyframes fdPouls{to{box-shadow:0 0 0 9px rgba(61,220,151,0)}}
@media (prefers-reduced-motion:reduce){.fil-seance .fd-pastille.on i{animation:none}}
.fil-seance .fd-maj{margin:4px 0 0;font-size:.9rem;color:#a9bccb}
.fil-seance .fd-bloc{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.1)}
.fil-seance .fd-bloc h5{margin:0 0 4px;color:#f0cd84}
.fil-seance .fd-bloc h5 small{font-weight:500;color:#a9bccb}
.fil-seance .fd-reson{margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(240,205,132,.12);box-shadow:inset 3px 0 0 #f0cd84}
.fil-seance .fd-reson b,.fil-seance .fd-question b{display:block;font:700 .78rem Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#f0cd84;margin-bottom:2px}
.fil-seance .fd-reson li{color:#fbeacb}
.fil-seance .fd-question{margin-top:10px;font-style:italic;color:#f6f9fb}
.fil-seance .fd-attente{margin-top:10px;color:#c9d6e0;font-size:.95rem}
.fil-seance .fd-tr{margin-top:12px}
.fil-seance .fd-tr summary{cursor:pointer;color:#d2dde6;font-weight:600}
.fil-seance .fd-flux{margin-top:8px;max-height:13em;overflow-y:auto;padding:10px 12px;border-radius:12px;background:rgba(4,16,26,.5);color:#e3ecf2;font-size:.98rem;line-height:1.55;scrollbar-width:thin!important}
#btnFil.fd-ecoute{position:relative}
#btnFil.fd-ecoute::after{content:"";position:absolute;top:7px;right:7px;width:9px;height:9px;border-radius:50%;background:#3ddc97;box-shadow:0 0 0 2px rgba(8,22,34,.8)}
