/* Exchange workspace; colors inherit Vector's brand palette. */
.vx-quote-rail,.vx-market-close{display:none}
.vx-chart-handle{display:none}
.vx-chart-bar{display:flex;align-items:center;gap:6px;padding:8px;border-bottom:1px solid var(--line);background:var(--panel)}
.vx-chart-bar>strong{font-size:12px;margin-right:auto}
.vx-drawing-tools,.vx-chart-view-tools{display:flex;gap:2px}
.vx-chart-icon{display:grid;place-items:center;width:32px;height:32px;min-height:32px!important;padding:5px!important;flex-shrink:0;color:var(--muted)}
.vx-chart-icon svg{width:18px;height:18px}
.vx-chart-icon.active{color:var(--lime);background:var(--exchange-selected)}
.vx-chart-icon[data-chart-tool="close"],.vx-chart-icon[data-chart-tool="open"]{display:none}
.terminal-page .interactive-chart{overflow:hidden}
.vx-price-label{paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round;font-family:Manrope,system-ui,sans-serif}
.terminal-page .interactive-chart.vx-drawing{touch-action:none!important;cursor:crosshair}
.vx-drawing :is(.crosshair-v,.crosshair-h,.chart-tooltip){display:none!important}
body.vx-chart-full{overflow:hidden}
.terminal-page.vx-chart-full .pro-terminal .terminal-layout>.chart-workspace{display:flex!important;flex-direction:column;position:fixed;inset:0;z-index:85;background:var(--bg);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.terminal-page.vx-chart-full .chart-title,.terminal-page.vx-chart-full .execution-strip{display:none}
.terminal-page.vx-chart-full .interactive-chart{flex:1;min-height:0!important;height:auto!important}
.terminal-page.vx-chart-full #candleContainer,.terminal-page.vx-chart-full .pro-terminal .terminal-chart{height:100%!important;width:100%}
.vx-chart-full .vx-chart-icon[data-chart-tool="close"],.vx-chart-sheet .vx-chart-icon[data-chart-tool="close"]{display:grid}
.vx-chart-trades{display:flex;gap:4px;flex-shrink:0}
.terminal-page .vx-chart-trades button{border-radius:999px;min-height:30px;padding:4px 12px;font-size:11px;border:1px solid var(--line);font-weight:700}
.terminal-page .vx-chart-trades .vx-instant-buy{background:var(--green);color:var(--exchange-on-accent)}
.terminal-page .vx-chart-trades .vx-instant-sell{background:var(--red);color:var(--exchange-on-accent)}
.vx-chart-trades button:disabled{opacity:.5;cursor:wait}
.terminal-page .vx-challenge-sheet{display:none;position:fixed;inset:auto 16px 16px auto;width:min(440px,calc(100% - 32px));max-height:80dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--panel);border:1px solid var(--line);z-index:70}
.terminal-page.vx-view-challenge .vx-challenge-sheet{display:block}
.terminal-page .vx-challenge-sheet .vx-exchange-risk{display:none!important}
.vx-challenge-heading{display:flex;align-items:center;justify-content:space-between;padding:10px;border-bottom:1px solid var(--line)}
.vx-challenge-heading h3{margin:0;font-size:14px}
.vx-challenge-heading button{min-width:32px;color:var(--text);font-size:22px}
#vxChallengeDetails{padding:4px 10px}
#vxChallengeDetails>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px}
#vxChallengeDetails span{color:var(--muted)}
#vxChallengeDetails b{text-align:right;overflow-wrap:anywhere}
@media(max-width:700px){
 .vx-chart-bar{gap:2px;padding:6px 4px;flex-wrap:wrap}
 .vx-chart-bar>strong{font-size:10px}
 .vx-chart-icon{width:28px;height:32px;padding:4px!important}
 .vx-chart-icon[data-chart-tool="open"]{display:none}
 body.vx-chart-sheet{overflow-y:auto}
 .terminal-page.vx-chart-sheet .pro-terminal .terminal-layout>.chart-workspace{display:flex!important;transform:translateY(0)}
 .terminal-page.vx-chart-sheet .interactive-chart{flex:1;min-height:0!important;height:auto!important}
 .terminal-page.vx-chart-sheet #candleContainer,.terminal-page.vx-chart-sheet .pro-terminal .terminal-chart{height:100%!important;width:100%}
 .terminal-page.vx-chart-full .pro-terminal .terminal-layout>.chart-workspace{inset:0;height:100dvh;transform:translateY(0)}
}
@keyframes vx-chart-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.terminal-page.vx-chart-sheet .chart-workspace,.terminal-page.vx-chart-full .chart-workspace{animation:none!important}}
#vxMobileTerminalNav{display:none}
.vx-protection summary{cursor:pointer;color:var(--muted);font-size:11px;padding:8px 0}
.vx-protection summary span{float:right;font-size:10px}
.vx-protection .form-row{margin-top:8px}
.vx-protection:not([open])>.form-row{display:none!important}
.terminal-page{--exchange-selected:color-mix(in oklab,var(--lime) 10%,var(--panel));--exchange-on-accent:#17200d}
.terminal-page :is(h3,strong,b,.logo){letter-spacing:0}
.terminal-page .app-shell{display:block}
.terminal-page .sidebar{position:relative;inset:auto;width:100%;height:64px;min-height:0;padding:0 20px;display:flex;flex-direction:row;transform:none;align-items:center;gap:24px;border-right:0;border-bottom:1px solid var(--line);background:var(--bg)}
.terminal-page .sidebar .logo{flex-shrink:0;font-size:25px;padding:0;margin-bottom:0}
.terminal-page .sidebar>.side-label,.terminal-page .side-nav .side-label{display:none}
.terminal-page .side-nav{display:flex;flex-direction:row;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none;min-width:0}
.terminal-page .side-nav a{flex-shrink:0;white-space:nowrap;margin:0;padding:8px 10px;font-size:11px;border-radius:5px}
.terminal-page .side-nav a svg{display:none}
.terminal-page .side-nav a.active{background:var(--exchange-selected);color:var(--lime)}
.terminal-page .side-bottom{margin:0 0 0 auto;padding:0;border:0;flex-shrink:0}
.terminal-page .side-bottom>:not([data-vertex-signout]){display:none!important}
.terminal-page .side-bottom [data-vertex-signout]{width:auto;padding:7px 11px;font-size:11px}
.terminal-page .app-top{height:46px;padding:8px 20px;background:var(--bg);border-bottom:1px solid var(--line)}
.terminal-page .app-content{padding:0}
.terminal-page .pro-terminal{border:0;border-radius:0;box-shadow:none;background:var(--bg)}
.terminal-page .workspace-bar{min-height:48px;padding:10px 20px;background:var(--panel)}
.terminal-page .terminal-brand strong{font-size:14px}
.terminal-page .terminal-tools .table-action{background:transparent;border-color:var(--line);color:var(--muted)}
.terminal-page .terminal-accountline{padding:14px 20px;background:var(--bg);gap:24px}
.terminal-page .terminal-accountline strong{font-size:24px}
.terminal-page .terminal-accountline #terminalMetrics{gap:30px}
.terminal-page .terminal-accountline #terminalMetrics b{font-size:13px}
.terminal-page .pro-terminal .terminal-layout{display:grid;grid-template-columns:224px minmax(320px,1fr) 300px;gap:1px;background:var(--line);align-items:stretch}
.terminal-page .pro-terminal .terminal-layout>div{background:var(--panel);min-width:0}
.terminal-page .watch-column,.terminal-page .order-panel{box-shadow:none}
.terminal-page .watch-head{padding:16px 14px 10px;font-size:11px;letter-spacing:0}
.terminal-page .symbol-search{display:block;padding:0 12px 12px}
.terminal-page .symbol-search input{font-size:12px;padding:9px 11px;border-radius:5px;background:var(--bg);border-color:var(--line)}
.vx-exchange-categories{display:flex;gap:4px;padding:0 12px 12px}
.vx-exchange-categories button{border:0;border-radius:4px;padding:5px 9px;background:transparent;color:var(--muted);font-size:11px}
.vx-exchange-categories button.active{background:var(--exchange-selected);color:var(--lime)}
.terminal-page .watch-columns{padding:0 14px 10px;color:var(--muted);font-size:10px}
.terminal-page .pro-terminal .symbol{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;border:0;border-bottom:1px solid var(--line);border-left:2px solid transparent;background:transparent}
.terminal-page .pro-terminal .symbol.active{border-left-color:var(--lime);background:var(--exchange-selected)}
.terminal-page .pro-terminal .symbol:hover{background:var(--panel2)}
.terminal-page .symbol>span:first-child{display:grid;grid-template-columns:26px 1fr;column-gap:7px;text-align:left}
.terminal-page .symbol .asset-dot{display:grid;place-items:center;grid-row:span 2;width:26px;height:26px;border-radius:50%;background:var(--panel2);color:var(--lime);font-size:12px;margin:0;align-self:center}
.terminal-page .symbol strong{font-size:12px}
.terminal-page .symbol small{font-size:10px;margin-top:3px}
.terminal-page .symbol .quote-price{font-size:12px}
.terminal-page .watch-detail{padding:16px 14px;margin:18px 0 0}
.terminal-page .watch-detail h3{font-size:15px;margin:9px 0 5px}
.terminal-page .watch-detail .account-row{padding:8px 0}
.terminal-page .watch-detail>.label:last-child{display:none}
.terminal-page .pro-terminal .chart-title{padding:17px 18px;min-height:64px;background:var(--panel);gap:12px}
.terminal-page .chart-title strong{font-size:19px}
.terminal-page .chart-title .label{display:block;margin:4px 0 0;font-size:11px}
.vx-exchange-quote{margin-left:auto;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--green)}
.terminal-page .chart-market-tag{font-size:9px;color:var(--muted);border-color:var(--line);letter-spacing:0}
.terminal-page .chart-controls{padding:8px 12px;min-height:44px;flex-wrap:wrap;background:var(--panel)}
.terminal-page .chart-controls>button{min-width:32px;min-height:28px;font-size:11px;padding:0 8px}
.terminal-page .chart-controls>button.active{background:var(--exchange-selected);color:var(--lime);border-color:var(--line)}
.terminal-page .chart-controls>button:hover{background:var(--panel2);border-color:var(--line)}
.terminal-page .ohlc-line{padding:11px 16px;gap:12px;font-size:11px;background:var(--panel)}
.terminal-page .interactive-chart{background:var(--bg)}
.terminal-page .pro-terminal .terminal-chart{height:470px}
.terminal-page .chart-bottom,.terminal-page .execution-strip{background:var(--panel);border-color:var(--line);font-size:10px}
.terminal-page .execution-strip{gap:12px;padding:12px 16px}
.terminal-page .execution-strip b{font-size:12px}
.terminal-page .execution-strip>.label:last-child{display:none}
.terminal-page .pro-terminal .order-panel{display:block;grid-column:auto;padding:18px}
.terminal-page .ticket-title{margin-bottom:14px}
.terminal-page .ticket-title h3{font-size:15px;font-weight:600}
.terminal-page .buy-sell{display:flex;padding:4px;gap:4px;background:var(--bg);border:1px solid var(--line);border-radius:6px}
.terminal-page .buy-sell button{flex:1;background:transparent;border:1px solid transparent;padding:10px 4px;color:var(--green);letter-spacing:0;border-radius:4px;font-size:10px}
.terminal-page .buy-sell button:not(.sell){order:-1}
.terminal-page .buy-sell button.sell{background:transparent;color:var(--red);border-color:transparent}
.terminal-page .buy-sell button.active{background:color-mix(in oklab,var(--green) 13%,var(--panel));border-color:color-mix(in oklab,var(--green) 35%,var(--line))}
.terminal-page .buy-sell button.sell.active{background:color-mix(in oklab,var(--red) 13%,var(--panel));border-color:color-mix(in oklab,var(--red) 35%,var(--line))}
.terminal-page .buy-sell b{font-size:17px;margin-top:5px}
.terminal-page .order-panel label{font-size:11px;color:var(--muted)}
.terminal-page .order-panel .field{margin-bottom:14px}
.terminal-page .order-panel input,.terminal-page .order-panel select{background:var(--bg);border-color:var(--line);border-radius:5px;padding:11px;font-size:13px;color:var(--text)}
.terminal-page .volume-control{background:var(--bg);border-color:var(--line)}
.terminal-page .volume-control button{background:var(--panel2);color:var(--text)}
.terminal-page .lot-presets button{padding:6px;font-size:10px;border-color:var(--line);color:var(--muted)}
.terminal-page .order-panel .form-row{grid-template-columns:1fr 1fr;gap:10px}
.terminal-page .protection-title{margin-top:18px;font-size:11px}
.terminal-page .order-estimates{padding-top:14px}
.terminal-page .order-estimates>div{font-size:11px}
.terminal-page .order-panel .btn{justify-content:center;padding:12px;min-height:44px;background:var(--lime);border-color:var(--lime);color:var(--exchange-on-accent);font-size:13px;border-radius:6px}
.terminal-page .order-panel .btn.danger{background:var(--red);border-color:var(--red);color:var(--exchange-on-accent)}
.terminal-page .order-panel .btn[data-precheck]{background:transparent;border-color:var(--line);color:var(--muted);min-height:38px;font-size:11px}
.terminal-page .execution-note{color:var(--muted);font-size:10px!important}
.terminal-page .vx-exchange-risk{padding:12px 20px;margin:0;border:0;border-top:1px solid var(--line);background:var(--bg)}
.terminal-page .vx-exchange-risk .ticket-title{margin-bottom:0}
.terminal-page .vx-exchange-risk .ticket-title h3{font-size:11px;color:var(--muted)}
.terminal-page .vx-exchange-risk #terminalRisk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.terminal-page .vx-exchange-risk .progress-item{margin:10px 0 0}
.terminal-page .vx-exchange-risk .progress-label,.terminal-page .vx-exchange-risk small{font-size:10px}
.terminal-page .vx-exchange-risk .track{margin:6px 0;height:3px}
.terminal-page .terminal-table{background:var(--panel)}
.terminal-page .pro-terminal .tabs{background:var(--panel);border-top:1px solid var(--line);gap:26px}
.terminal-page .pro-terminal .tabs button{font-size:12px;padding:14px 0}
.terminal-page .pro-terminal th{background:var(--bg);color:var(--muted);font-size:10px;letter-spacing:0}
.terminal-page .pro-terminal td{padding:14px 17px;border-color:var(--line);font-size:12px}
.terminal-page .terminal-status{background:var(--bg);color:var(--muted);border-color:var(--line)}
.terminal-focus.terminal-page .sidebar{display:none}
@media(min-width:1600px){.terminal-page .pro-terminal .terminal-layout{grid-template-columns:260px minmax(320px,1fr) 330px}.terminal-page .pro-terminal .terminal-chart{height:520px}}
@media(min-width:701px) and (max-width:1100px){.terminal-page .pro-terminal .terminal-layout{grid-template-columns:190px minmax(0,1fr)}.terminal-page .pro-terminal .order-panel{grid-column:1/-1}.terminal-page #orderForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;align-items:start}.terminal-page #orderForm>.protection-title,.terminal-page #orderForm>.execution-note{grid-column:1/-1}.terminal-page .order-panel .buy-sell{max-width:350px}.terminal-page .terminal-accountline{flex-direction:row;align-items:center}.terminal-page .terminal-accountline #terminalMetrics{gap:15px}}
@media(max-width:700px){
.terminal-page .sidebar{display:none}
.terminal-page .sidebar.open{position:fixed;inset:0 auto 0 0;display:block;width:240px;height:100dvh;z-index:80;padding:24px 16px;background:var(--panel)}
.terminal-page .sidebar.open .side-nav{display:grid;margin-top:24px}
.terminal-page .sidebar.open .side-nav a{font-size:13px;padding:12px}
.terminal-page .sidebar.open .side-bottom{margin-top:20px}
.terminal-page .app-top{height:54px;padding:8px 12px}
.terminal-page .app-top .mobile-menu{display:block}
.terminal-page .app-content{padding:0!important}
.terminal-page .workspace-bar{padding:12px}
.terminal-page .terminal-tools{width:auto}
.terminal-page .terminal-accountline{padding:14px 12px;gap:14px}
.terminal-page .terminal-accountline strong{font-size:26px}
.terminal-page #terminalMetrics{gap:12px!important}
.terminal-page #terminalMetrics b{font-size:13px!important}
#vxMobileTerminalNav{background:var(--panel);padding:12px}
.terminal-page .vx-exchange-categories{display:none}
.terminal-page .pro-terminal .terminal-layout{display:block}
.terminal-page .pro-terminal .symbol{padding:14px 16px}
.terminal-page .watchlist .symbol strong{font-size:13px}
.terminal-page .watchlist .symbol .quote-price{font-size:15px}
.terminal-page .pro-terminal .chart-title{padding:14px!important}
.terminal-page .chart-title strong{font-size:17px}
.vx-exchange-quote{font-size:18px}
.terminal-page .chart-market-tag{display:none}
.terminal-page .ohlc-line{gap:9px;font-size:10px;flex-wrap:wrap;white-space:normal}
.terminal-page .interactive-chart,.terminal-page .pro-terminal .terminal-chart{height:350px!important;touch-action:pan-y!important}
.terminal-page .pro-terminal .order-panel{padding:18px 16px}
.terminal-page .buy-sell button{min-height:66px}
.terminal-page .buy-sell b{font-size:20px}
.terminal-page .order-panel label{font-size:12px}
.terminal-page .vx-exchange-risk{display:none;padding:16px}
.terminal-page.vx-view-trade .vx-exchange-risk{display:block}
.terminal-page .vx-exchange-risk #terminalRisk{grid-template-columns:1fr;gap:10px}
.terminal-page .vx-exchange-risk .progress-label,.terminal-page .vx-exchange-risk small{font-size:11px}
.terminal-page .terminal-table .tabs{gap:20px}
.terminal-page .terminal-table .tabs button{padding:12px 0}
.terminal-page .terminal-table th{white-space:nowrap}
}
/* Recording-led phone workspace: ticket + quotes, chart below. */
@media(max-width:700px){
 .terminal-page .app-top{height:44px}
 .terminal-page .app-top>div{font-size:11px}
 .terminal-page .workspace-bar{min-height:36px;padding:6px 12px}
 .terminal-page .terminal-brand strong{font-size:12px}
 .terminal-page .pro-terminal #vxMobileTerminalNav{display:block;position:static;padding:8px 12px}
 .terminal-page .vx-market-row{grid-template-columns:120px minmax(0,1fr);gap:10px}
 .terminal-page .vx-market-categories{min-width:0}
 .terminal-page .vx-market-categories button{min-height:34px;font-size:11px}
 .terminal-page .vx-symbol-picker>span{display:none}
 .terminal-page .vx-symbol-picker select{height:38px;font-size:14px!important}
 .terminal-page .vx-terminal-tabs{position:fixed;inset:auto 0 0;z-index:61;background:var(--bg);margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-bottom:0}
 .terminal-page .vx-terminal-tabs button{min-height:44px}
 body.terminal-page.vx-mobile-bar{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
 body.terminal-page.vx-mobile-bar #vxMobileBar{display:none!important}
 .terminal-page .pro-terminal .terminal-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0;background:var(--panel)}
 .terminal-page .pro-terminal .terminal-layout>.order-panel{display:block!important;grid-column:1;grid-row:1;padding:10px 12px;min-width:0}
 .terminal-page .pro-terminal .terminal-layout>.terminal-table{grid-column:1/-1;grid-row:2;min-width:0}
 .terminal-page .pro-terminal .terminal-layout>.chart-workspace{display:flex!important;flex-direction:column;position:fixed;inset:auto 0 calc(57px + env(safe-area-inset-bottom));height:min(70dvh,620px);z-index:60;background:var(--bg);border-top:1px solid var(--line);transform:translateY(calc(100% - 44px));transition:transform .28s ease-out;overflow:hidden}
 .terminal-page .vx-chart-handle{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;width:100%;height:44px;min-height:44px;padding:0 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--text);font-size:12px}
 .vx-chart-handle svg{width:22px;height:22px;color:var(--lime)}
 .terminal-page .chart-workspace .interactive-chart{flex:1;height:auto!important;min-height:0!important}
 .terminal-page .chart-workspace #candleContainer,.terminal-page .chart-workspace .terminal-chart{height:100%!important}
 .terminal-page:not(.vx-chart-sheet):not(.vx-chart-full) .chart-workspace>:not(.vx-chart-handle){visibility:hidden}
 .terminal-page .pro-terminal .terminal-layout>.vx-quote-rail{display:block;grid-column:2;grid-row:1;padding:12px 10px 10px 4px;min-width:0}
 .terminal-page .order-panel .ticket-title{display:none}
 .terminal-page .buy-sell{padding:2px;margin-bottom:8px}
 .terminal-page .buy-sell button{min-height:34px;padding:6px 2px;font-size:10px}
 .terminal-page .buy-sell b{display:none}
 .terminal-page #orderForm .field{margin-bottom:8px}
 .terminal-page #orderForm label{font-size:10px;margin-bottom:4px}
 .terminal-page #orderForm input,.terminal-page #orderForm select{min-height:38px;padding:7px;font-size:16px!important}
 .terminal-page .volume-control button{min-width:28px;min-height:38px;padding:0}
 .terminal-page .lot-presets{gap:3px;margin-top:4px}
 .terminal-page .lot-presets button{min-height:27px;font-size:9px;padding:2px}
 .terminal-page .protection-title{margin-top:10px;font-size:10px}
 .terminal-page .protection-title .label{display:none}
 .terminal-page .order-panel .form-row{gap:5px}
 .terminal-page .vx-protection summary{font-size:11px;padding:8px 0;min-height:34px}
 .terminal-page .order-estimates{padding-top:5px;margin-bottom:8px}
 .terminal-page .order-estimates>div{font-size:9px;gap:5px}
 .terminal-page #orderForm .btn{min-height:40px;padding:8px 4px;font-size:12px}
 .terminal-page #orderForm .btn[data-precheck]{font-size:10px;min-height:30px;margin-top:6px}
 .terminal-page .execution-note{display:none}
 .vx-rail-title{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-bottom:10px}
 .vx-rail-ask,.vx-rail-bid{display:flex;justify-content:space-between;gap:4px;font-size:12px;align-items:center;padding:8px 0;color:var(--red);font-variant-numeric:tabular-nums}
 .vx-rail-bid{color:var(--green)}
 .vx-rail-ask span,.vx-rail-bid span{font-size:10px}
 .vx-rail-mid{padding:15px 0;border-block:1px solid var(--line);margin:6px 0;color:var(--green)}
 .vx-rail-mid .quote-price{font-size:20px;font-weight:700}
 .vx-rail-mid small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
 .vx-rail-market{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;padding:8px 0;color:var(--text);min-height:36px;text-align:left;gap:4px}
 .vx-rail-market .asset-dot,.vx-rail-market small{display:none}
 .vx-rail-market strong{font-size:10px}
 .vx-rail-market .quote-price{font-size:11px}
 .terminal-page .pro-terminal .chart-title{display:none}
 .terminal-page .chart-controls{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:3px!important;padding:6px 8px}
 .terminal-page .chart-controls>button{min-height:32px;flex-shrink:0;font-size:10px;padding:0 6px}
 .terminal-page .ohlc-line{padding:6px 10px;font-size:9px;gap:7px}
 .terminal-page .interactive-chart,.terminal-page .pro-terminal .terminal-chart{height:240px!important;min-height:0!important}
 .terminal-page .chart-bottom{padding:5px 10px}
 .terminal-page .execution-strip{display:none}
 .terminal-page .pro-terminal .terminal-table{display:block!important;margin:0;border-top:1px solid var(--line)}
 .terminal-page .terminal-accountline{padding:12px;gap:10px}
 .terminal-page .terminal-accountline strong{font-size:20px}
 .terminal-page #terminalMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .terminal-page .vx-exchange-risk{display:block!important;padding:10px 12px}
 .terminal-page .vx-exchange-risk #terminalRisk{grid-template-columns:1fr;gap:4px}
 .terminal-page .pro-terminal .terminal-layout>.watch-column{display:none!important}
 .terminal-page.vx-view-market .pro-terminal .terminal-layout>.watch-column{display:block!important;position:fixed;inset:auto 0 calc(57px + env(safe-area-inset-bottom));height:min(75dvh,650px);min-height:0;z-index:62;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;background:var(--panel);border-top:1px solid var(--line);padding:12px 0;animation:vx-chart-rise .28s ease-out}
 .terminal-page .watch-column .vx-market-categories{display:grid;grid-template-columns:1fr 1fr;margin:8px 14px 14px;min-width:0}
 .terminal-page .vx-market-row{grid-template-columns:1fr}
 .terminal-page.vx-view-market .watch-head{display:flex!important;align-items:center;gap:12px;font-size:13px}
 .terminal-page.vx-view-market .watch-head .label{margin-left:auto}
 .terminal-page.vx-view-market .vx-market-close{display:block;font-size:24px;min-width:36px}
 .terminal-page.vx-view-market .symbol-search,.terminal-page.vx-view-market .watch-columns{display:block!important}
 .terminal-page.vx-view-market .watch-columns{display:flex!important}
 .terminal-page .watchlist .symbol[hidden],.terminal-page .pro-terminal .symbol[hidden]{display:none!important}
 .terminal-page .watch-detail{display:none!important}
}
@media(prefers-reduced-motion:reduce){.terminal-page .pro-terminal .terminal-layout>.chart-workspace{transition:none}.terminal-page.vx-view-market .pro-terminal .terminal-layout>.watch-column{animation:none}}
/* Compact phone rhythm: one spacing scale for the ticket and account bands. */
@media(max-width:700px){
 .terminal-page{--terminal-nav-height:52px;--terminal-handle-height:38px;font-size:13px}
 .terminal-page .pro-terminal{border-radius:0;overflow:visible}
 .terminal-page .app-top{height:40px;padding:4px 10px}
 .terminal-page .app-top .mobile-menu{min-height:32px;padding:4px 10px}
 .terminal-page .workspace-bar{min-height:32px;padding:5px 10px}
 .terminal-page .terminal-brand strong{font-size:11px}
 .terminal-page .pro-terminal #vxMobileTerminalNav{padding:6px 10px}
 .terminal-page .vx-symbol-picker select{height:34px;padding:0 28px 0 9px}
 .terminal-page .pro-terminal .terminal-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 .terminal-page .pro-terminal .terminal-layout>.order-panel{padding:8px 10px}
 .terminal-page .pro-terminal .terminal-layout>.vx-quote-rail{padding:8px 10px 8px 4px;border-left:1px solid var(--line)}
 .terminal-page .buy-sell{margin-bottom:6px;border-radius:4px}
 .terminal-page .buy-sell button{min-height:32px;font-size:9px}
 .terminal-page #orderForm .field{margin-bottom:6px}
 .terminal-page #orderForm label{font-size:10px;line-height:1.3;margin-bottom:3px}
 .terminal-page #orderForm input,.terminal-page #orderForm select{height:34px;min-height:34px;padding:5px 7px;line-height:1.25}
 .terminal-page .volume-control button{height:34px;min-height:34px}
 .terminal-page .lot-presets button{min-height:26px;font-size:9px}
 .terminal-page .vx-protection{padding:0;margin:4px 0 6px;border:0}
 .terminal-page .vx-protection summary{min-height:32px;padding:6px 0;align-items:center;gap:6px;font-size:10px;border-bottom:1px solid var(--line)}
 .terminal-page .vx-protection summary:after{font-size:16px}
 .terminal-page .vx-protection summary span{margin-left:auto;font-size:9px}
 .terminal-page .order-estimates{padding-top:4px;margin-bottom:6px}
 .terminal-page .order-estimates>div{font-size:9px;line-height:1.5;padding:3px 0;margin:0 0 3px}
 .terminal-page #orderForm .btn{min-height:36px;padding:7px 4px;font-size:11px;gap:8px;border-radius:4px}
 .terminal-page #orderForm .btn[data-precheck]{min-height:30px;margin-top:5px;font-size:9px}
 .terminal-page .vx-rail-title{font-size:9px;margin-bottom:5px}
 .terminal-page .vx-rail-ask,.terminal-page .vx-rail-bid{padding:6px 0;font-size:11px}
 .terminal-page .vx-rail-mid{padding:10px 0;margin:4px 0}
 .terminal-page .vx-rail-mid .quote-price{font-size:17px;line-height:1.3}
 .terminal-page .vx-rail-mid small{font-size:9px;margin-top:3px}
 .terminal-page .vx-rail-market{min-height:32px;padding:6px 0}
 .terminal-page .vx-rail-market strong,.terminal-page .vx-rail-market .quote-price{font-size:10px}
 .terminal-page .pro-terminal .terminal-table{margin:0;padding:0;border-inline:0;border-bottom:0;border-radius:0;min-height:0}
 .terminal-page .terminal-table .tabs{gap:16px;padding:0 10px;min-height:36px}
 .terminal-page .terminal-table .tabs button{min-height:36px;padding:8px 0;font-size:10px;line-height:1.3}
 .terminal-page #tradeTable{min-height:0}
 .terminal-page #tradeTable .empty{padding:14px 10px;font-size:11px;line-height:1.5}
 .terminal-page #tradeTable th{font-size:8px;padding:8px 6px;letter-spacing:0}
 .terminal-page #tradeTable td{font-size:10px;padding:9px 6px}
 .terminal-page #tradeTable td .label,.terminal-page #tradeTable td small{font-size:9px}
 .terminal-page #tradeTable td button,.terminal-page #tradeTable .table-action{min-height:30px;padding:5px 8px;font-size:9px}
 .terminal-page .vx-exchange-risk{margin:0;padding:10px;border-top:1px solid var(--line)}
 .terminal-page .vx-exchange-risk .ticket-title{margin:0 0 6px;align-items:center}
 .terminal-page .vx-exchange-risk .ticket-title h3{margin:0;font-size:10px;line-height:1.4}
 .terminal-page .vx-exchange-risk #terminalRisk{gap:8px}
 .terminal-page .vx-exchange-risk .progress-item{margin:0}
 .terminal-page .vx-exchange-risk .progress-label{font-size:10px;line-height:1.4;gap:8px}
 .terminal-page .vx-exchange-risk small{display:block;font-size:9px;line-height:1.4}
 .terminal-page .vx-exchange-risk .track{height:3px;margin:4px 0}
 .terminal-page .terminal-accountline{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:10px;border-top:1px solid var(--line)}
 .terminal-page .terminal-accountline>div{min-width:0}
 .terminal-page .terminal-accountline>div:first-child>.label{font-size:9px}
 .terminal-page .terminal-accountline strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:18px;line-height:1.4;margin-top:2px}
 .terminal-page .terminal-accountline strong span{font-size:10px;margin:0}
 .terminal-page .terminal-accountline #terminalMetrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px!important}
 .terminal-page #terminalMetrics .label{font-size:9px;line-height:1.4;min-width:0}
 .terminal-page #terminalMetrics b{font-size:11px!important;line-height:1.4;margin-top:2px;overflow-wrap:anywhere}
 .terminal-page .vx-terminal-tabs{height:calc(var(--terminal-nav-height) + env(safe-area-inset-bottom));padding:4px 8px calc(4px + env(safe-area-inset-bottom))}
 .terminal-page .vx-terminal-tabs button{min-height:42px;font-size:10px}
 .terminal-page .vx-terminal-tabs button span{min-width:16px;height:16px;font-size:9px}
 body.terminal-page.vx-mobile-bar{padding-bottom:calc(var(--terminal-nav-height) + var(--terminal-handle-height) + env(safe-area-inset-bottom))}
 .terminal-page .pro-terminal .terminal-layout>.chart-workspace{bottom:calc(var(--terminal-nav-height) + env(safe-area-inset-bottom));transform:translateY(calc(100% - var(--terminal-handle-height)))}
 .terminal-page .vx-chart-handle{height:var(--terminal-handle-height);min-height:var(--terminal-handle-height);padding:0 10px;font-size:10px}
 .terminal-page .vx-chart-handle svg{width:18px;height:18px}
 .terminal-page.vx-chart-sheet .pro-terminal .terminal-layout>.chart-workspace{transform:translateY(0)}
 .terminal-page.vx-chart-full .pro-terminal .terminal-layout>.chart-workspace{inset:0;transform:translateY(0)}
 .terminal-page .vx-chart-bar{padding:4px;gap:2px;flex-wrap:nowrap}
 .terminal-page .vx-chart-bar>strong{font-size:9px;min-width:0}
 .terminal-page .vx-chart-icon{width:28px;height:30px;min-height:30px!important}
 .terminal-page .vx-chart-icon svg{width:16px;height:16px}
 .terminal-page .chart-controls{min-height:36px;padding:4px 6px}
 .terminal-page .chart-controls>button{min-height:28px}
 .terminal-page.vx-view-market .pro-terminal .terminal-layout>.watch-column{bottom:calc(var(--terminal-nav-height) + env(safe-area-inset-bottom));padding:8px 0}
 .terminal-page .watch-column .vx-market-categories{margin:6px 10px 10px}
 .terminal-page .vx-market-categories button{min-height:32px}
 .terminal-page .pro-terminal .watchlist .symbol{min-height:48px;padding:8px 10px}
 .terminal-page .watchlist .symbol strong{font-size:12px}
 .terminal-page .watchlist .symbol small{font-size:10px;margin-top:2px}
 .terminal-page .watchlist .symbol .quote-price{font-size:12px}
 .terminal-page{--terminal-sheet-height:min(46dvh,420px)}
 .terminal-page .vx-terminal-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
 .terminal-page .vx-desktop-challenge{display:none}
 .terminal-page .vx-challenge-sheet{inset:auto 0 calc(var(--terminal-nav-height) + env(safe-area-inset-bottom));width:100%;max-height:75dvh;border-inline:0;animation:vx-chart-rise .28s ease-out}
 .terminal-page .vx-challenge-sheet .vx-exchange-risk{display:none!important}
 .terminal-page .pro-terminal .terminal-layout>.chart-workspace{height:var(--terminal-sheet-height)}
 .terminal-page.vx-chart-sheet .pro-terminal .terminal-layout>.terminal-table{position:fixed;inset:auto 0 calc(var(--terminal-nav-height) + env(safe-area-inset-bottom) + var(--terminal-sheet-height));height:104px;z-index:60;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line);background:var(--panel)}
 .terminal-page.vx-chart-sheet #tradeTable .empty{padding:8px 10px}
 .terminal-page .vx-chart-bar{flex-wrap:wrap;padding:4px 6px}
 .terminal-page .vx-chart-bar>strong{display:none}
 .terminal-page .vx-chart-view-tools{margin-left:auto}
 .terminal-page .vx-chart-icon{width:24px}
 .terminal-page .vx-chart-trades{gap:3px;margin-left:3px}
 .terminal-page .vx-chart-trades button{min-height:28px;padding:4px 10px;font-size:10px}
 .terminal-page .chart-workspace .ohlc-line{display:none}
}

.vx-protect-btn{margin-right:6px}
.vx-protect-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:color-mix(in srgb,var(--bg) 70%,transparent);padding:16px}
.vx-protect-card{width:min(360px,100%);background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;gap:12px;color:var(--text)}
.vx-protect-card h3{margin:0;font-size:15px}.vx-protect-card p{margin:0;font-size:12px;color:var(--muted)}
.vx-protect-card label{display:grid;gap:4px;font-size:11px;color:var(--muted)}
.vx-protect-card input{background:var(--bg);border:1px solid var(--line);border-radius:8px;color:var(--text);padding:9px 10px;font:inherit}
.vx-protect-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vx-protect-actions{display:flex;gap:8px;justify-content:flex-end}