/* One compact verification row; errors appear only when needed. */
.reference-body .math-captcha,.reference-body .scene-module .math-captcha,.reference-body .ai-panel .math-captcha,.reference-body .ai-contact-dialog .math-captcha{margin:10px 0;padding:0;border:0;background:none;border-radius:0}
.reference-body .math-captcha-control{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;margin:0;align-items:stretch}
.reference-body .math-captcha-control input{min-height:42px;height:42px;font-size:14px;margin:0;background:#fff;border-radius:8px}
.reference-body .math-captcha-refresh{position:static;display:flex;justify-content:center;align-items:center;min-height:42px;min-width:0;padding:8px;border:1px solid #c5d4e5;border-radius:8px;background:#edf3fa;color:#163d67;box-shadow:none;animation:none;transform:none;font-size:15px;line-height:1.3}
.reference-body .math-captcha-refresh:hover,.reference-body .math-captcha-refresh:focus-visible{background:#dde9f6;transform:none;border-color:#8aaacc;color:#102e50}
.reference-body .math-captcha-refresh strong{font-weight:600;white-space:nowrap;pointer-events:none}
.reference-body .math-captcha small{color:#a54e1e;font-size:12px;margin:5px 0 0}.reference-body .math-captcha small:empty{display:none}
@media(max-width:480px){.reference-body .math-captcha-control{grid-template-columns:minmax(0,1fr) 100px}.reference-body .math-captcha-refresh{padding:6px}}
