.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 113, 227, .1), transparent 28rem),
    radial-gradient(circle at 88% 90%, rgba(30, 190, 170, .09), transparent 27rem),
    #f5f8fc;
}
.auth-shell { width: min(100% - 32px, 470px); min-height: 100vh; margin: 0 auto; padding: 42px 0 30px; display: flex; flex-direction: column; justify-content: center; }
.auth-brand { display: inline-flex; align-items: baseline; align-self: center; gap: 6px; margin: 0 0 24px; color: var(--apple-blue); font-size: 21px; font-weight: 500; letter-spacing: -.055em; }
.auth-brand b { color: #17191d; font-size: 23px; font-weight: 800; }
.auth-card { padding: 34px; border: 1px solid rgba(30, 55, 85, .1); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 22px 70px rgba(27, 52, 86, .13); }
.auth-eyebrow { margin: 0 0 8px; color: var(--apple-blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.auth-card h1 { margin: 0; color: #17191d; font-size: 27px; font-weight: 800; letter-spacing: -.045em; }
.auth-intro { margin: 9px 0 23px; color: #687587; font-size: 12px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; border-radius: 11px; background: #f2f5f9; }
.auth-tabs > * { display: flex; min-height: 38px; align-items: center; justify-content: center; border-radius: 8px; color: #788495; font-size: 12px; font-weight: 750; }
.auth-tabs .is-active { background: #fff; color: var(--apple-blue); box-shadow: 0 2px 8px rgba(21, 42, 68, .1); }
.auth-form { display: flex; flex-direction: column; gap: 8px; }
.auth-form[hidden] { display: none; }
.auth-form label { margin-top: 4px; color: #465365; font-size: 11px; font-weight: 750; }
.auth-form input { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #d6dde7; border-radius: 10px; outline: none; background: #fff; color: #202630; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.auth-form input:focus { border-color: var(--apple-blue); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.auth-input-action { display: flex; gap: 8px; }
.auth-input-action input { min-width: 0; flex: 1; }
.auth-secondary-btn { flex: 0 0 auto; min-height: 45px; padding: 0 13px; border: 1px solid #1680ed; border-radius: 10px; background: #eef6ff; color: #076bd0; font-size: 11px; font-weight: 800; }
.auth-secondary-btn:hover { background: #e1efff; }
.auth-secondary-btn:disabled { cursor: wait; opacity: .65; }
.auth-links-row { display: flex; justify-content: center; gap: 13px; margin: 14px 0 0; color: #718095; font-size: 11px; }
.auth-links-row a:hover { color: var(--apple-blue); }
.auth-tabs button { border: 0; background: transparent; cursor: pointer; }
.auth-tabs button.is-active { background: #fff; color: var(--apple-blue); box-shadow: 0 2px 8px rgba(21, 42, 68, .1); }
.auth-recovery-panel[hidden] { display: none; }
.auth-recovery-panel > p { margin: 0 0 15px; color: #687587; font-size: 11px; line-height: 1.65; }
.auth-recovery-panel .auth-feedback { margin-top: 10px; }
.auth-recovery-panel .auth-primary-btn { margin-top: 13px; }
.auth-field-hint { margin: -3px 0 2px; color: #788495; font-size: 10px; }
.auth-primary-btn { width: 100%; min-height: 47px; margin-top: 8px; border: 0; border-radius: 10px; background: #0875e1; color: #fff; font-size: 13px; font-weight: 800; transition: background .15s, transform .15s; }
.auth-primary-btn:hover { background: #0066cc; }
.auth-primary-btn:active { transform: translateY(1px); }
.auth-primary-btn:disabled { cursor: wait; opacity: .68; }
.auth-feedback { margin: 5px 0 0; padding: 10px 11px; border-radius: 9px; background: #fff0ef; color: #b93830; font-size: 11px; line-height: 1.5; }
.auth-feedback[hidden] { display: none; }
.auth-feedback--success { margin: 0 0 15px; background: #eaf7ef; color: #18764b; }
.auth-feedback--disabled { margin: 0; background: #edf4fb; color: #526980; }
.auth-footnote { margin: 18px 0 0; color: #8792a1; font-size: 10px; line-height: 1.5; text-align: center; }
.auth-home-link { align-self: center; margin-top: 19px; color: #6d7b8d; font-size: 11px; font-weight: 650; }
.auth-home-link:hover { color: var(--apple-blue); }
@media (max-width: 520px) {
  .auth-shell { width: min(100% - 24px, 470px); padding: 24px 0; }
  .auth-card { padding: 25px 21px; border-radius: 16px; }
  .auth-input-action { gap: 6px; }
  .auth-secondary-btn { padding: 0 9px; font-size: 10px; }
}
