/* Review shell only. Original V3.2 and production layouts remain untouched. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none;touch-action:none}
body #stage,.clean #stage{inset:0!important;width:100%;height:100%}
#controls,header,#chapter,#confidenceNotice,#winterToggle,#synopticToggle,#winterPanel,#synopticPanel{display:none!important}
#stage footer{left:8px;right:8px;bottom:8px;padding:0;background:none;pointer-events:none}
#stage .forecast-line,#stage .credits{display:none}
#legends{margin:0;gap:4px}#legends .legend{padding:6px;max-width:100%}
#legends .legend-title{font-size:12px}#legends .swatch{font-size:10px;width:25px}
#legends .legend-note{font-size:10px;max-width:360px}
#winterHud,#synopticHud{left:8px;right:8px;bottom:8px;max-width:580px;padding:8px;max-height:34%;overflow:auto;background:#0b2539e8;pointer-events:auto}
#winterHud strong,#synopticHud strong{font-size:12px}#winterHud small,#synopticHud small,#synopticHud p{font-size:10px;line-height:1.3;margin:5px 0}
.winterScale,.synopticScale{margin-top:5px}.winterScale span,.synopticScale span{min-width:0;font-size:10px;border-top-width:5px}
#availability{left:8px;right:8px;top:8px;font-size:11px;padding:6px;pointer-events:none}
#loading,#error{left:12px;right:12px;top:35%;font-size:13px;padding:12px}
@media(max-height:450px){#winterHud,#synopticHud{max-width:390px;max-height:34%}#winterHud small,#synopticHud small{font-size:9px}}

.sample-legend-hidden #legends,.sample-legend-hidden #synopticHud,.sample-legend-hidden #winterHud,.sample-legend-hidden #oceanLegend,.sample-legend-hidden #informationRibbon,.sample-legend-hidden #weatherLegendStack{visibility:hidden!important}
/* R02 groups source legends outside the footer. Keep their measurement anchor
   aligned with the compact ribbon so the unchanged label renderer has room. */
#stage.compact-information #weatherLegendStack{position:absolute;left:0;right:0;bottom:clamp(72px,14cqh,152px);height:0;visibility:hidden;pointer-events:none}
@container(max-width:600px){#stage.compact-information #weatherLegendStack{bottom:160px}}
