/* 沿用首页暖白、红涨绿跌，以图表和简短文字表达盘面。 */
.market-charts { min-width:0; margin-top:20px; color:var(--ink,#1c1e22); }
.market-charts-section { min-width:0; padding:20px 0; border-top:1px solid var(--line,#e4e0d6); }
.market-charts-head { display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-bottom:12px; }
.market-charts h2 { font-family:var(--serif,serif); font-size:19px; margin:0; font-weight:600; }
.market-charts h3 { font-size:13px; font-weight:600; margin:0 0 10px; }
.market-charts-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.market-charts-tools label { display:inline-flex; align-items:center; gap:7px; color:#545b64; font-size:12px; }
.market-charts select, .market-charts input { max-width:100%; min-height:36px; padding:6px 9px; border:1px solid var(--line,#e4e0d6); border-radius:4px; background:var(--panel,#fff); color:var(--ink,#1c1e22); font:inherit; font-size:12px; }
.market-charts button { min-height:36px; }
.market-charts :focus-visible { outline:2px solid var(--red,#bd2136); outline-offset:3px; }
.market-charts-note { color:#545b64; font-size:12px; line-height:1.8; margin:8px 0 14px; overflow-wrap:anywhere; }
.market-charts-history { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 24px; }
.market-charts-history > :last-child { grid-column:1 / -1; }
.market-charts-plot { width:100%; min-width:0; height:310px; }
#marketForecastChart { height:310px; }
#marketForecastConfidenceChart { height:255px; }
.market-charts-note:empty, .market-forecast-summary:empty, .market-forecast-models:empty { display:none; }
.market-charts [hidden] { display:none !important; }
.market-forecast-summary { margin:2px 0 20px; max-width:85ch; color:#545b64; font-size:12px; line-height:1.9; overflow-wrap:anywhere; }
.market-forecast-chart-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; margin-top:20px; }
.market-forecast-chart-head h3 { margin:0; }
.market-forecast-chart-head p { margin:0; color:#545b64; font-size:12px; line-height:1.8; }
.market-forecast-models { display:flex; flex-wrap:wrap; gap:12px 32px; padding:16px 0 0; margin:16px 0 0; border-top:1px solid var(--line,#e4e0d6); list-style:none; font-size:12px; line-height:1.8; }
.market-forecast-models li { display:flex; flex-wrap:wrap; gap:2px 10px; min-width:0; overflow-wrap:anywhere; }
.market-forecast-models strong { font-weight:600; }
.market-forecast-models span { color:#545b64; }
.market-forecast-risks { padding-left:18px; max-width:85ch; color:#545b64; line-height:1.9; margin:10px 0 0; overflow-wrap:anywhere; }
.market-forecast-risks li + li { margin-top:5px; }
#dashBoardsChart { width:100%; min-width:0; height:300px; }
#dashBoardsStatus { margin:0; padding:0 20px 14px; color:#545b64; font-size:12px; line-height:1.8; }
.market-charts-day-grid { display:grid; grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr); gap:24px; align-items:start; }
.market-charts-plot-scroll { max-height:560px; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; }
.market-charts-details { border-top:1px solid var(--line,#e4e0d6); margin-top:16px; padding-top:12px; color:#545b64; font-size:12px; }
.market-charts-details summary { cursor:pointer; }
#marketStocksDetail { max-height:240px; overflow:auto; white-space:pre-wrap; font-family:inherit; line-height:1.8; margin:10px 0 0; }
@media(max-width:850px) {
 .market-charts-history, .market-charts-day-grid { grid-template-columns:minmax(0,1fr); }
 .market-charts-history > :last-child { grid-column:auto; }
 .market-charts-plot { height:300px; }
}
@media(max-width:520px) {
 .market-charts-section { padding:16px 0; }
 .market-charts-head { align-items:flex-start; }
 .market-charts-tools { width:100%; gap:8px; }
 .market-charts-tools label { flex-wrap:wrap; }
 .market-charts select, .market-charts input, .market-charts button { min-height:42px; }
 .market-forecast-chart-head { align-items:flex-start; flex-direction:column; }
 .market-forecast-models { flex-direction:column; gap:8px; }
 #marketForecastChart { height:290px; }
 #marketForecastConfidenceChart { height:255px; }
}
