/* Compact, scoped self-hosted CAPTCHA. */
body .q-captcha{box-sizing:border-box;max-width:100%;width:max-content;margin:12px 0;padding:7px 8px;border:1px solid #dce1e7;border-radius:9px;background:#fff;color:#222b36;font-size:12px;line-height:1.35;font-family:inherit;}
body .q-captcha .q-captcha-title{font-size:11px;font-weight:650;line-height:1.2;margin:0 0 6px;color:#525c69;letter-spacing:.01em;}
body .q-captcha .q-captcha-controls{display:flex;flex-wrap:wrap;gap:4px;align-items:center;}
body .q-captcha [hidden]{display:none!important;}
body .q-captcha .q-captcha-image{display:block;width:120px;height:34px;max-width:100%;object-fit:contain;border-radius:4px;margin:0;background:#f7f8fa;}
body .q-captcha .q-captcha-answer,body .q-captcha .q-captcha-button{box-sizing:border-box;flex:0 0 auto;height:34px;min-height:0;margin:0;padding:0 7px;border:1px solid #d4dae2;border-radius:5px;background:#fff;color:#253040;font-family:inherit;font-size:12px;font-weight:500;line-height:1;letter-spacing:normal;text-transform:none;box-shadow:none;}
body .q-captcha .q-captcha-answer{width:65px;max-width:100%;text-align:center;}
body .q-captcha .q-captcha-button{display:inline-flex;align-items:center;justify-content:center;width:auto;cursor:pointer;}
body .q-captcha .q-captcha-refresh{width:28px;padding:0;}
body .q-captcha .q-captcha-check{background:#27313f;border-color:#27313f;color:#fff;padding:0 7px;}
body .q-captcha .q-captcha-button:disabled{opacity:.5;cursor:default;}
body .q-captcha .q-captcha-answer:focus,body .q-captcha .q-captcha-button:focus-visible{outline:2px solid #e06030;outline-offset:2px;}
body .q-captcha .q-captcha-status{font-size:11px;line-height:1.3;margin-top:5px;max-width:310px;color:#525c69;}
body .q-captcha .q-captcha-status:empty{display:none;}
body .q-captcha .q-captcha-status[data-state=error]{color:#ad3427;}
body .q-captcha .q-captcha-status[data-state=success]{display:flex;align-items:center;gap:7px;margin:0;color:#176a42;font-size:12px;font-weight:650;}
body .q-captcha .q-captcha-status[data-state=success]::before{content:"✓";display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4f5eb;color:#176a42;font-size:15px;animation:qcaptcha-pop .35s ease-out both;}
@keyframes qcaptcha-pop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){body .q-captcha .q-captcha-status[data-state=success]::before{animation:none;}}

/* Keep both contact and login CAPTCHA controls compact. */
body .q-captcha{margin:0;justify-self:start;}
body .q-captcha input.q-captcha-answer{width:65px;max-width:100%;font-size:12px!important;line-height:1!important;padding:0 4px!important;min-height:0!important;height:34px!important;border-radius:5px!important;letter-spacing:0!important;box-shadow:none!important;}
body .q-captcha .q-captcha-button{min-width:0;}
@media(max-width:400px){body .q-captcha{padding-left:6px;padding-right:6px;}body .q-captcha .q-captcha-controls{gap:3px;}body .q-captcha .q-captcha-image{width:112px;height:32px;}body .q-captcha input.q-captcha-answer{width:60px;}body .q-captcha .q-captcha-refresh{width:26px;}body .q-captcha .q-captcha-check{padding:0 6px;}}
body .card .q-captcha{margin-top:12px;}
