.chart-frame{min-width:0;width:100%;margin:20px 0}.chart-frame-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#101b2b;color:#c1d3e8;border:1px solid #35475e;border-radius:12px 12px 0 0;font-size:13px}.chart-frame-toolbar button{flex-shrink:0;min-height:44px;padding:10px 16px;border:1px solid #6485ac;border-radius:8px;background:#1b324e;color:#f4f8ff;cursor:pointer;font:inherit}.chart-frame-toolbar button:focus-visible{outline:3px solid #9bd6ff;outline-offset:3px}.chart-frame-content{min-width:0;overflow-x:auto;overscroll-behavior-x:contain}.chart-frame.is-expanded{position:fixed;inset:0;z-index:2147483000;width:100%;height:100dvh;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box;background:#0d1826;color:#e7eef9;overflow:auto}.chart-frame.is-expanded>.chart-frame-toolbar{position:sticky;top:0;z-index:5;border-radius:0}.chart-frame.is-expanded>.chart-frame-content{padding:clamp(12px,2vw,32px)}.chart-frame.is-expanded .chart-frame-toolbar{display:none}.chart-frame.is-expanded>.chart-frame-toolbar{display:flex}.chart-frame.is-expanded .chart-frame{margin:0}.chart-frame.is-expanded .lesson-figure-group{max-width:none}.chart-frame.is-expanded svg{max-height:none!important}.chart-frame .lesson-figure svg{min-width:580px;max-height:none}.chart-frame figure[tabindex="0"]:focus-visible,.figure-data [tabindex="0"]:focus-visible,.studio-table[tabindex="0"]:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.chart-frame .studio-chart{overflow-x:auto}.chart-frame .studio-chart svg{min-width:720px}.chart-frame .chart-study-frame{overflow-x:auto}.chart-frame .chart-study-frame svg{min-width:720px}.chart-frame-content>.chart-study,.chart-frame-content>.strategy-studio{margin-top:0}@media (max-width:600px){.chart-frame-toolbar{padding:10px;gap:8px}.chart-frame-toolbar>span{font-size:12px}.chart-frame.is-expanded>.chart-frame-content{padding:8px}}.chart-frame .lesson-figure{overflow-x:auto}@media (max-width:600px){.chart-frame .lesson-figure:before,.chart-frame .studio-chart:before{content:"Swipe sideways to explore the chart · Full screen for more room";display:block;padding:12px 16px;font-size:12px;line-height:1.5;color:#b9cee5}}