.v7-building-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
}

.v7-building-feedback:has(.v7-hotspot-toggle[hidden]) {
  align-items: start;
}

.v7-building-feedback > :first-child {
  flex: 1 1 170px;
}

.v7-hotspot-toggle {
  flex: none;
  min-height: 44px;
  margin-inline-start: auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--navy);
  color: var(--paper);
  font-size: 12px;
}

.v7-hotspot-toggle:hover {
  border-color: var(--ice);
  color: var(--ice);
}

@media (prefers-reduced-motion: no-preference) {
  #building [data-v7-pulses] button.v5-pin::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 16px;
    height: 16px;
    border: 1px solid var(--ice);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: v7-hotspot-pulse 4.2s ease-out var(--v7-pulse-delay, 0ms) infinite;
  }

  @keyframes v7-hotspot-pulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.75); }
    6% { opacity: .85; }
    25%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); }
  }
}
