.captcha-inline { min-width: 0; margin-top: 0.5rem; }
.captcha-status { color: var(--text-muted); text-align: center; line-height: 1.6; font-size: 0.8rem; margin: 0.55rem 0 0; }
.captcha-frame { width: min(304px, 100%); height: 78px; margin-inline: auto; overflow: hidden; }
#captcha_widget { width: 304px; min-height: 78px; transform: scale(var(--captcha-scale, 1)); transform-origin: top left; }
.captcha-error { color: var(--danger); text-align: center; font-size: 0.9rem; line-height: 1.6; }
.captcha-retry { display: block; text-align: center; color: var(--brand-primary); padding: 0.75rem; }
.captcha-retry:focus-visible, #btn_base:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 3px; }

[hidden] { display: none !important; }

@media (min-width: 1201px) {
    .captcha-inline { margin-top: 0; }
    .captcha-frame { width: 260px; }
    .captcha-status { margin-top: 0.3rem; font-size: 0.75rem; line-height: 1.4; }
}

@media (max-width: 1200px) {
    .captcha-inline { margin-top: 0.85rem; }
    .captcha-status { font-size: 0.75rem; line-height: 1.4; margin-top: 0.35rem; }
}
