.forecasts-page .forecast-compare,
.forecasts-page .forecast-card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--panel);
}
.forecasts-page .forecast-compare { padding: clamp(16px, 3vw, 30px); }
.forecasts-page .forecast-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.forecasts-page .forecast-top h2 { font: 400 clamp(28px, 4vw, 37px)/1.1 var(--serif); }
.forecasts-page .forecast-top button,
.forecasts-page .forecast-top select,
.forecasts-page .forecast-choices select {
  border: 1px solid var(--rule);
  border-radius: 5px;
  background-color: #f7f9f4;
}
.forecasts-page .forecast-top button { padding: 8px 12px; }
.forecasts-page .forecast-top button:hover { background-color: #eaf0e5; }
.forecasts-page .forecast-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.forecasts-page .forecast-choices label,
.forecasts-page .forecast-filter,
.forecasts-page .forecast-manual { color: var(--text); font-size: 14px; font-weight: 600; }
.forecasts-page select {
  appearance: none;
  min-height: 42px;
  padding: 8px 32px 8px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23445c49' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--ink);
}
.forecasts-page .forecast-choices select,
.forecasts-page .forecast-manual input { display: block; width: 100%; margin-top: 4px; }
.forecasts-page .forecast-manual input { border: 1px solid var(--rule); border-radius: 4px; padding: 8px; }
.forecasts-page .forecast-share { color: var(--green); font-size: 14px; }
.forecasts-page .forecast-share:not(:empty) { margin: 10px 0; }
.forecasts-page .forecast-scroll { margin-top: 18px; overflow-x: auto; }
.forecasts-page table { width: 100%; min-width: 540px; table-layout: fixed; border-collapse: collapse; font-size: 15px; }
.forecasts-page table th,
.forecasts-page table td { padding: 11px 13px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.forecasts-page table tr { border-bottom: 1px solid var(--rule); }
.forecasts-page table th:first-child { width: 19%; }
.forecasts-page table thead { background: #eaf1e5; }
.forecasts-page table tbody th { font-size: 14px; font-weight: 600; color: var(--text); }
.forecasts-page table a,
.forecasts-page .forecast-card a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.forecasts-page [data-key="sources"] a,
.forecasts-page [data-field="sources"] a { display: block; }
.forecasts-page [data-key="sources"] a + a,
.forecasts-page [data-field="sources"] a + a { margin-top: 5px; }
.forecasts-page .forecast-reading { margin: 16px 0 0; max-width: 78ch; color: var(--text); }
.forecasts-page .forecast-library { margin: 35px 0 0; }
.forecasts-page .forecast-filter { display: flex; align-items: center; gap: 7px; }
.forecasts-page .forecast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 15px; }
.forecasts-page .forecast-card { padding: clamp(17px, 2.3vw, 25px); }
.forecasts-page .forecast-card h3 { margin: 4px 0 13px; font: 400 clamp(27px, 3vw, 33px)/1.1 var(--serif); }
.forecasts-page .forecast-meta { color: var(--green); font-size: 13px; font-weight: 600; }
.forecasts-page .forecast-card dl {
  display: grid;
  grid-template-columns: minmax(80px, 26%) 1fr;
  gap: 6px 13px;
  margin: 0 0 16px;
  padding-block: 13px;
  border-block: 1px solid var(--rule);
  font-size: 14px;
}
.forecasts-page .forecast-card dt,
.forecasts-page .forecast-card h4 { font-size: 14px; font-weight: 600; }
.forecasts-page .forecast-card dd { margin: 0; color: var(--text); }
.forecasts-page .forecast-card p { margin-top: 8px; }
.forecasts-page .forecast-citations,
.forecasts-page .forecast-related { margin-top: 13px; font-size: 14px; }
@media (max-width: 700px) {
  .forecasts-page .forecast-grid { grid-template-columns: 1fr; }
}
@media (max-width: 525px) {
  .forecasts-page .forecast-choices { grid-template-columns: 1fr; gap: 8px; }
  .forecasts-page .forecast-scroll { scrollbar-width: thin; }
}
