.cdhb67m-front{--blue:#003D77;--red:#ef4130;--text:#1f2937;--muted:#667085;font-family:inherit;color:var(--text);max-width:1100px;margin:0 auto}.cdhb67m-account-hero{background:linear-gradient(135deg,#003D77,#0b5a9f);color:white;padding:28px;border-radius:22px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 34px rgba(0,61,119,.16);margin-bottom:20px}.cdhb67m-account-hero h2{color:white;font-size:30px;margin:5px 0}.cdhb67m-account-hero p{margin:0;opacity:.85}.cdhb67m-avatar img{border-radius:50%;border:4px solid rgba(255,255,255,.3)}.cdhb67m-front-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cdhb67m-front-card{background:#fff;border:1px solid #e8edf3;border-radius:18px;padding:22px;box-shadow:0 6px 20px rgba(30,50,80,.06)}.cdhb67m-front-card h2,.cdhb67m-front-card h3{color:#003D77;margin-top:0}.cdhb67m-front-card label{display:block;font-weight:700;margin:12px 0 5px}.cdhb67m-front-card input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #d9e1ea;border-radius:10px}.cdhb67m-btn,.cdhb67m-btn-danger{border:0;border-radius:10px;padding:11px 16px;font-weight:700;cursor:pointer}.cdhb67m-btn{background:#003D77;color:#fff}.cdhb67m-btn:hover{background:#ef4130}.cdhb67m-btn-danger{background:#ef4130;color:#fff}.cdhb67m-role-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f4}.cdhb67m-role-info{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.cdhb67m-role-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;font-size:14px;font-weight:800;line-height:1.2;border:1px solid transparent}.cdhb67m-role-admin_systeme{background:#f2eaff;color:#6d28d9;border-color:#d8b4fe}.cdhb67m-role-salarie{background:#e7f1fb;color:#003D77;border-color:#b9d5ef}.cdhb67m-role-benevole{background:#fff0ed;color:#c52f21;border-color:#ffc6bd}.cdhb67m-role-educateur{background:#eaf8ef;color:#167447;border-color:#bce5cc}.cdhb67m-role-line small{display:block;color:#16834b;margin-top:0;font-weight:600}.cdhb67m-link-btn{background:transparent;border:0;color:#ef4130;font-weight:700;cursor:pointer}.cdhb67m-front-notice{padding:12px 15px;border-radius:12px;background:#e9f8ef;color:#146b3d;margin-bottom:18px;font-weight:700}.cdhb67m-kicker{font-size:11px;font-weight:800;letter-spacing:.14em}.cdhb67m-front-card.danger{border-color:#ffd6cf}.cdhb67m-login{max-width:520px}.cdhb67m-login .cdhb67m-front-card{padding:28px}.cdhb67m-login input[type=text],.cdhb67m-login input[type=password]{width:100%;padding:11px 12px;border:1px solid #d9e1ea;border-radius:10px}.cdhb67m-login input[type=submit]{background:#003D77;color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:700;width:auto}.cdhb67m-login input[type=submit]:hover{background:#ef4130}.cdhb67m-login .login-remember label{display:inline-flex;align-items:center;gap:8px;margin:12px 0 5px}.cdhb67m-login .login-remember input[type=checkbox]{width:auto;padding:0;margin:0;flex:0 0 auto}@media(max-width:760px){.cdhb67m-front-grid{grid-template-columns:1fr}.cdhb67m-account-hero{padding:22px}.cdhb67m-account-hero h2{font-size:25px}.cdhb67m-avatar{display:none}.cdhb67m-role-line{align-items:flex-start;flex-direction:column}}

.cdhb67m-hero-roles{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.cdhb67m-account-hero .cdhb67m-role-badge{box-shadow:0 2px 8px rgba(0,0,0,.08)}.cdhb67m-hero-no-role{font-size:13px;opacity:.8}.cdhb67m-role-name{color:#1f2937;font-size:15px}
.cdhb67m-login-error{margin:0 0 16px;padding:12px 14px;border:1px solid #ffc6bd;border-radius:10px;background:#fff0ed;color:#b42318;font-weight:700}.cdhb67m-password-wrap{position:relative;display:block}.cdhb67m-login .cdhb67m-password-wrap input{padding-right:48px}.cdhb67m-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border:0;background:transparent;color:#667085;cursor:pointer;border-radius:8px;padding:0}.cdhb67m-password-toggle:hover,.cdhb67m-password-toggle:focus{background:#eef4fa;color:#003D77;outline:none}

.cdhb67m-password-toggle .cdhb67m-eye{width:21px;height:21px;display:block;fill:currentColor;pointer-events:none}.cdhb67m-password-toggle .cdhb67m-eye-off{display:none}.cdhb67m-password-toggle.is-visible .cdhb67m-eye-open{display:none}.cdhb67m-password-toggle.is-visible .cdhb67m-eye-off{display:block}

/* v0.1.8 - Bouton afficher/masquer le mot de passe : SVG natif uniquement */
.cdhb67m-login button.cdhb67m-password-toggle{
  -webkit-appearance:none !important;
  appearance:none !important;
  position:absolute !important;
  right:8px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:34px !important;
  min-width:34px !important;
  max-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:#667085 !important;
  font-size:0 !important;
  line-height:1 !important;
  text-indent:0 !important;
  cursor:pointer !important;
}
.cdhb67m-login button.cdhb67m-password-toggle::before,
.cdhb67m-login button.cdhb67m-password-toggle::after{
  content:none !important;
  display:none !important;
}
.cdhb67m-login button.cdhb67m-password-toggle:hover,
.cdhb67m-login button.cdhb67m-password-toggle:focus{
  background:#eef4fa !important;
  color:#003D77 !important;
  outline:none !important;
  box-shadow:none !important;
}
.cdhb67m-login button.cdhb67m-password-toggle svg.cdhb67m-eye{
  display:block;
  width:21px !important;
  height:21px !important;
  min-width:21px;
  fill:currentColor !important;
  stroke:none !important;
  pointer-events:none;
}
.cdhb67m-login button.cdhb67m-password-toggle .cdhb67m-eye-off{display:none !important;}
.cdhb67m-login button.cdhb67m-password-toggle.is-visible .cdhb67m-eye-open{display:none !important;}
.cdhb67m-login button.cdhb67m-password-toggle.is-visible .cdhb67m-eye-off{display:block !important;}

/* v0.2.0 - Inscription, profil enrichi et photo */
.cdhb67m-register{max-width:760px}
.cdhb67m-register .cdhb67m-front-card{padding:28px}
.cdhb67m-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.cdhb67m-form-grid p{margin:0}
.cdhb67m-form-grid .full{grid-column:1/-1}
.cdhb67m-front-card input[type=email],
.cdhb67m-front-card input[type=date],
.cdhb67m-front-card input[type=file],
.cdhb67m-front-card input[type=password]{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #d9e1ea;border-radius:10px;background:#fff;color:#1f2937}
.cdhb67m-front-card input[type=file]{padding:9px}
.cdhb67m-front-card small{display:block;margin-top:5px;color:#667085}
.cdhb67m-check label{display:flex;align-items:flex-start;gap:9px;font-weight:500!important}
.cdhb67m-check input[type=checkbox]{width:auto!important;margin-top:3px}
.cdhb67m-auth-alt{margin-top:20px;padding-top:16px;border-top:1px solid #edf0f4;color:#667085}
.cdhb67m-auth-alt a{color:#003D77;font-weight:700}
.cdhb67m-photo-edit{display:grid;gap:14px}
.cdhb67m-photo-edit>img{width:112px;height:112px;object-fit:cover;border-radius:50%;border:4px solid #eef4fa;box-shadow:0 5px 16px rgba(0,61,119,.12)}
.cdhb67m-avatar img{width:80px;height:80px;object-fit:cover}
.cdhb67m-register .cdhb67m-password-toggle,
.cdhb67m-front .cdhb67m-password-toggle{-webkit-appearance:none!important;appearance:none!important;position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#667085!important;font-size:0!important;cursor:pointer!important}
.cdhb67m-register .cdhb67m-password-toggle:hover,.cdhb67m-front .cdhb67m-password-toggle:hover{background:#eef4fa!important;color:#003D77!important}
.cdhb67m-front .cdhb67m-password-toggle::before,.cdhb67m-front .cdhb67m-password-toggle::after{content:none!important;display:none!important}
@media(max-width:760px){.cdhb67m-form-grid{grid-template-columns:1fr}.cdhb67m-form-grid .full{grid-column:auto}}

/* v0.3.0 - Formulaires dynamiques par rôle */
.cdhb67m-front-card textarea,.cdhb67m-front-card select{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #d9e1ea;border-radius:10px;background:#fff;color:#1f2937;font:inherit}.cdhb67m-front-card textarea{min-height:105px;resize:vertical}.cdhb67m-choice{display:flex!important;align-items:center;gap:8px;font-weight:500!important;margin:7px 0!important}.cdhb67m-choice input{width:auto!important}.cdhb67m-btn-link{display:inline-flex;text-decoration:none;align-items:center}.cdhb67m-profile-fields{grid-column:1/-1}.cdhb67m-profile-photo-field{display:grid;gap:10px;margin-bottom:12px}.cdhb67m-profile-photo-field>img{width:110px;height:110px;object-fit:cover;border-radius:50%;border:4px solid #eef4fa;box-shadow:0 5px 16px rgba(0,61,119,.12)}.cdhb67m-readonly-field{display:flex;flex-direction:column;gap:5px;padding:11px 0}.cdhb67m-readonly-field span{font-size:13px;color:#667085;font-weight:700}.cdhb67m-readonly-field strong{font-size:15px;color:#1f2937}.cdhb67m-readonly-field.full{grid-column:1/-1}
