.place-reference {display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;margin:12px 0;padding-top:12px;border-top:1px solid var(--rule);font-size:var(--small);line-height:1.45}
.reference-image {padding:0;border:0;background:var(--wash);align-self:start;cursor:zoom-in;width:104px;height:78px}
.reference-image img {display:block;width:100%;height:100%;object-fit:cover}
.place-reference figcaption {min-width:0;overflow-wrap:anywhere}
.place-reference figcaption>span,.reference-credit {display:block}
.place-reference details,.reference-gallery details {font-size:var(--small)}
.place-reference .linkish {font-size:var(--small);min-height:32px;padding:4px 0;text-align:left}
.reference-gallery label {display:grid;gap:4px}
.reference-gallery select {max-width:100%;min-height:32px;font:inherit;color:inherit;background:white;border:1px solid var(--rule)}
.reference-gallery-list {list-style:none;padding:0;margin:8px 0}
.reference-gallery-list>li {display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;padding:12px 0;border-top:1px solid var(--rule);font-size:var(--small);overflow-wrap:anywhere}
.reference-more {min-height:44px}
.neighborhood-photo-dialog {max-width:min(92vw,800px);max-height:92dvh;padding:12px;color:var(--ink);overflow:auto}
.neighborhood-photo-dialog figure {margin:0}
.neighborhood-photo-dialog figure>img {max-height:65dvh;max-width:100%;width:auto;height:auto;display:block;margin:auto}
.neighborhood-photo-dialog>button {display:block;min-width:44px;min-height:44px;margin-left:auto;font:inherit;color:inherit;background:white;border:1px solid var(--rule)}
.neighborhood-photo-dialog figcaption {font-size:var(--body);overflow-wrap:anywhere;padding-top:8px}
.hood-context-actions {display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.hood-context-actions button {font:inherit;color:inherit;background:white;border:1px solid var(--rule);min-height:32px;padding:4px 8px}
@media(max-width:360px){.place-reference,.reference-gallery-list>li{grid-template-columns:80px minmax(0,1fr)}.reference-image{width:80px;height:64px}}
