.auth-page { min-height: 100dvh; padding-bottom: 30px; }
.auth-page [hidden] { display: none !important; }
.auth-header { width: min(972px, calc(100% - 36px)); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-brand { display: inline-flex; align-items: center; color: var(--text); font-size: 1.12rem; font-weight: 750; gap: 9px; }
.auth-brand img, .auth-intro img { border-radius: 12px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); width: min(880px, calc(100% - 36px)); margin: clamp(10px, 4vw, 40px) auto; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--fv-shadow); overflow: hidden; background: white; }
.auth-intro { padding: clamp(24px, 5vw, 45px); background: radial-gradient(ellipse at 10% 3%, #e4d6fc, transparent 62%), linear-gradient(140deg, #eee4ff, #faf7ff); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-right: 1px solid var(--line); }
.auth-intro h2 { font-size: clamp(1.45rem, 3vw, 2.23rem); line-height: 1.2; margin: 20px 0 10px; }
.auth-intro p { color: var(--muted); line-height: 1.6; }
.auth-intro a { font-weight: 700; }
.auth-panel { padding: clamp(19px, 4vw, 38px); min-width: 0; }
.auth-heading h1 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.1rem); }
.auth-tagline { margin: 4px 0 16px; }
.auth-tabs { margin-bottom: 14px; }
.auth-panel input { border-radius: 9px; background: var(--fv-primary-subtle); }
.auth-panel input:focus { background: white; }
.auth-password { display: flex; position: relative; }
.auth-password input { padding-right: 64px; }
.auth-page #show-password { position: absolute; inset: 8px 0 auto auto; width: auto; height: 44px; margin: 0; padding: 0 10px; border: 0; background: transparent; color: var(--primary); box-shadow: none; }
.auth-panel #msg { min-height: 1.1rem; margin: 7px 0 0; }
.auth-help { margin: 12px 0 0; }
.auth-help a { margin-right: 8px; }
@media (max-width: 690px) {
  .auth-header { min-height: 62px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .auth-intro { display: none; }
}
