.phone-only{display:none}@keyframes m-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes m-sheet-fade{0%{opacity:0}to{opacity:1}}@media (max-height:500px) and (max-width:1000px) and (pointer:coarse),(max-width:740px){.terminal-shell{--phone-top:48px;--phone-bar:56px}.terminal-shell[data-view=terminal]{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}.terminal-shell[data-view=terminal]>*{flex:none}.terminal-shell .mode-banner,.terminal-shell[data-view=terminal]>.footer-bar{display:none}.terminal-shell .topbar{position:sticky;top:0;z-index:15;height:calc(var(--phone-top) + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(6px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));gap:6px}.terminal-shell .main-nav,.terminal-shell .topbar .brand-word{display:none}.terminal-shell .top-actions{margin-left:auto;gap:4px}.terminal-shell .top-actions>:not(.account-switch){display:none}.terminal-shell .phone-back,.terminal-shell .phone-symbol{display:flex;align-items:center;gap:6px;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:var(--pill);background:transparent;color:var(--text);cursor:pointer;touch-action:manipulation}.terminal-shell .phone-symbol b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;letter-spacing:-.01em}.terminal-shell .phone-symbol span{flex:none;color:var(--text-2);font:500 12px var(--font-mono);font-variant-numeric:tabular-nums}.terminal-shell .phone-symbol i{flex:none;color:var(--muted);font-size:9px;font-style:normal}.terminal-shell .phone-back{flex:none;font-size:13px;font-weight:500}.terminal-shell .account-chip{height:44px;margin-left:0;padding:0 12px;gap:7px}.terminal-shell .account-chip>.avatar,.terminal-shell .account-chip>span:nth-child(2){display:none}.terminal-shell .account-chip>.live-dot{margin-left:0}.terminal-shell .chip-short{display:inline;font:600 9.5px/1 var(--font-mono);letter-spacing:.1em}.terminal-shell .connect-chip:has(.live-dot.offline:not(.stale)) .chip-short{color:var(--amber-text)}.terminal-shell .phone-menu{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text-2);cursor:pointer}.terminal-shell .account-menu{position:fixed;top:calc(env(safe-area-inset-top) + var(--phone-top) + 4px);right:8px;left:8px;min-width:0}.terminal-shell .workspace{flex:1 1 auto;display:flex;flex-direction:column;height:auto;min-height:0;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)}.terminal-shell .chart-panel>.news-strip,.terminal-shell .chart-status,.terminal-shell .collapse-btn,.terminal-shell .reopen-ticket,.terminal-shell .search-box kbd,.terminal-shell .side-rail,.terminal-shell .term-btn,.terminal-shell .term-resize,.terminal-shell .watchlist .round-button{display:none}.terminal-shell .terminal-view.term-max .workspace{display:flex}.terminal-shell .chart-panel{flex:1 1 auto;min-height:0;height:auto}.terminal-shell .chart-area{flex:1 1 auto;min-height:0}.terminal-shell .chart-area .lw-chart{touch-action:none}.terminal-shell .chart-toolbar{flex:none;height:44px;justify-content:flex-start;gap:6px;padding:0 6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}.terminal-shell .chart-toolbar::-webkit-scrollbar{display:none}.terminal-shell .chart-toolbar-left,.terminal-shell .chart-tools{flex:none}.terminal-shell .chart-tools button,.terminal-shell .timeframes button{height:32px;min-width:34px}.terminal-shell .chart-tool-label{display:none}.terminal-shell .chart-toolbar .layout-menu,.terminal-shell .chart-toolbar .shot-menu{position:fixed;top:calc(env(safe-area-inset-top) + var(--phone-top) + 48px);right:8px;left:auto}.terminal-shell .draw-toolbar{max-height:calc(100% - 12px);overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-y}.terminal-shell .draw-toolbar .dt-favtoggle,.terminal-shell .draw-toolbar .dt-star,.terminal-shell .dt-favbar{display:none}.terminal-shell .phone-bar{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:6px;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--bg);touch-action:manipulation}.terminal-shell .phone-bar button{min-height:44px;height:calc(var(--phone-bar) - 12px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:var(--r-md);cursor:pointer;-webkit-tap-highlight-color:transparent}.terminal-shell .phone-trade{border:0;color:var(--text)}.terminal-shell .phone-trade.sell{background:var(--down)}.terminal-shell .phone-trade.buy{background:var(--up)}.terminal-shell .phone-trade:active{filter:brightness(1.1)}.terminal-shell .phone-trade span{font:600 9.5px/1 var(--font-mono);letter-spacing:.18em;text-transform:uppercase;opacity:.9}.terminal-shell .phone-trade b{font:500 15px/1 var(--font-mono);font-variant-numeric:tabular-nums}.terminal-shell .phone-tab{min-width:62px;max-width:108px;padding:0 8px;border:1px solid var(--line);background:var(--panel);color:var(--text-2)}.terminal-shell .phone-tab[aria-expanded=true]{border-color:var(--accent-line);background:var(--accent-tint)}.terminal-shell .phone-tab span{font-size:10.5px;font-weight:500;white-space:nowrap}.terminal-shell .phone-tab em{font:500 9px/1 var(--font-mono);font-style:normal;padding:2px 5px;border-radius:var(--pill);background:var(--surface);color:var(--text)}.terminal-shell .phone-tab b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 11px/1 var(--font-mono);font-variant-numeric:tabular-nums;color:var(--muted)}.terminal-shell .phone-tab.more span{font-size:11px;letter-spacing:.12em;color:var(--muted)}.terminal-shell .phone-tab.more b{font:500 10.5px/1 var(--font-sans);color:var(--text-2)}.terminal-shell .order-ticket,.terminal-shell .terminal,.terminal-shell .watchlist{display:none}.m-sheet-backdrop{position:fixed;inset:0;z-index:41;background:var(--backdrop);animation:m-sheet-fade .16s ease-out}.m-sheet,.terminal-shell[data-sheet=markets] .watchlist,.terminal-shell[data-sheet=positions] .terminal{position:fixed;left:0;right:0;bottom:0;z-index:42;display:flex;flex-direction:column;min-width:0;max-height:85vh;max-height:85dvh;padding:14px env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border:1px solid var(--line-strong);border-bottom:0;border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--panel);box-shadow:var(--shadow);overscroll-behavior:contain;animation:m-sheet-up .22s cubic-bezier(.2,.8,.2,1)}.m-sheet:before,.terminal-shell .mp-panel:before,.terminal-shell[data-sheet=markets] .watchlist:before,.terminal-shell[data-sheet=positions] .terminal:before{content:"";position:absolute;top:5px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:4px;background:var(--line-strong)}.m-sheet-close,.terminal-shell .sheet-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}.m-sheet-head{flex:none;display:flex;align-items:center;gap:8px;padding:0 8px 8px 16px;border-bottom:1px solid var(--line-soft)}.m-sheet-head h2{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;letter-spacing:-.02em}.m-sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:12px 12px 16px}.m-sheet-note{margin:0 4px 10px;color:var(--muted);font-size:11.5px;line-height:1.45}.terminal-shell[data-sheet=markets] .watchlist{height:85vh;height:85dvh;border-right:1px solid var(--line-strong)}.terminal-shell .watchlist .panel-heading{padding:0 8px 8px 16px}.terminal-shell .watchlist .search-box{height:44px}.terminal-shell .watchlist .search-box input{font-size:16px}.terminal-shell .watch-rows{flex:1 1 auto;min-height:0;overscroll-behavior:contain;touch-action:pan-y}.terminal-shell .watch-row{min-height:52px}.terminal-shell[data-sheet=positions] .terminal{height:auto;border-top:1px solid var(--line-strong)}.terminal-shell .terminal>.empty-state,.terminal-shell .terminal>.journal-list,.terminal-shell .terminal>.position-table,.terminal-shell .terminal>.skel-table{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.terminal-shell .terminal .position-table>.empty-state,.terminal-shell .terminal>.empty-state{padding:24px 16px}.terminal-shell .terminal-tabs{height:52px;padding:0 8px;gap:4px}.terminal-shell .terminal-tablist{flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}.terminal-shell .terminal-tablist>button{height:44px;padding:0 10px}.terminal-shell .terminal-actions{gap:6px}.terminal-shell .terminal-actions>button:not(.sheet-close){min-height:36px}.terminal-shell .terminal-summary{height:auto;flex-wrap:wrap;gap:6px 16px;padding:8px 16px;white-space:normal}.terminal-shell .terminal-summary strong{margin-left:0}.terminal-shell .terminal .position-head{display:none}.terminal-shell .terminal .position-row{min-width:0;height:auto;padding:8px 6px 8px 14px;gap:4px 8px;align-items:center;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) minmax(0,.8fr) minmax(0,1.2fr) 44px;grid-template-areas:"a b c d x" "e f g h x"}.terminal-shell .terminal .position-row>:first-child{grid-area:a;flex-direction:row;align-items:baseline;gap:6px}.terminal-shell .terminal .position-row>:nth-child(2){grid-area:b}.terminal-shell .terminal .position-row>:nth-child(3){grid-area:c}.terminal-shell .terminal .position-row>:nth-child(4){grid-area:e}.terminal-shell .terminal .position-row>:nth-child(5){grid-area:f}.terminal-shell .terminal .position-row>:nth-child(n+4){color:var(--muted);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.terminal-shell .terminal .position-row>.cell-pl{color:inherit;font-size:12px}.terminal-shell .terminal .position-row>.cell-comment,.terminal-shell .terminal .position-row>.origin-badge{display:none}.terminal-shell .terminal .position-row>.cell-pl{grid-area:d;text-align:right}.terminal-shell .terminal .position-row>button:last-child{grid-area:x;justify-self:end;width:40px;height:40px;overflow:visible;color:var(--muted);font-size:15px}.terminal-shell .terminal .order-row>.pending-status{color:var(--amber-text);font-size:9px}.terminal-shell .terminal .position-row:not(.order-row):not(.history-row)>:nth-child(5):before{content:"→ "}.terminal-shell .terminal .position-row:not(.order-row):not(.history-row)>:nth-child(6){grid-area:g}.terminal-shell .terminal .position-row:not(.order-row):not(.history-row)>:nth-child(6):before{content:"SL "}.terminal-shell .terminal .position-row:not(.order-row):not(.history-row)>:nth-child(7){grid-area:h;text-align:right}.terminal-shell .terminal .position-row:not(.order-row):not(.history-row)>:nth-child(7):before{content:"TP "}.terminal-shell .terminal .order-row>:nth-child(4):before{content:"@ "}.terminal-shell .terminal .order-row>.pending-status{grid-area:d;text-align:right}.terminal-shell .terminal .history-row{grid-template-areas:"a b c d d" "e f g g g"}.terminal-shell .terminal .history-row>:nth-child(5):before{content:"→ "}.terminal-shell .terminal .history-row>:nth-child(6){grid-area:g;text-align:right}.terminal-shell .journal-list>div{grid-template-columns:64px 1fr;padding:6px 14px}.terminal-shell[data-sheet=ticket] .order-ticket{display:flex;position:fixed;inset:0;z-index:42;width:auto;height:auto;max-height:none;padding:0 env(safe-area-inset-right) calc(16px + env(safe-area-inset-bottom)) env(safe-area-inset-left);border:0;border-radius:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;animation:m-sheet-up .22s cubic-bezier(.2,.8,.2,1)}.terminal-shell .order-ticket .ticket-heading{position:sticky;top:0;z-index:3;gap:10px;min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0 16px;background:var(--panel)}.terminal-shell .order-ticket .ticket-heading h2{margin-top:4px}.terminal-shell .order-ticket .ticket-heading>button{width:44px;height:44px;font-size:18px}.terminal-shell .ticket-quote{display:grid;grid-template-columns:auto auto;justify-items:end;gap:2px 10px;margin-left:auto;font:500 12px/1.2 var(--font-mono);font-variant-numeric:tabular-nums}.terminal-shell .ticket-quote b{grid-column:1/-1;font:500 12px/1.2 var(--font-sans);color:var(--text)}.terminal-shell .order-ticket .ot-sides button{height:56px}.terminal-shell .order-ticket .stepper{height:44px;grid-template-columns:48px 1fr 48px}.terminal-shell .order-ticket input{font-size:16px}.terminal-shell .order-ticket .ot-kinds button{height:38px}.terminal-shell .order-ticket .ot-review{min-height:48px}.terminal-shell .order-ticket .ot-scalp-pop{bottom:calc(16px + env(safe-area-inset-bottom))}.terminal-shell .mp-panel{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:43;width:auto;max-height:60vh;max-height:60dvh;padding:18px max(14px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));border-bottom:0;border-radius:var(--r-lg) var(--r-lg) 0 0;overscroll-behavior:contain;animation:m-sheet-up .22s cubic-bezier(.2,.8,.2,1)}.terminal-shell .mp-panel input{font-size:16px}.terminal-shell .mp-actions button{min-height:44px}.pm{display:flex;flex-direction:column;gap:12px}.pm-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pm-nav button{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-md);background:transparent;color:var(--text-2);font-size:13px;font-weight:500;text-align:left;cursor:pointer}.pm-nav button.active{border-color:transparent;background:var(--btn-bg);color:var(--btn-fg)}.pm-section{display:flex;flex-direction:column;gap:2px;padding-top:10px;border-top:1px solid var(--line-soft)}.pm-row{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--text);font-size:13px;text-align:left;text-decoration:none;cursor:pointer}.pm-row:active,.pm-row:hover{background:var(--hover)}.pm-row.accent{color:var(--accent-text);font-weight:500}.pm-row.danger{color:var(--down-text)}.pm-theme .theme-toggle{width:44px;height:44px}.pm-status{display:flex;align-items:center;gap:10px;padding:4px 12px 8px}.pm-status span{display:flex;flex-direction:column;gap:3px;min-width:0}.pm-status b{font:600 10px/1.2 var(--font-mono);letter-spacing:.12em;color:var(--text)}.pm-status small{color:var(--muted);font-size:11.5px;line-height:1.35;overflow-wrap:anywhere}.pm-status:has(.live-dot.offline:not(.stale)) b,.pm-status:has(.live-dot.stale) b{color:var(--amber-text)}.pm-list{display:flex;flex-direction:column;gap:2px}.pm-list button{min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:8px;padding:0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--text);text-align:left;cursor:pointer}.pm-list button:disabled{cursor:default}.pm-account{display:flex;align-items:center;gap:2px}.pm-account>button:first-child{flex:1;min-width:0}.pm-list button.pm-account-delete{flex:0 0 44px;display:block;padding:0;text-align:center;color:var(--faint);font-size:18px}.pm-list b{font:500 12.5px var(--font-mono)}.pm-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11.5px}.pm-list em{font:500 10px var(--font-mono);font-style:normal;color:var(--up-text)}.pm-user{display:flex;flex-direction:column;gap:5px;padding:4px 12px 6px}.pm-user b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.pm-extra:empty{display:none}.pm-extra .wg-check,.pm-extra .wg-check-pill{position:static;left:auto;bottom:auto;width:auto;box-shadow:none}.m-sheet-news .news-strip{display:block;height:auto;padding:0;border:0;background:transparent;white-space:normal}.m-sheet-news .news-strip>:not(.news-pop){display:none}.m-sheet-news .news-pop{position:static;max-height:none;border:1px solid var(--line-soft);box-shadow:none;animation:none}.m-sheet-news .news-cols{overflow:visible}.terminal-shell .toast{left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:50;max-width:none;border-radius:var(--r-lg)}.terminal-shell .scalp-report,.terminal-shell[data-view=terminal] .toast{bottom:calc(var(--phone-bar) + env(safe-area-inset-bottom) + 10px)}.terminal-shell .scalp-report{left:12px;right:12px;width:auto}.terminal-shell .connecting-pill{top:calc(env(safe-area-inset-top) + var(--phone-top) + 8px);bottom:auto;right:8px}.terminal-shell .modal-backdrop{z-index:45}.update-bar{bottom:calc(66px + env(safe-area-inset-bottom))}.terminal-shell .feature-page,.terminal-shell:not([data-view=terminal]) .dashboard{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.terminal-shell .feature-page,.terminal-shell .footer-bar,.terminal-shell:not([data-view=terminal]) .dashboard{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.terminal-shell .guide-toc{top:calc(var(--phone-top) + env(safe-area-inset-top))}.connecting-backdrop,.ind-backdrop,.modal-backdrop,.ot-confirm{padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.modal-backdrop .about-modal,.modal-backdrop .connect-modal{max-height:calc(100vh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}.ind-backdrop .ind-modal:not(.float){max-height:calc(100vh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.ind-modal.float{padding-bottom:env(safe-area-inset-bottom)}.terminal-shell .scalp-report,.terminal-shell .toast{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.terminal-shell .connecting-pill{right:max(8px,env(safe-area-inset-right))}.terminal-shell .account-menu,.terminal-shell .user-pop{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right))}.terminal-shell .user-pop{top:calc(env(safe-area-inset-top) + var(--phone-top) + 4px)}.mo-pop,.tf-pop{max-height:calc(100vh - 80px - env(safe-area-inset-bottom));max-height:calc(100dvh - 80px - env(safe-area-inset-bottom))}body:has(.terminal-shell[data-view=terminal]),html:has(.terminal-shell[data-view=terminal]){overscroll-behavior:none}:where(.terminal-shell,.m-sheet,.modal-backdrop) :where(button,a,select,summary,label,[role=button],[role=tab],[role=menuitemradio]){-webkit-tap-highlight-color:transparent;touch-action:manipulation}.terminal-shell .chart-toolbar,.terminal-shell .draw-toolbar,.terminal-shell .ol-layer,.terminal-shell .pane-tabs,.terminal-shell .phone-bar,.terminal-shell .phone-order-bar,.terminal-shell .topbar{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.terminal-shell .phone-order-bar input{-webkit-user-select:text;user-select:text}.ind-backdrop input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.ind-backdrop select,.ind-backdrop textarea,.modal-backdrop input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.modal-backdrop select,.modal-backdrop textarea,.terminal-shell input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),.terminal-shell select,.terminal-shell textarea{font-size:16px}.terminal-shell .chart-toolbar .timeframe-more{height:36px;transform:scale(.72);transform-origin:left center;margin-right:-26px}.terminal-shell .pane-tabs{padding:4px 8px;overscroll-behavior-x:contain;touch-action:pan-x}.terminal-shell{--phone-order:132px}.terminal-shell .phone-order-bar{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px 24px 44px;gap:4px 8px;max-height:calc(var(--phone-order) + env(safe-area-inset-bottom));padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--bg);touch-action:manipulation;-webkit-tap-highlight-color:transparent;animation:m-sheet-up .18s cubic-bezier(.2,.8,.2,1)}.terminal-shell .phone-order-bar button{cursor:pointer;font-family:inherit}.terminal-shell .phone-order-bar button:disabled{cursor:default;opacity:.45}.terminal-shell .phone-order-bar[inert]{opacity:.7}.terminal-shell .pob-row{display:flex;align-items:center;gap:6px;min-width:0}.terminal-shell .pob-kinds,.terminal-shell .pob-mode,.terminal-shell .pob-sides,.terminal-shell .pob-stepper{height:44px;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}.terminal-shell .pob-sides{flex:1 1 auto;display:grid;grid-template-columns:1fr 1fr;min-width:0}.terminal-shell .pob-sides button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;border:0;background:transparent;color:var(--muted)}.terminal-shell .pob-sides span{font:600 9px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase}.terminal-shell .pob-sides b{max-width:100%;overflow:hidden;text-overflow:ellipsis;font:500 12.5px/1 var(--font-mono);font-variant-numeric:tabular-nums}.terminal-shell .pob-sides .sell.active{background:var(--down);color:var(--text)}.terminal-shell .pob-sides .buy.active{background:var(--up);color:var(--text)}.terminal-shell .pob-kinds,.terminal-shell .pob-mode{flex:none;display:flex}.terminal-shell .pob-kinds button,.terminal-shell .pob-mode button{min-width:44px;padding:0 7px;border:0;background:transparent;color:var(--text-2);font-size:11.5px;font-weight:500}.terminal-shell .pob-kinds button+button,.terminal-shell .pob-mode button+button{border-left:1px solid var(--line)}.terminal-shell .pob-kinds button.active,.terminal-shell .pob-mode button[aria-pressed=true]{background:var(--accent-tint);color:var(--accent-text)}.terminal-shell .pob-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:18px;line-height:1}.terminal-shell .pob-readout{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-2);font:500 11px/24px var(--font-mono);font-variant-numeric:tabular-nums}.terminal-shell .pob-readout.warn{color:var(--amber-text)}.terminal-shell .pob-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.terminal-shell .pob-add,.terminal-shell .pob-full{position:relative;flex:none;height:24px;padding:0 9px;border:1px solid var(--line);border-radius:var(--pill);background:transparent;color:var(--text-2);font:500 10.5px/1 var(--font-sans);white-space:nowrap}.terminal-shell .pob-add:after,.terminal-shell .pob-full:after{content:"";position:absolute;inset:-10px -3px}.terminal-shell .pob-add{border-style:dashed;border-color:var(--line-strong);font-family:var(--font-mono);letter-spacing:.06em}.terminal-shell .pob-add.sl{color:var(--down-text)}.terminal-shell .pob-add.tp{color:var(--up-text)}.terminal-shell .pob-stepper{flex:1 1 auto;display:grid;grid-template-columns:44px minmax(48px,1fr) 44px;min-width:0}.terminal-shell .pob-stepper>button{border:0;background:transparent;color:var(--text);font-size:18px;line-height:1}.terminal-shell .pob-stepper label{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;border-left:1px solid var(--line-soft);border-right:1px solid var(--line-soft)}.terminal-shell .pob-stepper input{width:100%;min-width:0;height:100%;padding:0;border:0;background:transparent;color:var(--text);text-align:center;font:500 16px/1 var(--font-mono);font-variant-numeric:tabular-nums;outline:none}.terminal-shell .pob-stepper label:has(small) input{text-align:right}.terminal-shell .pob-stepper small{flex:none;padding-right:6px;color:var(--muted);font-size:10px}.terminal-shell .pob-review{flex:none;min-width:96px;height:44px;padding:0 12px;border:0;border-radius:var(--r-md);color:var(--text);font-size:13px;font-weight:600}.terminal-shell .pob-review.buy{background:var(--up)}.terminal-shell .pob-review.sell{background:var(--down)}.terminal-shell .pob-review:not(:disabled):active{filter:brightness(1.1)}.terminal-shell .ol-pill.draft{height:30px}.terminal-shell .ol-pill.draft .ol-add,.terminal-shell .ol-pill.draft .ol-x{height:24px}.terminal-shell .ol-pill.draft .ol-x{width:24px}.terminal-shell .draw-toolbar[hidden],.terminal-shell[data-place=on] .draw-toolbar,.terminal-shell[data-place=on] .ll-layer{display:none}.terminal-shell .ol-pill.live{height:28px}.terminal-shell .ol-pill.live .ol-add,.terminal-shell .ol-pill.live .ol-x{height:24px}.terminal-shell .ol-pill.live .ol-x{width:24px}.terminal-shell[data-place] .order-ticket{display:contents}.terminal-shell[data-place] .order-ticket>:not(.ot-confirm):not(.ot-scalp-pop){display:none}.terminal-shell[data-place] .ot-scalp-pop,.terminal-shell[data-place] .scalp-report,.terminal-shell[data-place][data-view=terminal] .toast{bottom:calc(var(--phone-order) + env(safe-area-inset-bottom) + 10px)}}@media (max-height:500px) and (max-width:1000px) and (pointer:coarse),(max-width:740px) and (max-height:500px){.terminal-shell{--phone-top:44px;--phone-bar:52px}.terminal-shell .chart-toolbar{height:40px}.terminal-shell .phone-bar{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.terminal-shell .phone-trade{flex-direction:row;gap:10px}.terminal-shell .draw-toolbar{gap:0;padding:2px}.terminal-shell .order-ticket .ticket-heading{min-height:calc(48px + env(safe-area-inset-top))}.terminal-shell{--phone-order:84px}.terminal-shell .phone-order-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px 24px;grid-template-areas:"top bottom" "info info";padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.terminal-shell .pob-top{grid-area:top}.terminal-shell .pob-info{grid-area:info}.terminal-shell .pob-bottom{grid-area:bottom}}@media (max-width:374px){.terminal-shell .pob-mode button{min-width:40px;padding:0 5px}.terminal-shell .pob-review{min-width:0;padding:0 10px}.terminal-shell .phone-tab{max-width:92px}.terminal-shell .phone-trade b{font-size:14px}}@media (prefers-reduced-motion:reduce){.m-sheet,.m-sheet-backdrop,.terminal-shell .mp-panel,.terminal-shell .order-ticket,.terminal-shell .phone-order-bar,.terminal-shell .terminal,.terminal-shell .watchlist{animation:none}}