.weather-tool-shell {
  display: grid;
  gap: 24px;
}

.weather-hero-panel,
.weather-panel {
  border: 1px solid rgba(131, 96, 50, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 239, 218, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 62%);
  box-shadow:
    0 18px 34px rgba(91, 63, 27, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(214, 181, 128, 0.12);
}

.weather-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  padding: 24px;
  overflow: hidden;
}

.weather-hero-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.weather-eyebrow,
.weather-panel-kicker,
.weather-pattern-kicker,
.weather-related-kicker,
.weather-read-kicker {
  margin: 0;
  color: #4f831d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-hero-copy h1 {
  margin: 0;
  color: #15100b;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.weather-lede {
  margin: 0;
  max-width: 58ch;
  color: #5d4a33;
  font-size: 1rem;
  line-height: 1.7;
}

.weather-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.weather-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.weather-button:hover {
  transform: translateY(-1px);
}

.weather-button-primary {
  background: linear-gradient(180deg, #8bc53f, #74ab28);
  color: #fff9e7;
  box-shadow: 0 10px 18px rgba(91, 131, 32, 0.18);
}

.weather-button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #6b4320;
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.12);
}

.weather-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.weather-kpi-card,
.weather-summary-card,
.weather-reserve-card {
  min-height: 128px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(131, 96, 50, 0.08);
  background: #fff;
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.weather-kpi-card span,
.weather-summary-card span,
.weather-reserve-card span {
  display: block;
  margin-bottom: 8px;
  color: #6d573d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weather-kpi-card strong,
.weather-summary-card strong,
.weather-reserve-card strong {
  display: block;
  margin-bottom: 8px;
  color: #17110b;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.weather-kpi-card p,
.weather-summary-card p,
.weather-reserve-card p,
.weather-mode-note p,
.weather-read-card p,
.weather-guide-card p,
.weather-rule-card p,
.weather-tv-figure figcaption,
.weather-feed-card p,
.weather-related-copy p,
.weather-compare-banner span,
.weather-reserve-note p {
  margin: 0;
  color: #5d4a33;
  line-height: 1.55;
}

.weather-hero-media {
  display: grid;
  gap: 14px;
  align-content: start;
}

.weather-shot-card {
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.weather-shot-card img,
.weather-related-media img,
.weather-tv-figure img {
  width: 100%;
  border-radius: 18px;
  image-rendering: pixelated;
  box-shadow: 0 10px 18px rgba(63, 43, 18, 0.12);
}

.weather-shot-card figcaption,
.weather-tv-figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
}

.weather-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weather-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.12);
  color: #69411d;
  font-weight: 800;
  text-decoration: none;
}

.weather-panel {
  padding: 22px;
}

.weather-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.weather-panel-head h2,
.weather-pattern-head h3,
.weather-guide-card h3,
.weather-rule-card h3,
.weather-feed-card h3,
.weather-related-copy h3,
.weather-read-card h3 {
  margin: 0;
  color: #17110b;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.weather-panel-head h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  line-height: 0.95;
}

.weather-panel-head > p,
.weather-pattern-head > p {
  margin: 0;
  max-width: 55ch;
  color: #5d4a33;
  line-height: 1.6;
}

.weather-board-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
}

