#root .thv-place-layout .category-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label label"
    "title actions"
    "help help";
  gap: 6px 12px;
  align-items: stretch;
}

#root .thv-place-layout .category-search-label {
  grid-area: label;
}

#root .thv-place-layout .category-search-row > .category-search-title {
  grid-area: title;
  box-sizing: border-box;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  font-weight: 600;
}

#root .thv-place-layout .category-search-help {
  grid-area: help;
}

#root .thv-place-layout .category-search-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 12px;
  align-items: stretch;
}

#root .thv-place-layout .category-search-actions > button {
  height: auto;
  min-height: 46px;
}

#root .thv-place-layout .category-search-actions > span {
  align-self: center;
  padding: 0;
}

@media (max-width: 800px) {
  #root .thv-place-layout .category-search-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "title"
      "actions"
      "help";
  }

  #root .thv-place-layout .category-search-actions {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
    gap: 8px;
  }
}
