﻿/* Sidebar styles (finalized from v2 migration)
   Source sync: 2026-03-25 */

/* Unified sidebar system for theme-material.
   Layout is identical in light/dark. Only colors differ via tokens. */
/* Ownership: sidebar only (structure + states + theme colors). */

body.theme-material .sidebar {
  --sb-bg: var(--color-sidebar-bg);
  --sb-border: var(--color-sidebar-border);
  --sb-fg: var(--color-sidebar-text);
  --sb-muted: var(--color-text-secondary);
  --sb-user-avatar-bg: var(--color-brand-primary-soft);
  --sb-user-avatar-fg: var(--color-brand-primary-hover);
  --sb-staff-avatar-bg: var(--color-brand-primary-soft);
  --sb-staff-avatar-fg: var(--color-brand-primary);
  --sb-hover: var(--color-sidebar-accent);
  --sb-active-bg: var(--color-brand-primary-soft);
  --sb-active-fg: var(--color-brand-primary-hover);
  --sb-badge-bg: var(--color-bg-muted);
  --sb-badge-fg: var(--color-text-secondary);
  --sb-badge-active-bg: var(--color-brand-accent-soft);
  --sb-badge-active-fg: var(--color-brand-primary-hover);
  --sb-guide: var(--color-sidebar-border);
  --sb-ring: var(--color-focus-ring);
  --sb-list-base: var(--color-text-secondary);
  --sb-list-hover: var(--color-text-primary);
  --sb-list-active-text: var(--color-text-primary);
  --sb-list-active-icon: var(--color-brand-primary);
}

body.theme-material.dark-theme .sidebar {
  --sb-bg: var(--color-sidebar-bg);
  --sb-border: var(--color-sidebar-border);
  --sb-fg: var(--color-sidebar-text);
  --sb-muted: var(--color-text-secondary);
  --sb-user-avatar-bg: var(--color-brand-primary-soft);
  --sb-user-avatar-fg: var(--color-brand-accent);
  --sb-staff-avatar-bg: var(--color-brand-primary-soft);
  --sb-staff-avatar-fg: var(--color-brand-accent);
  --sb-hover: var(--color-sidebar-accent);
  --sb-active-bg: var(--color-sidebar-accent);
  --sb-active-fg: var(--color-brand-accent);
  --sb-badge-bg: var(--color-bg-muted);
  --sb-badge-fg: var(--color-text-secondary);
  --sb-badge-active-bg: var(--color-brand-accent-soft);
  --sb-badge-active-fg: var(--color-brand-accent);
  --sb-guide: var(--color-border-strong);
  --sb-ring: var(--color-sidebar-ring);
  --sb-list-base: var(--color-text-secondary);
  --sb-list-hover: var(--color-text-primary);
  --sb-list-active-text: var(--color-text-primary);
  --sb-list-active-icon: var(--color-brand-primary);
}

/* Container */
body.theme-material .sidebar {
  width: var(--sidebar-width-expanded) !important;
  min-width: var(--sidebar-width-expanded) !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--sb-bg) !important;
  border-right: 1px solid var(--sb-border) !important;
  box-shadow: none !important;
  transition: width 240ms ease, min-width 240ms ease !important;
}

/* Header */
body.theme-material .sidebar-brand-row {
  height: var(--sidebar-header-height) !important;
  min-height: var(--sidebar-header-height) !important;
  max-height: var(--sidebar-header-height) !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid var(--sb-border) !important;
  background: var(--sb-bg) !important;
  box-sizing: border-box !important;
}

body.theme-material .sidebar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.theme-material .sidebar-brand-text {
  color: var(--sb-fg) !important;
  font-size: 34px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

body.theme-material .sidebar-collapse-btn {
  width: var(--sidebar-icon-btn-size) !important;
  height: var(--sidebar-icon-btn-size) !important;
  border-radius: 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--sb-muted) !important;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

body.theme-material .sidebar-collapse-btn:hover {
  background: var(--sb-hover) !important;
  color: var(--sb-fg) !important;
}

/* Scroll/nav area */
body.theme-material .sidebar-scroll-wrap {
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  gap: 8px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
}

body.theme-material .sidebar-accordion-section {
  margin: 0 !important;
}

body.theme-material .sidebar-accordion-trigger {
  min-height: var(--sidebar-section-trigger-height) !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  transition: background 180ms ease !important;
}

body.theme-material .sidebar-accordion-trigger:hover {
  background: var(--sb-hover) !important;
}

body.theme-material .sidebar-accordion-heading {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.theme-material .sidebar-section-icon,
body.theme-material .sidebar-accordion-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--sb-muted) !important;
  width: 18px !important;
  height: 18px !important;
}

