.wkapi-keys-endpoints {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-left: 4px;
  flex: 0 0 auto;
  max-width: 100%;
}

.wkapi-keys-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 32px;
  padding: 0 4px 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wkapi-keys-endpoint__label {
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}

.wkapi-keys-endpoint__sep {
  margin: 0 8px;
  color: #cbd5e1;
  user-select: none;
}

.wkapi-keys-endpoint__url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #475569;
  max-width: min(220px, 28vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wkapi-keys-endpoint__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.wkapi-keys-endpoint__btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wkapi-keys-endpoint__btn svg {
  width: 15px;
  height: 15px;
}

.wkapi-keys-endpoint__btn.is-ok {
  color: #16a34a;
}

@media (max-width: 1100px) {
  .wkapi-keys-endpoints {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    order: 10;
  }
}