/* Map-first visual refresh: existing forest green, gold and warm paper. */
#app.photo-map-page{max-width:1600px;margin-inline:auto;padding-top:28px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#153d32}
.map-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:0 2px 24px}.map-intro .eyebrow{color:#99702d;letter-spacing:.15em}.map-intro h2{font-family:inherit;font-size:clamp(1.7rem,2.6vw,2.7rem);letter-spacing:-.045em;line-height:1.13;max-width:720px;margin:10px 0}.map-intro p:last-child{font-size:.97rem;color:#64736b;margin:12px 0 0}.map-back{font-size:.85rem;font-weight:650;border:1px solid #d5dacd;border-radius:999px;padding:12px 18px;color:#245343;white-space:nowrap;text-decoration:none;background:#fffaf3}
.atlas-shell{border:1px solid #d2d9cc;border-radius:20px;overflow:hidden;background:#fffdf8;box-shadow:0 16px 50px #143a2e0c}.atlas-toolbar{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:16px;align-items:end;padding:20px 24px;border-bottom:1px solid #dce0d5;background:#fffdf8}.atlas-toolbar label,.atlas-location-editor label{display:grid;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.025em;color:#5f6d63}.atlas-toolbar input,.atlas-toolbar select,.atlas-location-editor input,.atlas-location-editor select{width:100%;min-width:0;border:1px solid #ccd7cc;border-radius:10px;background:#fff;color:#193e31;padding:11px 12px;font:inherit;font-size:.88rem;letter-spacing:0;min-height:44px}.atlas-toolbar button,.atlas-map-actions button{min-height:44px;border:1px solid #cbd7cb;border-radius:10px;background:white;color:#234e3d;padding:9px 15px;font:inherit;font-size:.82rem;font-weight:650;cursor:pointer}.atlas-toolbar button:hover,.map-back:hover{background:#e9efe6}.atlas-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px}.atlas-canvas-wrap{position:relative;min-width:0;background:#e9efdf}#atlas-map{height:680px;height:clamp(560px,72vh,840px);width:100%;z-index:0;background:#e6eddf}.atlas-canvas-wrap:fullscreen{width:100vw;height:100vh}.atlas-canvas-wrap:fullscreen #atlas-map{height:100vh}.atlas-map-actions{position:absolute;right:14px;top:14px;z-index:500}.atlas-map-actions button{box-shadow:0 3px 12px #153c3020;background:#fffdf6f5}.atlas-legend{position:absolute;bottom:32px;left:14px;z-index:500;display:flex;flex-wrap:wrap;gap:8px 14px;max-width:calc(100% - 28px);font-size:.66rem;padding:9px 12px;border:1px solid #cad6c4;border-radius:9px;background:#fffffff2;pointer-events:none;color:#3d5347}.atlas-legend span{display:flex;align-items:center;gap:6px}.atlas-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.legend-exact{background:#1b5945}.legend-approx{background:#b78b41}.atlas-sidebar{padding:22px 20px;max-height:clamp(560px,72vh,840px);overflow-y:auto;border-left:1px solid #dce0d5;background:#fffdf8}.atlas-results-heading .eyebrow{font-size:.63rem;color:#9b7b43}.atlas-results-heading h3{font-size:1.25rem;margin:8px 0;font-family:inherit;letter-spacing:-.03em}.atlas-results-heading>p:last-child{font-size:.75rem;color:#68766e;line-height:1.6}.atlas-filter-toggles{display:grid;gap:9px;margin:18px 0 12px;padding-bottom:15px;border-bottom:1px solid #e6e8df}.atlas-filter-toggles label{font-size:.74rem;display:flex;align-items:center;gap:7px}.atlas-filter-toggles input{accent-color:#1e5549;width:16px;height:16px}.atlas-photo-row{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #e6e8df}.atlas-photo-row>img{width:78px;height:66px;border-radius:8px;object-fit:cover;background:#eee8db}.atlas-photo-row h4{font-family:inherit;font-size:.82rem;line-height:1.4;margin:0 0 5px;font-weight:650;color:#1e3f31;overflow-wrap:anywhere}.atlas-photo-row p{font-size:.68rem;line-height:1.5;margin:3px 0 5px;color:#748074}.atlas-precision{font-size:.59rem;font-weight:700;line-height:1.4;color:#8a6828;background:#f8efdc;border-radius:4px;padding:3px 5px;display:inline-block}.atlas-precision.exact{background:#e6f0e7;color:#2d6449}.atlas-row-links{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:9px}.atlas-row-links a,.atlas-row-links button{font-family:inherit;font-size:.65rem;line-height:1.5;color:#285c46;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.atlas-empty,.map-loading{padding:22px;color:#647366;font-size:.9rem;line-height:1.6}.atlas-footnote{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:14px 24px;background:#f8f7ef;border-top:1px solid #dce0d5;font-size:.65rem;color:#758071;line-height:1.5}.atlas-footnote a{color:#426b52}.atlas-marker{background:transparent;border:0}.atlas-marker span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:#b68a3d;color:#fff;border:3px solid #fffdf2;box-shadow:0 2px 9px #203e3845;font:750 14px system-ui}.atlas-marker.exact span{background:#215a43}.atlas-marker:not(.cluster) span{font-size:24px}.atlas-marker.cluster span{background:#1a4c3d}.photo-map-page .leaflet-container{font-family:inherit}.photo-map-page .leaflet-control-attribution{font-size:10px;background:#fffef8e6}.photo-map-page .leaflet-control-zoom{border:1px solid #d0d8ca!important;border-radius:10px!important;overflow:hidden;box-shadow:0 3px 12px #153c3015}.photo-map-page .leaflet-control-zoom a{color:#2d5743;background:#fffdf7}.photo-map-page .leaflet-tile-pane{filter:saturate(.45)}.photo-map-page .leaflet-popup-content-wrapper{border-radius:14px}.photo-map-page .leaflet-popup-content{line-height:1.4}.atlas-popup .atlas-photo-row{grid-template-columns:78px 1fr}.atlas-popup-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.atlas-popup-pages button,#atlas-more,.atlas-location-editor button{font:inherit;font-size:.75rem;border:1px solid #c8d4c5;background:#fffdf7;color:#24513c;padding:9px 10px;border-radius:7px;cursor:pointer}.atlas-popup-pages button:disabled{opacity:.4;cursor:default}#atlas-more{width:100%;margin-top:16px}.atlas-location-editor{margin:14px 0;padding:13px;background:#f2f5ed;border:1px solid #d6decf;border-radius:12px}.atlas-location-editor summary{font-size:.78rem;font-weight:700;cursor:pointer}.atlas-location-editor>p{font-size:.72rem;line-height:1.6;color:#657261}.atlas-location-editor form{display:grid;gap:11px}.atlas-location-editor strong{font-size:.75rem;line-height:1.5}.atlas-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.atlas-location-editor .button-row{display:flex;gap:8px;flex-wrap:wrap}.atlas-location-editor .primary-button,.atlas-location-editor button.active{background:#1e5549;color:white}.atlas-location-editor #atlas-address-results{display:grid;gap:6px}.atlas-location-editor #atlas-address-results button{font-size:.68rem;text-align:left}.atlas-location-editor #atlas-edit-status{font-size:.72rem;line-height:1.5;margin:0;color:#506c53}.atlas-location-editor button:disabled{opacity:.5;cursor:wait}.photo-map-page :focus-visible{outline:3px solid #bb913b;outline-offset:3px}.atlas-town-name{background:#fffef5e8;border:1px solid #d2dac9;border-radius:5px;padding:2px 6px;color:#325942;font-size:10px;box-shadow:none}
@media(min-width:1600px){.atlas-workspace{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1000px){.atlas-workspace{grid-template-columns:minmax(0,1fr) 300px}.atlas-toolbar{grid-template-columns:1fr 1fr}.atlas-search{grid-column:1}.map-intro h2{font-size:2rem}}
@media(max-width:720px){#app.photo-map-page{padding-top:20px}.map-intro{align-items:flex-start;flex-direction:column;gap:14px}.map-intro h2{font-size:1.8rem}.map-intro p:last-child{font-size:.85rem}.map-back{padding:9px 13px}.atlas-shell{border-radius:14px}.atlas-toolbar{gap:10px;padding:15px}.atlas-toolbar label{font-size:.65rem}.atlas-toolbar input,.atlas-toolbar select{font-size:.78rem;padding:9px}.atlas-search{grid-column:1/-1}.atlas-toolbar>button{grid-column:1/-1}.atlas-workspace{grid-template-columns:1fr}#atlas-map{height:58vh;min-height:390px}.atlas-sidebar{max-height:none;border-left:0;border-top:1px solid #dce0d5;padding:20px}.atlas-photo-row{grid-template-columns:90px 1fr}.atlas-photo-row>img{width:90px;height:76px}.atlas-photo-row h4{font-size:.88rem}.atlas-legend{font-size:.58rem;bottom:34px;gap:5px 10px;padding:7px 8px}.atlas-footnote{padding:14px 18px}.atlas-map-actions{right:10px;top:10px}.atlas-map-actions button{font-size:.7rem;min-height:36px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.photo-map-page *{scroll-behavior:auto!important;transition:none!important}}

.atlas-town-label{background:transparent;border:0;text-align:center;white-space:nowrap;pointer-events:none}.atlas-town-label span{display:inline-block;pointer-events:auto;font-size:10px;font-weight:700;color:#244b36;background:#fffdf3e8;border:1px solid #d3d8c8;border-radius:5px;padding:2px 6px;box-shadow:0 2px 5px #153c3015}

.map-single-photo{display:block;max-width:1100px;margin:1.5rem auto}.map-single-photo .photo-pair img{max-height:75vh;object-fit:contain}
