/*
 * Keep the application split view independent of Razor CSS isolation.
 * Container rendering can otherwise omit the isolation scope from the
 * interactive layout, leaving the navigation tree at full width.
 */
@media (min-width: 641px) {
    .admin-layout {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .admin-layout-row {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: hidden;
    }

    .admin-layout-base {
        display: flex;
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }

    .admin-layout-sidebar {
        width: 390px;
        min-width: 390px;
        overflow-y: auto;
    }

    .admin-layout-handler {
        cursor: ew-resize;
        flex: 0 0 auto;
        user-select: none;
        display: block;
        width: 4px;
        height: 100%;
        background: var(--menu-color);
        margin: 0 auto;
    }

    .admin-layout-main {
        flex: 1 1 auto;
        min-width: 0;
        overflow: auto;
    }
}
