:root{
  --ttm-navy:#0D1B2A;
  --ttm-blue:#2F5F7A;
  --ttm-blue-dark:#244E65;
  --ttm-blue-soft:#EAF3F7;
  --ttm-orange:#F77A00;
  --ttm-orange-dark:#B84F00;
  --ttm-orange-soft:#FFF0E2;
  --ttm-client-bg:#F7F9FB;
  --ttm-partner-bg:#F7F9FB;
  --ttm-card:#FFFFFF;
  --ttm-border:#C9D8E2;
  --ttm-muted:#667586;
  --ttm-shadow:0 14px 34px rgba(13,27,42,.08);
}

.ttm-auth-shell,
.ttm-auth-shell *{box-sizing:border-box}

.ttm-auth-shell{
  width:100%;
  background:var(--ttm-client-bg);
  color:var(--ttm-navy);
  font-family:inherit;
  transition:background-color .2s ease;
}

.ttm-auth-shell[data-mode="partner"]{background:var(--ttm-partner-bg)}

.ttm-auth-wrap{
  width:min(100%,520px);
  margin:0 auto;
  padding:32px 16px 34px;
}

.ttm-auth-panel{
  width:100%;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .18s ease,transform .18s ease;
}

.ttm-auth-panel.is-active{opacity:1;transform:none}

.ttm-auth-card,.ttm-switch-card{border-radius:22px}

.ttm-auth-card{
  background:var(--ttm-card);
  padding:28px;
  box-shadow:var(--ttm-shadow);
  border:1px solid rgba(13,27,42,.07);
  overflow:hidden;
}

.ttm-auth-card-client{border-top:4px solid var(--ttm-blue)}
.ttm-auth-card-partner{border-top:4px solid var(--ttm-orange)}

