.markets { margin: 0 0 22px; color: var(--paper); }
.markets-band { display: grid; grid-template-columns: 170px minmax(0,1fr) 180px; align-items: center; border: 1px solid #34465e; background: #102037; border-radius: 9px; overflow: hidden; }
.markets-toggle { align-self: stretch; text-align: left; padding: 13px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid #34465e; }
.markets-label { color: #edac74; font: 11px/1.5 var(--mono); letter-spacing: .04em; }
.markets-toggle > span:last-child { color: var(--paper); font-size: 13px; line-height: 1.5; }
.markets-toggle:hover { background: #1c3049; }
.markets-live { min-width: 0; padding: 0 10px; }
.markets-widget-frame { display: block; width: 100%; min-height: 58px; max-height: 140px; border: 0; background: #102037; }
.markets-widget-status { margin: 0 8px 7px; color: #aebfd3; font-size: 12px !important; line-height: 1.45 !important; }
.markets-widget-status[data-state="slow"], .markets-widget-status[data-state="partial"], .markets-widget-status[data-state="error"] { color: #f0c196; }
.markets-live-side { padding: 12px; border-left: 1px solid #34465e; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.markets-sp500 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.markets-sp500-title, .markets-sp500-date { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.markets-sp500-title strong { font-size: 12px; color: #e2d8ca; }
.markets .markets-sp500-title a { font-size: 11px; }
.markets-sp500 .markets-sp500-value { font: 500 14px/1.5 var(--mono); color: var(--paper); }
.markets-sp500-date, .markets-sp500-note { font-size: 11px; line-height: 1.5; color: #c2c9d5; }
.markets-sp500[data-state="stale"] .markets-sp500-note { color: #edbc8e; }
.markets-live-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.markets-live-actions button { border: 1px solid #52637a; border-radius: 4px; font-size: 12px; color: #e1d6ca; padding: 5px 7px; }
.markets-live-actions button:hover { border-color: #b78a64; }
.markets .markets-attribution { display: flex; flex-wrap: wrap; gap: 3px 9px; margin: 6px 10px 0; color: #acbdd1; font-size: 11px; line-height: 1.6; }
.markets .markets-attribution a { font-size: 11px; }
.markets-panel { border: 1px solid #3e526d; background: #0f1e32; border-radius: 10px; margin-top: 12px; padding: 26px; outline-offset: 4px; }
.markets-panel-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.markets-eyebrow { font: 11px/1.6 var(--mono); letter-spacing: .08em; color: #ebb27e; }
.markets-panel h2 { font: 500 32px/1.2 var(--serif); margin: 9px 0; }
.markets-panel-head > button { border: 1px solid #53647b; padding: 9px 13px; border-radius: 5px; font-size: 13px; }
.markets-intro { max-width: 1000px; color: #c3cfdf; font-size: 15px; line-height: 1.75; margin: 7px 0 24px; }
.markets-quotes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.markets-daily { padding: 15px 18px; border: 1px solid #40536c; border-radius: 7px; }
.markets-daily > summary { font: 500 23px/1.5 var(--serif); color: #ead5bd; }
.markets-daily > summary span { font: 12px/1.5 var(--mono); color: #b9c6d6; margin-left: 12px; }
.markets-daily > p { color: #bbc9da; margin-bottom: 20px; }
.markets-quote { border: 1px solid #40536c; border-radius: 8px; padding: 20px; min-width: 0; background: #14243a; }
.markets-quote-title { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.markets h3 { font-size: 17px; line-height: 1.5; margin: 0; font-weight: 600; }
.markets-state { font: 10px/1.6 var(--mono); border: 1px solid #8191a6; color: #d3ddea; border-radius: 4px; padding: 2px 6px; }
.markets-state-stale, .markets-state-blocked { color: #ffd1a7; border-color: #ba8960; }
.markets-value { font: 500 29px/1.6 var(--mono); margin: 12px 0 7px; }
.markets-change { font-size: 14px; color: #e8d6c2; margin: 5px 0 15px; }
.markets-change small { display: block; font-size: 12px; color: #b6c5d7; line-height: 1.7; margin-top: 5px; }
.markets dl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5px 12px; font-size: 12px; line-height: 1.7; margin: 12px 0; }
.markets dt { color: #b9c7d9; }
.markets dd { margin: 0; color: #e1e6ed; }
.markets p { font-size: 14px; line-height: 1.7; }
.markets a { color: #efb983; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; font-size: 13px; }
.markets-delay, .markets-no-context { color: #b7c4d6; }
.markets-reason, .markets-notice { color: #edcfaf; background: #41342766; padding: 11px 13px; border-radius: 5px; }
.markets-context { margin-top: 18px; padding-top: 14px; border-top: 1px solid #43536a; }
.markets-context > strong { font-size: 12px; color: #dbb48f; }
.markets-context > div { margin-top: 10px; }
.markets-context button { text-align: left; color: var(--paper); font-size: 14px; line-height: 1.6; padding: 0; }
.markets-context button:hover { color: #ffc992; }
.markets-context p { font-size: 12px; color: #b8c5d8; margin: 5px 0 7px; }
.markets summary { cursor: pointer; color: #d9b48f; font-size: 13px; line-height: 1.7; }
.markets blockquote { margin: 12px 0; border-left: 2px solid #ba8d63; padding-left: 13px; font-size: 14px; line-height: 1.7; color: #e4e4df; }
.markets-agenda { margin-top: 30px; padding-top: 24px; border-top: 1px solid #40526b; }
.markets-agenda > h3 { font: 500 26px/1.5 var(--serif); margin-bottom: 14px; }
.markets-event { padding: 20px 0; border-top: 1px solid #3a4d66; }
.markets-event h4 { font-size: 17px; line-height: 1.5; margin: 10px 0; }
.markets-event time, .markets-event div > span:not(.markets-state) { color: #d4e0ee; font-size: 15px; }
.markets-event p, .markets-calendar-status { color: #b6c5d6; }
@media (max-width: 1080px) { .markets-band { grid-template-columns: 160px minmax(0,1fr); } .markets-live-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px solid #34465e; padding: 7px 13px; } .markets-sp500 { min-width: 174px; } .markets-quotes { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .markets-band { grid-template-columns: 1fr; } .markets-toggle { border-right: 0; border-bottom: 1px solid #34465e; flex-direction: row; justify-content: space-between; padding: 10px 13px; } .markets-live { padding: 0 4px; } .markets-live-side { grid-column: auto; } .markets-quotes { grid-template-columns: 1fr; } .markets-panel { padding: 18px; } .markets-panel h2 { font-size: 28px; } .markets-attribution > span { display: none; } }
