.interactive-chart{width:100%;height:100%;min-height:120px;position:relative}.chart-wrap>.interactive-chart{height:190px}.screen-chart .chart-wrap>.interactive-chart,.screen-rain .chart-wrap>.interactive-chart{height:100%;min-height:0}.screen-chart .chart-wrap{padding:0 5px 4px}.screen-rain .chart-wrap{padding:0 5px 5px}.wide-chart .interactive-chart{height:300px}.rain-panel .interactive-chart{height:180px}.drawer .interactive-chart{height:240px}.interactive-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 11px 0;min-height:32px}.interactive-chart-toolbar .segmented{padding:2px}.interactive-chart-toolbar .segmented button{padding:3px 8px;font-size:9px}.playback-button{background:#073958;border:1px solid #1b658a;color:#80cff8;font-size:9px;padding:4px 7px;border-radius:3px}.playback-button[aria-pressed=true]{background:#0b5272;color:#a7f1ec}.chart-interaction-hint{font-size:8px;color:#618eaa}.interactive-ring .interactive-chart{min-height:0;position:absolute;inset:0;width:100%;height:100%}.interactive-ring>.ring-center{pointer-events:none;font-size:24px}.interactive-ring .ring-center small{font-size:9px}.device-summary button{padding:0;border:0;background:none;color:#a1c2da;font-size:10px;display:flex;align-items:center;gap:7px;white-space:nowrap}.device-summary button:hover{color:#e7f7ff;text-decoration:underline}.device-summary button strong{margin-left:auto;font-size:11px}.screen-map .panel-head{right:49px;display:flex;justify-content:space-between;gap:5px;left:10px;background:#032338e6;max-width:calc(100% - 60px);height:31px}.screen-map .panel-title{font-size:12px;white-space:nowrap}.panorama-button{display:flex;align-items:center;gap:5px;font-size:10px;border:1px solid #318db2;background:#0a405c;color:#b7edff;padding:4px 7px;border-radius:3px;white-space:nowrap}.panorama-button svg{height:12px;width:12px}.panorama-button:hover{background:#126386}.screen-map .map-top-label{top:91px}.scene-mode{position:absolute;top:50px;left:11px;z-index:4;display:flex;background:#052c43de;border:1px solid #2c647f;border-radius:3px;padding:2px}.scene-mode button{background:none;border:0;color:#8bb3cb;padding:5px 8px;font-size:10px;border-radius:2px}.scene-mode button.selected{background:#106086;color:#d6f3ff}.model-controls{position:absolute;bottom:13px;left:12px;display:flex;align-items:center;gap:4px;z-index:5;background:#032b41db;border:1px solid #275f7a;border-radius:4px;padding:4px}.model-controls button{border:0;background:transparent;color:#a3c7db;padding:5px 7px;font-size:9px;border-radius:2px}.model-controls button:hover,.model-controls button[aria-pressed=true]{background:#145b79;color:#d9fbff}.model-help{position:absolute;bottom:56px;left:13px;color:#85a9bb;font-size:8px;z-index:2;pointer-events:none}.screen-map .map-footnote{bottom:77px;font-size:7px;max-width:55%;color:#7799aa}.screen-map .map-legend{bottom:54px;right:9px}.terrain-host{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 45%,#103b4e,#041c2d 80%);overflow:hidden}.terrain-host[hidden]{display:none}.screen-scene[hidden]{display:none}.terrain-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}.terrain-canvas:active{cursor:grabbing}.terrain-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.model-marker{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:4px;pointer-events:auto;color:#d9f0fa;background:#03263de8;border:1px solid color-mix(in srgb,var(--marker-color),transparent 30%);font-size:9px;white-space:nowrap;border-radius:3px;padding:4px 6px;box-shadow:0 2px 8px #0006;line-height:1.1}.model-marker:hover,.model-marker.selected{background:#0c526d;color:#fff;border-color:white;z-index:5}.beacon-dot{display:block;width:5px;height:5px;flex:none;background:var(--marker-color);border-radius:50%;box-shadow:0 0 5px var(--marker-color)}.model-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:35px;color:#8bb3cd;font-size:12px;line-height:2}.mode-3d .north{display:none}.screen-map:not(.mode-3d) .model-controls,.screen-map:not(.mode-3d) .model-help{display:none}.panorama-active:before{content:"";position:fixed;inset:0;background:#00111cf2;backdrop-filter:blur(7px);z-index:79}.screen-map.is-panorama{position:fixed;inset:12px;z-index:80;width:auto;height:auto;min-height:0;border:1px solid #277ba2;box-shadow:0 0 50px #0007}.screen-map.is-panorama .map-canvas{height:100%;min-height:0}.screen-map.is-panorama .panel-head{max-width:600px;left:20px;top:17px;height:40px;right:60px;padding:5px 13px}.screen-map.is-panorama .panel-title{font-size:17px}.screen-map.is-panorama .panorama-button{font-size:12px;padding:6px 11px}.screen-map.is-panorama .map-tools{top:17px;right:20px}.screen-map.is-panorama .scene-mode{left:20px;top:69px}.screen-map.is-panorama .scene-mode button{font-size:12px;padding:7px 12px}.screen-map.is-panorama .map-top-label{top:113px;left:21px}.screen-map.is-panorama .model-controls{left:50%;transform:translateX(-50%);bottom:24px;gap:8px;padding:7px 10px}.screen-map.is-panorama .model-controls button{padding:7px 15px;font-size:12px}.screen-map.is-panorama .model-help{left:22px;bottom:27px;font-size:10px}.screen-map.is-panorama .map-footnote{left:22px;bottom:53px;font-size:9px}.screen-map.is-panorama .map-legend{right:22px;bottom:28px;min-width:180px;padding:13px 16px}.screen-map.is-panorama .legend-button{font-size:12px;padding:5px 0}.screen-map.is-panorama .model-marker{font-size:12px;padding:6px 9px}.screen-map.is-panorama .screen-scene .scene-photo{object-fit:contain;background:#032032}.screen-map.is-panorama .screen-pins{max-width:85%;left:7.5%}.screen-map.is-panorama .map-canvas:after{box-shadow:inset 0 0 65px #041b2b40}
@media(min-width:1700px){.interactive-chart-toolbar{padding:8px 14px 2px}.interactive-chart-toolbar .segmented button{font-size:10px;padding:4px 10px}.playback-button{font-size:10px;padding:5px 10px}.chart-interaction-hint{font-size:9px}.model-marker{font-size:10px}.device-summary button{font-size:12px}.device-summary button strong{font-size:13px}.screen-map .panel-title{font-size:15px}.panorama-button{font-size:11px}.screen-map .map-footnote{font-size:8px}.model-controls button{font-size:10px}.model-help{font-size:9px}}
@media(max-width:700px){.screen-map .map-canvas{min-height:430px}.screen-map .panel-head{height:30px;max-width:calc(100% - 59px)}.screen-map .panel-title{font-size:11px}.panorama-button{font-size:9px;padding:4px}.model-marker{font-size:8px;padding:3px 4px}.model-controls{left:8px;bottom:10px;padding:3px}.model-controls button{font-size:8px;padding:4px}.model-help{left:9px;font-size:7px;bottom:48px}.screen-map .map-footnote{font-size:6px;bottom:65px;left:9px}.screen-map .map-legend{bottom:44px;min-width:112px;padding:6px 8px}.screen-map .legend-button{font-size:8px}.screen-map.is-panorama{inset:5px}.screen-map.is-panorama .map-canvas{min-height:0}.screen-map.is-panorama .panel-head{left:9px;top:10px;right:45px;max-width:calc(100% - 60px);height:35px;padding:5px 8px}.screen-map.is-panorama .panel-title{font-size:12px}.screen-map.is-panorama .panorama-button{font-size:10px;padding:5px}.screen-map.is-panorama .map-tools{top:10px;right:9px}.screen-map.is-panorama .scene-mode{left:9px;top:55px}.screen-map.is-panorama .map-top-label{left:9px;top:98px}.screen-map.is-panorama .model-controls{left:50%;bottom:13px;gap:2px;padding:4px;white-space:nowrap}.screen-map.is-panorama .model-controls button{font-size:10px;padding:6px 8px}.screen-map.is-panorama .map-legend{right:9px;bottom:65px;min-width:120px;padding:8px}.screen-map.is-panorama .legend-button{font-size:9px}.screen-map.is-panorama .model-help{left:10px;bottom:58px;font-size:7px}.screen-map.is-panorama .map-footnote{left:10px;bottom:74px;font-size:7px;max-width:50%}.screen-map.is-panorama .model-marker{font-size:10px;padding:4px}.device-summary button{font-size:9px}.chart-interaction-hint{font-size:7px}.screen-chart .chart-wrap>.interactive-chart{min-height:170px}}
@media(min-width:1700px){main{min-height:calc(100vh - 93px)}}

/* Keep the plan image and markers in the same SVG coordinate space at every aspect ratio. */
.screen-map .screen-scene{background:#052337}
.screen-map .plan-scene-svg,.screen-map.is-panorama .plan-scene-svg{width:100%;height:100%;max-width:none;left:0}
.plan-scene-svg .map-marker{transform-box:fill-box}
.terrain-render{position:absolute;inset:0;background:#041e33}
.terrain-render[hidden]{display:none}
.terrain-render img{width:100%;height:100%;object-fit:contain;display:block}
.terrain-render>span{position:absolute;left:13px;bottom:18px;color:#9cbbc9;font-size:9px;background:#032337dc;border:1px solid #24536b;padding:7px 10px;border-radius:3px}
.mode-render .map-legend,.mode-render .map-tools,.mode-render .north,.mode-render .map-footnote{display:none}
.screen-map.is-panorama .terrain-render>span{left:22px;bottom:26px;font-size:11px}
