@media (min-width:1200px){:root{--motion-fast:120ms;--motion-normal:160ms;--motion-slow:220ms;--motion-overlay:240ms;--motion-enter:cubic-bezier(0.16,1,0.3,1);--motion-exit:cubic-bezier(0.4,0,1,1);--motion-state:ease-out;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--workspace-max:1440px;--workspace-sidebar:184px;--workspace-rail:288px;--workspace-gap:var(--space-6);--workspace-columns:repeat(12,minmax(0,1fr));--workspace-radius:16px;--workspace-border:#e7edf4;--workspace-shadow:0 3px 16px #284c7305;--workspace-shadow-hover:0 5px 18px #284c730d}html{scrollbar-gutter:stable}.app-shell,.app-shell:has(.home-view){--desk-duration:var(--motion-normal);--desk-easing:var(--motion-state);--desk-page-gap:var(--workspace-gap);--desk-radius:var(--workspace-radius);--desk-border:var(--workspace-border);width:min(calc(100% - 48px),var(--workspace-max));grid-template-columns:var(--workspace-sidebar) minmax(0,1fr);gap:var(--workspace-gap);padding-top:var(--space-6)}.app-shell[data-page=BACKTEST]{--workspace-max:1600px}.app-shell .desktop-sidebar{top:var(--space-6)}.app-shell .desktop-sidebar nav{gap:var(--space-2)}.app-shell .desktop-sidebar nav button{height:48px;min-height:48px;gap:var(--space-3);padding-inline:var(--space-4);line-height:24px}.app-shell .home-view{grid-template-columns:minmax(0,1fr) var(--workspace-rail);gap:var(--workspace-gap)}.app-shell .home-utility-column{gap:var(--space-4)}.app-shell :is(.operation-stack,.grid-plan-page,.swing-page){gap:var(--workspace-gap)}.app-shell .operation-head{padding-inline:0;margin-bottom:var(--space-6)}.app-shell .operation-head h1{font-size:28px;line-height:36px}.app-shell :is(.card,.track-card,.swing-card,.grid-plan-parameters,.grid-plan-ladder,.home-utility-card){border-radius:var(--workspace-radius);border-color:var(--workspace-border);box-shadow:var(--workspace-shadow)}.app-shell :is(.swing-card,.grid-plan-parameters,.grid-plan-ladder){padding:var(--space-6)}.app-shell :is(.swing-card,.grid-plan-parameters,.grid-plan-ladder) h2{font-size:18px;line-height:24px}.app-shell :is(.swing-card>header,.grid-plan-ladder>header){margin-bottom:var(--space-6)}.app-shell .record-stack{grid-template-columns:var(--workspace-columns)}.app-shell .record-stack>:first-child{grid-column:span 5;min-width:0}.app-shell .record-stack>:last-child{grid-column:span 7;min-width:0}.app-shell .home-view .overview-slide footer.stock-overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4)}.app-shell .stock-overview-metrics>div{min-width:0}.app-shell .stock-overview-metrics small{line-height:20px}.app-shell .stock-overview-metrics strong{line-height:28px}.app-shell :is(.form-grid,.grid-plan-parameters){gap:var(--space-4)}.app-shell :is(.field,.swing-card label,.grid-plan-parameters label){gap:var(--space-2)}.app-shell :is(.form-grid .two,.swing-state-metrics){column-gap:var(--space-4)}.app-shell :is(.field input,.field select,.grid-plan-parameters input:not([type=checkbox]),.grid-plan-parameters select,.swing-state input,.swing-state select){height:40px;border-radius:8px}.app-shell :is(button,a,summary,input,select,textarea){transition-property:background-color,border-color,color,box-shadow;transition-duration:var(--motion-normal);transition-timing-function:var(--motion-state)}.app-shell :is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid #7caaf1;outline-offset:2px}.app-shell :is(.primary,.secondary,.desktop-quick-action):active:not(:disabled){translate:0 1px}.app-shell :is(.desktop-stock-options button,.recent-trade-item,.new-stock-launch,.viewer-settings-launch,.backup-settings-launch):hover{border-color:#cedceb;box-shadow:var(--workspace-shadow-hover)}.app-shell :is(.range-more,.chip-line-popover,.stock-picker,.trade-editor-sheet){animation:desk-overlay-in var(--motion-normal) var(--motion-enter)}.app-shell :is(.history-anchor-card,.grid-market-hover,.swing-chart-tooltip){animation:desk-opacity-in var(--motion-fast) var(--motion-enter)}.app-shell :is(.cost-cursor-dot,.swing-cursor>b,.cost-cursor-line){animation:desk-opacity-in var(--motion-fast) var(--motion-enter)}.app-shell>.home-view{animation:desk-opacity-in var(--motion-slow) var(--motion-enter)}.app-shell>.operation-view{animation-duration:var(--motion-slow);animation-timing-function:var(--motion-enter)}.app-shell[data-page=CHIPS]>.operation-view{animation-name:desk-page-chips}.app-shell[data-page=GRID]>.operation-view{animation-name:desk-page-grid}.app-shell[data-page=SWING]>.operation-view{animation-name:desk-page-swing}.app-shell[data-page=BACKTEST]>.operation-view{animation-name:desk-page-backtest}.app-shell[data-page=RECORD]>.operation-view{animation-name:desk-page-record}.app-shell[data-page=MINE]>.operation-view{animation-name:desk-page-mine}.app-shell .home-utility-card{animation:desk-opacity-in var(--motion-slow) var(--motion-enter) 40ms backwards}.app-shell :is(.track-loading,.grid-market-empty[data-loading=true],.swing-chart-empty[data-loading=true]){position:relative;isolation:isolate}.app-shell :is(.track-loading,.grid-market-empty[data-loading=true],.swing-chart-empty[data-loading=true]):before{content:"";position:absolute;inset:16px;z-index:-1;pointer-events:none;border-radius:8px;background:linear-gradient(100deg,#f7f9fb 25%,#edf2f7 50%,#f7f9fb 75%);background-size:220% 100%;animation:desk-opacity-in .16s ease-out .18s both,desk-skeleton 1.1s ease-in-out .18s infinite}@keyframes desk-opacity-in{0%{opacity:0}to{opacity:1}}@keyframes desk-page-chips{0%{opacity:0}to{opacity:1}}@keyframes desk-page-grid{0%{opacity:0}to{opacity:1}}@keyframes desk-page-swing{0%{opacity:0}to{opacity:1}}@keyframes desk-page-backtest{0%{opacity:0}to{opacity:1}}@keyframes desk-page-record{0%{opacity:0}to{opacity:1}}@keyframes desk-page-mine{0%{opacity:0}to{opacity:1}}@keyframes desk-overlay-in{0%{opacity:0;translate:0 -4px}to{opacity:1;translate:0 0}}@keyframes desk-skeleton{0%{background-position:100% 0}to{background-position:-100% 0}}}@media (min-width:1200px) and (prefers-reduced-motion:reduce){.app-shell *,.app-shell :after,.app-shell :before{animation:none!important;transition:none!important}.app-shell :is(.primary,.secondary,.desktop-quick-action):active:not(:disabled){translate:none}}