[hidden] { display: none !important; }
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: radial-gradient(circle at 50% 15%, #e7f3ef 0, #f5f8f7 48%, #f5f8f7 100%);
}
.auth-card {
  width: min(100%, 440px);
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(30, 70, 58, .09);
  text-align: center;
}
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 780; letter-spacing: -.5px; font-size: 19px; }
.auth-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); font-size: 27px; }
.auth-card h1 { font-size: 29px; }
.auth-description { color: var(--muted); font-size: 14px; margin: 12px 0 22px; }
.auth-login-btn { width: 100%; min-height: 48px; }
.auth-login-btn:disabled, .auth-logout-btn:disabled { opacity: .65; cursor: wait; }
.auth-setup-note { display: grid; gap: 5px; text-align: left; background: var(--warning-soft); color: #80591d; border: 1px solid #f1dfbd; border-radius: 12px; padding: 13px 14px; font-size: 12px; }
.auth-setup-note span { line-height: 1.5; }
.auth-error { margin-top: 14px; padding: 12px 14px; background: #fff0ef; color: #9b3028; border: 1px solid #f4d2cf; border-radius: 12px; font-size: 12px; text-align: left; }
.auth-footnote { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.auth-logout-btn { border: 1px solid var(--line); color: var(--text); background: #fff; border-radius: 9px; padding: 7px 10px; font-size: 11px; font-weight: 650; }
.auth-logout-btn:hover { background: var(--surface-soft); }
@media (max-width: 760px) {
  .auth-card { padding: 27px 21px; }
  .auth-card h1 { font-size: 26px; }
  .auth-logout-btn { padding: 6px 8px; }
  .top-right { gap: 7px; }
}
