/* Revealed settlement search. The home field keeps its own placement rules. */
.wx-home-search {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  --wx-search-inset: 36px;
}
.wx-home-search__ico {
  position: absolute;
  z-index: 1;
  left: 11px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #7d95a2;
  pointer-events: none;
}
.wx-home-search__input {
  display: block;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 12px 0 var(--wx-search-inset);
  border: 1px solid rgba(24, 61, 82, 0.28);
  border-radius: 8px;
  background-color: #fff;
  color: var(--ink, #183d52);
  font: 500 14px/1 Manrope, system-ui, sans-serif;
  box-sizing: border-box;
}
.wx-home-search__input::placeholder {
  color: #7d95a2;
  font-weight: 500;
}
.wx-home-search__input:focus { outline: none; }
.wx-home-search__input:focus-visible {
  outline: 2px solid rgba(36, 127, 159, 0.35);
  outline-offset: 1px;
}
.wx-home-search__list {
  position: fixed;
  z-index: 40;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(24, 61, 82, 0.14);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(24, 61, 82, 0.08);
  max-height: 280px;
  overflow: auto;
}
.wx-home-search__list li + li button {
  box-shadow: inset 0 1px 0 rgba(24, 61, 82, 0.06);
}
.wx-home-search__list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 6px 8px 6px var(--wx-search-inset);
  border: 0;
  background: transparent;
  color: var(--ink, #183d52);
  font: 500 14px/1.35 Manrope, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.wx-home-search__list button.is-active,
.wx-home-search__list button:hover {
  background: rgba(24, 61, 82, 0.05);
}
.wx-home-search__main {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-home-search__temp {
  flex: 0 0 auto;
  min-width: 46px;
  padding: 1px 6px 2px;
  border-radius: 5px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.wx-home-search__temp.is-cold3 { color: #1d4f86; background: #e5f0fa; }
.wx-home-search__temp.is-cold2 { color: #2468a8; background: #eaf3fb; }
.wx-home-search__temp.is-cold1 { color: #3a7e9a; background: #eef6f8; }
.wx-home-search__temp.is-mild { color: #2f7a4f; background: #eef6f0; }
.wx-home-search__temp.is-warm { color: #a86a12; background: #fff3dc; }
.wx-home-search__temp.is-hot { color: #b42318; background: #fdeceb; }
.wx-home-search__meta { color: #6d8694; }
.wx-home-search__meta::before { content: ", "; }
.wx-home-search__empty,
.wx-home-search__caption {
  padding: 6px 12px 6px var(--wx-search-inset);
  color: #6d8694;
  font-size: 14px;
  line-height: 1.35;
}
.wx-home-search__caption {
  padding-bottom: 2px;
  font-size: 12px;
}

/* Lupa stays on the crumbs line; the field is the next row and pushes the page. */
.wx-crumbs-row:has(.wx-place-search) {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  padding-left: 0;
}
.wx-crumbs-row .wx-place-search { display: contents; }
.wx-crumbs-row .wx-place-search .wx-city-change {
  position: static;
  top: auto;
  grid-column: 1;
  grid-row: 1;
  transform: none;
}
.wx-crumbs-row .wx-place-search__drop {
  grid-column: 1 / -1;
  grid-row: 2;
  box-sizing: border-box;
  margin: 8px 0 2px;
  max-width: 440px;
}
.wx-crumbs-row:has(.wx-place-search) .wx-breadcrumbs,
.wx-crumbs-row:has(.wx-place-search) .wx-breadcrumbs--strip {
  grid-column: 2;
  grid-row: 1;
}

.wx-htable--catalog .wx-card__head { flex-wrap: wrap; }
.wx-htable--catalog .wx-place-search { display: contents; }
.wx-htable--catalog .wx-place-search__drop {
  order: 2;
  flex: 1 0 100%;
  box-sizing: border-box;
  margin: 6px 0 0;
  max-width: 440px;
}
.wx-place-search__drop[hidden] { display: none !important; }
