A shell switches between sidebar and stacked navigation based on its available container space.
The shell responds to its container, not the viewport.