/* _content/WaterMonitor.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-w1zyt4amx5] {
    position: relative;
    display: grid;
    min-height: 100vh;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "sidebar top"
        "sidebar main";
}

.page.sidebar-collapsed[b-w1zyt4amx5] {
    grid-template-columns: 76px 1fr;
}

.sidebar[b-w1zyt4amx5] {
    grid-area: sidebar;
    background: #F1F3F7;
    min-height: 0;
}

.shell-top[b-w1zyt4amx5],
.top-row[b-w1zyt4amx5] {
    grid-area: top;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    justify-content: space-between;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 60;
}

.shell-main[b-w1zyt4amx5],
main[b-w1zyt4amx5] {
    grid-area: main;
    background: var(--md-background, #F3F7FC);
    min-width: 0;
    min-height: 0;
}

@media (max-width: 768px) {
    .page[b-w1zyt4amx5],
    .page.sidebar-collapsed[b-w1zyt4amx5] {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        grid-template-areas:
            "top"
            "sidebar"
            "main";
    }

    .shell-top[b-w1zyt4amx5],
    .top-row[b-w1zyt4amx5] {
        position: sticky;
        top: 0;
        z-index: 60;
    }

    .sidebar[b-w1zyt4amx5] {
        position: sticky;
        top: var(--wm-topbar-height, 64px);
        z-index: 55;
        width: 100%;
        height: auto;
    }

    .shell-top[b-w1zyt4amx5],
    .top-row[b-w1zyt4amx5],
    article[b-w1zyt4amx5] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 769px) {
    .sidebar[b-w1zyt4amx5] {
        position: sticky;
        top: 0;
        height: 100vh;
        align-self: start;
    }

    .shell-top[b-w1zyt4amx5],
    .top-row[b-w1zyt4amx5],
    article[b-w1zyt4amx5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-w1zyt4amx5] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-w1zyt4amx5] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/WaterMonitor.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* Mobile horizontal strip; desktop styles live in app.css */
@media (max-width: 768px) {
    .md-nav[b-ieaftvq20o] {
        width: 100%;
        min-height: 0;
        height: auto;
    }
}
