.workspace-shell {
    display: flex;
    align-items: flex-start;
    max-width: 90rem;
    width: 100%;
    margin: 0 auto;
}

.workspace-sidebar {
    position: fixed;
    left: max(1rem, calc((100vw - 90rem) / 2));
    top: 5.25rem;
    width: 15.5rem;
    height: calc(100vh - 6.25rem);
    max-height: calc(100vh - 6.25rem);
    overflow-y: auto;
    z-index: 30;
}

.workspace-main {
    flex: 1;
    min-width: 0;
}

.workspace-shell:not(.sidebar-hidden) .workspace-main {
    margin-left: 15.5rem;
}

@media (max-width: 900px) {
    .workspace-shell {
        display: block;
    }

    .workspace-sidebar {
        position: static;
        width: auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .workspace-shell:not(.sidebar-hidden) .workspace-main {
        margin-left: 0;
    }
}
