@media screen{
 body.register-scroll-page{overflow-y:hidden}
 :is(#entityTable,#npClientRows)>.register-rows-scroll{overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0}
 :is(#entityTable,#npClientRows)>.register-rows-scroll>table{overflow:visible}
 :is(#entityTable,#npClientRows)>.register-rows-scroll thead{position:sticky;top:0;z-index:10;isolation:isolate;background:#e5edf5}
 :is(#entityTable,#npClientRows)>.register-rows-scroll thead th{position:static!important}
}
@media print{:is(#entityTable,#npClientRows)>.register-rows-scroll{max-height:none!important;overflow:visible!important}}

@media screen{
 :is(#entityTable,#npClientRows)>.register-rows-scroll{isolation:isolate}
 :is(#entityTable,#npClientRows)>.register-rows-scroll>table{border-collapse:separate;border-spacing:0}
 :is(#entityTable,#npClientRows)>.register-rows-scroll thead th{background:#e5edf5!important;background-clip:padding-box}
}
@media screen and (min-width:900px){
 :is(#entityTable,#npClientRows)>.register-rows-scroll .sticky-key-columns thead .row-select-col{position:sticky!important}
}
@media screen and (min-width:1400px){
 :is(#entityTable,#npClientRows)>.register-rows-scroll table[data-entity="assets"].sticky-key-columns thead :is(.health-col,.presence-col,.machine-col){position:sticky!important}
}

/* List action menus must paint above sticky table headers and cells. */
@media screen{
 #entityTable>.entity-selection-actions{position:relative;z-index:20;overflow:visible}
 #entityTable .selection-more-menu{z-index:30}
}

/* column-tools.js reparents selection actions into the column toolbar. */
@media screen{
 #content :is(#entityTable,#supervisionAlertRows) .column-tools-bar{position:relative!important;inset:auto!important;z-index:30!important;overflow:visible!important}
 #content :is(#entityTable,#supervisionAlertRows) .entity-selection-actions{position:relative;z-index:31;overflow:visible}
 #content :is(#entityTable,#supervisionAlertRows) .selection-more-menu{z-index:40}
}

/* Freeze the complete column header, including its filter row. */
@media screen{
 #content .table-wrap>table>thead,
 .aa-dialog .aa-rows>table>thead{position:sticky!important;top:0!important;z-index:10!important;background:var(--pale,#e5edf5);isolation:isolate}
 #content .aa-page .table-wrap>table>thead th,
 .aa-dialog .aa-rows>table>thead th{position:static!important;background:#eaf1f9!important}
}

@media screen{
 .stationary-header-list{overflow:auto!important;max-height:var(--list-available-height)!important;min-height:0;overscroll-behavior:contain;isolation:isolate}
 .stationary-header-list>table{border-collapse:separate;border-spacing:0}
 .stationary-header-list>table>thead{position:sticky!important;top:0!important;z-index:10!important;background:var(--pale,#e5edf5);isolation:isolate}
 .stationary-header-list>table>thead th{background:var(--pale,#e5edf5);background-clip:padding-box}
 .stationary-header-list>table>thead .column-filters th{position:static!important}
}
@media print{.stationary-header-list{max-height:none!important;overflow:visible!important}}

/* Menus from the first toolbar must cover the selection toolbar below. */
@media screen{
 #content .entity-list-panel .entity-list-controls{position:relative;z-index:50;overflow:visible}
 #content .entity-list-panel .ab-tools{overflow:visible}
 #content .entity-list-panel :is(.ab-info,.ab-options)[open]{z-index:2}
}

@media screen{tr.column-page-hidden{display:none!important}}
