.home-head { margin-bottom: 16px; align-items: center; }
.home-updated { text-align: right; font-size: 12px; color: var(--muted); }
.home-updated b { color: var(--ink); font: 13px var(--mono); }
.market-board { margin: 0 0 20px; border: 1px solid #cbd8cf; border-radius: 12px; background: #fff; overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 22px; background: #eaf2eb; border-bottom: 1px solid #ceded2; }
.board-head h2 { margin: 3px 0 0; line-height: 1.2; font-size: 26px; }
.board-kicker { font-size: 12px; font-weight: 650; color: #44725c; }
.board-quote { display: block; margin-top: 5px; line-height: 1.5; font-size: 12px; color: var(--muted); }
.board-controls, .board-scrub { display: flex; align-items: center; gap: 10px; }
.board-controls select { max-width: 100%; }
.board-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.board-metric { padding: 13px 20px; border-right: 1px solid var(--line); display: grid; gap: 3px; min-width: 0; }
.board-metric:last-child { border-right: 0; }
.board-metric > span,.board-metric small,.board-reading small { color: var(--muted); font-size: 12px; }
.board-metric strong { font: 600 clamp(19px,2.2vw,29px) var(--mono); letter-spacing: -.04em; }
.board-inside { display: grid; grid-template-columns: minmax(0,1fr) minmax(215px,25%); }
.board-plot-wrap { padding: 10px 14px 12px; min-width: 0; }
.board-plot { cursor: crosshair; min-width: 0; }
.board-plot svg { width: 100%; height: auto; display: block; }
.board-plot text { fill: #586e63; font: 11px var(--mono); }
.board-plot text.axis:first-child, .board-plot text[text-anchor="start"] { font-family: inherit; }
.board-plot .board-missing { fill: #67796f; font: 12px inherit; }
.board-gridline { fill:none; stroke:#dfe7e1; stroke-width:1; }
.board-scrub { margin: 4px 7px; font-size: 12px; color: var(--muted); }
.board-scrub input { flex: 1; min-width: 20px; accent-color: #2c765c; }
.board-scrub output { color: var(--ink); font: 12px var(--mono); }
.board-event-key { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; margin: 7px; }
.board-event-key i { width: 7px; height: 7px; border-radius: 100%; background: #875479; }
.board-reading { padding: 18px; border-left: 1px solid var(--line); background: #f7f9f5; }
.board-reading h3, .board-reading h4 { margin: 0; }
.board-reading h3 { font-size: 16px; }
.board-period { font-size: 12px; line-height: 1.65; }
.board-period small { font-weight: 400; }
.day-summary { font-size: 14px; line-height: 1.7; margin: 8px 0; font-variant-numeric: tabular-nums; }
.board-industry { border-block: 1px solid var(--line); padding: 7px 0; margin: 10px 0; }
.board-period h4, .board-period div { font-size: 12px; margin: 4px 0; }
.board-period small { font-weight: normal; }
.board-industry div { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding: 3px 0; }
.board-events { max-height: 160px; overflow: auto; }
.board-events h4 { font-size: 13px; margin-bottom: 4px; }
.board-events div small { display: block; margin-bottom: 4px; }
.board-events a, .global-panel a { color: var(--green); font-size: 13px; }
.board-reading .btn { margin-top: 14px; }
.board-method { padding: 9px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.board-method p { line-height: 1.7; }
.board-caption { padding: 8px 20px; background: #f6f8f5; font-size: 12px; color: var(--muted); }
.board-caption a { color: inherit; }
.global-panel { padding: 14px 18px; }
.global-tiles { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); gap: 6px; }
.market-tile { display: grid; gap: 4px; text-align: left; border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; background: #fff; }
.market-tile span:first-child { font-size: 13px; }
.market-tile small { font: 10px var(--mono); color: var(--muted); }
.market-tile[aria-pressed="true"] { border-color: #759b83; background: #eff5ed; }
.learn-context { display: inline-block; margin: -3px 0 14px; color: var(--green); font-size: 13px; }
#tour-chapters { font-size: 13px; max-width: 100%; }
#learning-guide #tour { margin-top: 0; }
@media (max-width: 950px) { .board-inside { grid-template-columns: minmax(0,1fr) 215px; } .board-metric { padding: 10px 12px; } }
@media (max-width: 730px) {
  .board-inside { grid-template-columns: minmax(0,1fr); }
  .board-reading { border-left: 0; border-top: 1px solid var(--line); }
  .board-head { padding: 14px; flex-wrap: wrap; }
  .board-controls { flex-wrap: wrap; }
  .board-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-metric:nth-child(2) { border-right: 0; } .board-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .board-plot-wrap { padding: 6px; }
  .home-updated { font-size: 11px; }
  .board-scrub { gap: 4px; }
}
