/* Shared signed-out pages: reuse the app's brand, type and surface tokens. */
.auth-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.auth-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 496px;
  padding: 48px 24px;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-brand .wordmark { font-size: 28px; }

.auth-card {
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.auth-card h1 { margin: 0; }

.auth-description {
  margin: 16px 0 28px;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.65;
}

.auth-action {
    cursor: pointer;
    font-family: inherit;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--clay);
  border-radius: 6px;
  background: var(--clay);
  color: var(--paper-4);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.auth-form { display: grid; gap: 12px; }
.auth-form label { font-size: 14px; font-weight: 600; }
.auth-form input:not([type="hidden"]) {
    box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px;
    border: 1px solid var(--fg-3); border-radius: 6px;
    background: var(--bg-surface); color: var(--fg-1); font: inherit;
}
.auth-form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.auth-divider { text-align: center; color: var(--fg-3); margin: 20px 0; }
.auth-error { color: #a32920; font-size: 14px; line-height: 1.5; margin: 0; }
.auth-resend { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.auth-text-action { background: none; border: 0; padding: 0; color: var(--fg-1); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.auth-text-action:disabled { opacity: .55; cursor: default; text-decoration: none; }
.auth-hint { color: var(--fg-3); font-size: 13px; line-height: 1.6; }
.auth-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.auth-action:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
}

.auth-action:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.auth-google-icon { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 480px) {
  .auth-shell { padding: 32px 16px; }
  .auth-card { padding: 28px 24px; }
}
