.kf-list-switch-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #f5f6fa;
}

.kf-list-switch-tabs::before {
    position: absolute;
    z-index: 0;
    top: 3px;
    left: 3px;
    width: calc((100% - 9px) / 2);
    height: calc(100% - 6px);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    content: '';
    transform: translateX(0);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.kf-list-switch-tabs.is-second-active::before,
.kf-list-switch-tabs.is-selected-tab::before {
    transform: translateX(calc(100% + 3px));
}

.kf-list-switch-tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    outline: 0;
    background: transparent;
    color: #8094ae;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s;
}

.kf-list-switch-tab:hover {
    color: #364a63;
    text-decoration: none;
}

.kf-list-switch-tab.active {
    background: transparent;
    color: #364a63;
}

.kf-list-switch-tab:focus,
.kf-list-switch-tab:focus-visible,
.kf-list-switch-tab:active {
    outline: none;
    box-shadow: none;
}

.kf-list-switch-tab-count {
    color: #8094ae;
    font-weight: 800;
}

.kf-list-switch-tab.active .kf-list-switch-tab-count {
    color: #526484;
}
