/* 0.28.76 — auth alignment polish + resilient full-bleed layout */
.hj-auth-formpane{
  justify-content:flex-start!important;
  padding-top:max(86px,calc((100dvh - 720px)/2 + 44px))!important;
  padding-bottom:max(44px,env(safe-area-inset-bottom))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.hj-auth-view{margin-top:0!important;margin-bottom:auto!important}
.hj-auth-window-dots{top:30px!important}
.hj-auth-back{flex:0 0 auto!important;margin-top:0!important}
.hj-auth-view[data-hj-auth-view="signup"] form{align-content:start}
.hj-auth-phone-wrap,.hj-auth-phone-wrap>.iti{max-width:100%;min-width:0}
.hj-auth-phone-wrap .iti__tel-input{padding-top:0!important;padding-bottom:0!important;line-height:52px!important}
.hj-auth-phone-wrap .iti__selected-country{height:100%!important;align-items:center!important}
.hj-auth-phone-wrap .iti__selected-country-primary{height:100%!important;display:flex!important;align-items:center!important}
.hj-auth-phone-wrap .iti__flag{flex:0 0 auto!important}
.hj-auth-phone-wrap .iti__selected-dial-code{line-height:1!important}
.hj-auth-phone-label small{max-width:100%}
.hj-auth-switch{padding-bottom:2px}
@media(min-width:851px) and (min-height:820px){
  .hj-auth-formpane{padding-top:max(104px,calc((100dvh - 720px)/2 + 54px))!important}
}
@media(max-height:760px) and (min-width:851px){
  .hj-auth-formpane{padding-top:64px!important;padding-bottom:28px!important}
  .hj-auth-window-dots{top:22px!important}
  .hj-auth-back{margin-bottom:20px!important}
  .hj-auth-lead{margin-bottom:18px!important}
}
@media(max-width:850px){
  html:has(.hj-auth),body:has(.hj-auth){height:auto!important;min-height:100%!important;overflow:auto!important}
  .hj-auth{position:fixed!important;inset:0!important;min-height:100dvh!important;overflow:auto!important}
  .hj-auth-shell{min-height:100dvh!important;height:auto!important;overflow:visible!important}
  .hj-auth-formpane{
    min-height:100dvh!important;height:auto!important;
    padding-top:max(82px,calc(env(safe-area-inset-top) + 64px))!important;
    padding-left:max(22px,env(safe-area-inset-left))!important;
    padding-right:max(22px,env(safe-area-inset-right))!important;
    padding-bottom:max(38px,env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }
  .hj-auth-window-dots{top:max(25px,env(safe-area-inset-top))!important}
  .hj-auth-view{width:min(100%,500px)!important;margin-inline:auto!important;margin-bottom:0!important}
  .hj-auth-back{margin-bottom:26px!important}
}
@media(max-width:560px){
  .hj-auth-formpane{padding-left:max(20px,env(safe-area-inset-left))!important;padding-right:max(20px,env(safe-area-inset-right))!important}
  .hj-auth h1{font-size:29px!important}
  .hj-auth-lead{font-size:14px!important}
  .hj-auth form{gap:14px!important}
  .hj-auth-switch{margin-top:18px!important}
}
