/* ONGLET MENTORAT (01/11/2026) : styles du module public/mentorat/mentorat.js. Uniquement les variables de theme du
   hub (--bg, --surface, --surface2, --border, --gold, --gold-light, --text, --muted, --green, --red) : les trois
   themes (clair, sombre, Momentum) suivent sans regle de plus. Tout est prefixe .mt- pour ne rien toucher ailleurs. */
#mentoratRacine{max-width:1120px;margin:0 auto;padding:8px 0 40px}
.mt-hero{margin:6px 0 18px}
.mt-sur,.mt-label{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--gold);margin:0 0 8px}
.mt-hero h2{font-size:clamp(1.6rem,4vw,2.2rem);margin:0 0 6px;color:var(--text)}
.mt-desc{color:var(--muted);margin:0;font-size:.94rem}
.mt-etat{color:var(--muted);padding:24px 0}
.mt-muet{color:var(--muted)}
.mt-petit{font-size:.8rem}
.mt-mono{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:.82rem}
.mt-sous{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 18px;padding-bottom:2px}
.mt-sous::-webkit-scrollbar{display:none}
.mt-sous button{flex:none;font:inherit;font-size:.86rem;font-weight:700;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:8px 15px;min-height:38px;cursor:pointer}
.mt-sous button[aria-selected="true"]{color:var(--text);border-color:var(--gold)}
.mt-grille{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.mt-grille-lecteur{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
@media (max-width:900px){.mt-grille,.mt-grille-lecteur{grid-template-columns:minmax(0,1fr)}}
.mt-carte{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;margin:0 0 16px;min-width:0}
.mt-carte h3{font-size:1.12rem;line-height:1.35;margin:0 0 10px;color:var(--text)}
.mt-carte p{line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere}
.mt-centre{text-align:center}
.mt-quand{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:4px 0 6px}
.mt-jour{font-weight:700}
.mt-jour::first-letter{text-transform:uppercase}
.mt-heure{font-size:1.6rem;font-weight:800;color:var(--gold)}
.mt-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 6px}
.mt-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:.88rem;font-weight:700;color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:999px;padding:9px 16px;min-height:40px;cursor:pointer;text-decoration:none}
.mt-btn:hover{border-color:var(--gold)}
.mt-btn.or{background:var(--gold);border-color:var(--gold);color:#09090B}
:root[data-theme="light"] .mt-btn.or{color:#FFFFFF}
.mt-btn:disabled{opacity:.55;cursor:default}
.mt-mini{min-height:32px;padding:5px 11px;font-size:.78rem}
.mt-champ{width:100%;box-sizing:border-box;font:inherit;font-size:.92rem;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin:4px 0 10px;resize:vertical}
.mt-champ:focus{outline:none;border-color:var(--gold)}
/* Audit du 02/11 : un champ qui a le focus se voit au clavier (le seul changement de couleur du bord ne suffisait pas). */
.mt-champ:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.mt-msg{font-size:.84rem;color:var(--green);margin:6px 0 0;min-height:1em}
.mt-msg-err{color:var(--red)}
.mt-ia{font-size:.76rem;color:var(--muted);border-left:2px solid var(--gold);padding-left:9px;margin:12px 0 0}
.mt-ligne{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;text-align:left;font:inherit;color:var(--text);background:none;border:0;border-top:1px solid var(--border);padding:12px 2px;cursor:pointer;text-decoration:none}
.mt-ligne:first-of-type{border-top:0}
.mt-ligne-fixe{cursor:default}
.mt-ligne-txt{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;overflow-wrap:anywhere}
.mt-pastille{flex:none;font-size:.72rem;font-weight:800;border-radius:999px;padding:3px 10px;border:1px solid var(--border);color:var(--muted);white-space:nowrap}
.mt-pastille.ok{color:var(--green);border-color:color-mix(in srgb,var(--green) 45%,transparent)}
.mt-pastille.or{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 50%,transparent)}
/* --accent-texte (audit du 02/11) : l'or clair mesurait 4,05:1 en clair et le violet 4,25:1 en Momentum. */
.mt-pastille.retour{color:var(--accent-texte,var(--gold));border-color:color-mix(in srgb,var(--accent-texte,var(--gold)) 55%,transparent)}
.mt-pastille.rendu{color:var(--text)}
p.mt-pastille{display:inline-block}
.mt-cal{flex:none;width:46px;text-align:center;border:1px solid var(--border);border-radius:10px;padding:4px 0;display:flex;flex-direction:column}
.mt-cal small{font-size:.62rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.mt-cal b{font-size:1.1rem}
.mt-retour{font:inherit;font-size:.86rem;font-weight:700;color:var(--muted);background:none;border:0;padding:4px 0 12px;cursor:pointer}
.mt-bandeau{background:color-mix(in srgb,var(--gold) 12%,transparent);border:1px solid color-mix(in srgb,var(--gold) 40%,transparent);border-radius:12px;padding:10px 14px;font-size:.88rem}
.mt-lecteur video{width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;display:block;margin:0 0 10px}
.mt-chapitres{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.mt-chap{display:flex;gap:12px;align-items:center;text-align:left;font:inherit;font-size:.88rem;color:var(--text);background:none;border:0;border-radius:8px;padding:7px 8px;cursor:pointer}
.mt-chap:hover{background:var(--surface2)}
.mt-chap .mt-mono{color:var(--gold);min-width:64px}
.mt-liste{margin:0 0 12px;padding-left:20px;line-height:1.6}
.mt-liste li{margin-bottom:4px}
.mt-coches{list-style:none;padding-left:0}
.mt-coches li{padding-left:26px;position:relative}
.mt-coches li::before{content:"";position:absolute;left:4px;top:.45em;width:10px;height:6px;border-left:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(-45deg)}
.mt-q{border-top:1px solid var(--border);padding-top:10px;margin-top:10px}
.mt-q-txt{font-style:italic}
.mt-lien{font:inherit;color:var(--gold);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}
.mt-retour-elio{background:var(--surface2);border-radius:12px;padding:12px 14px;margin:8px 0 12px}
.mt-message{border-top:1px solid var(--border);padding:12px 0 2px}
.mt-message:first-of-type{border-top:0}
.mt-message.nouveau{border-left:3px solid var(--gold);padding-left:12px}
.mt-stat{margin:0 0 14px}
.mt-chiffre{margin:0}
.mt-chiffre b{font-size:1.6rem;color:var(--text)}
.mt-chiffre span{color:var(--muted)}
.mt-barre{height:6px;background:var(--surface2);border-radius:999px;overflow:hidden}
.mt-barre i{display:block;height:100%;background:var(--gold);border-radius:999px}
.mt-vitrine h3{font-size:1.3rem}
.mt-regie-ligne{flex-wrap:wrap}
.mt-mini-actions{display:flex;flex-wrap:wrap;gap:6px}
.mt-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 12px;border-top:1px solid var(--border);margin-top:12px;padding-top:14px}
.mt-form .mt-label,.mt-form button{grid-column:1/-1;justify-self:start}
.mt-champ-l{display:flex;flex-direction:column;min-width:0}
.mt-rendu{border-top:1px solid var(--border);padding:12px 0}
.mt-citation{background:var(--surface2);border-radius:10px;padding:10px 12px;white-space:pre-wrap}
.mt-fiche{width:100%;background:var(--surface2);border-radius:12px;padding:12px 14px;margin:0 0 8px;box-sizing:border-box}
/* Mon 1-1 (formule un-a-un) : l'or du hub, un cran plus marque que le reste de l'onglet. */
.mt-sous button.mt-sous-or{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 55%,transparent)}
.mt-sous button.mt-sous-or[aria-selected="true"]{color:#09090B;background:var(--gold);border-color:var(--gold)}
:root[data-theme="light"] .mt-sous button.mt-sous-or[aria-selected="true"]{color:#FFFFFF}
.mt-carte-or{border-color:color-mix(in srgb,var(--gold) 55%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--gold) 9%,var(--surface)) 0%,var(--surface) 55%)}
.mt-badge-11{display:inline-block;vertical-align:middle;margin-left:12px;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);border:1px solid var(--gold);border-radius:999px;padding:4px 10px}
.mt-badge-petit{margin-left:0;flex:none;font-size:.66rem;padding:2px 8px}
.mt-cal-or{border-color:var(--gold)}
.mt-cal-or b{color:var(--gold)}
.mt-plan li{margin-bottom:8px}
.mt-verrou .mt-label{color:var(--muted)}

