.floorplan-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475569;
  cursor: zoom-in;
  font: 500 12px/1.5 Inter, "Segoe UI", sans-serif;
}
.floorplan-trigger .floorplan {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.floorplan-trigger:focus-visible { outline: 2px solid #087d9f; outline-offset: 4px; }
.floorplan-dialog {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 16px;
  border: 0;
  border-radius: 8px;
  color: #14233b;
  box-shadow: 0 18px 55px #0005;
}
.floorplan-dialog::backdrop { background: #0f172ab8; }
.floorplan-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.floorplan-dialog-header h2 { margin: 0; font: 700 18px Inter, "Segoe UI", sans-serif; }
.floorplan-dialog-header button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
  color: #016085;
  cursor: pointer;
}
.floorplan-dialog-header button:hover { background: #f3f4f6; }
.floorplan-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76dvh;
  object-fit: contain;
}
@media (max-width: 650px) {
  .floorplan-trigger { width: min(210px, 100%); justify-self: end; margin: 0; }
}
@media print {
  .floorplan-trigger span, .floorplan-dialog { display: none !important; }
}
