/* Non-zero counts remain visible independently of filter minimization. */
.bapf_sfilter .bapf_head .bapf_has_selected_count {
    display: flex;
    align-items: center;
}
.bapf_sfilter .bapf_head .bapf_selected_count {
    display: inline-grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    min-width: 1.4em;
    min-height: 1.4em;
    aspect-ratio: 1;
    padding: .1em;
    box-sizing: content-box;
    color: #333;
    font-size: .65em;
    font-weight: normal;
    line-height: 1;
    margin-inline-start: .4em;
    vertical-align: middle;
    white-space: nowrap;
    flex-shrink: 0;
}
.bapf_sfilter .bapf_head .bapf_selected_count[hidden] {
    display: none;
}
.bapf_sfilter .bapf_head .bapf_selected_count:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #e5e5e5;
    z-index: -1;
    pointer-events: none;
}
.bapf_sfilter .bapf_selected_count_label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
