/* Auth form: password recovery, challenge and submit spacing. */
.auth-compact .login-help-links{justify-content:flex-end;margin-top:-3px;margin-bottom:3px}.auth-compact .login-help-links .forgot-link{font-size:11px;font-weight:500;padding:2px 0;color:var(--muted,var(--ink))}.auth-compact .login-help-links .forgot-link:hover{color:var(--lime);text-decoration:underline}.auth-compact #accountCaptcha{column-gap:14px;margin-top:2px}.auth-compact #accountCaptchaImage{background:transparent;object-fit:contain;border:1px solid var(--line);border-radius:8px}.auth-compact #accountCaptcha .captcha-visual{gap:8px}.auth-compact #accountCaptchaRefresh{width:28px;border-radius:7px;font-size:20px}.auth-compact #accountCaptchaRefresh:hover{background:var(--soft);color:var(--lime)}.auth-compact #accountCaptcha+.account-submit{margin-top:10px}.auth-compact .account-switch{margin-top:10px;text-align:center}.auth-compact .account-card input:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.auth-compact .password-toggle{right:8px;opacity:.8}.auth-compact .password-toggle:hover{opacity:1}

/* Quiet hierarchy for both the auth page and the shared modal. */
.auth-compact .account-card-head{margin-bottom:16px;gap:10px}.auth-compact .account-card-head .kicker{font-size:11px;font-weight:500;letter-spacing:.09em;color:var(--muted);line-height:1.5}.auth-compact .account-card h2{font-size:26px;font-weight:650;line-height:1.2;margin-top:5px}.auth-compact .auth-plan-choice{border:0;background:transparent;padding:0;margin:0 0 14px;font-size:12px;line-height:1.5;color:var(--muted)}.auth-compact .account-card form{gap:13px;margin-top:16px}.auth-compact .account-card label{font-size:12px;font-weight:500}.auth-compact .account-card input:not([type=checkbox]){height:40px;min-height:40px;font-size:14px;font-weight:400}.auth-compact .account-card .btn{font-size:14px;font-weight:600;min-height:40px}.auth-compact .account-tabs{border-color:var(--line);margin-bottom:14px}.auth-compact .account-tabs button{font-size:13px;font-weight:500}.auth-compact .account-switch button,.auth-compact .login-help-links .forgot-link{font-weight:500;color:var(--muted)}.auth-compact .account-switch button:hover,.auth-compact .login-help-links .forgot-link:hover{color:var(--lime)}.auth-compact #accountCaptcha{margin-top:6px;margin-bottom:0}.auth-compact #accountCaptcha+.account-submit{margin-top:8px}.auth-compact .account-preview-note{font-size:11px;font-weight:400;border-top:0;margin-top:14px;padding-top:0;color:var(--muted)}
@media(max-width:520px){.auth-compact .account-card input:not([type=checkbox]),.auth-compact #accountAnswer{font-size:16px}.auth-compact .account-card h2{font-size:24px}}

.auth-compact #telegramRegistrationNote{display:none!important}

.auth-compact #authPlanChoice,.auth-compact #authMethodNote{display:none!important}.auth-compact #registerPasswordHint{display:block;font-size:11px;line-height:1.5;font-weight:400;color:var(--muted);margin:5px 0 8px}.auth-compact #accountCaptchaRefresh{display:grid;place-items:center;width:30px;height:34px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:0}.auth-compact #accountCaptchaRefresh svg{display:block}.auth-compact #accountCaptchaRefresh:hover{border-color:var(--lime);color:var(--lime)}

.auth-field-error{display:block;color:#ef7285;font-size:11px;line-height:1.45;margin:-5px 0 2px}.auth-field-error[hidden]{display:none!important}.account-feedback.is-success{border-color:#69d1a5;color:#69d1a5;background:rgba(105,209,165,.08)}.account-submit[aria-busy=true]{cursor:wait;opacity:.75}.auth-modal{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:20px}.auth-modal input{scroll-margin-block:24px}.auth-modal #registerPanel>.auth-field-error{grid-column:1/-1}

/* Consistent verification controls and space between security steps. */
.auth-compact #accountCaptcha{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:8px 0 0;padding:0;background:transparent}
.auth-compact #accountCaptcha>label,.auth-compact #ownerCodeLabel{font-size:12px;font-weight:500;line-height:1.5}
.auth-compact #accountAnswer,.auth-compact #ownerCodeLabel input{box-sizing:border-box;width:100%;height:40px;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);font-family:inherit;font-size:14px;font-weight:400;line-height:20px}
.auth-compact #accountCaptcha .captcha-visual{height:40px;gap:8px;align-items:center}
.auth-compact #accountCaptchaImage{height:40px;max-width:none;width:calc(100% - 48px);border-radius:9px;background:transparent;object-fit:contain}
.auth-compact #accountCaptchaRefresh{box-sizing:border-box;width:40px;height:40px;min-height:40px;flex:0 0 40px;border-radius:9px;padding:0}
.auth-compact #ownerCodeLabel{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:8px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.auth-compact #ownerCodeLabel[hidden]{display:none!important}
.auth-compact #ownerCodeHint{font-size:11px;font-weight:400;line-height:1.5;color:var(--muted);margin:2px 0 0}
.auth-compact #ownerCodeLabel+.account-submit,.auth-compact #accountCaptcha+.account-submit{margin-top:14px}
@media(max-width:520px){.auth-compact #accountAnswer,.auth-compact #ownerCodeLabel input{font-size:16px}.auth-compact #accountCaptcha{gap:12px}}
