/* Scope all layout rules to the new home content; inherit the live visual system. */
#home-dashboard{min-width:0}
#home-dashboard .hd-daily>summary,#home-dashboard .hd-intraday>summary{cursor:pointer;font-size:16px;font-weight:600;list-style-position:inside}
#home-dashboard .hd-daily>summary span{font-weight:400;margin-left:10px}
#home-dashboard .hd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
#home-dashboard .hd-item{min-width:0;margin:0;display:flex;flex-direction:column}
#home-dashboard .hd-item h3{font-size:13px;font-weight:600;line-height:1.65;min-height:22px}
#home-dashboard .hd-value{font-size:28px;font-weight:600;line-height:1.4;margin:9px 0 4px;font-variant-numeric:tabular-nums}
#home-dashboard .hd-value small{font-size:11px;font-weight:400;color:var(--sub);margin-left:4px;white-space:nowrap}
#home-dashboard .hd-change{font-size:14px;font-variant-numeric:tabular-nums;min-height:48px}
#home-dashboard .hd-change small{display:block;font-size:10px;color:var(--sub);font-weight:400}
#home-dashboard .hd-up{color:#c8503c}
#home-dashboard .hd-down{color:#1a8571}
#home-dashboard .hd-chart{width:100%;height:78px;overflow:visible;display:block;margin-top:8px}
#home-dashboard .hd-chart text{font-size:9px;font-family:inherit;fill:var(--sub)}
#home-dashboard .hd-gridline{fill:none;stroke:var(--line);stroke-width:1}
#home-dashboard .hd-line{stroke:var(--blue);stroke-width:2;fill:none}
#home-dashboard .hd-chart circle{fill:var(--blue);stroke:var(--card);stroke-width:1}
#home-dashboard .hd-readout{display:none;font-size:11px;margin:4px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#home-dashboard .hd-chart-empty{min-height:78px;display:flex;align-items:center;font-size:11px;color:var(--sub);margin:8px 0 0}
#home-dashboard .hd-axis{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--sub);line-height:1.5}
#home-dashboard .hd-time{font-size:10px;color:var(--sub);margin-top:10px;overflow-wrap:anywhere}
#home-dashboard .hd-item .hd-note{font-size:11px;line-height:1.7;color:var(--sub);margin:8px 0 0;overflow-wrap:anywhere}
#home-dashboard .hd-source{font-size:10px;margin-top:auto;padding-top:10px;overflow-wrap:anywhere}
#home-dashboard .hd-caption{font-size:12px;color:var(--sub);line-height:1.8;margin:8px 0 0}
#home-dashboard .hd-periods button{font-size:12px}
#home-dashboard .hd-periods button.on{font-weight:600;border-color:currentColor}
@media(max-width:1000px){#home-dashboard .hd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#home-dashboard .hd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#home-dashboard .hd-item{padding:12px}#home-dashboard .hd-value{font-size:24px}#home-dashboard .hd-value small{display:block;margin:0;font-size:10px}#home-dashboard .hd-item h3{font-size:12px;min-height:40px}#home-dashboard .hd-daily>summary span{display:block;margin-left:0;font-size:11px}#home-dashboard .hd-caption{font-size:11px}#home-dashboard .hd-axis{font-size:8px}#home-dashboard .hd-time{font-size:9px}#home-dashboard .hd-chart{cursor:pointer}#home-dashboard .hd-chart text,#home-dashboard .hd-chart circle{display:none}#home-dashboard .hd-chart circle.hd-last,#home-dashboard .hd-chart.hd-open circle{display:inline}#home-dashboard .hd-chart circle.hd-last,#home-dashboard .hd-chart circle.hd-sel{r:4px}#home-dashboard .hd-chart circle.hd-sel{fill:var(--card);stroke:var(--blue);stroke-width:2}#home-dashboard .hd-readout{display:block}}
@media(max-width:350px){#home-dashboard .hd-grid{grid-template-columns:1fr}}
.hd-stale{color:var(--amber,#996515)}
/* 休市说明与 Brent 其他口径（2026-10-06） */
#home-dashboard .hd-closed-banner{margin:4px 0 10px;padding:8px 12px;border-radius:8px;background:var(--card2,#f3efe6);font-size:12.5px;line-height:1.7;color:var(--txt)}
#home-dashboard .hd-closed{color:var(--txt);font-weight:500}
#home-dashboard .hd-alt{margin-top:8px;border-top:1px dashed var(--line,#ddd6cc);padding-top:4px}
#home-dashboard .hd-alt>summary{font-size:11.5px;color:var(--blue);cursor:pointer}

/* 2026-10-27 移到 市场 · 今日概览，排在“AI 与成长的位置”之后（structure-20261027.1）；折叠标题字号按全站整卡折叠规格。 */
#dw-mkt-overview #home-dashboard{margin-top:16px}
#dw-mkt-overview #home-dashboard details.card{margin-bottom:16px}
#dw-mkt-overview #home-dashboard details.card>summary span.muted{font-size:13px;font-weight:400;margin-left:10px}
@media(max-width:560px){#dw-mkt-overview #home-dashboard details.card>summary span.muted{display:block;margin:2px 0 0 1.2em}}