.weather-control-panel,
.weather-board-panel,
.weather-read-card,
.weather-mode-note,
.weather-compare-banner,
.weather-related-card,
.weather-reserve-note,
.weather-feed-card,
.weather-guide-card,
.weather-rule-card,
.weather-tv-figure {
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.weather-control-panel,
.weather-board-panel,
.weather-tv-figure {
  padding: 16px;
}

.weather-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.weather-field > span,
.weather-field label,
.weather-field select,
.weather-field input {
  font-size: 0.96rem;
}

.weather-field > span {
  color: #45311f;
  font-weight: 800;
}

.weather-field select,
.weather-field input {
  width: 100%;
  padding: 0.84rem 0.95rem;
  border: 1px solid rgba(131, 96, 50, 0.18);
  border-radius: 16px;
  background: #fffdf7;
  color: #20160e;
  font-family: "Nunito Sans", sans-serif;
}

.weather-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.weather-segmented button {
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(131, 96, 50, 0.14);
  border-radius: 999px;
  background: #fffdf6;
  color: #5d4a33;
  font-family: "Baloo 2", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.weather-segmented button.is-active {
  background: linear-gradient(180deg, #8bc53f, #74ab28);
  color: #fff9e7;
  box-shadow: 0 10px 18px rgba(91, 131, 32, 0.18);
}

.weather-mode-note {
  padding: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(237, 245, 230, 0.98), rgba(255, 255, 255, 0.98));
}

.weather-mode-note strong,
.weather-compare-banner strong,
.weather-reserve-note strong {
  display: block;
  margin-bottom: 6px;
  color: #17110b;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.12rem;
  line-height: 1;
  text-transform: uppercase;
}

.weather-summary-grid,
.weather-read-grid,
.weather-reserve-grid,
.weather-guide-grid,
.weather-rule-grid {
  display: grid;
  gap: 12px;
}

.weather-summary-grid,
.weather-read-grid,
.weather-guide-grid,
.weather-rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weather-reserve-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weather-rows {
  display: grid;
  gap: 12px;
}

.weather-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
}

.weather-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.weather-row-dot,
.weather-guide-dot {
  display: inline-block;
  border-radius: 999px;
}

.weather-row-dot {
  width: 14px;
  height: 14px;
}

.weather-guide-dot {
  width: 52px;
  height: 16px;
}

.weather-row-dot-clear,
.weather-guide-dot-clear {
  background: linear-gradient(180deg, #f7d355, #e0a931);
}

.weather-row-dot-rain,
.weather-guide-dot-rain {
  background: linear-gradient(180deg, #82afd8, #4e7bad);
}

.weather-row-dot-snow,
.weather-guide-dot-snow {
  background: linear-gradient(180deg, #d9ecff, #8bb9df);
}

.weather-row-dot-wind,
.weather-guide-dot-wind {
  background: linear-gradient(180deg, #e7dfd5, #b79a75);
}

.weather-row-bar {
  height: 18px;
  border-radius: 999px;
  background: #f1ede5;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.12);
}

.weather-row-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #84bc2f, #d6b246);
}

.weather-row-rain .weather-row-bar span {
  background: linear-gradient(90deg, #6b93bf, #8cc0ff);
}

.weather-row-snow .weather-row-bar span {
  background: linear-gradient(90deg, #9ec6e6, #e8f4ff);
}

.weather-row-wind .weather-row-bar span {
  background: linear-gradient(90deg, #b79263, #d8c5b0);
}

.weather-row-value {
  text-align: right;
  font-weight: 800;
}

.weather-pattern-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
}

.weather-pattern-head h3 {
  font-size: 1.35rem;
  line-height: 1;
}

.weather-pattern-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.weather-pattern-tile {
  min-height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(131, 96, 50, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.weather-pattern-tile.is-clear {
  background: linear-gradient(180deg, rgba(255, 246, 209, 0.98), rgba(255, 255, 255, 0.96));
  color: #835818;
}

.weather-pattern-tile.is-rain {
  background: linear-gradient(180deg, rgba(216, 233, 255, 0.98), rgba(255, 255, 255, 0.96));
  color: #305983;
}

.weather-pattern-tile.is-snow {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.96));
  color: #4a7396;
}

.weather-pattern-tile.is-wind {
  background: linear-gradient(180deg, rgba(235, 226, 214, 0.98), rgba(255, 255, 255, 0.96));
  color: #6a553e;
}

.weather-read-card,
.weather-related-card,
.weather-compare-banner,
.weather-guide-card,
.weather-rule-card {
  padding: 16px;
}

.weather-read-card h3 {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

.weather-compare-banner {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.weather-related-grid,
.weather-feed-strip,
.weather-tv-layout,
.weather-checklist-layout,
.weather-reserve-layout {
  display: grid;
  gap: 14px;
}

.weather-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.weather-related-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.weather-related-feed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(253, 248, 232, 0.98), rgba(255, 255, 255, 0.98));
}

.weather-related-feed img,
.weather-feed-card img {
  width: 82px;
  height: 82px;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 12px rgba(91, 63, 27, 0.14));
}

.weather-related-copy {
  display: grid;
  gap: 6px;
}

.weather-reserve-layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.weather-reserve-results {
  display: grid;
  gap: 14px;
}

.weather-reserve-note {
  padding: 16px;
  background: linear-gradient(180deg, rgba(242, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.weather-feed-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weather-feed-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.weather-feed-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  line-height: 1;
}

.weather-tv-layout {
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
}

.weather-guide-card {
  display: grid;
  gap: 10px;
}

.weather-guide-card h3,
.weather-rule-card h3 {
  font-size: 1.2rem;
  line-height: 1;
}

.weather-checklist-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.weather-checklist-list {
  margin: 0;
  padding: 18px 18px 18px 42px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 239, 218, 0.96));
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: #34261a;
}

.weather-checklist-list li + li {
  margin-top: 10px;
}

.weather-load-error {
  margin: 0;
  color: #7b2f18;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .weather-hero-panel,
  .weather-board-grid,
  .weather-reserve-layout,
  .weather-tv-layout,
  .weather-checklist-layout {
    grid-template-columns: 1fr;
  }

  .weather-kpi-grid,
  .weather-reserve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .weather-kpi-grid,
  .weather-summary-grid,
  .weather-read-grid,
  .weather-guide-grid,
  .weather-rule-grid,
  .weather-related-grid,
  .weather-feed-strip {
    grid-template-columns: 1fr;
  }

  .weather-related-card {
    grid-template-columns: 1fr;
  }

  .weather-pattern-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .weather-row {
    grid-template-columns: 1fr;
  }

  .weather-row-value {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .weather-hero-panel,
  .weather-panel {
    padding: 16px;
  }

  .weather-kpi-grid,
  .weather-reserve-grid {
    grid-template-columns: 1fr;
  }

  .weather-pattern-grid {
    gap: 6px;
  }

  .weather-pattern-tile {
    min-height: 50px;
    font-size: 0.72rem;
  }

  .weather-feed-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .weather-feed-card img,
  .weather-related-feed img {
    width: 64px;
    height: 64px;
  }
}
