:root{--bg-base:#f3f4f6;--bg-panel:#fff;--border-color:#e5e7eb;--text-main:#111827;--text-muted:#6b7280;--color-up:#ef4444;--color-down:#10b981;--color-primary:#3b82f6;--font-family:"PingFang TC", "Microsoft JhengHei", "Inter", sans-serif;--panel-radius:8px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-family);background-color:var(--bg-base);color:var(--text-main);flex-direction:column;height:100vh;font-size:14px;display:flex;overflow:hidden}#root{flex-direction:column;height:100vh;display:flex;overflow:hidden}.app-shell{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.top-navbar{background-color:var(--bg-panel);border-bottom:1px solid var(--border-color);z-index:10;flex-shrink:0;justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex;box-shadow:0 1px 3px #0000000d}.ticker-input-wrapper{border:1px solid var(--border-color);background:#fff;border-radius:6px;align-items:center;padding:4px 12px;display:flex;box-shadow:inset 0 1px 2px #0000000d}.navbar-left{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.navbar-stock-name{color:var(--text-main);font-size:20px;font-weight:700}.navbar-divider{background:var(--border-color);width:1px;height:20px;margin:0 4px}.navbar-date{color:var(--text-muted);font-size:15px;font-weight:700}.navbar-date-input{border:1px solid var(--border-color);height:34px;color:var(--text-muted);background:#fff;border-radius:8px;outline:none;padding:6px 10px;font-size:14px;font-weight:700}.navbar-ticks-pill{color:var(--color-primary);background:#3b82f614;border-radius:10px;padding:2px 8px;font-size:12px}.ticker-input-wrapper input{width:120px;color:var(--color-primary);letter-spacing:1px;background:0 0;border:none;outline:none;font-size:18px;font-weight:700}.ticker-input-wrapper input::placeholder{color:#d1d5db;font-weight:400}.replay-controls{background-color:var(--bg-base);border:1px solid var(--border-color);border-radius:24px;align-items:center;gap:12px;padding:6px 18px;display:flex}.replay-label{color:var(--text-muted);font-size:13px}.replay-time{text-align:center;min-width:74px;font-size:17px;font-weight:700}.replay-slider{width:230px;accent-color:var(--color-primary)}.replay-controls button{color:var(--text-main);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-size:16px;display:flex}.replay-controls button:hover{color:var(--color-primary)}.replay-step-btn{min-width:24px}.play-btn{color:var(--color-primary)!important;font-size:20px!important}.speed-selector{border:1px solid var(--border-color);color:var(--text-main);background:#fff;border-radius:4px;height:32px;padding:3px 8px}.navbar-right{align-items:center;gap:10px;display:flex}.api-usage-box{text-align:right;background:#00000008;border-radius:6px;padding:3px 8px;font-size:10px;line-height:1.35}.settings-btn{border:1px solid var(--border-color);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:6px;padding:7px 14px;font-weight:700;display:flex}.settings-btn-inline,.api-usage-inline{display:none}.toast-stack{z-index:220;pointer-events:none;flex-direction:column;gap:10px;width:min(360px,100vw - 24px);display:flex;position:fixed;top:70px;right:16px}.toast-card{color:var(--text-main);pointer-events:auto;background:#fffffff7;border:1px solid #10b9813d;border-radius:14px;align-items:center;gap:10px;padding:12px 14px;display:flex;box-shadow:0 12px 26px #0f172a1f}.toast-success{border-left:4px solid #10b981}.toast-info{border-left:4px solid #3b82f6}.toast-icon{color:#059669;background:#10b9811f;border-radius:999px;flex:none;justify-content:center;align-items:center;width:22px;height:22px;font-size:13px;font-weight:800;display:inline-flex}.toast-message{flex:auto;min-width:0;font-size:14px;font-weight:700;line-height:1.45}.toast-info .toast-icon{color:#2563eb;background:#3b82f61f}.toast-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0;font-size:20px;line-height:1}@media (width>=1101px){.main-workspace>.sidebar-section{align-self:stretch;overflow:hidden}.replay-controls{border-radius:20px;gap:10px;padding:4px 14px}.replay-time{min-width:68px;font-size:15px}.replay-slider{width:200px}.replay-controls button{font-size:15px}.play-btn{font-size:18px!important}.speed-selector{min-width:72px;height:30px;padding:2px 8px}.bottom-panel{height:118px}.main-workspace>.sidebar-section .panel-header{padding:6px 10px;font-size:12px}.main-workspace>.sidebar-section .ob-table th{padding:4px 5px;font-size:11px}.main-workspace>.sidebar-section .ob-table td{padding:3px 5px;font-size:13px}.main-workspace>.sidebar-section .power-bar-container{padding:5px 10px}.main-workspace>.sidebar-section .power-labels{margin-bottom:2px;font-size:11px}.main-workspace>.sidebar-section .trading-panel{padding:7px 9px 8px}.main-workspace>.sidebar-section .broker-order-topbar{gap:5px;margin-bottom:3px}.main-workspace>.sidebar-section .broker-pill{min-height:30px;font-size:11px}.main-workspace>.sidebar-section .broker-trade-modes{margin-bottom:5px;padding:5px}.main-workspace>.sidebar-section .trade-mode-chip{padding:5px 6px;font-size:11px}.main-workspace>.sidebar-section .trade-mode-hint{display:none}.main-workspace>.sidebar-section .broker-stepper-grid{gap:5px;margin-bottom:1px}.main-workspace>.sidebar-section .broker-stepper-card{gap:3px}.main-workspace>.sidebar-section .broker-stepper-label{font-size:10px}.main-workspace>.sidebar-section .broker-stepper-control{grid-template-columns:28px minmax(0,1fr) 28px;min-height:34px}.main-workspace>.sidebar-section .broker-stepper-btn{font-size:15px}.main-workspace>.sidebar-section .broker-stepper-control input{padding:2px 4px;font-size:16px}.main-workspace>.sidebar-section .broker-order-note{margin-bottom:3px;font-size:9px;line-height:1.25}.main-workspace>.sidebar-section .trade-buttons{gap:6px}.main-workspace>.sidebar-section .btn{min-height:36px;padding:6px 8px;font-size:13px}}@media (width>=641px){.settings-btn-inline,.api-usage-inline{display:none!important}}.main-workspace{background-color:var(--bg-base);flex:1;gap:16px;padding:16px;display:flex;overflow:hidden}.panel{background-color:var(--bg-panel);border-radius:var(--panel-radius);border:1px solid var(--border-color);flex-direction:column;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000000a}.chart-section{flex:1 1 0;min-width:0}.ticks-section{flex-shrink:0;width:clamp(320px,25vw,380px)}.sidebar-section{flex-direction:column;flex-shrink:0;gap:12px;width:clamp(300px,24vw,340px);display:flex;overflow:hidden}.main-workspace>.sidebar-section{align-self:stretch;max-height:100%;overflow:hidden}.sidebar-book-shell{flex-shrink:0;overflow:hidden}.sidebar-trading-shell{flex-direction:column;flex:1;display:flex;overflow:hidden}.sidebar-trading-shell>.panel{flex-direction:column;flex:1;display:flex}.sidebar-trading-shell .trading-panel{border-top:none;flex-direction:column;flex:1;justify-content:space-between;display:flex}.bottom-panel{flex-direction:column;height:130px;min-height:0;margin:0 16px 16px;display:flex}.bottom-panel-body{flex:auto;min-height:0;overflow:hidden}.mobile-layout{background:var(--bg-base);flex-direction:column;flex:1;gap:12px;min-height:0;padding:12px;display:flex;overflow:hidden}.mobile-switcher{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.mobile-switch-btn{border:1px solid var(--border-color);color:var(--text-muted);cursor:pointer;background:#fff;border-radius:10px;padding:10px 8px;font-size:13px;font-weight:700;transition:all .15s}.mobile-switch-btn.active{color:var(--color-primary);background:#3b82f614;border-color:#3b82f647;box-shadow:inset 0 0 0 1px #3b82f614}.mobile-stage{flex:1;min-height:0;display:flex;overflow:hidden}.mobile-stage-account{-webkit-overflow-scrolling:touch;overflow:hidden auto}.mobile-market-stack,.mobile-chart-stack{flex-direction:column;flex:1;align-items:stretch;gap:8px;min-height:0;padding-bottom:4px;display:flex;overflow:hidden auto}.mobile-chart-detail-shell{flex:none;min-height:320px;overflow:hidden}.mobile-chart-detail-header{align-items:center;gap:10px}.mobile-chart-detail-tabs{background:#3b82f612;border-radius:12px;align-items:center;gap:6px;padding:4px;display:inline-flex}.mobile-chart-detail-tab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:10px;min-width:58px;padding:7px 12px;font-size:12px;font-weight:700;transition:background .15s,color .15s,box-shadow .15s}.mobile-chart-detail-tab.active{color:var(--color-primary);background:#fff;box-shadow:0 1px 3px #0f172a14}.mobile-chart-detail-summary{margin-left:auto;font-size:12px;font-weight:500}.mobile-chart-detail-body{flex-direction:column;min-height:260px;max-height:min(46vh,420px);display:flex;overflow:hidden}.tick-panel-embedded{flex:1;min-height:0;display:flex}.tick-data-container-embedded{flex:1}.mobile-chart-stack>.panel,.mobile-market-stack>.panel{width:100%;height:auto;max-height:none;margin:0;overflow:visible}.mobile-stage>.panel{flex:1;min-height:0}.panel-header{color:var(--text-muted);border-bottom:1px solid var(--border-color);background:#f9fafb;flex-shrink:0;justify-content:space-between;padding:8px 12px;font-size:13px;font-weight:700;display:flex}.panel-header-actions{align-items:center;gap:6px;display:flex}.tick-expand-btn{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:#fff;border:1px solid #94a3b859;border-radius:999px;justify-content:center;align-items:center;transition:border-color .16s,color .16s,background .16s;display:inline-flex}.tick-expand-btn:hover{color:var(--color-primary);background:#3b82f60a;border-color:#3b82f659}.tick-expand-arrow{font-size:12px;line-height:1;transition:transform .16s;transform:translateY(1px)}.tick-expand-arrow.expanded{transform:rotate(180deg)}.chart-header{border-bottom:1px solid var(--border-color);background:var(--bg-panel);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:20px;padding:12px 20px;display:flex}.chart-header .item{flex-direction:column;display:flex}.chart-header .item span:first-child{color:var(--text-muted);margin-bottom:4px;font-size:12px}.price-big{color:var(--color-up);font-size:24px;font-weight:700}.val-up{color:var(--color-up)}.val-down{color:var(--color-down)}.val-flat{color:var(--text-muted)}.chart-container{color:#ccc;background:#fafafa;border-radius:0 0 8px 8px;flex:1;justify-content:center;align-items:center;font-size:24px;display:flex}.chart-panel{background:#1e2740;border-color:#5b6c8f4d;box-shadow:0 18px 34px #080c183d}.chart-hero{background:linear-gradient(#ffffff08,#fff0),#1e2740;border-bottom:1px solid #8a99bc24;flex-direction:column;gap:10px;padding:10px 18px 12px;display:flex}.chart-hero-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.chart-hero-tags{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.chart-market-chip{color:#eaeffadb;letter-spacing:.03em;background:#ffffff0d;border:1px solid #d7b26314;border-radius:4px;justify-content:center;align-items:center;min-width:34px;height:24px;padding:0 9px;font-size:13px;font-weight:700;display:inline-flex}.chart-market-chip-trade{color:#d9a85f;background:#78582b2e;border-color:#d7b26314;min-width:auto}.chart-index-board{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.chart-index-card{flex-direction:column;align-items:flex-end;gap:2px;min-width:116px;padding:4px 0;display:flex}.chart-index-label{color:#c6d0e49e;letter-spacing:.08em;font-size:11px;font-weight:600}.chart-index-values{align-items:baseline;gap:8px;display:flex}.chart-index-main{color:#f4f7ff;font-size:17px;font-weight:700;line-height:1}.chart-index-change{color:#d2dbefad;font-size:12px;font-weight:700}.chart-index-main.up,.chart-index-change.up{color:#ff645f}.chart-index-main.down,.chart-index-change.down{color:#76d363}.chart-index-main.neutral,.chart-index-change.neutral{color:#f0f5ffd1}.chart-hero-name-block{justify-content:flex-start;align-items:center;display:flex}.chart-hero-price{flex-direction:column;gap:6px;min-width:0;display:flex}.chart-hero-main{letter-spacing:.01em;font-size:46px;font-weight:800;line-height:.95}.chart-hero-change{font-size:15px;font-weight:700}.chart-hero-main.up,.chart-hero-change.up{color:#ff645f}.chart-hero-main.down,.chart-hero-change.down{color:#1fd1d0}.chart-hero-main.neutral,.chart-hero-change.neutral{color:#f4f7ff}.chart-hero-title-wrap{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.chart-hero-title{color:#f6f8ff;letter-spacing:.02em;font-size:22px;font-weight:800;line-height:1.1}.chart-hero-subtitle{color:#cbd4e8b8;letter-spacing:.08em;font-size:12px;font-weight:600}.chart-hero-main-grid{grid-template-columns:minmax(230px,.85fr) minmax(260px,1fr);align-items:end;gap:18px;display:grid}.chart-hero-summary{flex-direction:column;gap:12px;min-width:0;display:flex}.chart-hero-metrics{grid-template-columns:repeat(3,minmax(92px,1fr));align-content:end;gap:10px 18px;display:grid}.metric-pair{align-items:baseline;gap:10px;min-width:0;display:flex}.metric-label{color:#c6d0e4a8;min-width:34px;font-size:14px;font-weight:500}.metric-value{color:#f5f7ff;letter-spacing:.01em;font-size:16px;font-weight:700}.metric-value.up{color:#ff645f}.metric-value.down{color:#76d363}.metric-value.neutral{color:#f4f7ff}.chart-canvas-shell{background:#1e2740;flex:1;min-height:0;position:relative}.chart-canvas{width:100%;height:100%}.chart-mini-stats{color:#c9d2e7b8;background:#1e2740;border-bottom:1px solid #8a99bc24;flex-shrink:0;justify-content:center;align-items:center;gap:10px;height:42px;padding:0 16px;font-size:13px;display:flex}.chart-mini-stats .label{font-weight:500}.chart-mini-stats .value{color:#f3f7ff;letter-spacing:.02em;min-width:42px;font-weight:700}.chart-mini-stats .price.neutral{color:#f3f7ff}.chart-line-legend{color:#e1e8f7d6;align-items:center;gap:12px;margin-left:auto;font-size:12px;font-weight:600;display:inline-flex}.chart-line-legend-item{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.chart-line-swatch{border-top:2px solid;border-radius:999px;width:18px;height:0;display:inline-block}.tick-data-container{overflow-anchor:none;background:#fff;flex:1;min-height:0;overflow-y:auto}.tick-table{border-collapse:collapse;text-align:center;table-layout:fixed;width:100%}.tick-table th{color:var(--text-muted);border-bottom:1px solid var(--border-color);z-index:1;white-space:nowrap;background:#f9fafb;padding:10px 4px;font-size:13px;font-weight:400;position:sticky;top:0}.tick-table td{white-space:nowrap;border-bottom:1px solid #f3f4f6;padding:8px 4px;font-size:15px}.tick-table th:first-child,.tick-table td:first-child{width:26%}.tick-table th:nth-child(2),.tick-table td:nth-child(2),.tick-table th:nth-child(3),.tick-table td:nth-child(3),.tick-table th:nth-child(4),.tick-table td:nth-child(4){width:21%}.tick-table th:nth-child(5),.tick-table td:nth-child(5){width:11%}.tick-time{color:var(--text-muted);font-size:13px}.order-book-container{flex-direction:column;display:flex}.order-book-empty{border-bottom:1px solid var(--border-color);background:linear-gradient(#fff 0%,#f8fafc 100%);flex-direction:column;gap:8px;padding:16px 14px;display:flex}.order-book-empty-title{color:var(--text-main);font-size:14px;font-weight:700}.order-book-empty-text{color:var(--text-muted);font-size:12px;line-height:1.6}.ob-table{border-collapse:collapse;width:100%}.ob-table th{color:var(--text-muted);border-bottom:1px solid var(--border-color);padding:6px;font-size:12px;font-weight:400}.ob-table td{padding:4px 6px;font-size:15px;font-weight:700}.ob-table tr{border-bottom:1px solid #f3f4f6}.ob-buy-vol{text-align:center;width:20%;color:var(--text-main);font-weight:500!important}.ob-buy-px{text-align:center;width:30%;color:var(--color-up);border-right:1px solid var(--border-color);background:#ef44440d}.ob-sell-px{text-align:center;width:30%;color:var(--color-down);background:#10b9810d}.ob-sell-vol{text-align:center;width:20%;color:var(--text-main);font-weight:500!important}.power-bar-container{border-bottom:1px solid var(--border-color);background:#fff;padding:6px 10px}.power-labels{color:var(--text-muted);justify-content:space-between;margin-bottom:3px;font-size:11px;display:flex}.power-bar{border-radius:3px;height:6px;display:flex;overflow:hidden}.trading-panel{border-top:1px solid var(--border-color);background:#f9fafb;flex:none;padding:8px 10px 10px}.order-book-container{flex:none;min-height:0}.broker-order-topbar{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,.7fr));gap:6px;margin-bottom:4px;display:grid}.broker-pill{border:1px solid var(--border-color);color:var(--text-main);cursor:pointer;background:#fff;border-radius:4px;min-height:32px;font-size:12px;font-weight:800}.broker-pill-fixed{cursor:default;background:#fff;justify-content:center;align-items:center;display:flex}.broker-pill-limit.active{color:#fff;background:#0ea5c6;border-color:#0ea5c6b3}.trade-type-selector{border:1px solid var(--border-color);background:#fff;border-radius:6px;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:6px;padding:6px 8px;display:flex}.trade-type-selector label{cursor:pointer;align-items:center;gap:6px;font-size:13px;display:flex}.trade-type-day{color:var(--color-primary);font-weight:700}.broker-trade-modes{border-color:var(--border-color);background:#fff;margin-bottom:6px;padding:6px}.trade-mode-chip{border:1px solid var(--border-color);min-width:0;color:var(--text-main);cursor:pointer;background:#fff;border-radius:6px;flex:1;padding:6px 8px;font-size:12px;font-weight:700;transition:all .15s}.broker-trade-modes .trade-mode-chip{border-color:var(--border-color);color:var(--text-muted);background:#fff}.broker-trade-modes .trade-mode-chip.active,.broker-trade-modes .trade-mode-chip.mode-daytrade_short.active{color:#f0fdf4;background:#16a34a;border-color:#22c55ee6;box-shadow:inset 0 0 0 1px #ffffff14}.broker-trade-modes .trade-mode-chip.mode-margin_long.active{color:#fff5f5;background:#ef4444;border-color:#f87171eb}.broker-trade-modes .trade-mode-chip.mode-margin_short.active{color:#f0fdf4;background:#16a34a;border-color:#4ade80e6}.trade-mode-chip.active{border-color:var(--color-primary);color:var(--color-primary);background:#3b82f614;box-shadow:inset 0 0 0 1px #3b82f61a}.trade-mode-chip.mode-daytrade_short{color:#059669;border-color:#10b9812e}.trade-mode-chip.mode-daytrade_short.active{color:#047857;background:#10b9811f;border-color:#10b9816b;box-shadow:inset 0 0 0 1px #10b9811f}.trade-mode-hint{color:var(--text-muted);margin-bottom:4px;font-size:11px;font-weight:600}.broker-risk-grid{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:4px;display:grid}.broker-risk-input{display:block}.broker-risk-input input{border:1px solid var(--border-color);text-align:center;box-sizing:border-box;width:100%;min-width:0;color:var(--text-main);background:#fff;border-radius:8px;outline:none;padding:8px 10px;font-family:Consolas,monospace;font-size:15px;font-weight:700}.broker-risk-input input:focus{border-color:var(--color-primary)}.broker-risk-hint{margin-bottom:8px}.broker-stepper-grid{grid-template-columns:1fr .9fr;gap:6px;margin-bottom:2px;display:grid}.broker-stepper-card{flex-direction:column;gap:4px;display:flex}.broker-stepper-label{color:var(--text-muted);font-size:11px;font-weight:700}.broker-stepper-control{grid-template-columns:30px minmax(0,1fr) 30px;align-items:stretch;min-height:36px;display:grid}.broker-stepper-btn{border:1px solid var(--border-color);color:var(--text-main);cursor:pointer;background:#fff;font-size:17px;font-weight:800}.broker-stepper-btn:first-child{border-radius:4px 0 0 4px}.broker-stepper-btn:last-child{border-radius:0 4px 4px 0}.broker-stepper-control input{border:1px solid var(--border-color);width:100%;min-width:0;color:var(--text-main);text-align:center;background:#fff;border-left:none;border-right:none;border-radius:0;outline:none;padding:4px 6px;font-family:Consolas,monospace;font-size:18px;font-weight:800}.broker-order-note{text-align:right;color:var(--text-muted);margin-bottom:4px;font-size:10px;font-weight:600}.trade-inputs{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px;display:grid}.input-group{flex-direction:column;gap:4px;display:flex}.input-group label{color:var(--text-muted);font-size:12px}.input-group input{border:1px solid var(--border-color);text-align:center;box-sizing:border-box;border-radius:4px;outline:none;width:100%;padding:8px;font-family:Consolas,monospace;font-size:18px;font-weight:700}.input-group input:focus{border-color:var(--color-primary)}.trade-buttons{gap:8px;display:flex}.btn{cursor:pointer;color:#fff;border:none;border-radius:6px;flex:1;min-height:40px;padding:7px 8px;font-size:14px;font-weight:700;transition:all .1s}.btn:active{transform:scale(.98)}.bottom-tabs{border-bottom:1px solid var(--border-color);background:#f9fafb;flex-shrink:0;padding:0 16px;display:flex}.bottom-tab{color:var(--text-muted);cursor:pointer;border-top:3px solid #0000;padding:12px 20px;font-weight:700}.bottom-tab.active{color:var(--color-primary);background:var(--bg-panel);border-top:3px solid var(--color-primary)}.portfolio-area{flex:1;display:flex;overflow:hidden}.summary-stats{border-right:1px solid var(--border-color);flex-direction:column;flex-shrink:0;justify-content:flex-start;gap:8px;width:260px;padding:12px 16px;display:flex;overflow-y:auto}.stat-box{flex-direction:column;gap:4px;display:flex}.stat-box .lbl{color:var(--text-muted);font-size:13px}.stat-box .val{font-size:22px;font-weight:700}.table-area{flex:1;padding:8px 16px;overflow-y:auto}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;color:var(--text-muted);border-bottom:1px solid var(--border-color);padding:8px 10px;font-size:13px;font-weight:400}.data-table td{border-bottom:1px solid var(--border-color);padding:10px;font-size:14px}.action-btn{border:1px solid var(--border-color);color:var(--text-main);cursor:pointer;background:#fff;border-radius:4px;padding:4px 12px;font-size:12px;font-weight:700;transition:all .2s}.action-btn:hover{background:#f3f4f6}.mobile-portfolio-stack{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:10px;display:flex;overflow:hidden}.mobile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mobile-summary-card{border:1px solid var(--border-color);background:#fff;border-radius:12px;flex-direction:column;gap:6px;padding:14px 14px 12px;display:flex}.mobile-summary-card.compact{padding:12px 14px}.mobile-summary-card .lbl{color:var(--text-muted);font-size:12px;font-weight:700}.mobile-summary-card .val{font-size:18px;font-weight:800}.mobile-summary-card .val.neutral{color:var(--text-main)}.mobile-summary-card .hint{color:var(--text-muted);font-size:10px;line-height:1.35}.mobile-record-list{-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;gap:10px;min-height:0;padding-bottom:8px;display:flex;overflow-y:auto}.mobile-record-card,.mobile-empty-card{border:1px solid var(--border-color);background:#fff;border-radius:12px;padding:12px 14px}.mobile-empty-card{color:var(--text-muted);text-align:center;padding:18px 14px;font-weight:600}.mobile-record-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.mobile-record-title{color:var(--text-main);font-size:15px;font-weight:800}.mobile-record-subtitle{color:var(--text-muted);margin-top:2px;font-size:11px;font-weight:600}.mobile-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;display:grid}.mobile-record-grid>div{flex-direction:column;gap:3px;min-width:0;display:flex}.mobile-record-grid .label{color:var(--text-muted);font-size:11px;font-weight:700}.mobile-record-grid .value{color:var(--text-main);word-break:break-word;font-size:14px;font-weight:700}.mobile-action-btn{width:100%;min-height:36px;margin-top:10px}.mobile-order-edit-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;display:grid}.mobile-order-edit-field{flex-direction:column;gap:5px;min-width:0;display:flex}.mobile-order-edit-field .label{color:var(--text-muted);font-size:11px;font-weight:700}.mobile-order-edit-field input{border:1px solid var(--border-color);width:100%;min-width:0;color:var(--text-main);background:#fff;border-radius:10px;padding:9px 10px;font-size:15px;font-weight:700}.mobile-order-edit-field input:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px #3b82f61f}.mobile-edit-confirm-btn{min-width:68px;min-height:42px;color:var(--color-primary);border-color:var(--color-primary);padding:0 14px}.modal-overlay{z-index:100;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:12px;width:400px;padding:24px;box-shadow:0 8px 32px #00000026}.modal-content h3{margin-bottom:16px;font-size:18px}.modal-content .form-row{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-content .form-row label{color:var(--text-main);font-size:14px}.modal-content .form-row input{border:1px solid var(--border-color);text-align:right;border-radius:4px;width:120px;padding:6px 10px;font-size:14px}.modal-content .modal-btns{gap:10px;margin-top:16px;display:flex}.modal-content .modal-btns button{cursor:pointer;border:none;border-radius:6px;flex:1;padding:10px;font-size:14px;font-weight:700}.modal-content .modal-btns .btn-confirm{background:var(--color-primary);color:#fff}.modal-content .modal-btns .btn-cancel{color:var(--text-main);border:1px solid var(--border-color);background:#f3f4f6}@keyframes tickFlash{0%{background-color:#3b82f626}to{background-color:#0000}}.tick-new{animation:.6s ease-out tickFlash}@media (width<=1100px){.ticks-section,.sidebar-section{width:300px}.top-navbar{flex-wrap:wrap;align-items:stretch;gap:12px;height:auto;padding:12px 16px}.navbar-left,.navbar-right{flex-wrap:wrap;width:100%}.replay-controls{border-radius:18px;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;padding:10px 14px}.replay-slider,.replay-controls input[type=range]{flex:220px;width:min(100%,420px)!important}.chart-section{min-height:520px}.chart-hero{gap:14px}.chart-hero-topbar,.chart-hero-main-grid{grid-template-columns:1fr;gap:12px;display:grid}.chart-index-board{justify-content:flex-start}.chart-index-card{align-items:flex-start;min-width:104px}.chart-hero-main{font-size:40px}.chart-hero-name-block{justify-content:center}.chart-hero-summary{gap:10px}.chart-hero-title-wrap{text-align:center;align-items:center}.chart-hero-metrics{grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px 18px}.metric-pair{justify-content:center}.chart-mini-stats{gap:8px;padding:0 14px;font-size:12px}.chart-mini-stats .value{min-width:42px}}@media (width<=900px){body,#root,.app-shell{height:100vh;min-height:100vh;overflow:hidden}.panel-header{flex-wrap:wrap;gap:8px}.mobile-stage .chart-section,.mobile-stage .ticks-section,.mobile-stage .sidebar-section,.mobile-stage .bottom-panel{flex:auto;width:100%;height:100%;min-height:0;max-height:none;margin:0}.mobile-stage .chart-panel{height:auto;overflow-y:auto}.mobile-stage .chart-section{flex:none;height:auto;min-height:0}.mobile-stage .chart-canvas-shell{flex:none;height:clamp(240px,34vh,320px);min-height:clamp(240px,34vh,320px);max-height:clamp(240px,34vh,320px)}.mobile-stage .ticks-section,.mobile-stage .bottom-panel{overflow:hidden}.mobile-stage .sidebar-section{overflow:visible}.mobile-market-stack .mobile-book-panel{flex:none;height:auto;min-height:300px;overflow:visible}.mobile-chart-detail-shell{height:auto;min-height:340px;overflow:hidden}.mobile-market-stack .mobile-trading-only{flex:none;height:auto;min-height:auto}.mobile-stage .tick-data-container,.mobile-stage .table-area{flex:1;min-height:0;overflow:auto}.mobile-market-stack .mobile-book-panel .order-book-container{flex:none;min-height:0;overflow:visible}.mobile-chart-detail-shell .order-book-container{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.mobile-chart-stack .mobile-stage-panel,.mobile-market-stack .mobile-stage-panel{overflow:visible}.mobile-market-stack>.sidebar-section,.mobile-market-stack>.mobile-trading-only{width:100%;height:auto;max-height:none;margin:0}.mobile-stage .portfolio-area{flex-direction:column;flex:1;min-height:0;overflow:hidden}.mobile-stage .summary-stats{border-right:none;border-bottom:1px solid var(--border-color);flex:none;width:100%;padding:12px;overflow:visible}.mobile-stage .mobile-stage-panel{overflow-y:auto}.mobile-stage .ob-table{min-width:0}.mobile-stage .data-table{min-width:640px}.bottom-tabs{-webkit-overflow-scrolling:touch;padding:0 8px;overflow-x:auto}.bottom-tab{white-space:nowrap;flex:none;padding:12px 14px}.modal-content{width:min(92vw,400px);padding:20px}}@media (width<=1400px){.main-workspace>.sidebar-section .trading-panel{padding:8px 10px 10px}.main-workspace>.sidebar-section .panel-header{padding:6px 10px;font-size:12px}.main-workspace>.sidebar-section .ob-table th{padding:5px;font-size:11px}.main-workspace>.sidebar-section .ob-table td{padding:3px 5px;font-size:13px}.main-workspace>.sidebar-section .power-bar-container{padding:6px 10px}.main-workspace>.sidebar-section .power-labels{margin-bottom:3px;font-size:11px}.main-workspace>.sidebar-section .broker-order-topbar{gap:6px;margin-bottom:4px}.main-workspace>.sidebar-section .broker-pill{min-height:32px;font-size:12px}.main-workspace>.sidebar-section .trade-type-selector{margin-bottom:6px}.main-workspace>.sidebar-section .trade-mode-chip{padding:6px 8px;font-size:12px}.main-workspace>.sidebar-section .trade-mode-hint{margin-bottom:4px;font-size:11px}.main-workspace>.sidebar-section .broker-stepper-grid{gap:6px}.main-workspace>.sidebar-section .broker-stepper-control{grid-template-columns:30px minmax(0,1fr) 30px;min-height:36px}.main-workspace>.sidebar-section .broker-stepper-control input{font-size:18px}.main-workspace>.sidebar-section .broker-order-note{margin-bottom:4px;font-size:10px}.main-workspace>.sidebar-section .btn{min-height:38px;padding:7px 8px;font-size:14px}}@media (width<=640px){.toast-stack{width:auto;inset:auto 12px 92px}.toast-card{border-radius:16px;padding:11px 12px}.toast-message{font-size:13px}.top-navbar{gap:6px;padding:8px 10px}.ticker-input-wrapper{flex:none;width:100%;min-width:0}.ticker-input-wrapper input{width:100%;min-width:0;font-size:15px}.navbar-left{white-space:normal;flex-wrap:nowrap;grid-template-columns:minmax(110px,1fr) minmax(0,92px) minmax(108px,.95fr);align-items:center;min-width:0;padding-bottom:0;display:grid;overflow:visible;gap:6px!important}.navbar-left>*{min-width:0}.navbar-right{display:none}.navbar-divider,.navbar-ticks-pill{display:none!important}.navbar-stock-name{text-overflow:ellipsis;white-space:nowrap;text-align:center;flex:none;min-width:0;font-size:14px;overflow:hidden}.navbar-date-input{flex:none;width:100%;min-width:0;height:30px;padding:4px 8px;font-size:12px}.replay-controls{border-radius:14px;grid-template-columns:minmax(84px,auto) auto auto auto minmax(60px,70px) 28px;align-items:center;gap:6px;padding:8px;display:grid}.replay-controls button{min-width:24px;min-height:24px;font-size:14px}.replay-label{display:none}.replay-time{text-align:left;white-space:nowrap;min-width:84px;font-size:13px;font-weight:800}.replay-slider{grid-column:1/-1;min-width:0;margin:0;width:100%!important}.replay-controls button.play-btn{font-size:17px!important}.speed-selector{min-width:60px;height:26px;padding:2px 4px;font-size:12px}.api-usage-inline{display:none}.settings-btn-inline{border-radius:6px;justify-content:center;padding:0;font-size:13px;font-weight:700;display:inline-flex;min-width:24px!important;min-height:24px!important}.navbar-stock-name{font-size:13px}.navbar-ticks-pill{display:none}.navbar-divider{height:14px}.mobile-layout{gap:8px;padding:8px}.mobile-switcher{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-switch-btn{border-radius:16px;min-height:44px;padding:10px 8px}.mobile-stage .chart-section{min-height:auto}.mobile-stage .chart-canvas-shell{flex:none;height:clamp(220px,30vh,280px);min-height:clamp(220px,30vh,280px);max-height:clamp(220px,30vh,280px)}.chart-hero{gap:8px;padding:10px 10px 12px}.chart-hero-topbar{gap:10px}.chart-hero-tags{gap:4px}.chart-market-chip{min-width:30px;height:22px;padding:0 8px;font-size:12px}.chart-market-chip-trade{letter-spacing:.02em;padding:0 7px;font-size:11px}.chart-index-board{justify-content:space-between;gap:6px;width:100%}.chart-index-card{flex:1 1 0;min-width:0}.chart-index-main{font-size:15px}.chart-index-change{font-size:11px}.chart-hero-title{font-size:18px}.chart-hero-subtitle{letter-spacing:.04em;font-size:11px}.chart-hero-main{font-size:34px}.chart-hero-change{font-size:13px}.chart-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.metric-pair{justify-content:flex-start;gap:8px}.metric-label{min-width:28px;font-size:13px}.metric-value{font-size:15px}.chart-mini-stats{flex-wrap:wrap;justify-content:flex-start;row-gap:6px;height:auto;min-height:42px;padding:8px 12px}.chart-line-legend{justify-content:flex-end;width:100%;margin-left:0}.chart-hero-summary{flex-direction:row;justify-content:space-between;align-items:baseline;gap:10px}.chart-hero-name-block{flex:auto;justify-content:flex-start;min-width:0}.chart-hero-title-wrap{text-align:left;flex-flow:row;align-items:baseline;gap:6px;min-width:0}.chart-hero-title{white-space:nowrap;font-size:14px;line-height:1}.chart-hero-subtitle{letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.chart-hero-price{flex-direction:row;flex:none;justify-content:flex-end;align-items:baseline;gap:6px}.chart-hero-main{font-size:24px;line-height:1}.chart-hero-change{white-space:nowrap;font-size:11px}.trade-inputs{grid-template-columns:1fr;gap:10px}.mobile-trading-only .trading-panel{padding:8px 10px calc(22px + env(safe-area-inset-bottom,0px))}.mobile-trading-only .broker-order-topbar{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,.8fr))}.mobile-trading-only .broker-stepper-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:6px;margin-bottom:0}.mobile-market-stack .mobile-book-panel{min-height:248px}.mobile-chart-detail-shell{min-height:320px}.tick-table th{padding:8px 3px;font-size:12px}.tick-table td{padding:7px 3px;font-size:12px}.tick-time{font-size:12px}.trade-type-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;display:grid}.mobile-trading-only .trade-type-selector{background:0 0;border:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:6px;padding:0}.trade-buttons{flex-direction:column}.mobile-trading-only .trade-buttons{flex-direction:row;gap:8px}.summary-stats{padding:10px 12px}.table-area{padding:6px 8px}.trading-panel{padding:10px 12px}.trade-inputs{grid-template-columns:1fr;gap:8px;margin-bottom:8px}.trade-mode-chip{padding:7px 8px;font-size:12px}.mobile-trading-only .trade-mode-chip{padding:7px 4px;font-size:11px}.mobile-trading-only .broker-order-topbar{margin-bottom:6px}.mobile-trading-only .trade-mode-hint{margin-bottom:3px;font-size:10px}.mobile-trading-only .broker-stepper-card{gap:2px;min-width:0}.mobile-trading-only .broker-risk-grid{gap:6px;margin-bottom:2px}.mobile-trading-only .broker-risk-input input{min-height:38px;padding:6px 8px;font-size:14px}.mobile-trading-only .broker-stepper-label{margin-bottom:2px;font-size:10px}.broker-stepper-control{grid-template-columns:32px minmax(0,1fr) 32px}.mobile-trading-only .broker-stepper-control{grid-template-columns:28px minmax(0,1fr) 28px;min-height:34px}.mobile-trading-only .broker-stepper-btn{padding:0;font-size:18px}.broker-stepper-control input{font-size:18px}.mobile-trading-only .broker-stepper-control input{padding:4px 2px;font-size:15px}.mobile-trading-only .broker-order-note{text-align:right;margin-top:2px;margin-bottom:4px;font-size:10px;line-height:1.2}.mobile-trading-only .btn{border-radius:5px;min-height:38px;padding:6px 8px;font-size:13px}.mobile-trading-only .trade-buttons{gap:6px}.mobile-layout-market{-webkit-overflow-scrolling:touch;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));overflow:hidden auto}.mobile-layout-market .mobile-stage{flex:none;min-height:auto;display:block;overflow:visible}.mobile-layout-market .mobile-market-stack{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}.mobile-layout-market .mobile-market-stack>:last-child{margin-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.mobile-stage .bottom-panel{box-shadow:none;background:0 0;border:none}.mobile-layout-account{-webkit-overflow-scrolling:touch;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px));overflow:hidden auto}.mobile-layout-account .mobile-stage{flex:none;min-height:auto;display:block;overflow:visible}.mobile-layout-account .mobile-record-list{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.mobile-layout-account .mobile-record-list>:last-child{margin-bottom:calc(32px + env(safe-area-inset-bottom,0px))}.mobile-stage-account .bottom-panel{flex:none;width:100%;height:auto;min-height:auto;max-height:none;overflow:visible}.mobile-stage .bottom-panel-body{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.mobile-stage .mobile-portfolio-stack{height:100%;min-height:0;overflow:hidden}.mobile-stage .mobile-record-list{flex:auto;min-height:0}.mobile-stage-account .bottom-panel-body,.mobile-stage-account .mobile-portfolio-stack,.mobile-stage-account .mobile-record-list{flex:none;height:auto;min-height:auto;display:block;overflow:visible}.mobile-stage-account .mobile-order-edit-row{grid-template-columns:1fr;gap:8px}.mobile-stage-account .mobile-edit-confirm-btn,.mobile-stage-account .mobile-action-btn{width:100%}.mobile-stage .bottom-tabs{background:0 0;border-bottom:none;gap:8px;padding:0;overflow:visible}.mobile-stage .bottom-tab{text-align:center;border:1px solid var(--border-color);min-width:0;box-shadow:var(--shadow-soft);background:#fff;border-radius:16px;flex:1 1 0;padding:12px 8px;font-size:12px}.mobile-stage .bottom-tab.active{color:var(--color-primary);background:#3b82f617;border-color:#60a5fa8c}.mobile-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-summary-card{border-radius:10px;gap:4px;padding:10px 10px 9px}.mobile-summary-card .lbl{font-size:11px;line-height:1.25}.mobile-chart-detail-header{flex-wrap:wrap;align-items:stretch}.mobile-chart-detail-tabs{justify-content:stretch;width:100%}.mobile-chart-detail-tab{flex:1 1 0;min-width:0}.mobile-chart-detail-summary{text-align:right;width:100%;margin-left:0}.mobile-chart-detail-body{min-height:280px;max-height:min(44vh,380px)}.mobile-summary-card .val{font-size:14px;line-height:1.15}.mobile-summary-card .hint{font-size:9px;line-height:1.25}.mobile-record-card,.mobile-empty-card{border-radius:10px;padding:10px 12px}.mobile-record-grid{grid-template-columns:1fr 1fr;gap:6px 10px}.mobile-record-grid .label{font-size:10px}.mobile-record-grid .value{font-size:13px}.mobile-record-head{margin-bottom:8px}.input-group input{padding:7px;font-size:16px}.btn{padding:9px;font-size:15px}.mobile-switch-btn{padding:9px 8px;font-size:12px}.modal-overlay{padding:12px}.modal-content{width:100%;max-height:calc(100vh - 24px);padding:18px;overflow:auto}.modal-content .form-row{flex-direction:column;align-items:stretch;gap:6px}.modal-content .form-row input{text-align:left;width:100%}.modal-content .modal-btns{flex-direction:column}.mobile-stage-account .mobile-order-edit-row{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.mobile-stage-account .mobile-order-edit-field{gap:4px}.mobile-stage-account .mobile-order-edit-field input{border-radius:8px;min-height:38px;padding:8px 9px;font-size:14px}.mobile-stage-account .mobile-edit-confirm-btn,.mobile-stage-account .mobile-action-btn{min-height:38px;margin-top:8px;padding:0 10px}.mobile-stage-account .mobile-edit-confirm-btn{width:auto}.mobile-stage-account .mobile-action-btn{width:100%}}body{color:var(--text-main);letter-spacing:0;background:radial-gradient(circle at 20% -10%,#19b7ff29,#0000 30%),linear-gradient(#04090d 0%,#071017 42%,#050b10 100%)}button,input,select{font-family:var(--font-family)}.top-navbar{background:linear-gradient(#111c24f5,#081015fa);border-bottom-color:#37b9ff2e;box-shadow:0 10px 30px #00000052}.navbar-date,.replay-label{color:var(--text-muted)}.main-workspace,.mobile-layout{background:linear-gradient(180deg, #081218eb, #04090dfa), var(--bg-base)}.panel{border-color:var(--border-color);box-shadow:var(--shadow-panel);background:linear-gradient(#121f27fa,#081015fa)}.panel-header{border-bottom-color:var(--line-soft);color:#d8e2e8;letter-spacing:0;background:linear-gradient(#101c24f5,#091218f5)}.mobile-switcher{border-bottom:1px solid #5b748438;gap:0;padding:0 2px}.chart-panel{box-shadow:var(--shadow-panel);background:#071017;border-color:#58778a57}.chart-hero,.chart-canvas-shell,.chart-mini-stats{border-color:var(--line-soft);background:linear-gradient(#081219 0%,#060d12 100%)}.chart-market-chip.active{color:#7ddcff;background:linear-gradient(#10354a,#0b2635);border-color:#19b7ff85}.chart-market-chip-trade{color:#8bdcff;background:#19b7ff14;border-color:#19b7ff42}.chart-hero-subtitle,.chart-index-label,.metric-label,.chart-mini-stats{color:var(--text-muted)}.broker-stepper-btn:hover,.action-btn:hover,.tick-expand-btn:hover{border-color:var(--line-strong);color:#eefaff;background:#112a37fa}@media (width<=900px){body,.app-shell-mobile{background:#02070a}.top-navbar{border-bottom-color:#7691a02e;min-height:54px}.mobile-layout{gap:8px;padding:8px}.panel{border-radius:12px}.chart-panel,.mobile-stage-panel,.bottom-panel{border-color:#8d9ea957}.panel-header{min-height:36px;padding:8px 10px;font-size:12px}.mobile-chart-detail-tabs{border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;padding:3px;display:grid}.mobile-chart-detail-tab{border-radius:6px;min-width:0;padding:6px 8px}.ob-table td{padding:5px;font-size:13px}.ob-table th{padding:6px 5px;font-size:11px}.trading-panel{border-top-color:#7691a029}.broker-pill,.trade-mode-chip{border-radius:6px}.broker-stepper-btn:first-child{border-radius:6px 0 0 6px}.broker-stepper-btn:last-child{border-radius:0 6px 6px 0}.mobile-summary-card,.mobile-record-card,.mobile-empty-card{border-radius:10px}:root{--bg-base:#f7f9fc;--bg-panel:#fff;--border-color:#dfe7f0;--text-main:#10233a;--text-muted:#667789;--color-primary:#1677ff;--color-up:#ff3030;--color-down:#0fa85b;--panel-radius:12px}html,body,#root,.app-shell,.app-shell-mobile,.mobile-layout{color:var(--text-main);background:#f7f9fc!important}.app-shell-mobile{border-left:1px solid #e6edf5;border-right:1px solid #e6edf5;max-width:430px;margin:0 auto;box-shadow:0 12px 40px #18304e14}.top-navbar{height:auto;box-shadow:none;border-bottom:1px solid #e6edf5;flex-direction:column;align-items:stretch;gap:10px;padding:10px 10px 8px;display:flex;background:#fff!important}.navbar-left{grid-template-columns:minmax(68px,.75fr) minmax(0,1fr) minmax(72px,.8fr);align-items:center;width:100%;display:grid;gap:8px!important}.ticker-input-wrapper,.navbar-date-input,.settings-btn,.speed-selector{color:#10233a;border:1px solid #cfd9e6;border-radius:6px;height:34px;min-height:34px;box-shadow:0 1px 2px #1e37580a;background:#fff!important}.ticker-input-wrapper{width:100%;padding:0 7px}.ticker-input-wrapper span{display:none}.ticker-input-wrapper input{color:#10233a;letter-spacing:0;width:100%;font-size:13px;font-weight:700}.navbar-stock-name{color:#10233a;text-align:center;font-size:15px;font-weight:800}.navbar-date-input{color:#10233a;width:100%;padding:0 8px;font-size:12px;font-weight:700}.navbar-divider,.navbar-ticks-pill,.navbar-right,.api-usage-inline{display:none!important}.replay-controls{width:100%;box-shadow:none;border:none;grid-template-columns:minmax(70px,.78fr) minmax(82px,1fr) 30px 34px minmax(62px,.8fr) 30px;gap:7px;padding:0;display:grid;background:0 0!important}.replay-label{display:none}.replay-time{color:#1677ff;background:#fff;border:1px solid #e2e8f1;border-radius:7px;justify-content:center;align-items:center;min-width:0;height:34px;font-size:13px;font-weight:800;display:flex;box-shadow:0 3px 10px #2449700d}.replay-controls button,.settings-btn-inline{color:#587086;background:#fff;border:1px solid #d5dfeb;border-radius:7px;height:34px;box-shadow:0 1px 2px #1e37580a;min-width:30px!important;min-height:34px!important}.replay-controls .play-btn{background:#1677ff;border-color:#1677ff;color:#fff!important;font-size:14px!important}.speed-selector{color:#1677ff;width:100%;min-width:0;padding:0 6px;font-size:12px;font-weight:800}.settings-btn-inline{color:#6b7d90;font-size:14px;display:inline-flex}.replay-slider{accent-color:#1677ff;grid-column:1/-1;height:22px;margin:0;width:100%!important}.mobile-layout{gap:0;padding:0;overflow:hidden}.mobile-switcher{border-bottom:1px solid #e6edf5;grid-template-columns:repeat(3,minmax(0,1fr));min-height:46px;padding:0 8px;display:grid;background:#fff!important}.mobile-switch-btn{color:#4d5e72;border:none;border-radius:0;min-height:46px;font-size:13px;font-weight:800;background:0 0!important}.mobile-switch-btn.active{color:#1677ff}.mobile-switch-btn.active:after{height:2px;box-shadow:none;background:#1677ff;bottom:0;left:18px;right:18px}.mobile-stage{background:#f7f9fc}.mobile-chart-stack,.mobile-market-stack{padding:8px 8px calc(78px + env(safe-area-inset-bottom,0px));background:#f7f9fc;gap:8px}.panel,.chart-panel,.mobile-stage-panel,.bottom-panel,.mobile-record-card,.mobile-summary-card,.mobile-empty-card{border:1px solid #dfe7f0;border-radius:12px;box-shadow:0 4px 14px #233a580f;background:#fff!important}.panel-header{color:#10233a;border-bottom:1px solid #e7edf4;min-height:38px;padding:9px 10px;font-size:13px;font-weight:800;background:#fff!important}.chart-hero{border-bottom:1px solid #eef2f7;gap:8px;padding:12px 12px 10px;background:#fff!important}.mobile-chart-detail-summary{display:none!important}.chart-hero-topbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.chart-hero-tags{flex-wrap:wrap;flex:100%;align-items:center;gap:6px;min-width:0;display:flex!important}.chart-market-chip{color:#4f6073;letter-spacing:0;border:1px solid #dfe7f0;border-radius:999px;min-width:auto;height:24px;padding:0 8px;font-size:11px;font-weight:800;background:#f8fafc!important}.chart-market-chip.active{color:#1677ff;border-color:#1677ff47;background:#eef6ff!important}.chart-market-chip-trade{color:#b26b00;border-color:#f59e0b47;background:#fff7ed!important}.chart-index-board{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:8px;width:100%;display:grid!important}.chart-index-card{background:#f8fafc;border:1px solid #edf2f7;border-radius:8px;align-items:flex-start;gap:4px;min-width:0;padding:8px 10px}.chart-index-label{color:#718092;letter-spacing:0;font-size:11px;font-weight:800}.chart-index-values{justify-content:space-between;gap:6px;width:100%}.chart-index-main{color:#10233a;font-size:14px;font-weight:800}.chart-index-change{font-size:11px;font-weight:800}.chart-hero-main-grid{grid-template-columns:1fr;gap:8px;display:grid}.chart-hero-summary{flex-direction:column-reverse;align-items:flex-start;gap:6px;display:flex}.chart-hero-name-block{justify-content:flex-start;width:100%}.chart-hero-title-wrap{text-align:left;align-items:flex-start;gap:3px}.chart-hero-title{color:#10233a;font-size:16px;font-weight:800;line-height:1.2}.chart-hero-subtitle{color:#7b899a;font-size:11px;font-weight:700}.chart-hero-price{flex-direction:column;align-items:flex-start;gap:3px}.chart-hero-main{color:#ff3030;font-size:28px;font-weight:800;line-height:1}.chart-hero-change{color:#ff3030;font-size:12px;font-weight:800}.chart-hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid!important}.metric-pair{background:#f8fafc;border:1px solid #edf2f7;border-radius:8px;justify-content:flex-start;gap:4px;padding:7px 8px}.metric-label{color:#718092;min-width:auto;font-size:11px;font-weight:800}.metric-value{color:#10233a;font-size:12px;font-weight:800}.chart-mini-stats{color:#718092;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;flex-wrap:wrap;justify-content:flex-start;gap:6px 8px;height:auto;min-height:34px;padding:7px 10px;font-size:11px;background:#fff!important;display:flex!important}.chart-mini-stats .label{color:#718092;font-weight:800}.chart-mini-stats .value{color:#10233a;min-width:auto;font-size:11px;font-weight:800}.chart-line-legend{display:none}.chart-canvas-shell{background:linear-gradient(#ff303006,#1677ff03),#fff!important;height:clamp(250px,39vh,330px)!important;min-height:clamp(250px,39vh,330px)!important;max-height:clamp(250px,39vh,330px)!important}.mobile-chart-detail-shell{border-radius:12px;min-height:320px;overflow:hidden}.mobile-chart-detail-header{border-bottom:none;min-height:auto;padding:0;display:block}.mobile-chart-detail-tabs{border:none;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;padding:0;display:grid;background:#fff!important}.mobile-chart-detail-tab{color:#53657a;min-height:42px;box-shadow:none;border:none;border-bottom:2px solid #0000;border-radius:0;font-size:13px;font-weight:800;background:#fff!important}.mobile-chart-detail-tab.active{color:#1677ff;box-shadow:none;border-bottom-color:#1677ff}.mobile-chart-detail-body{background:#fff;min-height:270px;max-height:none}.order-book-container,.tick-data-container,.tick-data-container-embedded,.power-bar-container,.trading-panel,.table-area,.summary-stats{background:#fff!important}.ob-table,.tick-table,.data-table{background:#fff}.ob-table th,.tick-table th,.data-table th{color:#68798c;border-bottom:1px solid #e7edf4;font-size:12px;font-weight:800;background:#f7f9fc!important}.ob-table td,.tick-table td,.data-table td{color:#1f3046;border-bottom:1px solid #edf2f7;font-size:12px}.ob-table td{padding:7px 5px}.ob-buy-px,.ob-sell-px{color:#ff3030;background:#fff5f5}.ob-buy-vol,.ob-sell-vol{color:#24364e}.power-labels{color:#607286;font-weight:700}.power-bar{background:#edf2f7;height:10px}.power-buy{background:#ff303029}.power-sell{background:#0fa85ba3}.mobile-market-stack .mobile-book-panel{min-height:auto;overflow:hidden}.mobile-book-panel .panel-header{font-size:13px}.mobile-book-panel .panel-header span{display:none}.mobile-trading-only{overflow:hidden!important}.mobile-trading-only .trading-panel{border-top:none;padding:10px 10px 14px;background:#fff!important}.broker-order-topbar,.broker-stepper-grid,.broker-risk-grid{gap:8px}.broker-pill,.trade-mode-chip,.broker-stepper-btn,.action-btn,.tick-expand-btn{color:#273a52;border-color:#d7e1ec;box-shadow:0 1px 2px #1e37580a;background:#fff!important}.broker-pill-limit.active,.trade-mode-chip.active,.mobile-chart-detail-tab.active{color:#1677ff;border-color:#1677ff}.broker-pill-market.active{color:#273a52;border-color:#d7e1ec;background:#f7f9fc!important}.broker-trade-modes,.trade-type-selector{border-color:#dfe7f0;border-radius:8px;background:#f7f9fc!important}.broker-stepper-label,.broker-order-note,.trade-mode-hint,.mobile-order-edit-field .label{color:#667789}.broker-stepper-control input,.broker-risk-input input,.mobile-order-edit-field input,.modal-content .form-row input,.data-table input{color:#10233a!important;box-shadow:none!important;background:#fff!important;border-color:#d7e1ec!important}.broker-stepper-control input:disabled{color:#95a3b3!important;background:#f2f5f9!important}.btn{border-radius:8px;min-height:44px;font-size:15px;box-shadow:0 7px 15px #2236521a}.btn-buy{background:#ef3f43}.btn-sell{background:#2baa68}.mobile-bottom-panel{box-shadow:none;border:none;background:0 0!important}.mobile-bottom-panel .bottom-tabs{border:1px solid #dfe7f0;border-radius:12px 12px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;display:grid;overflow:hidden;background:#fff!important}.mobile-bottom-panel .bottom-tab{color:#53657a;white-space:nowrap;border-bottom:2px solid #0000;justify-content:center;align-items:center;min-height:42px;padding:0 4px;font-size:12px;font-weight:800;display:flex}.mobile-bottom-panel .bottom-tab.active{color:#1677ff;background:#fff;border-bottom-color:#1677ff}.mobile-portfolio-stack{background:#f7f9fc;gap:10px;padding:10px 0 0}.mobile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-summary-card{border-radius:10px;padding:12px}.mobile-summary-card .lbl,.mobile-record-grid .label{color:#697b8d;font-size:11px;font-weight:800}.mobile-summary-card .val{color:#10233a;font-size:18px}.mobile-record-list{padding:0 0 calc(82px + env(safe-area-inset-bottom,0px));gap:10px}.mobile-record-card,.mobile-empty-card{border-radius:10px;padding:13px 14px;box-shadow:0 4px 14px #233a580f}.mobile-record-title{color:#10233a;font-size:15px}.mobile-record-subtitle,.mobile-summary-card .hint{color:#7c8b9c}.mobile-record-grid .value{color:#1f3046;font-size:13px}.mobile-action-btn,.mobile-edit-confirm-btn{border-radius:7px;background:#fff!important}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1c222a85;align-items:flex-end}.modal-content{width:100%;max-width:430px;max-height:78vh;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));border:1px solid #e0e7f0;border-radius:18px 18px 0 0;overflow-y:auto;box-shadow:0 -18px 50px #1a2e4833;background:#fff!important}.modal-content h3{text-align:center;color:#10233a;font-size:16px}.modal-content .form-row{border-bottom:1px solid #edf2f7;min-height:46px;margin:0;padding:8px 0}.modal-content .form-row label{color:#273a52;font-size:13px}.modal-content .form-row input{border-radius:7px;height:34px}.modal-content .modal-btns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:16px;display:grid}.modal-content .modal-btns button{border-radius:8px;min-height:42px}.modal-content .modal-btns .btn-cancel{color:#1677ff;background:#fff;border:1px solid #1677ff47}.modal-content .modal-btns .btn-confirm{color:#fff;background:#1677ff}}@media (width<=640px){.app-shell-mobile{max-width:none;box-shadow:none;border-left:none;border-right:none}.chart-hero-main{font-size:27px}.mobile-stage .chart-canvas-shell{height:clamp(250px,38vh,330px)!important;min-height:clamp(250px,38vh,330px)!important;max-height:clamp(250px,38vh,330px)!important}}:root{--bg-base:#f6f8fb;--bg-panel:#fff;--border-color:#e2e7ee;--text-main:#10243c;--text-muted:#6c7887;--color-up:#ff3030;--color-down:#0fa85b;--color-primary:#1677ff;--panel-radius:10px;--surface-1:#fff;--surface-2:#f7f9fc;--surface-3:#eef3f8;--line-soft:#edf1f6;--line-strong:#1677ff8c;--shadow-panel:0 10px 28px #20385514}body{color:var(--text-main);background:#f6f8fb}.app-shell,.main-workspace,.mobile-layout{background:#f6f8fb}.top-navbar{background:#fff;border-bottom:1px solid #e5eaf1;box-shadow:0 6px 18px #1628420f}.ticker-input-wrapper,.navbar-date-input,.speed-selector,.settings-btn,.replay-controls,.api-usage-box{color:var(--text-main);background:#fff;border-color:#cfd8e5;box-shadow:0 1px 2px #10243c0a}.ticker-input-wrapper input{color:var(--text-main)}.navbar-stock-name,.replay-time{color:#17263a}.navbar-date,.replay-label,.api-usage-box{color:#6c7887}.settings-btn:hover,.replay-controls button:hover{color:var(--color-primary);border-color:#1677ff75}.panel{box-shadow:var(--shadow-panel);background:#fff;border-color:#e1e7ef}.panel-header{color:#15263d;background:#fff;border-bottom-color:#e7edf4}.chart-panel,.chart-hero,.chart-canvas-shell,.chart-mini-stats{box-shadow:var(--shadow-panel);background:#fff;border-color:#e5ebf2}.chart-hero{background:#fff}.chart-canvas-shell{background:linear-gradient(#1677ff06,#ff303005),#fff}.chart-mini-stats{color:#657485;border-bottom-color:#e8edf4}.chart-market-chip{color:#4e5d70;background:#fff;border-color:#cfd8e5;border-radius:6px}.chart-market-chip.active,.chart-market-chip-trade{color:var(--color-primary);background:#f1f7ff;border-color:#1677ff52}.chart-hero-title,.chart-index-main,.metric-value,.chart-mini-stats .value{color:#17263a}.chart-hero-subtitle,.chart-index-label,.metric-label{color:#718092}.chart-hero-main.up,.chart-hero-change.up,.chart-index-main.up,.chart-index-change.up,.metric-value.up,.val-up{color:var(--color-up)}.chart-hero-main.down,.chart-hero-change.down,.chart-index-main.down,.chart-index-change.down,.metric-value.down,.val-down{color:var(--color-down)}.chart-hero-main.neutral,.chart-hero-change.neutral,.chart-index-main.neutral,.chart-index-change.neutral,.metric-value.neutral{color:#17263a}.chart-mini-stats .price{color:var(--color-up)}.chart-mini-stats .price.down{color:var(--color-down)}.chart-mini-stats .avg{color:#7d8794}.chart-mini-stats .volume{color:#3b91ff}.chart-line-legend{color:#6b7788}.chart-line-swatch.price{color:var(--color-up)}.chart-line-swatch.avg{color:#8e98a6}.mobile-switcher{background:#fff;border-bottom:1px solid #e3e9f1;gap:0;padding:0}.mobile-switch-btn{color:#4b5a6e;min-height:44px;box-shadow:none;background:#fff;border:none;border-radius:0;position:relative}.mobile-switch-btn.active{color:var(--color-primary);box-shadow:none;background:#fff}.mobile-switch-btn.active:after{content:"";background:var(--color-primary);border-radius:999px;height:2px;position:absolute;bottom:-1px;left:14px;right:14px;box-shadow:0 2px 8px #1677ff38}.mobile-chart-detail-tabs,.trade-type-selector,.broker-trade-modes{background:#f5f7fb;border-color:#dce4ef}.mobile-chart-detail-tab,.trade-mode-chip,.broker-pill{color:#24364e;background:#fff;border-color:#d7e0ec}.mobile-chart-detail-tab.active,.trade-mode-chip.active,.broker-pill-limit.active{color:var(--color-primary);background:#fff;border-color:#1677ff9e;box-shadow:0 1px 6px #1677ff1f}.broker-pill-market.active{color:#b26b00;background:#fff8ed;border-color:#f59e0b6b}.tick-data-container,.power-bar-container,.trading-panel,.bottom-tabs,.summary-stats,.table-area,.mobile-summary-card,.mobile-record-card,.mobile-empty-card{background:#fff}.tick-table th,.data-table th,.ob-table th{color:#6b7788;background:#f7f9fc;border-bottom-color:#e3e9f1;font-weight:700}.tick-table td,.data-table td,.ob-table tr,.mobile-record-card,.mobile-empty-card,.mobile-summary-card{border-color:#edf1f6}.tick-table td,.data-table td,.ob-buy-vol,.ob-sell-vol,.mobile-record-grid .value,.mobile-record-title,.mobile-summary-card .val.neutral{color:#1d2d44}.tick-time,.mobile-record-grid .label,.mobile-record-subtitle,.mobile-summary-card .lbl,.mobile-summary-card .hint{color:#6f7e90}.ob-buy-px{color:var(--color-up);background:#fff3f3;border-right-color:#e8edf4}.ob-sell-px{color:var(--color-up);background:#fff3f3}.power-bar{background:#edf2f7;border-radius:999px;height:10px}.power-buy{background:linear-gradient(90deg,#ff30301f,#ff30303d)}.power-sell{background:linear-gradient(90deg,#0fa85b2e,#0fa85bb3)}.broker-stepper-label,.broker-order-note,.trade-mode-hint{color:#6f7e90}.broker-stepper-control input,.broker-risk-input input,.mobile-order-edit-field input,.modal-content .form-row input,.data-table input{color:#1d2d44!important;background:#fff!important;border-color:#d8e1ec!important}.broker-stepper-control input:disabled{color:#9aa6b5!important;background:#f2f5f8!important}.broker-stepper-btn,.action-btn,.tick-expand-btn{color:#24364e;background:#fff;border-color:#d7e0ec}.broker-stepper-btn:hover,.action-btn:hover,.tick-expand-btn:hover{color:var(--color-primary);background:#f5f9ff;border-color:#1677ff6b}.btn{border-radius:8px;box-shadow:0 8px 16px #132a4814}.btn-buy{background:linear-gradient(#ff4d4f 0%,#e9363a 100%)}.btn-buy:hover{background:linear-gradient(#ff6265 0%,#ee4145 100%)}.btn-sell{background:linear-gradient(#39b772 0%,#269d5c 100%)}.btn-sell:hover{background:linear-gradient(#45c47f 0%,#2aa766 100%)}.bottom-panel{background:#fff;border-color:#e1e7ef}.bottom-tabs{border-bottom-color:#e3e9f1;padding:0 10px}.bottom-tab{color:#4b5a6e;border-top:none;border-bottom:2px solid #0000}.bottom-tab.active{color:var(--color-primary);border-top:none;border-bottom-color:var(--color-primary);background:#fff}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#191f2685}.modal-content{color:var(--text-main);background:#fff;border:1px solid #e0e7f0;box-shadow:0 22px 64px #16284238}.modal-content h3,.modal-content .form-row label{color:#17263a}.modal-content .modal-btns .btn-confirm{background:linear-gradient(#2b8cff,#1677ff)}.modal-content .modal-btns .btn-cancel{color:var(--color-primary);background:#fff;border-color:#1677ff47}.toast-card{color:#17263a;background:#fff;border-color:#dce4ef}@media (width<=900px){body,.app-shell-mobile{background:#f6f8fb}.top-navbar{border-bottom-color:#e6ebf2;min-height:54px}.mobile-layout{gap:8px;padding:8px}.panel{border-radius:12px}.chart-panel,.mobile-stage-panel,.bottom-panel{border-color:#e1e7ef}.panel-header{min-height:36px;padding:8px 10px;font-size:12px}.mobile-chart-detail-tabs{border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;padding:3px;display:grid}.mobile-chart-detail-tab{border-radius:7px;min-width:0;padding:6px 8px}.ob-table td{padding:5px;font-size:13px}.ob-table th{padding:6px 5px;font-size:11px}.trading-panel{border-top-color:#e7edf4}.broker-pill,.trade-mode-chip{border-radius:7px}.broker-stepper-btn:first-child{border-radius:7px 0 0 7px}.broker-stepper-btn:last-child{border-radius:0 7px 7px 0}.mobile-summary-card,.mobile-record-card,.mobile-empty-card{border-radius:10px}:root{--bg-base:#edf1f4;--bg-panel:#fbfcfd;--border-color:#c8d1da;--text-main:#1e2b3a;--text-muted:#657181;--color-up:#ef1f2d;--color-down:#0aa45b;--color-primary:#00a8d8;--panel-radius:6px;--line-soft:#d8e0e7;--shadow-panel:0 2px 9px #212f401f}body,#root,.app-shell-mobile{color:var(--text-main);background:#edf1f4}.top-navbar{background:linear-gradient(#1a2027 0%,#10161c 100%);border-bottom:1px solid #2d3a45;gap:7px;min-height:auto;padding:7px 8px 8px;box-shadow:0 8px 18px #1c242e47}.navbar-left{grid-template-columns:minmax(102px,1fr) minmax(74px,.74fr) minmax(108px,.94fr);align-items:center;gap:6px!important}.ticker-input-wrapper,.navbar-date-input{background:#f6f8fa;border-color:#596673;border-radius:4px;height:32px;box-shadow:inset 0 1px 2px #141c2429}.ticker-input-wrapper{padding:3px 8px}.ticker-input-wrapper input{color:#17202b;font-size:14px;font-weight:800}.navbar-date-input{color:#1e2b3a;font-size:12px;font-weight:800}.navbar-stock-name{color:#f7fbff;text-shadow:0 1px 1px #0000002e;font-size:13px;font-weight:800}.replay-controls{background:#151c23;border:1px solid #32404c;border-radius:5px;grid-template-columns:minmax(82px,auto) 30px 30px 30px minmax(60px,72px) 30px;gap:6px;width:100%;padding:7px;display:grid;box-shadow:inset 0 1px #ffffff0f}.replay-time{color:#f4f8fb;font-variant-numeric:tabular-nums;min-width:0;font-size:13px;font-weight:900}.replay-controls button,.settings-btn-inline{color:#dff7ff;background:#22303a;border:1px solid #3e505e;border-radius:4px;min-width:28px!important;min-height:28px!important}.replay-controls button:hover,.settings-btn-inline:hover{color:#fff;background:#006d8c;border-color:#00a8d8}.play-btn{color:#fff!important;background:#007ea3!important;border-color:#19c2ef!important}.speed-selector{color:#edf7fb;background:#202a33;border-color:#526371;border-radius:4px;height:28px;font-weight:800}.replay-slider{accent-color:#00a8d8;grid-column:1/-1;height:18px}.mobile-layout{background:#edf1f4;gap:6px;padding:6px}.mobile-switcher{background:#d8dee4;border:1px solid #bfc8d1;border-radius:5px;gap:0;padding:0;overflow:hidden}.mobile-switch-btn{color:#2d3b4a;background:#f4f6f8;border:0;border-right:1px solid #c4ccd5;border-radius:0;min-height:38px;padding:8px 4px;font-size:13px;font-weight:900}.mobile-switch-btn:last-child{border-right:0}.mobile-switch-btn.active{color:#fff;background:linear-gradient(#26313b 0%,#141b22 100%);box-shadow:inset 0 -3px #00a8d8}.mobile-switch-btn.active:after{display:none}.panel,.mobile-stage-panel,.bottom-panel{box-shadow:var(--shadow-panel);background:#fbfcfd;border-color:#c7d0d8;border-radius:6px}.panel-header{color:#172230;background:linear-gradient(#f7f9fb 0%,#e8edf2 100%);border-bottom-color:#cdd6de;min-height:34px;padding:7px 9px;font-size:12px;font-weight:900}.chart-panel{background:#111820;border-color:#2e3a45;overflow:hidden;box-shadow:0 7px 17px #141c2438}.chart-hero,.chart-canvas-shell{background:#111820;border-color:#2a3641}.chart-hero{gap:7px;padding:8px 9px}.chart-hero-topbar{gap:6px}.chart-market-chip{color:#d4dde6;background:#202a33;border-color:#3a4956;border-radius:3px;min-width:28px;height:22px;padding:0 7px;font-size:11px}.chart-market-chip.active,.chart-market-chip-trade{color:#e8fbff;background:#006d8c;border-color:#1cc3ec}.chart-index-board,.chart-hero-metrics,.chart-mini-stats{display:none!important}.chart-hero-summary{gap:8px}.chart-hero-title{color:#f5f9fc;font-size:15px;font-weight:900}.chart-hero-subtitle{color:#94a4b3;font-size:10px}.chart-hero-main{font-variant-numeric:tabular-nums;font-size:25px;font-weight:900}.chart-hero-change{font-size:12px;font-weight:900}.chart-hero-main.up,.chart-hero-change.up,.val-up,.metric-value.up{color:#ff2d34}.chart-hero-main.down,.chart-hero-change.down,.val-down,.metric-value.down{color:#00a85a}.mobile-stage .chart-canvas-shell{height:clamp(250px,35vh,330px);min-height:clamp(250px,35vh,330px);max-height:clamp(250px,35vh,330px)}.mobile-chart-detail-shell{background:#fbfcfd;min-height:330px}.mobile-chart-detail-header{align-items:center;gap:8px}.mobile-chart-detail-tabs{background:#d8dee4;border:1px solid #bfc8d1;border-radius:4px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;padding:0;display:grid;overflow:hidden}.mobile-chart-detail-tab{color:#2d3b4a;background:#f5f7f9;border-right:1px solid #c4ccd5;border-radius:0;min-height:30px;font-size:12px;font-weight:900}.mobile-chart-detail-tab:last-child{border-right:0}.mobile-chart-detail-tab.active{color:#fff;background:#18212a;box-shadow:inset 0 -3px #00a8d8}.mobile-chart-detail-summary{text-align:right;color:#5e6c7b;width:100%;margin-left:0;font-size:12px;font-weight:800}.tick-table,.ob-table,.data-table{font-variant-numeric:tabular-nums}.tick-table th,.data-table th,.ob-table th{color:#3f4e5f;background:#e9eef3;border-bottom-color:#c7d0d8;font-size:11px;font-weight:900}.tick-table td,.data-table td,.ob-table td{color:#1f2c3a;border-bottom-color:#e3e8ee}.ob-table tr:nth-child(2n),.tick-table tr:nth-child(2n),.data-table tr:nth-child(2n){background:#f7f9fb}.ob-buy-px{color:#ef1f2d;background:#fff0f1;border-right-color:#cfd8e0}.ob-sell-px{color:#0aa45b;background:#edf9f2}.ob-buy-vol,.ob-sell-vol{color:#253241}.power-bar-container{background:#fbfcfd;border-bottom-color:#d6dee6}.power-labels{color:#566474;font-weight:800}.power-bar{background:#dfe6ed;border-radius:0;height:9px}.power-buy{background:#ef1f2d}.power-sell{background:#0aa45b}.trading-panel{background:#f6f8fa;border-top-color:#cdd6de}.broker-order-topbar,.broker-stepper-grid,.broker-risk-grid{gap:6px}.broker-pill,.trade-mode-chip,.broker-stepper-btn,.action-btn{color:#223041;box-shadow:none;background:#fff;border-color:#bfc9d3;border-radius:4px;font-weight:900}.broker-pill-fixed{color:#f6fbff;background:#1a232c;border-color:#1a232c}.broker-pill-limit.active,.trade-mode-chip.active{color:#fff;background:#007fa6;border-color:#007fa6}.broker-pill-market.active{color:#fff;background:#d98a00;border-color:#d98a00}.broker-trade-modes,.trade-type-selector{background:#e9eef3;border-color:#cdd6de;border-radius:5px;padding:5px}.broker-stepper-label,.trade-mode-hint,.broker-order-note{color:#5c6876;font-weight:800}.broker-stepper-control{min-height:36px}.broker-stepper-control input,.broker-risk-input input,.mobile-order-edit-field input,.modal-content .form-row input,.data-table input{font-weight:900;color:#172230!important;background:#fff!important;border-color:#bfc9d3!important}.broker-stepper-control input:disabled{color:#758391!important;background:#e8edf2!important}.broker-stepper-btn:hover,.action-btn:hover{color:#fff;background:#1a232c;border-color:#1a232c}.btn{border-radius:4px;min-height:42px;font-size:15px;font-weight:900;box-shadow:0 2px 7px #1f2a382e}.btn-buy{background:linear-gradient(#ff2c34 0%,#d91f29 100%)}.btn-sell{background:linear-gradient(#12b865 0%,#078746 100%)}.mobile-stage .bottom-tabs{background:#d8dee4;border:1px solid #bfc8d1;border-radius:5px;gap:0;padding:0;overflow:hidden}.mobile-stage .bottom-tab{color:#2d3b4a;min-height:36px;box-shadow:none;background:#f5f7f9;border:0;border-right:1px solid #c4ccd5;border-radius:0;padding:9px 4px;font-size:12px;font-weight:900}.mobile-stage .bottom-tab:last-child{border-right:0}.mobile-stage .bottom-tab.active{color:#fff;background:#18212a;border:0;box-shadow:inset 0 -3px #00a8d8}.mobile-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mobile-summary-card,.mobile-record-card,.mobile-empty-card{background:#fbfcfd;border-color:#cfd8e0;border-radius:5px;box-shadow:0 1px 4px #212f4014}.mobile-summary-card{padding:9px 8px}.mobile-summary-card .lbl,.mobile-record-grid .label,.mobile-record-subtitle{color:#627080;font-weight:800}.mobile-summary-card .val,.mobile-record-grid .value,.mobile-record-title{color:#1f2c3a;font-weight:900}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#11181f85}.modal-content{background:#fbfcfd;border-color:#bfc9d3;border-radius:8px;box-shadow:0 16px 42px #141c2447}.modal-content h3{color:#172230;font-weight:900}.modal-content .modal-btns .btn-cancel{color:#223041;background:#eef2f6;border-color:#c8d1da}.modal-content .modal-btns .btn-confirm{background:#007fa6}}@media (width<=640px){.mobile-layout-market .mobile-market-stack,.mobile-layout-account .mobile-record-list{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}.chart-hero-title-wrap{flex-direction:row;align-items:baseline}.chart-hero-price{gap:5px}}@media (width<=900px){body,#root,.app-shell,.app-shell-mobile,.mobile-layout,.mobile-layout-chart,.mobile-layout-market,.mobile-layout-account{color:#111827;background:#f2f4f7!important}.top-navbar{border-bottom:1px solid #e3e8ef;box-shadow:0 1px 8px #0f172a12;background:#fff!important}.mobile-layout{gap:10px;padding:10px 8px}.mobile-switcher{border:0;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 2px;display:grid;overflow:visible;background:0 0!important}.mobile-switch-btn{color:#697382;border:1px solid #dce4ee;border-radius:24px;min-height:58px;padding:12px 8px;font-size:16px;font-weight:900;box-shadow:0 1px 6px #0f172a0d;background:#fff!important}.mobile-switch-btn:last-child{border-right:1px solid #dce4ee}.mobile-switch-btn.active{color:#2c7dd8;border-color:#b8d1f3;box-shadow:inset 0 0 0 1px #2f7bd90f,0 1px 8px #2f7bd91a;background:#e8f0ff!important}.mobile-switch-btn.active:after{display:none}.mobile-chart-stack,.mobile-market-stack{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px));background:0 0;gap:10px}.panel,.mobile-stage-panel,.bottom-panel,.mobile-chart-detail-shell{background:#fff;border:1px solid #dfe5ec;border-radius:14px;box-shadow:0 2px 10px #1f2a3812}.chart-panel{border:0;border-radius:9px;overflow:hidden;box-shadow:0 6px 18px #1018282e;background:#202a44!important}.chart-hero,.chart-canvas-shell{border-color:#d2dcf01f;background:#202a44!important}.chart-hero{gap:12px;padding:12px}.chart-hero-topbar{flex-direction:column;align-items:stretch;gap:12px;display:flex}.chart-hero-tags{flex-wrap:wrap;gap:7px;display:flex!important}.chart-market-chip{color:#d7deed;border:1px solid #ffffff14;border-radius:6px;min-width:34px;height:30px;padding:0 12px;font-size:14px;font-weight:900;background:#ffffff0f!important}.chart-market-chip.active{color:#ffe09a;border-color:#ffd67a42;background:#806323!important}.chart-market-chip-trade{color:#f8bd67;border-color:#ffb14242;background:#ffa02824!important}.chart-index-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid!important}.chart-index-card{background:0 0;border:0;align-items:flex-start;min-width:0;padding:4px 0}.chart-index-label,.metric-label,.chart-mini-stats .label{color:#dae4f69e;font-size:14px;font-weight:800}.chart-index-main,.metric-value,.chart-mini-stats .value{color:#f7fbff;font-weight:900}.chart-index-change{font-size:12px;font-weight:900}.chart-hero-main-grid{grid-template-columns:1fr;gap:12px;display:grid}.chart-hero-summary{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.chart-hero-name-block{justify-content:flex-start;width:auto;min-width:0}.chart-hero-title-wrap{text-align:left;align-items:flex-start}.chart-hero-title{color:#fff;font-size:22px;font-weight:900;line-height:1.1}.chart-hero-subtitle{color:#dae4f69e;font-size:13px}.chart-hero-price{align-items:flex-end;gap:4px}.chart-hero-main{color:#20d3d1;font-variant-numeric:tabular-nums;font-size:44px;font-weight:900;line-height:.95}.chart-hero-change{color:#20d3d1;font-size:15px;font-weight:900}.chart-hero-main.up,.chart-hero-change.up,.chart-index-main.up,.chart-index-change.up,.metric-value.up,.val-up{color:#ff6b66}.chart-hero-main.down,.chart-hero-change.down,.chart-index-main.down,.chart-index-change.down,.metric-value.down,.val-down{color:#20d3d1}.chart-hero-main.neutral,.chart-hero-change.neutral,.chart-index-main.neutral,.chart-index-change.neutral,.metric-value.neutral{color:#f7fbff}.chart-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;display:grid!important}.metric-pair{background:0 0;border:0;justify-content:flex-start;gap:8px;padding:0}.chart-mini-stats{color:#dae4f6b3;border-top:1px solid #d2dcf01f;border-bottom:1px solid #d2dcf01f;flex-wrap:wrap;justify-content:flex-start;gap:8px 18px;height:auto;min-height:48px;padding:10px 12px;background:#202a44!important;display:flex!important}.chart-line-legend{color:#dbe4f5;justify-content:flex-end;width:100%;margin-left:0;display:flex}.mobile-stage .chart-canvas-shell{height:clamp(360px,52vh,520px);min-height:clamp(360px,52vh,520px);max-height:clamp(360px,52vh,520px)}.mobile-chart-detail-shell{min-height:0;overflow:hidden}.mobile-chart-detail-tabs{border:0;border-bottom:1px solid #dfe5ec;border-radius:14px 14px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px;display:grid;background:#eaf2fd!important}.mobile-chart-detail-tab{color:#667085;border:0;border-radius:12px;min-height:44px;font-size:15px;font-weight:900;background:0 0!important}.mobile-chart-detail-tab.active{color:#2c7dd8;box-shadow:0 1px 8px #2f7bd91f;background:#fff!important}.mobile-chart-detail-summary{color:#667085;padding:0 10px;font-size:15px;font-weight:900}.ob-table th,.tick-table th,.data-table th{color:#667085;background:#f8fafc;border-bottom-color:#e6ebf1;font-weight:900}.ob-table td,.tick-table td,.data-table td{color:#111827;border-bottom-color:#eef2f6}.ob-buy-px{color:#d83a48;background:#fff4f5}.ob-sell-px{color:#12a875;background:#f0fbf7}.power-bar-container,.trading-panel{background:#fff;border-color:#edf1f5}.power-labels{color:#697382;font-weight:900}.broker-pill,.trade-mode-chip,.broker-stepper-btn,.action-btn{color:#4b5563;box-shadow:none;background:#fff;border-color:#dce4ee;border-radius:10px;font-weight:900}.broker-pill-fixed,.broker-pill-limit.active,.trade-mode-chip.active{color:#0f766e;background:#f0fdfa;border-color:#bdece3}.broker-pill-market.active{color:#fff;background:#f59e0b;border-color:#f59e0b}.broker-trade-modes,.trade-type-selector{background:0 0;border:0;gap:10px;padding:0}.broker-stepper-control input,.broker-risk-input input,.mobile-order-edit-field input,.modal-content .form-row input,.data-table input{color:#111827!important;background:#fff!important;border-color:#dce4ee!important}.btn{min-height:52px;box-shadow:none;border-radius:10px;font-size:18px;font-weight:900}.btn-buy{background:#ef4444}.btn-sell{background:#10b981}.mobile-stage .bottom-tabs{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;display:grid;overflow:visible}.mobile-stage .bottom-tab{color:#697382;background:#fff;border:1px solid #dce4ee;border-radius:24px;min-height:58px;padding:12px 8px;font-size:16px;font-weight:900;box-shadow:0 1px 6px #0f172a0d}.mobile-stage .bottom-tab:last-child{border-right:1px solid #dce4ee}.mobile-stage .bottom-tab.active{color:#2c7dd8;background:#e8f0ff;border:1px solid #b8d1f3;box-shadow:inset 0 0 0 1px #2f7bd90f,0 1px 8px #2f7bd91a}.mobile-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mobile-summary-card,.mobile-record-card,.mobile-empty-card{background:#fff;border:1px solid #dfe5ec;border-radius:14px;box-shadow:0 2px 10px #1f2a3812}.mobile-summary-card .lbl,.mobile-record-grid .label,.mobile-record-subtitle{color:#697382;font-weight:900}.mobile-summary-card .val,.mobile-record-grid .value,.mobile-record-title{color:#111827;font-weight:900}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#11182773}.modal-content{background:#fff;border:1px solid #dfe5ec;border-radius:18px;box-shadow:0 18px 50px #0f172a40}}@media (width<=640px){.chart-hero-title{font-size:20px}.chart-hero-main{font-size:39px}.chart-hero-main-grid{gap:10px}.mobile-stage .chart-canvas-shell{height:clamp(330px,50vh,480px);min-height:clamp(330px,50vh,480px);max-height:clamp(330px,50vh,480px)}}@media (width<=900px){.top-navbar{background:#fff!important;border-bottom:1px solid #e5eaf1!important;box-shadow:0 1px 8px #0f172a14!important}.navbar-left{align-items:center}.ticker-input-wrapper,.navbar-date-input,.speed-selector,.replay-controls,.settings-btn,.settings-btn-inline{color:#172230!important;background:#fff!important;border-color:#cbd5df!important}.ticker-input-wrapper input{font-weight:900;color:#172230!important;font-size:18px!important}.ticker-input-wrapper span{color:#667085!important}.navbar-stock-name{font-weight:900;color:#172230!important;text-shadow:none!important;font-size:15px!important}.navbar-date-input{font-weight:900;color:#172230!important;font-size:15px!important}.replay-time,.replay-label,.replay-controls button,.speed-selector,.settings-btn-inline{color:#172230!important;text-shadow:none!important}.replay-time{font-weight:900;font-size:15px!important}.replay-controls button,.settings-btn-inline{color:#fff!important;background:#253241!important;border:1px solid #253241!important;border-radius:8px!important}.replay-controls .play-btn{color:#fff!important;background:#0899bf!important;border-color:#0899bf!important}.speed-selector{min-width:70px}.mobile-switcher{gap:9px;padding:8px 2px}.mobile-switch-btn{border-radius:20px;min-height:48px;font-size:15px}.chart-hero{gap:9px;padding:10px 11px}.chart-market-chip{min-width:30px;height:26px;padding:0 10px;font-size:12px}.chart-index-label,.metric-label,.chart-mini-stats .label{font-size:12px}.chart-index-main,.metric-value{font-size:14px}.chart-index-change{font-size:11px}.chart-hero-title{line-height:1.15;font-size:18px!important}.chart-hero-subtitle{font-size:11px}.chart-hero-main{line-height:1;font-size:34px!important}.chart-hero-change{font-size:13px}.chart-hero-summary{gap:10px}.chart-hero-metrics{gap:8px 12px}.chart-mini-stats{gap:6px 14px;min-height:42px;padding:8px 10px;font-size:12px}.chart-line-legend{font-size:12px}.mobile-stage .chart-canvas-shell{height:clamp(260px,38vh,360px)!important;min-height:clamp(260px,38vh,360px)!important;max-height:clamp(260px,38vh,360px)!important}.mobile-chart-detail-tab,.mobile-chart-detail-summary{font-size:14px}.mobile-stage .bottom-tab{border-radius:20px;min-height:48px;font-size:14px}}@media (width<=640px){.top-navbar{gap:8px!important;padding:8px!important}.navbar-left{grid-template-columns:minmax(112px,1fr) minmax(82px,.78fr) minmax(118px,.95fr)!important;gap:7px!important}.ticker-input-wrapper,.navbar-date-input{border-radius:6px!important;height:36px!important;padding:0 10px!important}.ticker-input-wrapper input{font-size:17px!important}.navbar-stock-name{color:#172230!important;font-size:14px!important}.navbar-date-input{font-size:14px!important}.replay-controls{border-radius:8px!important;grid-template-columns:minmax(76px,1fr) 36px 42px 36px minmax(66px,.8fr) 36px!important;gap:7px!important;padding:8px!important}.replay-time{min-width:0!important;height:34px!important;font-size:14px!important}.replay-controls button,.settings-btn-inline{min-width:34px!important;min-height:34px!important;font-size:14px!important}.replay-controls .play-btn{font-size:16px!important}.speed-selector{height:34px!important;font-size:13px!important}.chart-hero-title{font-size:17px!important}.chart-hero-main{font-size:32px!important}.mobile-stage .chart-canvas-shell{height:clamp(240px,36vh,330px)!important;min-height:clamp(240px,36vh,330px)!important;max-height:clamp(240px,36vh,330px)!important}}@media (width<=900px){.mobile-layout,.mobile-chart-stack,.chart-section,.chart-panel,.chart-hero,.chart-hero-topbar,.chart-hero-tags,.chart-index-board,.chart-hero-main-grid,.chart-hero-summary,.chart-hero-metrics,.chart-mini-stats,.chart-canvas-shell{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.app-shell-mobile,.mobile-layout,.mobile-chart-stack,.chart-section{overflow-x:hidden}.chart-panel{overflow:hidden!important}.chart-hero *{min-width:0}.chart-hero-topbar{overflow:hidden}.chart-hero-tags{flex-wrap:wrap;overflow:hidden}.chart-market-chip{white-space:nowrap;flex:0 auto}.chart-index-board{overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.chart-index-card,.chart-index-values{max-width:100%;overflow:hidden}.chart-index-values{flex-wrap:wrap;gap:3px 6px;display:flex}.chart-index-label,.chart-index-main,.chart-index-change{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.chart-index-main{font-size:clamp(12px,3.5vw,14px)!important}.chart-index-change{font-size:clamp(10px,3vw,11px)!important}.chart-hero-summary{align-items:end;overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(128px,.9fr)!important}.chart-hero-name-block,.chart-hero-title-wrap,.chart-hero-price{max-width:100%;overflow:hidden}.chart-hero-title-wrap{flex-flow:row;align-items:baseline;gap:5px;display:flex}.chart-hero-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-hero-subtitle{text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.chart-hero-price{justify-self:end;align-items:flex-end}.chart-hero-main{text-overflow:clip;white-space:nowrap;max-width:100%;overflow:hidden;font-size:clamp(28px,8.2vw,32px)!important}.chart-hero-change{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden;font-size:clamp(11px,3.4vw,13px)!important}.chart-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metric-pair{min-width:0;overflow:hidden}.metric-label,.metric-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chart-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;display:grid!important}.chart-mini-stats>span,.chart-mini-stats .label,.chart-mini-stats .value{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.chart-line-legend{grid-column:1/-1;justify-content:flex-end;min-width:0;max-width:100%;overflow:hidden}}@media (width<=420px){.chart-hero-summary{gap:8px;grid-template-columns:minmax(0,1fr) minmax(112px,.8fr)!important}.chart-hero-main{font-size:clamp(26px,7.6vw,30px)!important}.chart-market-chip{height:24px;padding:0 8px;font-size:11px}.chart-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.mobile-chart-stack{gap:10px}.chart-panel{background:#202a44!important;border-radius:8px!important}.chart-hero{background:#202a44!important;gap:12px!important;padding:12px 12px 10px!important}.chart-hero-topbar{grid-template-columns:1fr;gap:18px!important;display:grid!important}.chart-hero-tags{justify-content:flex-start;gap:6px!important}.chart-market-chip{min-width:42px;color:#dbe4f1!important;background:#ffffff12!important;border-color:#ffffff1a!important;border-radius:6px!important;height:28px!important;padding:0 11px!important;font-size:13px!important}.chart-market-chip.active{color:#ffe3a5!important;background:#8a6b22!important;border-color:#ffd87859!important}.chart-market-chip-trade{color:#f6c56e!important;background:#ffa52e24!important}.chart-index-board{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;display:grid!important}.chart-index-card{flex-direction:column;gap:4px;display:flex;align-items:flex-start!important;padding:0!important}.chart-index-label{color:#dae4f69e!important;font-size:13px!important}.chart-index-values{flex-wrap:wrap;align-items:baseline;gap:6px;width:100%;display:flex!important}.chart-index-main{letter-spacing:.01em;color:#eef4ff!important;font-size:17px!important}.chart-index-change{font-size:12px!important}.chart-hero-main-grid{grid-template-columns:1fr!important;gap:14px!important;display:grid!important}.chart-hero-summary{grid-template-columns:minmax(0,1fr) minmax(118px,.62fr)!important;align-items:end!important;gap:10px!important;display:grid!important}.chart-hero-title-wrap{white-space:nowrap;flex-direction:row!important;align-items:baseline!important;gap:6px!important;display:flex!important}.chart-hero-title{letter-spacing:.01em;flex:0 auto;color:#fff!important;font-size:clamp(18px,5.1vw,23px)!important;line-height:1.12!important}.chart-hero-subtitle{flex:auto;color:#dae4f694!important;font-size:12px!important}.chart-hero-price{min-width:0;justify-self:end!important;align-items:flex-end!important;gap:4px!important}.chart-hero-main{letter-spacing:.01em;color:#26d3d2!important;font-size:clamp(30px,9.8vw,40px)!important;line-height:.95!important}.chart-hero-change{line-height:1.15;color:#26d3d2!important;font-size:clamp(12px,3.6vw,14px)!important}.chart-hero-main.up,.chart-hero-change.up,.chart-index-main.up,.chart-index-change.up,.metric-value.up{color:#ff6d73!important}.chart-hero-main.down,.chart-hero-change.down,.chart-index-main.down,.chart-index-change.down{color:#26d3d2!important}.metric-value.down{color:#7bd86b!important}.chart-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 18px!important;display:grid!important}.metric-pair{justify-content:flex-start;align-items:baseline;gap:8px!important;display:flex!important}.metric-label{flex:none;color:#dae4f69e!important;font-size:14px!important;font-weight:900!important}.metric-value{flex:auto;color:#f1f6ff!important;font-size:15px!important;font-weight:900!important}.chart-mini-stats{grid-template-columns:auto minmax(42px,.75fr) auto minmax(42px,.75fr) auto minmax(50px,.85fr) auto minmax(44px,.8fr);align-items:baseline;background:#202a44!important;border-top:1px solid #d2dcf021!important;border-bottom:1px solid #d2dcf021!important;gap:8px 10px!important;min-height:76px!important;padding:11px 12px!important;display:grid!important}.chart-mini-stats .label{color:#dae4f69e!important;font-size:14px!important;font-weight:900!important}.chart-mini-stats .value{color:#f1f6ff!important;min-width:0!important;font-size:13px!important;font-weight:900!important}.chart-mini-stats .price{color:#26d3d2!important}.chart-mini-stats .avg{color:#b493ff!important}.chart-mini-stats .volume{color:#3f8cff!important}.chart-mini-stats>span:nth-child(9){grid-area:2/1}.chart-mini-stats>span:nth-child(10){grid-area:2/2}.chart-line-legend{grid-row:2;color:#f1f6ffe0!important;grid-column:5/-1!important;justify-content:flex-end!important;gap:12px!important;width:auto!important;font-size:13px!important}.chart-line-legend-item{white-space:nowrap;gap:5px}.chart-canvas-shell{background:#202a44!important;border-top:0!important}.mobile-stage .chart-canvas-shell{height:clamp(340px,48vh,470px)!important;min-height:clamp(340px,48vh,470px)!important;max-height:clamp(340px,48vh,470px)!important}}@media (width<=420px){.chart-hero{padding:10px 10px 9px!important}.chart-index-board{gap:12px!important}.chart-hero-summary{grid-template-columns:minmax(0,1fr) minmax(108px,.56fr)!important;gap:8px!important}.chart-hero-title{font-size:clamp(17px,5vw,20px)!important}.chart-hero-main{font-size:clamp(28px,9vw,34px)!important}.chart-hero-metrics{gap:9px 14px!important}.metric-label{font-size:13px!important}.metric-value{font-size:14px!important}.chart-mini-stats{grid-template-columns:auto minmax(38px,1fr) auto minmax(38px,1fr) auto minmax(46px,1fr);gap:7px 8px!important;min-height:84px!important}.chart-mini-stats>span:nth-child(7){grid-area:2/1}.chart-mini-stats>span:nth-child(8){grid-area:2/2}.chart-mini-stats>span:nth-child(9){grid-area:2/3}.chart-mini-stats>span:nth-child(10){grid-area:2/4}.chart-line-legend{grid-row:3;grid-column:1/-1!important;justify-content:flex-end!important}.mobile-stage .chart-canvas-shell{height:clamp(320px,45vh,430px)!important;min-height:clamp(320px,45vh,430px)!important;max-height:clamp(320px,45vh,430px)!important}}@media (width<=900px){.top-navbar{box-shadow:none!important;background:#fff!important;border-bottom:1px solid #e7ecf2!important;flex-direction:column!important;gap:10px!important;padding:10px 10px 12px!important;display:flex!important}.navbar-left{grid-template-columns:minmax(96px,1fr) minmax(64px,.72fr) minmax(116px,1.06fr)!important;align-items:center!important;gap:8px!important;width:100%!important;display:grid!important}.ticker-input-wrapper,.navbar-date-input{background:#fff!important;border:1px solid #d7dee8!important;border-radius:7px!important;width:100%!important;height:38px!important;min-height:38px!important;box-shadow:0 1px 4px #0f172a0a!important}.ticker-input-wrapper{padding:0 9px!important}.ticker-input-wrapper span{color:#607086!important;margin-right:5px!important;font-size:15px!important;display:inline-flex!important}.ticker-input-wrapper input{color:#1d2939!important;letter-spacing:.02em!important;width:100%!important;min-width:0!important;font-size:16px!important;font-weight:900!important}.navbar-stock-name{color:#111827!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;font-size:14px!important;font-weight:900!important;line-height:1.2!important;display:block!important;overflow:hidden!important}.navbar-date-input{color:#1d2939!important;text-align:center!important;padding:0 7px!important;font-size:13px!important;font-weight:900!important}.replay-controls{background:#f5f6f8!important;border:1px solid #e0e6ed!important;border-radius:15px!important;grid-template-columns:minmax(74px,1fr) 28px 34px 28px minmax(56px,.72fr) 34px!important;align-items:center!important;gap:8px!important;width:100%!important;padding:9px 10px 10px!important;display:grid!important;box-shadow:inset 0 1px #fffc!important}.replay-label{display:none!important}.replay-time{color:#111827!important;background:#fff!important;border:1px solid #e3e8ef!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;min-width:0!important;height:32px!important;font-size:14px!important;font-weight:900!important;display:flex!important;box-shadow:0 1px 4px #0f172a0a!important}.replay-controls button,.settings-btn-inline{color:#111827!important;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;padding:0!important;font-size:15px!important;font-weight:900!important;display:inline-flex!important}.replay-controls .play-btn{color:#1677ff!important;background:0 0!important;border:0!important;font-size:22px!important;line-height:1!important}.speed-selector{color:#111827!important;background:#fff!important;border:1px solid #dce3ec!important;border-radius:7px!important;width:100%!important;min-width:0!important;height:32px!important;padding:0 7px!important;font-size:13px!important;font-weight:800!important;box-shadow:0 1px 4px #0f172a0a!important}.settings-btn-inline{color:#7aa9b6!important;background:0 0!important;font-size:20px!important}.replay-slider{accent-color:#0b95ad!important;grid-column:1/-1!important;width:100%!important;height:18px!important;margin:0!important}}@media (width<=380px){.top-navbar{padding-left:8px!important;padding-right:8px!important}.navbar-left{grid-template-columns:minmax(92px,1fr) minmax(58px,.64fr) minmax(112px,1.06fr)!important;gap:7px!important}.ticker-input-wrapper,.navbar-date-input{height:36px!important;min-height:36px!important}.ticker-input-wrapper input{font-size:15px!important}.navbar-stock-name{font-size:13px!important}.navbar-date-input{padding:0 5px!important;font-size:12px!important}.replay-controls{grid-template-columns:minmax(70px,1fr) 26px 32px 26px minmax(52px,.72fr) 32px!important;gap:7px!important;padding:8px!important}}
