/* A document viewer occupies the map frame, not a geographic image overlay. */
#geographic-map-content{position:absolute;inset:0;width:100%;height:100%}#geographic-map-content[data-covered="true"]{visibility:hidden;pointer-events:none}
#masterplan-view{position:absolute;inset:0;display:flex;flex-direction:column;background:#eef2f0;color:#214f50;z-index:1100;min-height:0;overflow:hidden}#masterplan-view[hidden]{display:none}
.plan-view-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:13px 16px;background:white;border-bottom:1px solid #cbdad6;flex:none}.plan-view-heading h3{font-size:17px;line-height:1.3;margin:0 0 5px;color:#214f50}.plan-view-heading p{font-size:12px;line-height:1.45;margin:0;max-width:560px;color:#526c77}.plan-view-heading button{flex:none;min-height:44px;border:1px solid #96b2ad;border-radius:7px;background:#edf6f4;color:#214f50;padding:9px 12px;font:inherit;font-size:13px;cursor:pointer}
.plan-view-tools{display:flex;align-items:center;gap:7px;padding:7px 14px;flex:none;background:#f8faf9;border-bottom:1px solid #d1ddda}.plan-view-tools button{min-height:44px;min-width:44px;padding:8px 10px;border:1px solid #b4c8c2;border-radius:6px;background:white;color:#214f50;font:inherit;font-size:13px;cursor:pointer}.plan-view-tools button:disabled{opacity:.45;cursor:default}.plan-view-tools output{font-size:12px;min-width:40px;text-align:center}.plan-view-tools>span{font-size:11px;line-height:1.45;color:#526c77;margin-left:auto;max-width:150px}
#masterplan-scroll{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;background:#e5ebe7}#masterplan-canvas{width:100%;height:100%;min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center}#masterplan-image{display:block;width:100%;height:100%;max-width:none;object-fit:contain;flex:none;user-select:none}#masterplan-image-error{margin:0;padding:9px 14px;background:#fff1d7;font-size:12px;line-height:1.5;flex:none}#masterplan-image-error[hidden]{display:none}
#map-section[data-surface="masterplan"] #map-settings,#map-section[data-surface="masterplan"] #active-concept,#map-section[data-surface="masterplan"] #active-power,#map-section[data-surface="masterplan"] .map-bottom,#map-section[data-surface="masterplan"] #layer-summary{display:none}
#masterplan-view button:focus-visible,#masterplan-scroll:focus-visible{outline:3px solid #ac772e;outline-offset:-3px}.map-workspace .brand>span:last-child{font-size:24px;line-height:1}.map-workspace .map-source-links{padding-top:3px;padding-bottom:3px}
@media(max-width:760px){.plan-view-heading{padding:10px;gap:8px}.plan-view-heading h3{font-size:16px}.plan-view-heading p{font-size:11px;line-height:1.4}.plan-view-heading button{font-size:12px;padding:8px 9px}.plan-view-tools{gap:5px;padding:5px 9px}.plan-view-tools>span{display:none}.plan-view-tools button{font-size:12px}.map-workspace .map-top-actions{display:none}.map-workspace .map-top{padding:11px 12px}.map-workspace .brand>span:last-child{font-size:22px}}

/* Compact, unobstructed source views; no new geometry or broader access. */
.map-workspace .map-source-notes[hidden],.map-workspace #layer-summary[hidden]{display:none!important}
.map-workspace #active-concept{padding:4px 10px;gap:6px;flex-wrap:nowrap}
.map-workspace #active-concept>span{min-width:0;font-size:11px;line-height:1.4}
.map-workspace #active-concept button{width:44px;min-width:44px;min-height:44px;padding:5px;flex:none;font-size:18px}
.plan-view-heading{align-items:center;padding:8px 12px;gap:8px}
.plan-view-heading h3{font-size:15px;margin:0 0 2px}.plan-view-heading p{font-size:11px;line-height:1.3}
.plan-view-tools{padding:4px 10px}
.map-workspace #map-section[data-surface="masterplan"] .explorer-body{height:clamp(620px,80svh,920px)!important;min-height:620px!important;max-height:none!important}
@media(max-width:760px){.map-workspace #map-section[data-surface="masterplan"] .explorer-body{height:clamp(560px,76svh,780px)!important;min-height:560px!important;max-height:780px!important}.plan-view-heading{padding:6px 9px}.plan-view-tools{padding:3px 8px}.plan-view-heading h3{font-size:14px}}
