/* Auth screens — Milestone 8.1 (compact, mobile-first) */
.auth-page { min-height: 100vh; }
.auth-main {
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.auth-eyebrow {
  margin: 0 0 8px; /* extra space before the auth heading; shared type is .eyebrow */
}
.auth-card h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.auth-lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
  background: var(--bg);
  padding: 4px;
  border-radius: 999px;
}
.auth-tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.auth-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.auth-field input {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.auth-field input:focus {
  outline: 2px solid var(--accent-soft-2);
  border-color: var(--accent);
}
.auth-submit { width: 100%; margin-top: 4px; min-height: 48px; }
.auth-error {
  background: var(--live-soft);
  color: var(--live-text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.auth-foot { margin: 18px 0 0; text-align: center; font-size: 14px; }
.auth-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }

.auth-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.auth-user-chip a { color: var(--accent); text-decoration: none; }