.ttm-account-heading{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.ttm-account-icon{
  width:44px;
  min-width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
}

.ttm-account-icon svg,.ttm-switch-icon svg{width:23px;height:23px}

.ttm-account-icon-client{color:var(--ttm-blue);background:var(--ttm-blue-soft)}
.ttm-account-icon-partner{color:var(--ttm-orange-dark);background:var(--ttm-orange-soft)}

.ttm-kicker{
  margin:2px 0 2px;
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.035em;
}

.ttm-kicker-client{color:var(--ttm-blue)}
.ttm-kicker-partner{color:var(--ttm-orange-dark)}

.ttm-space-label{
  color:var(--ttm-muted);
  font-size:13px;
  line-height:1.25;
  font-weight:700;
}

.ttm-auth-card h1{
  margin:0;
  color:var(--ttm-navy);
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:800;
}

.ttm-auth-card h1:focus{outline:none}

.ttm-intro{
  margin:8px 0 24px;
  color:var(--ttm-muted);
  font-size:17px;
  line-height:1.48;
  font-weight:500;
}

.ttm-login-error{
  margin:-8px 0 18px;
  padding:12px 14px;
  border:1px solid #B42318;
  border-radius:12px;
  background:#FFFFFF;
  color:#8A2929;
  font-size:14px;
  line-height:1.45;
  font-weight:650;
}

.ttm-auth-form{margin:0}
.ttm-field-group{margin:0 0 14px}

.ttm-field-group label{
  display:block;
  margin:0 0 7px;
  color:var(--ttm-navy);
  font-size:15px;
  line-height:1.3;
  font-weight:750;
}

.ttm-field{
  position:relative;
  display:flex;
  align-items:center;
  min-height:58px;
  background:#fff;
  border:2px solid var(--ttm-border);
  border-radius:14px;
  transition:border-color .15s ease,box-shadow .15s ease;
}

.ttm-field:focus-within{
  border-color:var(--ttm-blue);
  box-shadow:0 0 0 4px rgba(47,95,122,.12);
}

.ttm-field-partner:focus-within{
  border-color:var(--ttm-orange);
  box-shadow:0 0 0 4px rgba(247,122,0,.13);
}

.ttm-field-icon{
  width:48px;
  min-width:48px;
  display:grid;
  place-items:center;
  color:var(--ttm-blue);
}

.ttm-field-icon-partner{color:var(--ttm-orange-dark)}
.ttm-field-icon svg{width:21px;height:21px}

.ttm-field input{
  width:100%;
  min-width:0;
  height:54px;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0 46px 0 0!important;
  color:var(--ttm-navy)!important;
  font:inherit;
  font-size:16px!important;
  line-height:1!important;
}

.ttm-field input::placeholder{color:#98A6B5;opacity:1}

.ttm-password-toggle{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--ttm-blue)!important;
  display:grid;
  place-items:center;
  padding:0!important;
  cursor:pointer;
}

.ttm-password-toggle-partner{color:var(--ttm-orange-dark)!important}
.ttm-password-toggle:hover{background:rgba(47,95,122,.07)!important}
.ttm-password-toggle-partner:hover{background:rgba(247,122,0,.08)!important}
.ttm-password-toggle:focus-visible{outline:3px solid rgba(47,95,122,.28);outline-offset:1px}
.ttm-password-toggle-partner:focus-visible{outline-color:rgba(247,122,0,.35)}
.ttm-password-toggle svg{width:21px;height:21px}

.ttm-forgot-row{
  display:flex;
  justify-content:flex-end;
  margin:-1px 0 16px;
}

.ttm-text-link{
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:700;
}

.ttm-text-link-client{color:var(--ttm-blue)!important}
.ttm-text-link-client:hover{color:var(--ttm-blue-dark)!important}
.ttm-text-link-partner{color:var(--ttm-orange-dark)!important}
.ttm-text-link-partner:hover{color:#8E3D00!important}
.ttm-nowrap{white-space:nowrap}

.ttm-primary-btn,.ttm-secondary-btn{
  width:100%;
  min-height:56px;
  border-radius:14px!important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  font:inherit;
  font-size:16px;
  line-height:1.25;
  font-weight:800;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.ttm-primary-btn-client{
  border:2px solid var(--ttm-blue)!important;
  background:var(--ttm-blue)!important;
  color:#F7F9FB!important;
  box-shadow:0 8px 18px rgba(47,95,122,.16);
}

.ttm-primary-btn-client:hover{
  background:var(--ttm-blue-dark)!important;
  border-color:var(--ttm-blue-dark)!important;
}

.ttm-primary-btn-partner{
  border:2px solid var(--ttm-orange)!important;
  background:var(--ttm-orange)!important;
  color:var(--ttm-navy)!important;
  box-shadow:0 8px 18px rgba(247,122,0,.18);
}

.ttm-primary-btn-partner:hover{
  background:#F77A00!important;
  border-color:#F77A00!important;
}

.ttm-secondary-btn-client{
  border:2px solid var(--ttm-blue)!important;
  background:#fff!important;
  color:var(--ttm-navy)!important;
}

.ttm-secondary-btn-client:hover{background:#F2F7F9!important}

.ttm-secondary-btn-partner{
  border:2px solid var(--ttm-orange)!important;
  background:#fff!important;
  color:var(--ttm-navy)!important;
}

.ttm-secondary-btn-partner:hover{background:#FFF8F2!important}

.ttm-primary-btn:active,.ttm-secondary-btn:active{transform:translateY(1px)}

.ttm-primary-btn:focus-visible,.ttm-secondary-btn:focus-visible,.ttm-text-link:focus-visible{
  outline:3px solid rgba(247,122,0,.35);
  outline-offset:3px;
}

.ttm-divider{
  height:1px;
  background:#DEE6EC;
  margin:20px 0 18px;
}

.ttm-create-block h2,.ttm-switch-card h2{
  margin:0;
  color:var(--ttm-navy);
  font-size:18px;
  line-height:1.25;
  font-weight:800;
}

.ttm-create-block p{
  margin:5px 0 14px;
  color:var(--ttm-muted);
  font-size:15px;
  line-height:1.45;
  font-weight:500;
}

.ttm-switch-card{
  margin-top:16px;
  padding:18px;
  border:1px solid transparent;
}

.ttm-switch-card-partner{background:var(--ttm-orange-soft);border-color:#F7D9BF}
.ttm-switch-card-client{background:var(--ttm-blue-soft);border-color:#D3E4EC}

.ttm-switch-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}

.ttm-switch-head p{
  margin:4px 0 0;
  color:var(--ttm-muted);
  font-size:15px;
  line-height:1.4;
  font-weight:500;
}

.ttm-switch-icon{
  width:44px;
  min-width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#fff;
  box-shadow:0 2px 8px rgba(13,27,42,.05);
}

.ttm-switch-icon-client{color:var(--ttm-blue)}
.ttm-switch-icon-partner{color:var(--ttm-orange-dark)}

.ttm-small-link-row,.ttm-partner-join{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  color:var(--ttm-muted);
  font-size:14px;
  line-height:1.45;
  text-align:center;
}

.ttm-small-link-row{margin:12px 2px 0}
.ttm-partner-join{margin:0}
.ttm-short-label{display:none}

@media(max-width:767px){
  .ttm-auth-wrap{padding:22px 14px 26px}
  .ttm-auth-card{padding:24px;border-radius:20px}
  .ttm-auth-card h1{font-size:34px}
  .ttm-intro{font-size:16px;margin-bottom:20px}
  .ttm-switch-card{border-radius:18px}
}

@media(max-width:480px){
  .ttm-auth-wrap{padding:16px 14px 22px}
  .ttm-auth-card{padding:20px 18px;border-radius:18px}
  .ttm-account-heading{gap:10px;margin-bottom:10px}
  .ttm-account-icon{width:42px;min-width:42px;height:42px}
  .ttm-kicker{font-size:13px}
  .ttm-space-label{font-size:12.5px}
  .ttm-auth-card h1{font-size:31px}
  .ttm-intro{font-size:16px;line-height:1.45;margin:7px 0 20px}
  .ttm-field{min-height:56px;border-radius:13px}
  .ttm-field input{height:52px;font-size:16px!important}
  .ttm-field-icon{width:46px;min-width:46px}
  .ttm-forgot-row{margin-bottom:14px}
  .ttm-primary-btn,.ttm-secondary-btn{min-height:54px;border-radius:13px!important;font-size:16px}
  .ttm-divider{margin:18px 0 16px}
  .ttm-create-block h2,.ttm-switch-card h2{font-size:17px}
  .ttm-create-block p,.ttm-switch-head p{font-size:14px}
  .ttm-switch-card{margin-top:14px;padding:16px}
  .ttm-switch-icon{width:42px;min-width:42px;height:42px}
  .ttm-long-label{display:none}
  .ttm-short-label{display:inline}
  .ttm-small-link-row,.ttm-partner-join{font-size:13.5px}
}

@media(prefers-reduced-motion:reduce){
  .ttm-auth-shell,.ttm-auth-panel,.ttm-primary-btn,.ttm-secondary-btn,.ttm-field{transition:none!important}
}

/* V0.4 — inscription et mot de passe oublié dans l'interface T&T */
.ttm-login-success{
  margin:-8px 0 18px;
  padding:12px 14px;
  border:1px solid #A7D5BD;
  border-radius:12px;
  background:#ECF8F2;
  color:#196B48;
  font-size:14px;
  line-height:1.45;
  font-weight:650;
}

.ttm-two-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.ttm-form-note{
  margin:2px 0 16px;
  color:var(--ttm-muted);
  font-size:12px;
  line-height:1.45;
}

@media (max-width:560px){
  .ttm-two-fields{grid-template-columns:1fr}
}


/* V0.5 — sécurité inscription + vérification e-mail */
.ttm-form-note a{color:var(--ttm-blue);font-weight:750;text-decoration:underline;text-underline-offset:2px}
.ttm-password-strength{margin-top:9px}
.ttm-strength-head{display:flex;justify-content:space-between;gap:10px;color:var(--ttm-muted);font-size:12px;font-weight:750}
.ttm-strength-head strong{color:var(--ttm-navy)}
.ttm-strength-track{height:7px;margin-top:6px;background:#E7EDF1;border-radius:99px;overflow:hidden}
.ttm-strength-track>span{display:block;height:100%;width:0;border-radius:inherit;background:#AAB6BF;transition:width .18s ease,background-color .18s ease}
.ttm-password-strength[data-strength="1"] .ttm-strength-track>span{background:#B42318}
.ttm-password-strength[data-strength="2"] .ttm-strength-track>span{background:#B86A00}
.ttm-password-strength[data-strength="3"] .ttm-strength-track>span{background:var(--ttm-blue)}
.ttm-password-strength[data-strength="4"] .ttm-strength-track>span{background:#25865B}
.ttm-password-strength p{margin:6px 0 0;color:var(--ttm-muted);font-size:12px;line-height:1.4}
.ttm-password-match{min-height:19px;margin-top:7px;font-size:12px;font-weight:750}
.ttm-password-match.is-ok{color:#196B48}
.ttm-password-match.is-error{color:#8A2929}
.ttm-primary-btn:disabled{opacity:.52;cursor:not-allowed;transform:none!important}
.ttm-otp-field input{padding:0 16px!important;text-align:center;font-size:28px!important;font-weight:800!important;letter-spacing:.28em!important;font-variant-numeric:tabular-nums}
.ttm-resend-block{margin-top:16px;padding:14px;border-radius:12px;background:#F6F9FB;border:1px solid #E0E8ED;text-align:center}
.ttm-resend-block p{margin:0 0 8px;color:var(--ttm-muted);font-size:12px;line-height:1.45}
.ttm-resend-btn{border:0!important;background:transparent!important;color:var(--ttm-blue)!important;font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:5px 8px!important}
.ttm-resend-btn:disabled{color:#8D9AA5!important;cursor:not-allowed}

/* v0.5.1 — confort de saisie des champs Prénom / Nom */
#ttm-first-name,
#ttm-last-name{
  padding-left:16px!important;
  padding-right:16px!important;
}

/* v0.6 — protections anti-abus / Turnstile */
.ttm-turnstile-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:66px;
  margin:12px 0 14px;
}
.ttm-resend-block .ttm-turnstile-wrap{
  margin:10px 0;
}
@media(max-width:420px){
  .ttm-turnstile-wrap{
    justify-content:flex-start;
    overflow-x:auto;
  }
}


/* v0.7.0 — édition des informations pendant la vérification */
.ttm-verify-edit-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin:-4px 0 16px;
  font-size:12px;
  line-height:1.4;
}
.ttm-verify-edit-actions a{
  color:var(--ttm-blue);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}
.ttm-verify-edit-actions span{color:#A4B0B9}

/* =========================================================
   v0.7.8 — Correctif visuel strict
   - Référence visuelle : v0.7.4
   - Référence fonctionnelle : v0.7.5
   - Client = bleu T&T
   - Partenaire / candidat = orange T&T
   - Aucun rose / magenta
   - SVG bornés pour empêcher toute icône géante
   ========================================================= */

/* ---------- Isolation / anti-régression thème & Elementor ---------- */
#ttm-auth-shell,
#ttm-auth-shell *{box-sizing:border-box}

#ttm-auth-shell .ttm-account-icon,
#ttm-auth-shell .ttm-switch-icon,
#ttm-auth-shell .ttm-field-icon,
#ttm-auth-shell .ttm-password-toggle{
  overflow:hidden;
  flex:none;
}

#ttm-auth-shell .ttm-account-icon > svg,
#ttm-auth-shell .ttm-switch-icon > svg{
  display:block!important;
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  max-width:23px!important;
  max-height:23px!important;
  flex:0 0 23px!important;
}

#ttm-auth-shell .ttm-field-icon > svg,
#ttm-auth-shell .ttm-password-toggle > svg{
  display:block!important;
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  min-height:21px!important;
  max-width:21px!important;
  max-height:21px!important;
  flex:0 0 21px!important;
}

/* ---------- CLIENT : rendu v0.7.4 verrouillé ---------- */
#ttm-auth-shell[data-mode="client"] .ttm-auth-card-client{
  border-top-color:var(--ttm-blue)!important;
}
#ttm-auth-shell[data-mode="client"] .ttm-account-icon-client{
  color:var(--ttm-blue)!important;
  background:var(--ttm-blue-soft)!important;
}
#ttm-auth-shell[data-mode="client"] .ttm-kicker-client,
#ttm-auth-shell[data-mode="client"] .ttm-text-link-client{
  color:var(--ttm-blue)!important;
}
#ttm-auth-shell[data-mode="client"] .ttm-primary-btn-client{
  border-color:var(--ttm-blue)!important;
  background:var(--ttm-blue)!important;
  color:#F7F9FB!important;
}
#ttm-auth-shell[data-mode="client"] .ttm-secondary-btn-client{
  border-color:var(--ttm-blue)!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
}

/* ---------- PAGE PROFESSIONNELLE : géométrie v0.7.4 ---------- */
#ttm-auth-shell[data-mode="partner"]{
  background:var(--ttm-partner-bg)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
  width:min(100%,520px)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  padding:28px!important;
  border-top:4px solid var(--ttm-orange)!important;
  background:#FFFFFF!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-account-icon-partner{
  color:var(--ttm-orange-dark)!important;
  background:var(--ttm-orange-soft)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-kicker-partner{
  color:var(--ttm-orange-dark)!important;
}

/* Accordéon : mêmes dimensions / rythme que la référence, identité orange. */
#ttm-auth-shell .ttm-mini-accordion{
  display:grid!important;
  gap:12px!important;
  margin-top:18px!important;
}
#ttm-auth-shell .ttm-accordion-item{
  overflow:hidden!important;
  border:1.5px solid rgba(247,122,0,.34)!important;
  border-radius:15px!important;
  background:#FFFFFF!important;
  box-shadow:0 4px 12px rgba(13,27,42,.05)!important;
}
#ttm-auth-shell .ttm-accordion-item.is-open{
  border-color:rgba(247,122,0,.68)!important;
  background:#FFF8F2!important;
  box-shadow:0 8px 22px rgba(13,27,42,.07)!important;
}
#ttm-auth-shell button.ttm-accordion-trigger{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:64px!important;
  margin:0!important;
  padding:15px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--ttm-orange)!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
  text-align:left!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  font:inherit!important;
  font-size:17px!important;
  line-height:1.28!important;
  font-weight:800!important;
  cursor:pointer!important;
}
#ttm-auth-shell button.ttm-accordion-trigger:hover{
  background:#F77A00!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell button.ttm-accordion-trigger:focus-visible{
  outline:3px solid rgba(247,122,0,.32)!important;
  outline-offset:3px!important;
}
#ttm-auth-shell button.ttm-accordion-trigger > span:first-child{
  min-width:0!important;
  color:inherit!important;
}
#ttm-auth-shell button.ttm-accordion-trigger > span:last-child{
  flex:0 0 auto!important;
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#FFFFFF!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:500!important;
}
#ttm-auth-shell .ttm-accordion-panel{
  padding:16px 20px 20px!important;
  background:#FFF8F2!important;
}
#ttm-auth-shell .ttm-accordion-panel[hidden]{display:none!important}
#ttm-auth-shell .ttm-accordion-panel > p{
  margin:0 0 15px!important;
  color:var(--ttm-muted)!important;
  font-size:14.5px!important;
  line-height:1.48!important;
  font-weight:500!important;
}
#ttm-auth-shell .ttm-accordion-panel .ttm-auth-form,
#ttm-auth-shell .ttm-candidate-inline-form{
  margin-top:0!important;
}

