/* Canvas-first layout: no permanent rows above the page except the main toolbar. */
.relocated-control{display:none!important}
.canvas-toolbar{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px!important;min-height:48px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:7px 9px!important}
.compact-group{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.toolbar-space{flex:1 1 auto;min-width:0}
.canvas-toolbar button{font-size:14px!important;min-height:34px;padding:6px 9px!important;white-space:nowrap}
.compact-select{width:auto;min-height:34px;min-width:0;padding:6px 23px 6px 9px;border:1px solid #d2dbe7;border-radius:7px;background-color:#fff;color:#20344e;font-size:14px;font-weight:600;cursor:pointer}
.canvas-toolbar #compactView{width:155px}
.canvas-toolbar #compactLayout{width:100px}
.canvas-toolbar #compactZoom{width:116px}
.sidebar,.sidehead,.sidehead .row,.sidehead .searchbox,.sidehead .searchbox input{min-width:0;max-width:100%}
.sidehead{grid-template-columns:minmax(0,1fr)}
.sidebar-selection{display:flex;align-items:center;gap:6px;margin-top:0;min-width:0;width:100%}
.sidebar-selection #compactSelection{flex:1 1 0;width:0;min-width:0;max-width:100%;font-size:14px;min-height:34px}
.sidebar-selection .has-selection{background:#edf2ff;border-color:#b2c1ef;color:#274abf}
.sidebar-selection #bulkActions{flex:0 0 auto;min-height:34px;font-size:14px;padding:6px 9px}
.sidefoot{padding:8px!important}
.sidefoot .compact-footer{display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap!important}
.sidefoot .compact-footer #sortOrder{flex:1 1 0;width:0;min-width:55px;padding:5px 20px 5px 6px;font-size:14px;min-height:36px}
.sidefoot .compact-footer #compactAddPage{flex:1 1 0;width:0;min-width:68px;padding:5px 16px 5px 6px;font-size:14px;min-height:36px}
.sidefoot .compact-footer #compactMore{flex:0 0 40px;width:40px;min-width:40px;appearance:none;background-image:none!important;text-align:center;text-align-last:center;font-size:19px;padding:4px 0!important;min-height:36px}
.statusbar{display:flex!important;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;min-height:30px}
.statusbar #status{min-width:0;flex:1 1 auto}
.status-details{display:flex;align-items:center;gap:12px;white-space:nowrap}
.status-details .grid-count,.status-details .selection-count{margin:0;color:#e0e8f5;font-size:13px;font-weight:600}
.statusbar #saveStatus{white-space:nowrap}
.fit-note{color:#415770;font-size:13px;line-height:1.45;margin:7px 0 10px}
#effectiveFit{font-weight:650;color:#294eae}
@media(max-width:1100px){.canvas-toolbar{gap:5px!important}.canvas-toolbar button{padding:6px!important}.canvas-toolbar #compactView{width:130px}.canvas-toolbar #compactLayout{width:88px}.canvas-toolbar #compactZoom{width:95px}.statusbar #saveStatus{margin-left:auto}}
@media(max-width:800px){.canvas-toolbar{padding:8px!important;overflow-x:auto}.canvas-toolbar button,.compact-select{min-height:39px}.sidefoot .compact-footer #sortOrder,.sidefoot .compact-footer #compactAddPage{width:auto;min-width:90px;flex:1}.sidefoot .compact-footer #compactMore{flex:0 0 48px;width:48px}.status-details{gap:8px}.statusbar{font-size:12px}.fit-note{font-size:14px}}
