.help-nav-link { width: 100%; margin-bottom: 8px; text-decoration: none; }
.help-nav-link:focus-visible { outline: 2px solid #ed2939; outline-offset: 2px; }
/* The document scrolls; the desktop navigation stays within the viewport. */
@media (min-width: 961px) {
  .app-shell > .sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    gap: 16px;
  }
  .sidebar > .sidebar-brand,
  .sidebar > .menu-group-title,
  .sidebar > .sidebar-logout { flex-shrink: 0; }
  .sidebar > .menu-list {
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .sidebar > .sidebar-logout {
    margin-top: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
/* Keep actions reachable on short desktop windows without scrolling the footer. */
@media (min-width: 961px) and (max-height: 650px) {
  .app-shell > .sidebar { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .sidebar > .sidebar-brand { padding-top: 0; padding-bottom: 10px; }
  .sidebar-brand img { width: 52px; height: 52px; }
  .sidebar > .sidebar-logout { padding-top: 8px; }
  .sidebar .menu-item, .sidebar .logout-button { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
  .sidebar .admin-nav-button { margin-bottom: 4px; }
}
