/* Desktop-only recovery dialog header. Mobile recovery remains unchanged. */
@media screen and (min-width: 901px) {
  html body #root .login-recovery-modal {
    position: relative !important;
  }

  html body #root .login-recovery-modal > .login-recovery-back {
    position: absolute !important;
    inset: 28px auto auto 28px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  html body #root .login-recovery-modal > small,
  html body #root .login-recovery-modal > h2 {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 76px !important;
  }

  html body #root .login-recovery-modal > small {
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
  }

  html body #root .login-recovery-modal > h2 {
    min-height: 44px !important;
    margin-top: 0 !important;
  }

  html body #root > .login-screen:not(.login-action-screen) {
    grid-template-rows: 60px auto 44px !important;
  }

  html body #root > .login-screen:not(.login-action-screen) > .login-panel {
    max-height: none !important;
  }

  html body #root > .login-screen:not(.login-action-screen) > .login-assist-stack {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    z-index: auto !important;
  }
}