/* Formulaires partenaire / candidat : orange, jamais bleu. */
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within{
  border-color:var(--ttm-orange)!important;
  box-shadow:0 0 0 4px rgba(247,122,0,.13)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field-icon,
#ttm-auth-shell[data-mode="partner"] .ttm-password-toggle,
#ttm-auth-shell[data-mode="partner"] .ttm-text-link{
  color:var(--ttm-orange-dark)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner{
  border-color:var(--ttm-orange)!important;
  background:var(--ttm-orange)!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner:hover{
  border-color:#F77A00!important;
  background:#F77A00!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-secondary-btn-partner{
  border-color:var(--ttm-orange)!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-secondary-btn-partner:hover{
  background:#FFF8F2!important;
}

/* M'informer : secondaire et discret. */
#ttm-auth-shell a.ttm-info-before-choice{
  width:auto!important;
  min-height:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  margin:0 0 15px!important;
  padding:2px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ttm-orange-dark)!important;
  box-shadow:none!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  font:inherit!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:750!important;
}
#ttm-auth-shell a.ttm-info-before-choice:hover{color:#8E3D00!important}
#ttm-auth-shell a.ttm-info-before-choice:focus-visible{
  outline:3px solid rgba(247,122,0,.30)!important;
  outline-offset:3px!important;
  border-radius:6px!important;
}

/* Métiers administrables : Actif / Bientôt / Masqué (Masqué = non rendu PHP). */
#ttm-auth-shell .ttm-partner-modules{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
#ttm-auth-shell .ttm-partner-module{
  min-width:0!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  padding:12px 13px!important;
  border:1.5px solid rgba(247,122,0,.48)!important;
  border-radius:13px!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  font:inherit!important;
  font-size:14.5px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
#ttm-auth-shell a.ttm-partner-module.is-active:hover{
  border-color:var(--ttm-orange)!important;
  background:#FFF4E8!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell a.ttm-partner-module.is-active:focus-visible{
  outline:3px solid rgba(247,122,0,.30)!important;
  outline-offset:2px!important;
}
#ttm-auth-shell .ttm-module-action{
  flex:0 0 auto!important;
  color:var(--ttm-orange-dark)!important;
  font-size:20px!important;
  line-height:1!important;
}
#ttm-auth-shell .ttm-partner-module.is-soon{
  border-color:#D8E0E5!important;
  background:#F7F9FB!important;
  color:#687684!important;
  cursor:not-allowed!important;
}
#ttm-auth-shell .ttm-module-badge{
  flex:0 0 auto!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#E9EEF2!important;
  color:#53616D!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
}

/* Carte de retour Client = bleu uniquement. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  background:var(--ttm-blue-soft)!important;
  border-color:#D3E4EC!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-icon-client{
  color:var(--ttm-blue)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-secondary-btn-client{
  border-color:var(--ttm-blue)!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
}

/* Erreurs : blanc + rouge d'alerte, jamais fond rose. */
#ttm-auth-shell .ttm-login-error{
  border-color:#B42318!important;
  background:#FFFFFF!important;
  color:#8A2929!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{padding:24px!important}
  #ttm-auth-shell button.ttm-accordion-trigger{min-height:62px!important;padding:14px 18px!important}
  #ttm-auth-shell .ttm-accordion-panel{padding:15px 18px 18px!important}
}

@media(max-width:480px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{padding:20px 18px!important}
  #ttm-auth-shell .ttm-mini-accordion{gap:10px!important;margin-top:16px!important}
  #ttm-auth-shell button.ttm-accordion-trigger{
    min-height:58px!important;
    padding:13px 15px!important;
    font-size:15.5px!important;
  }
  #ttm-auth-shell button.ttm-accordion-trigger > span:last-child{
    width:26px!important;
    min-width:26px!important;
    height:26px!important;
    font-size:22px!important;
  }
  #ttm-auth-shell .ttm-accordion-panel{padding:14px 15px 16px!important}
  #ttm-auth-shell .ttm-accordion-panel > p{font-size:14px!important;margin-bottom:12px!important}
  #ttm-auth-shell .ttm-partner-modules{grid-template-columns:1fr!important}
}

/* =========================================================
   v0.8.1 — Hiérarchie visuelle partenaire
   - Fonctionnel identique à v0.8.0
   - Orange moins saturé sur grandes surfaces
   - 3 niveaux distincts : partenaire / candidature / devenir
   - Fond global neutre T&T #F7F9FB
   - Largeur desktop plus confortable
   ========================================================= */

#ttm-auth-shell[data-mode="partner"]{
  background:#F7F9FB!important;
}

@media(min-width:768px){
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
    width:min(100%,640px)!important;
  }
}

