/* Compact math CAPTCHA shared by public lead forms. */
.reference-body .math-captcha{margin:12px 0;padding:10px 12px;border:1px solid #c9d9e9;border-radius:10px;background:#f6f9fd;color:#24496e}
.reference-body .math-captcha>label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;font-size:13px;line-height:1.5}
.reference-body .math-captcha>label strong{color:#102f54;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.reference-body .math-captcha-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:7px}
.reference-body .math-captcha-control input{width:100%;min-height:38px;margin:0;padding:7px 10px;border:1px solid #b7cde2;border-radius:8px;background:#fff;color:#172b45;font:inherit;line-height:1.4}
.reference-body .math-captcha-refresh{min-height:38px;padding:7px 11px;border:1px solid #d5a74f;border-radius:8px;background:#fffaf0;color:#89611d;font:600 12px/1 inherit;white-space:nowrap;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.reference-body .math-captcha-refresh:hover,.reference-body .math-captcha-refresh:focus-visible{background:#f4c45d;color:#102f54;border-color:#c9922d;transform:translateY(-1px)}
.reference-body .math-captcha-refresh:disabled{opacity:.58;cursor:wait;transform:none}
.reference-body .math-captcha small{display:block;margin-top:6px;color:#61758d;font-size:11px;line-height:1.5}
.reference-body .math-captcha[data-captcha-loading="true"]{opacity:.72}
.reference-body .scene-module .math-captcha{margin:12px 0;padding:9px 10px}
.reference-body .scene-module .math-captcha>label{font-size:12px}
.reference-body .scene-module .math-captcha-control input{min-height:38px;font-size:14px}
.reference-body .ai-panel .math-captcha{margin:10px 0;background:#f8fbfe}
.reference-body .ai-contact-dialog .math-captcha{margin:16px 0}
@media(max-width:480px){.reference-body .math-captcha{padding:10px}.reference-body .math-captcha>label{font-size:12px}.reference-body .math-captcha-control{grid-template-columns:minmax(0,1fr) 70px}.reference-body .math-captcha-refresh{padding:7px 8px}}
