/* Auth routes share a continuous surface and a single field/focus treatment. */
body:has(.auth-shell,.ka-auth-shell) main{display:flex;flex-direction:column}
body:has(.auth-shell,.ka-auth-shell) main>div:has(>.auth-shell){display:flex;flex-direction:column;flex:1}
.auth-shell,.ka-auth-shell{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:1;min-height:0!important;padding:40px 20px!important;overflow:clip;background:#0a0a0f}
body:has(.auth-shell,.ka-auth-shell) .site-footer{margin-top:0!important}
.auth-card,.ka-auth-card{position:relative;width:100%;max-width:448px;padding:30px!important;border:1px solid #35353c!important;border-radius:22px!important;background:#151518!important;box-shadow:0 22px 72px #0005;min-width:0}
.auth-card:before,.auth-card:after{display:none!important}
.auth-card :is(input,textarea),.ka-auth-card input{min-width:0;max-width:100%;min-height:48px;width:100%;border:1px solid #54545d!important;border-radius:10px!important;background:#0f0f12!important;color:#f2f2f4!important;box-shadow:none!important;outline:none!important;font-size:16px!important;line-height:24px;padding-block:11px!important;transition:border-color 140ms,box-shadow 140ms}
.auth-card :is(input,textarea):focus,.ka-auth-card input:focus{border-color:#d2d2db!important;box-shadow:0 0 0 1px #d2d2db!important;outline:none!important}
.auth-card input::placeholder,.ka-auth-card input::placeholder{color:#909099!important}
.auth-card input:-webkit-autofill,.ka-auth-card input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #16161b inset!important;-webkit-text-fill-color:#f2f2f4}
.auth-card input:disabled,.ka-auth-card input:disabled{opacity:.65}
.auth-card .auth-hint{display:block!important;color:#a2a2ad!important;line-height:17px}
.auth-card h1{font-size:28px!important;line-height:34px!important;letter-spacing:-.5px}
.ka-promo{border:0!important;border-top:1px solid #ffffff20!important;border-radius:0!important;padding:16px 0 0!important;background:transparent!important}
.ka-promo>button{min-height:32px;padding:0!important;gap:12px}
.ka-promo-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;padding:2px;margin-top:12px!important}
.ka-promo-row button{min-height:48px;padding:10px 15px!important;border-radius:10px!important;border:1px solid #ffffff3a!important;background:#f3f3f5!important;color:#171719!important;font-size:14px;font-weight:600;box-shadow:none!important}
.ka-promo-row button:disabled{opacity:1!important;background:#252529!important;border-color:#45454d!important;color:#b1b1ba!important;cursor:not-allowed}
.ka-promo-row input{padding-inline:12px!important}
.ka-promo button:focus-visible,.ka-auth-card button:focus-visible,.ka-auth-card a:focus-visible{outline:2px solid #e1e1e8!important;outline-offset:3px!important}
.ka-recovery-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:28px;color:#aaaab5;font-size:13px}
.ka-recovery-top :is(a,button){display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#dedee4;font-size:14px;text-decoration:none;background:none;border:0;padding:0}
.ka-recovery-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ka-recovery-content{animation:ka-auth-in 180ms cubic-bezier(.2,.8,.2,1)}
.ka-recovery-content header{margin-bottom:28px}.ka-recovery-content h1{font-size:28px;line-height:34px;font-weight:650;letter-spacing:-.6px;color:#f3f3f5;outline:0;margin:0 0 10px}
.ka-recovery-content header p{font-size:15px;line-height:22px;color:#b3b3bd;margin:0}.ka-recovery-content header strong{display:block;margin-top:4px;color:#efeff3;font-weight:500;overflow-wrap:anywhere}
.ka-recovery-content form{display:flex;flex-direction:column;gap:20px}.ka-field{min-width:0}.ka-field label{display:block;font-size:14px;line-height:20px;color:#d4d4dc;margin-bottom:8px}.ka-field input{padding-inline:13px}.ka-field-note{font-size:13px;line-height:20px;color:#a5a5b0;margin:8px 0 0}
.ka-password{position:relative}.ka-password input{padding-right:88px!important}.ka-password button{position:absolute;inset:1px 6px 1px auto;min-height:44px;padding:0 8px;font-size:12px;font-weight:550;color:#cdced6;background:none;border:0;border-radius:6px}
.ka-code{font-variant-numeric:tabular-nums;font-family:inherit!important;letter-spacing:.55em;font-size:22px!important;text-align:center;padding-left:calc(13px + .55em)!important}
.ka-auth-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;padding:12px 16px;border-radius:11px;border:1px solid #f2f2f4;background:#f2f2f4;color:#141416!important;font-size:15px;font-weight:600;line-height:22px;text-align:center;transition:background-color 140ms,border-color 140ms;text-decoration:none}
.ka-auth-primary:hover:not(:disabled){background:#fff}.ka-auth-primary:disabled{background:#28282d;border-color:#45454d;color:#b0b0ba!important;cursor:not-allowed}
.ka-auth-error{font-size:14px;line-height:21px;border-left:2px solid #d99991;padding:2px 0 2px 12px;margin:0;color:#edc0b9}
.ka-resend{display:block;min-height:44px;margin:16px auto 0;padding:8px 0;font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;color:#dfdfe5;background:none;border:0;text-align:center}.ka-resend:disabled{color:#a5a5b0;cursor:default}
.ka-button-spinner{width:15px;height:15px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ka-spin 700ms linear infinite;flex:none}
.kq-request-dialog .ka-guest-request{padding:24px!important;text-align:left!important}.ka-guest-request .ka-guest-copy{font-size:16px;line-height:24px;color:#c7c7d0;margin:0 0 24px}.ka-guest-request>.flex{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
html:has(body[data-ko-surface=public]){scrollbar-color:#55555e #0e0e12}
@supports selector(::-webkit-scrollbar){
 
 
}
@keyframes ka-spin{to{transform:rotate(360deg)}}@keyframes ka-auth-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:479px){.auth-shell,.ka-auth-shell{padding:24px 16px!important;align-items:flex-start}.auth-card,.ka-auth-card{padding:22px 20px!important;border-radius:18px!important}.ka-promo-row{grid-template-columns:1fr}.ka-recovery-content h1{font-size:26px;line-height:32px}.ka-recovery-top{margin-bottom:22px}.ka-guest-request>.flex{grid-template-columns:1fr 1fr}.kq-request-dialog .ka-guest-request{padding:20px!important}}
@media(prefers-reduced-motion:reduce){.ka-recovery-content,.ka-button-spinner{animation:none}.auth-card input,.ka-auth-card input,.ka-auth-primary{transition:none}}