#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  padding:30px!important;
  border-top-color:#D96500!important;
  box-shadow:0 18px 44px rgba(13,27,42,.08)!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-account-icon-partner{
  color:#B84F00!important;
  background:#FFF0E4!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-kicker-partner{
  color:#B84F00!important;
}

/* Base plus calme : le contour porte l'identité, pas un orange uniforme. */
#ttm-auth-shell .ttm-accordion-item{
  border-width:1.5px!important;
  background:#FFFFFF!important;
  box-shadow:0 4px 14px rgba(13,27,42,.045)!important;
}

#ttm-auth-shell button.ttm-accordion-trigger{
  color:var(--ttm-navy)!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}

/* 1 — Déjà partenaire : le plus sobre. */
#ttm-auth-shell .ttm-accordion-item--partner{
  border-color:#E1B596!important;
}
#ttm-auth-shell .ttm-accordion-item--partner button.ttm-accordion-trigger{
  background:#F8E8DD!important;
  color:var(--ttm-navy)!important;
  box-shadow:inset 4px 0 0 #B84F00!important;
}
#ttm-auth-shell .ttm-accordion-item--partner button.ttm-accordion-trigger:hover{
  background:#F4DDD0!important;
}
#ttm-auth-shell .ttm-accordion-item--partner button.ttm-accordion-trigger > span:last-child{
  background:#B84F00!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell .ttm-accordion-item--partner.is-open{
  border-color:#C98961!important;
  background:#FFF9F5!important;
}
#ttm-auth-shell .ttm-accordion-item--partner .ttm-accordion-panel{
  background:#FFF9F5!important;
}
#ttm-auth-shell .ttm-accordion-item--partner .ttm-primary-btn-partner{
  border-color:#B84F00!important;
  background:#B84F00!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell .ttm-accordion-item--partner .ttm-primary-btn-partner:hover{
  border-color:#914517!important;
  background:#914517!important;
}

/* 2 — Candidature existante : niveau intermédiaire. */
#ttm-auth-shell .ttm-accordion-item--candidate{
  border-color:#E6B88E!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate button.ttm-accordion-trigger{
  background:#F5D7BE!important;
  color:var(--ttm-navy)!important;
  box-shadow:inset 4px 0 0 #B84F00!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate button.ttm-accordion-trigger:hover{
  background:#F0C9A8!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate button.ttm-accordion-trigger > span:last-child{
  background:#B84F00!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate.is-open{
  border-color:#D38A55!important;
  background:#FFF8F2!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate .ttm-accordion-panel{
  background:#FFF8F2!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate .ttm-primary-btn-partner{
  border-color:#B84F00!important;
  background:#B84F00!important;
  color:#FFFFFF!important;
}
#ttm-auth-shell .ttm-accordion-item--candidate .ttm-primary-btn-partner:hover{
  border-color:#9F4D18!important;
  background:#9F4D18!important;
}

/* 3 — Devenir partenaire : CTA principal, visible sans orange agressif. */
#ttm-auth-shell .ttm-accordion-item--join{
  border-color:#E8A15F!important;
  box-shadow:0 8px 24px rgba(13,27,42,.065)!important;
}
#ttm-auth-shell .ttm-accordion-item--join button.ttm-accordion-trigger{
  background:#E98A32!important;
  color:var(--ttm-navy)!important;
  box-shadow:inset 4px 0 0 #D96500!important;
}
#ttm-auth-shell .ttm-accordion-item--join button.ttm-accordion-trigger:hover{
  background:#E17F26!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell .ttm-accordion-item--join button.ttm-accordion-trigger > span:last-child{
  background:rgba(13,27,42,.12)!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell .ttm-accordion-item--join.is-open{
  border-color:#D97824!important;
  background:#FFF6ED!important;
}
#ttm-auth-shell .ttm-accordion-item--join .ttm-accordion-panel{
  background:#FFF6ED!important;
}

/* Liens et choix métier raccordés à la palette plus douce. */
#ttm-auth-shell a.ttm-info-before-choice{
  color:#B84F00!important;
}
#ttm-auth-shell a.ttm-info-before-choice:hover{
  color:#7E3C18!important;
}
#ttm-auth-shell .ttm-partner-module{
  border-color:#E2A56F!important;
  background:#FFFFFF!important;
}
#ttm-auth-shell a.ttm-partner-module.is-active:hover{
  border-color:#D96500!important;
  background:#FFF1E4!important;
}
#ttm-auth-shell .ttm-module-action{
  color:#B84F00!important;
}

/* Les formulaires restent lisibles : accent orange sans saturer toute la surface. */
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within{
  border-color:#D96500!important;
  box-shadow:0 0 0 4px rgba(198,106,40,.13)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field-icon,
#ttm-auth-shell[data-mode="partner"] .ttm-password-toggle,
#ttm-auth-shell[data-mode="partner"] .ttm-text-link{
  color:#B84F00!important;
}

/* Carte Client : reste clairement bleue et séparée du parcours pro. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  background:#EAF3F7!important;
  border-color:#C9DEE8!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
    padding:22px 18px!important;
  }
  #ttm-auth-shell button.ttm-accordion-trigger{
    min-height:60px!important;
  }
}

/* =========================================================
   v0.8.2 — Harmonisation UX "Espace partenaire"
   Référence visuelle fournie :
   - fond pêche : #FDF1E3
   - bordure :    #F2DAC1
   - accent :     #F77A00
   - orange brun: #B84F00
   - suppression des + / − / flèches décoratives
   - actions explicites : Connexion / Reprendre / Choisir / Fermer
   ========================================================= */

#ttm-auth-shell[data-mode="partner"]{
  --ttm-pro-peach:#FDF1E3;
  --ttm-pro-peach-2:#FAE9D8;
  --ttm-pro-peach-3:#F6DFC8;
  --ttm-pro-line:#F2DAC1;
  --ttm-pro-line-strong:#E9BE91;
  --ttm-pro-accent:#F77A00;
  --ttm-pro-accent-dark:#B84F00;
  --ttm-pro-accent-deep:#8D4217;
  background:#F7F9FB!important;
}

