/* MH registration review and stable responsive auth, 2026-10-26.
   Keep native email-only verification, native password field and login handlers. */

/* Desktop: extend the right-side form 75px toward the left without moving the outer card.
   Do not push the scene beyond the visible viewport. */
@media(min-width:1150px){
 html body #auth#auth#auth.auth-wrap.mh88-enabled.mh-easy-auth-on > .auth-card{
  width:min(1090px,calc(100vw - 44px))!important;
  max-width:min(1090px,calc(100vw - 44px))!important;
  min-width:0!important;
  padding-left:485px!important;
  box-sizing:border-box!important;
 }
}
html body #auth#auth#auth.auth-wrap.mh88-enabled.mh-easy-auth-on > .auth-card{
 transition:none!important; animation:none!important;
 will-change:auto!important;
}
html body .auth-wrap > .auth-card :is(#loginForm,#registerForm,#officeRegisterForm,.brand-auth){
 transition-property:background-color,border-color,box-shadow,opacity!important;
}
html body .auth-wrap{min-width:0!important}
html body .mh-reg-chat-overlay .mh-reg-chat{
 width:min(650px,calc(100vw - 28px))!important;
 max-width:min(650px,calc(100vw - 28px))!important;
 max-height:min(790px,calc(100dvh - 22px))!important;
 min-width:0!important;
}
html body .mh-reg-chat-overlay .mh-reg-chat-messages{
 min-height:90px!important;flex:1 1 auto!important;overflow:auto!important;
 overscroll-behavior:contain;
}
html body #mhRegReviewPanel{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:start!important;gap:11px!important;
 border:1px solid #ebc6d5!important;border-radius:16px!important;
 background:#fff8fb!important;color:#352630!important;
 padding:14px 16px!important;max-height:min(370px,42dvh)!important;overflow:auto!important;
}
html body #mhRegReviewPanel[hidden]{display:none!important}
html body #mhRegReviewPanel>h3,html body #mhRegReviewPanel>#mhRegReviewFeedback,
html body #mhRegReviewPanel>#mhRegReviewConfirm{
 grid-column:1/-1!important;margin:0!important
}
html body #mhRegReviewPanel>h3{font-size:18px!important;line-height:1.6!important;color:#8d1535!important}
html body #mhRegReviewPanel .mh-reg-review-field{
 display:flex!important;flex-direction:column!important;
 gap:6px!important;min-width:0!important;
 font-size:14px!important;font-weight:750!important;color:#473440!important
}
html body #mhRegReviewPanel .mh-reg-review-field input,
html body #mhRegReviewPanel .mh-reg-review-field select{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 height:43px!important;min-height:43px!important;
 padding:7px 10px!important;border-radius:10px!important;
 background:#fff!important;color:#2d2530!important;
 border:1px solid #dcc5d2!important;font-size:15px!important;
}
html body #mhRegReviewPanel #mhRegReviewFeedback{
 color:#94163b!important;font-size:14px!important;line-height:1.6!important
}
html body #mhRegReviewPanel #mhRegReviewConfirm{
 background:#b30c37!important;color:#fff!important;
 min-height:48px!important;border:none!important;
 border-radius:12px!important;font-size:16px!important;
 font-weight:850!important;cursor:pointer
}
html body #mhRegReviewPanel #mhRegReviewConfirm:disabled{opacity:.6!important;cursor:wait!important}
html.mh-glass-dark body #mhRegReviewPanel{
 background:#36283b!important;color:#f9edf4!important;border-color:#86596e!important
}
html.mh-glass-dark body #mhRegReviewPanel>h3,
html.mh-glass-dark body #mhRegReviewPanel .mh-reg-review-field{color:#fff0f7!important}
html.mh-glass-dark body #mhRegReviewPanel .mh-reg-review-field :is(input,select){
 background:#49394b!important;color:#fff!important;border-color:#96738a!important
}
@media(max-width:700px){
 html body #auth#auth#auth.auth-wrap.mh88-enabled.mh-easy-auth-on > .auth-card{
  width:100%!important;max-width:100%!important;
  min-width:0!important;box-sizing:border-box!important
 }
 html body #mhRegReviewPanel{grid-template-columns:1fr!important}
 html body .mh-reg-chat-overlay .mh-reg-chat{max-height:calc(100dvh - 12px)!important}
}
@media(prefers-reduced-motion:reduce){
 html body .auth-wrap *,html body .mh-reg-chat-overlay *{
  animation-duration:0.01ms!important;
  transition-duration:0.01ms!important;
  scroll-behavior:auto!important
 }
}