.trend-grid {
  margin: 14px 0;
}

.chart-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trend-toggle {
  display: flex;
  padding: 3px;
  background: #eef2ed;
  border-radius: 9px;
}

.trend-toggle button {
  border: 0;
  padding: 7px 11px;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.trend-toggle button.active {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 4px #163b2d1f;
}

#forecastLegend[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .panel-title {
    display: block;
  }

  .chart-controls {
    justify-content: space-between;
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .chart-controls {
    justify-content: flex-end;
  }
}
