@font-face{font-family:MT Sans;src:url('/static/fonts/va9E4kDNxMZdWfMOD5Vvl4jL.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:MT Sans;src:url('/static/fonts/va9B4kDNxMZdWfMOD5VnSKzeRhf6.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:MT Sans;src:url('/static/fonts/va9B4kDNxMZdWfMOD5VnLK3eRhf6.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--mt-header-height:112px;--mt-ink:#12303c;--mt-cyan:#49b5d0;--mt-muted:#a8c0ca;--mt-border:#d8e3e8}
body header.mt-header{display:block;position:sticky;inset:0 0 auto;z-index:50;width:100%;height:auto;min-height:0;padding:0;border:0;border-top:3px solid var(--mt-cyan);background:var(--mt-ink);color:#f5fafc;font:400 14px/1.4 'MT Sans','Segoe UI',sans-serif;isolation:isolate;box-shadow:0 2px 8px #102b3610}
.mt-header *{box-sizing:border-box}
.mt-header .mt-header-main{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1680px;margin:auto;min-height:72px;padding:0 28px}
.mt-header .mt-brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;min-height:52px;color:#fff;text-decoration:none;border:0;padding:0;background:none}
.mt-header .mt-monogram{position:relative;display:grid;place-items:center;width:40px;height:40px;border:1px solid #7299a6;border-radius:6px;color:#e6f8fc;font-size:16px;font-weight:700;letter-spacing:-.05em}
.mt-header .mt-monogram>span{position:absolute;bottom:-1px;left:8px;right:8px;height:3px;background:var(--mt-cyan)}
.mt-header .mt-wordmark{display:block;font-size:21px;line-height:1.2;font-weight:600;letter-spacing:-.025em}
.mt-header .mt-wordmark small{display:block;margin-top:4px;font-size:11px;line-height:1.3;font-weight:400;letter-spacing:0;color:#bed1d8}
.mt-header .mt-navigation{position:static;display:flex;flex:0 0 auto;align-items:center;gap:6px;width:auto;min-width:0;height:auto;margin:0;padding:0;border:0;overflow:visible;white-space:normal;background:none}
.mt-header .mt-nav-group{position:relative;flex-shrink:0;margin:0;border:0;background:none}
.mt-header .mt-nav-summary{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:48px;padding:0 15px;border:0;border-radius:5px;color:#c9dce3;cursor:pointer;font-weight:600;list-style:none;user-select:none}
.mt-header .mt-nav-summary::-webkit-details-marker{display:none}
.mt-header svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mt-header .mt-nav-summary svg{transition:transform .16s ease}
.mt-header .mt-nav-group[open] .mt-nav-summary svg{transform:rotate(180deg)}
.mt-header .mt-nav-group[data-current=true] .mt-nav-summary{color:#fff;background:#244754}
.mt-header .mt-nav-summary:hover,.mt-header .mt-nav-group[open] .mt-nav-summary{color:#fff;background:#2b4e5b}
.mt-header .mt-nav-panel{position:absolute;left:0;top:calc(100% + 10px);width:320px;padding:10px;background:#fff;color:var(--mt-ink);border:1px solid var(--mt-border);border-radius:8px;box-shadow:0 14px 38px #08212d24}
.mt-header .mt-panel-heading{margin:0;padding:9px 12px 10px;border-bottom:1px solid #e4ecef;color:#627984;font-size:12px;font-weight:400}
.mt-header .mt-nav-link{display:block;min-height:64px;margin-top:3px;padding:11px 12px;border:0;border-radius:4px;color:var(--mt-ink);text-decoration:none;white-space:normal;background:none}
.mt-header .mt-nav-link strong{display:block;color:inherit;font-size:14px;line-height:1.35;font-weight:600}
.mt-header .mt-nav-link span{display:block;margin-top:3px;color:#5d727d;font-size:12px;line-height:1.4;font-weight:400}
.mt-header .mt-nav-link:hover{background:#f0f7f9;color:#14536a}
.mt-header .mt-nav-link[aria-current=page]{background:#e7f4f8;box-shadow:inset 3px 0 #287d95;color:#124d62}
.mt-header .mt-saved-link{display:flex;align-items:center;gap:8px;min-height:44px;margin-left:15px;padding:0 0 0 22px;border:0;border-left:1px solid #3c5d6b;color:#c9dce3;font-size:13px;font-weight:400;text-decoration:none;background:none}
.mt-header .mt-saved-link:hover,.mt-header .mt-saved-link[aria-current=page]{color:#fff}
.mt-header .mt-header-trail{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:37px;padding:8px 28px;border-top:1px solid #2d4a57;background:#f8fbfc;color:#5b727c;font-size:12px}
.mt-header .mt-breadcrumb{display:flex;align-items:center;gap:12px;min-width:0}
.mt-header .mt-breadcrumb strong{color:#234653;font-size:12px;font-weight:600}
.mt-header .mt-trail-divider{color:#8aa3ae}
.mt-header .mt-workspace-mode{color:#5b727c;white-space:nowrap}
.mt-header .mt-menu-toggle{display:none;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 12px;border:1px solid #668591;border-radius:4px;background:transparent;color:#fff;font:600 14px 'MT Sans',sans-serif;cursor:pointer}
.mt-header a:focus-visible,.mt-header summary:focus-visible,.mt-header button:focus-visible{outline:3px solid #74d7ec;outline-offset:3px}
html{scroll-padding-top:calc(var(--mt-header-height) + 18px)}
body.mt-backtest-page .shell{min-height:calc(100vh - var(--mt-header-height))}
body.mt-backtest-page aside{top:var(--mt-header-height);height:calc(100vh - var(--mt-header-height))}
.mt-page-context{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;background:#fff;border-bottom:1px solid #dfe7ea;color:#4f6772;font:400 13px/1.4 'MT Sans',sans-serif}
.mt-page-context strong{font-size:15px;font-weight:600;color:#214653}
.mt-page-context span{font-size:12px;max-width:65ch}
.mt-page-context a{color:#216d80;text-underline-offset:3px}
.mt-strategy-picker{display:none}
body.mt-backtest-page .strategy-switch{display:flex;flex-wrap:wrap;gap:6px;padding:10px 18px;border-bottom:1px solid #d3e2e7;background:#edf4f7;overflow:visible}
body.mt-backtest-page .strategy-switch .strategy-tab{flex:0 0 auto;min-height:38px;padding:8px 12px;background:#fff;border:1px solid #b5ccd5;border-radius:4px;color:#375966;font:600 12px/1.35 'MT Sans',sans-serif;white-space:nowrap}
body.mt-backtest-page .strategy-switch .strategy-tab.active{background:#216d80;border-color:#216d80;color:#fff}
body.mt-backtest-page .strategy-switch .strategy-tab:hover{background:#dceef4;color:#1b5164}
body.mt-backtest-page .strategy-switch .strategy-tab:focus-visible{outline:3px solid #184b5e;outline-offset:2px}
body.mt-backtest-page .strategy-switch .strategy-tab[hidden]{display:none}
body.mt-chart-page{height:100vh;display:flex;flex-direction:column}
body.mt-chart-page .mt-header{flex:none}
body.mt-chart-page .terminal{flex:1;min-height:280px;height:auto}
body.mt-chart-page .toolbar{height:auto;min-height:44px;overflow:visible;display:flex;align-items:center;gap:16px;padding:6px 14px;border-bottom:1px solid #e2e9ed;flex-wrap:wrap}
body.mt-chart-page .workspace{height:calc(100% - 97px)}
body.mt-chart-page .timeframes{display:flex;gap:4px}
body.mt-chart-page .toolbar button,body.mt-chart-page .toolbar select{min-height:32px;min-width:36px;border:1px solid #c8d9df;border-radius:3px;background:#fff;color:#315867;cursor:pointer}
body.mt-chart-page .toolbar button.selected{background:#e0f3f8;border-color:#287b91}
body.mt-chart-page .toolbar label{display:flex;align-items:center;gap:6px;font-size:12px}
@media(max-width:1100px) and (min-width:801px){.mt-header .mt-header-main{gap:16px;padding-inline:20px}.mt-header .mt-brand{gap:10px}.mt-header .mt-wordmark{font-size:19px}.mt-header .mt-wordmark small{font-size:10px}.mt-header .mt-nav-summary{padding-inline:11px}.mt-header .mt-saved-link{padding-left:16px;margin-left:8px}.mt-header .mt-nav-group:last-of-type .mt-nav-panel{left:auto;right:0}}
@media(max-width:800px){
 :root{--mt-header-height:106px}
 .mt-header .mt-header-main{min-height:66px;padding:8px 16px;gap:10px;flex-wrap:wrap}
 .mt-header .mt-wordmark{font-size:19px}.mt-header .mt-wordmark small{font-size:10px}.mt-header .mt-monogram{width:36px;height:36px;font-size:15px}
 .mt-header[data-enhanced] .mt-menu-toggle{display:flex}
 .mt-header .mt-navigation{display:flex;flex:0 0 100%;flex-direction:column;align-items:stretch;width:100%;gap:4px;padding:8px 0 12px;max-height:calc(100svh - 140px);overflow:auto;overscroll-behavior:contain}
 .mt-header[data-enhanced] .mt-navigation{display:none}
 .mt-header[data-menu-open] .mt-navigation{display:flex}
 .mt-header .mt-nav-summary{min-height:48px;padding-inline:12px;font-size:15px}
 .mt-header .mt-nav-panel{position:static;width:auto;margin:5px 0 10px;padding:5px;border-radius:5px;box-shadow:none}
 .mt-header .mt-panel-heading{display:none}
 .mt-header .mt-nav-link{padding:10px 12px;min-height:60px}
 .mt-header .mt-saved-link{margin:6px 0 0;padding:12px;border-left:0;border-top:1px solid #3c5d6b;min-height:48px;font-size:14px}
 .mt-header .mt-header-trail{padding:9px 16px;min-height:37px;gap:12px}
 .mt-header .mt-breadcrumb{gap:8px;flex-wrap:wrap}
 .mt-header .mt-workspace-mode{display:none}
 .mt-page-context{padding:12px 16px;align-items:flex-start;flex-direction:column;gap:4px}
 body.mt-backtest-page .strategy-switch{padding:9px 12px;gap:6px}
 body.mt-backtest-page .strategy-switch .strategy-tab{min-height:44px;padding-inline:10px}
 body.mt-backtest-page[data-strategy-enhanced] .strategy-switch{display:none}
 body.mt-backtest-page[data-strategy-enhanced] .mt-strategy-picker{display:flex;align-items:center;gap:14px;padding:10px 16px;border-bottom:1px solid #d3e2e7;background:#edf4f7;font:600 13px 'MT Sans',sans-serif}
 .mt-strategy-picker label{display:block;flex-shrink:0;margin:0;color:#315563;font-size:13px}
 .mt-strategy-picker select{width:100%;min-width:0;min-height:44px;border:1px solid #a9c5d0;border-radius:4px;padding:8px 10px;background:#fff;color:#244d5e;font:400 14px 'MT Sans',sans-serif}
 .mt-strategy-picker select:focus-visible{outline:3px solid #216d80;outline-offset:2px}
 body.mt-backtest-page aside{position:static;height:auto}
}
@media(prefers-reduced-motion:reduce){.mt-header *{transition:none!important}}
