.market-page { max-width: 1180px; margin: 0 auto; padding: 34px 22px 70px; font-family: "ttNorm", Arial, sans-serif; color: #171717; }
.market-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 3px solid #171717; padding-bottom: 18px; }
.market-header h1 { margin: 2px 0 6px; text-align: left; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: .9; letter-spacing: -.04em; }
.market-eyebrow, .market-refreshed, .market-toolbar p { margin: 0; text-align: left; }
.market-eyebrow { color: #667085; font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.market-refreshed { color: #667085; font: 500 .88rem Arial, sans-serif; }
.market-status { border-radius: 999px; padding: 7px 12px; font: 700 .78rem Arial, sans-serif; background: #f0f1f3; }
.market-status--live { color: #087443; background: #e7f8ef; }
.market-status--stale { color: #9a3412; background: #fff0e8; }
.market-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 700 .82rem Arial, sans-serif; }
.market-toolbar p { color: #667085; }
.market-toolbar label { display: flex; gap: 8px; align-items: center; }
.market-toolbar select { border: 1px solid #cfd3d8; border-radius: 7px; background: white; padding: 7px 9px; font: inherit; }
.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.market-card { display: flex; min-height: 625px; flex-direction: column; border: 1px solid #dadde2; border-top: 5px solid #171717; border-radius: 12px; padding: 20px; background: white; box-shadow: 0 7px 24px rgba(16,24,40,.07); }
.market-card--edge { border-top-color: #087443; }
.market-card h2 { margin: 0; font: 800 1.16rem Arial, sans-serif; }
.market-selection { display: flex; align-items: center; gap: 8px; margin: 7px 0 0; font: 800 1.7rem Arial, sans-serif; }
.market-side { color: #667085; border: 1px solid #d8dbe0; border-radius: 999px; padding: 3px 7px; font-size: .65rem; text-transform: uppercase; }
.market-edge-badge { margin-left: auto; border-radius: 999px; padding: 4px 7px; color: #667085; background: #f0f1f3; font: 800 .59rem Arial, sans-serif; white-space: nowrap; }
.market-edge-badge--active { color: #087443; background: #e7f8ef; }
.market-chart-wrap { position: relative; height: 218px; margin: 18px 0; }
.market-chart-error { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #667085; font: 500 .8rem Arial, sans-serif; pointer-events: none; }
.market-chart-error[hidden] { display: none; }
.market-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid #e4e7ec; padding-top: 15px; }
.market-stat span { display: block; min-height: 28px; color: #667085; font: 700 .7rem Arial, sans-serif; text-transform: uppercase; }
.market-stat strong { font: 800 1.38rem Arial, sans-serif; }
.market-stat--difference strong { font-size: 1.65rem; }
.market-difference--positive { color: #087443; }.market-difference--negative { color: #b42318; }
.market-investment { margin-top: 15px; border-top: 1px solid #e4e7ec; padding-top: 13px; }
.market-investment h3 { margin: 0 0 10px; color: #667085; font: 800 .68rem Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.market-investment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 11px; }
.market-investment-grid div { min-width: 0; }
.market-investment-grid span { display: block; min-height: 25px; color: #667085; font: 700 .62rem Arial, sans-serif; text-transform: uppercase; }
.market-investment-grid strong { display: block; font: 800 1rem Arial, sans-serif; }
.market-investment-primary { grid-row: span 3; border-right: 1px solid #e4e7ec; padding-right: 10px; }
.market-investment-primary strong { color: #087443; font-size: 1.55rem; }
.market-investment > p { margin: 9px 0 0; color: #7b8492; font: 500 .65rem Arial, sans-serif; }
.market-meta { margin: auto 0 0; padding-top: 14px; color: #667085; text-align: left; font: 500 .75rem Arial, sans-serif; }
.market-message { border: 1px solid #e4e7ec; border-radius: 10px; margin: 0; padding: 18px; color: #667085; background: #f8f9fa; font: 500 .9rem Arial, sans-serif; }
.market-message[hidden] { display: none; }
@media (max-width: 760px) { .market-grid { grid-template-columns: 1fr; } .market-header { align-items: flex-start; } .market-toolbar { align-items: flex-start; flex-direction: column; } .market-card { min-height: 610px; } }
