.auth-card { min-width: 0; }
.auth-card h1 { overflow-wrap: anywhere; }
.auth-card .auth-form { min-width: 0; }
.auth-card input:not([type=checkbox]):not([type=hidden]), .auth-card select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; }
.auth-card .btn { min-height: 44px; white-space: normal; }
.account-email-card { padding: 16px; margin: 16px 0; box-shadow: none; }
.account-email-card h2 { font-size: 1rem; margin: 0 0 8px; }
.account-email-address { overflow-wrap: anywhere; font-weight: 600; }
.cf-turnstile { margin: 12px 0; min-width: 0; }
.auth-home { display: inline-flex; color: var(--theme-title); margin-bottom: 16px; font-weight: 700; text-decoration: none; min-height: 44px; align-items: center; }
.auth-form label:has(input[type=checkbox]) { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.auth-form input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; }
.auth-page .auth-card { position: relative; max-width: 29rem; padding: 2rem 2.1rem; border: 1px solid var(--theme-border); border-radius: 24px; }
.auth-page .auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--theme-accent), color-mix(in srgb, var(--theme-accent) 45%, var(--theme-surface))); }
.auth-page .auth-home { margin-bottom: 1.2rem; }
.auth-intro { margin-bottom: 1.45rem; }
.auth-kicker { display: block; margin-bottom: .45rem; color: var(--theme-accent-text); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.auth-page .auth-title { margin: 0; font-size: clamp(1.85rem, 4vw, 2.2rem); line-height: 1.12; }
.auth-lead { max-width: 36ch; margin: .7rem 0 0; color: var(--theme-muted); font-size: .9rem; line-height: 1.5; }
.auth-page .auth-form .auth-fields { gap: .92rem; }
.auth-page .auth-form .field-label { color: var(--theme-text); font-size: .77rem; }
.auth-page .auth-form .field input:not([type=checkbox]):not([type=hidden]) { min-height: 48px; }
.auth-page .auth-form .field:has(input[type=checkbox]) { gap: 0; }
.auth-page .auth-form .field-checkbox { width: 100%; box-sizing: border-box; min-height: 48px; padding: .48rem .68rem; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-surface-alt); color: var(--theme-text); font-size: .82rem; line-height: 1.35; }
.auth-page .auth-form input[type=checkbox] { accent-color: var(--theme-accent); }
.auth-legal-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; font-size: .78rem; }
.auth-legal-links a, .auth-switch a { color: var(--theme-accent-text); font-weight: 700; text-decoration: none; }
.auth-legal-links a:hover, .auth-switch a:hover { text-decoration: underline; }
.auth-legal-links span { color: var(--theme-muted); }
.auth-verification { margin-top: 1.15rem; padding: .7rem .7rem .25rem; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface-alt); }
.auth-verification-label { display: block; margin-bottom: .45rem; color: var(--theme-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.auth-verification .cf-turnstile { margin: 0; }
.auth-form-actions { display: grid; gap: .85rem; margin-top: 1.25rem; }
.auth-form-actions .btn, .auth-full-button { width: 100%; min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.auth-spaced-action { margin-top: 1.25rem; }
.auth-error { padding: .75rem .9rem; border-radius: 10px; color: #b42318; background: #fff0ed; font-size: .84rem; }
.auth-social-divider { display: flex; align-items: center; gap: .8rem; margin: 1.35rem 0 1rem; color: var(--theme-muted); font-size: .78rem; text-align: center; }
.auth-social-divider::before, .auth-social-divider::after { content: ""; flex: 1; height: 1px; background: var(--theme-border); }
.auth-google-button { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-surface); color: var(--theme-text); font: inherit; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.auth-google-button:hover { border-color: var(--theme-accent); background: var(--theme-surface-alt); }
.auth-google-button:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 2px; }
.auth-google-mark { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #fff; }
.auth-google-mark img { display: block; width: 20px; height: 20px; object-fit: contain; }
.auth-social-note { margin: .65rem 0 0; color: var(--theme-muted); font-size: .76rem; line-height: 1.4; text-align: center; }
.auth-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem; padding-top: 1.05rem; margin: 1.25rem 0 0; border-top: 1px solid var(--theme-border); color: var(--theme-muted); font-size: .84rem; line-height: 1.4; text-align: center; }
.auth-password-control { display: block; position: relative; min-width: 0; }
.auth-page .auth-form .auth-password-control input { padding-right: 3.3rem; }
.auth-password-toggle { position: absolute; inset: 2px 2px 2px auto; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--theme-muted); cursor: pointer; }
.auth-password-toggle:hover, .auth-password-toggle.is-visible { color: var(--theme-accent-text); background: color-mix(in srgb, var(--theme-accent) 10%, transparent); }
.auth-password-toggle:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: -3px; }
.auth-password-toggle svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .auth-page .sidebar { display: none; }
  body.auth-page { height: auto; min-height: 100dvh; overflow-y: auto; }
  .auth-page .shell, .auth-page main { height: auto; min-height: 0; overflow: visible; }
  .auth-page .auth-shell { width: 100%; padding: 16px 0 24px; box-sizing: border-box; }
  .auth-page .auth-card { width: 100%; padding: 20px 16px; box-sizing: border-box; }
  .auth-page .auth-form input, .auth-page .auth-form select { font-size: 16px; }
  .auth-page .auth-form .btn { width: 100%; }
  .auth-verification { padding-inline: 0; border: 0; background: transparent; }
}
