.filters-heading {
  align-items: center;
}

.filters-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filters-heading-actions .quiet-link {
  min-height: 40px;
}

.locations-toggle {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--control-bg);
  box-shadow: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.filters-close {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-decoration: underline;
}

.locations-toggle {
  justify-self: start;
  border-color: transparent;
  background: transparent;
  color: var(--accent-ink);
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.locations-toggle:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.filters-close:hover {
  background: transparent;
  color: var(--muted);
}

.filter-toggle[hidden],
.locations-toggle[hidden],
.choice-button[hidden] {
  display: none;
}

@media (max-width: 920px) {
  .filters-open .events-toolbar .event-search {
    grid-column: 1 / -1;
  }
}
