/* v42: public listing, owner access and accessible photo viewer */
.vp-detail-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:8px 0 20px}
.vp-detail-heading h1{margin:0;min-width:0;overflow-wrap:anywhere}
.vp-owner-edit{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b8cef5;background:#edf3ff;color:#1249ab;border-radius:12px;padding:12px 17px;font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:0 5px 14px rgba(22,93,255,.08)}
.vp-owner-edit:hover,.vp-owner-edit:focus-visible{border-color:#165dff;background:#deebff;outline-offset:3px}
.vp-listing-gallery a{cursor:zoom-in}.vp-listing-gallery a:focus-visible{outline:3px solid #165dff;outline-offset:3px}
.vp-photo-lightbox{position:fixed;inset:0;width:min(1150px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 20px);height:auto;margin:auto;padding:14px 20px 18px;box-sizing:border-box;background:#101b2c;color:#fff;border:1px solid #415776;border-radius:18px;box-shadow:0 20px 100px #0009}
.vp-photo-lightbox::backdrop{background:rgba(3,9,20,.90)}
.vp-lightbox-top{display:flex;align-items:center;justify-content:space-between;min-height:32px;gap:12px;font-weight:700}
.vp-photo-lightbox button{cursor:pointer}.vp-lightbox-close,.vp-lightbox-arrow{color:#fff;border:1px solid #64748b;background:rgba(25,44,67,.86);border-radius:11px;display:flex;align-items:center;justify-content:center}
.vp-lightbox-close{width:42px;height:42px;font-size:22px}.vp-lightbox-arrow{width:48px;height:58px;font-size:26px;flex-shrink:0}
.vp-lightbox-close:hover,.vp-lightbox-arrow:hover{background:#165dff}
.vp-lightbox-stage{display:flex;align-items:center;justify-content:center;gap:12px;min-height:0;margin:7px 0 12px}
.vp-lightbox-stage img{width:calc(100% - 120px);height:min(65dvh,650px);max-height:650px;object-fit:contain;min-width:0;border-radius:8px;background:#0b1526}
.vp-lightbox-thumbs{display:flex;gap:8px;overflow-x:auto;justify-content:safe center;padding:6px 2px 10px;scrollbar-width:thin}
.vp-lightbox-thumbs button{flex:0 0 auto;padding:2px;border:2px solid transparent;border-radius:9px;background:transparent;opacity:.65}
.vp-lightbox-thumbs button[aria-current="true"]{border-color:#83baff;opacity:1}
.vp-lightbox-thumbs img{width:72px;height:50px;object-fit:cover;border-radius:5px}
.vp-lightbox-hint{font-size:12px;color:#bccde2;text-align:center;margin:2px 0 0}
@media(max-width:650px){.vp-detail-heading{align-items:flex-start}.vp-owner-edit{font-size:14px;padding:10px 13px}.vp-photo-lightbox{width:calc(100vw - 10px);max-height:calc(100dvh - 10px);padding:10px 8px}.vp-lightbox-stage{gap:4px}.vp-lightbox-arrow{width:35px;height:48px;font-size:20px}.vp-lightbox-stage img{width:calc(100% - 78px);height:min(60dvh,550px)}.vp-lightbox-thumbs img{width:56px;height:44px}}
@media(prefers-reduced-motion:reduce){.vp-photo-lightbox *{scroll-behavior:auto}}