/* Carte principale : même langage que la carte "Espace partenaire" validée. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  border-top:3px solid var(--ttm-pro-accent)!important;
  border-left:1px solid rgba(242,218,193,.74)!important;
  border-right:1px solid rgba(242,218,193,.74)!important;
  border-bottom:1px solid rgba(242,218,193,.74)!important;
  border-radius:24px!important;
  background:#FFFFFF!important;
  box-shadow:0 16px 40px rgba(13,27,42,.07)!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-account-icon-partner{
  color:var(--ttm-pro-accent-dark)!important;
  background:var(--ttm-pro-peach)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-kicker-partner{
  color:var(--ttm-pro-accent-dark)!important;
}

/* Accordéons : surfaces calmes, hiérarchie par intensité, pas par saturation vive. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item{
  overflow:hidden!important;
  border:1px solid var(--ttm-pro-line)!important;
  border-radius:15px!important;
  background:#FFFFFF!important;
  box-shadow:none!important;
}

#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
  min-height:66px!important;
  padding:15px 17px 15px 20px!important;
  gap:16px!important;
  color:var(--ttm-navy)!important;
  box-shadow:none!important;
  border:0!important;
}

#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger > span:first-child{
  min-width:0!important;
  text-align:left!important;
}

/* Libellé d'action : remplace le + / −. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-action{
  width:auto!important;
  min-width:88px!important;
  height:auto!important;
  min-height:34px!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 11px!important;
  border:1px solid rgba(170,85,31,.20)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.72)!important;
  color:var(--ttm-pro-accent-dark)!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}

/* 1 — Accès partenaire : le plus calme. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner{
  border-color:var(--ttm-pro-line)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner button.ttm-accordion-trigger{
  background:var(--ttm-pro-peach)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner button.ttm-accordion-trigger:hover{
  background:#FBECD9!important;
}

/* 2 — Reprise de candidature : un cran plus présent. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate{
  border-color:#EECBAA!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate button.ttm-accordion-trigger{
  background:var(--ttm-pro-peach-2)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate button.ttm-accordion-trigger:hover{
  background:#F8E3CF!important;
}

/* 3 — Nouvelle candidature : priorité visuelle, sans gros orange saturé. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join{
  border-color:var(--ttm-pro-line-strong)!important;
  box-shadow:0 5px 14px rgba(170,85,31,.055)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join button.ttm-accordion-trigger{
  background:var(--ttm-pro-peach-3)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join button.ttm-accordion-trigger:hover{
  background:#F3D7BB!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join .ttm-accordion-action{
  border-color:rgba(170,85,31,.30)!important;
  background:#FFFFFF!important;
  color:var(--ttm-pro-accent-deep)!important;
}

/* État ouvert : bordure plus affirmée + action "Fermer", sans changement brutal de couleur. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open{
  border-color:var(--ttm-pro-accent)!important;
  background:#FFFDFC!important;
  box-shadow:0 7px 18px rgba(13,27,42,.055)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open button.ttm-accordion-trigger{
  border-bottom:1px solid rgba(230,128,49,.26)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open .ttm-accordion-action{
  border-color:rgba(170,85,31,.28)!important;
  background:rgba(255,255,255,.84)!important;
  color:var(--ttm-pro-accent-deep)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join .ttm-accordion-panel{
  background:#FFFDFC!important;
}

/* Formulaires : orange uniquement pour l'action et le focus, pas en grandes surfaces. */
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner{
  border-color:var(--ttm-pro-accent)!important;
  background:var(--ttm-pro-accent)!important;
  color:var(--ttm-navy)!important;
  box-shadow:0 7px 16px rgba(230,128,49,.15)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner:hover{
  border-color:#D96500!important;
  background:#D96500!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-secondary-btn-partner{
  border-color:var(--ttm-pro-accent)!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within{
  border-color:var(--ttm-pro-accent)!important;
  box-shadow:0 0 0 4px rgba(230,128,49,.14)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field-icon,
#ttm-auth-shell[data-mode="partner"] .ttm-password-toggle,
#ttm-auth-shell[data-mode="partner"] .ttm-text-link{
  color:var(--ttm-pro-accent-dark)!important;
}

/* "M'informer" = lien textuel explicite, sans flèche décorative. */
#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  color:var(--ttm-pro-accent-dark)!important;
  text-decoration:underline!important;
  text-underline-offset:4px!important;
  text-decoration-thickness:1px!important;
}
#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice:hover{
  color:var(--ttm-pro-accent-deep)!important;
}

/* Choix métier : libellé métier + action "Candidater", aucun pictogramme flèche. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-module{
  min-height:62px!important;
  border:1px solid var(--ttm-pro-line-strong)!important;
  border-radius:13px!important;
  background:#FFFFFF!important;
  color:var(--ttm-navy)!important;
}
#ttm-auth-shell[data-mode="partner"] a.ttm-partner-module.is-active:hover{
  border-color:var(--ttm-pro-accent)!important;
  background:var(--ttm-pro-peach)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-action{
  color:var(--ttm-pro-accent-dark)!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* Carte Client volontairement bleue : séparation nette des univers. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  background:#EAF3F7!important;
  border-color:#C9DEE8!important;
}

@media(max-width:480px){
  #ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
    min-height:60px!important;
    padding:13px 13px 13px 15px!important;
    gap:10px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-action{
    min-width:72px!important;
    min-height:31px!important;
    padding:6px 9px!important;
    font-size:11.5px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-module-action{
    font-size:11px!important;
  }
}

/* Priorité sur les anciennes règles span:last-child (+/−) conservées pour rétrocompatibilité. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item button.ttm-accordion-trigger > .ttm-accordion-action{
  width:auto!important;
  min-width:88px!important;
  height:auto!important;
  min-height:34px!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 11px!important;
  border:1px solid rgba(170,85,31,.20)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.72)!important;
  color:var(--ttm-pro-accent-dark)!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:800!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join button.ttm-accordion-trigger > .ttm-accordion-action{
  border-color:rgba(170,85,31,.30)!important;
  background:#FFFFFF!important;
  color:var(--ttm-pro-accent-deep)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open button.ttm-accordion-trigger > .ttm-accordion-action{
  border-color:rgba(170,85,31,.28)!important;
  background:rgba(255,255,255,.84)!important;
  color:var(--ttm-pro-accent-deep)!important;
}

/* La passerelle "Espace partenaire" reprend exactement la même famille visuelle. */
#ttm-auth-shell .ttm-switch-card-partner{
  background:#FDF1E3!important;
  border-color:#F2DAC1!important;
}
#ttm-auth-shell .ttm-switch-icon-partner{
  color:#B84F00!important;
  background:#FFFFFF!important;
}
#ttm-auth-shell .ttm-switch-card-partner .ttm-secondary-btn-partner{
  border-color:#F77A00!important;
  background:#FFFFFF!important;
  color:#0D1B2A!important;
}
#ttm-auth-shell .ttm-switch-card-partner .ttm-secondary-btn-partner:hover{
  border-color:#C86D2B!important;
  background:#FFF9F3!important;
}

@media(max-width:480px){
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item button.ttm-accordion-trigger > .ttm-accordion-action{
    min-width:72px!important;
    min-height:31px!important;
    padding:6px 9px!important;
    font-size:11.5px!important;
  }
}

/* =========================================================
   v0.8.3 — Cartes de choix premium
   - une seule famille orange, utilisée en accent
   - aucune pilule d'action, aucun + / − / flèche décorative
   - hiérarchie par structure, typographie, espace et état actif
   ========================================================= */
#ttm-auth-shell[data-mode="partner"]{
  --ttm-premium-ink:#0D1B2A;
  --ttm-premium-muted:#617284;
  --ttm-premium-line:#E3E9ED;
  --ttm-premium-line-hover:#D8C1A8;
  --ttm-premium-accent:#F77A00;
  --ttm-premium-accent-dark:#B84F00;
  --ttm-premium-warm:#FFF9F3;
  --ttm-premium-icon:#FFF3E8;
  background:#F7F9FB!important;
}

@media(min-width:768px){
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
    width:min(100%,720px)!important;
  }
}

#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  padding:38px!important;
  border:1px solid #E5EAEE!important;
  border-top:3px solid var(--ttm-premium-accent)!important;
  border-radius:20px!important;
  background:#FFFFFF!important;
  box-shadow:0 22px 60px rgba(13,27,42,.065)!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-mini-accordion{
  gap:12px!important;
  margin-top:24px!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid var(--ttm-premium-line)!important;
  border-radius:14px!important;
  background:#FFFFFF!important;
  box-shadow:0 1px 2px rgba(13,27,42,.025)!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:hover{
  border-color:var(--ttm-premium-line-hover)!important;
  box-shadow:0 8px 24px rgba(13,27,42,.055)!important;
}

#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner button.ttm-accordion-trigger,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate button.ttm-accordion-trigger,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join button.ttm-accordion-trigger{
  width:100%!important;
  min-height:86px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:15px!important;
  padding:16px 20px!important;
  border:0!important;
  border-radius:0!important;
  background:#FFFFFF!important;
  color:var(--ttm-premium-ink)!important;
  box-shadow:none!important;
  text-align:left!important;
  cursor:pointer!important;
}

#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger:hover,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner button.ttm-accordion-trigger:hover,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate button.ttm-accordion-trigger:hover,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join button.ttm-accordion-trigger:hover{
  background:#FFFCF9!important;
}

