/* Shared catalogue heading disclosures. Presentation only; no card/nav selectors. */
:root {
  --menu-bar-surface: oklch(.19 .008 240);
  --menu-bar-top: oklch(.235 .012 240);
  --menu-bar-text: var(--portal-filter-text, oklch(.97 .004 240));
  --menu-bar-muted: var(--portal-filter-muted, oklch(.73 .02 240));
  --menu-bar-accent: var(--portal-filter-accent, oklch(.85 .12 210));
  --menu-bar-shadow: oklch(.04 0 0 / .32);
}
body :is(.bsh-sortmenu, .bs-fd-wrapper) {
  --bar-accent: var(--pc, var(--bsp-accent, var(--menu-bar-accent)));
  min-width: 0;
  max-width: 100%;
}
body .bsh .bsh-latest:has(.bsh-sortmenu[open]) { position: relative; z-index: 10001; }
body .bsh .bsh-latest .bsh-sortmenu[open] { z-index: 10002; }
body .section-header.bs-fd-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 12px 0 !important;
  border-radius: 0 !important;
}
body .section-header.bs-fd-header::before,
body .section-header.bs-fd-header::after,
body .section-header.bs-fd-header .section-title::before,
body .section-header.bs-fd-header .section-title::after,
body .section-header.bs-fd-header .section-title > .icon::before,
body .section-header.bs-fd-header .section-title > .icon::after { content: none !important; }
body .section-header.bs-fd-header .section-title {
  min-width: 0;
  max-width: 100%;
  gap: 10px !important;
}
body .section-header.bs-fd-header .section-title > .icon {
  background: color-mix(in oklch, var(--pc, var(--menu-bar-accent)) 10%, var(--menu-bar-surface)) !important;
  color: var(--pc, var(--menu-bar-accent)) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  transform: none !important;
}
body .bsh .bsh-latest .bsh-sortmenu summary,
body .section-header.bs-fd-header .bs-fd-trigger {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  max-width: 100%;
  padding: 10px 12px 10px 14px;
  border: 1px solid color-mix(in oklch, var(--bar-accent) 22%, var(--menu-bar-surface)) !important;
  border-radius: 8px !important;
  background: linear-gradient(115deg, color-mix(in oklch, var(--bar-accent) 7%, var(--menu-bar-top)), var(--menu-bar-surface) 75%) !important;
  color: var(--menu-bar-text) !important;
  box-shadow: 0 6px 18px -10px var(--menu-bar-shadow) !important;
  font-size: 22px !important;
  font-weight: 750;
  letter-spacing: 0 !important;
  line-height: 1.3;
  cursor: pointer;
  overflow: visible;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
body .bsh .bsh-latest .bsh-sortmenu summary::before,
body .section-header.bs-fd-header .bs-fd-trigger::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--bar-accent);
  pointer-events: none;
}
body .bsh .bsh-latest .bsh-sortmenu summary > i:first-child,
body .section-header.bs-fd-header .bs-fd-trigger > i:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 7px;
  background: color-mix(in oklch, var(--bar-accent) 10%, transparent) !important;
  color: var(--bar-accent) !important;
  font-size: 17px;
  box-shadow: none !important;
}
body .bsh .bsh-latest .bsh-sortmenu summary h2,
body .section-header.bs-fd-header .bs-fd-trigger strong {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: inherit !important;
  font-weight: inherit;
  color: inherit !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  letter-spacing: 0 !important;
}
body .bsh .bsh-latest .bsh-caret,
body .section-header.bs-fd-header .bs-fd-trigger .bs-fd-caret {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: 8px;
  border: 1px solid color-mix(in oklch, var(--bar-accent) 18%, transparent);
  border-radius: 7px;
  background: color-mix(in oklch, var(--bar-accent) 6%, transparent) !important;
  color: var(--bar-accent) !important;
  font-size: 11px !important;
}
body .bsh .bsh-latest .bsh-sortmenu[open] summary,
body .bsh .bsh-latest .bsh-sortmenu summary:hover,
body .section-header.bs-fd-header .bs-fd-trigger:hover,
body .section-header.bs-fd-header .open .bs-fd-trigger {
  border-color: color-mix(in oklch, var(--bar-accent) 55%, var(--menu-bar-surface)) !important;
  box-shadow: 0 8px 24px -12px color-mix(in oklch, var(--bar-accent) 24%, transparent) !important;
}
body .bsh .bsh-latest .bsh-explore-menu,
body .section-header.bs-fd-header .bs-fd-menu {
  box-sizing: border-box;
  margin-top: 8px;
  padding: 6px !important;
  border: 1px solid color-mix(in oklch, var(--bar-accent) 22%, var(--menu-bar-surface)) !important;
  border-radius: 8px !important;
  background: var(--menu-bar-surface) !important;
  box-shadow: 0 14px 28px -10px var(--menu-bar-shadow) !important;
  backdrop-filter: none !important;
  max-width: min(420px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-height: min(540px, 60dvh);
  overscroll-behavior: contain;
}
body .section-header.bs-fd-header .bs-fd-menu {
  width: min(280px, 100%) !important;
}
body .bsh .bsh-latest .bsh-explore-menu a,
body .section-header.bs-fd-header .bs-fd-menu a {
  min-height: 44px;
  border-radius: 5px;
  color: var(--menu-bar-muted);
  white-space: normal;
  overflow-wrap: anywhere;
}
body .bsh .bsh-latest .bsh-explore-menu a:is(:hover,.is-on),
body .section-header.bs-fd-header .bs-fd-menu a:is(:hover,.active) {
  background: color-mix(in oklch, var(--bar-accent) 10%, transparent) !important;
  color: var(--bar-accent) !important;
}
body .bsh .bsh-latest .bsh-sortmenu summary:focus-visible,
body .section-header.bs-fd-header .bs-fd-trigger:focus-visible {
  outline: 2px solid var(--bar-accent);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  body .bsh .bsh-latest .bsh-sortmenu summary,
  body .section-header.bs-fd-header .bs-fd-trigger {
    width: 100%;
    min-height: 54px;
    padding: 9px 10px;
    gap: 9px;
    font-size: 17px !important;
  }
  body .bsh .bsh-latest .bsh-caret,
  body .section-header.bs-fd-header .bs-fd-trigger .bs-fd-caret { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body .bsh .bsh-latest .bsh-sortmenu summary,
  body .section-header.bs-fd-header .bs-fd-trigger { transition: none; }
}