.map-plate261{height:100%;min-height:285px;display:grid;grid-template-rows:minmax(180px,1fr) auto;position:relative;background:#e3ddc7;color:#243d40;isolation:isolate}.map-paper261{min-height:0;position:relative;overflow:hidden;cursor:grab;touch-action:none;background:#e3ddc7;outline-offset:-3px}.map-paper261:focus-visible{outline:2px solid #376d77}.map-paper261.is-dragging{cursor:grabbing}.map-paper261 img{position:absolute;left:50%;top:50%;translate:-50% -50%;max-width:none!important;max-height:none!important;transform-origin:center;user-select:none;pointer-events:none;box-shadow:0 1px 5px #25342c40}.map-paper261>p{padding:18px}.map-loupe261{position:absolute;right:10px;top:10px;display:flex;gap:3px;z-index:1}.map-loupe261 button{width:34px;min-width:34px;min-height:32px;padding:0!important;font:22px VT,monospace;color:#223f43;background:#eae3ce;box-shadow:inset 1px 1px #fff9,0 2px 3px #152d2e40;border:1px solid #7e9087;border-radius:2px}.map-loupe261 button:disabled{opacity:.5;cursor:default}.map-credit261{padding:3px 10px 6px;font:16px/1.3 VT,monospace;background:#e3ddc7;z-index:2}.map-credit261 summary{cursor:pointer;padding:3px 0;list-style-position:inside}.map-credit261 p{margin:4px 0}.map-credit261 a{color:#204e59}.map-credit261 small{display:block;max-width:60ch}.map-switch261{display:flex;align-items:center;gap:5px;margin-left:auto}.map-switch261 button{font:17px VT,monospace;min-height:31px;padding:3px 9px}.map-switch261 [aria-pressed=true]{background:#254951!important;color:#f0ead7!important}.maps-view121{position:relative}.maps-view121:has(.map-plate261){height:clamp(285px,48vh,480px)}.p253-maps .p253-stage:not(.p253-map-tools) .maps-view121:has(.map-plate261){height:100%}.p253-maps .p253-stage:not(.p253-map-tools) .maps121>.map-switch261{display:flex!important;position:absolute;left:50%;top:8px;transform:translateX(-50%);z-index:4}.p253-maps .p253-stage:not(.p253-map-tools) .map-loupe261{top:8px}.p253-maps .map-switch261 button{font-size:18px;background:#eae3ce;color:#203f42}.p253-maps .map-plate261{min-height:0}.p253-maps .map-credit261{font-size:16px}.p253-maps .p253-map-tools .map-switch261{margin:6px 0}@media(max-width:650px){.map-switch261{margin:8px 0}.map-switch261 button{min-height:38px;padding:5px 14px}.map-loupe261 button{min-height:38px;width:38px}.map-plate261{min-height:300px}.map-credit261{font-size:17px}}
.maps121[data-edition=historic]>h2,.maps121[data-edition=historic]>.maps-actions121,.maps121[data-edition=historic]>details,.maps121[data-edition=historic]>.maps-status121{display:none!important}

/* Notes is a real editor in both editions, rather than the source-credit disclosure. */
.maps121[data-edition=historic].maps324-notes-open>.maps-note-editor324,.maps121[data-edition=historic].maps324-notes-open>.maps-actions121,.maps121[data-edition=historic].maps324-notes-open>.maps-status121{display:block!important}.maps121.maps324-notes-open>.maps-actions121{display:flex!important;flex-wrap:wrap;gap:5px}.maps-note-editor324 textarea[aria-label=Note]{min-height:130px}.maps121.maps324-notes-open>.maps-note-editor324{margin:12px 0}.maps121.maps324-notes-open .maps-form121 button{min-height:40px}

/* Keep actual writing and saving together; link/embed metadata follows the note. */
.maps324-note-actions{display:flex;flex-wrap:wrap;gap:6px;position:sticky;top:0;z-index:8;background:var(--paper);padding:6px 0}.maps324-note-actions button{min-height:44px}.p253-maps .maps324-notes-open{font:26px/1.3 VT,monospace}.p253-maps .maps324-note-actions button{min-height:72px;font:inherit}.maps324-context{line-height:1.3;overflow-wrap:anywhere}
