/* Compact auth pages. Loaded after the existing Aero bundle; preserves the theme. */
.aero-auth-body {
  min-height: 100svh;
  min-height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.aero-auth-main {
  min-height: 0;
  align-self: stretch;
  margin-block: clamp(8px, 1.8vh, 18px);
}
.aero-auth-stage { min-width: 0; }
.aero-auth-card { max-width: 450px; }
.aero-auth-lead strong { color: #173c60; font-weight: 750; }
.aero-otp-input {
  text-align: center;
  letter-spacing: .35em;
  font-size: clamp(1.35rem, 5vw, 1.7rem) !important;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}
.aero-otp-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 18px;
  font-size: .8rem;
  color: #64758a;
}
.aero-otp-resend button {
  border: 0;
  background: transparent;
  padding: 8px 4px;
  font: inherit;
  font-weight: 750;
  color: #075fcb;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aero-otp-resend button:focus-visible {
  outline: 3px solid #0867e8;
  outline-offset: 2px;
  border-radius: 5px;
}
@media (max-height: 840px) and (min-width: 901px) {
  .aero-auth-header { min-height: 62px; }
  .aero-auth-footer { min-height: 54px; }
  .aero-auth-showcase, .aero-auth-stage { padding: clamp(20px, 3vh, 34px); }
  .aero-auth-showcase__features { display: none; }
  .aero-auth-showcase__stats { margin-top: 18px; }
  .aero-auth-card h1 { font-size: clamp(1.6rem, 3vh, 2.1rem); }
  .aero-auth-lead { margin-bottom: 16px; line-height: 1.45; }
  .aero-auth-form { gap: 12px; }
  .aero-auth-field { gap: 4px; }
  .aero-auth-field input { min-height: 44px; padding-block: 8px; }
  .aero-auth-submit { min-height: 44px; }
  .aero-auth-alternative { margin-top: 12px; padding-top: 12px; }
}
@media (max-width: 900px) {
  .aero-auth-showcase { display: none; }
  .aero-auth-main {
    width: min(calc(100% - 24px), 520px);
    grid-template-columns: minmax(0, 1fr);
    justify-self: center;
    margin-block: 8px;
    min-height: 0;
    overflow: visible;
    border-radius: 18px;
  }
  .aero-auth-stage {
    min-height: 0;
    padding: clamp(20px, 3.5vh, 35px) clamp(18px, 5vw, 32px);
  }
  .aero-auth-card { max-width: 430px; }
  .aero-auth-header { min-height: 56px; }
  .aero-auth-footer {
    min-height: 0;
    padding: 10px 0;
    flex-flow: row wrap;
    justify-content: center;
    gap: 6px 18px;
    font-size: 12px;
  }
  .aero-auth-footer nav { gap: 8px 14px; justify-content: center; }
  .aero-auth-lead { margin-bottom: 16px; line-height: 1.4; }
  .aero-auth-form { gap: 12px; }
  .aero-auth-field { gap: 4px; }
  .aero-auth-field input { min-height: 44px; padding: 8px 12px; }
  .aero-auth-submit { min-height: 44px; }
  .aero-auth-card h1 { margin-bottom: 8px; font-size: clamp(1.65rem, 5vw, 2rem); }
  .aero-auth-card > .aero-eyebrow { margin-bottom: 8px; }
  .aero-auth-alternative { margin-top: 13px; padding-top: 12px; }
  .aero-auth-field small { line-height: 1.25; }
  .aero-auth-alert { padding: 9px 12px; margin-bottom: 12px; }
}
@media (max-width: 900px) and (max-height: 720px) {
  .aero-auth-header { min-height: 48px; }
  .aero-auth-logo img { width: 6.4rem; }
  .aero-auth-home { min-height: 38px; min-width: 38px; }
  .aero-auth-main { margin-block: 4px; }
  .aero-auth-stage { padding: 14px 17px; }
  .aero-auth-card h1 { font-size: 1.55rem; }
  .aero-auth-card > .aero-eyebrow { min-height: 23px; padding-inline: 8px; margin-bottom: 6px; }
  .aero-auth-lead { font-size: .82rem; margin-bottom: 11px; }
  .aero-auth-form { gap: 9px; }
  .aero-auth-field { gap: 3px; }
  .aero-auth-field label { font-size: .74rem; }
  .aero-auth-alternative { margin-top: 10px; padding-top: 9px; }
  .aero-auth-footer { padding: 6px 0; }
  .aero-auth-footer nav { gap: 4px 10px; }
  .aero-otp-resend { margin-top: 10px; }
}
@media (max-width: 900px) and (max-height: 620px) {
  .aero-auth-footer { display: none; }
  .aero-auth-main { width: min(calc(100% - 16px), 520px); }
  .aero-auth-stage { padding: 12px 15px; }
}
@media (max-width: 360px) {
  .aero-auth-header { width: calc(100% - 20px); }
  .aero-auth-main { width: calc(100% - 16px); }
  .aero-auth-stage { padding-inline: 14px; }
  .aero-auth-card h1 { font-size: 1.45rem; }
  .aero-auth-label-row { gap: 6px; }
}
@media (max-height: 520px) and (min-width: 901px) {
  .aero-auth-showcase { display: none; }
  .aero-auth-main { width: min(calc(100% - 24px), 520px); grid-template-columns: minmax(0, 1fr); }
  .aero-auth-stage { padding: 18px 24px; }
}
