body.auth-page {
  display: block;
  padding: 0;
  min-height: 100dvh;
}
.auth-shell {
  width: min(1040px, calc(100% - 40px));
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 42px 0;
}
.auth-context { max-width: 500px; }
.auth-context .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .65rem;
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 999px;
  background: rgba(56, 189, 248, .08);
  color: #bae6fd;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.auth-context h2 { margin: 1.1rem 0 .75rem; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -.055em; }
.auth-context > p { color: #b5c2d5; font-size: .97rem; line-height: 1.7; }
.auth-points { display: grid; gap: .7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.auth-points li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: .7rem; color: #d9e2ef; font-size: .84rem; line-height: 1.45; }
.auth-points i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: rgba(167, 139, 250, .12); color: #c4b5fd; }
.auth-page .card { max-width: 460px; justify-self: end; }
.auth-page .brand span { font-size: 1rem; }
.auth-page h1 { font-size: 1.65rem; }
.auth-page .sub { font-size: .86rem; line-height: 1.55; }
.auth-page label { font-size: .78rem; }
.auth-page input { min-height: 48px; font-size: 16px; }
.auth-page .btn { min-height: 48px; }
.auth-page .password-control { position: relative; }
.auth-page .password-control input { padding-right: 50px; }
.auth-page .password-toggle {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #a9b7cb;
  cursor: pointer;
}
.auth-page .password-toggle:hover { background: rgba(148, 163, 184, .1); color: #f8fafc; }
.auth-field-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 6px; }
.auth-field-row label { margin: 0; }
.auth-field-row a { color: #7dd3fc; font-size: .74rem; font-weight: 700; }
.auth-legal { margin-top: 1.25rem; color: #7f8da4; font-size: .7rem; line-height: 1.55; text-align: center; }
.auth-legal a { color: #a9b7cb; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 800px) {
  .auth-shell { width: min(520px, calc(100% - 28px)); grid-template-columns: 1fr; gap: 1.25rem; padding: max(24px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom)); }
  .auth-context { text-align: center; }
  .auth-context h2 { margin-top: .8rem; font-size: clamp(1.8rem, 9vw, 2.7rem); }
  .auth-context > p { font-size: .88rem; }
  .auth-points { display: none; }
  .auth-page .card { max-width: none; justify-self: stretch; padding: 28px 22px; }
}

@media (max-width: 420px) {
  .auth-context > p { display: none; }
  .auth-context h2 { font-size: 1.7rem; }
  .auth-shell { gap: .9rem; }
}
