[data-wd-demo="search-query-clustering"] p {
  color: #e9ecef;
}

[data-wd-demo="search-query-clustering"] p.wd-muted {
  color: #aeb6bd;
}

[data-wd-demo="search-query-clustering"] .wd-table th,
[data-wd-demo="search-query-clustering"] .wd-table td {
  white-space: normal;
}

[data-wd-demo="search-query-clustering"] .wd-card-header .wd-input,
[data-wd-demo="search-query-clustering"] .wd-card-header .wd-select {
  width: 14rem;
  flex: none;
}

[data-wd-demo="search-query-clustering"] .q-scroll {
  max-height: 196px;
  overflow: auto;
}

[data-wd-demo="search-query-clustering"] .wd-log {
  max-height: 132px;
}

[data-wd-demo="search-query-clustering"] .topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #2c3034;
  border: 1px solid #373b3e;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

[data-wd-demo="search-query-clustering"] .topic.is-on {
  border-color: #0d6efd;
  box-shadow: 0 0 0 1px #0d6efd;
}

[data-wd-demo="search-query-clustering"] .topic .wd-small {
  grid-column: 1 / -1;
}

[data-wd-demo="search-query-clustering"] .topic-list {
  display: grid;
  gap: 8px;
}

[data-wd-demo="search-query-clustering"] .brief p {
  margin: 0 0 8px;
}
