.key-tags-control {
  display: grid;
  gap: 0.45rem;
}

.key-tags-selected {
  display: flex;
  min-height: 0;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.key-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.45rem 0.25rem 0.65rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.key-tag-chip button {
  min-height: auto;
  padding: 0 0.25rem;
  border: 0;
  background: transparent;
  color: inherit;
}

/* Parts of a Key name, service or tag that the Key filter matched. */
mark.search-match { background: rgba(233, 162, 59, .3); color: inherit; border-radius: .15em; box-shadow: inset 0 -2px 0 var(--accent-strong, #ffb84d); }
