.house-map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: var(--map-height, clamp(330px, 36vw, 440px));
  background: #f0eee5;
  color: #304b43;
  font-family: inherit;
  -webkit-user-select: none;
  user-select: none;
}
.house-map *, .house-map *::before, .house-map *::after { box-sizing: border-box; }
.house-map .hm-stage {
  display: block; width: 100%; height: 100%; cursor: grab; touch-action: none;
  outline-offset: -3px;
}
.house-map.hm-dragging .hm-stage { cursor: grabbing; }
.house-map .hm-range {
  fill: rgb(71 129 107 / 2%); stroke: #5c927a; stroke-dasharray: 6 6;
  stroke-width: 1.4; vector-effect: non-scaling-stroke; pointer-events: none;
}
.house-map .hm-base-label { pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.house-map .hm-base-label text {
  font-family: inherit; paint-order: stroke; stroke: #f4f3eaa6; stroke-width: 2.5px;
  stroke-linejoin: round;
}
.house-map .hm-base-label .hm-district { fill: #6c7a70; letter-spacing: 3px; font-size: 14px; font-weight: 600; }
.house-map .hm-base-label .hm-park { fill: #587560; font-size: 12px; letter-spacing: 1px; }
.house-map .hm-base-label .hm-water { fill: #437883; font-size: 15px; letter-spacing: 3px; }
.house-map .hm-base-label .hm-place { fill: #778177; font-size: 11px; }
.house-map .hm-base-label .hm-road { fill: #8b8577; font-size: 10px; }
.house-map .hm-marker { cursor: pointer; outline: none; }
.house-map .hm-marker text { fill: #234536; font-family: inherit; pointer-events: none; }
.house-map .hm-marker .hm-mark-name { font-weight: 650; font-size: 12px; }
.house-map .hm-marker .hm-mark-value { fill: #466c5b; font-weight: 550; font-size: 10px; }
.house-map .hm-marker .hm-mark-box { fill: #fffefb; stroke: #68947d; stroke-width: 1.1px; }
.house-map .hm-marker .hm-mark-stem { stroke: #537c67; stroke-width: 1.4px; fill: none; }
.house-map .hm-marker .hm-mark-dot { fill: #317152; stroke: #fffef7; stroke-width: 1.7px; }
.house-map .hm-marker.hm-has-offers .hm-mark-box { fill: #e5f1df; stroke: #437752; stroke-width: 1.6px; }
.house-map .hm-listing .hm-mark-box { filter: drop-shadow(0 1.5px 1.5px #1e422327); }
.house-map .hm-marker.hm-listing .hm-mark-box { fill: #fafff7; stroke: #347552; }
.house-map .hm-listing .hm-mark-name { font-size: 14px; font-weight: 750; }
.house-map .hm-listing .hm-mark-value { font-size: 10px; }
.house-map .hm-marker.hm-active .hm-mark-box,
.house-map .hm-marker:hover .hm-mark-box,
.house-map .hm-marker:focus-visible .hm-mark-box { fill: #285b43; stroke: #234e3b; }
.house-map .hm-marker.hm-active text,
.house-map .hm-marker:hover text,
.house-map .hm-marker:focus-visible text { fill: #fff; }
.house-map .hm-marker:focus-visible .hm-mark-box { stroke: #061b10; stroke-width: 3px; }
.house-map .hm-empty {
  position: absolute; top: 48px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 80px); margin: 0; padding: 5px 10px;
  border: 1px solid #d5d8cc; background: #fffffcf5; color: #405646;
  border-radius: 6px; font-size: 12px; pointer-events: none;
}
.house-map .hm-court { pointer-events: none; }
.house-map .hm-court .hm-court-name {
  fill: #684a32; font-family: inherit; font-weight: 650; font-size: 11px;
  paint-order: stroke; stroke: #fffdf5; stroke-width: 3px; stroke-linejoin: round;
}
.house-map .hm-toolbar, .house-map .hm-range-button, .house-map .hm-key {
  background: #fffffcf5; border: 1px solid #d5d8cc; box-shadow: 0 2px 6px #40544514;
}
.house-map .hm-toolbar {
  position: absolute; top: 14px; right: 13px; display: grid; border-radius: 8px; overflow: hidden;
}
.house-map button {
  font: inherit; line-height: 1; color: #345241; cursor: pointer; touch-action: manipulation;
}
.house-map .hm-toolbar button {
  display: grid; place-items: center; width: 31px; height: 32px; padding: 0;
  border: 0; background: transparent; border-radius: 0;
}
.house-map .hm-toolbar button + button { border-top: 1px solid #e4e5dc; }
.house-map .hm-toolbar button:hover, .house-map .hm-range-button:hover { background: #f2f6ec; }
.house-map .hm-toolbar button:disabled { color: #b8beb2; cursor: default; }
.house-map button:focus-visible { outline: 2px solid #1d6c4d; outline-offset: -3px; }
.house-map .hm-toolbar svg, .house-map .hm-range-button svg { width: 16px; height: 16px; }
.house-map .hm-key {
  position: absolute; top: 14px; left: 14px; border-radius: 6px; display: flex;
  align-items: center; gap: 12px; padding: 7px 9px; line-height: 1; color: #506054; font-size: 11px;
  pointer-events: none;
}
.house-map .hm-key span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.house-map .hm-dot { width: 7px; height: 7px; background: #347555; border-radius: 50%; }
.house-map .hm-court-dot { background: #a1683b; border-radius: 2px; transform: rotate(45deg); }
.house-map .hm-north {
  position: absolute; right: 19px; bottom: 30px; display: grid; justify-items: center;
  gap: 2px; font: 650 9px/1 system-ui, sans-serif; color: #536451; pointer-events: none;
}
.house-map .hm-north svg { width: 15px; height: 23px; }
.house-map .hm-bottom {
  position: absolute; bottom: 12px; left: 14px; display: flex; gap: 13px; align-items: flex-end;
}
.house-map .hm-range-button {
  display: flex; align-items: center; gap: 6px; border-radius: 6px; min-height: 30px;
  padding: 6px 10px; font-weight: 600; font-size: 11px; color: #375642;
}
.house-map .hm-range-button[aria-pressed=true] { background: #315e46; color: #fff; border-color: #315e46; }
.house-map .hm-scale {
  padding-bottom: 2px; color: #405143; font: 600 10px/1 system-ui, sans-serif;
  text-shadow: 0 0 3px white, 0 0 3px white; pointer-events: none;
}
.house-map .hm-scale-line { height: 5px; margin-top: 3px; border: 1.5px solid #596b59; border-top: 0; }
.house-map .hm-credit {
  position: absolute; right: 0; bottom: 0; padding: 2px 5px;
  background: #fffffbd9; color: #536054; font: 9px/1.3 system-ui, sans-serif;
}
.house-map .hm-credit a { color: inherit; text-decoration: none; }
.house-map .hm-credit a:hover { text-decoration: underline; }
@media (max-width: 460px) {
  .house-map { height: var(--map-height, 348px); }
  .house-map .hm-key { top: 10px; left: 10px; gap: 8px; }
  .house-map .hm-toolbar { top: 10px; right: 10px; }
  .house-map .hm-bottom { left: 10px; bottom: 16px; gap: 10px; }
  .house-map .hm-credit { font-size: 8px; }
}
