.house-model {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  touch-action: none;
}
.house-model canvas {
  position: absolute;
  display: block;
  filter: drop-shadow(0 6px 4px #4c553722) drop-shadow(0 17px 18px #4b503b30);
}
.house-pin {
  --pin-ink: #96583c;
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0;
  transform: translate(-50%,-100%);
  border: 0;
  border-radius: 24px;
  color: #293d32;
  background: transparent;
  white-space: nowrap;
}
.house-pin[data-room="finance"] { --pin-ink: #4b7053; }
.house-pin[data-room="docs"] { --pin-ink: #8d6839; }
.house-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px 8px 10px;
  color: inherit;
  background: #fffcf3;
  border: 1px solid #87937c88;
  border-radius: 24px;
  box-shadow: 0 2px 3px #253c2b20, 0 4px 12px #253c2b16;
  font: 650 .85rem/1.1 var(--sans, system-ui);
}
.house-pin-label svg { width: 16px; height: 16px; color: var(--pin-ink); }
.house-pin::after {
  content: "";
  position: absolute;
  top: calc(50% + 17px);
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: #4d614b;
  pointer-events: none;
}
.house-pin::before {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 6px;
  height: 6px;
  border: 1px solid #506647;
  border-radius: 50%;
  background: #fffcf3;
  pointer-events: none;
}
.house-pin.is-active .house-pin-label,
.house-pin:focus-visible .house-pin-label {
  color: #fffef7;
  background: #2e4a3b;
  border-color: #2e4a3b;
}
.house-pin.is-active svg, .house-pin:focus-visible svg { color: #d7e8b8; }
.house-pin:focus-visible { outline: 3px solid #526c38; outline-offset: 3px; }
@media (max-width: 650px), (max-height: 480px) {
  .house-pin-label { padding: 7px 10px; gap: 5px; font-size: .79rem; }
  .house-pin-label svg { width: 14px; height: 14px; }
  .house-pin::after { top: calc(50% + 15px); }
  .house-model canvas { filter: drop-shadow(0 4px 3px #4c55372b) drop-shadow(0 9px 10px #4b503b24); }
}

.house-model{user-select:none;-webkit-user-select:none;cursor:grab}.house-model.rotating,.house-model.rotating *{cursor:grabbing!important}