#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger:focus-visible{
  outline:3px solid rgba(230,128,49,.28)!important;
  outline-offset:-3px!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-choice-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(230,128,49,.16)!important;
  border-radius:12px!important;
  background:var(--ttm-premium-icon)!important;
  color:var(--ttm-premium-accent-dark)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-icon svg{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  min-height:21px!important;
  max-width:21px!important;
  max-height:21px!important;
  display:block!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-choice-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  text-align:left!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-title{
  display:block!important;
  color:var(--ttm-premium-ink)!important;
  font-size:16.5px!important;
  font-weight:850!important;
  line-height:1.25!important;
  letter-spacing:-.012em!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-desc{
  display:block!important;
  color:var(--ttm-premium-muted)!important;
  font-size:13.5px!important;
  font-weight:550!important;
  line-height:1.42!important;
}

/* Plus aucune pastille héritée de la 0.8.2. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-action{
  display:none!important;
}

/* Etat actif : une seule signature orange, légère et précise. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open{
  border-color:#D7A97D!important;
  background:var(--ttm-premium-warm)!important;
  box-shadow:0 10px 28px rgba(13,27,42,.055)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open::before{
  content:"";
  position:absolute;
  z-index:3;
  inset:0 auto 0 0;
  width:3px;
  background:var(--ttm-premium-accent)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open button.ttm-accordion-trigger{
  background:var(--ttm-premium-warm)!important;
  border-bottom:1px solid #F0E2D5!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open .ttm-choice-icon{
  border-color:rgba(230,128,49,.28)!important;
  background:#FFECDA!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate .ttm-accordion-panel,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join .ttm-accordion-panel{
  padding:20px 20px 22px!important;
  background:#FFFCF9!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel > p{
  color:var(--ttm-premium-muted)!important;
  font-size:14px!important;
  line-height:1.5!important;
  margin:0 0 16px!important;
}

/* Modules métier : vraies mini-cartes, sans flèche ni badge décoratif. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-modules{
  gap:10px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-module{
  min-height:68px!important;
  padding:14px 15px!important;
  border:1px solid #DFE6EA!important;
  border-radius:12px!important;
  background:#FFFFFF!important;
  color:var(--ttm-premium-ink)!important;
  box-shadow:none!important;
}
#ttm-auth-shell[data-mode="partner"] a.ttm-partner-module.is-active:hover{
  border-color:#D7A97D!important;
  background:#FFF9F3!important;
  box-shadow:0 6px 18px rgba(13,27,42,.045)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-action{
  color:var(--ttm-premium-accent-dark)!important;
  font-size:12px!important;
  font-weight:800!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-badge{
  background:#EEF2F4!important;
  color:#627280!important;
  border:0!important;
}

#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice{
  margin-bottom:14px!important;
  color:var(--ttm-premium-accent-dark)!important;
  font-size:13px!important;
  font-weight:750!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(169,83,32,.28)!important;
}
#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice:hover{
  color:#7E3C18!important;
  border-bottom-color:#7E3C18!important;
}

/* CTA formulaires : orange réservé à l'action primaire. */
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner{
  min-height:52px!important;
  border-color:var(--ttm-premium-accent-dark)!important;
  background:var(--ttm-premium-accent-dark)!important;
  color:#FFFFFF!important;
  box-shadow:0 8px 20px rgba(169,83,32,.14)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner:hover{
  border-color:#8E451A!important;
  background:#8E451A!important;
  color:#FFFFFF!important;
}

/* La passerelle Client reste distincte mais alignée à la même grille. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  border-radius:18px!important;
  box-shadow:none!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
    padding:24px 18px!important;
    border-radius:18px!important;
  }
  #ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
    min-height:82px!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:12px!important;
    padding:14px 14px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-icon{
    width:40px!important;
    height:40px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-title{
    font-size:15.5px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-desc{
    font-size:12.5px!important;
    line-height:1.38!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel{
    padding:17px 14px 18px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item,
  #ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
    transition:none!important;
  }
}


/* =========================================================
   v0.8.4 — Finition responsive et correction de cascade
   - supprime le faux rond hérité de span:last-child
   - grille icône + contenu réellement fluide
   - cartes plus compactes et lisibles sur mobile
   - métiers enrichis sans ajouter de friction
   - carte Client allégée dans l'espace professionnel
   ========================================================= */

/* CORRECTIF CRITIQUE : une ancienne règle span:last-child transformait
   .ttm-choice-copy en pastille 28x28 et provoquait les textes coupés. */
#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger > .ttm-choice-copy,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item button.ttm-accordion-trigger > .ttm-choice-copy{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  place-items:initial!important;
  flex:initial!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ttm-premium-ink)!important;
  box-shadow:none!important;
  font-size:inherit!important;
  line-height:inherit!important;
  font-weight:inherit!important;
  overflow:visible!important;
}

#ttm-auth-shell[data-mode="partner"] .ttm-choice-title,
#ttm-auth-shell[data-mode="partner"] .ttm-choice-desc{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Cartes fermées : un peu plus compactes sans perdre la zone tactile. */
#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
  min-height:78px!important;
  padding:15px 18px!important;
  gap:14px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-icon{
  width:40px!important;
  height:40px!important;
  border-radius:11px!important;
}

/* Panneau ouvert plus sobre : le fond chaud reste uniquement un signal d'état. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel{
  background:#FFFDFB!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field{
  min-height:54px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field input{
  height:50px!important;
}

/* Métiers : titre + micro-description + vraie action. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-module{
  align-items:center!important;
  min-height:76px!important;
  padding:13px 14px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  text-align:left!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-copy strong{
  color:var(--ttm-premium-ink)!important;
  font-size:14.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-copy small{
  color:var(--ttm-premium-muted)!important;
  font-size:11.5px!important;
  line-height:1.28!important;
  font-weight:600!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-module-action{
  flex:0 0 auto!important;
  color:var(--ttm-premium-accent-dark)!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Lien d'information : clairement secondaire face à Candidater. */
#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice{
  display:inline-flex!important;
  margin:0 0 15px!important;
  color:#526779!important;
  border-bottom:1px solid #C7D1D8!important;
  font-size:12.5px!important;
  font-weight:700!important;
}
#ttm-auth-shell[data-mode="partner"] a.ttm-info-before-choice:hover{
  color:var(--ttm-premium-accent-dark)!important;
  border-bottom-color:rgba(169,83,32,.38)!important;
}

/* Passerelle Client : présente mais secondaire dans l'univers professionnel. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  margin-top:16px!important;
  padding:16px 18px!important;
  border-radius:16px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-switch-head{
  gap:12px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-switch-icon{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client h2{
  font-size:17px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client p{
  font-size:13.5px!important;
  line-height:1.35!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-secondary-btn-client{
  min-height:48px!important;
  margin-top:12px!important;
  font-size:14.5px!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
    padding:18px 14px 22px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
    padding:22px 16px!important;
    border-radius:18px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-account-heading{
    margin-bottom:12px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-card h1{
    font-size:clamp(31px,9vw,36px)!important;
    line-height:1.06!important;
    letter-spacing:-.038em!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-intro{
    margin:8px 0 18px!important;
    font-size:15px!important;
    line-height:1.42!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-mini-accordion{
    gap:10px!important;
    margin-top:18px!important;
  }
  #ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
    min-height:76px!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:12px!important;
    padding:13px 14px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-icon{
    width:38px!important;
    height:38px!important;
    border-radius:11px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-icon svg{
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    min-height:19px!important;
    max-width:19px!important;
    max-height:19px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-copy{
    gap:3px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-title{
    font-size:15px!important;
    line-height:1.22!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-desc{
    font-size:12.5px!important;
    line-height:1.34!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel{
    padding:16px 14px 18px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-panel > p{
    font-size:13px!important;
    margin-bottom:14px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-field,
  #ttm-auth-shell[data-mode="partner"] .ttm-field input{
    min-height:52px!important;
    height:52px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner{
    min-height:50px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
    margin-top:14px!important;
    padding:14px!important;
  }
}

@media(max-width:520px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-modules{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-module{
    min-height:68px!important;
    padding:12px 13px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-module-copy strong{
    font-size:14px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-module-copy small{
    font-size:11.5px!important;
  }
}

/* =========================================================
   v0.8.5 — Guidage visuel et profondeur premium
   - ajoute un repère d'étape réellement utile
   - renforce l'état actif sans gros aplat
   - hiérarchise légèrement la nouvelle candidature
   - ajoute une micro-rassurance sans bruit visuel
   ========================================================= */

