html,
body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden;
    background: #fff;
}

.app-shell {
    height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: var(--gap);
    padding: var(--gutter);
    box-sizing: border-box;
    align-items: stretch;
}

.app-sidebar {
    height: 100%;
    box-sizing: border-box;
    border-radius: var(--r);
    overflow: hidden;
}

.app-main {
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 920px) {
    body {
        overflow: auto;
    }

    .app-shell {
        height: auto;
        grid-template-columns: 1fr;
        padding: 0 !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .app-sidebar,
    .app-main {
        height: auto;
    }

    .app-main {
        position: relative;
        z-index: 1;
    }
}