.hap-trap, .hap-captcha[hidden] {
    display: none !important;
}

.hap-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hap-captcha {
    margin-block: 1rem;
    padding: 1rem;
    border: 1px solid var(--hap-border, #8b98a6);
    border-radius: .65rem;
    color: var(--hap-text, #20313d);
    background: var(--hap-background, #f4f7fa);
}

.hap-captcha label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.hap-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.hap-answer, .hap-refresh {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: .45rem .75rem;
    border: 1px solid var(--hap-border, #8b98a6);
    border-radius: .35rem;
    background: var(--hap-input-background, white);
    color: inherit;
    font: inherit;
}

.hap-answer {
    width: 8rem;
}

.hap-refresh {
    cursor: pointer;
}

.hap-answer:focus-visible, .hap-refresh:focus-visible {
    outline: 2px solid var(--hap-focus, #1556a1);
    outline-offset: 2px;
}

.hap-status:not(:empty) {
    margin-block: .75rem;
    overflow-wrap: anywhere;
}

.hap-status.hap-error {
    color: var(--hap-error, #a22222);
}