/* ===== Reservation 1-1 integree (calendrier du Siege, 01/11/2026) ===== */
.mt-resa{margin:0 0 16px}
.mt-resa[hidden]{display:none}
.mt-resa-cadre{display:block;width:100%;height:720px;border:0;border-radius:12px;background:transparent;margin-top:10px}
@media (max-width:640px){.mt-resa-cadre{height:780px}}
.mt-creneau{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--muted);margin:6px 0 0}
.mt-creneau b{color:var(--text);font-weight:700}

/* ===== Ergonomie tactile (passage du 01/11/2026) : cibles de 44 px au doigt, sous-onglets sur deux lignes plutot
   qu'un defilement cache, focus clavier visible partout. ===== */
@media (max-width:820px){
  .mt-sous{flex-wrap:wrap;overflow-x:visible}
  .mt-sous button{min-height:44px}
  .mt-btn,.mt-mini{min-height:44px}
  .mt-retour{min-height:44px;padding:10px 0}
  .mt-chap{min-height:44px}
  .mt-lien{display:inline-block;min-height:44px;line-height:44px}
}
.mt-sous button:focus-visible,.mt-btn:focus-visible,.mt-chap:focus-visible,.mt-lien:focus-visible,.mt-retour:focus-visible,.mt-ligne:focus-visible,
.mt-lien-or:focus-visible,.mt-direct-fermer:focus-visible,.mt-fin-x:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* Regie sur telephone : le texte d'une ligne prend toute la largeur, ses boutons passent dessous (le titre ne se
   casse plus mot par mot). */
