/* REVOO AI ID | FRONTEND V85 REVISI 40
   Logo stays at the top; menu, account settings and log out move UNDER it
   when the sidebar is scrolled. Fully opaque light-sage header prevents
   see-through / floating appearance. Preserve the hidden sidebar scrollbar.
   UI-only: no changes to navigation, functions, or API. */
@media screen {
  .sidebar > .sidebar-brand {
    position: sticky !important;
    top: 0 !important;
    bottom: auto !important;
    z-index: 15 !important;
    flex-shrink: 0 !important;
    isolation: isolate;
  }
  html:not([data-theme="dark"]) .sidebar > .sidebar-brand {
    background: #f3f9f5 !important; /* pale white-sage, never translucent */
    border-bottom: 1px solid #cbded3 !important;
    box-shadow: 0 5px 13px rgba(53, 89, 74, .07);
  }
  html[data-theme="dark"] .sidebar > .sidebar-brand {
    background: #182630 !important;
    border-bottom: 1px solid #304650 !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .16);
  }
  .sidebar > .sidebar-brand > .sidebar-brand-logo {
    position: static !important;
  }
  /* No overlay is applied to the footer. It stays after the final menu
     entry and is scrolled into view as in V85 R39. */
  .sidebar > .sidebar-user,
  .sidebar > .sidebar-account-settings {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
  }
}
