/* Camp manager navigation shares the neutral site-shell palette.
   Keep mobile drawers, module flyouts and collapsed-rail geometry intact. */
html body #router #sidebarMenu.sidebar {
    --sidebar-scrollbar-thumb: #454d59;
    --sidebar-scrollbar-thumb-hover: #647080;
    --sidebar-scrollbar-thumb-active: #8592a3;
    background: var(--shell-bg, #1a1d24) !important;
    color: var(--shell-text, #f1f5f9);
    border-right: 1px solid var(--shell-line, #363c46);
    box-shadow: none;
    font-family: var(--shell-font, system-ui, sans-serif);
}

html body #sidebarMenu.sidebar::before,
html body #sidebarMenu.sidebar::after { display: none; }

html body #sidebarMenu :is(a, button),
html body .sidebar-module-box__items.is-sidebar-flyout {
    font-family: var(--shell-font, system-ui, sans-serif);
}

html body #sidebarMenu .nav-link,
html body .sidebar-module-box__items.is-sidebar-flyout .nav-link {
    background: transparent;
    color: var(--shell-muted, #b3bdca) !important;
    border-radius: 6px;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
    margin-bottom: 2px;
}

html body #sidebarMenu .nav-link:hover,
html body .sidebar-module-box__items.is-sidebar-flyout .nav-link:hover {
    background: var(--shell-panel, #232730) !important;
    color: var(--shell-text, #f1f5f9) !important;
}

html body #router #sidebarMenu.sidebar .nav-link.active,
html body .sidebar-module-box__items.is-sidebar-flyout .nav-link.active {
    background: #303641 !important;
    color: var(--shell-text, #f1f5f9) !important;
    box-shadow: inset 2px 0 var(--shell-accent, #ffb366) !important;
    font-weight: 600 !important;
}

html body #sidebarMenu .sidebar-link-icon,
html body .sidebar-module-box__items.is-sidebar-flyout .sidebar-link-icon {
    color: #93a1b3;
    font-size: 15px;
}

html body #sidebarMenu .nav-link.active .sidebar-link-icon,
html body .sidebar-module-box__items.is-sidebar-flyout .nav-link.active .sidebar-link-icon {
    color: var(--shell-accent, #ffb366);
}

html body #sidebarMenu .sidebar-module-box {
    margin-block: 4px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

html body #sidebarMenu .sidebar-module-box__head {
    background: transparent;
    border-radius: 6px;
}

html body #sidebarMenu :is(.sidebar-module-box__head:hover,
    .sidebar-module-box.is-flyout-open .sidebar-module-box__head) {
    background: var(--shell-panel, #232730);
}

html body #sidebarMenu .sidebar-section-toggle {
    background: transparent;
    color: var(--shell-text, #f1f5f9);
    border: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    min-height: 36px;
}

html body #sidebarMenu :is(.sidebar-section-toggle__chev, .sidebar-section-toggle .bi) {
    color: #93a1b3;
    font-size: 11px;
}

html body #sidebarMenu :is(.sidebar-module-settings-btn, .sidebar-rail-toggle,
    .sidebar-module-reorder-btn, .sidebar-qa-edit-btn, .sidebar-qa-reset-btn) {
    background: transparent;
    color: var(--shell-muted, #b3bdca);
    border-color: var(--shell-line, #363c46);
    border-radius: 6px;
    box-shadow: none;
}

html body #sidebarMenu :is(hr, .sidebar-nav-footer, .sidebar-brand) {
    border-color: var(--shell-line, #363c46);
}

html body #sidebarMenu .sidebar-nav-footer {
    background: var(--shell-bg, #1a1d24);
}

html body #sidebarMenu :is(.sidebar-feedback-wrap, .sidebar-feedback-link,
    .sidebar-feedback-link--whatsapp, .sidebar-billing-return) {
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 6px;
    box-shadow: none;
    color: var(--shell-muted, #b3bdca) !important;
}

html body #sidebarMenu :is(.sidebar-feedback-title, .sidebar-feedback-icon,
    .sidebar-feedback-dismiss, .sidebar-feedback-restore) {
    color: var(--shell-muted, #b3bdca);
    font-weight: 400;
    letter-spacing: 0;
}

html body #sidebarMenu .sidebar-feedback-title { font-size: 13px; }
html body #sidebarMenu :is(.sidebar-feedback-link:hover, .sidebar-billing-return:hover) {
    background: var(--shell-panel, #232730) !important;
    color: var(--shell-text, #f1f5f9) !important;
}

html body .sidebar-module-box__items.is-sidebar-flyout {
    background: var(--shell-bg, #1a1d24) !important;
    border: 1px solid var(--shell-line, #363c46) !important;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

html body .sidebar-module-box__items.is-sidebar-flyout::before {
    color: var(--shell-muted, #b3bdca);
    border-color: var(--shell-line, #363c46);
    font: 500 12px/1.5 var(--shell-font, system-ui, sans-serif);
    letter-spacing: 0;
    text-transform: none;
}

html body #sidebarMenu :is(a, button):focus-visible,
html body .sidebar-module-box__items.is-sidebar-flyout a:focus-visible {
    outline: 2px solid var(--shell-accent, #ffb366);
    outline-offset: -2px;
}

@media (min-width: 768px) {
    html body:not(.sidebar-rail-mode) #sidebarMenu .nav-link { padding: 9px 12px; }
    html body:not(.sidebar-rail-mode) #sidebarMenu .sidebar-section-toggle { padding: 9px 12px; }
}

@media (max-width: 767.98px) {
    html body #sidebarMenu :is(.sidebar-section-toggle, .nav-link) { min-height: 44px; }
    html body #sidebarMenu :is(.sidebar-quick-actions, .sidebar-qa-picker) {
        background: transparent;
        border-color: var(--shell-line, #363c46);
        box-shadow: none;
    }
    html body #sidebarMenu :is(.sidebar-qa-title, .sidebar-qa-picker-hint) {
        color: var(--shell-muted, #b3bdca);
        letter-spacing: 0;
        text-transform: none;
    }
}
