.menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summary {
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.itemActive {
  background: rgba(74, 109, 255, 0.12);
  border-color: rgba(74, 109, 255, 0.5);
  color: var(--interactive, #4a6dff);
}

/* Mobile-only section selector — hidden on desktop. */
.select {
  display: none;
}

/* < 1024px: replace the list with the select. */
@media (max-width: 1023px) {
  .nav {
    display: none;
  }

  .select {
    display: block;
  }
}
