.property-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.property-form{display:grid;gap:1.5rem;margin:1.5rem 0}.property-form h2{margin-bottom:1rem}.property-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin-top:1rem}.property-check{display:flex;gap:.5rem;align-items:center}.property-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,240px));gap:1rem}.property-photo{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.6rem;background:white}.property-photo img{width:100%;height:150px;object-fit:cover;border-radius:var(--radius-sm)}.property-photo-actions{display:flex;flex-wrap:wrap;gap:.25rem}.property-photo-actions form{display:inline}.property-public{padding-top:2.5rem;padding-bottom:3rem}.property-public h1{margin:1rem 0}.property-filter{margin:1.5rem 0;align-items:end;gap:1rem}.property-gallery{margin:2rem 0}.property-gallery-main{width:100%;background:var(--color-dark);border-radius:var(--radius-lg);overflow:hidden}.property-gallery-main img{width:100%;max-height:600px;object-fit:contain}.property-thumbnails{display:flex;gap:.75rem;margin-top:.75rem;overflow-x:auto}.property-thumbnails button{flex:0 0 100px}.property-thumbnails img{width:100px;height:75px;object-fit:cover;border-radius:var(--radius-sm)}.property-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:1rem}.property-specs dt{color:var(--color-muted);font-size:.85rem}.property-specs dd{font-size:1.3rem;font-weight:600}.property-description{white-space:pre-wrap}.property-dialog{border:0;border-radius:var(--radius-md);margin:auto;padding:1rem;max-width:95vw;max-height:95vh;background:var(--color-dark)}.property-dialog img{max-height:80vh;object-fit:contain}.property-dialog::backdrop{background:rgba(0,0,0,.8)}.property-dialog button{margin-bottom:.75rem}.property-photo[draggable=true]{cursor:grab}.property-photo.is-dragging{opacity:.5}
.property-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,24rem),1fr));
  gap: .9rem;
  margin-top: .8rem;
}
.property-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: .65rem;
  background: #211c1c;
  object-fit: contain;
}
.property-delete summary { color: #9c1516; font-weight: 650; cursor: pointer; }
.property-delete p { margin-top: .7rem; }
.property-secondary-actions summary { font-weight: 650; cursor: pointer; }
.property-secondary-actions .property-delete { margin-top: .75rem; }
.property-media-editor .form-group p,
#map-url-help { margin-top: .4rem; color: var(--color-muted); font-size: .9rem; }

.property-gallery-slide[hidden],
.property-upload-queue[hidden] { display: none; }
.property-gallery-slide video {
  display: block;
  width: 100%;
  height: min(60vw,560px);
  border-radius: var(--radius-lg);
  background: var(--color-dark);
  object-fit: contain;
}
.property-dialog .property-gallery-slide video,
.site-public .property-dialog .property-gallery-main img { max-height: 73vh; }
.property-thumbnails button {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.property-thumbnails button[aria-pressed=true] { border-color: #b50304; }
.property-thumbnails img { width: 100%; }
.gallery-video-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  height: 75px;
  background: #75191d;
  color: white;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
}
.property-upload-queue { margin: .7rem 0 0 1.5rem; }
.property-upload-queue li { padding: .25rem .2rem; overflow-wrap: anywhere; }
.property-upload-actions { display: inline-flex; gap: .2rem; margin-left: .4rem; vertical-align: middle; }
@media (max-width: 768px) {
  .property-gallery-slide video { height: 65vw; max-height: 420px; }
}
