
/* Consistent semantic booklet hierarchy; headings remain noninteractive. */
html[data-jdn-theme] .catalogue-sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;box-sizing:border-box}
html[data-jdn-theme] .catalogue-sidebar>h2{flex-shrink:0}
html[data-jdn-theme] .catalogue-sidebar>nav{flex:1 1 auto;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;scroll-padding-block:8px;padding-bottom:12px!important;box-sizing:border-box}
html[data-jdn-theme] .catalogue-sidebar nav>button[data-catalogue-kind=booklet]{grid-column:1/-1!important;border-width:2px;font-weight:700;background:color-mix(in srgb,var(--panel,#1D342B) 94%,white 6%)}
html[data-jdn-theme=light] .catalogue-sidebar nav>button[data-catalogue-kind=booklet]{background:#e5ebe5;border-color:#62786b}
html[data-jdn-theme=dark] .catalogue-sidebar nav>button[data-catalogue-kind=booklet]{background:#294437;border-color:#93ad9c}
html[data-jdn-theme] .catalogue-sidebar .catalogue-item-title{font-size:14px;line-height:1.25;font-weight:650}
html[data-jdn-theme] .catalogue-sidebar .catalogue-item-detail{font-size:12px;line-height:1.35;font-weight:400;margin-top:4px}
html[data-jdn-theme] .catalogue-sidebar button:focus-visible{outline:3px solid currentColor;outline-offset:-4px}
html[data-jdn-theme] .catalogue-sidebar button[aria-current=true]{box-shadow:inset 3px 0 0 currentColor}
html[data-jdn-theme] .catalogue-sidebar nav>h3{grid-column:1/-1!important;font-size:12px;line-height:1.35;margin:12px 0 4px}
@media(max-width:999px){html[data-jdn-theme] .catalogue-sidebar nav{grid-template-columns:minmax(0,1fr)!important}}
