/* Public authentication uses a focused card; forms keep Dusty's original actions. */
body .auth-screen { display: grid; place-items: center; min-height: 65vh; padding: 48px 24px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body .auth-screen .auth-card { width: min(100%, 440px); min-width: 0; margin: 0; padding: 32px; border: 1px solid #dce1e7; border-radius: 16px; background: var(--auth-surface, #fff); color: #202833; box-shadow: 0 12px 36px #15243b10; }
body .auth-card .auth-back { display: inline-block; margin-bottom: 24px; color: #526174; font-size: 13px; text-decoration: none; }
body .auth-card a { color: #265b94; text-decoration: none; }
body .auth-card a:hover { text-decoration: underline; }
body .auth-card .auth-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border: 1px solid #dde5e0; border-radius: 14px; background: #f2f6f3; color: var(--auth-accent); }
body .auth-symbol svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.7; fill: none; }
body .auth-card h1 { margin: 0 0 10px; font-family: inherit; font-size: clamp(24px, 4vw, 30px); line-height: 1.2; font-weight: 650; letter-spacing: -.6px; }
body .auth-card .auth-intro { margin: 0 0 28px; color: #5c6775; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
body .auth-card .auth-field { margin-bottom: 20px; }
body .auth-screen .auth-card :is(#login, #reset-password) .auth-field label { display: block; float: none; width: auto; height: auto; margin: 0 0 8px; text-align: left; font-size: 14px; line-height: 1.4; font-weight: 600; white-space: normal; }
body .auth-card .auth-label-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
body .auth-card .auth-label-row a { margin-bottom: 8px; font-size: 13px; }
body .auth-screen .auth-card :is(#login, #reset-password) .auth-field input:not([type=hidden]) { display: block; float: none !important; width: 100%; min-width: 0; margin: 0; padding: 12px 14px; min-height: 48px; border: 1px solid #b9c3cf; border-radius: 8px; background: #fff; color: #202833; font-family: inherit; font-size: 16px; line-height: 1.4; }
body .auth-card .auth-field input:focus { border-color: var(--auth-accent); }
body .auth-card .auth-submit { display: block; width: 100%; min-height: 48px; padding: 12px 18px; margin: 8px 0 0; border: 0; border-radius: 8px; background: var(--auth-accent); color: var(--auth-accent-text); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
body .auth-card .auth-submit:hover { filter: brightness(.94); }
body .auth-card .auth-errors { font-size: 14px; overflow-wrap: anywhere; }
body .auth-card .auth-errors:empty { display: none; }
body .auth-card .auth-errors:not(:empty) { margin-bottom: 16px; }
body .auth-card .auth-register { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid #e0e5ea; text-align: center; font-size: 14px; }
body .auth-card .auth-support { margin: 16px 0 0; text-align: center; font-size: 13px; color: #5c6775; }
@media (max-width: 480px) {
    body .auth-screen { padding: 28px 16px; min-height: 0; }
    body .auth-screen .auth-card { padding: 24px; }
}
