/* The shared list lives outside page forms, so hero clipping and submit-button
   styles cannot affect it. Coordinates follow the input and visual viewport. */
body .search-suggest.search-suggest-floating {
  position: fixed;
  inset: auto;
  z-index: 1500;
  box-sizing: border-box;
  margin: 0;
  display: block;
  padding: 5px;
  min-width: 0;
  max-width: calc(100vw - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  scrollbar-width: thin;
  border: 1px solid #b8e6f5;
  border-radius: 8px;
  background: #fcfeff;
  color: #003b52;
  box-shadow: 0 8px 24px rgba(43, 88, 134, .14);
}

body .search-suggest-floating::backdrop { background: transparent; pointer-events: none; }

body .search-suggest-floating .search-suggest-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 42px;
  margin: 0;
  padding: 9px 10px;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: #003b52 !important;
  box-shadow: none !important;
  font: inherit;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  transform: none !important;
  cursor: pointer;
}

body .search-suggest-floating .search-suggest-item:is(:hover, .active) {
  background: #e6f7fd !important;
}

body .search-suggest-floating .search-suggest-query {
  border-bottom: 1px solid #e6f7fd !important;
  border-radius: 4px 4px 0 0 !important;
}

body .search-suggest-floating .search-suggest-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #003b52;
  font-size: 13px;
  font-weight: 600;
}

body .search-suggest-floating .search-suggest-meta {
  flex: 0 1 auto;
  max-width: 32%;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #63788b;
  font-size: 11px;
}

body.mobile-page .search-suggest-floating .search-suggest-item { min-height: 44px; }
