@media (max-width:760px),(max-width:900px) and (max-height:500px){body:has(.terminal-shell){overscroll-behavior:none;width:100%;height:100dvh;overflow:hidden}body:has(.terminal-shell) .terminal-shell{width:100%;min-width:0;max-height:calc(100dvh - var(--dizy-product-nav-height,76px));overflow:hidden;height:calc(100dvh - var(--dizy-product-nav-height,76px))!important}body:has(.terminal-shell) .topbar{flex:0 0 48px;align-items:center;min-width:0;display:flex;height:48px!important;min-height:48px!important;padding:4px max(6px, env(safe-area-inset-right)) 4px max(6px, env(safe-area-inset-left))!important;flex-wrap:nowrap!important;gap:6px!important;overflow:hidden!important}body:has(.terminal-shell) .brand-lockup{display:none!important}body:has(.terminal-shell) .profile{flex:none;gap:4px}body:has(.terminal-shell) .account-switch{grid-template-rows:28px;grid-template-columns:28px;width:36px;min-width:36px;height:36px;padding:4px}body:has(.terminal-shell) .account-switch>span{grid-row:1}:is(body:has(.terminal-shell) .account-switch b,body:has(.terminal-shell) .account-switch em){display:none}body:has(.terminal-shell) .icon-button{width:36px;height:36px}body:has(.terminal-shell) .system-strip{overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0;flex-wrap:nowrap!important;flex:auto!important;align-content:center!important;align-items:center!important;gap:4px!important;height:40px!important;padding:0!important;display:flex!important;overflow:auto hidden!important}body:has(.terminal-shell) .system-strip::-webkit-scrollbar{display:none}body:has(.terminal-shell) .system-strip:after{display:none!important}body:has(.terminal-shell) .system-strip>.nav-tab{display:none!important}body:has(.terminal-shell) .system-strip>.confirmed{display:none!important}body:has(.terminal-shell) .system-strip>.test-mode{display:none!important}body:has(.terminal-shell) .system-strip>.lock-status{display:none!important}:is(body:has(.terminal-shell) .system-strip>.connection,body:has(.terminal-shell) .system-strip>.viewer-badge){white-space:nowrap;border-radius:6px;flex:none;align-items:center;min-height:32px;padding:5px 7px;font-size:9px;order:2!important;display:inline-flex!important}body:has(.terminal-shell) .system-strip>.global-quick-actions{z-index:auto!important;flex-flow:row!important;flex:none!important;order:1!important;align-items:center!important;gap:4px!important;width:auto!important;max-width:none!important;margin:0!important;display:flex!important;position:static!important;inset:auto!important}:is(body:has(.terminal-shell) .global-quick-actions .command-palette-floating,body:has(.terminal-shell) .global-quick-actions .recent-shortcuts-trigger){white-space:nowrap;width:auto!important;min-width:34px!important;max-width:none!important;height:34px!important;min-height:34px!important;margin:0!important;padding-inline:7px!important;font-size:9px!important;position:static!important;inset:auto!important;overflow:visible!important;transform:none!important}body:has(.terminal-shell) .global-quick-actions .command-palette-floating kbd{display:none}body:has(.terminal-shell) .terminal-body-layout{min-width:0;min-height:0;overflow:hidden;padding-top:0!important}:is(.terminal-shell .terminal-primary-column,.terminal-shell .terminal-primary-column:has(.settings-panel)){width:100%;min-height:0;min-width:0!important;padding-right:0!important}.terminal-shell .market-toolbar{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:none;align-content:flex-start;align-items:center;gap:6px 8px;min-width:0;max-width:100%;min-height:0;max-height:142px;padding:6px 8px;flex-wrap:wrap!important;overflow:hidden auto!important}.terminal-shell .market-toolbar>*{min-width:0;max-width:100%}.terminal-shell .symbol-block{flex:132px;gap:7px;min-width:0}.terminal-shell .coin{flex:0 0 28px;width:28px;height:28px;font-size:16px}.terminal-shell .symbol-block strong{font-size:12px}.terminal-shell .symbol-block small{font-size:9px}.terminal-shell .quote-block{flex:none;min-width:88px}.terminal-shell .toolbar-divider{display:none}.terminal-shell .timeframes{-webkit-overflow-scrolling:touch;flex:190px;order:20;min-width:0;max-width:100%;overflow:auto hidden}.terminal-shell .timeframes button,.terminal-shell .mode-control button{height:32px;min-height:32px}.terminal-shell .timeframes button{width:34px;min-width:34px}.terminal-shell .chart-view-actions{scrollbar-width:none;flex:0 auto;order:21;min-width:0;max-width:100%;overflow:auto hidden}.terminal-shell .chart-view-actions::-webkit-scrollbar{display:none}.terminal-shell .chart-view-actions button,.terminal-shell .preset-button,.terminal-shell .refresh-button{height:34px;min-height:34px}.terminal-shell .dizyflow-controls{order:30;width:100%;flex:100%!important;grid-template-columns:auto minmax(0,1fr)!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.terminal-shell .flow-component-toggles{overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100%;flex-wrap:nowrap!important;overflow:auto hidden!important}.terminal-shell .flow-component-toggles::-webkit-scrollbar{display:none}.terminal-shell .flow-component-toggles>button{min-height:32px;flex:none!important}.terminal-shell .flow-toast-rail{order:31;flex:100%!important;min-width:0!important;max-width:100%!important}.terminal-shell .replay-controls{flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;min-height:0;max-height:92px;padding:5px 8px;overflow:auto}.terminal-shell .replay-flow-note{margin-left:0}.terminal-shell .workspace,.terminal-shell .workspace.panel-closed{min-width:0;min-height:0;position:relative;overflow:hidden;grid-template:"chart"minmax(0,1fr)/minmax(0,1fr)!important}.terminal-shell .workspace:has(.dizyflow-dom){grid-template:"chart"minmax(0,1fr)"dom"minmax(150px,32dvh)/minmax(0,1fr)!important}.terminal-shell .workspace.panel-closed:has(.dizyflow-dom){grid-template:"chart"minmax(0,1fr)"dom"minmax(150px,32dvh)/minmax(0,1fr)!important}.terminal-shell .chart-section{grid-area:chart;grid-template-rows:34px minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.terminal-shell .terminal-primary-column>#manual-paper-panel{flex:0 0 160px!important;height:160px!important;min-height:160px!important;max-height:160px!important}.terminal-shell .terminal-primary-column>#manual-paper-panel>div:last-child{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:calc(100% - 38px)!important;min-height:0!important;display:block!important;overflow:auto!important}.terminal-shell .chart-status-row{overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;min-width:0;min-height:34px;padding:0 8px;overflow:auto hidden}.terminal-shell .chart-status-row::-webkit-scrollbar{display:none}.terminal-shell .chart-status-row>div{flex:none;gap:8px}.terminal-shell .chart-wrap,.terminal-shell .chart-tools-grid{min-width:0;min-height:0}.terminal-shell .signal-dock{overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-flow:row;gap:6px;width:100%;min-width:0;min-height:0;padding:6px;grid-template-columns:none!important;display:flex!important;overflow:auto hidden!important}.terminal-shell .terminal-primary-column:has(.settings-panel) .signal-dock{overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-flow:row;gap:6px;width:100%;min-width:0;min-height:0;padding:6px;grid-template-columns:none!important;display:flex!important;overflow:auto hidden!important}.terminal-shell .signal-dock::-webkit-scrollbar{display:none}.terminal-shell .signal-dock article{flex:0 0 min(44vw,160px);min-width:132px;max-width:160px}.terminal-shell .dizyflow-dom{border-top:1px solid #342b4b;grid-area:dom;min-height:0;border-left:0!important;width:100%!important;min-width:0!important;max-width:none!important;overflow:hidden!important}.terminal-shell .dom-book{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0}.terminal-shell .settings-panel{z-index:82;max-height:calc(100dvh - var(--dizy-product-nav-height,76px));bottom:0;right:0;box-shadow:-20px 0 55px #000c;top:var(--dizy-product-nav-height,76px)!important;width:min(100vw,380px)!important;min-width:min(100vw,380px)!important;max-width:min(100vw,380px)!important;height:calc(100dvh - var(--dizy-product-nav-height,76px))!important;position:fixed!important}.terminal-shell .brain-mobile-backdrop.visible{top:var(--dizy-product-nav-height,76px)!important}.terminal-shell .dizybrain-workspace.drawer{max-height:calc(100dvh - var(--dizy-product-nav-height,76px));right:0;top:var(--dizy-product-nav-height,76px)!important;width:min(100vw,420px)!important;max-width:min(100vw,420px)!important;height:calc(100dvh - var(--dizy-product-nav-height,76px))!important}.terminal-shell .dizybrain-launch{right:max(8px, env(safe-area-inset-right));bottom:calc(max(8px, env(safe-area-inset-bottom)) + 76px);min-height:42px}}@media (max-width:420px){body:has(.terminal-shell) .topbar{padding-inline:max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right))!important;gap:4px!important}body:has(.terminal-shell) .profile{gap:3px}:is(body:has(.terminal-shell) .global-quick-actions .command-palette-floating,body:has(.terminal-shell) .global-quick-actions .recent-shortcuts-trigger){padding-inline:6px!important}.terminal-shell .market-toolbar{max-height:132px;padding-inline:6px}.terminal-shell .symbol-block small{display:none}.terminal-shell .signal-dock article{flex-basis:min(48vw,150px)}}@media (max-width:900px) and (max-height:500px){.terminal-shell .market-toolbar{scrollbar-width:thin;align-content:center;max-height:64px;padding-block:4px;flex-wrap:nowrap!important;overflow:auto hidden!important}.terminal-shell .market-toolbar>*{flex-shrink:0}.terminal-shell .replay-controls{max-height:70px}.terminal-shell .workspace:has(.dizyflow-dom){grid-template-rows:minmax(0,1fr) minmax(110px,38dvh)!important}.terminal-shell .workspace.panel-closed:has(.dizyflow-dom){grid-template-rows:minmax(0,1fr) minmax(110px,38dvh)!important}.terminal-shell .chart-section{grid-template-rows:34px minmax(60px,1fr) 36px}.terminal-shell .terminal-primary-column>#manual-paper-panel{flex:0 0 38px!important;height:38px!important;min-height:38px!important;max-height:38px!important}.terminal-shell .terminal-primary-column>#manual-paper-panel>div:first-child,.terminal-shell .terminal-primary-column>#manual-paper-panel>div:last-child{display:none!important}.terminal-shell .signal-dock{align-items:stretch;height:36px;min-height:36px;max-height:36px;padding:2px 4px}.terminal-shell .terminal-primary-column:has(.settings-panel) .signal-dock{align-items:stretch;height:36px;min-height:36px;max-height:36px;padding:2px 4px}.terminal-shell .signal-dock article{flex-direction:row;align-items:center;gap:6px;min-height:32px;max-height:32px;padding:3px 8px}.terminal-shell .signal-dock strong{margin-top:0;font-size:12px}.terminal-shell .signal-dock small,.terminal-shell .signal-dock .score-track{display:none}}
