.demo-page:has(.demo-replay){width:calc(100% - 48px);max-width:1300px;margin:0 auto;padding:24px 0 44px}.demo-page:has(.demo-replay) .demo-head h1{font-size:22px}.demo-page:has(.demo-replay) .demo-head{margin-bottom:18px}.demo-replay{border:1px solid #304052;border-radius:14px;overflow:hidden;background:#10151c;color:#e7edf5;font:13px/1.5 var(--font-sans)}.demo-replay .demo-replay-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 18px;background:#111c1a;border-bottom:1px solid #293b3c;min-height:70px}.demo-replay-symbol{margin-right:10px}.demo-replay-symbol strong{font-size:15px}.demo-replay-progress small,.demo-replay-symbol small{display:block;color:#9baec4;font-size:11px}.demo-replay-top button,.demo-replay-top select{cursor:pointer;border-radius:7px;padding:8px 12px;font:inherit;color:#eaf1fb;background:#1a2634;border:1px solid #3d536c}.demo-replay-top .demo-replay-play{background:#21965f;border-color:#3bb77b;color:white;font-weight:600;min-width:84px}.demo-replay-top button:disabled{opacity:.45;cursor:not-allowed}.demo-replay-progress{margin-left:auto;text-align:right;color:#cad9eb;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.demo-replay-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;height:780px;max-height:calc(100vh - 170px);min-height:590px}.demo-replay-chart{position:relative;min-width:0;overflow:hidden;background:#101010}.demo-replay .tv-terminal-host{position:absolute;inset:0;width:100%;height:100%}.demo-replay .ref-panel{width:100%;min-width:0;max-width:none}.demo-replay .ref-order>.ref-pair:first-child>.ref-button,.demo-replay .ref-quote-orders,.demo-replay .ref-settings-toggle{display:none}.demo-replay .ref-order>.ref-pair:first-child{grid-template-columns:1fr}.demo-replay .ref-account-card{margin:12px;padding:14px}.demo-replay .ref-account b{font-size:21px}.demo-replay .ref-cash-risk{margin:12px}.demo-replay-loading{position:absolute;inset:0;display:grid;place-items:center;background:#111820;color:#b8cbe5;pointer-events:none}.demo-replay-notice{position:absolute;bottom:35px;left:20px;max-width:85%;border:1px solid #5278ac;border-radius:8px;padding:10px 14px;background:#1d304c;color:#e1edff;z-index:25}.demo-replay-end{position:absolute;top:70px;left:50%;transform:translateX(-50%);width:min(330px,90%);display:grid;grid-gap:12px;gap:12px;text-align:center;background:#182639f5;border:1px solid #6488b4;border-radius:12px;padding:24px;z-index:25;box-shadow:0 16px 40px #0005}.demo-replay-end strong{font-size:20px}.demo-replay-end span{color:#b6c8df}.demo-replay-end button{border:0;border-radius:7px;background:#2863c7;color:#fff;padding:10px;cursor:pointer}.demo-replay-end a{color:#a6c9ff}.demo-replay-help{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #2d3c4e;color:#9eb2c9;font-size:12px}@media(max-width:800px){.demo-page:has(.demo-replay){width:calc(100% - 20px);max-width:none;margin:0 auto;padding:16px 10px 30px}.demo-replay-workspace{height:auto;max-height:none;min-height:0;grid-template-columns:1fr}.demo-replay-chart{height:480px}.demo-replay .ref-panel{height:650px;border-left:0;border-top:1px solid #304052}.demo-replay-progress{margin-left:0}.demo-replay .demo-replay-top{padding:12px;gap:8px}.demo-replay-symbol{width:100%;display:flex;justify-content:space-between}.demo-replay-help{font-size:11px}}.demo-public-shell>.site-nav{width:calc(100% - 48px);max-width:1300px;margin:0 auto;min-height:88px;padding:16px 0;gap:24px;flex-wrap:nowrap;background:transparent}.demo-public-shell>.site-nav .brand{flex-shrink:0}.demo-public-shell>.site-nav .nav-links{gap:24px}.demo-public-shell>.site-nav .nav-item{padding:6px 0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:16px;white-space:nowrap}.demo-public-shell>.site-nav .nav-item.active,.demo-public-shell>.site-nav .nav-item:hover{color:var(--text);background:transparent}.demo-public-shell>.site-nav .nav-item:focus-visible{outline:2px solid var(--accent);outline-offset:6px}.demo-public-shell .demo-page:has(.demo-replay){padding-top:36px}@media(max-width:900px){.demo-public-shell>.site-nav{flex-wrap:wrap;gap:18px}.demo-public-shell>.site-nav .nav-links{order:5;flex-basis:100%;gap:24px;overflow-x:auto;padding:4px 0 8px}.demo-public-shell>.site-nav .spacer{display:block}}@media(max-width:600px){.demo-public-shell>.site-nav{width:calc(100% - 36px)}.demo-public-shell>.site-nav .nav-links{display:flex;gap:20px}.demo-public-shell>.site-nav .nav-item{font-size:14px}}.demo-replay-top .demo-replay-fullscreen{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:#a5f3fc;color:#062b38;background:linear-gradient(135deg,#67e8f9,#38bdf8);font-weight:700;box-shadow:0 0 16px #38bdf845,inset 0 1px 0 #ffffff70;white-space:nowrap;transition:background .15s,box-shadow .15s}.demo-replay-fullscreen:focus-visible{outline:2px solid #73dccc;outline-offset:3px}.demo-replay:-webkit-full-screen{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;box-sizing:border-box}.demo-replay.demo-replay-expanded,.demo-replay:fullscreen{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;box-sizing:border-box}.demo-replay:-webkit-full-screen .demo-replay-top{flex-shrink:0;min-height:56px;padding:8px 12px}.demo-replay-expanded .demo-replay-top,.demo-replay:fullscreen .demo-replay-top{flex-shrink:0;min-height:56px;padding:8px 12px}.demo-replay:-webkit-full-screen .demo-replay-workspace{flex:1 1;min-height:0;height:auto;max-height:none;grid-template-columns:minmax(0,1fr) 320px;overflow:hidden}.demo-replay-expanded .demo-replay-workspace,.demo-replay:fullscreen .demo-replay-workspace{flex:1 1;min-height:0;height:auto;max-height:none;grid-template-columns:minmax(0,1fr) 320px;overflow:hidden}.demo-replay:-webkit-full-screen .demo-replay-chart{height:100%;min-height:0}.demo-replay-expanded .demo-replay-chart,.demo-replay:fullscreen .demo-replay-chart{height:100%;min-height:0}.demo-replay:-webkit-full-screen .ref-panel{height:100%;min-height:0;overflow-y:auto}.demo-replay-expanded .ref-panel,.demo-replay:fullscreen .ref-panel{height:100%;min-height:0;overflow-y:auto}.demo-replay:-webkit-full-screen .demo-replay-help{display:none}.demo-replay-expanded .demo-replay-help,.demo-replay:fullscreen .demo-replay-help{display:none}@media(max-width:800px){.demo-replay:-webkit-full-screen .demo-replay-workspace{display:block;overflow-y:auto}.demo-replay-expanded .demo-replay-workspace,.demo-replay:fullscreen .demo-replay-workspace{display:block;overflow-y:auto}.demo-replay:-webkit-full-screen .demo-replay-chart{height:60dvh;min-height:280px}.demo-replay-expanded .demo-replay-chart,.demo-replay:fullscreen .demo-replay-chart{height:60dvh;min-height:280px}.demo-replay:-webkit-full-screen .ref-panel{height:auto;min-height:500px}.demo-replay-expanded .ref-panel,.demo-replay:fullscreen .ref-panel{height:auto;min-height:500px}.demo-replay:-webkit-full-screen .demo-replay-symbol{width:auto;display:block}.demo-replay-expanded .demo-replay-symbol,.demo-replay:fullscreen .demo-replay-symbol{width:auto;display:block}.demo-replay:-webkit-full-screen .demo-replay-progress{margin-left:auto}.demo-replay-expanded .demo-replay-progress,.demo-replay:fullscreen .demo-replay-progress{margin-left:auto}}.demo-replay-top .demo-replay-fullscreen:hover{background:linear-gradient(135deg,#a5f3fc,#7dd3fc);box-shadow:0 0 22px #38bdf870,inset 0 1px 0 #ffffff90}.demo-replay-top .demo-replay-fullscreen:active{background:#38bdf8;box-shadow:inset 0 2px 4px #062b3826}