.workspace-switcher {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  color: var(--muted, #6b7280);
  font-size: .78rem;
}

.workspace-switcher__label {
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.workspace-switcher__select {
  width: auto;
  min-width: 150px;
  max-width: 210px;
  margin: 0;
  padding: .3rem 1.8rem .3rem .55rem;
  background: var(--surface-2, #161b22);
  border: 1px solid var(--border, #1e2430);
  border-radius: 6px;
  color: var(--text, #e8eaf0);
  font: inherit;
  cursor: pointer;
}

.workspace-switcher__select:focus {
  outline: 2px solid var(--lime, #c8f526);
  outline-offset: 1px;
}

.workspace-switcher__select:disabled {
  cursor: wait;
  opacity: .7;
}

.workspace-switcher__status {
  color: var(--dim, #4b5563);
  font-size: .7rem;
  white-space: nowrap;
}

.hdr-workspace {
  color: var(--lime, #c8f526);
  font-size: .78rem;
  margin-left: .45rem;
}

.workspace-switcher--error .workspace-switcher__status {
  color: #f87171;
}

@media (max-width: 640px) {
  .workspace-switcher {
    flex: 1 1 100%;
    justify-content: flex-start;
    order: 3;
  }

  .workspace-switcher__select {
    min-width: 0;
    flex: 1 1 auto;
    max-width: none;
  }
}
