/* V13: equal-height bedroom cards in the housing diagram only. */
@media screen and (min-width: 801px) {
  #layoutPage .buildings .apartment .room-grid {
    align-items: stretch !important;
    grid-auto-rows: minmax(174px, auto) !important;
  }
  #layoutPage .buildings .apartment .room-grid > .room {
    height: 100% !important;
    min-height: 174px !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  #layoutPage .buildings .apartment .room-grid > .room > .empty,
  #layoutPage .buildings .apartment .room-grid > .room > .empty-slot {
    margin-top: auto;
  }
}
/* Keep responsive stacking and printed layouts unchanged. */
