/* Search and device-location controls shared by interactive Leaflet maps. */
.ge-map-tools { width: min(16rem, calc(100vw - 6.5rem)); font-family: inherit; }
.ge-map-tools__bar {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 2.5rem;
  border: 1px solid rgb(var(--line));
  border-radius: .75rem;
  background: rgb(var(--card));
  color: rgb(var(--ink));
  box-shadow: 0 2px 10px rgb(0 0 0 / .18);
}
.ge-map-tools__bar:focus-within { border-color: #fe4c11; box-shadow: 0 0 0 2px rgb(254 76 17 / .2), 0 2px 10px rgb(0 0 0 / .18); }
.ge-map-tools__search-icon { flex: none; width: 1rem; height: 1rem; margin-left: .7rem; color: rgb(var(--muted)); }
.ge-map-tools__search-icon svg, .ge-map-tools__gps svg { width: 100%; height: 100%; }
.ge-map-tools__input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 .45rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgb(var(--ink));
  font-size: .75rem;
}
.ge-map-tools__input::placeholder { color: rgb(var(--muted)); opacity: 1; }
.ge-map-tools__gps {
  display: grid;
  flex: 0 0 2.45rem;
  place-items: center;
  height: 100%;
  padding: .65rem;
  border: 0;
  border-left: 1px solid rgb(var(--line));
  background: rgb(var(--card));
  color: #e54314;
  cursor: pointer;
}
.ge-map-tools__gps:hover, .ge-map-tools__gps:focus-visible { background: rgb(var(--soft)); }
.ge-map-tools__gps:disabled { opacity: .5; cursor: wait; }
.ge-map-tools__results {
  max-height: min(12rem, 38vh);
  overflow-y: auto;
  margin-top: .3rem;
  border: 1px solid rgb(var(--line));
  border-radius: .75rem;
  background: rgb(var(--card));
  color: rgb(var(--ink));
  box-shadow: 0 6px 18px rgb(0 0 0 / .22);
}
.ge-map-tools__result { display: block; width: 100%; padding: .55rem .7rem; border: 0; border-bottom: 1px solid rgb(var(--line)); background: transparent; color: inherit; text-align: left; font-size: .75rem; line-height: 1.3; cursor: pointer; }
.ge-map-tools__result:last-child { border-bottom: 0; }
.ge-map-tools__result:hover, .ge-map-tools__result:focus-visible { background: rgb(var(--soft)); }
.ge-map-tools__message { padding: .6rem .7rem; color: rgb(var(--muted)); font-size: .75rem; line-height: 1.35; }
