/* Shared, self-contained local place picker. */
.place-picker {
  position: relative;
  min-width: 0;
}
.filter-bar #location-picker > label {
  padding: 0;
  border: 0;
}
@media (min-width: 1101px) {
  .property-search .filter-bar {
    grid-template-columns: 1fr 1fr 1.8fr 0.85fr 0.9fr 0.9fr 118px;
  }
}
.place-input-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 44px;
}
.place-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #b5c3cf transparent;
}
.place-tags:empty {
  display: none;
}
.place-tag {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border: 1px solid #d8e1e8;
  border-radius: 5px;
  background: #edf2f6;
  color: #163757;
  padding: 2px 3px 2px 7px;
  font-size: 12px;
  font-weight: 600;
}
.place-tag button {
  flex: none;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #38536b;
  padding: 2px 5px;
  min-width: 28px;
  min-height: 28px;
  font-size: 18px;
  cursor: pointer;
}
.place-tag button:hover {
  background: #d9e3eb;
}
.filter-bar .place-input-wrap > input {
  flex: 0 0 105px;
  width: 105px;
  font-size: 13px;
  font-weight: 500;
}
.filter-bar .place-tags:empty + input {
  flex: 1 1 100%;
}
.place-options {
  position: absolute;
  z-index: 35;
  left: 0;
  top: calc(100% + 6px);
  width: max(100%, 330px);
  max-width: min(520px, calc(100vw - 54px));
  max-height: 315px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid #d5dfe5;
  border-radius: 10px;
  box-shadow: 0 12px 32px #0c224025;
  padding: 5px;
}
.place-options[hidden] {
  display: none;
}
.place-options [role="option"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 6px;
  cursor: pointer;
  color: #19354f;
  font-size: 13px;
  font-weight: 600;
}
.place-options [role="option"]:hover,
.place-options [aria-selected="true"] {
  background: #edf3f7;
  box-shadow: inset 3px 0 #b38b45;
}
.place-options small {
  color: #697986;
  font-size: 11px;
  font-weight: 400;
}
.place-empty {
  margin: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #697986;
}
.place-options [role="option"] > span {
  overflow-wrap: anywhere;
}
.place-options .place-more {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px;
  border: 0;
  border-top: 1px solid #d5dfe5;
  background: #f4f7f9;
  color: #19354f;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.place-options .place-more:hover,
.place-options .place-more:focus-visible {
  background: #e5edf3;
  outline: 2px solid #b38b45;
  outline-offset: -2px;
}
.place-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#editor-location-picker .place-options {
  width: 100%;
  max-width: 100%;
}
#editor-location-picker input {
  min-height: 42px;
}
#editor-location-picker > small {
  display: block;
  margin-top: 6px;
  color: #778590;
  font-size: 11px;
}
@media (max-width: 700px) {
  .place-options {
    width: 100%;
    max-width: 100%;
    max-height: 270px;
  }
  .place-tag button {
    min-width: 32px;
    min-height: 32px;
  }
}
