/* Keep desktop navigation independent of the active panel's content height. */
@media (min-width: 901px) {
  .admin-app > .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    z-index: 30;
    align-self: start;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }
  .admin-app > .admin-sidebar > * {
    flex-shrink: 0;
  }
  /* Keep the navigation's full content height in the sidebar scroll flow.
     flex: 1 with min-height: 0 lets its groups overflow underneath the footer. */
  .admin-app > .admin-sidebar > .side-nav {
    flex: 0 0 auto;
    min-height: auto;
  }
  .admin-app > .admin-sidebar > .side-nav > .side-group {
    flex-shrink: 0;
  }
  .admin-app > .admin-main {
    grid-column: 2;
    min-width: 0;
  }
}
