.jbe .jbecats .jbcat-item {
    display: inline-flex; align-items: stretch; position: relative; min-width: 0;
}
.jbe .jbecats .jbcat-item > a { flex: 1; min-width: 0; border-radius: 12px 0 0 12px; }
.jbe .jbecats .jbcat-item > button {
    display: grid; place-items: center; flex: none; width: 34px; min-height: 44px; margin: 0; padding: 0;
    border: 1px solid #b0c2d0; border-left: 0; border-radius: 0 12px 12px 0;
    background: white; color: #08618e; cursor: pointer;
}
.jbe .jbecats .jbcat-item > button::after {
    content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.jbe .jbecats .jbcat-item > button[aria-expanded="true"] { background: #e5f8fa; }
.jbe .jbecats .jbcat-item > button[aria-expanded="true"]::after { transform: rotate(225deg); }
.jbe .jbecats .jbcat-menu {
    position: absolute; z-index: 20; left: 0; top: 100%; margin: 3px 0 0; padding: 4px; text-align: left;
    width: max-content; min-width: 100%; max-width: min(320px, 90vw); max-height: 17rem;
    overflow: auto; list-style: none; border: 1px solid #b0c2d0; border-radius: 12px; background: white;
    box-shadow: 0 6px 18px #17345422;
}
.jbe .jbecats .jbcat-menu[hidden] { display: none; }
.jbe .jbecats .jbcat-align-end { left: auto; right: 0; }
.jbe .jbecats .jbcat-menu li { margin: 0; padding: 0; }
.jbe .jbecats .jbcat-menu a { display: block; border: 0; border-radius: 8px; padding: 8px 12px; white-space: normal; }
