/* Web-only patch for the verified zkihome property-cards image.
 * Do not change the building grid, floor ordering, data, or other page actions.
 */
.property-house-grid > article > .property-house-open > strong {
  display: grid !important;
  place-items: center;
  color: #fff !important;
  background: var(--zk-ink, #242c4a) !important;
  border-radius: 6px;
}

/* This image renders Edit and Disable as the first two non-danger actions.
 * Keep any separate danger action, and leave all single-house permissions intact.
 */
.property-house-grid > article > footer > button:nth-child(1):not(.danger),
.property-house-grid > article > footer > button:nth-child(2):not(.danger) {
  display: none !important;
}

.property-house-grid > article > footer {
  display: none;
}

.property-house-grid > article > footer:has(> button:nth-child(n + 3)) {
  display: flex;
}

.property-house-grid > article {
  grid-template-rows: minmax(0, 1fr) auto;
}

.property-house-grid > article > .property-house-open {
  border-radius: 9px;
}
