.terminal-mobile-navigation{display:none}.terminal-mobile-backdrop{z-index:300;background:#00000073;position:fixed;inset:0}.terminal-mobile-drawer{z-index:301;background:var(--background);width:min(390px,100%);max-width:100vw;height:100dvh;color:var(--foreground);border-right:1px solid var(--border);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.terminal-mobile-drawer[data-side=right]{border-left:1px solid var(--border);border-right:0;inset:0 0 0 auto}.terminal-mobile-drawer-header{border-bottom:1px solid var(--border);background:var(--panel-bg-alt);flex:none;justify-content:space-between;align-items:center;min-height:52px;padding:4px 12px;font-size:15px;font-weight:500;display:flex}.terminal-mobile-drawer-body{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.terminal-mobile-drawer-body>:first-child{width:100%;min-width:0}.terminal-mobile-icon{width:44px;height:44px;color:var(--foreground);border-radius:4px;flex:0 0 44px;place-items:center;display:inline-grid}.terminal-mobile-icon:hover{background:var(--muted)}.terminal-mobile-menu{gap:2px;padding:8px;display:grid}.terminal-mobile-menu button{text-align:left;border-left:2px solid #0000;min-height:44px;padding:10px 12px;font-size:14px}.terminal-mobile-menu button[aria-current=page]{background:var(--panel-bg-alt);border-left-color:var(--info)}.terminal-mobile-utilities{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:16px;padding:12px 16px;display:flex}.terminal-mobile-utilities button{min-width:40px;min-height:40px;font-size:12px}.terminal-mobile-import{color:var(--muted-foreground);padding:8px 16px 16px;font-size:12px}.terminal-mobile-drawer :where(button,input,select,a):focus-visible{outline:2px solid var(--info);outline-offset:2px}@media (max-width:1023px){.terminal-shell{height:100dvh;padding-inline:env(safe-area-inset-left) env(safe-area-inset-right)}.terminal-shell .terminal-desktop-rail{display:none}.terminal-shell .terminal-center-panel{width:100%;min-height:0;transition:none}.terminal-shell .terminal-unified-header{min-height:104px;padding:env(safe-area-inset-top) 8px 4px;grid-template-columns:max-content minmax(0,1fr);grid-template-areas:"brand mobile""stats stats"}.terminal-shell .terminal-shell-nav,.terminal-shell .terminal-header-utilities{display:none}.terminal-shell .terminal-brand{min-width:42px;height:38px;padding-inline:4px}.terminal-shell .terminal-brand-wordmark{display:none}.terminal-mobile-navigation{grid-area:mobile;justify-content:flex-end;align-items:center;min-width:0;display:flex}.terminal-mobile-menu-trigger{min-width:0;min-height:44px;color:var(--foreground);flex:1;align-items:center;gap:8px;padding:4px 12px;font-size:14px;display:flex}.terminal-shell .terminal-portfolio-stats{white-space:normal;grid-template-columns:.85fr 1fr 1.25fr;justify-self:stretch;height:auto;padding-block:6px;display:grid}.terminal-shell .terminal-header-stat{justify-content:flex-start;padding-inline:6px}.terminal-shell .terminal-header-stat-label{letter-spacing:0;font-size:10px;line-height:1.4}.terminal-shell .terminal-header-stat-value{overflow-wrap:anywhere;font-size:12px;line-height:1.45}.terminal-action-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.terminal-action-dialog button{min-height:40px}}@media (max-width:767px){.terminal-mobile-drawer .alert-stack-desktop-heading{display:none}.terminal-shell .terminal-tabbar.terminal-contextbar{flex-wrap:wrap;height:auto;min-height:48px;padding:4px 8px}.terminal-shell .terminal-tab-actions{flex-wrap:wrap;min-width:0}.terminal-shell .terminal-contextbar .terminal-tab-actions button{min-height:36px}.terminal-shell .analysis-context-toolbar{flex-wrap:wrap;gap:6px;height:auto;min-height:48px;padding:6px 8px}.terminal-shell .analysis-toolbar-search{flex:100%;max-width:none}.terminal-shell .analysis-context-toolbar button{min-height:36px}.terminal-shell .analysis-context-toolbar>div:last-child{display:contents}.terminal-shell .analysis-context-toolbar{gap:4px}.terminal-shell .analysis-context-toolbar [aria-label="Analysis view options"]{width:36px;padding:0}.terminal-shell .analysis-context-toolbar [aria-label="Analysis view options"]>svg:last-child{display:none}.terminal-shell .analysis-context-toolbar [aria-label=Analysis\ layout] button{min-width:36px;padding-inline:6px}.terminal-shell .positions-toolbar{gap:4px}.terminal-shell .positions-toolbar .phone-secondary-tool{display:none}.terminal-shell .analysis-context-toolbar [aria-label=Analysis\ layout]{height:36px}.terminal-shell .analysis-toolbar-search input{height:40px}.terminal-shell .terminal-page-content{min-width:0;padding-bottom:env(safe-area-inset-bottom)}.terminal-shell .position-grid-scroll{scrollbar-width:thin;min-width:0;overflow:auto}.terminal-shell .positions-grid{min-width:820px}.terminal-shell .positions-grid th:first-child{z-index:35;background:color-mix(in oklab, var(--card) 94%, var(--background));position:sticky;left:0}.terminal-shell .positions-grid td:first-child{z-index:15;background-image:linear-gradient(var(--position-pinned-tint,var(--panel-bg-alt)), var(--position-pinned-tint,var(--panel-bg-alt))), linear-gradient(var(--card), var(--card));position:sticky;left:0}.terminal-shell .positions-grid tr.positions-stock-row{--position-pinned-tint:transparent}.terminal-shell .positions-grid tr.positions-stock-row.is-core-etf,.terminal-shell .positions-grid:not(.positions-actions-grid) tr.positions-stock-row.is-outperforming{--position-pinned-tint:color-mix(in srgb, var(--position-highlight-accent) 4%, transparent)}.terminal-shell .positions-grid:not(.positions-actions-grid) tr.positions-stock-row:hover{--position-pinned-tint:color-mix(in oklab, var(--primary) 8%, transparent)}.terminal-shell .positions-grid tr.is-position-selected,.terminal-shell .positions-grid:not(.positions-actions-grid) tr.positions-stock-row.is-position-selected{--position-pinned-tint:color-mix(in oklab, var(--color-sky-500) 5.5%, transparent)}.terminal-shell .positions-grid td[colspan]{position:static}.terminal-shell .analysis-grid th:first-child,.terminal-shell .analysis-grid td:first-child{z-index:15;background:var(--panel-bg-alt);position:sticky;left:0}.terminal-shell .analysis-grid td[colspan]{position:static}.terminal-shell .analysis-grid th:first-child{z-index:35}.terminal-shell [data-news-root]{padding:6px}.terminal-shell [data-news-root] .news-shell>.terminal-workspace-header{flex-shrink:0}.terminal-shell [data-news-root] .news-commands button{min-height:40px}.terminal-shell [data-news-root] aside button{min-width:36px;min-height:36px}.terminal-shell .positions-grid td:first-child{padding-inline:8px}.terminal-shell .analysis-grid .analysis-name-cell{padding-left:10px}.terminal-shell .analysis-grid{--analysis-security-indent:0px}.terminal-shell .analysis-grid .analysis-name-primary,.terminal-shell .analysis-grid .analysis-name-content{flex-wrap:wrap;gap:4px}.terminal-shell .analysis-grid .analysis-company-name{white-space:normal;overflow-wrap:anywhere;letter-spacing:0;flex-basis:100%;font-size:12px;line-height:1.4}.terminal-shell .analysis-grid .analysis-security-type-toggle,.terminal-shell .analysis-grid .analysis-row-expander{min-width:28px;min-height:28px}.terminal-shell .analysis-grid .analysis-row-expander-placeholder,.terminal-shell .analysis-grid .analysis-name-ticker-hover-zone{display:none}.terminal-shell .analysis-grid .analysis-ticker-rail{margin-left:0}.terminal-shell .analysis-grid .analysis-stock-row td{padding-top:5px;padding-bottom:5px}.terminal-shell .analysis-grid .analysis-hierarchy-label{white-space:normal;font-size:18px}.terminal-shell .analysis-grid .analysis-security-type-toggle{opacity:1}.terminal-shell .analysis-grid .analysis-company-identity.has-exchange-warning{padding-right:18px}.terminal-shell .analysis-grid .analysis-exchange-warning{align-items:start;width:28px;height:28px;padding-top:4px;top:-7px;right:-4px}.terminal-shell .analysis-grid .analysis-inline-editor{flex-wrap:wrap;min-width:0;max-width:calc(100vw - 24px)}.terminal-shell [data-terminal-page=MARKETS] header{flex-wrap:wrap;gap:10px;padding:12px}.terminal-shell [data-terminal-page=MARKETS] header>div:last-child{flex-shrink:0}.terminal-shell .market-map-list{min-width:0}.terminal-shell .market-map-header{display:none}.terminal-shell .market-map-row{flex-direction:column;min-width:0;margin-bottom:8px;display:flex}.terminal-shell .market-map-open{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px;padding-bottom:10px}.terminal-shell .market-map-open>span:first-child{grid-column:1/-1;height:auto;padding:12px 50px 0 8px}.terminal-shell .market-map-open [data-market-identity-content]{margin-left:0}.terminal-shell [data-mobile-label]{border-left:0;flex-wrap:wrap;justify-content:flex-start;row-gap:4px;padding-inline:8px}.terminal-shell [data-mobile-label]:before{content:attr(data-mobile-label);letter-spacing:.06em;text-transform:uppercase;color:var(--muted-foreground);flex-basis:100%;font-size:10px}.terminal-shell .market-map-next-step{width:44px;height:44px}.terminal-shell .market-map-actions{border-top:1px solid var(--border);min-height:44px}.terminal-shell [data-market-evidence-control]{width:44px;height:44px}.terminal-shell [data-market-edit-hover-zone]{width:44px;min-width:0;height:44px;top:4px;left:auto;right:0}.terminal-shell [data-market-edit-hover-zone] button{opacity:1;pointer-events:auto;justify-content:center;width:44px;height:44px;padding:0;position:static;transform:none}.terminal-shell [data-market-edit-hover-zone] button span{display:none}.terminal-shell [data-market-edit-hover-zone] button svg{width:18px;height:18px}.terminal-shell [id^=market-stock-evidence-]{min-width:0;display:block}.terminal-shell [data-testid^=market-stock-evidence-row-]{flex-wrap:wrap;gap:6px 14px;height:auto;padding:6px 8px;display:flex}.terminal-shell [data-testid^=market-stock-evidence-row-]>span{border-left:0;padding-inline:0}.terminal-shell [data-testid^=market-stock-evidence-row-]>span:first-child{flex-basis:100%}.terminal-shell [data-testid^=market-stock-evidence-row-]>span:empty{display:none}.terminal-shell [data-testid=market-configuration-dialog]{max-height:calc(100dvh - 40px)}.terminal-shell [data-testid=market-configuration-dialog]>div{padding:12px}.terminal-shell [data-testid=market-configuration-dialog] button{min-height:40px}.terminal-shell [data-testid=help-tab]>header{padding:12px}.terminal-shell [data-testid=help-tab]>div{flex-direction:column}.terminal-shell [data-testid=help-tab] aside{border-right:0;border-bottom:1px solid var(--border);width:100%;padding:6px 8px}.terminal-shell [data-testid=help-tab] aside>div{display:none}.terminal-shell [aria-label=Help\ contents]{scrollbar-width:thin;gap:4px;display:flex;overflow-x:auto}.terminal-shell [aria-label=Help\ contents] button{flex:none;width:auto;min-height:40px;font-size:12px}.terminal-shell [aria-label=Help\ contents] svg{display:none}.terminal-shell [data-testid=help-scroll-area]>div{padding:12px}.terminal-shell [data-terminal-page=HISTORY]>div{padding:8px}.terminal-shell [data-terminal-page=HISTORY] .terminal-workspace-header{gap:8px;padding:8px}.terminal-shell [data-terminal-page=HISTORY] table{min-width:680px}.terminal-shell [data-terminal-page=HISTORY] input{min-width:0;max-width:100%}.terminal-shell [data-terminal-page=POSITIONS]>.grid,.terminal-shell [data-terminal-page=PORTFOLIO]>.grid{flex-direction:column;height:auto;display:flex}.terminal-shell [data-terminal-page=POSITIONS]>.grid>div:first-child,.terminal-shell [data-terminal-page=PORTFOLIO]>.grid>div:first-child{min-height:240px;max-height:50dvh}.terminal-shell .review-dock{grid-template-columns:minmax(0,1fr);padding:12px;position:static}.terminal-shell .review-dock-actions{flex-wrap:wrap}.terminal-shell .review-dock-button{min-height:44px}[role=dialog]:not(.terminal-mobile-drawer){max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto}.terminal-mobile-drawer :where(input,select,textarea),.terminal-shell :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px}.terminal-shell .phone-compact-grid{border-collapse:separate;border-spacing:0;min-width:0}.terminal-shell .phone-compact-grid th:first-child,.terminal-shell .phone-compact-grid td:first-child{position:static}.terminal-shell .phone-compact-grid tbody tr.positions-stock-row>td,.terminal-shell .phone-compact-grid .phone-analysis-row>td{text-align:right;font-variant-numeric:tabular-nums;border-right:0;border-bottom:1px solid var(--border);height:58px;padding:7px 8px;font-size:12px;line-height:1.35}.terminal-shell .phone-compact-grid tbody tr.positions-stock-row>td:first-child,.terminal-shell .phone-compact-grid .phone-analysis-row>td:first-child{text-align:left}.terminal-shell .phone-compact-grid .phone-analysis-row>td:first-child{padding:0}.terminal-shell .phone-compact-grid .phone-security-name{white-space:normal;text-overflow:clip}.phone-research-trigger{text-align:left;cursor:pointer;width:100%;min-height:58px;padding:7px 8px;display:block}.phone-research-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.terminal-shell .phone-compact-grid tbody tr:not(.positions-stock-row)>td{min-width:0}.terminal-shell .phone-compact-grid .analysis-hierarchy-label{font-size:12px;line-height:1.4}.terminal-shell .phone-compact-grid .analysis-hierarchy-content{gap:6px;padding-block:4px}.terminal-shell .phone-compact-grid .analysis-section-stats{padding-right:0}.terminal-shell .phone-compact-grid .analysis-section-stats span{font-size:11px}.terminal-shell .phone-compact-grid .analysis-hierarchy-content button{min-width:28px;min-height:32px}.terminal-shell .phone-compact-grid .analysis-expanded-row>td{text-align:left;padding:0}.terminal-shell .phone-compact-grid .analysis-hierarchy-content>:last-child{gap:2px}.terminal-shell .analysis-grid-scroll:has(.phone-compact-grid){padding-inline:0}.terminal-shell [aria-label=Positions\ display]{border:0;gap:4px;padding:0}.terminal-shell [aria-label=Positions\ display]>button{min-width:36px}}@media (prefers-reduced-motion:reduce){.terminal-shell .terminal-desktop-rail,.terminal-shell .terminal-desktop-rail>div,.terminal-shell .terminal-center-panel{transition:none}}
