.apc-forecast {
  --forecast-navy: #07324a;
  --forecast-navy-2: #0b425f;
  --forecast-cyan: #3bb7c5;
  --forecast-orange: #ef7b45;
  --forecast-ink: #17394a;
  --forecast-muted: #607986;
  --forecast-line: #d6e2e8;
  --forecast-soft: #edf4f7;
  position: relative;
  width: 100%;
  color: var(--forecast-ink);
  font: inherit;
  background: #fff;
  border: 1px solid var(--forecast-line);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(7, 50, 74, .12);
  overflow: hidden;
}

.apc-forecast *, .apc-forecast *::before, .apc-forecast *::after { box-sizing: border-box; }
.apc-forecast [hidden] { display: none !important; }
.apc-forecast button, .apc-forecast input, .apc-forecast select { font: inherit; }
.apc-forecast button { cursor: pointer; }

.apc-forecast__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 30px 25px;
  color: #fff;
  background:
    radial-gradient(circle at 75% -30%, rgba(59,183,197,.34), transparent 45%),
    linear-gradient(130deg, #052b40, #0a405c 68%, #10536c); font-family: var(--apc-dashboard-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.apc-forecast__head p, .apc-forecast__head h2, .apc-forecast__head em { margin: 0; }
.apc-forecast__head p { display: flex; align-items: center; gap: 9px; color: #b8e5eb; font-size: var(--apc-dashboard-kicker-size, 12px); font-style: normal; font-weight: var(--apc-dashboard-kicker-weight, 800); letter-spacing: var(--apc-dashboard-kicker-tracking, .12em); text-transform: uppercase; line-height: var(--apc-dashboard-kicker-leading, 1.5);
}
.apc-forecast__head p span { width: 8px; height: 8px; border-radius: 50%; background: #65e0ce; box-shadow: 0 0 0 5px rgba(101,224,206,.14); }
.apc-forecast__head h2 { margin-top: 7px; color: #fff; font-size: var(--apc-dashboard-title-size, clamp(26px, 3vw, 38px)); line-height: var(--apc-dashboard-title-leading, 1.12); letter-spacing: var(--apc-dashboard-title-tracking, -.03em); font-weight: var(--apc-dashboard-title-weight, 800);
}
.apc-forecast__head em { display: block; max-width: 760px; margin-top: 9px; color: #c9dce5; font-size: var(--apc-dashboard-intro-size, 15px); font-style: normal; line-height: var(--apc-dashboard-intro-leading, 1.5); font-weight: var(--apc-dashboard-intro-weight, 400);
}
.apc-forecast__run { min-width: 185px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); text-align: right; }
.apc-forecast__run small, .apc-forecast__run span { display: block; color: #9dc1cf; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.apc-forecast__run label { display: block; }
.apc-forecast__run select { width: 210px; max-width: 24vw; height: 34px; margin: 4px 0 5px; padding: 0 28px 0 9px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font-size: .75rem; font-weight: 750; }
.apc-forecast__run select option { color: var(--forecast-navy); background: #fff; }
.apc-forecast__run select:focus-visible { outline: 2px solid #65e0ce; outline-offset: 2px; }
.apc-forecast__run select:disabled { opacity: .78; }
.apc-forecast__run span { letter-spacing: 0; text-transform: none; }

.apc-forecast__workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 700px; }
.apc-forecast__layers { min-width: 0; background: #f7fafb; border-right: 1px solid var(--forecast-line); }
.apc-forecast__layers-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 19px 14px; }
.apc-forecast__layers-head small { display: block; color: var(--forecast-muted); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.apc-forecast__layers-head strong { display: block; margin-top: 2px; color: var(--forecast-navy); font-size: .84rem; }
.apc-forecast__layers-head button { display: none; width: 38px; height: 38px; color: var(--forecast-navy); background: #fff; border: 1px solid var(--forecast-line); border-radius: 10px; font-size: 1.35rem; }
.apc-forecast__groups { display: flex; gap: 5px; padding: 0 14px 13px; overflow-x: auto; scrollbar-width: thin; }
.apc-forecast__groups button { flex: 0 0 auto; padding: 7px 10px; color: #476573; background: #e7eff3; border: 0; border-radius: 999px; font-size: .69rem; font-weight: 750; white-space: nowrap; }
.apc-forecast__groups button[aria-pressed="true"] { color: #fff; background: var(--forecast-navy); }
.apc-forecast__layer-list { max-height: 610px; padding: 0 12px 18px; overflow-y: auto; scrollbar-color: #a7bdc7 transparent; scrollbar-width: thin; }
.apc-forecast__layer-list button { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; gap: 12px; align-items: start; padding: 13px 12px; color: var(--forecast-ink); text-align: left; background: transparent; border: 1px solid transparent; border-radius: 13px; }
.apc-forecast__layer-list button + button { margin-top: 4px; }
.apc-forecast__layer-list button:hover { background: #fff; border-color: #deeaee; }
.apc-forecast__layer-list button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--forecast-navy), #0e5871); box-shadow: 0 8px 22px rgba(7,50,74,.18); }
.apc-forecast__layer-list span, .apc-forecast__layer-list strong, .apc-forecast__layer-list small, .apc-forecast__layer-list em { display: block; }
.apc-forecast__layer-list strong { font-size: .87rem; line-height: 1.25; }
.apc-forecast__layer-list small { margin-top: 4px; color: var(--forecast-muted); font-size: .69rem; line-height: 1.35; }
.apc-forecast__layer-list em { padding: 3px 6px; color: #6f8996; background: #e7f0f3; border-radius: 6px; font-size: .63rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.apc-forecast__layer-list button[aria-selected="true"] small { color: #bfd9e2; }
.apc-forecast__layer-list button[aria-selected="true"] em { color: #d8f7f4; background: rgba(255,255,255,.12); }

.apc-forecast__map-column { min-width: 0; background: #fff; }
.apc-forecast__toolbar { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--forecast-line); }
.apc-forecast__model { display: flex; align-items: center; gap: 8px; min-width: 190px; color: var(--forecast-muted); font-size: .72rem; font-weight: 750; }
.apc-forecast__model select { width: min(230px, 25vw); min-width: 145px; height: 40px; padding: 0 32px 0 11px; color: var(--forecast-navy); background: #f4f8fa; border: 1px solid var(--forecast-line); border-radius: 9px; font-weight: 800; text-overflow: ellipsis; }
.apc-forecast__model--wide{flex:0 1 390px;min-width:min(100%,340px)}
.apc-forecast__model--wide>span{flex:none;white-space:nowrap}
.apc-forecast__model--wide>.apc-search-select{flex:1;min-width:0;width:300px}
.apc-forecast__model--wide select{width:100%;min-width:0}
.apc-forecast__toolbar:has(>.apc-forecast__model--wide){flex-wrap:wrap}
.apc-forecast__model select:focus-visible, .apc-forecast__level select:focus-visible { border-color: var(--forecast-cyan); box-shadow: 0 0 0 2px rgba(59,183,197,.18); outline: 0; }
.apc-forecast__layer-trigger { display: none; align-items: center; gap: 9px; min-width: 0; padding: 9px 12px; color: var(--forecast-navy); background: var(--forecast-soft); border: 0; border-radius: 10px; }
.apc-forecast__layer-trigger strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apc-forecast__level { display: flex; align-items: center; gap: 8px; color: var(--forecast-muted); font-size: .74rem; font-weight: 750; }
.apc-forecast__level select { min-width: 105px; height: 40px; padding: 0 32px 0 11px; color: var(--forecast-navy); background: #f4f8fa; border: 1px solid var(--forecast-line); border-radius: 9px; font-weight: 800; }
.apc-forecast__toolbar-actions { display: flex; align-items:center; min-width:0; gap: 6px; margin-left: auto; }
.apc-forecast__toolbar-actions > button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--forecast-navy); background: #f3f7f9; border: 1px solid var(--forecast-line); border-radius: 9px; font-size: 21px; font-weight: 650; }
.apc-map-tool svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.apc-forecast__toolbar-actions > button:hover, .apc-forecast__toolbar-actions > button:focus-visible { color: #fff; background: var(--forecast-navy); border-color: var(--forecast-navy); }
.apc-forecast__toolbar-actions .apc-forecast__wind-toggle { color: #0b7180; background: #e1f5f6; border-color: #b5dde1; }
.apc-forecast__toolbar-actions .apc-forecast__wind-toggle[aria-pressed="true"] { color: #fff; background: #0c7583; border-color: #0c7583; box-shadow: 0 0 0 3px rgba(59,183,197,.17); }
.apc-forecast__toolbar-actions .apc-forecast__wind-toggle span { display: inline-block; font-size: 1.35rem; line-height: 1; transform: rotate(-8deg); }
.apc-forecast__map-options { position: relative; }
.apc-forecast__map-options-menu { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:3px 12px; width:100%; box-sizing:border-box; padding:5px 14px; color:var(--forecast-ink); background:#f7fafb; border-block:1px solid var(--forecast-line); }
.apc-forecast__map-options-menu[hidden] { display: none; }
.apc-forecast__map-options-menu > strong { color:var(--forecast-navy); font-size:.6rem; font-weight:700; }
.apc-forecast__map-options-menu label { display:flex; align-items:center; gap:5px; padding:5px 0; border-radius:4px; font-size:.65rem; font-weight:600; cursor:pointer; white-space:nowrap; }
.apc-forecast__map-options-menu label:hover { background: var(--forecast-soft); }
.apc-forecast__map-options-menu input { width: 16px; height: 16px; margin: 0; accent-color: var(--forecast-cyan); }

.apc-forecast__map { position: relative; width: 100%; height: clamp(500px, 56vw, 650px); min-height: 500px; isolation: isolate; overflow: hidden; color: #fff; background: #dbe7eb; outline: 0; touch-action: none; user-select: none; cursor: grab; }
.apc-forecast__map:focus-visible { box-shadow: inset 0 0 0 4px var(--forecast-orange); }
.apc-forecast__map.is-dragging { cursor: grabbing; }
.apc-forecast__basemap, .apc-forecast__grid, .apc-forecast__field, .apc-forecast__contours, .apc-forecast__wind { position: absolute; inset: 0; }
.apc-forecast__basemap { z-index: 3; background: transparent center / cover no-repeat; }
.apc-forecast__basemap.maplibregl-map { position:absolute; inset:0; }
.apc-forecast__basemap.maplibregl-map, .apc-forecast__basemap .maplibregl-canvas-container, .apc-forecast__basemap .maplibregl-canvas { width: 100%; height: 100%; }
.apc-forecast__basemap .maplibregl-canvas { display: block; max-width: none; outline: 0; }
.apc-forecast__field { z-index: 1; width: 100%; height: 100%; pointer-events: none; transition: opacity .16s ease; }
.apc-forecast__map-notice { position: absolute; z-index: 9; bottom: 36px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: rgba(255,248,229,.96); color: #493800; border-left: 3px solid #df9300; border-radius: 5px; padding: 6px 10px; font-size: 11px; pointer-events: none; }
.apc-forecast__contours { z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.apc-forecast__wind { z-index: 5; width: 100%; height: 100%; pointer-events: none; }
.apc-forecast__city-labels { position: absolute; z-index: 6; inset: 0; overflow: hidden; pointer-events: none; }
.apc-forecast__city-labels span { position: absolute; display: block; max-width: 150px; padding: 1px 4px; overflow: hidden; transform: translate(-50%, -50%); color: #173b4a; background: rgba(255,255,255,.52); border-radius: 4px; font-size: clamp(.57rem, .72vw, .68rem); font-weight: 750; line-height: 1.25; text-overflow: ellipsis; text-shadow: 0 1px 1px #fff, 1px 0 1px #fff, -1px 0 1px #fff, 0 -1px 1px #fff; white-space: nowrap; }
.apc-forecast__city-labels span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 3px 2px 0; background: currentColor; border-radius: 50%; }
.apc-forecast__city-labels span.is-capital { color: #092e41; font-weight: 850; }
.apc-forecast__wind-status { position: absolute; z-index: 9; left: 50%; bottom: 35px; max-width: calc(100% - 150px); padding: 7px 11px; transform: translateX(-50%); color: #fff; background: rgba(5,43,64,.82); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; box-shadow: 0 5px 18px rgba(5,43,64,.22); font-size: .68rem; font-weight: 750; line-height: 1.25; text-align: center; pointer-events: none; backdrop-filter: blur(6px); }

.apc-forecast__loading, .apc-forecast__error { position: absolute; z-index: 10; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 11px; max-width: min(90%, 420px); padding: 13px 17px; color: #fff; background: rgba(5,43,64,.9); border: 1px solid rgba(255,255,255,.18); border-radius: 13px; box-shadow: 0 15px 35px rgba(0,0,0,.25); backdrop-filter: blur(7px); }
.apc-forecast__loading span { width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.32); border-top-color: #fff; border-radius: 50%; animation: apc-forecast-spin .8s linear infinite; }
.apc-forecast__loading strong, .apc-forecast__error strong { font-size: .82rem; }
.apc-forecast__error { flex-wrap: wrap; justify-content: center; text-align: center; background: rgba(104,35,27,.94); }
.apc-forecast__error button { padding: 7px 11px; color: #71372d; background: #fff; border: 0; border-radius: 8px; font-size: .73rem; font-weight: 800; }
@keyframes apc-forecast-spin { to { transform: rotate(360deg); } }

.apc-forecast__zoom { position: absolute; z-index: 8; left: 14px; top: 14px; display: grid; overflow: hidden; border: 1px solid rgba(7,50,74,.2); border-radius: 10px; box-shadow: 0 6px 18px rgba(7,50,74,.18); }
.apc-forecast__zoom button { width: 40px; height: 38px; color: var(--forecast-navy); background: rgba(255,255,255,.94); border: 0; font-size: 1.2rem; font-weight: 700; }
.apc-forecast__zoom button + button { border-top: 1px solid var(--forecast-line); }
.apc-forecast__zoom button:hover, .apc-forecast__zoom button:focus-visible { color: #fff; background: var(--forecast-navy); }
.apc-forecast__coordinates { position: absolute; z-index: 7; left: 14px; bottom: 33px; padding: 6px 9px; color: #fff; background: rgba(5,43,64,.78); border-radius: 7px; font-size: .65rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.apc-forecast__attribution { position: static; max-width: 100%; padding: 3px 0; color: #334e5a; background: rgba(255,255,255,.86); font-size: .58rem; line-height: 1.35; pointer-events: auto; }
.apc-forecast__attribution a { color: inherit; text-decoration: underline; }

.apc-forecast__legend { position: absolute; z-index: 7; right: 13px; top: 13px; width: min(220px, calc(100% - 90px)); padding: 8px; color: var(--forecast-navy); background: rgba(255,255,255,.92); border: 1px solid rgba(7,50,74,.18); border-radius: 10px; box-shadow: 0 7px 22px rgba(7,50,74,.18); pointer-events: none; }
.apc-forecast__legend > div { width: 100%; height: 14px; border: 1px solid rgba(7,50,74,.14); border-radius: 5px; }
.apc-forecast__legend > span { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 4px; font-size: .62rem; font-variant-numeric: tabular-nums; }
.apc-forecast__legend > span small:last-child { text-align: right; }
.apc-forecast__legend > span strong { font-size: .64rem; }
.apc-forecast__legend img { display: block; max-width: 120px; max-height: 250px; }
.apc-forecast__legend [data-legend-fallback] { display: flex; align-items: stretch; gap: 7px; height: 190px; }
.apc-forecast__legend [data-legend-fallback] span { width: 19px; border-radius: 6px; background: linear-gradient(to top, #392f83, #2c7bb6, #00a6ca, #00ccbc, #90eb9d, #ffff8c, #f9d057, #f29e2e, #e76818, #d7191c); }
.apc-forecast[data-palette="humidity"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #8b4513, #efc46b, #f8f4c7, #8bd2c5, #277da1, #443a83); }
.apc-forecast[data-palette="clouds"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #fff, #cbd6dc, #778b97, #263842); }
.apc-forecast[data-palette="precipitation"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #e8f8ff, #5fd5e6, #1f78d1, #6352aa, #ed4c78, #8f102e); }
.apc-forecast[data-palette="snow"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #fff, #bce9ff, #54b9ed, #8172c7, #d651a2); }
.apc-forecast[data-palette="wind"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #edf8e9, #a1d99b, #41ab5d, #2c7fb8, #253494, #7a0177); }
.apc-forecast[data-palette="pressure"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #542788, #998ec3, #f7f7f7, #f1a340, #b35806); }
.apc-forecast[data-palette="cape"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #fff7bc, #fec44f, #fe9929, #d95f0e, #993404, #5a0028); }
.apc-forecast[data-palette="height"] .apc-forecast__legend [data-legend-fallback] span, .apc-forecast[data-palette="thetae"] .apc-forecast__legend [data-legend-fallback] span { background: linear-gradient(to top, #313695, #74add1, #e0f3f8, #ffffbf, #fdae61, #a50026); }
.apc-forecast__legend [data-legend-fallback] small { align-self: flex-end; color: var(--forecast-navy); font-size: .62rem; font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); }

.apc-forecast__point { position: absolute; z-index: 12; width: min(290px, calc(100% - 24px)); padding: 12px 34px 12px 13px; transform: translate(-50%, calc(-100% - 14px)); color: var(--forecast-ink); background: rgba(255,255,255,.97); border: 1px solid rgba(7,50,74,.2); border-radius: 12px; box-shadow: 0 13px 35px rgba(7,50,74,.28); user-select: text; }
.apc-forecast__point::after { content: ""; position: absolute; left: 50%; top: 100%; border: 8px solid transparent; border-top-color: #fff; transform: translateX(-50%); }
.apc-forecast__point button { position: absolute; right: 6px; top: 6px; width: 25px; height: 25px; color: var(--forecast-navy); background: #edf3f5; border: 0; border-radius: 6px; font-size: 1rem; }
.apc-forecast__point small { display: block; color: var(--forecast-muted); font-size: .65rem; }
.apc-forecast__point strong { display: block; margin-top: 4px; max-height: 100px; overflow: auto; font-size: .73rem; line-height: 1.35; }

.apc-forecast__timeline { padding: 16px 20px 18px; background: #f7fafb; border-top: 1px solid var(--forecast-line); }
.apc-forecast__valid { display: flex; align-items: baseline; gap: 10px; margin-bottom: 11px; }
.apc-forecast__valid small { color: var(--forecast-muted); font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.apc-forecast__valid strong { color: var(--forecast-navy); font-size: .94rem; }
.apc-forecast__valid span { padding: 3px 7px; color: #155b63; background: #dff3f3; border-radius: 999px; font-size: .65rem; font-weight: 800; }
.apc-forecast__timeline-controls { display: grid; grid-template-columns: 38px 42px minmax(0, 1fr) 38px; align-items: center; gap: 8px; }
.apc-forecast__timeline-controls button { width: 38px; height: 36px; color: var(--forecast-navy); background: #fff; border: 1px solid var(--forecast-line); border-radius: 8px; font-weight: 800; }
.apc-forecast__timeline-controls button:disabled { cursor: default; opacity: .42; }
.apc-forecast__timeline-controls .apc-forecast__play { width: 42px; color: #fff; background: var(--forecast-orange); border-color: var(--forecast-orange); }
.apc-forecast__timeline-controls input { width: 100%; accent-color: var(--forecast-orange); cursor: pointer; }
.apc-forecast__ticks { position: relative; height: 22px; margin: 4px 47px 0 96px; }
.apc-forecast__ticks span { position: absolute; top: 7px; color: #69828d; font-size: .54rem; white-space: nowrap; transform: translateX(-50%); }
.apc-forecast__ticks span::before { content: ""; position: absolute; left: 50%; top: -7px; width: 1px; height: 5px; background: #9cb0ba; }
.apc-forecast__ticks span.is-minor::before { height: 3px; background: #b6c6cd; }
.apc-forecast select.apc-forecast__wind-toggle { min-width: 0; width: auto; max-width: 230px; height: 38px; border: 1px solid #d5e2e7; border-radius: 8px; background: #f3f8fa; color: #123e50; font: inherit; font-size: .78rem; padding: 5px 22px 5px 8px; }
.apc-forecast__playback-settings { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px 18px; margin-top: 7px; color: var(--forecast-muted); font-size: .61rem; }
.apc-forecast__playback-settings label { display: flex; align-items: center; gap: 6px; }
.apc-forecast__playback-settings input[type="range"] { width: 76px; accent-color: var(--forecast-cyan); }
.apc-forecast__playback-settings input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--forecast-cyan); }
.apc-forecast__playback-settings output { min-width: 33px; color: var(--forecast-navy); font-weight: 800; }

.apc-forecast__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: center; gap: 22px; padding: 16px 22px; color: var(--forecast-muted); background: #fff; border-top: 1px solid var(--forecast-line); font-size: .68rem; line-height: 1.45; }
.apc-forecast__foot p { margin: 0; }
.apc-forecast__foot label { display: flex; align-items: center; gap: 7px; color: var(--forecast-ink); white-space: nowrap; }
.apc-forecast__foot input { width: 90px; accent-color: var(--forecast-cyan); }
.apc-forecast__foot output { min-width: 38px; color: var(--forecast-navy); font-weight: 800; }
.apc-forecast__noscript { margin: 0; padding: 14px 20px; color: #7c3025; background: #fff0ec; }

.apc-forecast__export { width: min(620px, calc(100vw - 30px)); padding: 0; color: var(--forecast-ink); background: #fff; border: 0; border-radius: 17px; box-shadow: 0 28px 80px rgba(3,31,45,.35); }
.apc-forecast__export::backdrop { background: rgba(3,31,45,.62); backdrop-filter: blur(3px); }
.apc-forecast__export-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; color: #fff; background: var(--forecast-navy); }
.apc-forecast__export-head h3 { margin: 0; color: #fff; font-size: 1rem; }
.apc-forecast__export-head button { width: 32px; height: 32px; padding: 0; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 8px; font-size: 1.2rem; }
.apc-forecast__export-body { padding: 20px; }
.apc-forecast__export-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.apc-forecast__export-formats button { min-height: 42px; color: var(--forecast-navy); background: var(--forecast-soft); border: 1px solid var(--forecast-line); border-radius: 9px; font-size: .74rem; font-weight: 850; }
.apc-forecast__export-formats button:hover, .apc-forecast__export-formats button:focus-visible { color: #fff; background: var(--forecast-navy); }
.apc-forecast__export fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 16px; border: 1px solid var(--forecast-line); border-radius: 12px; min-width: 0; }
.apc-forecast__export legend { padding: 0 6px; color: var(--forecast-navy); font-size: .76rem; font-weight: 850; }
.apc-forecast__export fieldset label { display: grid; grid-template-columns: 24px minmax(0, 1fr) 34px; align-items: center; gap: 9px; font-size: .67rem; min-width: 0; }
.apc-forecast__export-icon-field svg { width: 22px; height: 22px; fill: none; stroke: var(--forecast-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.apc-forecast__export fieldset .apc-forecast__video-size { grid-template-columns: 24px minmax(0, 1fr); grid-column: 1 / -1; }
.apc-forecast__video-size select { min-height: 36px; width: 100%; color: var(--forecast-navy); border: 1px solid var(--forecast-line); border-radius: 7px; background: var(--forecast-soft); padding: 5px 10px; }
.apc-forecast__video-size-note { grid-column: 1 / -1; font-size: .65rem; color: var(--forecast-muted); }
.apc-forecast__video-range { grid-column: 1 / -1; min-width: 0; }
.apc-forecast__video-range-labels { display: flex; justify-content: space-between; gap: 10px; color: var(--forecast-muted); font-size: .63rem; }
.apc-forecast__video-range-labels > span:last-child { text-align: right; }
.apc-forecast__video-range-track { position: relative; height: 40px; margin: 0 10px; }
.apc-forecast__video-range-track > div { position: absolute; left: 0; right: 0; top: 18px; height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--forecast-line) 0%, var(--forecast-line) var(--from, 0%), var(--forecast-orange) var(--from, 0%), var(--forecast-orange) var(--to, 100%), var(--forecast-line) var(--to, 100%), var(--forecast-line) 100%); }
.apc-forecast__export .apc-forecast__video-range-track input { appearance: none; -webkit-appearance: none; position: absolute; width: calc(100% + 20px); left: -10px; top: 0; height: 40px; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; pointer-events: none; }
.apc-forecast__video-range-track input::-webkit-slider-runnable-track { height: 5px; background: transparent; }
.apc-forecast__video-range-track input::-moz-range-track { height: 5px; background: transparent; }
.apc-forecast__video-range-track input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 20px; height: 28px; margin-top: -11px; background: var(--forecast-orange); border: 2px solid white; border-radius: 5px 5px 8px 8px; box-shadow: 0 1px 4px #0005; cursor: ew-resize; pointer-events: auto; }
.apc-forecast__video-range-track input::-moz-range-thumb { width: 17px; height: 24px; background: var(--forecast-orange); border: 2px solid white; border-radius: 5px; cursor: ew-resize; pointer-events: auto; }
.apc-forecast__video-range-track input[data-video-to]::-webkit-slider-thumb { background: var(--forecast-navy); }
.apc-forecast__video-range-track input[data-video-to]::-moz-range-thumb { background: var(--forecast-navy); }
.apc-forecast__video-range-track input:focus-visible { outline: 2px solid var(--forecast-navy); outline-offset: 1px; border-radius: 5px; }
.apc-forecast__export fieldset input { width: 100%; accent-color: var(--forecast-orange); }
.apc-forecast__export fieldset output { min-width: 0; color: var(--forecast-navy); font-size: .62rem; font-weight: 800; text-align: right; }
.apc-forecast__export [data-video-export] { min-height: 38px; color: #fff; background: var(--forecast-orange); border: 0; border-radius: 8px; font-size: .72rem; font-weight: 850; }
.apc-forecast__export [data-export-status] { align-self: center; color: var(--forecast-muted); font-size: .65rem; }

.apc-forecast:fullscreen, .apc-forecast.is-fullscreen, .apc-forecast.is-fullscreen-fallback { width: 100vw; height: 100vh; max-width: none; border: 0; border-radius: 0; background: #fff; }
.apc-forecast:fullscreen .apc-forecast__foot, .apc-forecast.is-fullscreen .apc-forecast__foot, .apc-forecast.is-fullscreen-fallback .apc-forecast__foot { display: none; }
.apc-forecast.is-fullscreen-fallback { position: fixed; z-index: 999999; inset: 0; }

@media (max-width: 980px) {
  .apc-forecast__workspace { display: block; min-height: 0; }
  .apc-forecast__layers { position: absolute; z-index: 60; left: 0; top: 0; bottom: 0; width: min(340px, 88vw); border-right: 0; box-shadow: 18px 0 45px rgba(7,50,74,.24); transform: translateX(-105%); transition: transform .22s ease; }
  .apc-forecast.is-layer-panel-open .apc-forecast__layers { transform: translateX(0); }
  .apc-forecast.is-layer-panel-open::after { content: ""; position: absolute; z-index: 50; inset: 0; background: rgba(2,25,37,.52); }
  .apc-forecast__layers-head button, .apc-forecast__layer-trigger { display: flex; }
  .apc-forecast__layer-list { max-height: calc(100vh - 260px); }
  .apc-forecast__toolbar { padding-left: 10px; }
  .apc-forecast__model { min-width: 170px; }
  .apc-forecast__model select { width: min(230px, 31vw); }
  .apc-forecast__layer-trigger { max-width: min(55vw, 360px); }
  .apc-forecast__map { height: clamp(460px, 70vw, 620px); }
  .apc-forecast__foot { grid-template-columns: 1fr auto; }
  .apc-forecast__foot p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .apc-forecast { border-radius: 16px; }
  .apc-forecast__head { align-items: flex-start; padding: 22px 18px; font-family: var(--apc-dashboard-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
  .apc-forecast__head em { font-size: var(--apc-dashboard-intro-size, 15px); }
  .apc-forecast__run { display: none; }
  .apc-forecast__toolbar { flex-wrap: wrap; gap: 7px; }
  .apc-forecast__model { flex: 1 1 100%; justify-content: space-between; min-width: 0; }
  .apc-forecast__model select { flex: 1; width: auto; max-width: 72%; height: 36px; }
  .apc-forecast__layer-trigger { flex: 1 1 190px; max-width: none; }
  .apc-forecast__level { order: 3; width: 100%; justify-content: flex-end; }
  .apc-forecast__level select { height: 36px; }
  .apc-forecast__toolbar-actions > button { width: 36px; height: 36px; }
  .apc-forecast__map { height: 62vh; min-height: 410px; max-height: 590px; }
  .apc-forecast__legend { right: 8px; top: 8px; transform: scale(.82); transform-origin: top right; }
  .apc-forecast__zoom { left: 8px; top: 8px; }
  .apc-forecast__coordinates { left: 8px; bottom: 31px; }
	.apc-forecast__wind-status { bottom: 33px; max-width: calc(100% - 95px); font-size: .63rem; }
  .apc-forecast__timeline { padding: 14px 12px 16px; }
  .apc-forecast__valid { flex-wrap: wrap; gap: 5px 9px; }
  .apc-forecast__timeline-controls { grid-template-columns: 34px 38px minmax(0, 1fr) 34px; gap: 5px; }
  .apc-forecast__timeline-controls button { width: 34px; }
  .apc-forecast__timeline-controls .apc-forecast__play { width: 38px; }
  .apc-forecast__ticks { margin-left: 78px; margin-right: 40px; }
  .apc-forecast__playback-settings { justify-content: flex-start; }
  .apc-forecast__foot { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .apc-forecast__foot label { justify-content: space-between; }
  .apc-forecast__foot input { flex: 1; }
  .apc-forecast__foot p:last-child { grid-column: auto; }
  .apc-forecast__export fieldset { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .apc-forecast__layers, .apc-forecast__field { transition: none; }
  .apc-forecast__loading span { animation-duration: 1.6s; }
}

/* Named products share the existing add-on navigation and colour contract. */
.apc-forecast__view-tabs { display:flex; gap:5px; margin:0 12px 12px; }
.apc-forecast__view-tabs button { flex:1; padding:8px; border:1px solid var(--forecast-line); border-radius:8px; background:#edf4f7; color:var(--forecast-navy); font:inherit; font-size:.78rem; }
.apc-forecast__view-tabs button[aria-pressed="true"] { background:var(--forecast-navy); color:#fff; }
.apc-forecast__product-heading { margin:14px 10px 5px; color:var(--forecast-muted); font-size:.67rem; text-transform:uppercase; letter-spacing:.07em; }
.apc-forecast__layer-list button[data-product] { grid-template-columns:minmax(0,1fr); padding:9px 10px; }
.apc-forecast__layer-list button[aria-disabled="true"] { opacity:.57; cursor:help; }
.apc-forecast__layer-list button[aria-disabled="true"] small { font-size:.65rem; }
.apc-forecast__groups:empty { display:none; }
.apc-forecast__layer-list button[data-layer] { padding:9px 10px; }
.apc-forecast__map-info{padding:5px 14px;background:#f7fafb;border-top:1px solid var(--forecast-line);font-size:12px;line-height:1.5}.apc-forecast__map-info>summary{cursor:pointer}.apc-forecast__map-info .apc-forecast__resolution{white-space:pre-line;margin:5px 0}
.apc-forecast__product-caption { flex-basis:100%; padding:7px 6px 2px; font-size:.77rem; font-weight:700; color:var(--forecast-navy); }
.apc-forecast__resolution { padding:0 6px 2px; font-size:9px; line-height:1.4; font-weight:400; color:#657b87; }
.apc-forecast__coordinate-edges { position:absolute; inset:0; z-index:7; width:100%; height:100%; pointer-events:none; }

.apc-forecast__export fieldset .apc-forecast__video-format { grid-column:1/-1; grid-template-columns:auto minmax(0,1fr); gap:12px; }
.apc-forecast__export [data-video-format] { appearance:none; -webkit-appearance:none; width:100%; min-width:0; min-height:42px; border:1px solid var(--forecast-line); border-radius:10px; padding:9px 36px 9px 12px; font:inherit; font-size:.76rem; font-weight:650; color:var(--forecast-navy); background-color:var(--forecast-soft); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23123e50' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; box-shadow:0 1px 2px rgba(7,50,74,.04); cursor:pointer; }
.apc-forecast__export [data-video-format]:hover { border-color:#8eb7c6; }
.apc-forecast__export [data-video-format]:focus-visible { outline:2px solid var(--forecast-cyan); outline-offset:2px; }

.apc-forecast__cartography-canvas { display:block; width:100%; height:100%; pointer-events:none; }
.apc-forecast.is-map-fallback .apc-forecast__basemap { pointer-events:none; }

.apc-forecast__legend > .apc-forecast__scale-ticks { position:relative; height:17px; border:0; border-radius:0; }
.apc-forecast__scale-ticks small { position:absolute; top:3px; transform:translateX(-50%); font:500 9px system-ui; white-space:nowrap; }
.apc-forecast__scale-ticks small:first-child { transform:none; }
.apc-forecast__scale-ticks small:last-child { transform:translateX(-100%); }
.apc-forecast__legend.has-scale-ticks > span { grid-template-columns:1fr; text-align:center; margin-top:1px; }
.apc-forecast__legend [hidden] { display:none; }
.apc-forecast__field[hidden] { display:none; }
.apc-forecast__legend [data-wind-key] { display:block; width:100%; height:34px; margin-top:3px; }
.apc-forecast__legend [data-wind-key][hidden] { display:none; }

/* Local city labels and markers stay above the map, without intercepting map gestures. */
.apc-forecast__places-canvas { position:absolute; inset:0; z-index:6; width:100%; height:100%; pointer-events:none; }
.apc-forecast__markers { position:absolute; inset:0; z-index:8; pointer-events:none; }
.apc-forecast__markers .apc-forecast__pin { position:absolute; display:block; width:26px; height:32px; padding:0; border:0; background:transparent; transform:translate(-50%,-100%); pointer-events:auto; filter:drop-shadow(0 1px 2px #243e5266); }
.apc-forecast__pin:focus-visible { outline:2px solid #07324a; outline-offset:3px; border-radius:8px; }
.apc-forecast__rain { position:absolute; inset:0; z-index:4; width:100%; height:100%; pointer-events:none; }
.apc-forecast__map-options-menu .apc-forecast__marker-open { display:inline-flex; align-items:center; gap:5px; margin-left:auto; padding:5px 8px; border:1px solid #bfd5df; border-radius:7px; background:#edf6f8; color:var(--forecast-navy); font-size:.69rem; font-weight:650; }
.apc-forecast__rain-control select { width:auto; max-width:130px; padding:3px 22px 3px 6px; border:1px solid var(--forecast-line); border-radius:6px; background:#fff; color:var(--forecast-navy); font-size:.65rem; }
.apc-forecast__geo-dialog { position:fixed; width:min(540px,calc(100vw - 24px)); max-height:85dvh; padding:0; border:0; border-radius:17px; color:var(--forecast-ink); background:#fff; box-shadow:0 20px 70px #052b404f; }
.apc-forecast__geo-dialog::backdrop { background:#03273780; }
.apc-forecast__geo-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:15px 20px; color:#fff; background:var(--forecast-navy); }
.apc-forecast__geo-head strong { font-size:1.12rem; }
.apc-forecast__geo-head button { color:#fff; background:transparent; border:1px solid #ffffff70; border-radius:8px; padding:0 8px; font-size:1.5rem; }
.apc-forecast__geo-body { padding:18px 20px; }
.apc-forecast__geo-body label { display:grid; gap:5px; font-size:.73rem; font-weight:650; }
.apc-forecast__geo-body input { width:100%; min-width:0; padding:9px 11px; color:var(--forecast-navy); background:#f4f8fa; border:1px solid #c5d9e2; border-radius:8px; font-size:.8rem; }
.apc-forecast__geo-body input:focus-visible, .apc-forecast__point-series select:focus-visible { outline:2px solid #3bb7c5; outline-offset:2px; }
.apc-forecast__geo-body form { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:15px; border-top:1px solid var(--forecast-line); margin-top:12px; }
.apc-forecast__geo-body .apc-forecast__marker-name { grid-column:1/-1; }
.apc-forecast__geo-body [type="submit"] { grid-column:1/-1; padding:9px 14px; color:#fff; background:var(--forecast-orange); border:0; border-radius:8px; font-size:.79rem; font-weight:750; }
.apc-forecast__search-results { margin-top:7px; max-height:190px; overflow:auto; font-size:.76rem; }
.apc-forecast__search-results button { display:block; width:100%; padding:8px; text-align:left; border:0; border-bottom:1px solid #e7eff3; color:var(--forecast-navy); background:#fff; font-size:.76rem; }
.apc-forecast__search-results button:hover, .apc-forecast__search-results button:focus-visible { background:#e6f3f6; }
.apc-forecast__geo-body [data-marker-status] { min-height:1em; margin:10px 0; color:#526f7b; font-size:.72rem; }
.apc-forecast__marker-list { max-height:155px; overflow:auto; }
.apc-forecast__marker-list > div { display:flex; border-bottom:1px solid #e1ebef; }
.apc-forecast__marker-list button { padding:7px 8px; border:0; background:transparent; color:var(--forecast-navy); font-size:.77rem; }
.apc-forecast__marker-list button:first-child { flex:1; text-align:left; }
.apc-forecast__marker-list button:disabled { opacity:.45; }
.apc-forecast__marker-list button:last-child { color:#ad4932; font-size:1.1rem; }
.apc-forecast__point { transform:none; width:360px; max-width:calc(100% - 20px); padding:12px; overflow:auto; touch-action:pan-y; user-select:text; }
.apc-forecast__point > small, .apc-forecast__point > strong { padding-right:22px; }
.apc-forecast__point-series { margin-top:9px; border-top:1px solid #dce8ee; padding-top:8px; }
.apc-forecast__point-series label { display:flex; align-items:center; gap:6px; font-size:10px; color:#3b6272; }
.apc-forecast__point-series select { width:100%; min-width:0; flex:1; padding:5px 19px 5px 7px; color:#0b4057; border:1px solid #c7dce4; border-radius:7px; background:#f4f8fa; font-size:11px; }
.apc-forecast__point-series canvas { display:block; width:100%; height:auto; margin-top:4px; outline-offset:1px; }
.apc-forecast__point-series .apc-forecast__series-readout { min-height:16px; color:#10445b; font-size:10px; font-weight:600; }
.apc-forecast__point-series > small { display:block; font-size:10px; color:#5c7480; }
.apc-forecast__point .apc-forecast__point-series button { position:static; width:auto; height:auto; margin-top:6px; padding:4px 8px; font-size:10px; color:#11546a; background:#e8f3f6; border:1px solid #bdd6df; border-radius:6px; }

/* Fullscreen distributes actual available height; navigation never sits below a fixed-height map. */
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) { display:flex; flex-direction:column; height:100dvh; overflow:auto; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head { flex:none; align-items:center; padding:9px 16px; gap:15px; font-family: var(--apc-dashboard-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head h2 { margin:0; font-size: var(--apc-dashboard-title-compact-size, 20px); }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head em,
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head p { display:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run { display:block; min-width:0; border:0; padding:0; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run small,
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run > span { display:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run select { margin:0; max-width:40vw; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__workspace { height:auto; flex:1; min-height:0; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-column { height:100%; display:flex; flex-direction:column; min-height:0; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map { flex:1 1 0px; height:auto; min-height:100px; max-height:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__toolbar { flex:none; min-height:48px; padding-block:5px; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-options-menu { flex:none; padding-block:1px; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-info { flex:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__timeline { flex:none; padding:7px 15px 8px; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__valid { margin-bottom:5px; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__foot { display:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__foot p:last-child { display:none; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__layers { display:flex; flex-direction:column; min-height:0; overflow:hidden; }
.apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__layer-list { flex:1; min-height:0; max-height:none; }
@media(max-height:600px) {
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head { display:none; font-family: var(--apc-dashboard-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map { min-height:60px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__foot { grid-template-columns:1fr auto; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__toolbar { flex-wrap:nowrap; overflow-x:auto; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__model { flex:0 0 170px; min-width:170px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__model select { min-width:110px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__level { flex:none; width:auto; order:initial; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__layer-trigger { flex:0 0 135px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-options-menu { flex-wrap:nowrap; overflow-x:auto; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-options-menu > * { flex-shrink:0; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__playback-settings { flex-wrap:nowrap; overflow-x:auto; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__playback-settings label { flex-shrink:0; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__foot p { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
}

.apc-forecast .apc-forecast__pin-label{position:absolute;left:23px;top:-22px;min-width:70px;max-width:235px;padding:4px 6px;border-radius:3px;background:rgba(255,255,255,.94);color:#163c4d;text-align:left;white-space:normal;pointer-events:none;box-shadow:0 1px 3px #173b4a20}
.apc-forecast .apc-forecast__pin-label[hidden]{display:none}
.apc-forecast .apc-forecast__pin-label.is-left{left:auto;right:22px}
.apc-forecast .apc-forecast__pin-label.is-below{top:32px}
.apc-forecast .apc-forecast__pin-label strong{display:block;font:600 11px/14px system-ui,sans-serif;white-space:nowrap}
.apc-forecast .apc-forecast__pin-label small{display:block;color:#064e62;font:600 10px/14px system-ui,sans-serif;white-space:nowrap}

.apc-forecast__legend.has-scale-ticks { width:min(280px, calc(100% - 90px)); }

/* Compact controls overlay the map so opening them does not resize its viewport. */
.apc-forecast__map-options { flex:none; z-index:30; }
.apc-forecast__map-options-toggle { display:none; }
.apc-forecast__display-settings { position:relative; flex:none; background:#fff; border-top:1px solid var(--forecast-line); }
.apc-forecast__display-settings .apc-forecast__playback-settings { margin:0; padding:8px 22px; gap:8px 20px; align-items:center; font-size:11px; }
.apc-forecast.is-fullscreen-fallback { top:var(--forecast-viewport-top,0px); bottom:auto; height:var(--forecast-viewport-height,100dvh); margin:0; }
@media (max-width:680px), (max-height:500px) {
  .apc-forecast__map-options-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;min-height:36px;padding:7px 14px;border:0;border-block:1px solid var(--forecast-line);background:#f7fafb;color:var(--forecast-navy);font:650 12px/1.4 var(--apc-dashboard-font,system-ui,sans-serif);cursor:pointer}
  .apc-forecast__map-options-toggle:focus-visible{outline:2px solid var(--forecast-cyan);outline-offset:-3px}
  .apc-forecast .apc-forecast__map-options-menu { position:absolute; inset:100% 0 auto; z-index:35; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:5px 12px; max-height:50dvh; padding:10px 14px; overflow:auto; box-shadow:0 7px 15px #052b402b; border:1px solid var(--forecast-line); border-top:0; border-radius:0 0 10px 10px; background:#fff; }
  .apc-forecast .apc-forecast__map-options-menu[hidden] { display:none; }
  .apc-forecast__map-options-menu > strong { display:none; }
  .apc-forecast__map-options-menu label { min-height:32px; padding:2px 0; font-size:11px; white-space:normal; }
  .apc-forecast__map-options-menu input { flex-shrink:0; }
  .apc-forecast__map-options-menu .apc-forecast__marker-open { margin:0; min-height:32px; justify-content:center; }
  .apc-forecast__display-settings .apc-forecast__playback-settings { flex-wrap:nowrap; overflow-x:auto; padding:8px 12px; }
  .apc-forecast__playback-settings label { flex-shrink:0; white-space:nowrap; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) { box-sizing:border-box; overflow:hidden; padding-bottom:env(safe-area-inset-bottom,0px); }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head { display:none; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__resolution { display:none; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__product-caption { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:3px 0; font-size:11px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__foot { grid-template-columns:1fr; gap:10px; padding:12px 14px; font-size:11px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__playback-settings { flex-wrap:nowrap; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__map-options-menu { padding:10px 14px; }
}
@media (max-height:500px) {
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__timeline { display:grid; grid-template-columns:minmax(170px,240px) minmax(0,1fr); align-items:center; gap:8px; padding:6px 12px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__valid { margin:0; flex-wrap:wrap; gap:2px 6px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__valid small { display:none; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__valid strong { font-size:12px; }
  .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__ticks { display:none; }
}
@media(max-width:680px){:root{--apc-dashboard-card-radius:16px;--apc-dashboard-header-height:260px}}

/* Complete run timestamps and a reserved, unobtrusive refresh notice. */
.apc-forecast .apc-forecast__run {flex:0 0 auto;min-width:260px;max-width:100%;}
.apc-forecast .apc-forecast__run select {width:270px;max-width:100%;min-width:0;padding-right:30px;}
.apc-forecast .apc-forecast__new-run {display:block;width:100%;max-width:290px;margin:5px 0 0 auto;padding:4px 8px;border:1px solid #72d6d2;border-radius:6px;background:#126475;color:#fff;font:inherit;font-size:11px;line-height:1.4;text-align:left;cursor:pointer;touch-action:manipulation;}
.apc-forecast .apc-forecast__new-run[hidden] {display:none!important;}
.apc-data-refresh-status {font:inherit;font-size:11px;line-height:1.6;min-height:1.6em;color:inherit;opacity:.8;}
.apc-forecast__foot [data-refresh-status] {margin:0;}
@media(max-width:680px) {
 .apc-forecast .apc-forecast__head {flex-wrap:wrap;gap:10px;}
 .apc-forecast .apc-forecast__run {display:block;width:100%;min-width:0;max-width:none;padding:0;border:0;text-align:left;}
 .apc-forecast .apc-forecast__run label {display:flex;gap:10px;align-items:center;justify-content:space-between;}
 .apc-forecast .apc-forecast__run select {font-size:16px;width:270px;max-width:100%;height:38px;margin:0;}
 .apc-forecast .apc-forecast__run > span {font-size:10px;}
 .apc-forecast .apc-forecast__new-run {margin-left:0;max-width:none;}
 .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__head {gap:4px;padding:5px 12px;}
 .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run {width:100%;}
 .apc-forecast:is(:fullscreen,.is-fullscreen,.is-fullscreen-fallback) .apc-forecast__run select {width:100%;max-width:100%;height:32px;}
}

@media(max-width:680px){
 .apc-forecast .apc-forecast__run label{display:block;}
 .apc-forecast .apc-forecast__run select{display:block;width:100%;max-width:100%;}
}
@media(hover:hover) and (pointer:fine){
.apc-forecast__legend,.apc-nowcast__legend-panel{opacity:.24;transition:opacity .18s;pointer-events:auto}
.apc-forecast__legend:hover,.apc-forecast__legend:focus-visible,.apc-nowcast__legend-panel:hover,.apc-nowcast__legend-panel:focus-within{opacity:1}
.apc-forecast__zoom,.apc-nowcast__zoom{opacity:0;pointer-events:none;transition:opacity .18s}
.apc-forecast__map:hover>.apc-forecast__zoom,.apc-forecast__map:focus-within>.apc-forecast__zoom,.apc-nowcast__map:hover>.apc-nowcast__zoom,.apc-nowcast__map:focus-within>.apc-nowcast__zoom{opacity:1;pointer-events:auto}
}

/* Shared product navigation: auto-hide retains a visible pin control. */
.apc-forecast.has-map-sidebar>.apc-forecast__workspace{position:relative;--apc-sidebar-width:300px}
.apc-forecast .apc-forecast__layers-head .apc-map-sidebar-toggle{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:5px;border-radius:7px}
.apc-map-sidebar-toggle svg{width:22px;height:22px}.apc-map-sidebar-toggle[aria-pressed=false] svg{transform:rotate(180deg)}
.apc-forecast.has-map-sidebar.is-sidebar-auto>.apc-forecast__workspace{display:grid;grid-template-columns:44px minmax(0,1fr)}
.apc-forecast.has-map-sidebar.is-sidebar-auto>.apc-forecast__workspace>.apc-forecast__map-column{grid-column:2}
.apc-forecast.has-map-sidebar.is-sidebar-auto>.apc-forecast__workspace>[data-map-sidebar]{display:flex;flex-direction:column;position:absolute;top:0;bottom:0;left:0;width:var(--apc-sidebar-width);z-index:60;transform:translateX(calc(-100% + 44px));transition:transform .18s;overflow:hidden}
.apc-forecast.has-map-sidebar.is-sidebar-auto>[class] [data-map-sidebar]>.apc-forecast__layers-head{padding:10px 6px 10px 12px}
.apc-forecast.has-map-sidebar.is-sidebar-peek>.apc-forecast__workspace>[data-map-sidebar]{transform:translateX(0);box-shadow:8px 0 22px #173b4a33}
.apc-forecast.has-map-sidebar [data-map-sidebar]>.apc-forecast__layer-list{min-height:0;flex:1}
.apc-forecast.has-map-sidebar.is-sidebar-auto:not(.is-sidebar-peek) [data-map-sidebar]>*:not(.apc-forecast__layers-head),.apc-forecast.has-map-sidebar.is-sidebar-auto:not(.is-sidebar-peek) [data-map-sidebar]>.apc-forecast__layers-head>div{visibility:hidden}
.apc-forecast__toolbar-actions>.apc-forecast__marker-open{font-size:0}.apc-forecast__toolbar-actions>.apc-forecast__marker-open svg{width:21px;height:21px}
@media(max-width:760px){
 .apc-forecast.has-map-sidebar>.apc-forecast__workspace{display:grid;grid-template-columns:44px minmax(0,1fr);--apc-sidebar-width:min(300px,85vw)}
 .apc-forecast.has-map-sidebar>.apc-forecast__workspace>.apc-forecast__map-column{grid-column:2}
 .apc-forecast.has-map-sidebar>.apc-forecast__workspace>[data-map-sidebar]{display:flex;flex-direction:column;position:absolute;top:0;bottom:0;left:0;z-index:60;width:var(--apc-sidebar-width);transform:translateX(calc(-100% + 44px));overflow:hidden}
 .apc-forecast.has-map-sidebar.is-sidebar-peek>.apc-forecast__workspace>[data-map-sidebar],.apc-forecast.has-map-sidebar:not(.is-sidebar-auto)>.apc-forecast__workspace>[data-map-sidebar]{transform:translateX(0)}
 .apc-forecast.has-map-sidebar [data-map-sidebar]>.apc-forecast__layers-head{padding:10px 6px 10px 12px}
 .apc-forecast.has-map-sidebar.is-sidebar-auto:not(.is-sidebar-peek) [data-map-sidebar]>*:not(.apc-forecast__layers-head),.apc-forecast.has-map-sidebar.is-sidebar-auto:not(.is-sidebar-peek) [data-map-sidebar]>.apc-forecast__layers-head>div{visibility:hidden}
 .apc-forecast.has-map-sidebar [data-layer-close],.apc-forecast.has-map-sidebar [data-layer-open],.apc-nowcast.has-map-sidebar [data-product-label]{display:none!important}
}

.apc-forecast__toolbar-actions>.apc-search-select{flex:0 1 210px;width:210px;max-width:min(210px,42vw)}
