.section-masthead .eco-breadcrumb { margin: 12px 0 0; }
.eco-quote-attribution, .eco-analysis__period { color: var(--eco-mut); font-size: .85rem; }
.eco-quote-attribution { margin-block: 8px; }
.eco-plot { margin: 16px 0; padding: clamp(10px,2vw,20px); border: 1px solid var(--eco-line); border-radius: 16px; background: linear-gradient(0deg,#f3f8ff,#fff); }
.eco-plot [hidden] { display: none; }
.eco-plot__bar, .eco-plot__readout, .eco-plot__ohlc, .eco-analysis__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.eco-plot__bar, .eco-analysis__ask { justify-content: space-between; }
.eco-plot__readout time, .eco-plot__ohlc, .eco-plot__dates, .eco-plot__axis { font-size: .82rem; color: #52647b; }
.eco-plot__readout b { font-size: 1.3rem; color: #173ac1; }
.eco-plot__switch { display: inline-flex; border: 1px solid #cad8f0; border-radius: 12px; padding: 3px; background: white; }
.eco-plot__switch button { min-height: 40px; padding: 4px 16px; border-radius: 9px; font-weight: 700; }
.eco-plot__switch button[aria-pressed=true] { background: #173ac1; color: white; }
.eco-plot__frame { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; margin-top: 14px; height: clamp(180px,24vw,300px); }
.eco-plot__axis { position: relative; display: grid; }
.eco-plot__axis span { position: relative; grid-area: 1/1; height: fit-content; transform: translateY(-50%); text-align: end; }
.eco-plot__svg { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.eco-plot__up { color: #087766; } .eco-plot__down { color: #b9344d; }
.eco-plot__dates { display: flex; justify-content: space-between; }
.eco-plot__scrub { display: block; width: 100%; height: 32px; accent-color: #1f48dd; }
.eco-plot__ohlc b { color: var(--eco-ink); }
.eco-plot__table summary { cursor: pointer; padding: 12px 0; color: var(--eco-brand); font-weight: 700; }
.eco-analysis h3 { margin: 16px 0 8px; font-size: 1rem; font-weight: 800; }
.eco-analysis__stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,170px),1fr)); gap: 8px; margin: 0; }
.eco-analysis__stats > div { padding: 12px; border: 1px solid #dde5f1; border-radius: 12px; }
.eco-analysis__stats dt, .eco-analysis__drivers dt { font-weight: 700; }
.eco-analysis__stats dd { margin: 5px 0; color: #173ac1; font-size: 1.2rem; font-weight: 800; }
.eco-analysis__stats small, .eco-analysis__ask p { color: #52647b; }
.eco-analysis__drivers { margin: 0; }
.eco-analysis__drivers > div { padding: 10px 0; border-bottom: 1px solid var(--eco-line); }
.eco-analysis__drivers dd { margin: 4px 0 0; color: var(--eco-ink-2); }
.eco-analysis :is(.eco-analysis__drivers,.eco-analysis__spread) a { color: #173ac1; text-decoration: underline; text-underline-offset: 3px; }
.eco-analysis__ask { margin-top: 16px; background: #f1f6ff; border-radius: 14px; padding: 14px; }
.eco-analysis__ask h3, .eco-analysis__ask p { margin: 0; }
.eco [id=history], .eco-analysis { scroll-margin-top: 12px; }
.eco-analysis__stock { margin: 8px 0; padding: 12px 16px; border-inline-start: 3px solid #1f48dd; background: #f3f7ff; }
.eco-analysis__stock p { margin: 4px 0; }
.eco-analysis .eco-analysis__stock a { color: #173ac1; text-decoration: underline; font-size: .85rem; }
.eco-plot [dir=ltr], .eco-analysis bdi { direction: ltr; }
.eco-plot__frame, .eco-plot__axis { grid-template-rows: minmax(0,1fr); align-content: stretch; }
.eco-plot__svg { min-height: 0; }
@media (max-width: 640px) {
    [data-economy-quote] .eco-quote-hero-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #history .eco-range-tabs { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
    #history .eco-range-tab { justify-content: center; text-align: center; min-height: 40px; }
}
.eco-analysis__reading { margin: 12px 0; color: var(--eco-ink-2); }
.eco-analysis__question { display: grid; gap: 4px; font-size: .85rem; }
.eco-analysis__question select { min-height: 44px; border: 1px solid #b8c8dc; border-radius: 10px; background: white; padding: 4px 10px; font: inherit; }
.eco :is(.eco-plot__scrub, .eco-plot__switch button, .eco-plot__table summary, .eco-analysis__question select, .eco-analysis__ask button):focus-visible { outline: 3px solid #173ac1 !important; outline-offset: 2px; }
