/* Matching category cards only. Native checkbox state remains authoritative. */
#sc-matching-form #category_check_v_box .check-ico-box > img {
    visibility: hidden;
}
#sc-matching-form #category_check_v_box .check-ico-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 1px solid #8290a2;
    border-radius: 2px;
    background: #fff;
}
#sc-matching-form #category_check_v_box input:checked + label .check-ico-box::before {
    border-color: #246fd2;
    background: #246fd2;
}
#sc-matching-form #category_check_v_box input:checked + label .check-ico-box::after {
    content: "";
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 3px);
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* Only this help dialog: it must cover the sticky header (100) and dock (95). */
#qualifications_modal_area {
    z-index: 1000;
    padding: 24px 16px;
    overflow: hidden;
    overscroll-behavior: contain;
}
#qualifications_modal_area.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
#qualifications_modal_area #qualifications_modal_1 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 520px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
#qualifications_modal_area #x_btn {
    top: 4px;
    right: 8px;
    min-width: 44px;
    min-height: 44px;
}
#qualifications_modal_area #x_btn:focus-visible {
    outline: 2px solid #245eaa;
    outline-offset: -4px;
}
html.sc-matching-modal-open,
html.sc-matching-modal-open body {
    overflow: hidden;
}
@media (max-width: 480px) {
    #qualifications_modal_area #qualifications_modal_1 {
        padding: 48px 20px 28px;
    }
}
@media (forced-colors: active) {
    #sc-matching-form #category_check_v_box input:checked + label .check-ico-box::before {
        background: Highlight;
        border-color: Highlight;
        forced-color-adjust: none;
    }
    #sc-matching-form #category_check_v_box input:checked + label .check-ico-box::after {
        border-color: HighlightText;
        forced-color-adjust: none;
    }
}
