/* Sign-in screens for the Engagement Dashboard; uses the page's brand tokens from index.html. Matches Veluma's cream login. */
body.auth-locked { overflow: hidden; }
.auth-gate {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  padding: 32px 16px; background: var(--bg, #F8F4EC);
  background-image: radial-gradient(900px 500px at 85% 0%, rgba(254, 1, 154, .08), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(28, 2, 100, .07), transparent 60%);
  font-family: var(--body, system-ui, sans-serif);
}
.auth-brand { color: var(--fg, #1C0264); font-family: var(--display, Georgia, serif); font-style: italic; font-weight: 700; font-size: 1.6rem; letter-spacing: -.01em; text-align: center; }
.auth-card {
  width: min(400px, 100%); display: flex; flex-direction: column; gap: 6px;
  padding: 28px; border-radius: var(--r, 10px); background: var(--surface, #fff); color: var(--fg, #18122F);
  border: 1px solid var(--line, #E4DED3); box-shadow: 0 12px 28px rgba(13, 27, 61, .12);
}
.auth-card h1 { font-family: var(--display, Georgia, serif); font-size: 1.6rem; line-height: 1.15; margin: 0; }
.auth-intro { margin: 2px 0 12px; color: var(--muted, #5E5874); font-size: .95rem; }
.auth-card label { font-weight: 600; font-size: .9rem; margin-top: 6px; }
.auth-card input {
  font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line, #E2DFEC);
  background: var(--bg, #F6F5FA); color: var(--fg, #18122F);
}
.auth-card input:focus-visible { outline: 2px solid var(--accent, #FE019A); outline-offset: 1px; }
.auth-btn {
  margin-top: 16px; font: inherit; font-weight: 600; padding: 11px 18px; border-radius: 8px; cursor: pointer;
  border: 0; background: var(--accent, #FE019A); color: #fff;
}
.auth-btn:hover, .auth-btn:focus-visible { background: var(--accent-hover, #E0017F); outline: none; }
.auth-btn:disabled { opacity: .6; cursor: progress; }
.auth-msg { min-height: 1.4em; margin: 6px 0 0; font-size: .9rem; color: var(--muted, #5E5874); }
.auth-msg.err { color: var(--bad, #BE123C); }
.auth-link { align-self: flex-start; font: inherit; font-size: .9rem; padding: 0; border: 0; background: none; color: var(--link, #E0017F); text-decoration: underline; cursor: pointer; }
.qbtn.acct-out { cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; }
