.auth-page{--ap-ground:var(--ds-surface-ground);--ap-surface:var(--ds-surface);--ap-ink:var(--ds-text);--ap-muted:var(--ds-text-muted);--ap-border:var(--ds-surface-border);--ap-input:var(--ds-control-border);--ap-soft:var(--ds-surface-subtle);--ap-accent:var(--ds-brand-action);--ap-accent-ink:var(--ds-brand-on-action);--ap-link:var(--ds-brand-action);min-height:100svh;display:flex;flex-direction:column;background:var(--ap-ground);color:var(--ap-ink);font-family:var(--ds-font-family);font-size:var(--ds-text-16);line-height:var(--ds-leading-body);accent-color:var(--ap-accent)}.auth-page :is(a,button,input):focus-visible{outline:3px solid var(--ds-focus);outline-offset:4px}.auth-page a{color:var(--ap-link);text-underline-offset:3px}.auth-page-topbar{display:flex;align-items:center;padding:var(--ds-space-6);gap:var(--ds-space-6)}.auth-page-brand{display:inline-flex;align-items:center;min-height:44px}.auth-page-brand .brand-logo{width:168px}.auth-page-stage{flex:1;display:grid;place-items:center;padding:var(--ds-space-8) var(--ds-space-4) var(--ds-space-12)}.auth-page-frame{width:min(100%,480px)}.auth-page-intro{text-align:center}.auth-page-intro h1{margin:0;font-size:var(--ds-text-32);font-weight:700;line-height:var(--ds-leading-tight);letter-spacing:-.03em;text-wrap:balance}.auth-page-intro p{margin:var(--ds-space-3) 0 0;color:var(--ap-muted);text-wrap:pretty}.auth-page[data-auth-mode=login] .login-brand-motion{width:240px;height:auto;aspect-ratio:240/227;margin:0 auto var(--ds-space-6)}.auth-page-panel{margin-top:var(--ds-space-8);padding:var(--ds-space-6);border:1px solid var(--ap-border);border-radius:var(--ds-radius-container);background:var(--ap-surface)}.auth-page-panel-head:empty{display:none}.auth-page-panel-head{margin-bottom:var(--ds-space-6)}.auth-page-panel-head h2{margin:0;font-size:var(--ds-text-24);font-weight:700;line-height:var(--ds-leading-label)}.auth-page-steps{display:grid;gap:var(--ds-space-6);margin:var(--ds-space-8) 0 0;padding:0;list-style:none;counter-reset:auth-step;text-align:left}.auth-page-steps li{counter-increment:auth-step;display:grid;grid-template-columns:32px 1fr;column-gap:var(--ds-space-3)}.auth-page-steps li:before{content:counter(auth-step);grid-row:span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ap-soft);color:var(--ap-link);font-size:var(--ds-text-14);font-weight:600}.auth-page-steps strong{font-weight:600}.auth-page-steps span{grid-column:2;color:var(--ap-muted);font-size:var(--ds-text-14)}.auth-page .social-auth,.auth-page .social-auth form{margin:0}.auth-page .google-button{width:100%;min-height:48px;display:flex;justify-content:center;align-items:center;gap:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-4);border:1px solid var(--ap-input);border-radius:var(--ds-radius-control);background:var(--ap-surface);color:var(--ap-ink);font:inherit;font-weight:600}.auth-page .google-button:hover:not(:disabled){background:var(--ap-soft)}.auth-page .google-button:disabled{background:var(--ds-disabled-surface);color:var(--ds-disabled-text);cursor:not-allowed}.auth-page .auth-divider,.auth-page .auth-hint{color:var(--ap-muted);font-size:var(--ds-text-14)}.auth-page .auth-divider{gap:var(--ds-space-4);margin:var(--ds-space-6) 0}.auth-page .auth-divider:after,.auth-page .auth-divider:before{background:var(--ap-border)}.auth-page .auth-form{display:grid;gap:var(--ds-space-2);margin:0}.auth-page .auth-form label{font-size:var(--ds-text-14);font-weight:600;line-height:var(--ds-leading-label)}.auth-page-password-label{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);margin-top:var(--ds-space-4)}.auth-page-password-label a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--ds-text-14)}.auth-page-password-wrap{position:relative}.auth-page .auth-form .auth-page-password-wrap input[class]{padding-right:var(--ds-space-24)}.auth-page-password-wrap button{position:absolute;top:2px;right:var(--ds-space-1)}.auth-page-help{margin:0;color:var(--ap-muted);font-size:var(--ds-text-14)}.auth-page .auth-form button[type=submit]{width:100%;margin-top:var(--ds-space-4)}.auth-page .message{margin:var(--ds-space-4) 0;padding:var(--ds-space-3) var(--ds-space-4);border-radius:var(--ds-radius-container);background:var(--ap-soft);color:var(--ap-ink);font-size:var(--ds-text-14)}.auth-page .message.error{background:var(--ds-error-surface);color:var(--ds-error-text)}.auth-page-switch{margin:var(--ds-space-6) 0 0;padding-top:var(--ds-space-4);border-top:1px solid var(--ap-border);color:var(--ap-muted);text-align:center;font-size:var(--ds-text-14)}.auth-page-switch a{display:inline-flex;align-items:center;min-height:44px;margin-left:var(--ds-space-2);font-weight:600}.auth-page-footer{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);padding:var(--ds-space-4) var(--ds-space-6);color:var(--ap-muted);font-size:var(--ds-text-12)}.auth-page-footer a{display:inline-flex;align-items:center;min-height:44px}@media(max-width:639px){.auth-page-topbar{padding:var(--ds-space-4)}.auth-page-brand .brand-logo{width:144px}.auth-page[data-auth-mode=login] .login-brand-motion{display:none}.auth-page-steps{display:block;margin-top:var(--ds-space-4);text-align:center;font-size:var(--ds-text-14)}.auth-page-steps li{display:inline}.auth-page-steps li:before,.auth-page-steps span{display:none}.auth-page-steps li+li:before{content:" → ";display:inline;background:none;color:var(--ap-muted)}.auth-page-steps strong{font-weight:400}.auth-page-footer{padding-inline:var(--ds-space-4)}}@media(min-width:640px){.auth-page-panel{padding:var(--ds-space-8)}}@media(min-width:1024px){.auth-page[data-auth-mode=register] .auth-page-frame{width:min(100%,960px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:var(--ds-space-16)}.auth-page[data-auth-mode=register] .auth-page-intro{text-align:left}.auth-page[data-auth-mode=register] .auth-page-panel{margin-top:0}.auth-page-stage{padding-inline:var(--ds-space-8)}}.auth-page-topbar{justify-content:space-between}.auth-page[data-theme=dark]{--ds-disabled-surface:var(--platform-soft);--ds-disabled-text:var(--platform-muted);--ds-focus:var(--platform-hover)}.auth-page[data-theme=dark] .message.error{color:var(--ds-error-text)}.auth-page-topbar>form{margin:0}.auth-page-footer nav{display:flex;flex-wrap:wrap;gap:var(--ds-space-4)}.auth-page-panel-head h1{margin:0;font-size:var(--ds-text-24);font-weight:700;line-height:var(--ds-leading-label)}.auth-page[data-auth-mode=login] .auth-page-panel{margin-top:var(--ds-space-4)}.auth-page[data-auth-mode=login] .login-brand-motion{margin-bottom:0}@media(max-width:639px){.auth-page[data-auth-mode=login] .auth-page-panel{margin-top:0}}