#app.auth-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  max-width: none;
  padding: 24px 16px;
}
.auth-page ~ #tabs[hidden] { display: none; }
.auth-card {
  width: min(100%, 430px);
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.auth-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 22px; }
.auth-card h1 { font-size: clamp(27px, 6vw, 36px); letter-spacing: -.04em; margin-bottom: 24px; }
.auth-card form { display: grid; gap: 8px; }
.auth-card form label { font-weight: 650; margin-top: 5px; }
.auth-card form input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.auth-password { position: relative; }
.auth-card .auth-password input { padding-right: 88px; }
.auth-password button { position: absolute; inset: 3px 6px 3px auto; padding: 0 8px; font-size: 14px; }
.auth-message { margin: 0; font-size: 14px; }
.auth-message:empty { display: none; }
.auth-submit {
  min-height: 48px;
  margin-top: 8px;
  border-radius: 12px;
  background: #1760d6;
  color: white;
  text-align: center;
  font-weight: 700;
}
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-card details { margin-top: 18px; color: var(--muted); }
.auth-card summary { cursor: pointer; }
.auth-card .appearance-options { margin-top: 10px; }
.auth-brand img { display: block; border-radius: 12px; object-fit: contain; }
