.pill {
  display: inline-flex;
  flex: 0 1 auto;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
}

.pill--muted {
  background: color-mix(in srgb, var(--surface) 86%, var(--bg));
}

.pill--link {
  text-decoration: none;
}

.pill--link:hover {
  text-decoration: underline;
}

.pill--icon {
  padding: 2px 8px;
  line-height: 1.3;
  cursor: pointer;
}


