@media (min-width: 1024px) {
  .sidebar {
    background: #222426 !important;
  }

  .sidebar-header {
    padding: 0 14px !important;
  }

  .sidebar-header h3 {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
  }

  .sidebar-header .d-flex {
    gap: 10px !important;
  }

  .sidebar-toggle-btn {
    margin-left: auto !important;
  }

  .sidebar-menu {
    padding: 10px 8px 14px !important;
  }

  .menu-header {
    padding: 10px 8px 6px !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
  }

  .menu-divider {
    margin: 10px 6px 8px !important;
  }

  .menu-item,
  .sidebar-menu > .menu-item,
  .favorites-items .menu-item {
    min-height: 44px !important;
    padding: 0 10px !important;
    gap: 10px !important;
    border-radius: 7px !important;
    font-size: 0.82rem !important;
    line-height: 1.15 !important;
  }

  .menu-item i {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 0.86rem !important;
  }

  .favorite-toggle,
  .favorites-section {
    display: none !important;
  }

  .menu-item.has-favorite {
    padding-right: 10px !important;
  }

  .company-info {
    padding: 8px !important;
  }

  .company-name {
    min-height: 36px !important;
    padding: 9px 10px !important;
    border-radius: 7px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }
}

/* Phase 2 shell sidebar baseline: visual only. */
@media (min-width: 1024px) {
  .sidebar {
    background: #202225 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .sidebar-header {
    min-height: var(--enterprise-header-height) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  .menu-header {
    color: #8f9aa8 !important;
    letter-spacing: 0.08em !important;
  }

  .menu-item,
  .sidebar-menu > .menu-item,
  .favorites-items .menu-item {
    position: relative !important;
    color: #d6dbe3 !important;
    border-left: 0 !important;
  }

  .menu-item:hover,
  .menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.075) !important;
    color: #ffffff !important;
  }

  .menu-item.active {
    background: #2f5fdb !important;
    color: #ffffff !important;
  }

  .menu-item.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 3px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  .company-name {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
  }
}
/* Keep desktop sidebar scrollable without showing the browser scrollbar. */
@media (min-width: 1024px) {
  .sidebar,
  .sidebar-menu {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .sidebar::-webkit-scrollbar,
  .sidebar-menu::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}