/* Fill the visible phone window, not a fixed device-specific height.
 * The shell may grow past this minimum; the original outer scroll surface
 * keeps fields and the submit button reachable on short/keyboard screens. */
@layer peV2SoftBlue20261018n {
  @media (max-width:768px) {
    html.peV2PhoneRenderGuard #loginScreen.loginScreen.peLoginScreen {
      height:100%!important;
      height:100dvh!important;
      min-height:0!important;
      align-items:flex-start!important;
    }
    html.peV2PhoneRenderGuard #loginScreen.loginScreen.peLoginScreen .peLoginShell {
      margin-block:0!important;
      min-height:100%!important;
      height:auto!important;
      flex-shrink:0;
      grid-template-rows:auto minmax(min-content,1fr)!important;
    }
    /* Absorb spare room in the welcome panel. Form controls keep their
     * natural height and spacing, including the original error-message area. */
    html.peV2PhoneRenderGuard #loginScreen.loginScreen.peLoginScreen .peLoginBody {
      grid-template-rows:minmax(min-content,1fr) auto!important;
    }
    html.peV2PhoneRenderGuard #loginScreen.loginScreen.peLoginScreen .peLoginIntro {
      justify-content:center!important;
    }
  }
}
