/* Flat analytical layouts for the two public data tools. */
.market-overview, .indicator-summary {
  background: var(--surface); border-top: 3px solid var(--accent);
  padding: 26px 28px 20px; margin: 26px 0 20px;
}
.market-overview .section-bar { margin: 0 0 24px; align-items: baseline; }
.market-overview h2 { font-size: 25px; font-weight: 500; letter-spacing: -.4px; }
.benchmark-scroll { overflow-x: auto; scrollbar-width: thin; }
.benchmark-scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.commodity-dashboard .benchmark-table { table-layout: fixed; min-width: 930px; }
.commodity-dashboard .benchmark-table thead { position: static; }
.commodity-dashboard .benchmark-table th, .commodity-dashboard .benchmark-table td {
  padding: 17px 14px; white-space: normal; vertical-align: middle;
}
.commodity-dashboard .benchmark-table thead th {
  padding-top: 12px; padding-bottom: 12px; font-size: 11px; font-weight: 500;
  border-bottom: 0; line-height: 1.5;
}
.benchmark-table thead th:first-child { width: 23%; }
.benchmark-table thead th:nth-child(2) { width: 20%; }
.benchmark-table thead th:last-child { width: 18%; }
.commodity-dashboard .benchmark-table tbody th { background: var(--surface); font-weight: 400; }
.benchmark-name { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 16px; font-weight: 600; }
.benchmark-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.benchmark-dot.corn { background: var(--corn); }
.benchmark-dot.meal { background: var(--meal); }
.benchmark-spec { display: block; color: var(--text); font-size: 11px; margin-top: 4px; line-height: 1.5; }
.benchmark-equivalent { display: block; color: var(--text); font-size: 10px; margin-top: 3px; }
.benchmark-price { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.7px; line-height: 1.3; }
.benchmark-table td { font-size: 15px; }
.benchmark-table td.benchmark-vol { font-size: 20px; }
.benchmark-sparkline { display: block; width: 100%; max-width: 170px; height: 56px; margin-left: auto; }
.benchmark-notes { margin-top: 14px; color: var(--text); font-size: 11px; line-height: 1.7; }
.benchmark-notes p+p { margin-top: 3px; }
.benchmark-scroll-hint { display: none; margin: -12px 0 12px; }
.series-line { display: inline-block; width: 22px; height: 3px; flex: none; vertical-align: middle; }
.indicator-summary .selection-line { margin: 0 0 28px; }
.indicator-summary .selection-line h2 { font-size: 24px; font-weight: 500; letter-spacing: -.4px; }
.indicator-summary .metric-cards { gap: 0; margin: 0; }
.indicator-summary .metric-card {
  background: transparent; color: var(--ink); border: 0; border-left: 1px solid var(--line);
  border-radius: 0; padding: 0 24px; min-width: 0;
}
.indicator-summary .metric-card:first-child { padding-left: 0; border-left: 0; }
.indicator-summary .metric-card:last-child { padding-right: 0; }
.indicator-summary .metric-label { font-size: 13px; }
.indicator-summary .metric-value { font-size: clamp(27px,2.7vw,36px); font-weight: 500; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.indicator-summary .metric-note { font-size: 11px; }
.indicator-note { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; color: var(--text); font-size: 11px; }
@media (max-width: 1100px) {
  .market-overview, .indicator-summary { padding: 23px; }
  .benchmark-scroll-hint { display: block; }
  .indicator-summary .metric-card { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 700px) {
  .market-overview, .indicator-summary { padding: 20px 18px; }
  .market-overview .section-bar { flex-direction: column; gap: 4px; margin-bottom: 22px; }
  .market-overview .section-bar .muted { text-align: left; }
  .market-overview h2 { font-size: 23px; }
  .indicator-summary .selection-line { margin-bottom: 22px; }
  .indicator-summary .selection-line h2 { font-size: 21px; }
  .indicator-summary .metric-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 0; }
  .indicator-summary .metric-card { padding: 0 0 0 16px; }
  .indicator-summary .metric-card:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 12px; }
  .indicator-summary .metric-label { font-size: 12px; }
  .indicator-summary .metric-value { font-size: 29px; }
  .indicator-summary .metric-note { font-size: 10px; }
}
@media (max-width: 360px) {
  .indicator-summary .metric-value { font-size: 26px; }
  .market-overview, .indicator-summary { padding: 18px 14px; }
}
/* On phones the same table becomes two compact, fully visible quote rows. */
@media (max-width: 600px) {
  .benchmark-scroll-hint { display: none; }
  .commodity-dashboard .benchmark-table { min-width: 0; table-layout: auto; }
  .benchmark-table thead { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .benchmark-table tbody { display: block; }
  .benchmark-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px 12px; padding: 18px 0; border-top: 1px solid var(--line); }
  .commodity-dashboard .benchmark-table tbody th, .commodity-dashboard .benchmark-table td { display: block; padding: 0; border: 0; text-align: left; }
  .commodity-dashboard .benchmark-table td:nth-child(2) { text-align: right; }
  .commodity-dashboard .benchmark-table td[data-label]::before { content: attr(data-label); display: block; color: var(--text); font-size: 10px; margin-bottom: 4px; }
  .benchmark-name { font-size: 15px; gap: 7px; }
  .benchmark-price { font-size: 26px; }
  .benchmark-equivalent { font-size: 9px; }
  .benchmark-spec { font-size: 10px; }
  .benchmark-sparkline { height: 45px; margin: 0; }
  .benchmark-notes { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 0; font-size: 10px; }
}
