/* Übersicht aller Automationen: bleibt im Viewport wie die Datensatz-Übersicht – nur der Baum scrollt, Suche und Filter
   bleiben sichtbar. */
.mud-main-content:has(.automations-overview-page-content) {
    overflow: hidden !important;
}

.mud-main-content:has(.automations-overview-page-content) > .mud-container {
    padding-top: 0 !important;
}

.automations-overview-page-content {
    height: calc(100dvh - 40px);
    min-height: 0;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow: hidden;
}

.automations-overview-layout {
    width: 100%;
    max-width: 80vw;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
}

.automations-overview-paper {
    flex: 1 1 0;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.automations-overview-tree-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
