#location_text {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.18rem;
}

#location_desc_text,
#power_desc_text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.weather-section-card .card-body {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.weather-kpi-tile {
  border: 1px solid var(--line-soft);
  border-radius: 0.9rem;
  padding: 0.62rem 0.68rem;
  background: var(--surface-strong);
  min-height: 100%;
}

.weather-kpi-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.weather-kpi-value {
  margin-top: 0.2rem;
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.weather-inline-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.weather-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.weather-control-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.weather-control-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.weather-select {
  border: 1px solid var(--line-soft);
  border-radius: 0.55rem;
  background: var(--surface-strong);
  color: var(--text-main);
  font-size: 0.82rem;
  padding: 0.2rem 0.45rem;
}

.weather-table-wrap {
  overflow-x: auto;
}

.weather-table-wrap-no-scroll {
  overflow-x: hidden;
}

.weather-table {
  color: var(--text-main);
  margin-bottom: 0;
  width: 100%;
}

.weather-table th {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.76rem;
  border-color: var(--line-soft);
}

.weather-table td {
  font-size: 0.82rem;
  border-color: var(--line-soft);
  vertical-align: middle;
}

.weather-table th,
.weather-table td {
  padding: 0.5rem 0.68rem;
  white-space: nowrap;
}

.weather-table th:first-child,
.weather-table td:first-child {
  text-align: left;
  min-width: 220px;
  white-space: normal;
}

.weather-table th:not(:first-child),
.weather-table td:not(:first-child) {
  text-align: right;
  min-width: 88px;
  font-variant-numeric: tabular-nums;
}

#correlation_table {
  table-layout: fixed;
}

#correlation_table th,
#correlation_table td {
  padding: 0.42rem 0.4rem;
}

#correlation_table th:first-child,
#correlation_table td:first-child {
  min-width: 0;
  width: 54%;
  white-space: normal;
  line-height: 1.2;
}

#correlation_table th:not(:first-child),
#correlation_table td:not(:first-child) {
  min-width: 0;
  width: 15.333%;
}

#plot_trend_temp,
#plot_trend_humidity,
#plot_delta_temp,
#plot_delta_humidity,
#plot_weather_scatter {
  min-height: 320px;
}

@media (max-width: 576px) {
  #plot_trend_temp,
  #plot_trend_humidity,
  #plot_delta_temp,
  #plot_delta_humidity,
  #plot_weather_scatter {
    min-height: 270px;
  }
}
