.captcha-check{margin:0;padding:8px 12px 12px;border:1px solid var(--line,#ccc);border-radius:10px;background:var(--surface,#f6f6f6);color:var(--ink,#111)}
.captcha-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.captcha-check #captcha-question{margin:0;font-size:13px;line-height:1.4}
.captcha-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
#captcha-target{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border:1px dashed var(--muted,#555);border-radius:7px}
#captcha-target:empty{display:none}
#captcha-target:empty+.captcha-arrow{display:none}
.captcha-arrow{width:12px;font-size:16px;color:var(--muted,#555)}
.captcha-check svg{display:block;width:22px;height:22px;fill:currentColor}
#captcha-choices{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px;flex:0 0 188px;margin:0;padding:0;border:0;min-width:0}
#captcha-choices:not(:has(input)){display:none}
.captcha-legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#captcha-choices .captcha-option{position:relative;display:block;margin:0;cursor:pointer}
.captcha-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.captcha-option span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line,#ccc);border-radius:7px;background:var(--bg,#fff)}
.captcha-option input:checked+span{background:var(--ink,#111);color:var(--bg,#fff);border-color:var(--ink,#111)}
.captcha-option input:focus-visible+span,.captcha-check button:focus-visible{outline:2px solid var(--ink,#111);outline-offset:3px}
#captcha-refresh{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer}
#captcha-refresh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#captcha-refresh:hover{background:var(--line,#ddd)}
#captcha-refresh:disabled{opacity:.45;cursor:default}
.captcha-check .field-error{display:block;margin-top:8px;font-size:12px}
.captcha-check .field-error:empty{display:none}
