.cb-human-overlay { position:fixed; inset:0; z-index:30000; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(15,23,42,.36); backdrop-filter:blur(3px); }
.cb-human-dialog { width:400px; max-width:100%; box-sizing:border-box; padding:24px; border:1px solid #e5e7ef; border-radius:18px; background:#fff; color:#262a35; box-shadow:0 18px 60px rgba(15,23,42,.2); text-align:left; font-family:inherit; }
.cb-human-dialog h2 { margin:0 0 8px; font-size:19px; font-weight:650; line-height:1.35; }
.cb-human-dialog p { margin:0 0 16px; font-size:13px; color:#758096; line-height:1.5; }
.cb-human-image-row { display:flex; flex-direction:column; align-items:stretch; gap:6px; margin-bottom:12px; }
.cb-human-image-frame { width:100%; aspect-ratio:10 / 3; display:flex; align-items:center; justify-content:center; border:1px solid #e8eaf1; border-radius:10px; background:#edf0f8; overflow:hidden; box-sizing:border-box; }
.cb-human-image { display:block; width:100%; height:auto; }
.cb-human-image[hidden], .cb-human-image-status[hidden] { display:none; }
.cb-human-image-status { color:#647084; font-size:13px; }
.cb-human-dialog .cb-human-refresh { align-self:flex-end; padding:4px 0; border:0; border-radius:3px; background:transparent; color:#4764e8; font-size:12px; }
.cb-human-dialog button { border:1px solid #e4e7ee; padding:8px 13px; border-radius:10px; background:#fff; color:#35425d; font:inherit; font-size:13px; cursor:pointer; }
.cb-human-dialog button:disabled { opacity:.55; cursor:default; }
.cb-human-dialog input { width:100%; box-sizing:border-box; height:46px; border:1px solid #e3e7f0; border-radius:11px; padding:0 12px; background:#fff; color:#253249; font:inherit; font-size:18px; letter-spacing:4px; text-transform:uppercase; }
.cb-human-dialog :focus-visible { outline:2px solid #4f6bf0; outline-offset:3px; }
.cb-human-dialog label { display:block; margin:0 0 6px; font-size:12px; color:#647084; }
.cb-human-dialog .cb-human-error { min-height:20px; color:#b42318; font-size:12px; margin:8px 0 12px; letter-spacing:0; }
.cb-human-actions { display:flex; justify-content:flex-end; gap:8px; }
.cb-human-dialog .cb-human-submit { color:#fff; background:#4764e8; border-color:#4764e8; }
html[data-cb-appearance="midnight"] .cb-human-dialog { background:#000; color:#f0f0f0; border-color:#333; box-shadow:0 18px 60px #000; }
html[data-cb-appearance="midnight"] .cb-human-dialog input,
html[data-cb-appearance="midnight"] .cb-human-dialog button:not(.cb-human-submit) { background:#0b0b0b; border-color:#333; color:#eee; }
html[data-cb-appearance="midnight"] .cb-human-dialog .cb-human-error { color:#ff9a91; }
.cb-human-dialog { max-height:calc(100dvh - 28px); overflow-y:auto; }
@media(max-width:480px) { .cb-human-dialog { padding:20px; } .cb-human-overlay { padding:14px; } }
