/* Comparison is explicit: hidden peers do no data work. */
.apc-forecast__view-modes{display:flex;gap:2px;flex:none;padding:3px;background:#edf3f6;border:1px solid #c9dbe3;border-radius:9px}.apc-forecast__view-modes button{display:grid;place-items:center;width:32px;height:32px;padding:4px;border:0;border-radius:6px;background:transparent;color:#496b7d;cursor:pointer}.apc-forecast__view-modes button[aria-pressed=true]{background:#fff;color:#005d86;box-shadow:0 1px 4px #113e522b}.apc-forecast__view-modes button[hidden]{display:none}.apc-forecast__view-modes button:focus-visible{outline:2px solid #ed941f}
.apc-forecast__compare-grid{display:grid;grid-template-columns:minmax(0,1fr);min-width:0}.apc-forecast__compare-grid[data-count="2"],.apc-forecast__compare-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#bbcfd9}.apc-forecast__compare-grid[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:#bbcfd9}.apc-forecast__compare-grid>*{min-width:0;background:white}.apc-forecast__compare-pane{padding:0;margin:0;border:0}
.apc-forecast .apc-forecast__pane-head{height:38px;padding:0;background:#f5f9fb;border-bottom:1px solid #c9dbe3;display:flex;min-width:0}.apc-forecast .apc-forecast__pane-head[hidden]{display:none}.apc-forecast__pane-level{flex:0 0 85px;width:85px;min-width:0;height:30px;margin:3px 5px 3px 0;border:1px solid #c9dbe3;border-radius:5px;font-size:11px;background:#fff;color:#244e65}.apc-forecast[data-map-count="2"] [data-level-control],.apc-forecast[data-map-count="4"] [data-level-control],.apc-forecast[data-map-count="6"] [data-level-control]{display:none}.apc-forecast__pane-title{min-width:0;display:block;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:7px 11px;font-size:11px;font-weight:700;border:0;border-top:3px solid transparent;background:transparent;color:#244e65;cursor:pointer}.apc-forecast__pane-title[aria-pressed=true]{border-top-color:#ed941f;color:#003d61}
.apc-forecast__compare-grid .apc-forecast--peer{margin:0;border:0;box-shadow:none;border-radius:0;overflow:visible}.apc-forecast--peer[hidden]{display:none!important}.apc-forecast--peer>.apc-forecast__head,.apc-forecast--peer>.apc-forecast__display-settings,.apc-forecast--peer>.apc-forecast__foot,.apc-forecast--peer .apc-forecast__layers,.apc-forecast--peer .apc-forecast__toolbar,.apc-forecast--peer .apc-forecast__timeline,.apc-forecast--peer .apc-forecast__map-options{display:none!important}.apc-forecast__compare-grid .apc-forecast--peer>.apc-forecast__workspace{display:block;min-height:0;height:auto}
.apc-forecast[data-map-count="2"] .apc-forecast__compare-grid .apc-forecast__map{height:520px;min-height:360px}.apc-forecast[data-map-count="4"] .apc-forecast__compare-grid .apc-forecast__map,.apc-forecast[data-map-count="6"] .apc-forecast__compare-grid .apc-forecast__map{height:340px;min-height:260px}
.apc-forecast__parameter-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:5px;align-items:center;margin:3px 0}.apc-forecast__parameter-row>button{min-width:0;padding:10px 8px}.apc-forecast__parameter-row[data-count="6"]{grid-template-columns:minmax(0,1fr) 51px}.apc-forecast__tile-targets[data-count="6"]{grid-template-columns:repeat(3,1fr);width:51px}
.apc-forecast__tile-targets{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;width:33px;align-self:center}.apc-forecast__layer-list .apc-forecast__tile-targets>button{display:block;min-width:0;width:15px;height:15px;padding:0;margin:0;border:1px solid #83a6b7;border-radius:2px;background:#f9fcfd;box-shadow:none;cursor:pointer}.apc-forecast__layer-list .apc-forecast__tile-targets[data-count="2"]>button{height:24px}.apc-forecast__layer-list .apc-forecast__tile-targets>button[aria-pressed=true]{background:#087da3;border-color:#087da3}.apc-forecast__layer-list .apc-forecast__tile-targets>button:hover,.apc-forecast__layer-list .apc-forecast__tile-targets>button:focus-visible{outline:2px solid #ed941f;outline-offset:1px}
@media(max-width:680px){.apc-forecast__toolbar{flex-wrap:wrap}.apc-forecast__view-modes{margin-left:auto}.apc-forecast[data-map-count="2"] .apc-forecast__compare-grid .apc-forecast__map,.apc-forecast[data-map-count="4"] .apc-forecast__compare-grid .apc-forecast__map{height:290px;min-height:240px}.apc-forecast__pane-title{min-width:0;font-size:10px;padding:6px}.apc-forecast__parameter-row{grid-template-columns:minmax(0,1fr) 54px}.apc-forecast__tile-targets{width:50px;gap:4px}.apc-forecast__layer-list .apc-forecast__tile-targets>button{width:23px;height:23px}.apc-forecast__layer-list .apc-forecast__tile-targets[data-count="2"]>button{height:32px}}
.apc-forecast__map.is-time-unavailable :is([data-field-canvas],[data-contour-canvas],[data-wind-canvas]){visibility:hidden}

.apc-forecast__pane-head>.apc-search-select{flex:0 0 88px;width:88px;min-width:0;align-self:center;margin:3px 5px 3px 0}.apc-forecast__pane-head .apc-search-select__trigger{min-height:28px;height:28px;padding:3px 6px;font-size:11px;border-radius:5px}

/* Every visible pane receives the same grid track, including nested peer maps. */
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__compare-grid{flex:1 1 0px;min-height:120px;grid-template-rows:minmax(0,1fr)}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__compare-grid:is([data-count="4"],[data-count="6"]){grid-template-rows:repeat(2,minmax(0,1fr))}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__compare-pane{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__compare-grid>.apc-forecast--peer{height:100%;min-height:0;overflow:hidden}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast--peer>.apc-forecast__workspace{height:100%;min-height:0}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast--peer .apc-forecast__map-column{height:100%;min-height:0;display:flex;flex-direction:column}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__compare-grid .apc-forecast__map{flex:1 1 0px;height:0;min-height:0;max-height:none}
.apc-forecast__pane-head{flex:0 0 38px}
