/* Clean account entry, preserving the existing authentication providers. */
:root #auth-screen { background: var(--bg); padding: max(24px, env(safe-area-inset-top)) 26px max(24px, env(safe-area-inset-bottom)); font-family: 'Manrope', sans-serif; }
:root #auth-screen .auth-card { display: flex; flex-direction: column; width: 100%; max-width: 390px; margin: auto; padding: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible; }
:root #auth-screen .auth-card::before { display: none; }
:root #auth-screen .auth-brand { order: 0; display: flex; justify-content: center; margin: 0 0 12px; }
:root #auth-screen .auth-wordmark { width: 220px !important; max-width: 75%; }
:root #auth-screen .auth-tagline { order: 1; margin: 0 0 62px; font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--brand); text-align: center; }
:root #auth-screen #auth-title { order: 2; text-align: left; font-size: 25px; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
:root #auth-screen #auth-subtitle { order: 2; text-align: left; max-width: none; margin: 0 0 26px; font-size: 13px; line-height: 1.5; }
:root #auth-screen[data-auth-mode='login'] :is(#auth-title, #auth-subtitle) { display: none; }
:root #auth-screen .auth-form { order: 4; gap: 16px; }
:root #auth-screen .auth-field-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:root #auth-screen .auth-input-shell { position: relative; display: block; width: 100%; }
:root #auth-screen .auth-field-icon { position: absolute; top: 50%; left: 16px; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
:root #auth-screen .auth-entry-field input { width: 100%; min-height: 54px; padding: 15px 46px !important; background: var(--surface) !important; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
:root #auth-screen .auth-entry-field input::placeholder { color: var(--muted); opacity: .8; }
:root[data-app-theme='light'] #auth-screen .auth-form .auth-entry-field input { background: #fff !important; box-shadow: none !important; }
:root #auth-screen .password-toggle { right: 7px; width: 40px; min-height: 40px; background: transparent !important; color: var(--muted); border: 0; box-shadow: none; }
:root #auth-screen .auth-inline-help { display: flex; justify-content: flex-end; margin-top: -9px; }
:root #auth-screen .auth-inline-help #forgot-password { min-height: 36px; padding: 5px 0; color: var(--brand) !important; font-size: 12px; font-weight: 700; }
:root #auth-screen .primary-action { min-height: 52px; border-radius: 14px; background: var(--brand) !important; color: #fff !important; font-size: 15px; font-weight: 800; margin: 0; }
:root #auth-screen .auth-consent { display: flex; margin: 0; font-size: 11px !important; line-height: 1.5; }
:root #auth-screen .auth-consent a { color: var(--brand); }
:root #auth-screen .auth-tabs { order: 7; display: block; margin: 28px 0 0; padding: 0; background: transparent !important; border: 0; box-shadow: none; text-align: center; }
:root #auth-screen .auth-tabs p { margin: 0; color: var(--muted); font-size: 12px; }
:root #auth-screen .auth-tabs .auth-tab { display: inline; min-height: 44px; padding: 9px 5px; background: transparent !important; color: var(--brand) !important; font-size: 12px; font-weight: 800; }
:root #auth-screen[data-auth-mode='login'] .auth-switch-to-login,
:root #auth-screen[data-auth-mode='register'] .auth-switch-to-register { display: none; }
:root #auth-screen .auth-actions { order: 8; margin-top: 8px; gap: 4px; }
:root #auth-screen .auth-actions #intro-open { color: var(--muted) !important; font-size: 11px; min-height: 32px; }
:root #auth-screen .auth-privacy-footer { order: 9; display: block; margin-top: 16px; padding: 10px; text-align: center; font-size: 11px; color: var(--muted); text-decoration: none; }
:root #auth-screen .auth-message { order: 6; margin: 12px 0 0; font-size: 13px; }
:root #auth-screen .auth-link-preview { order: 6; }
:root #auth-screen .google-auth-block { order: 6; margin-top: 14px; }
:root #auth-screen .auth-divider { order: 5; margin: 22px 0 0; }
:root #auth-screen[data-auth-mode='register'] .google-auth-block { order: 3; margin: 0 0 16px; }
:root #auth-screen[data-auth-mode='register'] .auth-divider { order: 3; margin: 0 0 24px; }
:root #auth-screen .auth-back { display: none; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--brand); background: var(--selection-surface); }
:root #auth-screen .auth-back svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
:root #auth-screen[data-auth-mode='register'] .auth-back { display: grid; place-items: center; }
:root #auth-screen[data-auth-mode='register'] .auth-brand { justify-content: flex-start; padding-left: 56px; margin-bottom: 38px; min-height: 40px; }
:root #auth-screen[data-auth-mode='register'] .auth-wordmark { width: 164px !important; }
:root #auth-screen[data-auth-mode='register'] .auth-tagline { display: none; }
:root #auth-screen :is(.email-confirmation-panel, .recovery-panel) { order: 4; }
:root #auth-screen .demo-note { order: 10; }
@media (max-height: 700px) { :root #auth-screen .auth-tagline { margin-bottom: 40px; } }
