/* Shared visual rhythm, no additional data state or nested audio scrollers. */
.reference-ui-shell #view-work .works-head[data-editorial] { display:flex; flex-direction:column; align-items:stretch; gap:18px; }
.reference-ui-shell #view-work .works-heading-row { display:flex; align-items:center; justify-content:space-between; width:100%; gap:16px; }
.editorial-work-caption { color:var(--studio-muted); font-size:11px; font-weight:400; }
.editorial-work-navigation { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; }
.editorial-work-tabs { display:flex; align-items:center; gap:20px; flex-shrink:0; }
.reference-ui-shell #view-work .editorial-work-tabs button { position:relative; border:0; border-radius:0; background:transparent; color:var(--studio-muted); padding:8px 0; box-shadow:none; font-size:12px; white-space:nowrap; }
.reference-ui-shell #view-work .editorial-work-tabs button[aria-pressed="true"] { color:var(--studio-text); font-weight:650; }
.reference-ui-shell #view-work .editorial-work-tabs button[aria-pressed="true"]::after { content:""; position:absolute; bottom:0; height:2px; left:0; right:0; background:var(--studio-primary); border-radius:2px; }
.reference-ui-shell #view-work .tools { width:auto; max-width:100%; flex:1 1 auto; justify-content:flex-end; gap:8px; overflow:visible; flex-wrap:wrap; }
.reference-ui-shell #view-work #typeFilter,.reference-ui-shell #view-work [data-studio-filter="typeFilter"] { display:none!important; }
.reference-ui-shell #view-work .tools .studio-filter-trigger { width:auto; min-width:0; border-color:transparent!important; box-shadow:none!important; background:transparent!important; padding:6px!important; font-size:11px!important; }
.reference-ui-shell #view-work .tools .studio-filter-trigger:hover { background:var(--studio-soft); }
.reference-ui-shell #view-work .tools .job-view-switch { height:32px; border:0; background:transparent; box-shadow:none; padding:0; gap:4px; margin:0; }
.reference-ui-shell #view-work .tools .job-view-switch button { width:30px; min-width:30px; height:30px; padding:6px; box-shadow:none; background:transparent; }
.reference-ui-shell #view-work .tools .job-view-switch button[aria-pressed="true"] { color:var(--studio-primary); background:var(--studio-soft); box-shadow:none; }
.reference-ui-shell #view-work .tools svg { width:17px; height:17px; flex:none; }
.reference-ui-shell #view-work .editorial-search-toggle,.reference-ui-shell #view-work .tools > .icon-btn { width:30px; height:30px; min-width:30px; display:inline-flex; align-items:center; justify-content:center; border:0; padding:5px; background:transparent; color:var(--studio-muted); box-shadow:none; }
.reference-ui-shell #view-work .editorial-search-open .editorial-search-toggle { display:none; }
.reference-ui-shell #view-work #search { width:190px; min-width:130px; max-width:100%; height:32px; background:var(--studio-surface); }
.reference-ui-shell #view-work #search[hidden] { display:none!important; }
.reference-ui-shell #view-work #jobBoard > .section > .section-title { display:none; }
.reference-ui-shell #view-work #jobBoard > .section { margin-top:0; }
.reference-ui-shell #view-work .works-toolbar-sticky { margin-bottom:14px; padding-bottom:0; }
/* The workspace clips its children. Make the complete audio page own vertical
   scrolling; the result board stays in natural document flow inside it. */
.reference-ui-shell #workspace #view-audio { height:100%; max-height:100%; min-height:0; min-width:0; overflow-x:hidden!important; overflow-y:auto!important; overscroll-behavior-y:contain; scrollbar-gutter:stable; scroll-padding-bottom:135px; }
.reference-ui-shell #workspace #view-audio.active { display:block; flex:1 1 auto; }
.reference-ui-shell #view-audio #audioPageResultsSlot #jobBoard { height:auto!important; min-height:0; max-height:none!important; overflow:visible!important; }
.reference-ui-shell #view-audio #jobBoard > .section > .section-title { display:none; }
.reference-ui-shell #view-audio #audioPageResultsSlot .job-row .job-actions { background:transparent!important; border:0!important; padding:0!important; }
@media(max-width:1050px) {
  .editorial-work-navigation { flex-wrap:wrap; gap:9px; }
  .reference-ui-shell #view-work .works-head[data-editorial] { gap:10px; }
  .reference-ui-shell #view-work .tools { justify-content:flex-start; }
}
@media(max-width:600px) {
  .editorial-work-caption { display:none; }
  .editorial-work-tabs { gap:22px; }
  .reference-ui-shell #view-work .tools { flex-basis:100%; gap:4px; }
  .reference-ui-shell #view-work #search { flex:1; width:130px; }
}
