/* One viewport allowance for the panel navigation; one vertical scroller in stock. */
@media (max-width: 920px) {
    body:not(.mobile-launcher-home) #appShell:has(#appView[data-view="stock"]) {
        height: 100dvh;
        min-height: 0;
    }
    body:not(.mobile-launcher-home) #appShell:has(#appView[data-view="stock"]) > .main {
        min-height: 0;
        overflow: hidden;
    }
    #appView[data-view="stock"] {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }
    body.mobile-launcher-mode #appView[data-view="stock"] {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }
    #appView[data-view="stock"] > .desktop-stock-frame {
        flex: 1 1 auto;
        height: 0;
        min-height: 0;
    }

    body.stock-embedded .shell {
        height: auto;
        min-height: 100dvh;
        grid-template-rows: auto auto;
    }
    body.stock-embedded .main { display: block; }
    body.stock-embedded .content {
        overflow: visible;
        scrollbar-gutter: auto;
    }
}
