#map-dialog:has(#geo-content){width:min(560px,calc(100% - 22px));max-height:90dvh;padding:20px 22px;overscroll-behavior:contain}
.geo-intro{font-size:13px;line-height:1.4;margin:0 0 10px;color:#635d50}
.geo-controls{display:flex;gap:7px;margin:8px 0}
.geo-controls select{min-width:0;max-width:100%;flex:1;height:38px;border:1px solid #c9c6b6;border-radius:8px;padding:4px 8px;background:#fffdf6;color:#423f35;font:600 13px var(--sans)}
.geo-chart{width:100%;height:auto;max-height:32dvh;min-height:155px;display:block;background:radial-gradient(ellipse at 70% 30%,#2c4b41,#132f30);border-radius:10px}
.geo-shape{stroke:#d0dcc2;stroke-width:.7;pointer-events:none}.geo-mark{cursor:pointer;outline:none}.geo-mark text{font:550 var(--geo-label-size,13px) var(--sans);fill:#fff5df;stroke:none}
.geo-mark:focus-visible circle,.geo-mark:hover circle:first-of-type{stroke:#fff;stroke-width:2}.geo-compass text{fill:#eee6cf;font:600 10px var(--sans)}.geo-region-list{margin:6px 0}
.geo-region-list button{display:flex;align-items:center;width:100%;min-height:38px;gap:9px;text-align:left;border-bottom:1px solid #dcd8ca;color:#3e483a;background:transparent}
.geo-region-list i{width:9px;height:9px;border-radius:100%;border:1px solid #64634a50}.geo-region-list span{font-weight:600}.geo-region-list small{margin-left:auto;color:#686958}
.geo-place-detail{padding:11px 0 5px}.geo-place-detail h4{font:500 25px var(--serif);margin:0;color:#3b382a;letter-spacing:-.03em}.geo-place-detail p{font-size:12px;color:#696550;margin:1px 0 7px}
.geo-detail-links{display:flex;flex-wrap:wrap;gap:5px;max-height:120px;overflow:auto}.geo-detail-links button{background:#f0ede1;border:1px solid #d9d5c8;border-radius:8px;font:500 13px var(--sans);padding:6px 8px;text-align:left;color:#454735}
.geo-detail-links small{color:#6b624c;font-size:10px}.geo-place-detail summary{cursor:pointer;padding:7px 0;font-weight:600;font-size:13px}
.geo-sources{display:flex;gap:5px 13px;flex-wrap:wrap;border-top:1px solid #d6d3c6;padding:8px 0 0;margin:5px 0 0}
.geo-place-detail>a,.geo-sources a,.geo-sources button{font:500 11px var(--sans);text-decoration:underline;color:#52684f}
@media(max-width:760px){#map-dialog:has(#geo-content){padding:16px 13px}.geo-chart{max-height:29dvh}.geo-controls select{font-size:13px}}
.hill-records{padding:3px 0 5px;font-size:12px}.hill-records summary{cursor:pointer;color:#4e5142;font-size:13px;padding:5px 0}.hill-records p{margin:3px 0 5px}.hill-records button,.hill-records a{display:block;text-align:left;color:#4b6046;padding:4px 0;text-decoration:underline}

.geo-label-paper{fill:#1b3831;pointer-events:none}

.geo-label-leader{stroke:#d6d7b9;stroke-width:.9;pointer-events:none}