@media (max-width:640px){
  .mt-regie-ligne .mt-ligne-txt{flex:1 1 100%}
  .mt-regie-ligne .mt-mini-actions{flex:1 1 100%}
}

/* LA RELANCE DE FIN (01/11/2026) : pop-up a 7, 5 et 1 jour de la fin des 6 mois, et son rappel en tete d'onglet. */
.mt-fin-bandeau{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0 0 16px}
.mt-lien-or{font:inherit;font-weight:800;color:var(--gold);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.mt-fin-voile{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;
  padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
  background:color-mix(in srgb,#000 62%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:mtFinVoile .25s ease-out}
.mt-fin{position:relative;box-sizing:border-box;width:100%;max-width:460px;max-height:calc(100vh - 32px);overflow:auto;text-align:center;
  max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;
  background:var(--surface);color:var(--text);border:1px solid color-mix(in srgb,var(--gold) 45%,var(--border));border-radius:22px;
  padding:30px 26px 22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6),0 0 0 1px color-mix(in srgb,var(--gold) 10%,transparent) inset;
  animation:mtFinBoite .32s cubic-bezier(.2,.9,.3,1.2)}
.mt-fin::before{content:"";position:absolute;inset:0 0 auto 0;height:120px;border-radius:22px 22px 0 0;pointer-events:none;
  background:radial-gradient(120% 100% at 50% 0,color-mix(in srgb,var(--gold) 22%,transparent),transparent 70%)}
.mt-fin-x{position:absolute;top:10px;right:12px;width:36px;height:36px;font:inherit;font-size:1.5rem;line-height:1;color:var(--muted);
  background:none;border:0;border-radius:50%;cursor:pointer}
.mt-fin-x:hover{color:var(--text);background:var(--surface2)}
.mt-fin-compte{position:relative;width:92px;height:92px;margin:0 auto 14px;border-radius:50%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;border:2px solid var(--gold);background:color-mix(in srgb,var(--gold) 10%,var(--surface));
  box-shadow:0 0 0 6px color-mix(in srgb,var(--gold) 12%,transparent)}
.mt-fin-compte b{font-size:2.3rem;line-height:1;font-weight:900;color:var(--gold)}
.mt-fin-compte small{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:3px}
.mt-fin-compte.urgent{animation:mtFinPouls 2.4s ease-in-out infinite}
.mt-fin h2{position:relative;font-size:clamp(1.25rem,4.6vw,1.55rem);line-height:1.25;margin:0 0 10px}
.mt-fin-texte{color:var(--muted);line-height:1.55;margin:0 0 16px;font-size:.93rem}
.mt-fin-suite{font-weight:800;margin:0 0 8px}
.mt-fin-liste{list-style:none;text-align:left;margin:0 auto 18px;padding:0;max-width:360px}
.mt-fin-liste li{position:relative;padding:6px 0 6px 28px;line-height:1.45;font-size:.92rem}
.mt-fin-liste li::before{content:"✓";position:absolute;left:0;top:5px;width:19px;height:19px;border-radius:50%;font-size:.7rem;font-weight:900;
  display:flex;align-items:center;justify-content:center;color:#09090B;background:var(--gold)}
.mt-fin-actions{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
.mt-fin-cta{min-height:48px;font-size:.98rem}
.mt-fin-plus-tard{background:none;border-color:transparent;color:var(--muted)}
.mt-fin-plus-tard:hover{color:var(--text);border-color:var(--border)}
.mt-fin-note{font-size:.78rem;color:var(--muted);margin:2px 0 0;line-height:1.5}
.mt-fin-apercu{font-size:.74rem;color:var(--gold);margin:10px 0 0}
@keyframes mtFinVoile{from{opacity:0}to{opacity:1}}
@keyframes mtFinBoite{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes mtFinPouls{0%,100%{box-shadow:0 0 0 6px color-mix(in srgb,var(--gold) 12%,transparent)}50%{box-shadow:0 0 0 12px color-mix(in srgb,var(--gold) 4%,transparent)}}
@media (max-width:520px){.mt-fin-voile{align-items:flex-end;padding:12px 12px max(12px,env(safe-area-inset-bottom,0px))}.mt-fin{padding:26px 18px 18px;border-radius:20px}}
@media (prefers-reduced-motion:reduce){.mt-fin-voile,.mt-fin,.mt-fin-compte.urgent{animation:none}}
/* LA RELANCE DE FIN EN COULEURS (01/11/2026, demande de Le j : « comme les autres onglets, dans le theme, avec les
   couleurs ») : la peau du hub (--vg-halo1/2/3, --vg-or, --vg-or-lueur), donc trois halos colores et le degrade d'or
   des boutons, comme le reste de l'app ; en Momentum rose, violet et bleu. Retombees sur les jetons de base si absents. */
.mt-fin{background:radial-gradient(90% 55% at 0% 0%,var(--vg-halo1,transparent),transparent 65%),
  radial-gradient(70% 50% at 100% 12%,var(--vg-halo2,transparent),transparent 62%),
  radial-gradient(80% 50% at 50% 105%,var(--vg-halo3,transparent),transparent 65%),var(--surface)}
.mt-fin::before{display:none}
.mt-fin-compte{border:0;background:var(--vg-or,var(--gold));box-shadow:var(--vg-or-lueur,none),0 0 0 6px color-mix(in srgb,var(--gold) 14%,transparent)}
.mt-fin-compte::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--surface)}
.mt-fin-compte b,.mt-fin-compte small{position:relative;z-index:1}
.mt-fin-compte b{background:var(--vg-or,var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}
.mt-fin-suite{color:var(--accent-texte,var(--gold))}
.mt-fin-liste li::before{background:var(--vg-or,var(--gold));box-shadow:var(--vg-or-lueur,none);color:#09090B}
:root[data-theme="light"] .mt-fin-liste li::before{color:#FFFFFF}
.mt-fin-cta{background:var(--vg-or,var(--gold));border-color:transparent;box-shadow:var(--vg-or-lueur,none)}
.mt-fin-cta:hover{filter:brightness(1.07)}

/* COULEURS V2 DU HUB (01/11/2026, demande de Le j : « son petit point de couleur comme les autres [...] dans le theme
   avec les couleurs »). Le calque designs/couleurs.css donne une teinte a chaque espace (--cl-pt pour le point sous
   l'onglet et le pictogramme de la capsule, --cl-espace pour l'espace ouvert) ; il ne connaissait pas le Mentorat.
   Teinte retenue : l'amethyste, celle du GPT (le coach IA et le coach humain, l'accompagnement). Tout est sous
   html[data-couleurs] : en couleurs « Actuelles » (aucun attribut), l'onglet reste exactement comme avant. L'or reste
   la marque : le bouton d'action principal garde son or ; le pop-up de fin garde son propre habillage. */
html[data-couleurs] :is(.onglet,.cap-it,.cap-rang)[data-onglet="mentorat"]{--cl-pt:var(--cl-amethyste)}
html[data-couleurs]:has(#barreOnglets .onglet[data-onglet="mentorat"][aria-selected="true"]){--cl-espace:var(--cl-amethyste)}
/* Niveau 1 « touche » : surtitres, heure du creneau, sous-onglet ouvert, coches et liens d'action prennent la teinte. */
html[data-couleurs] #mentoratRacine :is(.mt-sur,.mt-label,.mt-heure){color:var(--cl-espace)}
html[data-couleurs] #mentoratRacine .mt-sous button[aria-selected="true"]{border-color:var(--cl-espace);color:var(--cl-espace)}
html[data-couleurs] #mentoratRacine .mt-coches li::before{border-color:var(--cl-espace)}
html[data-couleurs] #mentoratRacine .mt-btn:not(.or):hover{border-color:var(--cl-espace)}
/* Niveau 2 « affirme » : chaque carte porte un liseré haut et un voile leger de la teinte de l'espace. */
html[data-couleurs="affirme"] #mentoratRacine .mt-carte{
  box-shadow:inset 0 3px 0 color-mix(in srgb,var(--cl-espace) 70%,transparent);
  background:linear-gradient(180deg,color-mix(in srgb,var(--cl-espace) var(--cl-voile),var(--surface)) 0,var(--surface) 140px)}
html[data-couleurs="affirme"] #mentoratRacine .mt-sous button[aria-selected="true"]{
  background:color-mix(in srgb,var(--cl-espace) var(--cl-dose),var(--surface))}
/* Audit du 02/11 (M4) : la regle du sous-onglet ouvert passait aussi sur « Mon 1-1 » ouvert (texte amethyste sur fond
   or). Il garde son or plein et un texte lisible : 5,3:1 en Momentum, 6,1:1 en clair (blanc sur 7A5E15). */
html[data-couleurs] #mentoratRacine .mt-sous button.mt-sous-or[aria-selected="true"]{color:#09090B;background:var(--gold);border-color:var(--gold)}
html[data-theme="light"][data-couleurs] #mentoratRacine .mt-sous button.mt-sous-or[aria-selected="true"]{color:#FFFFFF}

/* LE BANDEAU « EN DIRECT » (01/11/2026) : sur tous les onglets, pour un accompagne, quand la salle du direct est ouverte.
   Audit du 02/11 : SOUS les voiles et feuilles du hub (z-index 65 ; capsule 70, feuilles 68-69, mode immersif 150,
   loupe 200), pose au-dessus de la capsule mobile (--cap-total) et plus haut quand le lecteur de cours est ouvert avec
   sa pilule ou ses boutons « remonter » en bas (ils vivent dans sa section, cachee sinon) ; le theme se tronque avant
   le titre, croix de 44 px au doigt. */
.mt-direct{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:65;display:flex;align-items:center;gap:12px;box-sizing:border-box;
  max-width:min(640px,calc(100vw - 32px));padding:6px 6px 6px 16px;border-radius:999px;background:var(--surface);
  border:1px solid color-mix(in srgb,var(--gold) 55%,transparent);box-shadow:0 12px 40px rgba(0,0,0,.35);animation:mt-direct-entree .35s ease-out}
.mt-direct-texte{margin:0;display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;font-size:14px;white-space:nowrap;overflow:hidden}
.mt-direct-titre{flex:0 0 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.mt-direct-theme{flex:0 100 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.mt-direct-point{flex:none;width:9px;height:9px;border-radius:50%;background:var(--red,#ef4444);box-shadow:0 0 0 0 rgba(239,68,68,.6);animation:mt-direct-pouls 1.6s infinite}
.mt-direct .mt-btn{flex:none}
.mt-direct-fermer{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:transparent;color:var(--muted);font:inherit;font-size:20px;line-height:1;cursor:pointer}
.mt-direct-fermer:hover{color:var(--text);background:var(--surface2)}
@keyframes mt-direct-pouls{70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
@keyframes mt-direct-entree{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media (max-width:1023px){
  .mt-direct{bottom:calc(var(--cap-total,0px) + 12px)}
  body:has([data-panneau="lecteur"]:not([hidden]) :is(.remonter-cours.visible,.lecteur-pilule:not([hidden]))) .mt-direct{bottom:calc(var(--cap-total,0px) + 64px)}
}
@media (max-width:520px){.mt-direct{border-radius:18px;padding:6px 6px 6px 14px}.mt-direct-theme{display:none}.mt-direct-titre{flex-shrink:1}}
@media (max-width:400px){.mt-direct-suite{display:none}}
@media (prefers-reduced-motion:reduce){.mt-direct,.mt-direct-point{animation:none}}

/* ===== C036 + C036c : Mes 1-1 (semaine + jauge + blocs jours), vocabulaire d'etats unifie, Mon 1-1 v2, barre mobile ===== */
.mt-ic{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mt-num{font-variant-numeric:tabular-nums}
.mt-btn:active{transform:scale(.96)}
.mt-btn-ic{width:40px;padding:0}
/* Motif discret : uniquement dans l'en-tete de Mes 1-1, masque a droite, jamais sous un texte a lire */
.mt-motif{position:relative;overflow:hidden}
.mt-motif::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background-image:repeating-linear-gradient(45deg,color-mix(in srgb,var(--cl-espace,var(--gold)) 10%,transparent) 0 1px,transparent 1px 16px),
    repeating-linear-gradient(-45deg,color-mix(in srgb,var(--cl-espace,var(--gold)) 10%,transparent) 0 1px,transparent 1px 16px);
  -webkit-mask-image:linear-gradient(to left,#000,transparent 46%);mask-image:linear-gradient(to left,#000,transparent 46%)}
.mt-motif>*{position:relative}
/* Vocabulaire d'etats unifie (forme + couleur, classes prefixees sans collision avec .cours/.mt-etat du Hub) */
.mt-statut{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px 3px 8px;font-size:.78rem;font-weight:600;white-space:nowrap;border:1px solid transparent;background:var(--surface2);color:var(--muted)}
.mt-statut .mt-ic{width:14px;height:14px}
.mt-statut.st-contour{background:transparent;border-color:var(--border);color:var(--text)}
.mt-statut.st-ok{background:color-mix(in srgb,var(--green) 14%,var(--surface));color:var(--green)}
.mt-statut.st-cours{background:color-mix(in srgb,#2452B8 14%,var(--surface));color:#4E7CE6}
:root[data-theme="light"] .mt-statut.st-cours{color:#2452B8}
.mt-statut.st-revoir{background:color-mix(in srgb,#D98A1A 16%,var(--surface));color:#E6A957}
:root[data-theme="light"] .mt-statut.st-revoir{color:#9A5B08}
.mt-statut.st-echec{background:color-mix(in srgb,var(--red) 14%,var(--surface));color:var(--red)}
.mt-statut.st-heure{background:color-mix(in srgb,var(--gold) 12%,var(--surface));color:var(--accent-texte,var(--gold))}
/* Jauge : un trait par session */
.mt-jauge{display:flex;gap:4px;align-items:center;min-height:5px}
.mt-jauge i{flex:1;min-width:10px;max-width:44px;height:5px;border-radius:3px;background:var(--border)}
.mt-jauge i.j-ok{background:var(--green)}
.mt-jauge i.j-encours{background:#4E7CE6}
:root[data-theme="light"] .mt-jauge i.j-encours{background:#2452B8}
.mt-jauge i.j-revoir{background:#E6A957}
:root[data-theme="light"] .mt-jauge i.j-revoir{background:#9A5B08}
.mt-jauge i.j-prevu{background:var(--gold)}
/* En-tete et semaine de Mes 1-1 */
.mt-cal11{display:flex;flex-direction:column;gap:0}
.mt-cal11-barre{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between}
.mt-cal11-barre h3{margin:0 0 2px}
.mt-cal11-barre p{margin:0}
.mt-cal11-nav{margin:0}
.mt-cal11-plage{font-weight:650;font-size:.92rem;min-width:140px;text-align:center}
.mt-semaine{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:16px}
.mt-jour-sem{display:flex;flex-direction:column;gap:8px;text-align:left;padding:12px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;min-width:0}
.mt-jour-sem:hover{background:var(--surface2)}
.mt-jour-sem.auj{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 8%,var(--surface))}
.mt-jour-sem b{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:.88rem;font-weight:650;font-variant-numeric:tabular-nums}
.mt-jour-sem b small{font-weight:500;color:var(--muted);font-size:.72rem}
.mt-jour-sem span{font-size:.78rem;color:var(--muted);line-height:1.3}
.mt-jour-sem:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* Blocs par jour */
.mt-cal11-bloc-tete{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border)}
.mt-cal11-bloc-g{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.mt-cal11-bloc-tete h4{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:-.01em;color:var(--text)}
.mt-cal11-ligne{display:grid;grid-template-columns:64px 40px minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border)}
.mt-cal11-ligne:last-child{border-bottom:0;padding-bottom:0}
.mt-cal11-h{font-weight:650;font-size:.95rem;color:var(--text)}
.mt-pastille-nom{width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--gold) 12%,var(--surface));color:var(--accent-texte,var(--gold));display:grid;place-items:center;font-weight:700;font-size:.86rem}
.mt-pastille-nom.groupe{background:var(--surface2);color:var(--muted)}
.mt-cal11-qui{min-width:0}
.mt-cal11-qui strong{display:block;font-size:.96rem;font-weight:650;color:var(--text)}
.mt-cal11-metas{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin-top:5px}
.mt-cal11-actions{margin:0;justify-content:flex-end}
/* Carte « Ta prochaine session » v2 */
.mt-prochaine-tete{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-start;justify-content:space-between}
.mt-prochaine-pied{justify-content:space-between;margin-top:14px}
.mt-prochaine-pied>.mt-actions{margin:0}
.mt-rejoindre-11{margin-left:auto}
/* Barre collee mobile quand la salle 1-1 est ouverte */
.mt-collant{display:none}
@media (max-width:900px){.mt-semaine{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){
  .mt-cal11-ligne{grid-template-columns:52px 40px minmax(0,1fr)}
  .mt-cal11-actions{grid-column:1/-1;justify-content:flex-start}
  .mt-champ{font-size:16px}
  .mt-btn-ic{min-width:44px;min-height:44px}
  .mt-collant{display:flex;position:fixed;left:0;right:0;bottom:calc(var(--cap-total,0px));z-index:66;gap:10px;align-items:center;justify-content:space-between;background:var(--surface);border-top:1px solid var(--border);padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));box-shadow:0 -8px 24px rgba(0,0,0,.18)}
  .mt-collant-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
  .mt-collant-txt b{font-size:.92rem;color:var(--text)}
  .mt-collant-txt small{font-size:.76rem}
}
@media (max-width:520px){.mt-semaine{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:no-preference){.mt-btn,.mt-jour-sem{transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,transform 160ms ease}}

/* ===== C050 : Doublons probables, identite et adresses rattachees (ton neutre, jamais de second bouton or) ===== */
.mt-doublons{display:flex;flex-direction:column;gap:0}
.mt-doublon-tete{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.mt-doublon-tete-g{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mt-doublon-tete h4{margin:0;font-size:1rem;font-weight:700;color:var(--text)}
.mt-doublon-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 14px}
.mt-doublon-col{padding:14px;border-radius:12px;border:1px solid var(--border);background:var(--surface2);display:flex;flex-direction:column;gap:10px;min-width:0}
.mt-doublon-col.principale{border-color:var(--text);background:var(--surface)}
.mt-doublon-radio{display:flex;align-items:flex-start;gap:8px;cursor:pointer;font-weight:650;font-size:.9rem;color:var(--text)}
.mt-doublon-radio input{margin-top:3px;accent-color:var(--text);flex:none}
.mt-doublon-entete{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}
.mt-doublon-email{font-size:.84rem;color:var(--muted);word-break:break-all}
.mt-doublon-dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 12px;margin:0;font-size:.84rem}
.mt-doublon-dl dt{color:var(--muted);font-weight:500}
.mt-doublon-dl dd{margin:0;color:var(--text);font-weight:600;word-break:break-word}
.mt-doublon-pied{justify-content:flex-start;margin-top:4px}
.mt-identite{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}
.mt-adr-liste{display:flex;flex-direction:column;gap:6px}
.mt-adr-item{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);font-size:.86rem}
.mt-adr-item strong{word-break:break-all;font-weight:600;color:var(--text)}
.mt-fusion-ligne{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);font-size:.86rem}
.mt-identite-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
.mt-identite-form .mt-champ-l{flex:1 1 200px;margin:0}
.mt-ecarts{display:flex;flex-direction:column;gap:6px;font-size:.82rem;color:var(--muted)}
@media (max-width:760px){.mt-doublon-grille{grid-template-columns:1fr}}

/* === C051 (lot 3) : Fiche du membre en deux zones + Mon 1-1 parcours & devoirs ===
   Corrections du 24/11/2026 (audit A3-07) : --bord, --surface-2, --mt-or, --mt-ok et --mt-alerte n'existaient nulle part,
   leurs replis clairs servaient dans tous les themes (« Revoir » a 3:1 en sombre). Remplaces par les jetons de theme de
   l'app : --border, --surface2, --accent-texte (texte d'accent), --gold (aplats), --green, --enc-attention. */
.mt-mon11-pile { display: flex; flex-direction: column; gap: 18px; }
.mt-parcours-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.mt-jauge { display: flex; gap: 4px; align-items: center; min-height: 5px; margin: 10px 0 4px; }
.mt-jauge i { flex: 1; min-width: 10px; max-width: 48px; height: 5px; border-radius: 3px; background: var(--border, rgba(128,128,128,.25)); display: block; }
.mt-jauge i.ok { background: var(--green, #1F7A4D); }
.mt-jauge i.prevu { background: var(--gold, #D4A84B); }
.mt-jauge i.revoir { background: var(--enc-attention, #9A5B08); }
.mt-parcours-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
@media (max-width: 960px) { .mt-parcours-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) { .mt-parcours-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mt-parcours-item { border: 1px solid var(--border, rgba(128,128,128,.22)); border-radius: 12px; padding: 12px; background: var(--surface2, rgba(128,128,128,.05)); min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mt-parcours-item.faite { background: var(--surface, #fff); border-color: rgba(31,122,77,.35); }
.mt-parcours-item.ici { background: rgba(212,168,75,.09); border-color: rgba(212,168,75,.6); }
.mt-parcours-item.absence { background: rgba(154,91,8,.07); border-color: rgba(154,91,8,.4); }
.mt-parcours-num { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.mt-parcours-item b { font-size: 14px; line-height: 1.25; }
.mt-parcours-item small { font-size: 12.5px; line-height: 1.35; opacity: .78; }
.mt-parcours-lien { margin-top: auto; padding-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--accent-texte, #7A5E15); background: none; border: 0; text-align: left; cursor: pointer; padding-left: 0; }
.mt-mon11-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .mt-mon11-deux { grid-template-columns: minmax(0, 1fr); } }
.mt-devoir-item { padding: 12px 0; border-top: 1px solid var(--border, rgba(128,128,128,.18)); display: flex; flex-direction: column; gap: 8px; }
.mt-devoir-item:first-child { border-top: 0; padding-top: 0; }
.mt-devoir-haut { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.mt-devoir-retour { padding: 10px 12px; border-radius: 10px; background: rgba(31,122,77,.08); border-left: 3px solid #1F7A4D; font-size: 13.5px; }
.mt-devoir-capture { max-width: 260px; max-height: 180px; border-radius: 10px; border: 1px solid var(--border, rgba(128,128,128,.25)); object-fit: cover; display: block; }
.mt-devoir-form { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: var(--surface2, rgba(128,128,128,.05)); }

/* Fiche du membre (regie, deux zones) */
.mt-fiche-tete { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 14px 18px; }
.mt-fiche-fil { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; }
.mt-fiche-fil b { font-size: 16px; }
.mt-fiche-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mt-fiche-grille { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 920px) { .mt-fiche-grille { grid-template-columns: minmax(0, 1fr); } }
.mt-fiche-personne { display: flex; flex-direction: column; gap: 14px; }
.mt-fiche-id { display: flex; gap: 12px; align-items: center; }
.mt-fiche-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(212,168,75,.14); color: var(--accent-texte, #7A5E15); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.mt-fiche-heures { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.mt-fiche-heures li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border, rgba(128,128,128,.18)); font-size: 13.5px; }
.mt-fiche-heures li:first-child { border-top: 0; }
.mt-fiche-heures li.ici { font-weight: 600; }
.mt-fiche-heures small { display: block; font-size: 12px; opacity: .72; font-weight: 400; }
.mt-fiche-panneau { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mt-volets { display: flex; gap: 4px; padding: 8px 12px 0; border-bottom: 1px solid var(--border, rgba(128,128,128,.2)); overflow-x: auto; }
.mt-volets button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; font: 600 13.5px inherit; opacity: .72; cursor: pointer; white-space: nowrap; color: inherit; }
.mt-volets button[aria-selected="true"] { opacity: 1; border-bottom-color: var(--gold, #D4A84B); }
.mt-volet { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.mt-fiche-pied { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--border, rgba(128,128,128,.2)); background: var(--surface2, rgba(128,128,128,.04)); }
.mt-fiche-placeholder { padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--border, rgba(128,128,128,.35)); font-size: 13.5px; opacity: .82; }
.mt-seance-ctrl { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 6px; }
.mt-depart-item { display: flex; flex-direction: column; gap: 4px; }
.mt-depart-item label { font-size: 13px; font-weight: 600; }

/* === Corrections du 24/11/2026 : « Mon 1-1 » relu apres une reservation native (audit A3-04) === */
.mt-resa-confirmation{margin:0;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--green,#1F7A4D) 12%,transparent);border:1px solid color-mix(in srgb,var(--green,#1F7A4D) 40%,transparent);color:var(--text);font-size:.92rem;font-weight:600}
.mt-resa-confirmation:focus{outline:none}

/* === C186 + C186b (25/11/2026) : Separation Accompagnement Prive (groupe) et Mentorat prive 1-1 === */
.mt-grp-avatar{background:var(--surface2);color:var(--text)}
.mt-grp-recap{display:flex;flex-direction:column;gap:10px;min-width:0}
.mt-grp-stats{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:0;padding-top:8px;border-top:1px solid var(--border);font-size:13.5px}
.mt-grp-stats dt{color:var(--muted);font-weight:500;min-width:0}
.mt-grp-stats dd{margin:0;color:var(--text);font-weight:650;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.mt-grp-prolong{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--border);font-size:13.5px;min-width:0}
.mt-grp-prolong .mt-statut{flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35;border-radius:12px}
.mt-grp-section{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--border);min-width:0}
.mt-grp-section:first-child{padding-top:0;border-top:0}
.mt-grp-section-tete{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;justify-content:space-between}
.mt-grp-section-tete h4{margin:0;font-size:.95rem;font-weight:700;color:var(--text)}
.mt-grp-liste{display:flex;flex-direction:column}
.mt-grp-item{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-top:1px solid var(--border);min-width:0}
.mt-grp-item:first-child{padding-top:0;border-top:0}
.mt-grp-item-haut{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:flex-start;justify-content:space-between;min-width:0}
.mt-grp-item-haut>div{min-width:0;flex:1 1 180px;overflow-wrap:anywhere}
.mt-grp-bloc{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);min-width:0}
.mt-grp-bloc-premier{margin-top:4px;padding-top:0;border-top:0}
.mt-grp-bloc-titre{margin:0 0 8px;font-size:.92rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.mt-grp-termines{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.mt-grp-termines summary{cursor:pointer;font-weight:650;font-size:.92rem;color:var(--muted);padding:6px 4px;border-radius:8px;font-variant-numeric:tabular-nums}
.mt-grp-termines summary:hover{color:var(--text)}
.mt-grp-termines summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.mt-grp-termines[open] summary{color:var(--text);margin-bottom:8px}
.mt-grp-formule-form{margin-bottom:6px}
@media (max-width:520px){
  .mt-grp-stats{font-size:13px}
  .mt-grp-item-haut>div{flex-basis:100%}
}
