/* Keep the primary discovery controls together without changing tag wrapping. */
.filterbar {
  display: grid;
  gap: 12px;
}

.filter-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.filter-search-row .search {
  flex: 1 1 auto;
  min-width: 0;
}

.filter-search-row .ghost {
  flex: 0 0 auto;
}

.filter-tag-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 560px) {
  .filter-search-row {
    align-items: stretch;
  }
}
