.chart-explorer { min-width:0; align-self:start; color:#e1e9e4; background:#111e21; border:1px solid #304246; border-radius:8px; padding:10px; }
.chart-tools,.chart-tools>div { display:flex; align-items:center; gap:5px; }
.chart-tools { justify-content:space-between; padding-bottom:8px; }
.chart-tools strong { font-size:12px; }
.chart-tools button,.detail-open { border:1px solid #405855; border-radius:6px; background:#1b2c2d; color:#d2e5db; cursor:pointer; padding:4px 9px; font:inherit; font-size:12px; }
.chart-tools button:hover,.detail-open:hover,.ref-toc button:hover { background:#2a403d; }
.chart-surface { touch-action:none; user-select:none; cursor:grab; }
.chart-surface.dragging { cursor:grabbing; }
.chart-surface .price-scale-hit,.chart-surface.scaling { cursor:ns-resize; }
.chart-surface:focus-visible { outline:2px solid #94c7ad; }
.chart-surface>svg { display:block; width:100%; height:auto; font:11px system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.chart-ohlc,.chart-help { display:block; font-size:11px; line-height:1.6; font-variant-numeric:tabular-nums; }
.chart-help { color:#a1b2af; }
.detail-open { margin-left:auto; }
.detail-head { border-top:1px solid var(--border); padding-top:24px; margin-top:28px; }
.detail-head span { font:600 10px/1.5 monospace; letter-spacing:.16em; color:var(--accent); }
.detail-head h2,.detail-head h1 { font-size:22px; margin:6px 0; }
.detail-head p { margin:0; color:var(--quiet); font-size:12px; }
#in-depth,.ref-section,#r-sessions { scroll-margin-top:66px; }
.ref-toc { padding-bottom:12px; border-bottom:1px solid var(--border); }
@media (max-width:600px) { .chart-explorer {padding:7px;} .chart-help {font-size:10px;} .chart-tools button {min-height:32px;} }
