.terminal-app{--term-surface:#0d131b;--term-input:#141e29;color:var(--text);background:#0b1017;min-width:0;font-size:12px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.terminal-app button,.terminal-app input,.terminal-app select{font:inherit}.terminal-app button{cursor:pointer}.terminal-app button:focus-visible,.terminal-app select:focus-visible,.terminal-app input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.terminal-app button{transition:background .16s,color .16s,border-color .16s}.terminal-app .positive,.term-modal .positive{color:var(--green)}.terminal-app .negative{color:var(--red)}.term-ticker-bar{height:40px;display:flex;align-items:stretch;gap:8px;padding:0 17px;border-bottom:1px solid var(--line);background:var(--term-surface)}.term-ticker-bar>button{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:0 16px;color:var(--muted);font-size:11px;position:relative}.term-ticker-bar>button:first-child{padding-left:0}.term-ticker-bar>button.active:after{content:'';position:absolute;bottom:-1px;left:14px;right:14px;height:2px;background:var(--accent)}.term-ticker-bar>button:first-child.active:after{left:0}.term-ticker-bar>button:hover{color:var(--text)}.term-ticker-bar b{color:var(--text);font-weight:600}.term-ticker-bar em{font-style:normal;color:var(--green);font-size:10px}.term-ticker-dot{width:6px;height:6px;border-radius:50%;background:var(--coin)}.term-simulation{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--accent);font-size:10px;white-space:nowrap}.term-market-bar{display:flex;align-items:center;gap:26px;padding:20px 19px;border-bottom:1px solid var(--line);background:#0f151e;min-height:83px}.term-pair{display:flex;align-items:center;gap:10px;padding-right:23px;border-right:1px solid var(--line);flex-shrink:0}.term-coin{background:var(--coin);width:35px;height:35px;border-radius:50%;font-size:26px;font-weight:500;color:#fff;display:grid;place-items:center;line-height:1}.term-pair-select{display:flex;align-items:center;position:relative;gap:5px}.term-pair-select select{color:var(--text);background:transparent;border:0;appearance:none;padding:0 18px 0 0;font-size:17px;font-weight:650;letter-spacing:-.6px;cursor:pointer;width:139px}.term-pair-select select option{background:#141e29;color:var(--text)}.term-pair-select>svg{position:absolute;right:0;pointer-events:none;color:var(--muted)}.term-pair small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.term-pair small span{color:#b5c3d0;background:#202b37;border-radius:3px;font-size:9px;margin-left:6px;padding:2px 4px}.term-market-price{display:flex;flex-direction:column;gap:5px;min-width:124px}.term-market-price strong{color:var(--green);font-size:24px;font-weight:550;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.term-market-price>span{font-size:10px;color:var(--green)}.term-market-stat{display:flex;flex-direction:column;gap:9px;white-space:nowrap}.term-market-stat>span{font-size:10px;color:var(--muted)}.term-market-stat>b{font-size:11px;font-weight:450;font-variant-numeric:tabular-nums}.term-market-stat em{font-style:normal;color:var(--muted);font-size:10px}.term-funding{margin-left:auto}.term-workspace{display:grid;grid-template-columns:minmax(360px,1fr) 220px 284px;min-width:0}.term-chart-panel{min-width:0;display:flex;flex-direction:column;background:#0b1119}.term-chart-toolbar{display:flex;align-items:center;height:47px;padding:0 15px;gap:16px;border-bottom:1px solid var(--line)}.term-timeframes{display:flex;gap:5px}.term-timeframes button,.term-indicator-toggle{border:0;background:transparent;color:var(--muted);padding:6px 9px;border-radius:4px;font-size:11px}.term-timeframes button.active,.term-timeframes button:hover{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}.term-chart-tool-divider{height:15px;width:1px;background:var(--line)}.term-indicator-toggle{display:flex;align-items:center;gap:5px;padding-left:0}.term-indicator-toggle.active,.term-indicator-toggle:hover{color:var(--accent)}.term-chart-watermark{margin-left:auto;font-size:10px;letter-spacing:.04em;color:#5e7185}.term-chart-data{height:37px;display:flex;gap:11px;padding:14px 20px 0;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#5c6e80;white-space:nowrap;overflow:hidden}.term-chart-data>span:first-child{color:#adbbc8;margin-right:3px;font-family:inherit}.term-chart-data b{color:var(--green);font-weight:400}.term-chart-wrap{position:relative;flex:1;min-height:345px;overflow:hidden}.term-chart-svg{display:block;position:relative;width:100%;height:100%;min-height:345px;z-index:1;touch-action:pan-y}.term-grid-line{stroke:#1b2531;stroke-width:.7;stroke-opacity:.7}.term-chart-label{fill:#607286;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.term-price-label{fill:#09251f;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:600}.term-chart-brand{position:absolute;top:35%;left:40%;transform:translateX(-50%);color:#cbd9e6;opacity:.035;font-weight:750;font-size:45px;letter-spacing:-1.5px;white-space:nowrap;pointer-events:none}.term-chart-brand>span{display:block;font-size:8px;letter-spacing:3px;text-align:center;margin-top:4px;font-weight:500}.term-crosshair path{stroke:#7890a8;stroke-width:1;stroke-dasharray:4 5;opacity:.7}.term-cross-bg{fill:#2d3e50}.term-cross-price{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;fill:#dce7f0;font-size:10px}.term-indicator-note{position:absolute;top:11px;left:20px;font-size:10px;color:#8a9aab;display:flex;align-items:center;gap:6px;z-index:2}.term-indicator-note>span{width:14px;height:2px;background:#e2b779}.term-indicator-note>b{color:#e2b779;font-weight:450}.term-chart-footer{height:30px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:0 16px;display:flex;align-items:center;gap:15px;color:#617387;font-size:9px}.term-chart-footer>span{display:flex;gap:5px;align-items:center}.term-chart-footer>span:last-child{margin-left:auto;color:var(--accent)}.term-community-bar{display:flex;align-items:center;gap:10px;padding:14px 15px;width:100%;border:0;background:color-mix(in srgb,var(--accent) 3%,#0d141d);text-align:left;color:var(--text);min-height:65px}.term-community-bar:hover{background:color-mix(in srgb,var(--accent) 7%,#0d141d)}.term-room-icon{width:32px;height:32px;display:grid;place-items:center;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);border-radius:9px;flex-shrink:0}.term-community-bar>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.term-community-bar b{font-size:11px;font-weight:550}.term-community-bar small{font-size:9px;color:var(--muted)}.term-community-bar>svg{margin-left:auto;color:var(--muted);flex-shrink:0}.term-community-avatars{display:flex;margin-left:auto}.term-community-avatars i{width:23px;height:23px;border:2px solid #101923;border-radius:50%;background:#38516a;font-size:7px;display:grid;place-items:center;font-style:normal;margin-left:-6px}.term-community-avatars i:nth-child(2){background:#675363}.term-community-avatars i:nth-child(3){background:#466151}.term-room-online{font-size:9px;color:var(--muted);white-space:nowrap}.term-orderbook{background:var(--term-surface);border-left:1px solid var(--line);min-width:0;padding-bottom:12px;display:flex;flex-direction:column}.term-book-head{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid var(--line)}.term-book-head h3,.term-order-heading h3{font-size:12px;font-weight:600;margin:0}.term-book-head>span{font-size:9px;color:var(--muted);padding:3px 5px;background:#17222e;border-radius:3px}.term-book-cols{display:grid;grid-template-columns:1.2fr 1fr 1fr;padding:12px 12px 9px;color:#76899e;font-size:9px;gap:5px}.term-book-cols>span:not(:first-child){text-align:right}.term-book-cols small{font-size:8px;color:#4f6176;display:block;margin-top:4px}.term-depth-row{position:relative;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:5px;border:0;background:transparent;padding:5px 12px;color:#aebdc9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:9px!important;font-variant-numeric:tabular-nums;min-height:22px;line-height:1.3}.term-depth-row:hover{background:#243142}.term-depth-row>i{position:absolute;right:0;top:0;bottom:1px;background:color-mix(in srgb,var(--red) 9%,transparent);pointer-events:none}.term-depth-row.bid>i{background:color-mix(in srgb,var(--green) 8%,transparent)}.term-depth-row>span{position:relative;text-align:right}.term-depth-row>span:nth-child(2){text-align:left;color:var(--red)}.term-depth-row.bid>span:nth-child(2){color:var(--green)}.term-depth-row>span:last-child{color:#7b8da1}.term-book-mid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 12px;margin:6px 0;display:flex;align-items:flex-start;flex-direction:column;gap:4px}.term-book-mid>strong{font-size:18px;letter-spacing:-.4px;color:var(--green);font-weight:500;font-variant-numeric:tabular-nums}.term-book-mid strong small{font-size:17px;margin-left:4px}.term-book-mid>span{font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#637990}.term-book-ratio{padding:12px 12px 0;margin-top:auto}.term-book-ratio>div{display:flex;justify-content:space-between;font-size:9px;color:var(--green);margin-bottom:7px}.term-book-ratio>div>span:last-child{color:var(--red)}.term-book-ratio>i{display:block;height:3px;background:color-mix(in srgb,var(--red) 55%,transparent);border-radius:3px}.term-book-ratio>i>b{display:block;width:58.4%;height:100%;background:color-mix(in srgb,var(--green) 70%,transparent);border-right:4px solid var(--term-surface)}.term-order-panel{border-left:1px solid var(--line);background:#101822;padding:0 17px 17px;min-width:0}.term-order-heading{height:53px;display:flex;align-items:center;gap:7px}.term-order-heading>span{margin-left:auto;color:#9cacbe;background:#192431;font-size:9px;padding:5px 7px;border-radius:4px}.term-order-heading>button{border:1px solid #2a3847;background:transparent;border-radius:4px;color:#bdccd9;font-size:10px;padding:4px 6px;display:flex;align-items:center;gap:5px}.term-order-heading>button:hover{border-color:var(--accent)}.term-side-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#0b121b;border:1px solid #233140;padding:3px;border-radius:7px}.term-side-toggle>button{border:0;background:transparent;padding:10px 3px;border-radius:4px;color:#8799ac;font-size:11px;font-weight:550}.term-side-toggle>button.long.active{background:color-mix(in srgb,var(--green) 17%,transparent);color:var(--green)}.term-side-toggle>button.short.active{background:color-mix(in srgb,var(--red) 17%,transparent);color:var(--red)}.term-side-toggle>button:hover{color:var(--text)}.term-type-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:7px 0 15px;height:38px}.term-type-tabs>button{border:0;background:transparent;color:var(--muted);padding:0 0 12px;padding-top:9px;font-size:11px;position:relative}.term-type-tabs>button.active{color:var(--text)}.term-type-tabs>button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--text)}.term-available{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:18px}.term-available>span{color:var(--muted)}.term-available strong{font-size:10px;font-weight:500}.term-available small{font-size:9px;color:var(--muted)}.term-input-label{display:block;color:#99aabd;font-size:10px;margin:14px 0 7px}.term-input-field{position:relative;display:flex;align-items:center;border:1px solid #2a3848;border-radius:6px;background:#131e2a;height:42px;transition:border-color .16s}.term-input-field:focus-within{border-color:var(--accent)}.term-input-field input{background:transparent;border:0;color:var(--text);width:100%;padding:12px 62px 12px 12px;font-size:14px;outline:none!important;appearance:textfield;min-width:0;font-variant-numeric:tabular-nums}.term-input-field input::-webkit-inner-spin-button,.term-protect-fields input::-webkit-inner-spin-button{appearance:none}.term-input-field>span{position:absolute;right:11px;color:var(--muted);font-size:10px;pointer-events:none}.term-size-shortcuts{display:flex;justify-content:space-between;gap:7px;margin:10px 0 20px}.term-size-shortcuts>button{flex:1;border:1px solid #253240;border-radius:4px;background:#192431;color:#91a2b5;font-size:9px;padding:5px 1px}.term-size-shortcuts>button:hover{border-color:var(--accent);color:var(--accent)}.term-protect{display:flex;align-items:center;gap:7px;font-size:10px;color:#b6c2d0;cursor:pointer}.term-protect input{accent-color:var(--accent);margin:0;width:13px;height:13px}.term-protect small{font-size:9px;color:#64778d;margin-left:auto}.term-protect-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.term-protect-fields label{font-size:9px;color:var(--muted)}.term-protect-fields input{display:block;width:100%;margin-top:6px;background:var(--term-input);border:1px solid #2b3849;padding:10px 9px;border-radius:5px;color:var(--text);font-size:11px;box-sizing:border-box;appearance:textfield}.term-order-estimates{border-top:1px solid var(--line);margin-top:19px;padding-top:16px;display:flex;flex-direction:column;gap:10px}.term-order-estimates>div{display:flex;justify-content:space-between;font-size:10px}.term-order-estimates span{color:var(--muted)}.term-order-estimates b{color:#bdcbd8;font-size:10px;font-weight:450;font-variant-numeric:tabular-nums}.term-order-error{color:var(--red);font-size:10px;line-height:1.5;margin:11px 0 0;min-height:0}.term-order-error:empty{display:none}.term-review{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;border:0;background:var(--green);color:#0a251f;padding:13px 12px;border-radius:6px;font-size:12px;font-weight:650;cursor:pointer;margin-top:18px}.term-review.short{background:var(--red);color:#3c111e}.term-review:hover{filter:brightness(1.1)}.term-review:disabled{opacity:.5;cursor:wait}.term-order-disclaimer{font-size:9px;color:#74869a;text-align:center;margin:10px 0 0;line-height:1.5}.term-account{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;display:flex;flex-direction:column;gap:12px}.term-account-title{display:flex;align-items:center;gap:7px;color:#91a5bb}.term-account-title strong{font-size:11px;font-weight:500;color:var(--text)}.term-account-title>span{margin-left:auto;color:var(--accent);font-size:8px;letter-spacing:.06em;padding:3px 5px;border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:3px;text-transform:uppercase}.term-account>div:not(.term-account-title):not(.term-margin-track){display:flex;align-items:center;justify-content:space-between;font-size:10px}.term-account>div>span{color:var(--muted)}.term-account b{font-weight:500;font-size:11px;font-variant-numeric:tabular-nums}.term-account b>small{font-size:9px;color:var(--muted)}.term-margin-track{height:3px;background:#273442;border-radius:3px;margin-top:0}.term-margin-track>i{display:block;height:3px;background:var(--accent);border-radius:3px;max-width:100%}.term-account>small{font-size:9px;color:#71869c;margin-top:-6px}.term-position-panel{background:#0e151e;border-top:1px solid var(--line)}.term-table-head{height:47px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 18px;gap:10px}.term-table-tabs{display:flex;gap:25px;height:100%}.term-table-tabs>button{position:relative;display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#7d90a6;font-size:11px;padding:0;white-space:nowrap}.term-table-tabs>button.active{color:var(--text)}.term-table-tabs>button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}.term-table-tabs button>span{font-size:9px;background:#263342;padding:2px 5px;border-radius:4px;color:#bac9d5}.term-account-label{display:flex;align-items:center;gap:6px;margin-left:auto;color:#6d8299;font-size:10px}.term-table-scroll{overflow-x:auto}.term-positions{width:100%;border-collapse:collapse;white-space:nowrap}.term-positions th{padding:14px 17px 10px;text-align:left;font-size:9px;color:#76899e;font-weight:400}.term-positions td{padding:12px 17px;border-bottom:1px solid #192532;font-size:11px;color:#c0ceda;font-variant-numeric:tabular-nums}.term-positions td small{display:block;font-size:9px;margin-top:6px;color:#70869d}.term-positions td.positive small{color:var(--green)}.term-positions td.negative small{color:var(--red)}.term-positions tr:last-child td{border-bottom:0}.term-position-symbol{display:flex;gap:9px;align-items:center}.term-position-symbol>i{height:29px;width:3px;border-radius:3px;background:var(--green)}.term-position-symbol>i.short{background:var(--red)}.term-position-symbol strong{font-weight:550;font-size:11px}.term-position-symbol small.long{color:var(--green)}.term-position-symbol small.short{color:var(--red)}.term-position-symbol small b{font-weight:400;font-size:8px;color:#92a4b8;padding:2px 4px;margin-left:4px;background:#1e2b39;border-radius:3px}.term-table-action{padding:6px 9px;background:#1a2735;border:1px solid #2b3c4e;color:#cad6e2;border-radius:4px;font-size:10px;vertical-align:middle;margin-right:5px}.term-table-action:hover{border-color:var(--accent);color:var(--accent)}.term-table-action svg{display:block}.term-closed{color:#8b9cac;font-size:10px}.term-empty{display:flex;flex-direction:column;align-items:center;gap:9px;padding:23px 10px;color:#5e748b}.term-empty>strong{font-size:12px;font-weight:450;color:#b2c2d2}.term-empty>span{font-size:10px;color:#6c839c}.term-status-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:10px 17px;background:#0d151f;color:#627b94;font-size:9px}.term-status-bar>span{display:flex;align-items:center;gap:7px}.term-status-bar i{width:5px;height:5px;background:var(--green);border-radius:50%}.term-status-bar em{font-style:normal;color:#344b62;margin:0 3px}.term-modal{max-width:440px;padding:6px 2px}.term-modal h2{font-size:26px;letter-spacing:-.8px;font-weight:550;margin:10px 0 12px}.term-modal>.muted{font-size:13px;line-height:1.7}.term-leverage-value{font-size:55px;color:var(--accent);letter-spacing:-3px;margin:26px 0 20px;font-weight:500}.term-modal input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.term-leverage-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:8px 0 27px}.term-modal>.btn.primary{width:100%;justify-content:center}.term-review-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:23px 0;display:flex;flex-direction:column;gap:15px}.term-review-details>div{display:flex;justify-content:space-between;gap:20px;font-size:12px}.term-review-details>div>span{color:var(--muted)}.term-review-details b{font-weight:500}.term-demo-note{font-size:11px;color:var(--muted);line-height:1.6}.term-modal .term-review{font-size:13px;padding:14px}.term-modal .term-order-disclaimer{font-size:10px}.term-modal .eyebrow{color:var(--accent)}
@media(min-width:1600px){.term-workspace{grid-template-columns:minmax(450px,1fr) 247px 300px}.term-chart-wrap,.term-chart-svg{min-height:380px}.term-depth-row{font-size:10px!important;padding-top:6px;padding-bottom:6px}.term-market-bar{gap:39px}.term-community-bar{padding:15px 20px}.term-chart-data{font-size:10px}.term-order-panel{padding-left:20px;padding-right:20px}}
@media(max-width:1250px){.term-workspace{grid-template-columns:minmax(290px,1fr) 194px 256px}.term-market-bar{gap:20px}.term-market-stat.term-funding{display:none}.term-community-avatars,.term-room-online{display:none}.term-order-panel{padding-left:13px;padding-right:13px}.term-chart-toolbar{gap:8px;padding-left:10px}.term-timeframes{gap:0}.term-chart-watermark{display:none}.term-chart-data{gap:7px;padding-left:12px;font-size:8px}.term-book-cols{font-size:8px;padding-left:9px;padding-right:9px}.term-depth-row{font-size:8px!important;padding-left:9px;padding-right:9px}.term-chart-brand{font-size:36px}.term-book-mid>strong{font-size:16px}.term-status-bar>span:last-child{display:none}}
@media(max-width:1050px){.term-workspace{grid-template-columns:minmax(340px,1fr) 220px}.term-chart-panel{grid-column:1;grid-row:1}.term-orderbook{grid-column:2;grid-row:1}.term-order-panel{grid-column:1/-1;grid-row:2;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;column-gap:28px;padding:16px 20px 20px}.term-order-heading{grid-column:1;grid-row:1;height:30px;margin-bottom:10px}.term-side-toggle{grid-column:1;grid-row:2;height:40px}.term-type-tabs{grid-column:1;grid-row:3;margin-bottom:10px}.term-available{grid-column:1;grid-row:4;align-self:start;margin:7px 0 0}.term-account{grid-column:1;grid-row:5;align-self:start;margin-top:19px}.term-order-panel form{grid-column:2;grid-row:1/6;border-left:1px solid var(--line);padding-left:25px}.term-order-panel form>.term-input-label:first-child{margin-top:5px}.term-chart-wrap,.term-chart-svg{min-height:340px}.term-book-ratio{padding-bottom:4px}.term-market-stat{margin-left:auto}.term-market-stat:nth-last-child(2){display:none}.term-positions th,.term-positions td{padding-left:13px;padding-right:13px}.term-depth-row{font-size:9px!important;padding-left:12px;padding-right:12px}.term-account>div{max-width:100%}}
@media(max-width:700px){.terminal-app{border-radius:8px}.term-ticker-bar{gap:0;padding:0 12px;height:37px}.term-ticker-bar>button{padding:0 10px;gap:6px;font-size:10px}.term-ticker-bar>button>span:not(.term-ticker-dot){display:none}.term-ticker-bar em{font-size:9px}.term-simulation{font-size:9px}.term-simulation svg{width:11px}.term-ticker-dot{width:5px;height:5px}.term-market-bar{padding:16px 12px;gap:16px;min-height:80px;justify-content:space-between}.term-pair{border:0;padding-right:0;gap:8px}.term-coin{width:30px;height:30px;font-size:23px}.term-pair-select select{font-size:16px;width:131px}.term-market-price{min-width:auto;text-align:right}.term-market-price strong{font-size:21px}.term-market-price>span{font-size:9px}.term-market-stat{display:none}.term-workspace{display:flex;flex-direction:column}.term-orderbook{display:none}.term-chart-toolbar{height:44px;padding-right:13px}.term-chart-data{font-size:8px;gap:8px;height:34px}.term-chart-data>span:nth-child(3),.term-chart-data>span:nth-child(4){display:none}.term-chart-wrap,.term-chart-svg{min-height:285px;height:285px}.term-chart-wrap{flex:none}.term-chart-svg{width:100%}.term-chart-watermark{display:block;font-size:9px}.term-timeframes button{padding-left:9px;padding-right:9px}.term-indicator-toggle{font-size:10px}.term-chart-brand{font-size:43px;left:42%}.term-chart-footer{font-size:8px}.term-community-bar{min-height:61px;padding:12px}.term-community-bar b{font-size:10px}.term-community-bar small{font-size:8px}.term-order-panel{display:block;padding:12px 16px 18px}.term-order-heading{margin-bottom:12px;height:29px}.term-order-heading h3{font-size:13px}.term-order-panel form{border:0;padding:0}.term-side-toggle>button{font-size:12px;padding:11px}.term-type-tabs{margin-top:10px;margin-bottom:15px}.term-type-tabs>button{font-size:12px}.term-available{font-size:11px;margin:0 0 17px}.term-available strong{font-size:11px}.term-order-panel form>.term-input-label:first-child{margin-top:0}.term-input-label{font-size:11px}.term-input-field{height:47px}.term-input-field input{font-size:17px}.term-size-shortcuts>button{font-size:10px;padding:7px}.term-protect{font-size:11px}.term-order-estimates>div,.term-order-estimates b{font-size:11px}.term-review{font-size:13px;padding:14px}.term-order-disclaimer{font-size:9px}.term-account{margin-top:20px;gap:13px}.term-account-title strong{font-size:12px}.term-account>div:not(.term-account-title):not(.term-margin-track){font-size:11px}.term-account b{font-size:12px}.term-table-head{padding:0 14px}.term-table-tabs{gap:20px}.term-table-tabs>button{font-size:10px}.term-account-label{display:none}.term-positions{min-width:780px}.term-status-bar{font-size:8px;padding:10px 12px}.term-status-bar>span{gap:5px}.term-status-bar em{margin:0}.term-chart-label{font-size:11px}.term-depth-row{min-height:24px}}
@media(prefers-reduced-motion:reduce){.terminal-app button{transition:none}}
/* SVG labels keep their optical size in the narrower terminal chart. */
.term-chart-label{font-size:13px}.term-price-label,.term-cross-price{font-size:11.5px}
@media(max-width:700px){.term-chart-svg{width:155%;max-width:none;margin-left:-55%}.term-chart-label{font-size:14px}.term-price-label,.term-cross-price{font-size:12px}}

/* VEYTRA terminal — graphite surfaces, clear numbers, deliberate hierarchy. */
.terminal-app {
  --term-surface:#101316;
  --term-input:#1a1e23;
  --term-divider:rgba(255,255,255,.065);
  background:#0c0f12;
  border-color:var(--term-divider);
  border-radius:20px;
  font-size:13px;
  box-shadow:0 16px 60px rgba(0,0,0,.13);
  font-feature-settings:"tnum" 1,"cv11" 1;
}
.terminal-app button:focus-visible,.terminal-app select:focus-visible,.terminal-app input:focus-visible {
  outline:2px solid rgba(238,242,245,.9);
  outline-offset:3px;
}
.term-ticker-bar {height:47px;padding:0 23px;gap:16px;background:#111417;border-color:var(--term-divider)}
.term-ticker-bar>button {font-size:12px;gap:10px;padding:0 16px;min-height:44px}
.term-ticker-bar>button.active:after {background:#eceff1;height:1px;left:16px;right:16px}
.term-ticker-bar>button:first-child.active:after {left:0}
.term-ticker-bar em {font-size:11px;color:#88c6ae}
.term-ticker-dot {width:5px;height:5px}
.term-simulation {font-size:11px;color:#b1b8bf;gap:7px}
.term-simulation svg {color:#869d93}
.term-market-bar {padding:24px;gap:30px;min-height:109px;background:#12161a;border-color:var(--term-divider)}
.term-pair {gap:12px;padding-right:27px;border-color:var(--term-divider)}
.term-coin {width:41px;height:41px;font-size:29px}
.term-pair-select select {font-size:19px;font-weight:600;width:157px;min-height:34px;letter-spacing:-.65px}
.term-pair-select select option {background:#171c21}
.term-pair small {font-size:11px;margin-top:1px;color:#959da5}
.term-pair small span {background:#262c31;font-size:10px;border-radius:4px;color:#b7bec5;padding:2px 5px}
.term-market-price {gap:7px;min-width:159px}
.term-market-price strong {font-size:32px;letter-spacing:-1.2px;font-weight:550;line-height:1.05;color:#e9eeec}
.term-market-price>span {font-size:11px;color:var(--green)}
.term-market-stat {gap:10px}
.term-market-stat>span {font-size:11px;color:#8f98a1}
.term-market-stat>b {font-size:12px;letter-spacing:-.1px;color:#d2d7dc}
.term-market-stat em {font-size:11px;color:#7e8a94}
.term-workspace {grid-template-columns:minmax(360px,1fr) 226px 306px}
.term-chart-panel {background:#0d1013}
.term-chart-toolbar {height:55px;padding:0 19px;gap:15px;border-color:var(--term-divider)}
.term-timeframes {gap:3px}
.term-timeframes button {font-size:12px;min-width:43px;min-height:40px;padding:8px;border-radius:7px}
.term-timeframes button.active {background:#24292f;color:#f2f4f6}
.term-timeframes button:hover {background:#1b2026;color:#f2f4f6}
.term-chart-tool-divider {background:var(--term-divider);height:19px}
.term-indicator-toggle {min-height:40px;font-size:12px;gap:7px;color:#969fa8;padding-right:9px}
.term-indicator-toggle.active,.term-indicator-toggle:hover {color:#eceff1}
.term-chart-watermark {font-size:11px;color:#777f88;letter-spacing:0}
.term-chart-data {height:41px;gap:12px;padding:14px 22px 0;font-size:10px;color:#7d858d}
.term-chart-data>span:first-child {color:#abb4bc}
.term-chart-data b {color:#87b7a3}
.term-chart-wrap,.term-chart-svg {min-height:412px}
.term-grid-line {stroke:#ffffff;stroke-opacity:.055;stroke-width:1}
.term-chart-label {fill:#808a93;font-size:14px}
.term-price-label,.term-cross-price {font-size:12px;font-weight:500}
.term-chart-brand {font-size:clamp(32px,3vw,54px);letter-spacing:-1.8px;color:#d6dbe0;opacity:.032;left:44%;top:39%;font-weight:650}
.term-chart-brand>span {font-size:9px;letter-spacing:3px;margin-top:8px;font-weight:500}
.term-indicator-note {top:15px;left:22px;font-size:11px}
.term-cross-bg {fill:#424950}
.term-crosshair path {stroke:#909ba5;opacity:.6}
.term-chart-footer {height:34px;font-size:10px;padding:0 20px;color:#818c96;border-color:var(--term-divider)}
.term-chart-footer>span:last-child {color:#aab4bd}
.term-community-bar {min-height:77px;padding:17px 20px;gap:12px;background:#11161a}
.term-community-bar:hover {background:#1a2025}
.term-room-icon {width:37px;height:37px;border-radius:11px;background:#222a2e;color:#bccfd1}
.term-community-bar b {font-size:12px;font-weight:550;letter-spacing:-.1px}
.term-community-bar small {font-size:11px;color:#87939d;line-height:1.4}
.term-community-bar>span:nth-child(2) {gap:5px}
.term-community-avatars i {width:26px;height:26px;font-size:8px;border-color:#11161a}
.term-room-online {font-size:10px;color:#8c969f}
.term-orderbook {border-color:var(--term-divider);background:#101417;padding-bottom:14px}
.term-book-head {height:55px;padding:0 15px;border-color:var(--term-divider)}
.term-book-head h3,.term-order-heading h3 {font-size:13px;letter-spacing:-.15px;font-weight:550}
.term-book-head>span {font-size:10px;padding:5px 6px;background:#20262b;color:#a4aeb7;border-radius:5px}
.term-book-cols {padding:14px 14px 10px;font-size:10px;gap:8px;color:#919ba4}
.term-book-cols small {font-size:9px;color:#697681;margin-top:3px}
.term-depth-row {font-size:10.5px!important;min-height:26px;padding:6px 14px;gap:8px;align-items:center;color:#bcc5cc}
.term-depth-row>i {background:color-mix(in srgb,var(--red) 6%,transparent)}
.term-depth-row.bid>i {background:color-mix(in srgb,var(--green) 5%,transparent)}
.term-depth-row:hover {background:#222a30}
.term-depth-row>span:last-child {color:#88949f}
.term-book-mid {margin:8px 0;padding:14px;border-color:var(--term-divider);gap:6px}
.term-book-mid>strong {font-size:22px;letter-spacing:-.6px;color:#9cd4bb}
.term-book-mid strong small {font-size:20px}
.term-book-mid>span {font-size:10px;color:#8a97a2}
.term-book-ratio {padding:15px 14px 0}
.term-book-ratio>div {font-size:10px;margin-bottom:9px;color:#8bc4ad}
.term-book-ratio>div>span:last-child {color:#c98992}
.term-book-ratio>i {height:3px;background:#713a46}
.term-book-ratio>i>b {background:#467e69;border-right-color:#101417}
.term-order-panel {background:#14181d;border-color:var(--term-divider);padding:0 20px 22px}
.term-order-heading {height:67px;gap:9px}
.term-order-heading h3 {font-size:14px}
.term-order-heading>span {font-size:11px;padding:0;background:transparent;color:#89959f}
.term-order-heading>button {font-size:12px;border-color:#ffffff12;border-radius:8px;background:#1d242b;min-height:36px;min-width:51px;justify-content:center;gap:5px;padding:7px}
.term-order-heading>button:hover {border-color:#ffffff30;background:#252e37}
.term-side-toggle {padding:4px;gap:4px;border:0;background:#0c1014;border-radius:11px}
.term-side-toggle>button {min-height:43px;font-size:12px;font-weight:550;border-radius:8px;letter-spacing:-.1px}
.term-side-toggle>button.long.active {background:#203930;color:#9cdec2}
.term-side-toggle>button.short.active {background:#3c252b;color:#f2a5af}
.term-type-tabs {gap:26px;height:47px;margin:11px 0 18px;border-color:var(--term-divider)}
.term-type-tabs>button {font-size:12px;min-height:44px;padding-bottom:13px}
.term-type-tabs>button.active:after {height:1px;background:#e5e9ed}
.term-available {font-size:11px;margin-bottom:21px;gap:8px}
.term-available>span {color:#9ba5ae}
.term-available strong {font-size:12px;font-weight:500;letter-spacing:-.2px}
.term-available small {font-size:10px;color:#929da6}
.term-input-label {font-size:12px;color:#a9b1b9;margin:18px 0 9px}
.term-input-field {height:53px;border-radius:10px;border-color:#ffffff0e;background:#1d232a;box-shadow:0 1px 0 #ffffff03 inset}
.term-input-field:focus-within {border-color:#ffffff50;background:#212830}
.term-input-field input {padding:15px 63px 15px 14px;font-size:19px;letter-spacing:-.4px;color:#f0f2f5}
.term-input-field>span {font-size:11px;color:#8d99a4;right:13px}
.term-input-field:has(input[aria-invalid="true"]),.term-protect-fields input[aria-invalid="true"] {border-color:#dd7384;background:#241b22}
.term-size-shortcuts {gap:7px;margin:10px 0 15px}
.term-size-shortcuts>button {min-height:37px;font-size:11px;padding:8px 2px;background:#20262d;border-color:transparent;border-radius:7px;color:#a8b3bd}
.term-size-shortcuts>button:hover {border-color:#ffffff17;background:#2c343c;color:#f0f3f5}
.term-protect {min-height:44px;font-size:11px;gap:8px;color:#bbc3ca;justify-content:flex-start}
.term-protect input {width:15px;height:15px;accent-color:#d8e6e1;flex-shrink:0}
.term-protect small {font-size:11px;color:#98a7b1;white-space:nowrap}
.term-protect-fields {gap:10px;margin:7px 0 3px}
.term-protect-fields label {font-size:11px;color:#a2aeb8}
.term-protect-fields input {font-size:13px;min-height:45px;margin-top:8px;border-radius:8px;border-color:#ffffff12;padding:12px;background:#1c232a;color:#e8edf0}
.term-order-estimates {border-color:var(--term-divider);padding-top:19px;margin-top:13px;gap:13px}
.term-order-estimates>div {font-size:11px;gap:8px}
.term-order-estimates span {color:#929fa9}
.term-order-estimates b {font-size:12px;color:#c5cfd7;font-weight:450;letter-spacing:-.15px}
.term-order-error {font-size:12px;line-height:1.55;border:1px solid #f2748b22;background:#f2748b08;border-radius:8px;padding:10px 12px;margin-top:15px;color:#f29bab}
.term-order-error:empty {display:none}
.term-review,.term-modal .term-review {min-height:51px;padding:15px 16px;margin-top:22px;font-size:13px;font-weight:650;letter-spacing:-.1px;border-radius:10px;background:#84d6b2;color:#10281e;box-shadow:0 2px 0 #ffffff14 inset;border:1px solid transparent}
.term-review.short,.term-modal .term-review.short {background:#ec9ca9;color:#351921}
.term-review:hover {filter:none;background:#a0e2c5;border-color:#b6edd7}
.term-review.short:hover {background:#f2b3bd;border-color:#f4c4cc}
.term-review svg {width:16px;height:16px}
.term-order-disclaimer {font-size:10px;line-height:1.65;color:#7f8d98;margin-top:11px}
.term-account {border-color:var(--term-divider);padding-top:20px;margin-top:24px;gap:14px}
.term-account-title {gap:8px}
.term-account-title strong {font-size:12px;font-weight:500}
.term-account .term-account-title>span {font-size:9px;color:#a4b7b0;border-color:#ffffff12;border-radius:4px;padding:3px 6px}
.term-account>div:not(.term-account-title):not(.term-margin-track) {font-size:11px}
.term-account>div>span {color:#8998a4}
.term-account b {font-size:13px;font-weight:500;letter-spacing:-.2px}
.term-account b>small {font-size:10px;color:#8a99a5}
.term-margin-track {background:#2c333a;height:3px;margin-top:1px}
.term-margin-track>i {background:#94b2a7;height:3px}
.term-account>small {font-size:10px;color:#83949f;margin-top:-5px}
.term-position-panel {background:#111519;border-color:var(--term-divider)}
.term-table-head {height:57px;padding:0 23px;border-color:var(--term-divider)}
.term-table-tabs {gap:28px}
.term-table-tabs>button {font-size:12px;min-height:44px;color:#85949f}
.term-table-tabs>button.active:after {background:#dce4e9;height:1px}
.term-table-tabs button>span {font-size:10px;background:#282f35;border-radius:5px;color:#bdc9d1;padding:2px 6px}
.term-account-label {font-size:11px;gap:7px;color:#8595a0}
.term-positions th {padding:18px 22px 12px;font-size:11px;color:#81939f}
.term-positions td {padding:16px 22px;font-size:12px;border-color:#ffffff06;color:#c5d0d8;letter-spacing:-.1px}
.term-positions td small {font-size:10px;margin-top:7px;color:#8499a7}
.term-position-symbol {gap:11px}
.term-position-symbol>i {height:34px;width:2px;background:#82c4a8}
.term-position-symbol>i.short {background:#cd8b97}
.term-position-symbol strong {font-size:12px;font-weight:550}
.term-position-symbol small b {font-size:9px;background:#242e36;border-radius:4px;padding:2px 5px;margin-left:6px;color:#9fb0bd}
.term-table-action {min-height:36px;min-width:40px;padding:8px 12px;font-size:11px;border-radius:7px;background:#222b32;border-color:#ffffff0c;color:#bbcbd5;margin-right:7px}
.term-table-action:hover {background:#303b44;border-color:#ffffff1c;color:#f2f6f8}
.term-closed {font-size:11px;color:#a2b4c0}
.term-empty {padding:34px 12px;gap:11px;color:#758d9c}
.term-empty>strong {font-size:14px;color:#c3d0d9;font-weight:500}
.term-empty>span {font-size:12px;color:#859dac}
.term-status-bar {padding:13px 22px;font-size:10px;background:#11171c;border-color:var(--term-divider);color:#849dab}
.term-status-bar i {width:5px;height:5px;background:#8bb5a4}
.term-status-bar em {color:#506574}
.term-modal {padding:5px 2px;max-width:440px}
.term-modal .eyebrow {color:#9eaaa9;font-size:10px;letter-spacing:1.8px}
.term-modal h2 {font-size:30px;letter-spacing:-1px;line-height:1.16;margin:13px 0 14px;font-weight:550}
.term-modal>.muted {font-size:13px;line-height:1.65;color:#8e9ba5}
.term-review-summary {display:flex;flex-direction:column;gap:9px;padding:24px 22px;margin:23px 0 0;background:#ffffff04;border:1px solid #ffffff09;border-radius:13px}
.term-review-summary>span {font-size:12px;color:#8c9ca8}
.term-review-summary>strong {font-size:33px;letter-spacing:-1.2px;font-weight:500;color:#e4ecf0}
.term-review-summary>strong small {font-size:12px;letter-spacing:0;font-weight:450;color:#8d9fab;margin-left:4px}
.term-review-summary>span:last-child {font-size:11px;color:#8197a5;margin-top:3px}
.term-review-details {border-color:#ffffff0b;padding:23px 0;margin:20px 0;gap:17px}
.term-review-details>div {font-size:12px}
.term-review-details b {font-size:13px;color:#c8d5df;font-weight:500}
.term-demo-note {font-size:11px;line-height:1.65}
.term-modal .term-order-disclaimer {font-size:11px}
.term-leverage-value {color:#e2eae7;font-size:64px;font-weight:450;letter-spacing:-3px;margin-top:27px}
.term-modal input[type=range] {accent-color:#d3e5de;height:28px}
.term-leverage-labels {font-size:12px;color:#879ca8}
.term-modal>.btn.primary {min-height:49px;border-radius:10px}
@media(min-width:1600px) {
  .term-workspace {grid-template-columns:minmax(470px,1fr) 254px 328px}
  .term-market-bar {gap:42px}
  .term-market-price strong {font-size:34px}
  .term-order-panel {padding-left:23px;padding-right:23px}
  .term-depth-row {font-size:11.5px!important;min-height:27px;padding:6px 16px}
  .term-book-cols {font-size:11px;padding-left:16px;padding-right:16px}
  .term-book-cols small {font-size:10px}
  .term-chart-wrap,.term-chart-svg {min-height:446px}
  .term-chart-data {font-size:11px}
}
@media(max-width:1250px) {
  .term-workspace {grid-template-columns:minmax(320px,1fr) 214px 280px}
  .term-market-bar {gap:25px;padding:23px 20px}
  .term-market-price {min-width:145px}
  .term-market-price strong {font-size:30px}
  .term-pair {padding-right:21px}
  .term-order-panel {padding-left:17px;padding-right:17px}
  .term-depth-row {font-size:10px!important;padding:6px 11px;gap:6px}
  .term-book-cols {padding-left:11px;padding-right:11px;font-size:10px;gap:6px}
  .term-chart-toolbar {gap:10px;padding-left:12px;padding-right:12px}
  .term-timeframes {gap:0}
  .term-timeframes button {min-width:37px;padding:8px 7px;font-size:11px}
  .term-indicator-toggle {font-size:11px;gap:5px}
  .term-chart-data {font-size:9px;gap:9px;padding-left:16px}
  .term-chart-watermark {display:none}
  .term-community-bar {padding:16px;gap:10px}
  .term-community-bar small {font-size:10px}
  .term-positions th,.term-positions td {padding-left:18px;padding-right:18px}
}
@media(max-width:1050px) {
  .term-workspace {grid-template-columns:minmax(320px,1fr) 244px}
  .term-order-panel {padding:24px;column-gap:34px}
  .term-order-heading {height:39px;margin-bottom:14px}
  .term-side-toggle {height:50px}
  .term-type-tabs {height:46px;margin:12px 0 13px}
  .term-available {margin-top:11px;margin-bottom:0;font-size:12px}
  .term-order-panel form {padding-left:30px;border-color:var(--term-divider)}
  .term-order-panel form>.term-input-label:first-child {margin-top:4px}
  .term-account {margin-top:24px;gap:17px}
  .term-chart-wrap,.term-chart-svg {min-height:434px}
  .term-depth-row {font-size:11px!important;min-height:26px;padding:6px 15px}
  .term-book-cols {padding-left:15px;padding-right:15px;font-size:11px}
  .term-chart-data {font-size:10px}
  .term-table-action {min-height:40px}
}
@media(max-width:700px) {
  .terminal-app {border-radius:16px;box-shadow:none}
  .term-ticker-bar {height:44px;gap:0;padding:0 15px}
  .term-ticker-bar>button {font-size:11px;padding:0 11px;gap:7px;min-height:43px}
  .term-ticker-bar em {font-size:10px}
  .term-simulation {font-size:10px;gap:5px}
  .term-market-bar {padding:23px 17px;min-height:106px;gap:14px}
  .term-pair {gap:10px;padding-right:0}
  .term-coin {width:33px;height:33px;font-size:26px}
  .term-pair-select select {font-size:16px;width:131px;min-height:32px;letter-spacing:-.5px}
  .term-pair small {font-size:10px;margin-top:2px}
  .term-market-price {min-width:0;gap:7px}
  .term-market-price strong {font-size:27px;letter-spacing:-1px}
  .term-market-price>span {font-size:10px}
  .term-chart-toolbar {height:55px;padding:0 13px;gap:11px}
  .term-timeframes button {min-width:39px;font-size:12px;min-height:43px}
  .term-chart-watermark {display:none}
  .term-indicator-toggle {font-size:11px;min-height:43px;gap:6px}
  .term-chart-data {height:39px;padding-left:17px;font-size:10px;gap:9px}
  .term-chart-data>span:nth-child(3),.term-chart-data>span:nth-child(4) {display:none}
  .term-chart-wrap,.term-chart-svg {height:305px;min-height:305px}
  .term-chart-svg {width:155%;max-width:none;margin-left:-55%}
  .term-chart-label {font-size:14px}
  .term-price-label,.term-cross-price {font-size:12px}
  .term-chart-brand {font-size:31px;letter-spacing:-1px;left:44%}
  .term-chart-brand>span {font-size:7px;letter-spacing:2px}
  .term-chart-footer {height:36px;font-size:10px;padding:0 16px}
  .term-community-bar {padding:17px;min-height:76px}
  .term-community-bar b {font-size:12px}
  .term-community-bar small {font-size:10px;max-width:225px;line-height:1.5}
  .term-room-icon {width:35px;height:35px}
  .term-order-panel {display:block;padding:18px 20px 25px}
  .term-order-heading {height:42px;margin-bottom:14px}
  .term-order-heading h3 {font-size:16px}
  .term-order-heading>button {min-height:40px;font-size:12px;min-width:59px}
  .term-side-toggle {height:auto;padding:4px;border-radius:11px}
  .term-side-toggle>button {min-height:46px;font-size:13px}
  .term-type-tabs {height:48px;margin:12px 0 19px;gap:29px}
  .term-type-tabs>button {min-height:46px;font-size:13px}
  .term-available {font-size:12px;margin:0 0 24px}
  .term-available strong {font-size:13px}
  .term-order-panel form {padding:0;border:0}
  .term-input-label {font-size:13px;margin-bottom:10px}
  .term-input-field {height:56px;border-radius:10px}
  .term-input-field input {font-size:20px}
  .term-input-field>span {font-size:12px}
  .term-size-shortcuts {gap:8px;margin-top:10px}
  .term-size-shortcuts>button {min-height:41px;font-size:12px}
  .term-protect {font-size:12px;min-height:47px;gap:9px}
  .term-protect input {width:16px;height:16px}
  .term-protect small {font-size:12px}
  .term-protect-fields label {font-size:12px}
  .term-protect-fields input {min-height:48px;font-size:15px}
  .term-order-estimates {padding-top:20px;gap:15px;margin-top:13px}
  .term-order-estimates>div,.term-order-estimates b {font-size:12px}
  .term-review {min-height:53px;font-size:14px;padding:16px;margin-top:23px}
  .term-order-disclaimer {font-size:11px;margin-top:13px}
  .term-account {margin-top:26px;gap:17px}
  .term-account-title strong {font-size:13px}
  .term-account>div:not(.term-account-title):not(.term-margin-track) {font-size:12px}
  .term-account b {font-size:14px}
  .term-account>small {font-size:11px}
  .term-table-head {height:57px;padding:0 18px}
  .term-table-tabs {gap:24px}
  .term-table-tabs>button {font-size:12px}
  .term-table-tabs button>span {font-size:10px}
  .term-positions {min-width:800px}
  .term-positions th {font-size:11px;padding:17px 18px 12px}
  .term-positions td {font-size:12px;padding:16px 18px}
  .term-status-bar {font-size:9px;padding:13px 16px;line-height:1.5}
  .term-status-bar>span {gap:6px;flex-wrap:wrap}
  .term-modal h2 {font-size:28px}
  .term-review-summary {padding:20px;border-radius:12px}
  .term-review-summary>strong {font-size:30px}
}
@media(max-width:390px) {
  .term-ticker-bar>button {padding:0 8px;gap:5px}
  .term-simulation {font-size:9px}
  .term-market-bar {padding-left:14px;padding-right:14px;gap:9px}
  .term-pair {gap:7px}
  .term-pair-select select {width:119px;font-size:15px}
  .term-market-price strong {font-size:25px}
  .term-market-price>span {font-size:9px}
  .term-chart-data {font-size:9px;gap:8px}
  .term-order-panel {padding-left:17px;padding-right:17px}
}
@media(min-width:1051px) {
  .term-order-heading {height:60px}
  .term-type-tabs {height:44px;margin-top:7px;margin-bottom:14px}
  .term-available {margin-bottom:18px}
  .term-order-panel form>.term-input-label:first-child {margin-top:0}
  .term-size-shortcuts {margin-bottom:9px}
  .term-protect {min-height:40px}
  .term-order-estimates {margin-top:8px;padding-top:15px;gap:10px}
  .term-review {margin-top:18px}
  .term-account {margin-top:20px;padding-top:17px;gap:11px}
}

/* Account context stays visible while trading; every connection is a demo. */
.term-account-strip {display:flex;align-items:center;gap:24px;min-height:79px;padding:15px 23px;background:#14191e;border-bottom:1px solid #ffffff09}
.term-account-choice {display:flex;align-items:center;gap:11px;min-width:0}
.term-account-choice-icon {width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff0b;background:#20282f;border-radius:11px;color:#b6c7d0;flex-shrink:0}
.term-account-choice>div {min-width:0}
.term-account-choice label {display:block;font-size:10px;color:#7f939f;margin:0 0 5px}
.term-account-select-wrap {position:relative;display:flex;align-items:center;min-width:180px;max-width:285px}
.term-account-select-wrap select {appearance:none;background:transparent;border:0;outline-offset:4px;color:#dae4ea;font-family:inherit;font-size:13px;font-weight:500;letter-spacing:-.15px;padding:0 25px 0 0;width:100%;cursor:pointer;min-height:24px;text-overflow:ellipsis}
.term-account-select-wrap select option {background:#1a222a;color:#d8e3ec}
.term-account-select-wrap>svg {position:absolute;right:3px;pointer-events:none;color:#9aaeBA}
.term-account-meta {display:flex;align-items:center;gap:10px;color:#859ca9;font-size:11px;white-space:nowrap}
.term-account-meta>span+span:before {content:'·';color:#516974;margin-right:10px}
.term-account-meta .read-only {color:#d4b78f}
.term-account-meta>b,.term-review-account>b {font-size:9px;font-weight:550;letter-spacing:.07em;color:#9ab4ae;background:#2637326b;border:1px solid #8bb4a419;border-radius:5px;padding:4px 6px}
.term-account-strip-actions {display:flex;align-items:center;gap:9px;margin-left:auto}
.term-account-strip-actions>button {display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border:1px solid #ffffff0d;border-radius:8px;padding:9px 12px;color:#d4dfe6;background:#242e36;font-size:11px;white-space:nowrap}
.term-account-strip-actions>button:first-child {background:transparent;border-color:transparent;color:#879da9}
.term-account-strip-actions>button:hover {color:#f0f5f7;background:#303d47;border-color:#ffffff15}
.term-readonly-banner {display:flex;align-items:center;gap:10px;padding:13px 24px;background:#c1a8750b;border-bottom:1px solid #c1a87512;color:#baa98a;font-size:11px;line-height:1.55}
.term-readonly-banner>svg {flex-shrink:0;color:#b9a581}
.term-readonly-banner>button {display:flex;align-items:center;gap:6px;margin-left:auto;white-space:nowrap;border:0;background:transparent;color:#d2b990;font-size:11px;min-height:36px;padding:7px 0 7px 14px}
.term-readonly-banner>button:hover {color:#f0dabc}
.terminal-app button:disabled {opacity:.38;cursor:not-allowed;filter:saturate(.2)}
.terminal-app button:disabled:hover {filter:saturate(.2)}
.term-input-field:has(input:disabled),.term-protect-fields input:disabled {opacity:.46}
.terminal-app .term-review:disabled {background:#353f48;color:#9caeb9;border-color:transparent;opacity:.7;cursor:not-allowed}
.term-review-account {display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:17px 0 4px;color:#c2d2dc;font-size:12px;line-height:1.5}
.term-review-account>svg {color:#849fad}
.term-review-account>span {color:#7e98a7;font-size:11px}
.term-review-account>span:before {content:'·';margin-right:7px;color:#567381}
.term-review-account>b {margin-left:auto}
@media(max-width:1250px) {
  .term-account-strip {gap:17px;padding-left:20px;padding-right:20px}
  .term-account-select-wrap {max-width:220px;min-width:165px}
  .term-account-meta {gap:8px;font-size:10px}
  .term-account-strip-actions {gap:4px}
  .term-account-strip-actions>button {padding-left:9px;padding-right:9px}
}
@media(max-width:900px) {
  .term-account-strip {flex-wrap:wrap;gap:13px 20px;padding:17px 20px}
  .term-account-choice {flex:1;min-width:220px}
  .term-account-select-wrap {max-width:100%;min-width:200px}
  .term-account-meta {margin-left:auto;font-size:11px}
  .term-account-strip-actions {margin-left:48px}
  .term-account-strip-actions>button {min-height:38px}
  .term-readonly-banner {flex-wrap:wrap;padding:14px 20px}
  .term-readonly-banner>span {flex:1;min-width:230px}
  .term-readonly-banner>button {margin-left:25px;padding-left:0}
}
@media(max-width:700px) {
  .term-account-strip {padding:17px;gap:13px 10px}
  .term-account-choice {min-width:0;flex:1 1 100%}
  .term-account-choice-icon {width:39px;height:39px}
  .term-account-choice>div {flex:1}
  .term-account-choice label {font-size:10px}
  .term-account-select-wrap {max-width:100%;min-width:0}
  .term-account-select-wrap select {font-size:13px;min-height:27px;padding-right:26px}
  .term-account-meta {margin-left:0;gap:7px;font-size:10px}
  .term-account-meta>span+span:before {margin-right:7px}
  .term-account-meta>b {font-size:8px;padding:3px 5px}
  .term-account-strip-actions {margin-left:auto;gap:4px}
  .term-account-strip-actions>button {font-size:10px;min-height:40px;padding:8px}
  .term-account-strip-actions>button:first-child {display:none}
  .term-account-strip-actions>button>svg {width:12px;height:12px}
  .term-readonly-banner {font-size:11px;padding:13px 17px;gap:9px}
  .term-readonly-banner>span {min-width:190px}
  .term-readonly-banner>button {min-height:39px;font-size:11px;margin-left:24px}
  .term-review-account {font-size:11px}
}

/* V5: a focused exchange workspace. */
.terminal-app {border-radius:11px;background:#0d1013;border-color:#ffffff0c;box-shadow:0 14px 60px #0000000c}
.term-ticker-bar {height:37px;padding:0 19px;background:#101418;gap:17px}
.term-ticker-bar>button {min-height:36px;font-size:11px;gap:9px}
.term-ticker-bar em {font-size:10px}
.term-simulation {font-size:10px;color:#82998e}
.term-account-strip {min-height:63px;padding:11px 19px;gap:21px;background:#14191e}
.term-account-choice-icon {width:31px;height:31px;border-radius:8px;background:#232c33}
.term-account-choice {gap:9px}
.term-account-choice label {font-size:9px;margin-bottom:3px;letter-spacing:.02em}
.term-account-select-wrap {min-width:171px;max-width:244px}
.term-account-select-wrap select {font-size:12px;min-height:22px}
.term-account-meta {font-size:10px;gap:8px}
.term-account-meta>b {font-size:8px;padding:3px 5px}
.term-account-balances {display:flex;align-items:center;gap:26px;margin-left:auto;padding-left:25px;border-left:1px solid #ffffff08}
.term-account-balances>span {display:flex;flex-direction:column;gap:5px;font-size:9px;color:#82929d;white-space:nowrap}
.term-account-balances b {font-size:12px;font-weight:500;color:#d7e0e5;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
.term-account-balances b small {font-size:9px;font-weight:400;color:#81949f}
.term-account-balances b.positive {color:#8bc1aa}
.term-account-balances b.negative {color:#d795a2}
.term-account-strip-actions {margin-left:auto;gap:5px}
.term-account-strip-actions>button {font-size:10px;min-height:35px;border-radius:6px;padding:8px 10px;background:#273039}
.term-account-strip-actions>button:first-child {color:#8c9da8}
.term-market-bar {min-height:91px;padding:18px 20px;background:#11171b;gap:31px}
.term-pair {gap:11px;padding-right:26px}
.term-coin {width:37px;height:37px;font-size:27px}
.term-pair-select select {font-size:18px;min-height:29px;width:150px}
.term-pair small {font-size:10px}
.term-market-price {min-width:144px;gap:7px}
.term-market-price strong {font-size:30px;letter-spacing:-1px;color:#e3ebe7}
.term-market-price>span {font-size:10px;color:#8bc3aa}
.term-market-stat>span {font-size:10px;color:#8d9da6}
.term-market-stat>b {font-size:11px;color:#bfcbd3}
.term-market-stat em {font-size:10px}
.term-workspace {grid-template-columns:minmax(380px,1fr) 238px 292px;background:#0d1115}
.term-chart-panel {background:#0c1115}
.term-chart-toolbar {min-height:46px;height:auto;padding:5px 11px;gap:3px 6px;flex-wrap:wrap;border-color:#ffffff09}
.term-timeframes {gap:1px}
.term-timeframes button {min-width:34px;min-height:32px;padding:7px;font-size:11px;border-radius:4px;color:#92a4b1}
.term-timeframes button.active {background:#293740;color:#dce8e9}
.term-timeframes button:hover {background:#212e37}
.term-chart-tool-divider {height:17px;margin:0 3px}
.term-chart-style-switch {display:flex;align-items:center;gap:1px}
.term-chart-style-switch>button {width:30px;height:32px;display:grid;place-items:center;background:transparent;border:0;border-radius:4px;color:#849ba9}
.term-chart-style-switch>button.active {color:#c3d7d9;background:#26363e}
.term-chart-style-switch>button:hover {background:#25343d;color:#e1ecee}
.term-indicator-toggle,.term-chart-option {min-height:32px;border:0;background:transparent;border-radius:4px;padding:7px;font-size:10px;color:#8299a8;white-space:nowrap}
.term-indicator-toggle.active,.term-chart-option.active {color:#bdd1d6;background:#1b2c3469}
.term-indicator-toggle:hover,.term-chart-option:hover {color:#e0e9ed;background:#23343d}
.term-expand-chart {display:grid;place-items:center;width:31px;height:32px;margin-left:auto;border:0;border-radius:4px;background:transparent;color:#94aebb;flex-shrink:0}
.term-expand-chart:hover,.term-expand-chart.active {background:#253b47;color:#d3e3eb}
.term-chart-data {height:34px;padding:11px 18px 0;gap:11px;font-size:10px;color:#748e9e}
.term-chart-data>span:first-child {color:#a6bbc8}
.term-chart-data b {color:#99b5ad}
.term-chart-wrap,.term-chart-svg {min-height:422px}
.term-chart-brand {font-size:clamp(34px,3.6vw,57px);opacity:.025;top:43%;color:#ddebf0}
.term-chart-brand>span {font-size:8px;letter-spacing:3.1px;margin-top:9px}
.term-chart-label {fill:#718c9e;font-size:12px}
.term-grid-line {stroke:#7b9aac;stroke-opacity:.085;stroke-width:.65}
.term-price-label {font-size:11.2px;fill:#133529}
.term-cross-price {font-size:11.2px}
.term-cross-bg {fill:#354e5e}
.term-crosshair path {stroke:#7299b0;opacity:.6}
.term-volume-label {font-size:11px;fill:#556f81}
.term-saved-level text {font-size:11px}
.term-saved-level.offscreen {opacity:.78}
.term-indicator-note {top:8px;left:18px;font-size:10px;color:#9cb3c2;background:#0c1115c4;padding:4px 5px;border-radius:3px;z-index:2}
.term-indicator-note>b {color:#c6ac85}
.term-chart-footer {height:29px;padding:0 17px;font-size:9px;color:#738d9f;border-color:#ffffff08}
.term-chart-footer i {font-style:normal;color:#4b6779;margin:0 4px}
.term-chart-footer>span:last-child {color:#8cacbb}
.term-community-bar {min-height:60px;padding:12px 16px;gap:10px;background:#131d24}
.term-community-bar:hover {background:#1c2b35}
.term-room-icon {height:31px;width:31px;border-radius:7px;background:#243943;color:#9bc1c8}
.term-community-bar b {font-size:11px;color:#c2d4dd}
.term-community-bar small {font-size:10px;color:#748fa0}
.term-community-avatars i {width:24px;height:24px;font-size:7px;border-color:#131d24}
.term-room-online {font-size:9px;color:#7e9cab}
.term-orderbook {background:#11181e;border-color:#ffffff09;padding-bottom:0}
.term-depth-tabs {height:45px;min-height:45px;display:flex;align-items:stretch;gap:20px;padding:0 15px;border-bottom:1px solid #ffffff09}
.term-depth-tabs>button {position:relative;background:transparent;border:0;padding:0;font-size:11px;color:#829cab;font-weight:450;white-space:nowrap}
.term-depth-tabs>button.active {color:#d1e1e8}
.term-depth-tabs>button.active:after {content:'';position:absolute;bottom:-1px;height:1px;background:#a9c9d1;left:0;right:0}
.term-depth-tabs>button:hover {color:#e0eaee}
.term-book-tools {height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:9px;color:#748fa2}
.term-book-tools>span {display:flex;align-items:center;gap:7px}
.term-book-mode-icon {width:11px;height:11px;display:block;background:linear-gradient(to bottom,#ba8692 0 16%,transparent 16% 28%,#ba8692 28% 44%,transparent 44% 56%,#7db99e 56% 72%,transparent 72% 84%,#7db99e 84% 100%);opacity:.85}
.term-book-tools label {display:flex;align-items:center;gap:6px}
.term-book-tools select {appearance:auto;background:#1c2b36;border:1px solid #ffffff08;border-radius:4px;padding:4px 3px 4px 6px;color:#acc6d5;font-size:9px;cursor:pointer;min-width:52px;min-height:26px}
.term-book-cols {padding:6px 14px 8px;gap:8px;font-size:9px;color:#7794a7}
.term-book-cols small {font-size:8px;color:#577487;margin-top:3px}
.term-depth-row {font-size:10px!important;min-height:23px;padding:5px 14px;gap:8px;line-height:1.3;letter-spacing:-.1px;color:#b1c9d8}
.term-depth-row>span:nth-child(2) {color:#ca929e}
.term-depth-row.bid>span:nth-child(2) {color:#8bc2a7}
.term-depth-row>span:last-child {color:#7d9bae}
.term-depth-row:hover {background:#28425375}
.term-depth-row>i {background:#af627319}
.term-depth-row.bid>i {background:#5d9b8219}
.term-book-mid {padding:10px 14px;margin:5px 0 6px;gap:6px;border-color:#ffffff09}
.term-book-mid>strong {font-size:21px;color:#9bcab4;font-weight:450;letter-spacing:-.7px}
.term-book-mid strong small {font-size:18px;color:#7eb7a1}
.term-book-mid>span {display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;font-size:8px;color:#627f92}
.term-book-mid>span i {font-style:normal;font-size:8px;color:#6f8ca0}
.term-book-ratio {padding:13px 14px 3px;margin-top:auto}
.term-book-ratio>div {font-size:9px;margin-bottom:8px}
.term-depth-note {font-size:8px;color:#5d7c90;padding:12px 14px;line-height:1.4;letter-spacing:.03px}
.term-tape-subhead {height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:9px;color:#7b99ac}
.term-tape-subhead b {font-size:7px;font-weight:500;letter-spacing:.06em;color:#8ca4b1;border:1px solid #ffffff09;border-radius:3px;padding:3px 4px}
.term-tape-row {display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;background:transparent;border:0;padding:7px 14px;min-height:27px;font:10px ui-monospace,SFMono-Regular,Consolas,monospace!important;color:#adc5d4;letter-spacing:-.1px}
.term-tape-row>span:first-child {text-align:left;color:#89bca5}
.term-tape-row.sell>span:first-child {color:#c5909d}
.term-tape-row>span:nth-child(2) {text-align:right}
.term-tape-row>span:last-child {text-align:right;color:#7190a4;font-size:9px}
.term-tape-row:hover {background:#213949}
.term-order-panel {padding:0 18px 18px;background:#141a1f;border-color:#ffffff09}
.term-order-heading {height:52px;gap:8px}
.term-order-heading h3 {font-size:13px;color:#d2dfe8}
.term-order-heading>span {font-size:10px;color:#849cae}
.term-order-heading>button {min-height:32px;min-width:49px;font-size:11px;border-radius:5px;background:#223440;color:#b5d0e0;border-color:#ffffff0b;padding:6px}
.term-side-toggle {padding:3px;border-radius:6px;background:#0d171f;gap:3px}
.term-side-toggle>button {min-height:37px;font-size:11px;border-radius:4px}
.term-side-toggle>button.long.active {background:#264537;color:#a7d9bd}
.term-side-toggle>button.short.active {background:#49303c;color:#e1a2b4}
.term-type-tabs {height:40px;margin:7px 0 15px;gap:25px}
.term-type-tabs>button {min-height:39px;font-size:11px;padding-bottom:10px;color:#8da8bc}
.term-type-tabs>button.active {color:#d4e3ec}
.term-available {font-size:10px;margin-bottom:18px;color:#8b9fae}
.term-available strong {font-size:11px;color:#cedee9}
.term-input-label {font-size:11px;margin:14px 0 8px;color:#9db2c3}
.term-input-field {height:47px;border-radius:6px;background:#1d282f;border-color:#a9c3d314;box-shadow:none}
.term-input-field:focus-within {border-color:#94b4c65e;background:#24333c}
.term-input-field input {font-size:17px;letter-spacing:-.35px;padding:13px 58px 13px 12px;color:#e6eff3}
.term-input-field>span {font-size:10px;color:#8aabba}
.term-size-shortcuts {gap:6px;margin:8px 0 10px}
.term-size-shortcuts>button {min-height:31px;font-size:10px;border-radius:4px;background:#242f37;color:#93b7cb;border-color:#b2cad308;padding:6px 2px}
.term-size-shortcuts>button:hover {background:#2c4759;color:#dfedf3;border-color:#ffffff18}
.term-protect {min-height:36px;gap:8px;font-size:10px;color:#a2bdcc}
.term-protect input {width:13px;height:13px}
.term-protect small {font-size:10px;color:#8baabe}
.term-protect-fields {margin-top:7px;gap:8px}
.term-protect-fields label {font-size:10px}
.term-protect-fields input {min-height:41px;padding:10px;font-size:12px;border-radius:5px;background:#1e2a33}
.term-order-estimates {margin-top:10px;padding-top:14px;gap:11px;border-color:#ffffff09}
.term-order-estimates>div {font-size:10px;color:#7f9cac}
.term-order-estimates b {font-size:11px;color:#adcada}
.term-order-estimates span {color:#819ead}
.term-review {min-height:46px;border-radius:6px;margin-top:19px;font-size:12px;background:#89c9ac;color:#173328;padding:13px}
.term-review.short {background:#d999ac;color:#3c1e2b}
.term-review:hover {background:#a6dec1}
.term-review.short:hover {background:#e6b1c0}
.term-order-disclaimer {margin-top:10px;font-size:9px;color:#7897ab}
.term-account {margin-top:19px;padding-top:16px;gap:11px}
.term-position-panel {background:#131a20;border-color:#ffffff0a}
.term-table-head {height:50px;padding:0 18px;gap:18px}
.term-table-tabs {gap:25px}
.term-table-tabs>button {font-size:11px;min-height:43px;color:#86a2b5}
.term-table-tabs>button.active {color:#d6e4ec}
.term-table-tabs button>span {font-size:9px;background:#29414f;color:#abc8d8;padding:2px 5px;border-radius:3px}
.term-market-filter {display:flex;align-items:center;gap:6px;margin-left:auto;font-size:10px;color:#789baf;white-space:nowrap;cursor:pointer;min-height:35px}
.term-market-filter input {width:12px;height:12px;accent-color:#b9d5d6;margin:0}
.term-account-label {font-size:9px;color:#738e9f;margin-left:0;max-width:290px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.term-positions th {font-size:10px;padding:14px 18px 11px;color:#7897ac}
.term-positions td {font-size:11px;padding:14px 18px;color:#b8cfde;border-color:#ffffff06}
.term-positions td small {font-size:9px;color:#7696ab;margin-top:6px}
.term-position-symbol strong {font-size:11px}
.term-position-symbol>i {height:31px;background:#86bca4}
.term-table-action {font-size:10px;min-height:32px;padding:7px 11px;border-radius:4px;background:#263843;color:#accde0;border-color:#ffffff0b}
.term-table-action:hover {background:#335669;color:#e7f1f6;border-color:#ffffff16}
.term-status-bar {padding:10px 18px;background:#141d24;font-size:9px;border-color:#ffffff07;color:#7196ad}
.term-empty {padding:29px 12px}
.term-empty>strong {font-size:13px}
.term-empty>span {font-size:11px}
.terminal-app.is-chart-expanded:before {content:'';position:fixed;inset:0;background:#060b11c9;backdrop-filter:blur(5px);z-index:1001}
.terminal-app.is-chart-expanded .term-chart-panel {position:fixed;inset:24px;z-index:1002;border:1px solid #95b7cb26;border-radius:10px;box-shadow:0 30px 100px #00000090;overflow:hidden;background:#0c1319}
.terminal-app.is-chart-expanded .term-chart-toolbar {padding:10px 20px;min-height:56px;flex-wrap:nowrap;gap:11px}
.terminal-app.is-chart-expanded .term-timeframes button {min-width:46px;min-height:37px;font-size:12px}
.terminal-app.is-chart-expanded .term-chart-option,.terminal-app.is-chart-expanded .term-indicator-toggle {min-height:37px;font-size:12px;padding:8px 11px}
.terminal-app.is-chart-expanded .term-chart-style-switch>button {height:37px;width:37px}
.terminal-app.is-chart-expanded .term-expand-chart {width:39px;height:39px}
.terminal-app.is-chart-expanded .term-chart-data {font-size:12px;height:40px;padding:14px 26px 0}
.terminal-app.is-chart-expanded .term-chart-wrap,.terminal-app.is-chart-expanded .term-chart-svg {flex:1;min-height:0;height:100%}
.terminal-app.is-chart-expanded .term-chart-wrap {min-height:150px}
.terminal-app.is-chart-expanded .term-community-bar {display:none}
.terminal-app.is-chart-expanded .term-chart-footer {height:37px;min-height:37px;padding:0 24px;font-size:11px}
.terminal-app.is-chart-expanded .term-chart-svg {width:100%;margin-left:0}
@media(min-width:1051px) {.term-order-panel .term-account{display:none}.term-order-panel form>.term-input-label:first-child{margin-top:0}}
@media(min-width:1600px) {
  .term-workspace {grid-template-columns:minmax(470px,1fr) 267px 311px}
  .term-market-bar {gap:40px}
  .term-market-price strong {font-size:32px}
  .term-depth-row {font-size:11px!important;min-height:24px;padding:5px 16px}
  .term-book-cols {font-size:10px;padding-left:16px;padding-right:16px}
  .term-book-cols small {font-size:9px}
  .term-tape-row {font-size:11px!important;padding-left:16px;padding-right:16px}
  .term-tape-row>span:last-child {font-size:10px}
  .term-chart-toolbar {gap:5px 9px;padding-left:15px;padding-right:15px}
  .term-chart-option,.term-indicator-toggle {font-size:11px}
  .term-timeframes button {font-size:12px;min-width:37px}
  .term-order-panel {padding-left:21px;padding-right:21px}
  .term-chart-wrap,.term-chart-svg {min-height:431px}
}
@media(max-width:1250px) {
  .term-workspace {grid-template-columns:minmax(305px,1fr) 213px 268px}
  .term-account-strip {gap:15px}
  .term-account-balances {gap:16px;padding-left:16px}
  .term-account-balances>span:last-child {display:none}
  .term-account-meta {gap:5px}
  .term-account-meta>span:first-child {display:none}
  .term-account-meta>span+span:before {display:none}
  .term-account-strip-actions>button:first-child {display:none}
  .term-chart-toolbar {gap:2px 4px;padding:5px 8px}
  .term-timeframes button {min-width:31px;font-size:10px;padding:7px 6px}
  .term-chart-style-switch>button {width:26px}
  .term-chart-option,.term-indicator-toggle {font-size:9px;padding:7px 5px}
  .term-expand-chart {width:27px}
  .term-chart-data {font-size:9px;gap:8px;padding-left:12px}
  .term-depth-row {font-size:9px!important;padding:5px 11px;gap:6px}
  .term-book-cols {font-size:9px;padding-left:11px;padding-right:11px;gap:6px}
  .term-book-mid {padding-left:11px;padding-right:11px}
  .term-book-mid>span {font-size:7px;gap:4px}
  .term-book-mid>span i {font-size:7px}
  .term-order-panel {padding-left:15px;padding-right:15px}
  .term-account-label {display:none}
}
@media(max-width:1050px) {
  .term-workspace {grid-template-columns:minmax(320px,1fr) 247px}
  .term-order-panel {padding:23px;column-gap:34px}
  .term-order-heading {height:38px;margin-bottom:12px}
  .term-side-toggle {height:auto}
  .term-side-toggle>button {min-height:39px}
  .term-order-panel .term-account {display:flex}
  .term-account-strip {flex-wrap:wrap;gap:12px 18px}
  .term-account-choice {min-width:0;flex:0 1 auto}
  .term-account-balances {padding-left:18px;gap:19px;order:0}
  .term-account-strip-actions {margin-left:auto}
  .term-account-meta {margin-left:0}
  .term-depth-row {font-size:10px!important;min-height:23px;padding:5px 14px}
  .term-chart-toolbar {gap:4px 6px}
  .term-chart-data {font-size:10px}
  .term-chart-wrap,.term-chart-svg {min-height:420px}
}
@media(max-width:700px) {
  .terminal-app {border-radius:10px}
  .term-ticker-bar {height:39px;padding:0 13px;gap:0}
  .term-ticker-bar>button {min-height:38px;font-size:10px;padding:0 9px;gap:6px}
  .term-ticker-bar em {font-size:9px}
  .term-simulation {font-size:9px;gap:5px}
  .term-account-strip {padding:14px;gap:12px 8px}
  .term-account-choice {flex:1 1 100%;gap:9px}
  .term-account-choice-icon {width:33px;height:33px}
  .term-account-choice label {font-size:9px}
  .term-account-select-wrap select {font-size:12px;min-height:26px}
  .term-account-meta {font-size:10px;gap:7px}
  .term-account-meta>span:first-child {display:inline}
  .term-account-meta>span+span:before {display:inline}
  .term-account-balances {display:none}
  .term-account-strip-actions {gap:4px}
  .term-account-strip-actions>button {min-height:38px;font-size:10px}
  .term-market-bar {padding:20px 15px;gap:12px;min-height:97px}
  .term-pair {gap:9px;padding-right:0}
  .term-coin {height:32px;width:32px;font-size:25px}
  .term-pair-select select {font-size:16px;width:131px}
  .term-market-price {min-width:0;gap:7px}
  .term-market-price strong {font-size:27px}
  .term-chart-toolbar {padding:7px 11px;gap:3px 5px;min-height:74px;justify-content:flex-start}
  .term-timeframes {flex:1 1 calc(100% - 83px)}
  .term-timeframes button {min-width:41px;min-height:33px;font-size:12px}
  .term-chart-tool-divider {display:none}
  .term-chart-style-switch>button {width:30px;height:33px}
  .term-chart-option,.term-indicator-toggle {font-size:11px;min-height:33px;padding:7px 10px}
  .term-expand-chart {height:33px;width:33px;margin-left:auto}
  .term-chart-data {padding-left:15px;gap:8px;font-size:9px;height:34px}
  .term-chart-wrap,.term-chart-svg {height:305px;min-height:305px}
  .term-chart-svg {width:155%;margin-left:-55%;max-width:none}
  .term-chart-label {font-size:13px}
  .term-price-label,.term-cross-price {font-size:12px}
  .term-chart-brand {font-size:32px;letter-spacing:-1.1px}
  .term-chart-footer {height:32px;padding:0 13px;font-size:8px;gap:10px}
  .term-chart-footer>span:last-child {display:none}
  .term-community-bar {min-height:64px;padding:13px 15px}
  .term-community-bar b {font-size:11px}
  .term-community-bar small {font-size:10px}
  .term-order-panel {padding:18px 18px 24px}
  .term-order-heading {height:39px;margin-bottom:14px}
  .term-order-heading h3 {font-size:15px}
  .term-order-heading>button {min-height:38px;min-width:57px;font-size:12px}
  .term-side-toggle>button {min-height:43px;font-size:13px}
  .term-type-tabs {height:47px;margin:10px 0 18px}
  .term-type-tabs>button {min-height:43px;font-size:12px}
  .term-available {font-size:12px;margin:0 0 22px}
  .term-available strong {font-size:12px}
  .term-input-label {font-size:12px;margin-bottom:9px}
  .term-input-field {height:53px;border-radius:8px}
  .term-input-field input {font-size:19px}
  .term-input-field>span {font-size:11px}
  .term-size-shortcuts {margin:9px 0 13px;gap:8px}
  .term-size-shortcuts>button {min-height:38px;font-size:11px;border-radius:5px}
  .term-protect {min-height:44px;font-size:12px}
  .term-protect small {font-size:11px}
  .term-protect input {width:15px;height:15px}
  .term-order-estimates {padding-top:19px;gap:14px;margin-top:11px}
  .term-order-estimates>div,.term-order-estimates b {font-size:12px}
  .term-review {min-height:51px;font-size:14px;margin-top:22px;border-radius:8px}
  .term-order-disclaimer {font-size:10px;margin-top:12px}
  .term-account {gap:15px;margin-top:24px;padding-top:20px}
  .term-table-head {padding:0 15px;gap:10px;height:53px}
  .term-table-tabs {gap:19px}
  .term-table-tabs>button {font-size:11px}
  .term-market-filter {font-size:9px;gap:5px}
  .term-market-filter input {width:11px;height:11px}
  .term-positions {min-width:785px}
  .term-status-bar {font-size:8px;padding:11px 15px}
  .terminal-app.is-chart-expanded .term-chart-panel {inset:10px}
  .terminal-app.is-chart-expanded .term-chart-toolbar {padding:8px 11px;flex-wrap:wrap;gap:4px}
  .terminal-app.is-chart-expanded .term-timeframes button {font-size:12px;min-width:40px;min-height:34px}
  .terminal-app.is-chart-expanded .term-chart-style-switch>button {width:30px;height:34px}
  .terminal-app.is-chart-expanded .term-chart-option,.terminal-app.is-chart-expanded .term-indicator-toggle {font-size:11px;min-height:33px;padding:7px}
  .terminal-app.is-chart-expanded .term-chart-data {font-size:10px;height:37px;padding-left:15px}
  .terminal-app.is-chart-expanded .term-chart-footer {font-size:9px;padding:0 13px}
  .terminal-app.is-chart-expanded .term-chart-svg {width:155%;margin-left:-55%}
}

/* V6: chart colors are reusable by Standard and Pro in either appearance. */
:root {
  --trade-candle-up:#76bba0;--trade-candle-down:#d58494;--trade-price-badge:#8bcab1;
  --trade-ema:#d5ad78;--trade-level-position:#8caac7;--trade-level-tp:#8abca5;
  --trade-level-sl:#c48c98;--trade-level-order:#bfad7c;--trade-level-bg:#172129;
}
/* The outer shell supplies a viewport column and the 48px mode bar. */
@media(min-width:1050px) and (min-height:650px) {
  .trade-immersive .terminal-app:not(.is-chart-expanded) {display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:100%;border-radius:0;border:0;box-shadow:none;overflow:hidden}
  .trade-immersive .terminal-app>.term-ticker-bar {height:29px;min-height:29px;flex:0 0 29px;padding:0 17px}
  .trade-immersive .term-ticker-bar>button {min-height:28px;font-size:10px;gap:9px}
  .trade-immersive .term-ticker-bar em {font-size:9px}
  .trade-immersive .term-simulation {font-size:9px}
  .trade-immersive .terminal-app>.term-account-strip {min-height:49px;flex:0 0 auto;padding:8px 17px;gap:19px;flex-wrap:nowrap}
  .trade-immersive .term-account-choice {flex:0 1 auto;gap:8px;min-width:0}
  .trade-immersive .term-account-choice-icon {width:29px;height:29px;border-radius:6px}
  .trade-immersive .term-account-choice label {font-size:8px;margin-bottom:2px}
  .trade-immersive .term-account-select-wrap {min-width:164px;max-width:235px}
  .trade-immersive .term-account-select-wrap select {min-height:19px;font-size:11px}
  .trade-immersive .term-account-meta {margin-left:0;font-size:9px}
  .trade-immersive .term-account-balances {gap:28px;padding-left:22px;margin-left:auto}
  .trade-immersive .term-account-balances>span {font-size:8px;gap:4px}
  .trade-immersive .term-account-balances b {font-size:11px}
  .trade-immersive .term-account-strip-actions {margin-left:auto}
  .trade-immersive .term-account-strip-actions>button {min-height:29px;font-size:9px;padding:6px 9px;border-radius:5px}
  .trade-immersive .terminal-app>.term-market-bar {min-height:73px;flex:0 0 auto;padding:12px 18px;gap:33px}
  .trade-immersive .term-market-price strong {font-size:28px}
  .trade-immersive .term-market-price {gap:6px}
  .trade-immersive .term-pair-select select {font-size:17px;min-height:26px}
  .trade-immersive .term-pair small {font-size:9px}
  .trade-immersive .term-coin {height:33px;width:33px;font-size:25px}
  .trade-immersive .term-market-stat {gap:7px}
  .trade-immersive .term-market-stat>span {font-size:9px}
  .trade-immersive .term-market-stat>b {font-size:10px}
  .trade-immersive .terminal-app>.term-readonly-banner {flex:0 0 auto;padding:5px 17px;min-height:34px;font-size:10px}
  .trade-immersive .term-readonly-banner>button {min-height:26px;font-size:10px;padding-top:4px;padding-bottom:4px}
  .trade-immersive .terminal-app>.term-workspace {display:grid;grid-template-columns:minmax(280px,1fr) 232px 285px;grid-template-rows:minmax(0,1fr);flex:1 1 0;min-height:0;overflow:hidden}
  .trade-immersive .term-chart-panel {grid-column:1;grid-row:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}
  .trade-immersive .term-chart-toolbar {min-height:42px;flex:0 0 auto;padding:4px 11px;gap:3px 7px}
  .trade-immersive .term-chart-data {height:28px;min-height:28px;flex:0 0 28px;padding-top:9px;font-size:9px}
  .trade-immersive .term-chart-wrap {flex:1 1 0;min-height:0;height:auto;overflow:hidden}
  .trade-immersive .term-chart-svg {height:100%;min-height:0;max-height:100%;width:100%;margin:0;display:block}
  .trade-immersive .term-chart-footer {height:25px;min-height:25px;flex:0 0 25px;font-size:8px}
  .trade-immersive .term-chart-panel>.term-community-bar {display:none}
  .trade-immersive .term-orderbook {grid-column:2;grid-row:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#415564 transparent;display:block}
  .trade-immersive .term-depth-tabs {position:sticky;top:0;z-index:3;height:42px;min-height:42px;background:#11181e}
  .trade-immersive .term-depth-row,.trade-immersive .term-tape-row {width:100%}
  .trade-immersive .term-book-tools {height:33px}
  .trade-immersive .term-order-panel {grid-column:3;grid-row:1;display:block;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#415564 transparent;padding:0 17px 19px}
  .trade-immersive .term-order-heading {height:47px;margin:0}
  .trade-immersive .term-order-panel form {padding:0;border:0}
  .trade-immersive .term-order-panel .term-account {display:none}
  .trade-immersive .terminal-app>.term-position-panel {display:flex;flex-direction:column;flex:0 0 clamp(115px,19vh,170px);height:clamp(115px,19vh,170px);min-height:0;max-height:170px;overflow:hidden}
  .trade-immersive .term-table-head {flex:0 0 41px;height:41px;min-height:41px;padding:0 18px}
  .trade-immersive .term-table-tabs>button {min-height:39px;font-size:10px}
  .trade-immersive .term-table-scroll {flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#415564 transparent}
  .trade-immersive .term-positions th {position:sticky;top:0;z-index:2;background:#131a20;padding:9px 18px;font-size:9px;box-shadow:0 1px 0 #ffffff07}
  .trade-immersive .term-positions td {padding:9px 18px;font-size:10px}
  .trade-immersive .term-positions td small {margin-top:4px;font-size:8px}
  .trade-immersive .term-position-symbol strong {font-size:10px}
  .trade-immersive .term-position-symbol>i {height:28px}
  .trade-immersive .term-table-action {min-height:27px;font-size:9px;padding:5px 9px}
  .trade-immersive .term-empty {padding:17px 10px;gap:7px}
  .trade-immersive .term-empty>svg {display:none}
  .trade-immersive .term-empty>strong {font-size:11px}
  .trade-immersive .term-empty>span {font-size:10px}
  .trade-immersive .terminal-app>.term-status-bar {flex:0 0 21px;min-height:21px;height:21px;padding:3px 17px;font-size:8px;line-height:1.4}
  .trade-immersive .terminal-app.is-chart-expanded {display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;border-radius:0;border:0}
}
@media(min-width:1050px) and (max-width:1249px) and (min-height:650px) {
  .trade-immersive .terminal-app>.term-workspace {grid-template-columns:minmax(280px,1fr) 205px 267px}
  .trade-immersive .term-account-balances {gap:20px;padding-left:17px}
  .trade-immersive .term-account-balances>span:last-child {display:none}
  .trade-immersive .term-account-meta>span:first-child {display:none}
  .trade-immersive .term-account-strip-actions>button:first-child {display:none}
}
@media(min-width:1600px) and (min-height:650px) {
  .trade-immersive .terminal-app>.term-workspace {grid-template-columns:minmax(400px,1fr) 260px 306px}
  .trade-immersive .term-market-price strong {font-size:30px}
}
@media(min-width:1050px) and (min-height:650px) and (max-height:749px) {
  .trade-immersive .terminal-app>.term-position-panel {flex-basis:115px;height:115px}
  .trade-immersive .terminal-app>.term-market-bar {min-height:65px;padding-top:9px;padding-bottom:9px}
  .trade-immersive .terminal-app>.term-account-strip {min-height:43px;padding-top:6px;padding-bottom:6px}
  .trade-immersive .term-market-price strong {font-size:25px}
  .trade-immersive .term-chart-data {height:24px;min-height:24px;flex-basis:24px;padding-top:6px}
}
/* Short windows retain the normal, scrollable layout rather than shrinking controls. */
@media(max-height:649px),(max-width:1049px) {
  .trade-immersive .terminal-app {flex:0 0 auto;min-height:auto;max-height:none}
}

/* Fixed type for the fitted chart; geometry remains in the SVG coordinate space. */
.term-chart-html-axes {display:none}
@media(min-width:1050px) and (min-height:650px) {
  .trade-immersive .term-chart-html-axes {display:block;position:absolute;inset:0;z-index:2;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;color:#91a7b7}
  .trade-immersive .term-chart-svg :is(.term-chart-label,.term-price-label,.term-svg-price-badge) {display:none}
  .trade-immersive .term-axis-price {position:absolute;right:0;min-width:9.2%;padding:0 6px;transform:translateY(-50%);font-size:10px;line-height:15px;white-space:nowrap;background:var(--term-chart-axis-bg,#11181e)}
  .trade-immersive .term-axis-quote {position:absolute;right:0;min-width:10%;padding:4px 5px;transform:translateY(-50%);border-radius:3px;background:var(--trade-price-badge);color:#133529;font-size:10px;line-height:13px;text-align:center;font-weight:550;white-space:nowrap}
  .trade-immersive .term-axis-time {position:absolute;bottom:1px;font-size:9px;line-height:15px;white-space:nowrap}
  .trade-immersive .term-axis-volume {position:absolute;left:2.4%;top:80.5%;font-size:9px;line-height:14px;color:#879dab}
}

/* V7: official external charts keep their own controls and attribution intact. */
.term-market-price>strong {display:flex;align-items:center;gap:9px}
.term-quote-badge {display:inline-flex;align-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:4px;background:var(--panel);padding:4px 5px;color:var(--muted);font-size:9px;font-weight:500;line-height:1;letter-spacing:0;white-space:nowrap}
.term-chart-panel.has-external-chart {display:flex;flex-direction:column;min-width:0}
.term-tv-toolbar {flex:0 0 auto;min-height:44px;gap:10px}
.term-tv-interval-label {font-size:11px;color:var(--muted);white-space:nowrap}
.term-tv-toolbar-hint {font-size:10px;color:var(--muted);margin-left:5px;white-space:nowrap}
.term-tv-reference {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;flex:0 0 auto;min-height:31px;padding:7px 16px;background:var(--panel);border-bottom:1px solid var(--line);font-size:10px;line-height:1.35;color:var(--muted)}
.term-tv-reference>span:first-child {color:var(--text);font-weight:500}
.term-tv-host {position:relative;display:flex;flex-direction:column;flex:1 0 430px;min-height:430px;width:100%;background:var(--bg)}
.term-tv-host>* {flex:1;min-width:0;width:100%}
.terminal-app.is-chart-expanded .term-tv-host {flex:1 1 0;min-height:0;height:auto}
@media(min-width:1050px) and (min-height:650px) {
  .trade-immersive .term-chart-panel.has-external-chart {min-height:0}
  .trade-immersive .term-tv-host {flex:1 1 0;min-height:0;height:auto}
  .trade-immersive .term-tv-toolbar {min-height:39px;flex-basis:39px}
  .trade-immersive .term-tv-reference {min-height:30px;padding:6px 12px}
  .trade-immersive .term-quote-badge {font-size:8px;padding:3px 4px}
}
@media(max-width:1249px) {
  .term-tv-toolbar-hint {display:none}
  .term-quote-badge {font-size:8px;padding:3px 4px}
}
@media(max-width:700px) {
  .term-tv-toolbar {padding:4px 11px;gap:6px}
  .term-tv-interval-label {font-size:10px}
  .term-tv-reference {padding:8px 12px;justify-content:flex-start}
  .term-tv-host {flex-basis:385px;min-height:385px}
  .term-market-price>strong {gap:6px}
}
/* V11: one order ticket and ledger; market data remains visible at compact widths. */
.terminal-app .term-order-panel[data-order-ticket]{display:block;padding:0 14px;min-width:0}.term-market-bar{gap:22px;padding-top:15px;padding-bottom:15px;min-height:87px;overflow-x:auto}.term-market-bar .term-market-stat{display:flex!important;flex:none;margin-left:0}.term-market-bar .term-funding{margin-left:auto}.term-market-price strong{font-size:26px}.term-market-price{min-width:135px}.term-market-stat>b{font-size:11px}.term-market-stat>span{font-size:10px}.term-market-stat em{font-size:10px}.term-market-stat.term-funding b{display:flex;gap:7px}.term-pair{padding-right:16px}.term-market-price>span small{color:var(--muted);margin-left:4px;font-size:9px}.terminal-app .term-position-panel{min-width:0;overflow:hidden}.terminal-app .term-account-strip-actions button{font-size:10px}.term-book-mid>span{line-height:1.6}.term-depth-note{line-height:1.5}
@media(max-width:1050px){.terminal-app .term-order-panel[data-order-ticket]{padding:0 18px 15px}.terminal-app .term-order-panel .ow-ticket{max-width:520px;margin:auto}.term-market-bar{gap:20px}.term-market-bar .term-market-stat{margin-left:0}}@media(max-width:700px){.term-market-bar{justify-content:flex-start;padding:13px 12px;min-height:83px}.term-market-bar .term-market-stat{display:flex!important}.term-market-price{min-width:122px;text-align:left}.term-market-price strong{font-size:23px}.term-pair{padding-right:0}.term-ticker-bar{overflow-x:auto}.term-simulation{padding-left:15px}.terminal-app .term-order-panel[data-order-ticket]{padding:0 15px 15px}}
