/* Claude-derived desktop sidebar geometry.
 * Formas brand/header height remains authoritative and unchanged.
 */
@media (min-width: 1025px) {
  :root { --sidebar-width: 289px; }

  .sidebar-content > .sidebar-section:first-child { padding: 16px 0 0; }
  .sidebar-content > .sidebar-section:nth-child(2) { padding-top: 24px; }
  .sidebar-section#projectsSection { padding: 36px 0 20px; }

  .sidebar-section-title {
    padding: 0 15px 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: none;
  }

  .sidebar-item {
    box-sizing: border-box;
    width: auto;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    margin: 0 8px 0.5px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
  }

  .sidebar-item[data-module] { border-radius: 8px; }
  .sidebar-item.sidebar-item-parent { min-height: 32px; }

  .sidebar-item.sidebar-item-child {
    margin: 0 8px 0.5px;
    /* The child icon occupies the parent's label column: 8px row inset +
       16px parent icon + 14px parent gap = 38px. */
    padding: 0 8px 0 38px;
  }

  .sidebar-item-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0 14px 0 0;
    font-size: 13px;
  }

  .sidebar-item-icon img {
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    max-height: none !important;
  }

  .sidebar-item.sidebar-item-child .sidebar-item-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0 14px 0 0;
  }

  .sidebar-item.sidebar-item-parent .sidebar-item-icon img {
    width: 18px !important;
    height: 18px !important;
  }

  .sidebar-item.sidebar-item-child .sidebar-item-icon img {
    width: 20px !important;
    height: 20px !important;
  }

  .sidebar-item-icon.project-thumb {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    margin: 0 14px 0 0;
    border-width: 1px;
    font-size: 8px;
  }

  .sidebar-item-text {
    min-width: 0;
    line-height: 20px;
  }

  .sidebar-item[data-module].active::before,
  .sidebar-item.project-item.active::before,
  .sidebar-item.project-item.active[data-project]::before {
    display: none;
  }

  .sidebar-item > .module-dot-indicator,
  .sidebar-item > .project-dot-indicator {
    display: none !important;
  }
}
