/* v18.1: keep search/filter/page controls on one line and provide vertical row viewports. */
.unified-filter-row,#source-list .source-filters,#auto-connections .connection-filters,#auto-history .history-head,#manual-history .manual-history-head,#manual-history .manual-history-filters{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.unified-filter-row{margin-bottom:12px;overflow:visible}
.unified-filter-row .entity-history-picker,#source-list .entity-history-picker,#auto-connections .entity-history-picker,#auto-history .entity-history-picker,#manual-history .entity-history-picker{min-width:170px;flex:1 1 190px}
#auto-connections .connection-filters>.entity-history-picker,#auto-connections .connection-filters>select[name="connection_sort"]{width:0!important;min-width:220px!important;flex:1 1 0!important;box-sizing:border-box!important}
#auto-connections .connection-filters>.entity-history-picker>input:not([type="hidden"]),#auto-connections .connection-filters>select[name="connection_sort"]{height:42px!important;min-height:42px!important;box-sizing:border-box!important}
.unified-filter-row>select,#source-list .source-filters>select{width:190px!important;min-width:190px!important;flex:1 1 190px!important}
.unified-filter-row>button{height:40px!important;min-height:40px!important;min-width:92px!important;padding:8px 14px!important;box-sizing:border-box!important}
.unified-filter-row .history-row-limit,#source-list .history-row-limit,#auto-connections .history-row-limit,#auto-history .history-row-limit,#manual-history .history-row-limit{display:inline-flex!important;align-items:center;gap:6px;flex:0 0 auto;margin:0!important}
.source-table-viewport,.account-table-scroll,.assignment-scroll,[data-history-viewport]{overflow-y:auto}
.quick-source-dialog .quick-source-options>label.quick-source-filtered-out{display:none!important}
.auto-assignment-table .assignment-post-status .job-state.muted{background:#e5e7eb!important;color:#64748b!important}
.selection-bar:not(.hidden){position:fixed!important;left:calc(246px + 24px);right:24px;bottom:18px;z-index:1000;margin:0!important;box-shadow:0 12px 34px #0f172a33}
body:has(.selection-bar:not(.hidden)) main{padding-bottom:92px}
@media(max-width:900px){.selection-bar:not(.hidden){left:16px;right:16px;bottom:12px}}
@media(max-width:1100px){.unified-filter-row,#source-list .source-filters,#auto-connections .connection-filters,#auto-history .history-head,#manual-history .manual-history-head{overflow-x:auto;padding-bottom:5px}}
