.collection-controls {
  position: relative;
  z-index: 2;
  margin-block-end: 12px;
}

.collection-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.collection-category-title { min-width: 0; }

.collection-quick-filters {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}

:is(.collection-filter-toolbar, .collection-filter-options) .atlas-tag {
  --tag-stroke: 1px;
  --tag-border: var(--places-control-border);
  flex: none;
}

#collection-filters-toggle[aria-expanded=true] { border-color: #161719; }

.collection-filters-panel {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 0;
  width: min(100%, 340px);
  max-block-size: min(45dvh, 280px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--places-control-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px #15171914;
}

.collection-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.collection-filters-reset {
  min-height: 32px;
  margin-block-start: 6px;
  padding-inline: 7px;
  border: 0;
  background: transparent;
  color: #275a87;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.collection-filters-reset:disabled { opacity: .55; cursor: default; }
.collection-filters-reset:enabled:hover {
  background: transparent;
  color: #183f61;
}

:is(.collection-filter-toolbar, .collection-filter-options) .atlas-tag:enabled:hover { background: var(--workspace-control-hover); }

.collection-places-empty {
  margin: 0;
  color: #565a60;
  font-size: 13px;
}

.collection-more-places { height: 1px; }
