.terminal-scene{position:relative;width:1440px;height:900px;overflow:hidden;background:#0a0a0a;color:#dadbdf;font:12px/1.4 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;--terminal-line:#212327;--terminal-muted:#8c9096;--terminal-green:#27f5a6;--terminal-red:#ff5471;--terminal-cyan:#45dfff}
.terminal-scene *{box-sizing:border-box}.terminal-scene button,.terminal-scene input{font:inherit}.terminal-scene button{color:inherit;background:transparent;border:1px solid #34373b;border-radius:7px;cursor:pointer}.terminal-scene button:hover:not(:disabled){background:#242527;color:#fff}.terminal-scene button:disabled{cursor:default}.terminal-scene svg{fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.terminal-scene .terminal-positive{color:var(--terminal-green)}.terminal-scene .terminal-negative{color:var(--terminal-red)}.terminal-scene small{font-size:11px}.terminal-scene strong{font-weight:400}.terminal-breadcrumb{position:absolute;left:0;top:0;width:1440px;height:48px;display:flex;align-items:center;gap:6px;padding:0 16px;border-bottom:1px solid #303237;background:#111}.terminal-breadcrumb>button{border:0;padding:0;color:#8c9096}.terminal-breadcrumb>span{color:#666970}.terminal-breadcrumb>strong{color:#dadbdf}.terminal-breadcrumb>.terminal-back{margin-left:auto;display:flex;align-items:center;gap:5px;padding:6px 10px;background:#191919;border:1px solid #34373b}.terminal-back svg{height:14px;width:14px}
.terminal-market{position:absolute;left:0;top:48px;width:1120px;height:62px;display:flex;align-items:center;gap:16px;padding:0 16px;border-bottom:1px solid var(--terminal-line);overflow:hidden;background:#111}.terminal-symbol{height:31px;min-width:134px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 11px;font-size:13px!important;background:#191919!important;color:#fff!important}.terminal-quote{font-size:11px;line-height:17px;white-space:nowrap;color:#8c9096;flex-shrink:0}.terminal-quote strong{display:block;color:#b8bac0;font-size:11px;line-height:16px}.terminal-funding-time{min-width:130px}.terminal-oi{min-width:91px}.terminal-period{white-space:nowrap;flex-shrink:0;padding:7px 11px;font-size:11px!important;background:#191919!important;height:32px;margin-left:auto}.terminal-square{width:31px;height:32px;display:grid;place-items:center;flex-shrink:0;padding:7px}.terminal-square svg{width:16px;height:16px}.terminal-market .terminal-square{margin-left:-10px}
.terminal-chart{position:absolute;left:0;top:110px;width:860px;height:525px;overflow:hidden;background:#0a0a0a}.terminal-chart-label{height:24px;display:flex;justify-content:space-between;align-items:center;padding:9px 16px 0 47px;color:#8c9096;font-size:10px;letter-spacing:.1px}.terminal-chart-demo{font-size:9px;color:#666a70}.terminal-chart>svg{width:860px;height:501px;stroke:#1d2023;stroke-width:.7}.terminal-chart>svg text{stroke:none;fill:#73777d;font-size:10px;font-family:inherit}.terminal-chart .terminal-candle-up{fill:var(--terminal-green);stroke:var(--terminal-green);stroke-width:1}.terminal-chart .terminal-candle-down{fill:var(--terminal-red);stroke:var(--terminal-red);stroke-width:1}.terminal-chart .terminal-volume-bar{stroke:none;opacity:.22}.terminal-chart .terminal-mark-line{stroke:var(--terminal-red);stroke-dasharray:3 4;opacity:.6}.terminal-chart .terminal-price-tag{stroke:none;fill:#a64444}.terminal-chart .terminal-price-tag-text{fill:#fff}
.terminal-orderbook{position:absolute;left:860px;top:110px;width:260px;height:525px;overflow:hidden;border-left:1px solid #303237;padding:0 8px;background:#0c0c0c;font-size:11px}.terminal-book-head,.terminal-book-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;position:relative}.terminal-book-head{color:#73777d;height:26px;align-items:center}.terminal-book-head span:not(:first-child),.terminal-book-row span:not(:first-child){text-align:right}.terminal-book-row{height:17.5px;align-items:center;isolation:isolate;line-height:17px;color:#a3a6ad}.terminal-book-row:before{content:"";position:absolute;z-index:-1;right:0;top:1px;height:16px;width:var(--depth)}.terminal-book-ask:before{background:#ff54712b}.terminal-book-bid:before{background:#27f5a62b}.terminal-book-ask span:first-child{color:var(--terminal-red)}.terminal-book-bid span:first-child{color:var(--terminal-green)}.terminal-book-last{height:40px;display:flex;align-items:center;gap:8px;font-size:12px}.terminal-book-last small{font-size:11px;color:#888b92;text-decoration:underline dotted;text-underline-offset:2px}.terminal-drag-divider{position:absolute;left:0;top:635px;width:1120px;height:5px;background:#292b2f;border-top:1px solid #45474c}
.terminal-order-panel{position:absolute;left:1120px;top:48px;width:320px;height:852px;padding:11px 12px 0;border-left:1px solid #303237;overflow:hidden;background:#111;font-size:11px}.terminal-order-mode{height:29px;display:flex;align-items:center;gap:8px}.terminal-order-mode>button:first-child{width:175px;display:flex;justify-content:space-between;padding:5px 10px}.terminal-order-mode>button:nth-child(2){width:74px;display:flex;justify-content:space-between;padding:5px 8px;background:#242527;color:#a1a4a9}.terminal-order-mode .terminal-square{height:29px;width:31px}.terminal-order-types{display:flex;align-items:center;justify-content:space-between;margin-top:10px;height:29px;color:#8c9096}.terminal-order-types>div{display:flex;border:1px solid #34373b;border-radius:18px;height:29px;padding:2px}.terminal-order-types button{border:0;border-radius:16px;padding:2px 11px;color:#8c9096}.terminal-order-types button.terminal-selected{color:#fff;background:#2b2c2f}.terminal-order-types>span{font-size:13px}.terminal-amount-label{display:block;width:max-content;height:21px;border:1px solid #34373b;border-radius:14px;padding:1px 8px;margin-top:17px;color:#9b9ea4;font-size:10px}.terminal-amount{width:100%;height:47px;border:1px solid #34373b;border-radius:27px;padding:0 12px;margin-top:4px;background:#0a0a0a;color:#fff;font-size:13px!important;appearance:textfield;-moz-appearance:textfield}.terminal-amount::-webkit-outer-spin-button,.terminal-amount::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.terminal-amount::placeholder{color:#777a80}.terminal-slider{height:43px;padding-top:19px}.terminal-slider>div:first-child{display:flex;justify-content:space-between;align-items:center;height:8px}.terminal-slider i{height:8px;width:8px;border:2px solid #303338;border-radius:50%;display:block}.terminal-slider i.terminal-slider-active{height:14px;width:14px;background:#fff;border-color:#fff;box-shadow:0 0 0 1px #60646a;margin-left:-3px;margin-right:-3px}.terminal-slider>div:last-child{display:flex;justify-content:space-between;font-size:10px;color:#757980;margin-top:5px}.terminal-tpsl{display:flex;align-items:center;gap:8px;height:34px;margin-top:4px}.terminal-tpsl input{appearance:none;width:20px;height:20px;border:1px solid #34373b;border-radius:7px;background:#191919;margin:0}.terminal-tpsl input:checked{background:#dadbdf;box-shadow:inset 0 0 0 4px #191919}.terminal-tpsl span{color:#8c9096;margin-left:8px}.terminal-cost-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #292b2f;border-bottom:1px solid #292b2f;height:69px;margin-top:8px}.terminal-cost-grid>div{padding:8px 0}.terminal-cost-grid>div+div{border-left:1px solid #292b2f;padding-left:10px;margin-left:10px}.terminal-cost-grid p{display:flex;justify-content:space-between;gap:4px;font-size:10px;line-height:15px;margin:0}.terminal-cost-grid p>span{color:#8c9096}.terminal-cost-grid strong{text-align:right;white-space:nowrap;font-size:10px}.terminal-dotted{text-decoration:underline dotted;text-underline-offset:4px;color:#c0c2c8!important}.terminal-order-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;height:40px;margin-top:12px}.terminal-order-buttons button{font-size:12px;border-radius:7px}.terminal-order-buttons .terminal-buy{border-color:#234a2e;background:#254831;color:#8fb99b}.terminal-order-buttons .terminal-sell{border-color:#57252a;background:#241619;color:#c8797f}.terminal-side-section{border-top:1px solid #292b2f;margin-top:12px;padding-top:9px}.terminal-side-section h3{font-size:11px;font-weight:400;margin:0 0 7px;color:#dadbdf}.terminal-stat{height:24px;display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:10px}.terminal-stat>span{color:#8c9096;white-space:nowrap}.terminal-stat i{font-style:normal;color:#a2a5ac;font-size:12px;margin-right:4px}.terminal-stat strong{font-size:10px;white-space:nowrap}.terminal-assets{margin-top:13px;padding-top:9px;height:129px}.terminal-rules{margin-top:0;padding-top:10px}.terminal-condition{display:grid;grid-template-columns:1fr 110px;gap:12px;margin:9px 0 14px;font-size:10px;min-height:47px}.terminal-condition>div:first-child{display:flex;flex-direction:column;gap:4px}.terminal-condition>div:first-child span{color:#8c9096}.terminal-condition>div:last-child{padding-top:17px;text-align:right}.terminal-condition-track{height:8px;background:#303238;border-radius:5px;overflow:hidden;margin-bottom:8px}.terminal-condition-track i{display:block;height:100%;background:#8c9096;border-radius:5px}.terminal-condition-track .terminal-condition-profit{background:#a7abb1}.terminal-condition small{font-size:10px;white-space:nowrap}
.terminal-bottom{position:absolute;left:0;top:640px;width:1120px;height:260px;overflow:hidden;background:#0a0a0a}.terminal-bottom-tabs{height:40px;display:flex;align-items:center;gap:4px;padding:0 16px;border-bottom:1px solid #303237;white-space:nowrap;background:#111;overflow:hidden}.terminal-bottom-tabs>button{border-color:transparent;padding:6px 10px;color:#8c9096;font-size:12px;flex-shrink:0;white-space:nowrap}.terminal-bottom-tabs>button.terminal-active-tab{color:#fff;border-color:#7f838b;background:#212326}.terminal-tab-actions{margin-left:auto;display:flex;gap:4px;align-items:center}.terminal-tab-actions button{display:flex;align-items:center;gap:4px;white-space:nowrap;padding:4px 6px;font-size:10px}.terminal-tab-actions svg{width:12px;height:12px}.terminal-positions-scroll{height:220px;overflow:auto;scrollbar-width:thin;scrollbar-color:#494c51 #111}.terminal-scene table{border-collapse:collapse;text-align:left;table-layout:fixed}.terminal-scene th{height:49px;font-size:10px;font-weight:400;color:#dadbdf;background:#111;border-bottom:1px solid #292b2f;text-align:left;padding:0 12px}.terminal-positions-table{width:1450px}.terminal-positions-table th:nth-child(1){width:200px}.terminal-positions-table th:nth-child(2){width:120px}.terminal-positions-table th:nth-child(3){width:168px}.terminal-positions-table th:nth-child(4),.terminal-positions-table th:nth-child(5){width:118px}.terminal-positions-table th:nth-child(6){width:172px}.terminal-positions-table th:nth-child(7){width:138px}.terminal-positions-table th:nth-child(8){width:150px}.terminal-positions-table th:nth-child(9){width:140px}.terminal-scene td{border-bottom:1px solid #292b2f;color:#a7aab1;font-size:11px;padding:12px;vertical-align:middle}.terminal-positions-table td{height:91px}.terminal-scene td strong{color:#fff;font-size:11px}.terminal-scene td small{display:block;margin-top:4px;font-size:10px}.terminal-positions-table td:first-child>span{display:block;font-size:10px;margin-top:4px}.terminal-positions-table td:first-child>small{color:#70757c;margin-top:3px;font-size:9px}.terminal-positions-table td:first-child>button{border:0;border-radius:0;font-size:9px;padding:0;color:#9da1a9;text-decoration:underline dotted;text-underline-offset:2px}.terminal-positions-table td:last-child>button{padding:5px 8px;font-size:10px}.terminal-scene tbody tr:hover{background:#191b1e}.terminal-ledger-scroll{height:177px;overflow:auto;scrollbar-width:thin;scrollbar-color:#494c51 #111}.terminal-ledger-table{width:1120px}.terminal-ledger-table th:first-child{width:272px}.terminal-ledger-table th:nth-child(2){width:189px}.terminal-ledger-table th:nth-child(3){width:138px}.terminal-ledger-table th:nth-child(4){width:149px}.terminal-ledger-table th:nth-child(5){width:157px}.terminal-ledger-table th:nth-child(6){width:145px}.terminal-ledger-table th:last-child{width:70px}.terminal-ledger-table td{height:64px}.terminal-ledger-table td small{font-size:11px}.terminal-analyze{height:28px;width:28px;display:grid;place-items:center;padding:5px;background:#191919!important;color:#dadbdf!important}.terminal-analyze svg{height:15px;width:15px}.terminal-pagination{height:43px;display:flex;align-items:center;gap:8px;padding:0 14px;border-top:1px solid #292b2f;color:var(--terminal-muted);font-size:10px;background:#0a0a0a}.terminal-pagination-divider{color:#35383d}.terminal-pagination>button{color:#dadbdf;padding:5px 8px;font-size:12px;width:120px;display:flex;justify-content:space-between}.terminal-pagination>div{margin-left:auto;display:flex;gap:4px}.terminal-pagination>div button{height:26px;min-width:26px;font-size:12px;padding:2px 5px}.terminal-pagination>div button[aria-current]{border-color:#8c9096;background:#202225;color:#fff}.terminal-pagination>div button:disabled{color:#34383f;border-color:#212327}
.terminal-guardian-overlay{position:absolute;inset:0;z-index:20;background:#0008}.terminal-guardian-modal{position:absolute;left:460px;top:63px;width:520px;height:774px;background:#111;border:1px solid #303338;border-radius:20px;overflow:hidden;box-shadow:0 24px 80px #0009;color:#dadbdf}.terminal-guardian-modal>header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #24262b;background:linear-gradient(110deg,#242529,#171819)}.terminal-guardian-modal h2{font-size:16px;font-weight:600;letter-spacing:-.2px;margin:0;color:#fff}.terminal-guardian-modal>header>button{font-size:27px;font-weight:300;border:0;padding:0;background:none;line-height:1;color:#8c9096}.terminal-guardian-scroll{height:642px;overflow:auto;padding:0 40px 0 20px;scrollbar-width:thin;scrollbar-color:#383c42 transparent}.terminal-guardian-row{height:47px;border-bottom:1px solid #212327;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.terminal-guardian-row>label{display:flex;align-items:center;gap:9px;white-space:nowrap}.terminal-guardian-row label>i{font-size:12px;font-style:normal;color:#8c9096}.terminal-guardian-row>div{display:flex;align-items:center;gap:6px}.terminal-guardian-enable{height:43px;margin-top:0}.terminal-guardian-disabled>.terminal-guardian-row:first-child{height:48px}.terminal-guardian-switch{width:48px;height:24px;padding:1px;border-radius:14px!important;border:1px solid #44484f!important;background:#303238!important;display:flex;align-items:center;justify-content:flex-start}.terminal-guardian-switch>span{height:20px;width:20px;border-radius:50%;background:#fff}.terminal-guardian-switch.terminal-switch-on{justify-content:flex-end;background:#8b8e95!important;border-color:#8b8e95!important}.terminal-guardian-switch.terminal-switch-on>span{background:#eee}.terminal-guardian-disabled{opacity:.65}.terminal-guardian-modal h3{font-size:12px;color:#dadbdf;font-weight:400;margin:0;height:42px;padding-top:6px;display:flex;align-items:center}.terminal-guardian-modal h3:nth-of-type(2){height:40px;padding-top:8px}.terminal-guardian-choice{display:flex;gap:6px;border:0;border-radius:0;padding:0;height:28px;background:transparent}.terminal-guardian-choice>button{font-size:11px;border:1px solid #34373b!important;border-radius:8px;padding:3px 10px;background:#111}.terminal-guardian-choice>button:first-child{min-width:124px}.terminal-guardian-choice>button:last-child{min-width:50px}.terminal-guardian-choice>button.terminal-guardian-choice-selected{background:#191919!important;border-color:#8c9096!important;color:#fff!important}.terminal-guardian-number{height:26px;width:110px;border:1px solid #34373b;border-radius:14px;display:flex;align-items:center;background:#191919;padding:0;overflow:hidden}.terminal-guardian-number input{width:74px;min-width:0;flex:1;height:24px;padding:0 11px;border:0;background:none;color:#dadbdf;appearance:textfield;-moz-appearance:textfield;font-size:12px}.terminal-guardian-number input::-webkit-inner-spin-button,.terminal-guardian-number input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.terminal-guardian-number>span{display:grid;place-items:center;flex-shrink:0;width:34px;height:24px;border-left:1px solid #34373b;background:#303238;color:#8c9096;font-size:12px}.terminal-guardian-note{font-size:11px!important;line-height:1.5!important;color:#8c9096;margin:12px 0 20px}.terminal-guardian-modal>footer{position:absolute;bottom:0;left:0;right:0;height:62px;border-top:1px solid #212327;background:#111;display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;padding:1px 20px 0}.terminal-guardian-modal>footer button{height:40px;min-width:105px;border:1px solid #34373b;border-radius:10px;background:#191919;font-size:14px;padding:0 16px}.terminal-guardian-modal>footer button:last-child{min-width:114px;background:#dadbdf;color:#111;border-color:#dadbdf;opacity:.25}
/* Fixed quote positions preserve the narrow original 1120px market strip. */
.terminal-market{display:block;padding:0}.terminal-market>*{position:absolute}.terminal-market>.terminal-symbol{left:16px;top:17px;width:134px}.terminal-market>.terminal-quote{top:8px}.terminal-market>.terminal-quote:nth-child(2){left:167px;top:15px;width:54px}.terminal-market>.terminal-quote:nth-child(3){left:221px;width:70px}.terminal-market>.terminal-quote:nth-child(4){left:307px;width:65px}.terminal-market>.terminal-quote:nth-child(5){left:389px;width:53px}.terminal-market>.terminal-quote:nth-child(6){left:458px;width:96px}.terminal-market>.terminal-quote:nth-child(7){left:571px;width:126px;min-width:0}.terminal-market>.terminal-quote:nth-child(8){left:716px;width:61px}.terminal-market>.terminal-quote:nth-child(9){left:793px;width:89px;min-width:0}.terminal-market>.terminal-period{left:899px;top:17px;width:129px;margin:0}.terminal-market>.terminal-square:nth-child(11){left:1034px;top:17px;width:32px;margin:0}.terminal-market>.terminal-square:nth-child(12){left:1072px;top:17px;width:32px;margin:0}
/* The full original order form is the default scroll position. */
.terminal-order-panel{overflow-y:auto;overflow-x:hidden;padding-bottom:16px;scrollbar-width:thin;scrollbar-color:#34373b #111}
.terminal-order-available{display:flex;justify-content:space-between;align-items:center;height:18px;margin-top:13px;font-size:11px;color:#8c9096}.terminal-order-available strong{font-size:11px;font-weight:400;color:#8c9096}
.terminal-price-label{display:block;height:16px;margin-top:11px;font-size:11px;color:#8c9096}.terminal-order-price{display:block;width:100%;height:36px;margin-top:4px;padding:0 12px;border:1px solid #3c3f44;border-radius:20px;background:#292b2e;color:#8c9096;font-size:14px!important;opacity:1;-webkit-text-fill-color:#8c9096}
.terminal-market-order-note{height:36px;margin:4px 0 0;font-size:12px;line-height:18px;color:#8c9096;max-width:288px}.terminal-amount-label{margin-top:7px}
/* Position table follows the source's 29px header and 92px rows. */
.terminal-positions-table{width:1592px}.terminal-positions-table th{height:29px;padding:0 12px;white-space:nowrap;font-size:12px;border-right:1px solid #212327}
.terminal-positions-table th:nth-child(1){width:208px}.terminal-positions-table th:nth-child(2){width:96px}.terminal-positions-table th:nth-child(3){width:191px}.terminal-positions-table th:nth-child(4){width:106px}.terminal-positions-table th:nth-child(5){width:120px}.terminal-positions-table th:nth-child(6){width:193px}.terminal-positions-table th:nth-child(7){width:146px}.terminal-positions-table th:nth-child(8){width:140px}.terminal-positions-table th:nth-child(9){width:140px}.terminal-positions-table th:nth-child(10){width:120px}.terminal-positions-table th:nth-child(11){width:132px}
.terminal-positions-table td{height:92px;padding:7px 12px;border-right:1px solid #212327;font-size:12px;white-space:nowrap}.terminal-positions-table td .terminal-position-contract{display:block;margin:0;font-size:12px;line-height:17px;font-weight:400;white-space:nowrap}
.terminal-position-direction{display:flex;gap:4px;align-items:center;height:18px;font-size:12px;line-height:17px}.terminal-position-direction>span:nth-child(2){color:#8c9096}.terminal-position-direction>span:last-child{color:#dadbdf}
.terminal-position-notes{display:flex;flex-direction:column;gap:0;margin-top:3px;font-size:10px;line-height:13px;color:#8c9096}.terminal-position-notes>span{display:block}.terminal-position-roe{margin-left:2px;font-size:12px}.terminal-positions-table td>small{font-size:11px;line-height:16px;margin-top:2px;color:#dadbdf}
.terminal-positions-table .terminal-position-tpsl{display:flex;gap:7px;padding:5px 6px;white-space:nowrap;font-size:12px}.terminal-position-actions{display:flex;gap:4px}.terminal-position-actions>button{display:grid;place-items:center;width:24px;height:28px;padding:0;border:0;font-size:16px;color:#a6aab2}

/* Brighter semantic data accents on the same dark trading layout. */

.terminal-chart .terminal-mark-up{stroke:var(--terminal-green)}.terminal-chart .terminal-mark-down{stroke:var(--terminal-red)}.terminal-chart .terminal-tag-up{fill:var(--terminal-green)}.terminal-chart .terminal-tag-down{fill:var(--terminal-red)}.terminal-chart .terminal-tag-text-up{fill:#06271b}.terminal-chart .terminal-tag-text-down{fill:#2f0910}
.terminal-order-buttons .terminal-buy{background:#27f5a6;border-color:#27f5a6;color:#06271b}.terminal-order-buttons .terminal-buy:hover{background:#63e9af!important;color:#06271b!important}.terminal-order-buttons .terminal-sell{background:#ff547117;border-color:#ff547166;color:#ff8192}.terminal-order-buttons .terminal-sell:hover{background:#ff54712a!important;color:#ff9aaa!important}

/* English sales-demo treatment: bright controls, unchanged source geometry. */
.terminal-bottom-tabs>button.terminal-active-tab{color:var(--terminal-cyan);border-color:var(--terminal-cyan);background:#45dfff16}
.terminal-tab-actions button,.terminal-analyze{color:var(--terminal-cyan)!important;border-color:#45dfff70}.terminal-analyze{background:#45dfff12!important}
.terminal-period{border-color:#45dfff80!important;color:var(--terminal-cyan)!important}.terminal-market>.terminal-square:first-of-type{color:var(--terminal-cyan)}
.terminal-order-types button.terminal-selected{color:var(--terminal-cyan);background:#45dfff20}.terminal-slider i.terminal-slider-active{background:var(--terminal-cyan);border-color:var(--terminal-cyan);box-shadow:0 0 0 1px #45dfff70}
.terminal-order-buttons .terminal-buy{background:var(--terminal-green);border-color:var(--terminal-green);color:#05251a}.terminal-order-buttons .terminal-buy:hover{background:#74ffc8!important;color:#05251a!important}
.terminal-order-buttons .terminal-sell{background:#ff547126;border-color:var(--terminal-red);color:#ff7188}.terminal-order-buttons .terminal-sell:hover{background:#ff547140!important;color:#ff9aaa!important}
.terminal-position-direction>span:last-child{color:var(--terminal-cyan)}.terminal-position-tpsl{border-color:#45dfff70!important;color:var(--terminal-cyan)!important}.terminal-position-actions>button{color:var(--terminal-cyan)}
.terminal-chart .terminal-volume-bar{opacity:.36}.terminal-chart .terminal-mark-line{opacity:.9}.terminal-book-ask:before{background:#ff547133}.terminal-book-bid:before{background:#27f5a633}
.terminal-condition-track .terminal-condition-profit{background:var(--terminal-green)}
.terminal-guardian-modal>header{background:linear-gradient(110deg,#123742,#191919)}.terminal-guardian-row label>i{color:var(--terminal-cyan)}.terminal-guardian-switch.terminal-switch-on{background:var(--terminal-cyan)!important;border-color:var(--terminal-cyan)!important}
.terminal-guardian-choice>button.terminal-guardian-choice-selected{background:#45dfff18!important;color:var(--terminal-cyan)!important;border-color:var(--terminal-cyan)!important}
/* Column alignment stays consistent with values while keeping the source widths. */
.terminal-positions-table th:nth-child(n+2):nth-child(-n+9),.terminal-positions-table td:nth-child(n+2):nth-child(-n+9){text-align:right}
.terminal-positions-table th:nth-child(10),.terminal-positions-table th:nth-child(11){text-align:center}.terminal-position-tpsl,.terminal-position-actions{margin-left:auto;margin-right:auto;width:max-content}
.terminal-ledger-table th:nth-child(n+4):nth-child(-n+6),.terminal-ledger-table td:nth-child(n+4):nth-child(-n+6){text-align:right}
.terminal-market>.terminal-square{color:var(--terminal-cyan);border-color:#45dfff65}

/* Shared local cryptocurrency vectors: size follows the original component slot. */
.terminal-chart-instrument{display:inline-flex;align-items:center;gap:6px;line-height:16px}
.terminal-positions-table td .terminal-position-contract{display:flex;align-items:center;gap:5px;font-size:11px;line-height:17px;min-height:17px}
.terminal-position-contract>span:last-child{white-space:nowrap}.terminal-ledger-contract{display:inline-flex;align-items:center;gap:8px;line-height:20px}
.terminal-position-actions svg{display:block;width:16px;height:16px;stroke-width:1.5}.terminal-position-actions button[aria-label="Position Risk Analysis"]{color:#ffcc73}

/* Preserve terminal panel boundaries while making all content reachable. */
.terminal-orderbook{display:grid;grid-template-rows:26px minmax(0,1fr) 40px minmax(0,1fr);padding-bottom:4px}
.terminal-book-side{min-height:0;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}
.terminal-book-side::-webkit-scrollbar{display:none}
.terminal-order-panel{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#45474c #111;padding-bottom:16px}
.terminal-positions-table thead,.terminal-ledger-table thead{position:sticky;top:0;z-index:2}
.terminal-chart>svg text{fill:#8c9096}.terminal-chart-demo,.terminal-book-head{color:#8c9096}
.terminal-slider{height:48px;padding-top:8px;display:flex;align-items:center;justify-content:space-between}
.terminal-slider>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:40px;height:40px;padding:0;border:0;background:none;font-size:10px;color:#8c9096}
.terminal-slider>button:first-child{align-items:flex-start}.terminal-slider>button:last-child{align-items:flex-end}
.terminal-slider>button i{width:8px;height:8px;border:2px solid #51565d;border-radius:50%;display:block}
.terminal-slider>button[aria-pressed="true"] i{background:var(--terminal-cyan);border-color:var(--terminal-cyan);box-shadow:0 0 0 2px #45dfff26}
.terminal-slider>button[aria-pressed="true"]{color:var(--terminal-cyan)}
.terminal-amount[aria-invalid="true"]{border-color:var(--terminal-red)}
.terminal-tpsl-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 12px}.terminal-tpsl-fields[hidden]{display:none}
.terminal-tpsl-fields label{font-size:10px;line-height:16px;color:#a1a6ae}.terminal-tpsl-fields input{width:100%;height:32px;border:1px solid #45474c;border-radius:7px;background:#0a0a0a;color:#fff;padding:0 8px;margin-top:4px;font-size:11px}
.capture-mode :is(.terminal-book-side,.terminal-order-panel,.terminal-positions-scroll,.terminal-ledger-scroll):focus{outline:none}

.terminal-guardian-modal>footer{align-items:center}
.terminal-guardian-modal>footer button{min-width:0;flex:1;padding-inline:10px}
.terminal-guardian-modal>footer button:last-child{min-width:0}
.terminal-guardian-modal>footer button:last-child:not(:disabled){opacity:1;background:var(--terminal-green);border-color:var(--terminal-green);color:#082518}
.terminal-guardian-modal>footer button:disabled{cursor:default}
.terminal-guardian-status{font-size:12px;line-height:18px;color:var(--terminal-green);margin:8px 0 16px;min-height:18px}
.terminal-guardian-number:has(input[aria-invalid=true]){border-color:var(--terminal-red)}
.artboard:is([data-device=mobile],[data-device=tablet]) .terminal-guardian-number{height:44px}
.artboard:is([data-device=mobile],[data-device=tablet]) .terminal-guardian-number input{height:42px;font-size:16px}
.artboard:is([data-device=mobile],[data-device=tablet]) .terminal-guardian-number>span{height:42px}
.artboard:is([data-device=mobile],[data-device=tablet]) .terminal-guardian-choice{height:auto;min-height:44px}
.terminal-guardian-status:not(:empty){position:absolute;left:16px;right:16px;bottom:66px;z-index:3;margin:0;padding:10px 12px;border:1px solid #34373b;border-radius:8px;background:#151719;box-shadow:0 8px 24px #0008}
.terminal-guardian-status:empty{display:none}
