/* UW v2 branch only: report page head drawn by the shell */
.uw-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:0 32px;background:var(--bg-surface);border-bottom:1px solid var(--border-subtle)}
.uw-head[hidden]{display:none}
.uw-head .tabs{box-shadow:none}
.uw-head .tab:first-child{padding-left:0}
.uw-head .grow{flex:1 1 auto}
.uw-head-cat{display:flex;align-items:center;gap:8px}
.uw-head-cat .k{font-family:var(--font-mono);font-size:var(--text-app-2xs);letter-spacing:var(--tracking-wider);text-transform:uppercase;color:var(--fg-subtle)}
.uw-head-cat select{max-width:300px}
#uw-head-log{font-size:var(--text-app-xs);color:var(--fg-subtle)}

/* Report actions: watchlist + export as icon buttons, one primary action */
body.on-s25 .topbar-actions{gap:6px}
.uw-act-icon{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:0}
.uw-act-icon.watchlist-toggle-btn::before{width:14px;height:14px}
.uw-act-icon.watchlist-toggle-btn.saved{border-color:var(--color-purple-03)}
.uw-act-export .icon-download{width:14px;height:14px;background:currentColor;-webkit-mask:var(--icon-download) center/contain no-repeat;mask:var(--icon-download) center/contain no-repeat}

/* Narrow previews: actions keep their size, the breadcrumb truncates instead */
body.on-s25 .topbar-actions{flex:0 0 auto}
body.on-s25 .topbar-actions>*{flex-shrink:0}
body.on-s25 .topbar-actions .btn{white-space:nowrap}
.uw-act-icon{width:28px;min-width:28px;flex:0 0 28px}
body.on-s25 .crumbs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Org settings: no task crumbs, report actions or underwriting tab bar */
body.uw-settings-on #uw-head,body.uw-settings-on #crumb-cat,body.uw-settings-on #topbar-uw-actions{display:none!important}
