.trc-search-suggest-wrap {
  position: relative;
  min-width: 0;
}

.trc-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  display: none;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #cfe1db;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(24, 70, 64, .16);
}

.trc-search-suggestions.is-open {
  display: grid;
  gap: 2px;
}

.trc-search-suggestion {
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #174a4e;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.trc-search-suggestion span,
.trc-search-suggestion small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trc-search-suggestion span {
  font-size: 12px;
  font-weight: 700;
}

.trc-search-suggestion small {
  color: #789493;
  font-size: 10px;
}

.trc-search-suggestion:hover,
.trc-search-suggestion:focus-visible,
.trc-search-suggestion.is-active {
  outline: 0;
  background: #e8f4ef;
  color: #0d766b;
}

#changelist-search .trc-search-suggest-wrap {
  width: min(360px, 100%);
  flex: 0 1 360px;
}

#changelist-search .trc-search-suggest-wrap input[type="search"],
#changelist-search .trc-search-suggest-wrap input[type="text"] {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: none;
}

.filter-bar .trc-search-suggest-wrap {
  flex: 1 1 145px;
}

.filter-bar .trc-search-suggest-wrap .field-input {
  width: 100%;
  min-width: 0;
}

@media (max-width: 680px) {
  #changelist-search .trc-search-suggest-wrap {
    width: auto;
    min-width: 0;
    flex: 1 1 220px;
  }
}
