.weather-page {
  font: inherit;
  color: inherit;
}
.weather-heading {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: var(--dark);
  color: #fff;
}
.weather-heading .eyebrow { color: #e2efd9; }
.weather-heading h1 { font-size: clamp(2rem, 6vw, 4rem); }
.weather-heading p:last-child { color: #e0ece4; }
.weather-layout { padding-block: 1.25rem 3rem; }
.weather-nav { gap: .5rem; margin-bottom: 1.1rem; }
.weather-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .8rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: .5rem;
  font-size: .9375rem;
}
.weather-nav [aria-current="page"] { background: var(--dark); color: #fff; }
.weather-report { min-width: 0; margin-top: 1rem; }
.weather-report p + p { margin-top: .75rem; }
.weather-report font { color: inherit; }
.weather-report .credits {
  margin-top: 1rem;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  letter-spacing: normal;
}
.weather-table {
  overflow-x: auto;
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
}
.weather-table:focus-visible { outline: 3px solid #bf721c; outline-offset: 3px; }
.weather-table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.weather-records table { min-width: 0; }
.weather-records td, .weather-records th { overflow-wrap: anywhere; }
.weather-table caption { padding: .75rem 1rem; text-align: left; font-weight: 750; }
.weather-table td, .weather-table th { padding: .58rem .85rem; border-bottom: 1px solid var(--line); }
.weather-table tr:nth-child(even) { background: #f1f5f2; }
.weather-table td[class^="tableseparator_"] { background: #dce9e2; font-weight: 750; }
.weather-table tr:last-child td { border-bottom: 0; }
.month-picker, .trend-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
  gap: .45rem;
  margin-block: 1rem;
}
.month-picker input, .trend-picker button {
  min-height: 44px;
  font: inherit;
  color: var(--dark);
  background: #f0f5f0;
  border: 1px solid #b9cdc0;
  border-radius: .45rem;
  cursor: pointer;
}
.month-picker input:hover, .trend-picker button:hover { background: #dce9e2; }
.month-picker input:focus-visible, .trend-picker button:focus-visible {
  outline: 3px solid #bf721c;
  outline-offset: 2px;
}
.trend-picker { grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); }
.trend-picker button { padding: .35rem; }
.trend-picker img, .trend-figure img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.trend-figure { margin-top: 1rem; }
.gauge-page .weather-report .content { margin: 1rem 0 0; padding: 0; }
.gauge-page .weather-report .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: .75rem; }
.gauge-page .weather-report .row:empty { display: none; }
.gauge-page .weather-report .gauge-status { align-items: center; }
.gauge-status canvas { max-width: 100%; }
.gauge-page .gauge {
  flex: 0 1 15rem;
  max-width: 100%;
  background: #f0f5f0;
  border-radius: .65rem;
  padding: .7rem .35rem;
}
.gauge-page .gauge canvas { max-width: 100%; }
.gauge-page .weather-report label, .gauge-page .cellRight { font-size: .875rem; }
.gauge-page .weather-report label { display: inline-block; height: auto; padding-block: .35rem; }
.gauge-page .unitsTable { min-width: 0; padding: .45rem; background: #f0f5f0; box-shadow: none; }
.gauge-page .unitsTable label { margin-right: .2rem; }
.ddimgtooltip { max-width: calc(100vw - 2rem); }
.weather-heading .weather-coordinates {
  margin-top: .45rem;
  color: #c7dbcf;
  font-size: .875rem;
}

@media (max-width: 40rem) {
  .weather-records td, .weather-records th {
    padding: .55rem .45rem;
    font-size: .875rem;
    vertical-align: top;
  }
  .weather-records caption { padding-inline: .45rem; }
}
