/* Veridian Smart Search - intentionally subtle, single-suggestion ghost completion. */
.veridian-smart-search-host {
  position: relative !important;
}

.veridian-search-ghost {
  position: absolute;
  z-index: 6;
  display: none;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  line-height: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .34;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .12s ease;
}

.veridian-search-ghost:hover,
.veridian-search-ghost:focus-visible {
  opacity: .58;
  outline: none;
}

.veridian-search-ghost.is-visible {
  display: flex;
}

/* Do not let the hint compete with the search icon or become a second UI panel. */
@media (max-width: 767.98px) {
  .veridian-search-ghost {
    opacity: .30;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veridian-search-ghost {
    transition: none;
  }
}
