/* ============================================================
   Chips
   The multi-value owner input: a bordered box that fakes a
   focused field while the real <input> sits inside it.
   ============================================================ */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  background: var(--field);
  border: 1px solid var(--border-3);
  border-radius: var(--r);
  padding: 8px 10px;
}

.chips:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .16);
}

.chips__input {
  flex: 1;
  min-width: 120px;
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 3px 2px;
}

/* ---------- Chip ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, .12);
  border: 1px solid rgba(20, 184, 166, .3);
  color: var(--accent-lt2);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 400;
}

.chip__x {
  background: none;
  border: none;
  color: var(--accent-lt2);
  cursor: pointer;
  display: flex;
  padding: 0;
  opacity: .75;
}

.chip__x:hover {
  opacity: 1;
}
