/* Standalone layout for log in, sign up and reset password. Builds on tokens and buttons from base-and-layout.css. */
.auth-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg-soft); font-size: 15px; }
.auth-top { padding: 20px 28px; }
.auth-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; gap: 24px; padding: 24px 16px 48px; }
.auth-card {
  width: 100%; max-width: 420px; padding: 32px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.auth-main--wide .auth-card { max-width: 460px; }
.auth-card h1 { margin-bottom: 6px; font-size: 1.5rem; letter-spacing: -0.02em; }
.auth-lead { margin-bottom: 22px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.875rem; font-weight: 500; }
.field input, .field select {
  width: 100%; height: 40px; padding: 0 12px; background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.9375rem;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid='true'] { border-color: var(--closed); }
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: 0.8125rem; }
.input-group { display: flex; }
.input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; flex: 1; min-width: 0; }
.input-group__btn {
  padding: 0 14px; background: var(--bg-soft); color: var(--ink-2); cursor: pointer;
  border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.8125rem; font-weight: 500;
}
.input-group__btn:hover { background: var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin: 0 0 16px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.875rem; line-height: 1.45; }
.form-message[data-kind='error'] { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.form-message[data-kind='success'] { background: var(--accent-soft); border: 1px solid #b7e1cd; color: #05603f; }
.form-message a { text-decoration: underline; font-weight: 500; }
.cf-turnstile { margin-bottom: 16px; min-height: 65px; }
.auth-card .btn { padding: 11px 18px; }
.auth-note, .auth-consent { margin: 18px 0 0; color: var(--muted); font-size: 0.8125rem; }
.auth-consent { margin-top: 12px; }
.auth-note a, .auth-consent a, .auth-switch a { color: var(--accent); font-weight: 500; }
.auth-note a:hover, .auth-consent a:hover, .auth-switch a:hover { text-decoration: underline; }
.auth-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.875rem; text-align: center; }
.auth-side { width: 100%; max-width: 300px; padding: 8px 4px; }
.auth-side h2 { font-size: 1rem; letter-spacing: -0.01em; }
.auth-side ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.9rem; }
.auth-side li { padding-left: 22px; position: relative; }
.auth-side li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.auth-side strong { color: var(--ink); font-weight: 600; }
.auth-side p { color: var(--muted); font-size: 0.875rem; }
.auth-side a { color: var(--accent); font-weight: 500; }
.auth-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 18px 16px 24px; color: var(--faint); font-size: 0.8125rem; }
.auth-foot a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .auth-main--wide { flex-direction: column; align-items: center; }
  .auth-side { max-width: 460px; order: 2; }
}
@media (max-width: 480px) {
  .auth-top { padding: 16px; }
  .auth-card { padding: 22px 18px; }
}
.auth-top .brand { gap: 9px; }
.auth-top .brand__mark { width: 28px; height: 28px; flex: none; }
