.auth-page{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-rows:1fr auto;
  min-height:100vh;
  min-height:100svh;
  overflow:hidden;
  padding:clamp(18px,4vh,38px) 18px max(12px,env(safe-area-inset-bottom));
  background:#edf6f2;
}
.auth-page::before{
  position:absolute;
  z-index:-1;
  inset:-20%;
  content:"";
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 48%,#ffffff 0 175px,transparent 176px),
    radial-gradient(circle at 12% 18%,#cfeee2 0,transparent 28%),
    radial-gradient(circle at 86% 78%,#d8eee6 0,transparent 30%),
    linear-gradient(#087d6809 1px,transparent 1px),
    linear-gradient(90deg,#087d6809 1px,transparent 1px);
  background-size:auto,auto,auto,36px 36px,36px 36px;
  animation:login-background-drift 28s ease-in-out infinite alternate;
}
.auth-page::after{
  position:absolute;
  z-index:-1;
  top:17%;
  right:max(8%,calc((100vw - 460px)/2 - 68px));
  display:grid;
  width:58px;
  height:58px;
  place-items:center;
  content:"✓";
  border:1px solid #087d6820;
  border-radius:19px;
  background:#ffffff80;
  color:#087d6855;
  font-size:31px;
  font-weight:700;
  box-shadow:0 12px 35px #075f510c;
  animation:login-check-float 5s ease-in-out infinite;
}
.auth-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:center;
  justify-items:stretch;
  gap:15px;
  width:min(100%,410px);
  min-height:0;
  margin:auto;
}
.auth-visual{
  overflow:visible;
  padding:0;
  color:var(--ink);
  text-align:center;
  animation:login-enter .65s .03s both;
}
.auth-visual::before,.auth-visual::after{display:none}
.login-logo-large{
  width:62px;
  height:62px;
  margin:0 auto 8px;
  animation:login-logo-float 4.8s ease-in-out infinite;
}
.auth-logo,.login-logo img{filter:drop-shadow(0 8px 14px #075f5126)}
.auth-kicker,.auth-visual-note{display:none}
.auth-visual h1{
  margin:0;
  color:var(--ink);
  font-size:clamp(23px,5vw,28px);
  font-weight:700;
  line-height:1.3;
  letter-spacing:-.5px;
}
.auth-card{
  width:100%;
  padding:25px 28px 21px;
  border:1px solid #ffffffd9;
  border-radius:22px;
  background:#ffffffed;
  box-shadow:0 22px 65px #174d3c16,0 3px 12px #174d3c08;
  backdrop-filter:blur(12px);
  animation:login-enter .7s .1s both;
}
.auth-card-heading{margin-bottom:16px;text-align:center}
.auth-card-heading .eyebrow,.auth-card .auth-description{display:none}
.auth-card h2{margin:0;color:var(--ink);font-size:21px;line-height:1.3;letter-spacing:-.2px}
.auth-hint{margin:10px 0 0;color:#728980;text-align:center;font-size:12px;line-height:1.5}
.auth-alert{margin-bottom:13px}
.back-link{margin-top:15px;color:#657d74;font-size:12px}
.auth-page footer{position:static;align-self:end;justify-self:center;margin-top:10px;color:#82968e;font-size:10px}
@keyframes login-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes login-logo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes login-check-float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-10px) rotate(2deg)}}
@keyframes login-background-drift{from{transform:translate3d(-1%,0,0)}to{transform:translate3d(1%,1%,0)}}
@media(max-width:480px){
  .auth-page{padding:16px 16px max(12px,env(safe-area-inset-bottom))}
  .auth-shell{width:min(100%,380px);gap:12px}
  .login-logo-large{width:54px;height:54px;margin-bottom:6px}
  .auth-visual h1{font-size:23px}
  .auth-card{padding:22px 19px 18px;border-radius:19px}
  .auth-card-heading{margin-bottom:13px}
  .auth-card h2{font-size:20px}
  .auth-page::after{top:9%;right:8%;width:42px;height:42px;border-radius:14px;font-size:23px}
}
@media(max-height:650px){
  .auth-page{padding-top:12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .auth-shell{gap:9px}
  .login-logo-large{width:46px;height:46px;margin-bottom:4px}
  .auth-card{padding-top:18px;padding-bottom:15px}
  .auth-page footer{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){
  .auth-page::before,.auth-page::after,.auth-visual,.login-logo-large,.auth-card{animation:none!important}
}
