/* Persistent desktop navigation: document scroll moves content, not the sidebar. */
@media (min-width: 981px) {
  .shell {
    display: block;
    min-height: 100vh;
  }
  .shell .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 60;
  }
  .shell.sidebar-collapsed .sidebar {
    width: 76px;
  }
  .shell .main {
    margin-left: 250px;
    min-width: 0;
    min-height: 100vh;
  }
  .shell.sidebar-collapsed .main {
    margin-left: 76px;
  }
  .shell .topbar {
    position: sticky;
    top: 0;
    z-index: 55;
  }
}
@media (max-width: 980px) {
  /* Mobile keeps its existing bottom navigation and sticky header. */
  .shell .main { margin-left: 0; }
}
