.iconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-foreground-muted);
  transition: all 0.15s;
}

.iconBtn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-foreground-muted, #555);
}

/* Subtle accent applied when the current branch doesn't have the
 * prototype (the card is "branch-only" elsewhere). Replaces the
 * previous loud card-level blue background — now the only marker
 * that a prototype lives on another branch is this single tinted
 * button, plus an accent ring on hover/open. */
.iconBtnAccent {
  color: var(--color-foreground-accent, #0969da);
  background: var(--color-background-accent-muted, #ddf4ff);
}

.iconBtnAccent:hover {
  background: var(--color-background-accent-muted, #ddf4ff);
  color: var(--color-foreground-accent, #0969da);
  box-shadow: inset 0 0 0 1px var(--color-border-accent-muted, #54aeff66);
}

.branchesPositioner {
  z-index: 200;
}

.branchesPopup {
  background: var(--color-background, #fff);
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 240px;
  max-width: min(360px, 90vw);
  padding: 4px 0;
  font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.branchesTitle {
  padding: 6px 12px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-foreground-muted, #999);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.branchesItem {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--color-foreground-muted, #555);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  transition: background 0.1s;
  text-decoration: none;
}

.branchesItem:hover,
.branchesItem[data-highlighted] {
  background: var(--color-background-muted, #f5f5f5);
  color: var(--color-foreground, #1a1a1a);
}

.branchesItemLink {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.branchItemLabel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.externalIndicator {
  flex-shrink: 0;
  color: var(--color-foreground-muted, #656d76);
  font-size: 12px;
}
