/* _content/DocFlow.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.document-shell[b-qwpih74yo6] {
    min-height: calc(100vh - 3.5rem);
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    background: #f5f7f8;
}

.document-tree-rail[b-qwpih74yo6] {
    position: sticky;
    top: 3.5rem;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    border-right: 1px solid #d8e0e4;
    background: #ffffff;
}

.document-main[b-qwpih74yo6] {
    min-width: 0;
}

.app-topbar[b-qwpih74yo6] {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid #d8e0e4;
    background: #ffffff;
}

.app-topbar strong[b-qwpih74yo6] {
    display: block;
}

.app-topbar span[b-qwpih74yo6] {
    color: #60717d;
    font-size: .82rem;
}

.top-config-menu[b-qwpih74yo6] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.top-config-menu a[b-qwpih74yo6], .top-config-menu button[b-qwpih74yo6], .top-config-menu summary[b-qwpih74yo6] {
    border: 1px solid #cad6d9;
    border-radius: 6px;
    padding: .4rem .6rem;
    color: #263740;
    background: #ffffff;
    text-decoration: none;
    font-size: .86rem;
}

.top-config-menu button[b-qwpih74yo6] {
    cursor: pointer;
}

.top-config-menu details[b-qwpih74yo6] {
    position: relative;
}

.top-config-menu summary[b-qwpih74yo6] {
    cursor: pointer;
    list-style: none;
}

.top-config-menu summary[b-qwpih74yo6]::-webkit-details-marker {
    display: none;
}

.top-config-menu details div[b-qwpih74yo6] {
    position: absolute;
    right: 0;
    top: calc(100% + .4rem);
    min-width: 180px;
    display: grid;
    gap: .25rem;
    border: 1px solid #cad6d9;
    border-radius: 8px;
    padding: .35rem;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(20, 35, 45, .16);
}

.top-config-menu details div a[b-qwpih74yo6] {
    border: 0;
    background: #f5f7f8;
}

.content[b-qwpih74yo6] {
    padding-top: 1.25rem;
}

#blazor-error-ui[b-qwpih74yo6] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-qwpih74yo6] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 900px) {
    .document-shell[b-qwpih74yo6] {
        grid-template-columns: 1fr;
    }

    .document-tree-rail[b-qwpih74yo6] {
        position: relative;
        top: auto;
        height: auto;
        max-height: none;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid #d8e0e4;
    }

    .document-main[b-qwpih74yo6] {
        display: block;
        clear: both;
    }

    .app-topbar[b-qwpih74yo6] {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
        padding: .8rem 1rem;
    }

    .top-config-menu[b-qwpih74yo6] {
        flex-wrap: wrap;
    }

    .content[b-qwpih74yo6] {
        padding-top: 1.25rem !important;
    }
}
