.login-body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
}

.login-brand {
  min-width: 0;
  padding: clamp(48px, 7vw, 110px);
}

.login-brand .eyebrow {
  margin: 0 0 12px;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.login-brand > p:not(.eyebrow) {
  margin: 0;
  line-height: 1.75;
}

.login-card {
  width: min(470px, calc(100% - 48px));
  max-height: calc(100dvh - 40px);
  margin: 20px 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.login-card-head,
.login-card form {
  flex: none;
}

.login-card label {
  min-width: 0;
}

.login-card input {
  width: 100%;
  min-width: 0;
}

.captcha-row {
  grid-template-columns: minmax(0, 1fr) 48px;
  overflow: visible;
}

.captcha-row img {
  height: 72px;
  object-fit: fill;
  cursor: pointer;
  user-select: none;
}

.captcha-row button {
  min-height: 72px;
  font-size: 1.45rem;
  font-weight: 800;
}

.login-submit {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .login-body {
    background: radial-gradient(circle at 50% 0, #dbeafe, transparent 42%), #f4f7fb;
  }

  .login-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .login-brand {
    display: none;
  }

  .login-card {
    width: min(470px, 100%);
    max-height: none;
    margin: 0;
  }
}

@media (max-width: 520px) {
  .login-shell {
    align-items: flex-start;
    padding: 12px;
  }

  .login-card {
    width: 100%;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .login-card-head {
    margin-bottom: 22px;
  }

  .restricted-access {
    margin-bottom: 16px;
  }

  .captcha-row {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .captcha-row img,
  .captcha-row button {
    height: 64px;
    min-height: 64px;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .login-card {
    padding: 26px 32px;
  }

  .login-card-head {
    margin-bottom: 20px;
  }

  .captcha-row img,
  .captcha-row button {
    height: 62px;
    min-height: 62px;
  }
}
.login-register-link{margin:15px 0 0;text-align:center;color:#6b778c;font-size:.72rem}.login-register-link a{color:#2563eb;font-weight:850;text-decoration:none}.register-passwords{display:grid;grid-template-columns:1fr 1fr;gap:10px}.alert.success{background:#dcfce7;color:#166534}@media(max-width:650px){.register-passwords{grid-template-columns:1fr}}
