/* Existing forecast grid and card breakpoints are inherited from their homepage styles. */
.jdhome-advice[hidden],
[data-jdf-home] [hidden] { display: none; }
[data-jdf-home] {
  --jdhome-accent: var(--site-primary, var(--brand-500, #15778e));
  min-width: 0;
}
.jdhome-advice { margin: 8px 0 20px; }
.jdhome-advice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.jdhome-advice-header .station-voice-kicker { margin-bottom: 0; }
.jdhome-advice-icon {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 36px;
  width: 36px;
  height: 31px;
  border: 1px solid color-mix(in srgb, var(--brand, #15778e) 42%, var(--border, #dce5eb));
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand, #15778e) 10%, var(--card, #f8fafc));
}
.jdhome-advice-icon .jdhome-icon { width: 29px; height: 24px; }
.jdhome-advice-text { overflow-wrap: anywhere; }
.jdhome-icon { display: block; width: 100%; height: 100%; max-width: 72px; max-height: 72px; }
.jdhome-titleline { display: flex; align-items: center; gap: 7px; }
[data-jdf-home] .jdhome-titleline .jdhome-title {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(.875rem, 4vw, 1.16rem) !important;
  line-height: 1.2;
}
.jdhome-brand {
  display: block;
  flex: 0 0 27px;
  height: 23px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}
.jdhome-brand-image {
  display: block;
  width: 38px;
  height: 38px;
  max-width: none;
  transform: translate(-5.5px, -4.7px);
}
.jdhome-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 28px;
  margin-inline-start: 2px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--jdhome-accent) 35%, var(--border, #b3c9cf));
  border-radius: 999px;
  background: color-mix(in srgb, var(--jdhome-accent) 10%, var(--card, #fff));
  color: var(--fg, #192e39);
  font-size: .77rem;
  font-weight: 690;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}
.jdhome-link:hover, .jdhome-link:focus-visible {
  background: color-mix(in srgb, var(--jdhome-accent) 19%, var(--card, #fff));
}
.jdhome-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.jdhome-time {
  display: block;
  margin: 5px 0 10px;
  font-size: .8rem;
  color: var(--muted, #52616b);
  font-variant-numeric: tabular-nums;
}
.jdhome-status { margin: 5px 0 10px; font-size: .85rem; }
[data-jdf-home] .forecast-card,
[data-jdf-home] .wx-card {
  min-height: 0;
  padding: 10px 11px;
}
[data-jdf-home] .fc-head,
[data-jdf-home] .wx-card-topline { min-height: 0; }
[data-jdf-home] .fc-main,
[data-jdf-home] .wx-head {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}
[data-jdf-home] .fc-icon-stage,
[data-jdf-home] .wx-icon-stage {
  width: 45px;
  height: 45px;
  border-radius: 13px;
}
[data-jdf-home] .fc-icon-stage .jdhome-icon,
[data-jdf-home] .wx-icon-stage .jdhome-icon { width: 39px; height: 39px; }
[data-jdf-home] .fc-sky,
[data-jdf-home] .wx-desc { min-height: 0; overflow-wrap: anywhere; }
[data-jdf-home] .fc-temps,
[data-jdf-home] .wx-temps { margin-top: 5px; gap: 2px 6px; }
[data-jdf-home] .fc-metrics,
[data-jdf-home] .wx-rows { margin-top: 6px; gap: 4px; }
[data-jdf-home] .wx-temps strong { font-weight: 780; }
@media (min-width: 900px) and (max-width: 1060px) {
  [data-jdf-home="compact"] .fc-main { grid-template-columns: 40px minmax(0, 1fr); }
  [data-jdf-home="compact"] .fc-icon-stage { width: 39px; height: 39px; }
  [data-jdf-home="compact"] .fc-icon-stage .jdhome-icon { width: 34px; height: 34px; }
}
@media(max-width: 480px) {
  [data-jdf-home] .wx-temps { font-size: 13px; }
}
@media(max-width: 640px) {
  .jdhome-advice { margin-bottom: 18px; }
}
.jwi2{--wi-cloud:#f5fbff;--wi-cloud-low:#b5cbd7;--wi-edge:#7899aa;--wi-back:#9ab2c1;--wi-sun:#ffd96d;--wi-sun-low:#f5a831;--wi-rain:#2295c0;--wi-moon:#e4eefa;--wi-ice:#65b6cc;display:block;width:100%;height:100%;overflow:visible;color:var(--wi-rain);filter:drop-shadow(0 3px 2px #23485a0e)}
[data-theme=dark] .jwi2{--wi-cloud:#e1edf4;--wi-cloud-low:#8ca8bb;--wi-edge:#66899f;--wi-back:#718d9f;--wi-rain:#67c6e7;--wi-moon:#d1e3fa;--wi-ice:#9bdaeb}
.jwi2-cloud{fill:var(--wi-cloud-fill);stroke:var(--wi-edge);stroke-width:1.3;stroke-linejoin:round}.jwi2-back{fill:var(--wi-back);opacity:.7}.jwi2-disc{fill:var(--wi-sun-fill);stroke:#e7a841;stroke-width:1}.jwi2-rays{fill:none;stroke:var(--wi-sun-low);stroke-width:3;stroke-linecap:round;transform-box:view-box;transform-origin:64px 56px;animation:wi2-rays 80s linear infinite}.jwi2-lunar{fill:var(--wi-moon-fill);stroke:#9bb6d1;stroke-width:1}.jwi2-crater{fill:#91acc7;opacity:.22}.jwi2-star{fill:none;stroke:#aac0d8;stroke-width:1.5;stroke-linecap:round}.jwi2-drift{animation:wi2-cloud 10s ease-in-out infinite}.jwi2-drift-back{animation:wi2-cloud 14s ease-in-out infinite reverse}.jwi2-rain,.jwi2-drizzle{fill:none;stroke:var(--wi-rain);stroke-width:3.3;stroke-linecap:round}.jwi2-rain path,.jwi2-drizzle path{animation:wi2-rain 1.9s linear infinite;animation-delay:calc(var(--i)*-.47s)}.jwi2-drizzle{stroke-width:2.4;opacity:.8}.jwi2-drizzle path{animation-duration:2.8s}.jwi2-bolt{fill:#f5c34e;stroke:#dfaa3a;stroke-width:.7;animation:wi2-flash 9s linear infinite}.jwi2-flakes{fill:none;stroke:var(--wi-ice);stroke-width:1.8;stroke-linecap:round}.jwi2-flakes path{animation:wi2-snow 4.8s ease-in-out infinite;animation-delay:calc(var(--i)*-1.5s)}.jwi2-mist,.jwi2-flow{fill:none;stroke:var(--wi-edge);stroke-width:3;stroke-linecap:round}.jwi2-mist{animation:wi2-mist 9s ease-in-out infinite}.jwi2-flow{animation:wi2-mist 5s ease-in-out infinite}.jwi2-ice{stroke:var(--wi-ice);stroke-width:2;stroke-linecap:round}.jwi2-question{fill:none;stroke:var(--wi-edge);stroke-width:3;stroke-linecap:round}
@keyframes wi2-rays{to{transform:rotate(360deg)}}@keyframes wi2-cloud{50%{translate:2px -1px}}@keyframes wi2-rain{0%{translate:2px -3px;opacity:0}20%{opacity:1}80%{opacity:1}100%{translate:-2px 6px;opacity:0}}@keyframes wi2-snow{0%{translate:0 -2px;opacity:.35}50%{translate:2px 3px;opacity:1}100%{translate:-1px 7px;opacity:.25}}@keyframes wi2-flash{0%,85%,89%,100%{opacity:.65}86%,88%{opacity:1}}@keyframes wi2-mist{50%{translate:3px 0}}
.jwi2.jw-offscreen *,.jwi2.wi-static *,.wi2-paused .jwi2 *{animation-play-state:paused!important}.jwi2.wi-static *{animation:none!important}
@media(prefers-reduced-motion:reduce){.jwi2 *{animation:none!important;transition:none!important}}
