.project-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
}

.project-switcher-label {
  color: var(--muted, #647070);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.project-switcher select {
  width: 100%;
  min-height: 38px;
  appearance: none;
  border: 1px solid var(--line, #d7dcd7);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink, #121718) 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink, #121718) 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
    var(--panel, #ffffff);
  color: var(--ink, #121718);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  padding: 8px 32px 8px 11px;
}

.project-switcher select:focus {
  outline: 2px solid color-mix(in srgb, var(--green, #1f7a5a), white 68%);
  outline-offset: 2px;
}

.project-switcher-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line, #d7dcd7);
  border-radius: 8px;
  background: var(--panel, #ffffff);
  color: var(--ink, #121718);
  font-size: 13px;
  font-weight: 760;
  padding: 8px 10px;
  text-decoration: none;
}

.project-switcher-home:hover,
.project-switcher select:hover {
  background-color: rgba(18, 23, 24, 0.05);
}

@media (max-width: 860px) {
  .project-switcher {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .project-switcher {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  .project-switcher-home {
    width: 100%;
  }
}
