.auth{min-height:100dvh;font:14px/1.5 var(--font-body);color:var(--text);background:radial-gradient(ellipse at top right, var(--glow), transparent 55%), linear-gradient(var(--grid-line) 1px,transparent 1px), linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),var(--bg);background-size:auto,32px 32px,32px 32px,auto;align-items:center;padding:28px 20px;display:grid}.auth *{box-sizing:border-box}.auth-wrap{width:min(100%,420px);min-width:0;margin:auto}.auth-topbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-bottom:16px;display:grid}.auth-brand{grid-column:2;justify-content:center;align-items:center;width:190px;display:flex}.auth-brand img{width:100%;height:auto;display:block}.auth-brand .auth-brand-dark,:root[data-theme=dark] .auth-brand .auth-brand-light{display:none}:root[data-theme=dark] .auth-brand .auth-brand-dark{display:block}.auth-toolbar{grid-column:3;justify-self:end;min-width:0}.auth-toolbar:empty{display:none}.auth-toolbar select{max-width:100%;min-height:40px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow);min-width:0;padding:26px}.auth-content{border:0;min-width:0;margin:0;padding:0}.auth-heading{margin-bottom:22px}.auth-heading h1{letter-spacing:-.035em;margin:0;font-size:24px;font-weight:650;line-height:1.25}.auth-heading p{color:var(--text-muted);margin:8px 0 0;font-size:13px;line-height:1.6}.auth-form,.auth-stack{gap:16px;display:grid}.auth-field{min-width:0}.auth-field label{margin-bottom:6px;font-size:12px;font-weight:600;display:block}.auth-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;padding:10px 12px;transition:border-color .15s,box-shadow .15s;display:block}.auth-field input[aria-invalid=true]{border-color:var(--danger)}.auth-field input:focus-visible,.auth button:focus-visible,.auth a:focus-visible,.auth select:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.auth-field input:disabled{background:var(--surface-muted);color:var(--text-muted)}.auth-form-floating{min-width:0;position:relative}.auth-form-floating>.form-control{height:54px;min-height:54px;padding:21px 12px 7px;line-height:1.4}.auth-form-floating>.form-control::placeholder{color:#0000}.auth-form-floating>label{white-space:nowrap;text-overflow:ellipsis;width:100%;color:var(--text-muted);pointer-events:none;transform-origin:0 0;margin:0;padding:16px 12px;font-size:14px;font-weight:500;line-height:20px;transition:transform .12s,color .12s;display:block;position:absolute;inset:0 0 auto;overflow:hidden}.auth-form-floating>.form-control:focus~label,.auth-form-floating>.form-control:not(:placeholder-shown)~label{transform:translate(2px,-8px)scale(.8)}.auth-form-floating>.form-control:autofill~label{transform:translate(2px,-8px)scale(.8)}.auth-form-floating>.form-control:autofill~label{transform:translate(2px,-8px)scale(.8)}.auth-form-floating>.form-control:focus~label{color:var(--accent-hover)}.auth-form-floating>.form-control[aria-invalid=true]~label{color:var(--danger)}.auth-form-floating>.form-control:disabled~label{color:var(--text-muted)}.auth-password>label,.auth-password>.form-control{padding-right:78px}.auth-password{position:relative}.auth-password input{padding-right:74px}.auth-reveal{min-width:62px;color:var(--accent-hover);cursor:pointer;border-radius:7px;font-size:11px;font-weight:600;position:absolute;top:3px;bottom:3px;right:3px}.auth-reveal:hover{background:var(--accent-soft)}.auth-error{color:var(--danger);overflow-wrap:anywhere;margin:6px 0 0;font-size:12px}.auth-hint,.auth-muted{color:var(--text-muted);font-size:12px}.auth-hint{margin:6px 0 0}.auth-button{border-radius:var(--radius-sm);width:100%;min-height:42px;font:inherit;text-align:center;cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:600;text-decoration:none;display:inline-flex}.auth-button-primary{background:var(--strong);color:var(--on-strong)}.auth-button-primary:hover:not(:disabled){filter:brightness(1.1)}.auth-button-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.auth-button-secondary:hover:not(:disabled){background:var(--surface-muted)}.auth-button-ghost{color:var(--text-muted);background:0 0}.auth-button-ghost:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.auth-button:disabled,.auth-reveal:disabled{opacity:.55;cursor:default}.auth a[aria-disabled=true]{pointer-events:none;opacity:.55}.auth a:not(.auth-button){color:var(--accent-hover);text-underline-offset:3px}.auth-footer{text-align:center;color:var(--text-muted);margin-top:14px;font-size:12px}.auth-notice{border:1px solid color-mix(in srgb,var(--ok) 25%,var(--border));border-radius:var(--radius-sm);background:var(--ok-soft);color:var(--ok);overflow-wrap:anywhere;margin-bottom:16px;padding:10px 12px;font-size:12px}.auth-notice.is-error{border-color:color-mix(in srgb,var(--danger) 25%,var(--border));background:var(--danger-soft);color:var(--danger)}.auth-identity{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);align-items:center;gap:10px;margin-bottom:18px;padding:10px 12px;display:flex}.auth-identity span{overflow-wrap:anywhere;flex:1;min-width:0;font-size:13px}.auth-identity button{min-height:32px;color:var(--accent-hover);cursor:pointer;padding:4px;font-size:12px}.auth-links{justify-content:flex-end;align-items:center;min-height:30px;margin-top:-8px;font-size:12px;display:flex}.auth-providers{gap:9px;margin-bottom:20px;display:grid}.auth-provider-symbol{flex:none;width:18px;height:18px}.auth-divider{color:var(--text-muted);align-items:center;gap:12px;margin-top:10px;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-code input{font-family:var(--font-mono);letter-spacing:.28em;text-align:center;padding-left:calc(12px + .28em);font-size:23px}.auth-code .auth-form-floating>input{height:58px;min-height:58px;padding-top:22px;padding-bottom:6px;padding-left:calc(12px + .28em);line-height:1.2}.auth-details{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);overflow-wrap:anywhere;margin-bottom:16px;padding:12px;font-size:12px}.auth-secret{align-items:center;gap:10px;display:flex}.auth-secret code{min-width:0;font-family:var(--font-mono);overflow-wrap:anywhere;flex:1}.auth-secret button{color:var(--accent-hover);cursor:pointer;padding:6px}.auth-steps{color:var(--text-muted);margin:0;padding-left:20px;font-size:12px;line-height:1.7}.auth-qr{justify-content:center;min-height:180px;display:flex}.auth-qr img{border:1px solid var(--border);background:#fff;border-radius:12px;width:180px;height:180px;padding:7px}.auth-qr-placeholder{background:var(--surface-muted);border-radius:12px;width:180px;height:180px}.auth-recovery-codes{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:14px;list-style:none;display:grid}.auth-recovery-codes code{font-size:12px;font-family:var(--font-mono);overflow-wrap:anywhere}.auth-switch{cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:12px;display:flex}.auth-switch input{appearance:none;border:1px solid var(--border-strong);background:var(--surface-sunken);cursor:pointer;border-radius:99px;flex:0 0 32px;width:32px;height:20px;margin:0;position:relative}.auth-switch input:after{content:"";background:var(--text-muted);border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2px;left:2px}.auth-switch input:checked{background:var(--strong);border-color:var(--strong)}.auth-switch input:checked:after{background:var(--on-strong);transform:translate(12px)}.auth-mobile-number{border:1px solid var(--border);background:var(--surface-muted);width:fit-content;font:600 52px/1.2 var(--font-mono);letter-spacing:.08em;border-radius:12px;margin:0 auto;padding:14px 24px}.auth-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite auth-spin}.auth-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (width<=600px){.auth{padding:20px 16px}.auth-card{padding:22px 20px}.auth-heading h1{font-size:23px}.auth-button,.auth-field input,.auth-toolbar select,.auth-identity button,.auth-secret button{min-height:44px}.auth-password input{min-height:50px}.auth-reveal{min-height:44px}.auth-topbar{margin-bottom:14px}.auth-brand{width:174px}}@media (width<=360px){.auth{padding:16px 12px}.auth-card{padding:20px 16px}.auth-brand{width:164px}}@media (prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth *{transition:none!important}}@media (width<=600px){.auth-footer a,.auth-links a,.auth-notice a,.auth-hint a{align-items:center;min-height:44px;padding:4px 0;display:inline-flex}}
