/* Compact forms, with safe scrolling for zoom and on-screen keyboards. */
.auth-layout { min-height: 100dvh; }
.auth-story { min-height: 100dvh; padding: clamp(24px, 3vw, 48px); gap: 20px; }
.auth-story h1 { font-size: clamp(36px, 4vw, 62px); margin-block: 16px; }
.auth-story .plan-art { margin-top: 20px; max-width: 360px; }
.auth-form-wrap { min-height: 100dvh; padding: 20px; }
.auth-form { padding: 26px 30px; }
.auth-form h2 { font-size: 29px; margin-block: 10px; }
.auth-form > p { margin-bottom: 14px; }
.auth-form .form-label { margin-top: 10px; margin-bottom: 5px; }
.auth-form .form-control { min-height: 44px; padding-block: 10px; }
.auth-form .auth-switch { margin-top: 16px; margin-bottom: 16px; }
.auth-note { padding-top: 14px; }
@media (max-height: 760px) { .auth-story .plan-art { display: none; } }
@media (max-width: 767px) { .auth-form-wrap { padding: 12px; } .auth-form { padding: 22px; } }
@media (max-height: 700px) {
    .auth-form-wrap { padding: 12px; }
    .auth-form { padding: 18px 24px; }
    .auth-form h2 { font-size: 26px; margin-block: 8px; }
    .auth-form > p { margin-bottom: 8px; line-height: 1.5; }
    .auth-form .form-label { margin-top: 8px; }
    .auth-form .auth-switch { margin-block: 12px; }
    .auth-note { padding-top: 10px; line-height: 1.5; }
    #auth-submit { margin-top: 16px !important; }
}
@media (max-height: 540px) { .auth-form-wrap { align-items: start; } }

.google-auth-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid #747775; border-radius: 6px; background: #fff; color: #1f1f1f; font-size: 14px; font-weight: 500; }
.google-auth-button svg { flex-shrink: 0; }
.google-auth-button:hover:not(:disabled) { background: #f5f7f8; }
.google-auth-button:focus-visible { outline: 3px solid #4285f4; outline-offset: 3px; }
.google-auth-button:disabled { opacity: .6; cursor: not-allowed; }
.google-auth-unavailable { font-size: 12px; margin: 8px 0 0; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: #667571; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #dce3e0; }
.auth-google-above-submit { margin-top: 16px; }
.auth-google-above-submit .auth-divider { margin: 0 0 10px; }
.auth-google-above-submit + #auth-submit { margin-top: 12px !important; }
