/* Keep Vuexy's menu behavior; only the navigation list scrolls. */
#layout-menu.h360-sidebar {
  border-inline-end: 1px solid var(--h360-border-subtle);
}

.h360-sidebar .app-brand {
  flex-shrink: 0;
  min-height: 5.5rem;
}

.h360-sidebar .h360-sidebar-product {
  margin-top: 0.25rem;
  color: var(--h360-text-muted);
  font-size: var(--h360-font-size-xs);
  font-weight: var(--h360-font-weight-regular);
  text-transform: none;
}

.h360-sidebar > .menu-inner {
  flex: 1 1 0%;
  min-height: 0;
  height: auto;
  padding-bottom: 1rem !important;
}

.h360-sidebar .menu-header {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding: 0.5rem 1.5rem 0.25rem;
  letter-spacing: 0.06em;
}

.h360-sidebar .menu-inner > .menu-header:first-child {
  margin-top: 0.5rem;
}

.h360-sidebar .menu-link > div {
  min-width: 0;
  white-space: normal;
}

.h360-sidebar-user {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.625rem;
  min-height: 5rem;
  padding: 1rem;
  border-top: 1px solid var(--h360-border-subtle);
  background: var(--h360-surface-card);
}

.h360-sidebar-user-details {
  flex: 1;
  min-width: 0;
  font-size: var(--h360-font-size-sm);
}

.h360-sidebar-logout {
  flex-shrink: 0;
}

.h360-sidebar-logout:focus-visible {
  outline: 2px solid var(--h360-color-brand-500);
  outline-offset: 2px;
}

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover) .h360-sidebar-user {
    flex-direction: column;
    padding: 0.75rem 0;
  }

  .layout-menu-collapsed:not(.layout-menu-hover) .h360-sidebar-user-details {
    display: none;
  }
}
