.human-check[data-human-check] {
    min-inline-size: 0;
    display: grid;
    gap: .5rem;
    padding: .65rem 1rem 1rem;
    border: 1px solid var(--edge,#527066);
    border-radius: .8rem;
    background: rgba(255,255,255,.035);
    color: inherit;
}
.human-check[data-human-check] legend { padding: 0 .35rem; font-weight: 650; }
.human-check[data-human-check] > * { margin-block: 0; }
.human-check[data-human-check] [hidden] { display: none !important; }
.human-check-summary { display: flex; align-items: center; gap: .65rem; min-height: 1.65rem; font-weight: 600; line-height: 1.3; }
.human-check-icon {
    display: inline-grid; place-items: center; flex: none;
    width: 1.2rem; height: 1.2rem; border: 2px solid currentColor; border-radius: 50%;
}
[data-human-check][data-state="checking"] .human-check-icon { border-inline-end-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
    [data-human-check][data-state="checking"] .human-check-icon { animation: human-check-rotate 1.2s linear infinite; }
}
@keyframes human-check-rotate { to { transform: rotate(1turn); } }
[data-human-check][data-state="verified"] .human-check-icon { color: var(--link,#b8efcf); }
[data-human-check][data-state="verified"] .human-check-icon::after {
    content: ""; width: .45rem; height: .23rem; border: solid currentColor;
    border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg);
}
[data-human-check][data-state="manual"] .human-check-icon { display: none; }
.human-check .human-check-switch {
    justify-self: start; min-height: 2.75rem; padding: .4rem .1rem;
    background: transparent; border: 0; border-radius: .2rem; color: inherit;
    text-align: start; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font: inherit;
}
.human-check-code { display: grid; justify-items: start; gap: .65rem; min-width: 0; }
.human-check-code p { margin: 0; }
.human-check-code img { max-width: 100%; height: auto; border-radius: .35rem; }
.human-check-code audio { width: min(100%,19rem); min-width: 0; }
.human-check-code label { display: grid; gap: .3rem; }
.human-check-code input { max-width: 11rem; letter-spacing: .12em; }
