/* Desktop navigation stability.
   Keep the sidebar anchored to the viewport while the main content can grow vertically. */
@media (min-width:901px){
  .shell{
    align-items:start;
    min-height:100vh;
    min-height:100dvh;
  }

  .sidebar{
    position:sticky;
    top:0;
    align-self:start;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  .sidebar nav{min-height:0}
  main{
    min-height:100vh;
    min-height:100dvh;
  }
}