#ttm-auth-shell[data-mode="partner"] .ttm-partner-stepbar{
  margin:2px 0 22px!important;
  padding:14px 16px 13px!important;
  border:1px solid #E7EBEE!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#FFFFFF 0%,#FCFDFE 100%)!important;
  box-shadow:0 5px 18px rgba(13,27,42,.035)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:9px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head span{
  color:#3D5668!important;
  font-size:12px!important;
  font-weight:760!important;
  letter-spacing:.01em!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head strong{
  color:var(--ttm-premium-accent-dark)!important;
  font-size:11.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-track{
  position:relative!important;
  height:4px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#EDF1F4!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-track span{
  display:block!important;
  width:50%!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,var(--ttm-premium-accent-dark),var(--ttm-premium-accent))!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
  margin-top:8px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels span{
  color:#81909B!important;
  font-size:10.5px!important;
  font-weight:650!important;
  line-height:1.2!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels span:last-child{
  text-align:right!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels .is-current{
  color:#314B5E!important;
  font-weight:800!important;
}

/* Hiérarchie du titre : le step prend le rôle de contexte, le H1 reste la décision. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-stepbar + h1{
  margin-top:0!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-stepbar + h1 + .ttm-intro{
  margin-top:8px!important;
}

/* Etat actif : un cran plus affirmé sans devenir criard. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open{
  border-color:#CC925E!important;
  background:#FFF8F1!important;
  box-shadow:0 14px 34px rgba(13,27,42,.07),0 0 0 1px rgba(230,128,49,.05)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open::before{
  width:4px!important;
  background:linear-gradient(180deg,var(--ttm-premium-accent),var(--ttm-premium-accent-dark))!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open .ttm-choice-title{
  color:#0A1826!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open .ttm-choice-icon{
  border-color:rgba(230,128,49,.38)!important;
  background:#FFEBD8!important;
  box-shadow:0 5px 14px rgba(169,83,32,.08)!important;
}

/* Nouvelle candidature : légère priorité même fermée, sans couleur pleine. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join:not(.is-open){
  border-color:#E3CCB6!important;
  background:#FFFEFC!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join:not(.is-open) button.ttm-accordion-trigger{
  background:#FFFEFC!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-eyebrow{
  display:block!important;
  margin-bottom:1px!important;
  color:var(--ttm-premium-accent-dark)!important;
  font-size:9.5px!important;
  font-weight:850!important;
  line-height:1.1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

/* Micro-rassurance : guidage doux après les trois choix. */
#ttm-auth-shell[data-mode="partner"] .ttm-path-reassurance{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:16px 4px 0!important;
  color:#6B7C89!important;
  font-size:11.5px!important;
  font-weight:650!important;
  line-height:1.35!important;
  text-align:center!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-path-reassurance-dot{
  width:6px!important;
  height:6px!important;
  flex:0 0 6px!important;
  border-radius:50%!important;
  background:var(--ttm-premium-accent)!important;
  box-shadow:0 0 0 4px rgba(230,128,49,.09)!important;
}

/* Client encore un peu plus secondaire visuellement. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  background:#F2F7FA!important;
  border-color:#D9E7EF!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-secondary-btn-client{
  background:#FFFFFF!important;
  box-shadow:none!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-stepbar{
    margin:0 0 18px!important;
    padding:12px 13px 11px!important;
    border-radius:12px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head{
    margin-bottom:8px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head span{
    font-size:11.5px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-stepbar-head strong{
    font-size:11px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels{
    gap:8px!important;
    margin-top:7px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-stepbar-labels span{
    font-size:9.5px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-choice-eyebrow{
    font-size:9px!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-path-reassurance{
    margin-top:14px!important;
    padding-inline:4px!important;
    font-size:10.5px!important;
  }
}


/* =========================================================
   v0.8.6 — Orientation neutre et relief interactif
   - aucun faux indicateur de parcours / progression
   - trois situations strictement équivalentes
   - fond parent légèrement réchauffé pour détacher les options
   - hover desktop qualitatif, sans dépendance fonctionnelle au hover
   - focus champs plus lisible dans l'univers professionnel
   ========================================================= */

/* La page est une orientation, pas encore un tunnel : aucun step visuel. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-stepbar,
#ttm-auth-shell[data-mode="partner"] .ttm-path-reassurance{
  display:none!important;
}

/* Le conteneur porte une teinte très légère ; les options restent blanches. */
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  background:#FFFAF6!important;
  border-color:#E9E1DA!important;
  border-top-color:var(--ttm-premium-accent)!important;
}

/* Sans stepbar, on retrouve une respiration naturelle entre identité et décision. */
#ttm-auth-shell[data-mode="partner"] .ttm-account-heading{
  margin-bottom:24px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card > h1{
  margin-top:0!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card > .ttm-intro{
  margin-top:8px!important;
}

/* Les trois portes d'entrée sont égales : aucune recommandation implicite. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join:not(.is-open),
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join:not(.is-open) button.ttm-accordion-trigger{
  border-color:var(--ttm-premium-line)!important;
  background:#FFFFFF!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-choice-eyebrow{
  display:none!important;
}

/* Hover desktop : une invitation claire, jamais un changement d'état. */
@media(hover:hover) and (pointer:fine){
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:not(.is-open):hover{
    border-color:#D9A675!important;
    background:#FFFFFF!important;
    box-shadow:0 10px 26px rgba(13,27,42,.07)!important;
    transform:translateY(-1px)!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:not(.is-open):hover button.ttm-accordion-trigger{
    background:#FFFDFB!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:not(.is-open):hover .ttm-choice-icon{
    border-color:rgba(230,128,49,.32)!important;
    background:#FFEFE1!important;
    color:var(--ttm-premium-accent-dark)!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-field:hover:not(:focus-within){
    border-color:#DEC1A6!important;
    background:#FFFFFF!important;
  }
}

/* Focus des champs : plus fort que le hover et cohérent avec l'univers Pro. */
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within{
  border-color:#D7742E!important;
  background:#FFFFFF!important;
  box-shadow:0 0 0 4px rgba(215,116,46,.16)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within .ttm-field-icon,
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within .ttm-password-toggle{
  color:#B84F00!important;
}

/* Le contenu ouvert reste distinct sans donner de priorité au choix concerné. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open{
  border-color:#D6A16F!important;
  background:#FFF8F2!important;
  box-shadow:0 12px 30px rgba(13,27,42,.065)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open button.ttm-accordion-trigger{
  background:#FFF8F2!important;
}

@media(max-width:767px){
  #ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
    background:#FFFBF8!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-account-heading{
    margin-bottom:18px!important;
  }
}

/* =========================================================
   v0.8.7 — Cohérence système Client / Partenaire
   - même colonne visuelle globale sur desktop
   - formulaire Client conservé volontairement plus concentré
   - cartes Pro : relief, focus et hauteur harmonisés
   - passerelle Client plus secondaire dans l'espace Pro
   - aucun changement fonctionnel
   ========================================================= */

/* Même shell de composition sur desktop : continuité entre les deux univers. */
@media(min-width:768px){
  #ttm-auth-shell[data-mode="client"] .ttm-auth-wrap,
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
    width:min(100%,720px)!important;
  }

  /* Le formulaire Client reste plus étroit pour la lisibilité, mais vit dans
     le même shell que le hub Partenaire. */
  #ttm-auth-shell[data-mode="client"] .ttm-auth-panel > .ttm-auth-card-client{
    width:min(100%,620px)!important;
    margin-inline:auto!important;
  }
}

/* Même cadence de carte : rayon, ombre, présence. */
#ttm-auth-shell[data-mode="client"] .ttm-auth-card-client{
  border-radius:20px!important;
  box-shadow:0 18px 48px rgba(13,27,42,.065)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-partner-choice-card{
  border-top-width:2px!important;
  box-shadow:0 18px 48px rgba(13,27,42,.06)!important;
}

/* Cartes d'orientation : hauteur et interaction strictement homogènes. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate,
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--join{
  min-height:78px!important;
  transform:translateY(0);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease!important;
}
#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
  min-height:78px!important;
}

@media(hover:hover) and (pointer:fine){
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:not(.is-open):hover{
    border-color:#D39A66!important;
    box-shadow:0 11px 28px rgba(13,27,42,.075)!important;
    transform:translateY(-2px)!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item:not(.is-open):hover .ttm-choice-title{
    color:#081725!important;
  }
}

/* Focus clavier visible sur toute la carte, pas uniquement sur les champs. */
#ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger:focus-visible{
  outline:3px solid rgba(215,116,46,.34)!important;
  outline-offset:3px!important;
  border-radius:12px!important;
}

/* Etat ouvert : mieux identifiable, sans donner de priorité métier. */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open{
  border-color:#CE925D!important;
  background:#FFF7EF!important;
  box-shadow:0 14px 32px rgba(13,27,42,.075)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open::before{
  width:4px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item.is-open button.ttm-accordion-trigger{
  background:#FFF7EF!important;
}

/* Passerelle Client dans l'univers Pro : utile mais clairement secondaire. */
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client{
  padding:14px 16px!important;
  background:#F3F8FA!important;
  border-color:#DCE8EE!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client h2{
  font-size:16.5px!important;
  font-weight:800!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client p{
  font-size:13px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-switch-card-client .ttm-secondary-btn-client{
  min-height:44px!important;
  margin-top:10px!important;
  font-size:14px!important;
}

/* Formulaire Client : même finesse de focus que l'univers Pro, en bleu. */
#ttm-auth-shell[data-mode="client"] .ttm-field:focus-within{
  border-color:#2F5F7A!important;
  background:#FFFFFF!important;
  box-shadow:0 0 0 4px rgba(47,95,122,.13)!important;
}
#ttm-auth-shell[data-mode="client"] button:focus-visible,
#ttm-auth-shell[data-mode="client"] a:focus-visible{
  outline:3px solid rgba(47,95,122,.26)!important;
  outline-offset:3px!important;
}

/* Mobile : la continuité vient du style, pas d'une largeur forcée. */
@media(max-width:767px){
  #ttm-auth-shell[data-mode="client"] .ttm-auth-wrap,
  #ttm-auth-shell[data-mode="partner"] .ttm-auth-wrap{
    width:100%!important;
  }
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item,
  #ttm-auth-shell[data-mode="partner"] button.ttm-accordion-trigger{
    min-height:74px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  #ttm-auth-shell[data-mode="partner"] .ttm-accordion-item{
    transform:none!important;
    transition:none!important;
  }
}


/* =========================================================
   v0.8.8 — Chargement fiable + charte T&T actuelle
   - évite le FOUC / SVG géants
   - splash léger brandé pendant l'initialisation
   - partenaire : orange #F77A00, bleu #2F5F7A, nuit #0D1B2A
   ========================================================= */
.ttm-auth-shell{
  position:relative;
  min-height:260px;
}
.ttm-auth-shell:not([data-ttm-ready="1"]) .ttm-auth-wrap{
  opacity:0;
  pointer-events:none;
}
.ttm-auth-shell:not([data-ttm-ready="1"])::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:99998;
  background:#0D1B2A url("https://toutettoutmateriaux.fr/wp-content/uploads/2026/09/TTM_Logo_Horizontal_Sombre_Officiel-2.png") center calc(50% - 24px)/min(260px,72vw) auto no-repeat;
}
.ttm-auth-shell:not([data-ttm-ready="1"])::after{
  content:"Chargement de votre espace…";
  position:fixed;
  left:16px;
  right:16px;
  top:calc(50% + 44px);
  z-index:99999;
  color:#FFFFFF;
  text-align:center;
  font-size:14px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:.01em;
  animation:ttmAuthPulse 1.15s ease-in-out infinite alternate;
}
@keyframes ttmAuthPulse{from{opacity:.55}to{opacity:1}}

/* Les dimensions natives des SVG sont aussi définies dans le HTML. Ces bornes
   restent une seconde protection contre tout thème/constructeur de page. */
#ttm-auth-shell svg,
.ttm-auth-shell-embedded svg{
  max-width:24px;
  max-height:24px;
}

/* Charte partenaire officielle : on conserve la structure UX premium, mais
   on élimine les anciennes teintes brun/pêche comme accents principaux. */
#ttm-auth-shell[data-mode="partner"],
.ttm-auth-shell-embedded[data-mode="partner"]{
  --ttm-pro-peach:#FFF4E9;
  --ttm-pro-peach-2:#FFF0E2;
  --ttm-pro-peach-3:#FFE8D1;
  --ttm-pro-line:#F0D3B5;
  --ttm-pro-line-strong:#E7B985;
  --ttm-pro-accent:#F77A00;
  --ttm-pro-accent-dark:#B84F00;
  --ttm-pro-accent-deep:#8E3D00;
  --ttm-premium-accent:#F77A00;
  --ttm-premium-accent-dark:#B84F00;
  --ttm-premium-warm:#FFF8F1;
  --ttm-premium-icon:#FFF0E2;
  background:#F7F9FB!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-account-icon-partner,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-account-icon-partner{
  color:#B84F00!important;
  background:#FFF0E2!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-kicker-partner,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-kicker-partner,
#ttm-auth-shell[data-mode="partner"] .ttm-field-icon,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-field-icon,
#ttm-auth-shell[data-mode="partner"] .ttm-password-toggle,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-password-toggle,
#ttm-auth-shell[data-mode="partner"] .ttm-text-link,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-text-link{
  color:#B84F00!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-primary-btn-partner{
  background:#F77A00!important;
  border-color:#F77A00!important;
  color:#0D1B2A!important;
  box-shadow:0 7px 16px rgba(247,122,0,.16)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-primary-btn-partner:hover,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-primary-btn-partner:hover{
  background:#D96500!important;
  border-color:#D96500!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-field:focus-within,
.ttm-auth-shell-embedded[data-mode="partner"] .ttm-field:focus-within{
  border-color:#F77A00!important;
  box-shadow:0 0 0 4px rgba(247,122,0,.13)!important;
}
#ttm-auth-shell .ttm-switch-card-partner{
  background:#FFF4E9!important;
  border-color:#F0D3B5!important;
}
#ttm-auth-shell .ttm-switch-icon-partner{
  color:#B84F00!important;
}
#ttm-auth-shell .ttm-switch-card-partner .ttm-secondary-btn-partner{
  border-color:#F77A00!important;
  color:#0D1B2A!important;
}

/* Connexion embarquée dans la Mini-PWA : compacte, sans seconde passerelle. */
.ttm-auth-shell-embedded .ttm-auth-wrap{
  width:min(100%,500px);
  padding:22px 0 10px;
}
.ttm-auth-shell-embedded .ttm-auth-card{
  border-top:4px solid #F77A00;
}

@media (prefers-reduced-motion:reduce){
  .ttm-auth-shell:not([data-ttm-ready="1"])::after{animation:none}
  .ttm-auth-panel{transition:none}
}


/* =========================================================
   v0.9.0 — Entrée partenaire prioritaire + connexion compacte
   ========================================================= */
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner{
  border-color:#F77A00!important;
  background:#FFF8F1!important;
  box-shadow:0 4px 14px rgba(13,27,42,.055)!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-choice-icon{
  color:#C85F00!important;
  background:#FFF0E4!important;
  border-color:#F4D5B7!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate:not(.is-open),
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--candidate:not(.is-open) button.ttm-accordion-trigger{
  border-color:#DDE6EB!important;
  background:#FFFFFF!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-field{
  min-height:56px!important;
  height:56px!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-field input{
  min-height:54px!important;
  height:54px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
#ttm-auth-shell[data-mode="partner"] .ttm-accordion-item--partner .ttm-primary-btn-partner{
  width:100%!important;
  justify-content:center!important;
  min-height:52px!important;
}

/* v0.9.1 — connexion par OTP */
.ttm-login-alt{margin-top:2px}
.ttm-login-alt-title{margin:0 0 12px;color:var(--ttm-muted);font-size:14px;line-height:1.45;text-align:center}
.ttm-login-alt .ttm-secondary-btn{min-height:50px}
