/* Result controls live together in the filter panel; no separate count row. */
#content .browse-controls,#content .live-search-toolbar{--browse-control-height:50px}
#content .browse-controls .browse-filter-fields{grid-template-columns:repeat(var(--browse-fields),minmax(0,1fr)) auto;align-items:center}
#content .browse-controls .filter-field .glass-select-trigger,#content .live-search-toolbar .filter-field .glass-select-trigger{height:var(--browse-control-height);min-height:var(--browse-control-height);box-sizing:border-box}
.browse-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;white-space:nowrap}
#content .browse-toolbar-actions>.more-filters-button{height:var(--browse-control-height);min-height:var(--browse-control-height);align-self:center;box-sizing:border-box;padding:0 13px;flex-shrink:0}
.browse-toolbar-actions>.results-layout-switch{height:var(--browse-control-height);box-sizing:border-box;flex-shrink:0}
.browse-toolbar-actions .results-layout-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:100%;padding:0 9px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--secondary);font:inherit;font-size:.73rem;cursor:pointer;white-space:nowrap}
.browse-toolbar-actions .results-layout-switch button:is(:hover,[aria-pressed=true]){background:color-mix(in srgb,var(--accent) 9%,var(--glass-input));border-color:color-mix(in srgb,var(--accent) 40%,var(--glass-edge));color:var(--accent)}
#content .live-search-toolbar{grid-template-columns:minmax(0,1fr) minmax(160px,230px) auto;align-items:center}
.browse-filter-status{margin:-7px 0 22px}
.browse-filter-status .active-filter-chips{margin:0;align-items:center}
.browse-filter-status [data-clear-all-filters]{padding:5px 10px;font-size:.73rem;white-space:nowrap}
.recommendation-section{margin-top:34px;padding:22px 24px}
.recommendation-section .hub-section-heading{margin-top:0}
.recommendation-section .hub-section-heading>div{min-width:0}
.recommendation-section .hub-section-heading h2{flex-wrap:wrap}
.recommendation-section .hub-section-heading h2 .author-name{font-family:inherit;letter-spacing:inherit}
.recommendation-section .hub-section-heading .author-name{min-width:0;overflow-wrap:anywhere}
.recommendation-section .hub-section-heading p{max-width:100%;line-height:1.6}
@media(max-width:1400px){.browse-toolbar-actions .results-layout-switch button>span{display:none}.browse-toolbar-actions .results-layout-switch button{width:32px;padding:0}}
@media(max-width:1000px){
  #content .browse-controls .browse-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
  .browse-controls .browse-toolbar-actions{grid-column:1/-1}
  #content .live-search-toolbar{grid-template-columns:minmax(0,1fr) minmax(150px,1fr)}
  .live-search-toolbar .browse-toolbar-actions{grid-column:1/-1}
  .browse-toolbar-actions .results-layout-switch button>span{display:inline}
  .browse-toolbar-actions .results-layout-switch button{width:auto;padding:0 9px}
}
@media(max-width:760px){#content .browse-controls,#content .live-search-toolbar{--browse-control-height:49px}.recommendation-section{padding:17px 14px}}
@media(max-width:600px){
  #content .browse-controls .browse-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .browse-toolbar-actions{justify-content:space-between;width:100%;gap:8px}
  .browse-controls .browse-toolbar-actions>.more-filters-button{flex:1;grid-column:auto}
  .browse-filter-status{margin-bottom:18px}
}
