.historical-map-app{margin:0 0 3rem}.atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:2rem}.atlas-heading h2{font-size:clamp(1.6rem,3vw,2.6rem);margin:.3rem 0}.atlas-badge{background:#c7e5a2;color:#183d30;border-radius:100px;padding:.7rem 1rem;white-space:nowrap;font-weight:700}.atlas-controls{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.5rem 0}.atlas-controls fieldset{border:0;padding:0;margin:0;display:flex;gap:.6rem 1.5rem;flex-wrap:wrap}.atlas-controls legend{font-weight:700;margin-bottom:.6rem}.atlas-controls label{font-size:.9rem}.atlas-controls input{accent-color:#194b72}.atlas-city-label{min-width:190px;display:grid;gap:.5rem}.atlas-city-label select{font:inherit;padding:.65rem;border:1px solid #bdc8b5;border-radius:10px;background:white;color:#15372d;max-width:100%}.atlas-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:1.5rem}.atlas-map-column{min-width:0}.atlas-toolbar{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.7rem}.atlas-toolbar button{font:inherit;font-size:.82rem;color:#173b30;background:white;border:1px solid #bdc8b5;border-radius:9px;padding:.65rem .75rem;cursor:pointer}.atlas-toolbar button:disabled{opacity:.55}.atlas-toolbar [data-atlas-png]{background:#194b72;color:white}.atlas-map{width:100%;height:660px;display:block;border:1px solid #b5c5ad;border-radius:18px;background:#eff2e9;touch-action:none;cursor:grab}.atlas-map:active{cursor:grabbing}.atlas-photo-pin,.atlas-archive-pin{cursor:pointer}.atlas-photo-pin:focus circle,.atlas-archive-pin:focus circle{stroke:#e8a132;stroke-width:8}.atlas-help,.atlas-location-note{font-size:.8rem;color:#526256}.atlas-detail{align-self:start;background:white;border:1px solid #d9dfd1;border-radius:18px;padding:1.2rem;min-width:0}.atlas-detail h3{font-size:1.5rem;line-height:1.2;margin:.4rem 0}.atlas-detail img{width:100%;height:auto;max-height:360px;object-fit:contain;display:block;background:#f1eee6;margin:.8rem 0}.atlas-date{font-weight:700;color:#194b72;margin:.4rem 0}.atlas-photo-links{display:flex;flex-wrap:wrap;gap:.5rem .9rem;font-size:.83rem}.atlas-credit{font-size:.76rem;line-height:1.55;overflow-wrap:anywhere;color:#526256}.atlas-sources{border-block:1px solid #d5ddcb;padding:1rem 0;margin:1.5rem 0;font-size:.9rem}.atlas-sources summary{cursor:pointer;font-weight:700}.atlas-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.atlas-gallery-heading h3{font-size:1.4rem}.atlas-gallery-heading p{font-size:.85rem}.atlas-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.atlas-photo-card{font:inherit;text-align:left;border:1px solid #d2dac7;border-radius:13px;padding:0 0 1rem;background:white;overflow:hidden;cursor:pointer;color:#173b30;display:flex;flex-direction:column;gap:.45rem}.atlas-photo-card img{width:100%;height:160px;object-fit:cover}.atlas-photo-card span,.atlas-photo-card strong,.atlas-photo-card small{padding:0 .9rem}.atlas-photo-card span{font-size:.8rem;color:#58684f}.atlas-photo-card strong{line-height:1.3}.atlas-photo-card small{margin-top:auto;color:#194b72}.atlas-photo-card.is-selected{outline:3px solid #194b72;outline-offset:-3px}.atlas-archive-heading{margin-top:3rem}.atlas-export{margin:1rem 0;border:2px solid #194b72;border-radius:16px;padding:1.3rem}.atlas-export img{width:100%;height:auto}.atlas-export details{margin-top:1rem}.atlas-map:focus-visible,.atlas-toolbar button:focus-visible,.atlas-photo-card:focus-visible{outline:3px solid #b57622;outline-offset:3px}[data-atlas-export][hidden]{display:none!important}@media(max-width:900px){.atlas-layout{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.atlas-map{height:570px}.atlas-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.atlas-heading{align-items:start;flex-direction:column;gap:.5rem}.atlas-controls{align-items:stretch;flex-direction:column}.atlas-controls fieldset{flex-direction:column}.atlas-city-label{min-width:0}.atlas-layout{grid-template-columns:1fr}.atlas-map{height:510px}.atlas-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-gallery-heading{align-items:start;flex-direction:column;gap:0}.atlas-photo-card img{height:130px}.atlas-toolbar button{min-height:42px}.atlas-detail img{max-height:420px}.atlas-badge{font-size:.82rem}}

.atlas-date-filter{display:flex;flex-wrap:wrap;align-items:end;gap:.8rem;margin:1rem 0 1.5rem;padding:1rem;border:1px solid #bdc8b5;border-radius:12px}.atlas-date-filter label{display:grid;gap:.4rem}.atlas-date-filter input{font:inherit;width:110px;padding:.6rem;border:1px solid #bdc8b5;border-radius:8px}.atlas-date-filter button{font:inherit;padding:.65rem;background:#194b72;color:white;border:0;border-radius:8px;cursor:pointer}.atlas-date-filter p{flex-basis:100%;margin:0;font-size:.85rem}
