/* CurioSpark v8.29.2 — responsive Upcoming Collection Forecast layout.
   Layout only: does not change forecast values, payout logic, or data. */
.v813-payout-page,
.v813-payout-body,
.v829-forecast-section { min-width: 0; max-width: 100%; }

.v829-forecast-section { overflow: hidden; }

/* Four cards fit when space allows; they step down cleanly instead of pushing the page wider. */
.v829-forecast-metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.25rem), 1fr));
  align-items: stretch;
}
.v829-forecast-metrics .v813-metric { min-width: 0; }
.v829-forecast-metrics .v813-metric strong { overflow-wrap: anywhere; }

/* Keep the wide forecast table inside a deliberate horizontal scroll region. */
.v829-forecast-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  padding-bottom: .45rem;
}
.v829-forecast-table {
  width: max-content;
  min-width: 68rem;
  table-layout: fixed;
}
.v829-forecast-table th,
.v829-forecast-table td { white-space: normal; overflow-wrap: anywhere; }
.v829-forecast-table th:nth-child(1),
.v829-forecast-table td:nth-child(1) { width: 12.5rem; min-width: 12.5rem; }
.v829-forecast-table th:nth-child(2),
.v829-forecast-table td:nth-child(2) { width: 8.75rem; min-width: 8.75rem; }
.v829-forecast-table th:nth-child(3),
.v829-forecast-table td:nth-child(3),
.v829-forecast-table th:nth-child(4),
.v829-forecast-table td:nth-child(4),
.v829-forecast-table th:nth-child(5),
.v829-forecast-table td:nth-child(5) { width: 7.35rem; min-width: 7.35rem; }
.v829-forecast-table th:nth-child(6),
.v829-forecast-table td:nth-child(6) { width: 10.5rem; min-width: 10.5rem; }
.v829-forecast-table th:nth-child(7),
.v829-forecast-table td:nth-child(7),
.v829-forecast-table th:nth-child(8),
.v829-forecast-table td:nth-child(8) { width: 11.25rem; min-width: 11.25rem; }
.v829-forecast-table th:nth-child(9),
.v829-forecast-table td:nth-child(9) { width: 11.5rem; min-width: 11.5rem; }

/* Preserve row context while horizontally reviewing the financial columns. */
.v829-forecast-table th:first-child,
.v829-forecast-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 5px 0 10px rgba(66, 21, 83, .05);
}
.v829-forecast-table th:first-child { z-index: 2; background: #fbf8fd; }
.v829-forecast-table td:first-child { background: #fff; }

@media (max-width: 980px) {
  .v829-forecast-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v829-forecast-table-wrap { margin-inline: -.15rem; }
}
@media (max-width: 640px) {
  .v829-forecast-section { padding: .9rem; }
  .v829-forecast-metrics { grid-template-columns: 1fr; }
  .v829-forecast-table { min-width: 64rem; }
}
