/* Match the sidebar to the light list surfaces while retaining the menu hierarchy. */
#ctrlviewConsole .sidebar { border: 0; border-right: 1px solid #e5e7ef; background: linear-gradient(180deg, #fcfbff 0%, #f6f5fb 58%, #f7f9fd 100%); color: #475569; box-shadow: none; }
#ctrlviewConsole .sidebar::after { display: none; }
#ctrlviewConsole .sidebar .brand-block { border-bottom: 1px solid #e5e7ef; background: #fff; }
#ctrlviewConsole .sidebar .brand-block strong { color: #344054; }
#ctrlviewConsole .sidebar .brand-block span { color: #667085; font-size: 12px; }
#ctrlviewConsole .sidebar .main-nav { padding: 14px 12px 20px; scrollbar-width: thin; scrollbar-color: #b5a8ce #f2eff8; }
#ctrlviewConsole .sidebar .nav-cluster { margin: 4px 0; }
#ctrlviewConsole .sidebar :is(.nav-primary, .nav-item) { min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #526076; box-shadow: none; font-size: 16px; font-weight: 500; }
#ctrlviewConsole .sidebar .nav-primary { font-weight: 600; }
#ctrlviewConsole .sidebar :is(.nav-primary, .nav-item) > span { color: inherit; }
#ctrlviewConsole .sidebar :is(.nav-primary, .nav-item):hover { color: #493d6c; background: #efedf6; }
#ctrlviewConsole .sidebar .nav-cluster:has(.nav-item.active) > .nav-primary { background: transparent; color: #493d6c; }
#ctrlviewConsole .sidebar .nav-cluster:has(.nav-item.active) > .nav-primary:hover { background: #efedf6; }
#ctrlviewConsole .sidebar .nav-item.active,
#ctrlviewConsole .sidebar .main-nav > .nav-item--root.active:hover { background: linear-gradient(100deg, #eee8f9, #edf3ff); color: #4f3c7b; box-shadow: inset 2px 0 #8060b5; font-weight: 500; }
#ctrlviewConsole .sidebar .nav-item.active::before,
#ctrlviewConsole .sidebar .nav-item.active::after { display: none; content: none; }
#ctrlviewConsole .sidebar :is(.nav-primary > svg:first-child, .nav-item > svg) { width: 18px; height: 18px; border: 0; border-radius: 0; background: transparent; color: #7a8095; box-shadow: none; filter: none; stroke-width: 1.8; }
#ctrlviewConsole .sidebar .nav-item.active > svg { color: #6c4b9e; }
#ctrlviewConsole .sidebar .nav-cluster:has(.nav-item.active) > .nav-primary > svg:first-child { color: #3974b8; }
#ctrlviewConsole .sidebar .nav-chevron { color: #7a8095; }
#ctrlviewConsole .sidebar .nav-section-label { color: #667085; }
/* Keep keyboard focus inside its own row so adjacent navigation states never overlap. */
#ctrlviewConsole .sidebar :is(.nav-primary, .nav-item):focus-visible { outline: 2px solid #7b61b6; outline-offset: -3px; }
#ctrlviewConsole .sidebar .sidebar-runtime { border: 1px solid #e5e7ef; border-radius: 6px; background: #fff; color: #596579; box-shadow: none; }
#ctrlviewConsole .sidebar .sidebar-runtime strong { color: #344054; }
#ctrlviewConsole .sidebar .sidebar-runtime span { color: #596579; }
#ctrlviewConsole .sidebar .sidebar-runtime-dot { background: #3974b8; box-shadow: 0 0 0 4px #edf3fc; }
@media (prefers-reduced-motion: reduce) {
  #ctrlviewConsole .sidebar :is(.nav-primary, .nav-item, .nav-children) { transition: none; }
}
