.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gray-100);
  color: var(--black);
}
.auth-header {
  color: var(--white);
}
.auth-header > a:last-child {
  font-size: 0.875rem;
  text-underline-offset: 0.25em;
}
.auth-header .btn {
  font-family: inherit;
}
.auth-main {
  flex: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 5rem 0;
  background: var(--navy-deep);
  color: var(--white);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.auth-intro h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.15;
}
.auth-intro > p:not(.auth-kicker) {
  color: var(--sky);
  max-width: 27rem;
}
.auth-intro > a {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  text-underline-offset: 0.3em;
}
.auth-card {
  width: 100%;
  max-width: 32rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 1.25rem;
  color: var(--black);
  box-shadow: 0 24px 80px #00000020;
  justify-self: end;
}
.auth-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #14428b;
  margin-bottom: 1rem;
}
.auth-intro .auth-kicker {
  color: var(--sky);
}
.auth-card h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}
.auth-muted,
.auth-help,
.auth-footnote {
  color: #4a5568;
}
.auth-form {
  display: flex;
  flex-direction: column;
  margin-top: 1.75rem;
}
.auth-form label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.auth-form input:not([type="hidden"]) {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 1rem;
  border: 1px solid #8a94a6;
  border-radius: 0.5rem;
  background: #fff;
  color: #0b1f3a;
  font: inherit;
}
.auth-form .btn {
  margin-top: 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  min-height: 3rem;
}
.auth-help {
  font-size: 0.8125rem;
  margin: 0.625rem 0 0;
  line-height: 1.6;
}
.auth-footnote {
  font-size: 0.8125rem;
  line-height: 1.6;
  border-top: 1px solid #e4e7ec;
  padding-top: 1.5rem;
  margin: 1.75rem 0 0;
}
.auth-notice {
  padding: 0.875rem 1rem;
  border-left: 3px solid #14428b;
  background: #eef3fb;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.auth-pairing {
  background: #f3f6fa;
  border: 1px solid #dbe3ef;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.auth-pairing span {
  display: block;
  font-size: 0.8125rem;
}
.auth-pairing strong {
  display: block;
  font-size: 2rem;
  letter-spacing: 0.25em;
  font-variant-numeric: tabular-nums;
}
.auth-form .auth-code-input {
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  font-variant-numeric: tabular-nums;
}
.auth-text-button {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  color: #14428b;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
}
.auth-resend {
  margin-top: 1.25rem;
}
.auth-secondary {
  display: inline-block;
  font-size: 0.8125rem;
  color: #4a5568;
  margin-top: 0.5rem;
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
  color: var(--gray-700);
  font-size: 0.8125rem;
  border-top: 1px solid var(--gray-300);
  background: var(--white);
}
.auth-skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  z-index: 2;
}
.auth-skip:focus {
  top: 1rem;
}
.auth-body :focus-visible {
  outline: 3px solid #2f6fd0;
  outline-offset: 4px;
}
.portal-main {
  width: 100%;
  flex: 1;
  padding-bottom: 5rem;
}
.portal-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background: var(--navy-deep);
  color: var(--white);
}
.portal-heading .auth-kicker,
.portal-heading .auth-muted {
  color: var(--sky);
}
.portal-heading .hero__glow {
  background:
    radial-gradient(ellipse at top right, #2f6fd040, transparent 65%),
    radial-gradient(ellipse at bottom left, #14428b50, transparent 65%),
    radial-gradient(ellipse at 65% 60%, #aecbef18, transparent 55%);
}
.portal-heading .orb {
  display: none;
  animation: none;
  filter: none;
  will-change: auto;
}
.portal-heading h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.portal-heading strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.portal-empty {
  position: relative;
  width: calc(100% - 3rem);
  max-width: calc(var(--container) - 3rem);
  margin: -2rem auto 0;
  box-shadow: 0 12px 40px #06142a06;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 1.25rem;
}
.portal-empty p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.portal-empty .btn {
  margin-top: 1rem;
}
.portal-symbol {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  border-radius: 0.75rem;
  background: #eef3fb;
  color: #14428b;
  font-size: 2rem;
  font-weight: 400;
}
.portal-symbol svg {
  width: 1.5rem;
  height: 1.5rem;
}
@media (max-width: 760px) {
  .auth-main {
    padding: 2.5rem 0;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 36rem;
  }
  .auth-intro h2 {
    font-size: 2rem;
  }
  .auth-intro > a {
    margin-top: 0.5rem;
  }
  .auth-card {
    max-width: none;
  }
  .portal-heading {
    padding: 3rem 0 4rem;
  }
  .auth-footer {
    padding: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-body {
    scroll-behavior: auto;
  }
  .auth-body .orb {
    animation: none;
  }
  .auth-body .btn {
    transition: none;
  }
  .auth-body .btn:hover {
    transform: none;
  }
}
