html.gallery-modal-open{overflow:hidden}
.property-photo-dialog{box-sizing:border-box;position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:16px;padding: max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:0;border-radius:0;background:#101214;color:#fff;overflow:hidden}
.property-photo-dialog[open]{display:flex;flex-direction:column;gap:12px}
.property-photo-toolbar,.property-photo-zoom{display:flex;align-items:center;gap:8px}
.property-photo-toolbar{justify-content:space-between;flex-shrink:0;flex-wrap:wrap}
.property-photo-dialog form{margin:0}
.property-photo-dialog .secondary{background:#25292e;color:#fff;border:1px solid #69717b;min-width:44px;min-height:44px;padding:8px 12px}
.property-photo-dialog button:disabled{opacity:.4;cursor:default}
.property-photo-dialog button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.property-photo-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;cursor:zoom-in}
.property-photo-dialog .property-photo-stage img{flex-shrink:0;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:0;transform-origin:center}
.property-photo-stage.is-zoomed{cursor:grab}
.property-photo-stage.is-zoomed:active{cursor:grabbing}
.property-photo-dialog>.property-photo-navigation{justify-content:center;flex-shrink:0}
