.pred .explore-intro { margin-bottom: 18px; }
.pred a { color: inherit; text-underline-offset: 3px; }
.explore-index .report-explore-nav.hub-nav,
.section-links, .hub-resources, .chart-tools, .card-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.explore-index .report-explore-nav.hub-nav { justify-content: space-between; }
.hub-nav .report-text-link { white-space: normal; }

.section-links a, .card-links a, .hub-resources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.section-links a { background: #ebeff3; border: 1px solid #d4dae4; border-radius: 3px; padding: 0 13px; }
.section-links a:hover, .pred button:hover { border-color: #161e59; background: #eef1f8; }
.forecast-summary {
  border-block: 1px solid #d4dae4;
  margin-top: 20px;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.forecast-summary p { margin: 0; }
.forecast-summary strong { font-size: 1.1em; }
.pred section { margin-top: 32px; }
.pred h2 { font: 30px/1.2 'Francois One', sans-serif; margin: 0 0 10px; }
.pred section > p { max-width: 760px; margin: 0 0 12px; line-height: 1.55; }

.cards, .essay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard, .essay-card { border: 1px solid #d4dae4; background: #fff; padding: 18px; min-width: 0; }
.pcard { scroll-margin-top: 16px; overflow-wrap: anywhere; }
.pcard:target { outline: 2px solid #df8200; outline-offset: 2px; }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; color: #56617c; }
.yspan, .chip { font-size: 13px; }
.badge { font-size: 12px; font-weight: bold; padding: 2px 7px; border-radius: 3px; }
.badge.hit { color: #20613d; background: #e8f4ed; }
.badge.partial { color: #72500b; background: #fff2d5; }
.badge.miss { color: #8d3023; background: #fbeee9; }
.badge.pending { background: #ebeff3; }
.pcard .permalink { font-size: 12px; padding: 10px 0; margin-left: auto; }
.pcard .txt { font-size: 18px; line-height: 1.43; margin: 4px 0 8px; }
.pcard .just { font-size: 16px; margin: 0; line-height: 1.45; }
.card-links { margin: 0; font-size: 14px; }

.controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.seg-btns { display: flex; gap: 4px; flex-wrap: wrap; }
.pred button, .pred select, .pred input {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  color: inherit;
  font: inherit;
  background: #fff;
  border: 1px solid #bec7d8;
  border-radius: 3px;
  padding: 6px 10px;
}
.pred button { cursor: pointer; }
.pred button[aria-pressed="true"] { background: #161e59; color: #fff; border-color: #161e59; }
.pred button:disabled { opacity: .65; cursor: wait; }
.pred :focus-visible { outline: 3px solid #df8200; outline-offset: 2px; }
.pred [hidden] { display: none; }
#count { color: #56617c; }

.vote { border-top: 1px solid #dce0e7; padding-top: 10px; }
.vq { font-size: 14px; font-weight: bold; margin-bottom: 6px; }
.vbtns, .nrow { display: flex; flex-wrap: wrap; gap: 8px; }
.vb, .nrow input { flex: 1 1 110px; min-width: 0; }
.vb[data-v="up"] { color: #20613d; }
.vb[data-v="down"], .vote-error { color: #8d3023; }
.vgauge { display: flex; align-items: center; gap: 12px; }
.vgauge svg { flex: none; }
.vpct { font: 32px/1 'Francois One', sans-serif; }
.vlab, .vmeta, .nlab, .vote-error, .notified { font-size: 14px; }
.gauge-bg { stroke: #dce0e7; }
.gauge-fg { transition: stroke-dashoffset 1s ease; }
.nform, .notified { margin-top: 10px; }
.nlab { margin-bottom: 6px; }
.nrow button { background: #161e59; color: #fff; }
.nrow button:hover { background: #273273; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.highlight-card {
  padding: 16px 18px;
  background: #eff3f3;
  border: 1px solid #d4dae4;
  border-left: 3px solid #2f7d4f;
  min-width: 0;
}
.highlight-meta { display: flex; align-items: center; gap: 8px; color: #56617c; font-size: 13px; }
.highlight-card h3 { font: 21px/1.2 'Francois One', sans-serif; margin: 10px 0 6px; }
.highlight-card p { margin: 0; line-height: 1.45; }
.highlight-evidence { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
#data .forecast-summary { margin: 0 0 14px; }
.essay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.essay-card { display: block; text-decoration: none; }
.essay-card:hover { border-color: #161e59; background: #eef1f8; }
.essay-card b { display: block; font: 20px/1.25 'Francois One', sans-serif; margin-bottom: 6px; }
.essay-card span { font-size: 15px; line-height: 1.45; display: block; }
.hub-resources { margin-top: 32px; padding-top: 18px; border-top: 1px solid #d4dae4; }

@media (max-width: 750px) {
  .essay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards, .essay-grid { grid-template-columns: 1fr; }
  .highlight-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 8px;
  }
  .highlight-card { scroll-snap-align: start; }
  .report-explore-nav.hub-nav { gap: 0 16px; }
  .forecast-summary { margin-top: 14px; }
  .pred section { margin-top: 24px; }
  .section-links { gap: 6px; }
  .section-links a { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge-fg { transition: none; }
}