body.theme-material .sidebar-accordion-heading .sidebar-title {
  color: var(--sb-fg) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

/* Accordion chevron: collapsed = right, expanded = down */
body.theme-material .sidebar-accordion-trigger .sidebar-accordion-icon {
  transition: transform 0.2s ease, color 0.2s ease !important;
  transform: rotate(-90deg);
  transform-origin: center;
  will-change: transform;
}

body.theme-material .sidebar-accordion-trigger[aria-expanded="true"] .sidebar-accordion-icon {
  transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  body.theme-material .sidebar-accordion-trigger .sidebar-accordion-icon {
    transition: none !important;
  }
}

body.theme-material .sidebar-accordion-section.expanded .sidebar-accordion-content {
  margin-top: 6px !important;
  margin-left: 0 !important;
  padding-left: 12px !important;
  max-height: none !important;
  overflow: visible !important;
}

body.theme-material .sidebar-accordion-section:not(.expanded) .sidebar-accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
}

body.theme-material .sidebar-accordion-section.expanded :is(#category-list, #staff-list, #tags-list) {
  border-left: 1px solid var(--sb-guide) !important;
  padding-left: 8px !important;
  margin-left: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* Category/staff/tag rows */
body.theme-material .category-item,
body.theme-material .staff-item,
body.theme-material .category-item-tag {
  min-height: var(--sidebar-list-row-height) !important;
  padding: 7px 10px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  gap: 10px !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background 180ms ease, color 180ms ease !important;
}

body.theme-material .staff-item {
  min-height: var(--sidebar-staff-row-height) !important;
  padding: 6px 10px !important;
}

body.theme-material .category-item:hover,
body.theme-material .staff-item:hover,
body.theme-material .category-item-tag:hover {
  background: var(--sb-hover) !important;
}

body.theme-material .category-item.active,
body.theme-material .staff-item.active,
body.theme-material .category-item-tag.active {
  background: var(--sb-active-bg) !important;
  box-shadow: none !important;
}

body.theme-material .category-item-icon-wrap {
  color: var(--sb-list-base) !important;
  width: 18px !important;
  height: 18px !important;
}

body.theme-material .category-item-icon {
  width: 18px !important;
  height: 18px !important;
}

body.theme-material .category-item .category-name,
body.theme-material .staff-item .staff-name,
body.theme-material .category-item-tag .category-item-text {
  color: var(--sb-list-base) !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: block !important;
}

body.theme-material .staff-item .staff-name {
  font-family: var(--font-family-body) !important;
  font-weight: 600 !important;
}

body.theme-material .category-right-slot {
  width: var(--sidebar-icon-btn-size) !important;
  min-width: var(--sidebar-icon-btn-size) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

body.theme-material .category-actions {
  position: absolute !important;
  right: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}

@media (min-width: 901px) {
  body.theme-material .category-item:has(.category-actions):hover .count {
    opacity: 0 !important;
  }
  body.theme-material .category-item:hover .category-actions {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

body.theme-material .category-btn {
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sb-muted) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.theme-material .category-btn:hover {
  color: var(--sb-list-hover) !important;
}

body.theme-material .category-btn svg {
  display: block !important;
  pointer-events: none !important;
}

body.theme-material .category-item:hover .category-name,
body.theme-material .category-item-tag:hover .category-item-text,
body.theme-material .staff-item:hover .staff-name {
  color: var(--sb-list-hover) !important;
}

/* Dark theme: keep list text color stable on hover */
body.theme-material.dark-theme .category-item:hover .category-name,
body.theme-material.dark-theme .category-item-tag:hover .category-item-text,
body.theme-material.dark-theme .staff-item:hover .staff-name {
  color: var(--sb-list-base) !important;
}

body.theme-material .category-item:hover .category-item-icon-wrap,
body.theme-material .category-item-tag:hover .category-item-icon-wrap,
body.theme-material .staff-item:hover .category-item-icon-wrap {
  color: var(--sb-list-hover) !important;
}

body.theme-material .category-item.active .category-name,
body.theme-material .category-item.active:hover .category-name,
body.theme-material .category-item-tag.active .category-item-text,
body.theme-material .category-item-tag.active:hover .category-item-text,
body.theme-material .staff-item.active .staff-name,
body.theme-material .staff-item.active:hover .staff-name {
  color: var(--sb-list-active-text) !important;
}

body.theme-material .category-item.active .category-item-icon-wrap,
body.theme-material .category-item.active:hover .category-item-icon-wrap,
body.theme-material .category-item-tag.active .category-item-icon-wrap,
body.theme-material .category-item-tag.active:hover .category-item-icon-wrap,
body.theme-material .staff-item.active .category-item-icon-wrap,
body.theme-material .staff-item.active:hover .category-item-icon-wrap {
  color: var(--sb-list-active-icon) !important;
}

/* Trash: only active icon is red, text remains regular active style */
body.theme-material .category-item[data-category-id="-1"].active .category-item-icon-wrap,
body.theme-material .category-item[data-category-id="-1"].active:hover .category-item-icon-wrap {
  color: var(--color-danger) !important;
}

/* Trash: red-tinted interaction states (hover + selected) */
body.theme-material .category-item[data-category-id="-1"]:hover,
body.theme-material .category-item[data-category-id="-1"].active,
body.theme-material .category-item[data-category-id="-1"].active:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

body.theme-material .count {
  margin-left: auto !important;
  min-width: 20px !important;
  height: 18px !important;
  padding: 0 6px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  background: var(--sb-badge-bg) !important;
  color: var(--sb-badge-fg) !important;
  box-shadow: none !important;
}

body.theme-material .category-item:has(#completed-tasks-count) .category-right-slot {
  width: 44px !important;
  min-width: 44px !important;
}

body.theme-material #completed-tasks-count {
  min-width: 38px !important;
  padding: 0 5px !important;
  box-sizing: border-box !important;
}

body.theme-material .category-item.active .count,
body.theme-material .staff-item.active .count,
body.theme-material .category-item-tag.active .count {
  background: var(--sb-badge-active-bg) !important;
  color: var(--sb-badge-active-fg) !important;
}

/* Dark theme: active list counters must stay high-contrast and readable */
body.theme-material.dark-theme .category-item.active .count,
body.theme-material.dark-theme .staff-item.active .count,
body.theme-material.dark-theme .category-item-tag.active .count {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

body.theme-material .category-item[data-category-id="-1"].active .count,
body.theme-material .category-item[data-category-id="-1"].active:hover .count {
  background: var(--color-danger) !important;
  color: #ffffff !important;
}

/* Footer */
body.theme-material .sidebar-user-info {
  margin-top: auto !important;
  flex: 0 0 auto !important;
  min-height: var(--sidebar-footer-height) !important;
  padding: 12px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-top: 1px solid var(--sb-border) !important;
  background: var(--sb-bg) !important;
}

body.theme-material .sidebar-user-profile-btn {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: var(--sidebar-section-trigger-height) !important;
  padding: 6px 8px !important;
  border-radius: 12px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-align: left !important;
  color: inherit !important;
  cursor: pointer !important;
}

body.theme-material .sidebar-user-meta {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

body.theme-material .sidebar-user-profile-btn:hover {
  background: var(--sb-hover) !important;
}

body.theme-material .sidebar-user-profile-btn:focus,
body.theme-material .sidebar-user-profile-btn:focus-visible {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

body.theme-material .category-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.theme-material #category-list,
body.theme-material #staff-list,
body.theme-material #tags-list {
  margin: 0 !important;
  padding: 0 !important;
}

body.theme-material .sidebar-accordion-content {
  padding: 0 !important;
}

body.theme-material .sidebar-user-avatar {
  width: var(--sidebar-avatar-size) !important;
  height: var(--sidebar-avatar-size) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: var(--sb-user-avatar-bg) !important;
  color: var(--sb-user-avatar-fg) !important;
  line-height: 1 !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

body.theme-material .sidebar .staff-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--avatar-start, #3b82f6) 0%, var(--avatar-end, #2563eb) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  font-family: var(--font-family-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

body.theme-material .sidebar-user-info-name {
  color: var(--sb-fg) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

body.theme-material .sidebar-user-info-role {
  color: var(--sb-muted) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}


body.theme-material .sidebar-notifications-trigger {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

/* Section action icon buttons (three dots) */
body.theme-material .sidebar-add-category-btn,
body.theme-material .sidebar-admin-btn {
  border: none !important;
  background: transparent !important;
  color: var(--sb-muted) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.theme-material .sidebar-add-category-btn.icon-only,
body.theme-material .sidebar-admin-btn.icon-only {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

body.theme-material .sidebar-add-category-btn:hover,
body.theme-material .sidebar-admin-btn:hover {
  background: var(--sb-hover) !important;
  color: var(--sb-list-hover) !important;
}

body.theme-material .sidebar-add-category-btn .sidebar-add-icon,
body.theme-material .sidebar-admin-btn .sidebar-admin-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* User dropdown */
body.theme-material .sidebar-user-menu-wrap {
  position: static !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.theme-material .sidebar-notifications-btn {
  position: relative !important;
}

body.theme-material .sidebar-user-menu-backdrop {
  display: none !important;
}

body.theme-material .sidebar-user-dropdown {
  position: absolute !important;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 255px !important;
  min-width: 255px !important;
  max-width: 255px !important;
  max-height: min(320px, calc(100vh - 24px)) !important;
  overflow-y: auto !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
  z-index: 100 !important;
  background: var(--color-bg-surface) !important;
  border: 1px solid var(--color-border-default) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

body.theme-material .sidebar-user-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
}

body.theme-material .sidebar-user-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 44px !important;
  padding: 0 16px !important;
  border: none !important;
  background: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  text-align: left !important;
  color: var(--color-text-primary) !important;
}

body.theme-material .sidebar-user-dropdown-item[hidden] {
  display: none !important;
}

body.theme-material .sidebar-user-dropdown-item svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
}

body.theme-material .sidebar-user-dropdown-divider {
  height: 1px !important;
  background: var(--color-border-default) !important;
}

body.theme-material .sidebar-user-dropdown-item:hover {
  background: var(--color-bg-hover) !important;
  color: var(--color-text-primary) !important;
}

body.theme-material.dark-theme .sidebar-user-dropdown {
  background: var(--color-sidebar-bg) !important;
  border-color: var(--color-border-default) !important;
  box-shadow: var(--shadow-3) !important;
}

body.theme-material.dark-theme .sidebar-user-dropdown-item {
  color: var(--color-text-primary) !important;
}

body.theme-material.dark-theme .sidebar-user-dropdown-item:hover {
  background: var(--color-bg-hover) !important;
  color: var(--color-text-primary) !important;
}

body.theme-material .sidebar-user-dropdown-item-danger {
  color: var(--color-danger) !important;
}

body.theme-material .sidebar-user-dropdown-item-danger svg {
  color: var(--color-danger) !important;
}

body.theme-material .sidebar-user-dropdown-item-danger:hover {
  background: var(--color-danger-soft) !important;
  color: var(--color-danger) !important;
}

/* Collapsed */
body.theme-material.sidebar-collapsed .sidebar {
  width: var(--sidebar-width-collapsed) !important;
  min-width: var(--sidebar-width-collapsed) !important;
}

body.theme-material.sidebar-collapsed .sidebar-brand {
  display: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-brand-row {
  justify-content: center !important;
  padding-inline: 8px !important;
}

body.theme-material.sidebar-collapsed .sidebar-scroll-wrap {
  padding: 16px 0 0 !important;
  gap: 8px !important;
  align-items: stretch !important;
  scrollbar-gutter: auto !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-trigger {
  width: 100% !important;
  max-width: none !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 0 !important;
  transition: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-trigger:hover,
body.theme-material.sidebar-collapsed .sidebar-accordion-trigger:active {
  background: transparent !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-section {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  border-top: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-heading {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  background: transparent !important;
  transition: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-section-icon {
  display: inline-flex !important;
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  color: #0f172a !important;
}

body.theme-material.dark-theme.sidebar-collapsed .sidebar-section-icon {
  color: #f1f5f9 !important;
}

body.theme-material.sidebar-collapsed .sidebar-section-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-trigger:hover .sidebar-accordion-heading {
  background: var(--sb-hover) !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-section:first-child {
  border-top: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-accordion-content,
body.theme-material.sidebar-collapsed .sidebar-accordion-heading .sidebar-title,
body.theme-material.sidebar-collapsed .sidebar-accordion-icon,
body.theme-material.sidebar-collapsed .sidebar-accordion-trigger-right {
  display: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-collapse-btn {
  width: 32px !important;
  height: 32px !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}

body.theme-material.dark-theme.sidebar-collapsed .sidebar-collapse-btn {
  color: #f1f5f9 !important;
}

body.theme-material.sidebar-collapsed .sidebar-collapse-btn svg {
  width: 16px !important;
  height: 16px !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-info {
  padding: 0 !important;
  justify-content: center !important;
  gap: 0 !important;
  min-height: 88px !important;
  border-top: 1px solid var(--sb-border) !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-meta {
  display: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-menu-wrap {
  flex: 0 0 auto !important;
  width: auto !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-profile-btn {
  width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  justify-content: center !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-avatar {
  width: 40px !important;
  height: 40px !important;
  font-size: 14px !important;
}

/* Hard override for desktop rules that can re-show chevrons in collapsed state */
body.theme-material.sidebar-collapsed #sidebar-accordion-lists .sidebar-accordion-icon,
body.theme-material.sidebar-collapsed #sidebar-accordion-staff .sidebar-accordion-icon,
body.theme-material.sidebar-collapsed #sidebar-accordion-tags .sidebar-accordion-icon {
  display: none !important;
}

body.theme-material.sidebar-collapsed .sidebar-user-dropdown {
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}

body.theme-material .sidebar-scroll-wrap {
  padding-top: 12px !important;
  box-sizing: border-box !important;
}

body.theme-material .sidebar-scroll-wrap > .sidebar-accordion-section:first-child {
  margin-top: 0 !important;
}

body.theme-material .sidebar-accordion-section:first-child .sidebar-accordion-trigger {
  margin-top: 0 !important;
}

body.theme-material .sidebar-mobile-section-nav {
  display: none !important;
}

/* Material mobile sidebar visuals (owner transfer from legacy style.css) */
@media (max-width: 900px) {
  body.theme-material .sidebar-mobile-section-nav {
    --mobile-seg-padding: 4px;
    --mobile-seg-gap: 2px;
    --mobile-seg-w: calc((100% - (var(--mobile-seg-padding) * 2) - (var(--mobile-seg-gap) * 2)) / 3);
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: var(--mobile-seg-gap);
    position: relative;
    top: auto;
    z-index: 3;
    flex: 0 0 auto;
    margin: 10px 10px 8px;
    padding: var(--mobile-seg-padding);
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    box-shadow: none;
    overflow: hidden;
  }

  body.theme-material .sidebar-mobile-section-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    bottom: auto;
    height: 40px;
    width: var(--mobile-seg-w);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transform: translate(0, -50%);
    transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), width 200ms ease;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
    display: block;
  }

  body.theme-material .sidebar-mobile-section-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
  }

  body.theme-material .sidebar-mobile-section-btn svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  body.theme-material .sidebar-mobile-section-btn.is-active {
    color: #111827;
  }

  body.theme-material .sidebar-mobile-section-btn:not(.is-active):hover {
    color: #374151;
  }

  body.theme-material.dark-theme .sidebar-mobile-section-btn {
    color: #9ca3af;
  }

  body.theme-material.dark-theme .sidebar-mobile-section-nav {
    background: #111827;
    box-shadow: none;
  }

  body.theme-material.dark-theme .sidebar-mobile-section-indicator {
    background: #1f2937;
    box-shadow: 0 1px 2px rgba(2, 6, 23, 0.38);
  }

  body.theme-material.dark-theme .sidebar-mobile-section-btn.is-active {
    color: #f9fafb;
  }

  /* Mobile tab mode: show one section at a time, no accordions */
  body.theme-material .sidebar .sidebar-accordion-trigger {
    display: none !important;
  }

  body.theme-material .sidebar .sidebar-accordion-content {
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  body.theme-material .sidebar .sidebar-accordion-section {
    display: none !important;
  }

  body.theme-material .sidebar[data-mobile-view="lists"] #sidebar-accordion-lists,
  body.theme-material .sidebar[data-mobile-view="staff"] #sidebar-accordion-staff,
  body.theme-material .sidebar[data-mobile-view="tags"] #sidebar-accordion-tags {
    display: block !important;
  }

  body.theme-material .sidebar .sidebar-accordion-section.expanded :is(#category-list, #staff-list, #tags-list),
  body.theme-material .sidebar :is(#category-list, #staff-list, #tags-list) {
    border-left: none !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    gap: 2px !important;
  }

  body.theme-material .sidebar #my-tasks-btn,
  body.theme-material .sidebar .category-item-notifications {
    display: none !important;
  }

  body.theme-material.sidebar-open:not(.mobile-profile-menu-open) .sidebar .sidebar-user-info,
  body.theme-material.mobile-sidebar-menu-open .sidebar .sidebar-user-info {
    display: none !important;
  }

  body.theme-material .sidebar-user-menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(100vw, var(--sidebar-mobile-width)) !important;
    z-index: 2390 !important;
    background: transparent !important;
    display: none !important;
    pointer-events: auto !important;
  }

  body.theme-material .sidebar-user-menu-backdrop.open {
    display: block !important;
  }

  body.theme-material .sidebar-brand-row {
    display: none !important;
  }

  body.theme-material .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    height: auto !important;
    min-height: 0 !important;
    z-index: 2300;
    transition: 0.3s;
    overflow: hidden;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(100vw, var(--sidebar-mobile-width)) !important;
    min-width: 0 !important;
  }

  body.theme-material .sidebar.open {
    left: 0;
  }

  body.theme-material .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--color-text-primary) 25%, transparent);
    z-index: 2200;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  body.theme-material.dark-theme .sidebar-overlay {
    background: color-mix(in srgb, var(--color-bg-surface) 72%, transparent) !important;
  }

  body.theme-material.sidebar-open .sidebar-overlay {
    display: block;
  }

  body.theme-material.sidebar-open .main,
  body.theme-material.sidebar-open .right-panel,
  body.theme-material.sidebar-open .right-panel-slot,
  body.theme-material.sidebar-close-block .main,
  body.theme-material.sidebar-close-block .right-panel,
  body.theme-material.sidebar-close-block .right-panel-slot {
    pointer-events: none;
  }

  body.theme-material.sidebar-open .sidebar,
  body.theme-material.sidebar-open .mobile-topbar,
  body.theme-material.sidebar-open .sidebar-overlay {
    pointer-events: auto;
  }

  body.theme-material .sidebar-scroll-wrap {
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 8px !important;
  }

  body.theme-material .sidebar-user-info {
    position: relative !important;
    flex: 0 0 auto !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    border-right: none !important;
    z-index: auto !important;
    margin: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: var(--sidebar-mobile-footer-height) !important;
    padding: 8px 10px max(10px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body.theme-material .sidebar-user-profile-btn {
    min-height: 56px !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
  }

  body.theme-material .sidebar-user-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
  }

  body.theme-material .sidebar-user-info-name {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    color: var(--color-sidebar-text) !important;
  }

  body.theme-material .sidebar-user-info-role {
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
  }

  /* Mobile user menu as bottom-sheet */
  body.theme-material .sidebar-user-dropdown {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    width: 255px !important;
    min-width: 255px !important;
    max-width: 255px !important;
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    transform: translate(-50%, 12px) !important;
    max-height: min(360px, calc(100vh - 24px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
    padding: 0 !important;
    z-index: 2400 !important;
  }

  body.theme-material .sidebar-user-dropdown.open {
    transform: translate(-50%, 0) !important;
  }

  body.theme-material .sidebar-header-icons {
    padding-top: max(14px, env(safe-area-inset-top, 0px));
  }

  body.theme-material .sidebar-accordion-section {
    margin: 0 !important;
  }

  body.theme-material .sidebar-accordion-trigger-right {
    display: none !important;
  }

  body.theme-material .sidebar-section-icon {
    display: none !important;
  }

  body.theme-material .sidebar-accordion-icon {
    width: 16px !important;
    height: 16px !important;
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar-accordion-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-material .sidebar-accordion-trigger {
    min-height: 34px !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
  }

  body.theme-material .sidebar-accordion-heading {
    gap: 6px !important;
  }

  body.theme-material .sidebar-accordion-heading .sidebar-title {
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar-accordion-section.expanded .sidebar-accordion-content {
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-bottom: 8px !important;
  }

  body.theme-material .sidebar-accordion-section.expanded :is(#category-list, #staff-list, #tags-list) {
    border-left: none !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    gap: 2px !important;
  }

  body.theme-material .category-item,
  body.theme-material .staff-item,
  body.theme-material .category-item-tag {
    min-height: 32px !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    gap: 8px !important;
    border: 1px solid transparent !important;
  }

  body.theme-material .staff-item {
    min-height: 40px !important;
    padding: 0 12px !important;
  }

  body.theme-material .category-item-tag {
    min-height: 36px !important;
    padding: 0 12px !important;
  }

  body.theme-material .sidebar .category-item .category-name,
  body.theme-material .sidebar .staff-item .staff-name,
  body.theme-material .sidebar .category-item-tag .category-item-text {
    color: var(--color-sidebar-text) !important;
  }

  body.theme-material .sidebar .category-item-icon-wrap {
    width: 16px !important;
    height: 16px !important;
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar .category-item-icon {
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-material .sidebar .count {
    min-width: 22px !important;
    height: 20px !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }

  body.theme-material .sidebar-divider {
    height: 1px !important;
    margin: 8px 4px !important;
    background: var(--color-sidebar-border) !important;
  }
}

/* Desktop refresh aligned with Figma left-menu composition */
@media (min-width: 901px) {
  body.theme-material .sidebar {
    width: 280px !important;
    min-width: 280px !important;
    background: var(--color-sidebar-bg) !important;
    border-right-color: var(--color-sidebar-border) !important;
  }

  body.theme-material.dark-theme .sidebar {
    background: var(--color-sidebar-bg) !important;
    border-right-color: var(--color-sidebar-border) !important;
  }

  body.theme-material.dark-theme .category-item:hover,
  body.theme-material.dark-theme .staff-item:hover,
  body.theme-material.dark-theme .category-item-tag:hover {
    background: var(--color-sidebar-accent) !important;
    border-color: transparent !important;
  }

  body.theme-material .sidebar-brand-row {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 12px 14px !important;
  }

  body.theme-material .sidebar-brand {
    gap: 10px !important;
  }

  body.theme-material .sidebar-brand-logo {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #3b82f6 !important;
    color: #3b82f6 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }

  body.theme-material .sidebar-brand-logo svg {
    width: 20px !important;
    height: 20px !important;
  }

  body.theme-material .sidebar-brand-text {
    font-family: var(--font-family-body) !important;
    font-size: 18px !important;
    line-height: 28px !important;
    font-weight: 600 !important;
    color: var(--color-sidebar-text) !important;
    letter-spacing: 0 !important;
  }

  body.theme-material .sidebar-collapse-btn {
    width: 32px !important;
    height: 32px !important;
    color: var(--color-text-secondary) !important;
    border-radius: 8px !important;
  }

  body.theme-material .sidebar-collapse-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-material .sidebar-scroll-wrap {
    padding: 10px 10px 12px !important;
    gap: 6px !important;
  }

  body.theme-material .sidebar-accordion-trigger {
    min-height: 34px !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
  }

  body.theme-material .sidebar-accordion-heading {
    gap: 6px !important;
  }

  body.theme-material .sidebar-section-icon {
    display: none !important;
  }

  body.theme-material .sidebar-accordion-heading .sidebar-title {
    font-family: var(--font-family-body) !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar-accordion-icon {
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar-accordion-section.expanded .sidebar-accordion-content {
    margin-top: 4px !important;
    padding-left: 0 !important;
  }

  body.theme-material .sidebar-accordion-section.expanded :is(#category-list, #staff-list, #tags-list) {
    border-left: none !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    gap: 2px !important;
  }

  body.theme-material .category-item,
  body.theme-material .staff-item,
  body.theme-material .category-item-tag {
    min-height: 32px !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    gap: 8px !important;
    border: 1px solid transparent !important;
  }

  body.theme-material .category-item:hover,
  body.theme-material .staff-item:hover,
  body.theme-material .category-item-tag:hover {
    background: var(--color-sidebar-accent) !important;
    border-color: transparent !important;
  }

  body.theme-material .category-item .category-name,
  body.theme-material .staff-item .staff-name,
  body.theme-material .category-item-tag .category-item-text {
    font-family: var(--font-family-body) !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    color: var(--color-sidebar-text) !important;
  }

  body.theme-material .category-item-icon-wrap {
    width: 16px !important;
    height: 16px !important;
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .category-item-icon {
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-material .staff-item {
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    gap: 8px !important;
  }

  body.theme-material .category-item-tag {
    min-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    gap: 8px !important;
  }

  body.theme-material .staff-avatar {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 26843500px !important;
    background: linear-gradient(135deg, var(--avatar-start, #3b82f6) 0%, var(--avatar-end, #2563eb) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1) !important;
    font-family: var(--font-family-body) !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
  }

  body.theme-material .staff-item .staff-name {
    font-family: var(--font-family-body) !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
    color: var(--color-sidebar-text) !important;
  }

  body.theme-material .count {
    font-family: var(--font-family-body) !important;
    min-width: 22px !important;
    height: 19.988px !important;
    margin-left: auto !important;
    padding: 2px 8px !important;
    border-radius: 26843500px !important;
    background: var(--color-bg-muted) !important;
    color: var(--color-text-secondary) !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
  }

  body.theme-material .count.count-unread {
    background: rgba(59, 130, 246, 0.14) !important;
    color: #2563eb !important;
    border: none !important;
    font-weight: 600 !important;
  }

  body.theme-material .category-item.active,
  body.theme-material .staff-item.active,
  body.theme-material .category-item-tag.active {
    background: var(--sb-active-bg) !important;
  }

  body.theme-material .category-item.active .count,
  body.theme-material .staff-item.active .count,
  body.theme-material .category-item-tag.active .count {
    min-width: 22px !important;
    height: 19.988px !important;
    padding: 2px 8px !important;
    border-radius: 26843500px !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
  }

  body.theme-material .category-item[data-category-id="-1"].active .count,
  body.theme-material .category-item[data-category-id="-1"].active:hover .count {
    background: #ef4444 !important;
    color: #ffffff !important;
  }

  body.theme-material .category-item[data-category-id="-1"]:hover,
  body.theme-material .category-item[data-category-id="-1"].active,
  body.theme-material .category-item[data-category-id="-1"].active:hover {
    background: rgba(239, 68, 68, 0.1) !important;
  }

  body.theme-material.dark-theme .count.count-unread {
    background: rgba(59, 130, 246, 0.24) !important;
    color: #93c5fd !important;
    border: none !important;
  }

  body.theme-material .category-item[data-category-id="-1"] {
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 6px !important;
  }

  body.theme-material #sidebar-accordion-staff,
  body.theme-material #sidebar-accordion-tags {
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  body.theme-material .sidebar-user-info {
    padding: 12.8px 12px !important;
    min-height: 80.8px !important;
    border-top: 0.8px solid var(--color-sidebar-border) !important;
    gap: 8px !important;
  }

  body.theme-material .sidebar-user-menu-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-right: 12px !important;
  }

  body.theme-material .sidebar-user-profile-btn {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 56px !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
  }

  body.theme-material .sidebar-user-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
  }

  body.theme-material .sidebar-user-info-name {
    font-family: var(--font-family-body) !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    color: var(--color-sidebar-text) !important;
  }

  body.theme-material .sidebar-user-info-role {
    font-family: var(--font-family-body) !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
  }

  body.theme-material .sidebar-divider {
    list-style: none !important;
    height: 1px !important;
    margin: 8px 4px !important;
    background: var(--color-sidebar-border) !important;
  }

  body.theme-material.dark-theme .sidebar-divider {
    background: #1e293b !important;
  }

  body.theme-material .category-item-shared.active {
    background: var(--sb-active-bg) !important;
  }

  body.theme-material .category-item-shared.active .count {
    min-width: 22px !important;
    height: 19.988px !important;
    padding: 2px 8px !important;
    border-radius: 26843500px !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
  }

  body.theme-material .sidebar-accordion-trigger-right {
    display: none !important;
  }

  body.theme-material #sidebar-accordion-staff .sidebar-accordion-trigger,
  body.theme-material #sidebar-accordion-tags .sidebar-accordion-trigger {
    min-height: 36px !important;
    padding: 0 8px !important;
  }

  body.theme-material #sidebar-accordion-staff .sidebar-accordion-icon,
  body.theme-material #sidebar-accordion-tags .sidebar-accordion-icon {
    display: inline-flex !important;
    margin-left: auto !important;
    color: var(--color-text-secondary) !important;
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-material #sidebar-accordion-staff .sidebar-accordion-icon svg,
  body.theme-material #sidebar-accordion-tags .sidebar-accordion-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

}

/* Final typography lock for left menu (Figma 80:1408) */
body.theme-material .sidebar-accordion-heading .sidebar-title,
body.theme-material .category-item .category-name,
body.theme-material .category-item-tag .category-item-text,
body.theme-material .staff-item .staff-name,
body.theme-material .count,
body.theme-material .sidebar-user-info-name,
body.theme-material .sidebar-user-info-role {
  font-family: var(--font-family-body) !important;
}

body.theme-material .sidebar-accordion-heading .sidebar-title,
body.theme-material .category-item .category-name,
body.theme-material .category-item-tag .category-item-text,
body.theme-material .staff-item .staff-name {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
}

body.theme-material .sidebar-user-info-name {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
}

body.theme-material .count,
body.theme-material .sidebar-user-info-role {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
}

body.theme-material .sidebar-accordion-section.expanded .sidebar-accordion-trigger .sidebar-title {
  font-weight: 500 !important;
}
