@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/ui/assets/inter-latin-400-normal-C38fXH4l.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/ui/assets/inter-latin-500-normal-Cerq10X2.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/ui/assets/inter-latin-600-normal-LgqL8muc.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/ui/assets/inter-latin-700-normal-Yt3aPRUw.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/ui/assets/inter-vietnamese-400-normal-DMkecbls.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/ui/assets/inter-vietnamese-500-normal-DOriooB6.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/ui/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/ui/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}*,:before,:after{box-sizing:border-box}html:has(.page-content[data-scroll-gutter]){scrollbar-gutter:stable}body{margin:0;padding:0}#root{min-height:100dvh}.react-calendar{background:#fff;border:1px solid #a0a096;width:350px;max-width:100%;font-family:Arial,Helvetica,sans-serif;line-height:1.125em}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{margin:-.5em;display:flex}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar,.react-calendar *,.react-calendar :before,.react-calendar :after{box-sizing:border-box}.react-calendar button{border:0;outline:none;margin:0}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{height:44px;margin-bottom:1em;display:flex}.react-calendar__navigation button{background:0 0;min-width:44px}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#e6e6e6}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{font:inherit;justify-content:center;align-items:center;font-size:.75em;font-weight:700;display:flex}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth,.react-calendar__decade-view__years__year--neighboringDecade,.react-calendar__century-view__decades__decade--neighboringCentury{color:#757575}.react-calendar__year-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__century-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{text-align:center;max-width:100%;font:inherit;background:0 0;padding:10px 6.6667px;font-size:.833em}.react-calendar__tile:disabled{color:#ababab;background-color:#f0f0f0}.react-calendar__month-view__days__day--neighboringMonth:disabled,.react-calendar__decade-view__years__year--neighboringDecade:disabled,.react-calendar__century-view__decades__decade--neighboringCentury:disabled{color:#cdcdcd}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#a9d4ff}.react-calendar__tile--active{color:#fff;background:#006edc}.react-calendar__tile--active:enabled:hover,.react-calendar__tile--active:enabled:focus{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}:root{--bg-base:#0b0e11;--bg-surface:#181a20;--bg-raised:#1e2329;--bg-hover:#ffffff0d;--border:#2b3139;--border-md:#3a414b;--text-1:#eaecef;--text-2:#b7bdc6;--text-3:#848e9c;--positive:#2ebd85;--negative:#f84b61;--warn:#f0b90b;--accent:#f0b90b;--accent-fill:#fcd535;--on-accent:#1e2329;--input-border:#474d57;--role-admin:#f0b90b;--role-member:#5ea1f7;--role-guest:#848e9c;--chart-grid:#848e9c1a;--chart-border:#2b3139;--chart-crosshair:#eaecef47;--chart-crosshair-label:#2b3139;--chart-entry:#f0b90b;--chart-liquidation:#ff8a00;--chart-line-soft:#848e9c;--chart-volume-up:#2ebd8557;--chart-volume-down:#f6465d57;--layer-trade:#fcd535;--layer-strategy:#fcd535;--layer-data:#fcd535;--layer-alert:#fcd535;--layer-control:#fcd535;--accent-text:#f0b90b;--accent-soft:#f0b90b1a;--blue-soft:#5ea1f724;--scrim:#0000008c;--shadow:0 8px 24px #00000059;--login-brand-from:#e6edf3;--login-brand-to:#8ce0d3;--error-text:#fc8181;--login-card-border:#63b3ed2e;--login-card-shadow:0 24px 60px #03081273;--login-option-text:var(--text-3);--login-option-edge:var(--border);--login-option-edge-hover:#5b9fd4;--login-option-active-fill:#2dd4bf1a;--login-input-edge:#667080;--t1:28px;--t2:20px;--t3:14px;--t4:12px;--t5:11px;--topbar-h:48px;--tabbar-h:0px;--header-h:calc(var(--topbar-h) + var(--tabbar-h));--rail-w:224px;--tap-primary:44px;--tap-dense:32px;--tap-gap:8px;--text-min:12px;--z-chart-panel:22;--z-chart-tooltip:40;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--r:12px;--radius-sm:6px;--radius-md:10px;--radius-pill:999px;--font-ui:"Inter", system-ui, sans-serif;--font-mono:"JetBrains Mono", "Courier New", monospace}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{background:var(--bg-base)}body{background:var(--bg-base);color:var(--text-1);font-family:var(--font-ui);min-height:100dvh;font-size:14px;line-height:1.5}.theme-light{--bg-base:#f5f5f5;--bg-surface:#fff;--bg-raised:#fafafa;--bg-hover:#0000000a;--border:#eaecef;--border-md:#d1d5db;--text-1:#1e2329;--text-2:#474d57;--text-3:#656e7d;--positive:#08784f;--negative:#d12a41;--warn:#946600;--accent:#a87b00;--accent-fill:#fcd535;--on-accent:#1e2329;--input-border:#b7bdc6;--role-admin:#a87b00;--role-member:#0c63e4;--role-guest:#656e7d;--chart-grid:#1e232912;--chart-border:#eaecef;--chart-crosshair:#1e232947;--chart-crosshair-label:#eaecef;--chart-entry:#c99400;--chart-liquidation:#e07400;--chart-line-soft:#707a8a;--chart-volume-up:#2ebd8573;--chart-volume-down:#f6465d73;--layer-trade:#a87b00;--layer-strategy:#a87b00;--layer-data:#a87b00;--layer-alert:#a87b00;--layer-control:#a87b00;--accent-text:#7a5800;--accent-soft:#a87b001a;--blue-soft:#1a56b81a;--scrim:#0f172a73;--shadow:0 8px 24px #0f172a24;--login-brand-from:#1e2329;--login-brand-to:#0f766e;--error-text:#b3202f;--login-card-border:var(--border-md);--login-card-shadow:var(--shadow);--login-option-text:var(--text-2);--login-option-edge:#7b8390;--login-option-edge-hover:var(--accent-text);--login-option-active-fill:var(--accent-soft);--login-input-edge:#7b8390}.theme-light .status-badge{background:#0000000a;border-color:#0000001a}.theme-light .status-badge.live{border-color:#0596694d}.theme-light .refresh-btn{background:#0000000a;border-color:#0000001a}@media (hover:hover) and (pointer:fine){.theme-light .refresh-btn:hover{background:#00000012}}.theme-light .meta-badge{background:#0000000a;border-color:#0000001a}.theme-light .meta-badge.long{color:var(--positive);background:#05966914;border-color:#05966940}.theme-light .meta-badge.short{color:var(--highlight);background:#dc262614;border-color:#dc262640}.theme-light .meta-badge.warn{color:var(--warn);border-color:#d977064d}.theme-light .card{background:var(--bg-surface);border-color:var(--border)}.theme-light .card-header{border-color:var(--border)}.theme-light .catalog-search{background:var(--bg-raised);border-color:var(--border);color:var(--text-1)}.theme-light .catalog-search:focus{border-color:#05966959}.theme-light .catalog-item{background:var(--bg-raised);border-color:var(--border);color:var(--text-1)}@media (hover:hover) and (pointer:fine){.theme-light .catalog-item:hover{background:#0000000a;border-color:#0000002e}}.theme-light .catalog-item.active{background:#05966914;border-color:#0596694d}.theme-light .catalog-item-title{color:var(--text-1)}.theme-light .info-chip{border-color:var(--border);background:#0000000a}.theme-light .int-btn{border-color:var(--border)}@media (hover:hover) and (pointer:fine){.theme-light .int-btn:hover{background:#0000000a}}.theme-light .int-btn.active{color:var(--positive);background:#0596690d;border-color:#0596694d}.theme-light .pill.long{background:#0596691f}.theme-light .pill.short{background:#dc26261f}.theme-light .pill.out{background:#0000000d}.theme-light .component-card{background:var(--bg-surface);border-color:var(--border)}.theme-light .kind-rule{background:#0596691f}.theme-light .kind-component{background:#7c3aed1f}.theme-light .kind-runner{background:#0284c71f}.theme-light .kind-worker{background:#ea580c1f}.theme-light .stat-card{background:var(--bg-surface);border-color:var(--border)}.theme-light .metrics-grid{background:var(--border)}.theme-light .metric-item{background:var(--bg-surface)}.theme-light th,.theme-light td{border-color:var(--border)}@media (hover:hover) and (pointer:fine){.theme-light tr:hover td{background:#00000008}}.theme-light .trade-history-card tbody tr:nth-child(odd) td{background:#00000004}.theme-light .trade-history-card thead tr{background:linear-gradient(90deg,#f1f5f9fa,#f5f7faf5)}.theme-light .trade-history-card:before{background:linear-gradient(90deg,#0284c70d,#3b82f680,#0596691a)}.theme-light .trade-change.pnl-pos{color:var(--positive);text-shadow:none}.theme-light .trade-change.pnl-neg{color:var(--negative);text-shadow:none}.theme-light .trade-history-subtitle{color:var(--text-3)}.theme-light .side-long{color:var(--positive);background:#0596691a;border-color:#05966940}.theme-light .side-short{color:var(--negative);background:#dc26260a;border-color:#dc262638}.theme-light .strategy-card{border-color:#7c3aed24}.theme-light .trade-quick-order-embed{background:#00000005;border-color:#0596691f}.theme-light .klines-canvas-wrap{background:#1a1f2e}.theme-light .weight-bar-track{background:var(--bg-raised)}.theme-light .theme-toggle-btn{color:var(--text-2);background:#0000000a;border-color:#0000001a}@media (hover:hover) and (pointer:fine){.theme-light .theme-toggle-btn:hover{color:var(--text-1);background:#00000012}}.theme-light .catalog-empty{border-color:var(--border)}.theme-light .dot-pending{background:var(--text-3)}.theme-light .trade-rule-inline-note{color:var(--text-2)}.theme-light ::-webkit-scrollbar-thumb{background:#00000026}.theme-light .page-content::-webkit-scrollbar-thumb{background:#0000001f}.theme-toggle-btn{border-radius:var(--r);border:1px solid var(--border);width:44px;height:44px;color:var(--text-2);cursor:pointer;background:#ffffff0a;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;line-height:1;transition:all .15s;display:flex}@media (hover:hover) and (pointer:fine){.theme-toggle-btn:hover{color:var(--text-1);background:#ffffff12}}.theme-toggle-btn:active{transform:scale(.92)}.app-shell,.app-container{width:100%;min-height:100dvh;display:flex;overflow:clip}.app-main,.main-wrapper{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.app-layout{flex-direction:column;flex:1;min-height:0;display:flex}.app-main{transition:margin-left .2s}.profile-page{max-width:980px;margin:0 auto;padding:24px}.profile-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.profile-heading h2{color:var(--text-1);margin:2px 0 6px;font-size:24px}.profile-heading p{color:var(--text-2);margin:0;font-size:13px}.profile-heading .eyebrow{color:var(--layer-trade);letter-spacing:1.3px;text-transform:uppercase;font-size:10px;font-weight:800}.profile-role{border:1px solid var(--border);color:var(--text-2);text-transform:uppercase;border-radius:999px;padding:5px 10px;font-size:10px;font-weight:700}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.profile-card{border:1px solid var(--border);background:var(--bg-surface);border-radius:10px;padding:18px}.profile-card h3{color:var(--text-1);margin:0 0 14px;font-size:14px}.broker-credential-form+.broker-credential-form{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.broker-credential-form h4{color:var(--text-1);margin:0 0 10px;font-size:12px}.broker-credential-form>p{color:var(--text-2);margin:0 0 10px;font-size:11px}.broker-credential-form>p:has(.profile-role){margin-bottom:10px}.broker-credential-form .profile-form label{gap:6px}.profile-card>p>.profile-action{margin:2px 0}.profile-help{color:var(--text-3);margin:-7px 0 10px;font-size:11px}.profile-facts{margin:0}.profile-facts div,.provider-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:10px 0;display:flex}.profile-facts div:last-child,.provider-row:last-child{border-bottom:0}.profile-facts dt{color:var(--text-3);font-size:11px}.profile-facts dd{color:var(--text-1);margin:0;font-size:12px;font-weight:600}.telegram-link-status{color:var(--text-1);align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.telegram-link-status-dot{background:#34d399;border-radius:50%;width:8px;height:8px}.provider-row>div{flex-direction:column;gap:4px;min-width:0;display:flex}.provider-row strong{color:var(--text-1);font-size:12px}.provider-row span{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-family:monospace;font-size:10px;overflow:hidden}.profile-action,.profile-save{min-height:44px;color:var(--layer-trade);cursor:pointer;white-space:nowrap;background:#34d39914;border:1px solid #34d39959;border-radius:6px;justify-content:center;align-items:center;padding:7px 10px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.profile-action:disabled{border-color:var(--border);color:var(--text-3);cursor:not-allowed}.profile-form{gap:11px;display:grid}.profile-form label{color:var(--text-2);gap:5px;font-size:11px;display:grid}.profile-form label:has(input[type=checkbox],input[type=radio]){align-items:center;min-height:44px}.profile-form input,.profile-form textarea{border:1px solid var(--border);background:var(--bg-base);color:var(--text-1);border-radius:6px;outline:none;padding:9px 10px}.profile-form input[type=checkbox],.profile-form input[type=radio]{min-height:0}.profile-form textarea{resize:vertical;min-height:96px}.profile-save{justify-self:start;margin-top:2px}.telegram-link-code{color:var(--text-1);font-family:var(--font-mono)}.telegram-link-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.telegram-link-action{border-color:var(--layer-strategy);background:var(--bg-raised);color:var(--layer-strategy)}.telegram-link-help{margin:8px 0 0}.telegram-link-status{color:var(--text-2);margin-top:8px}.english-action{border-color:var(--layer-strategy);background:var(--bg-raised);color:var(--layer-strategy)}.profile-notice{border:1px solid;border-radius:7px;margin-bottom:14px;padding:10px 12px;font-size:12px}.profile-notice.success{color:var(--layer-trade);border-color:#34d39959}.profile-notice.error{color:var(--error-text);border-color:#f5656559}.profile-notice.info{border-color:var(--border);color:var(--text-2)}.compose-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.dot-pending{background:var(--text-3)}.dot-active{background:var(--positive);box-shadow:0 0 4px var(--positive)}.dot-inactive{background:var(--negative)}.dot-warn{background:var(--warn);box-shadow:0 0 4px var(--warn)}.logo{font-size:16px}.status-badge{border:1px solid var(--border);color:var(--text-2);font-size:11px;font-weight:600;font-family:var(--font-mono);background:#ffffff0a;border-radius:20px;align-items:center;gap:5px;padding:3px 8px;display:flex}.status-badge.live{color:var(--positive);border-color:#10b9814d}.status-dot{background:var(--positive);border-radius:50%;width:6px;height:6px;animation:2s infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.refresh-btn{border:1px solid var(--border);border-radius:var(--r);color:var(--text-2);cursor:pointer;background:#ffffff0a;padding:4px 10px;font-size:12px;transition:all .15s}@media (hover:hover) and (pointer:fine){.refresh-btn:hover{color:var(--text-1);background:#ffffff12}}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.refresh-glyph{display:inline-block}.refresh-glyph.spinning{animation:.9s linear infinite spin}@media (prefers-reduced-motion:reduce){.refresh-glyph.spinning{opacity:.6;animation:none}}.table-wrap:focus-visible{outline:2px solid var(--layer-trade);outline-offset:2px}.page-content{flex:1;width:100%;overflow:hidden auto}.layer-page{flex-direction:column;gap:14px;width:100%;max-width:none;padding:16px 20px 24px;display:flex}.page-header{border-radius:var(--r);background:var(--bg-surface);border:1px solid var(--border);border-left:3px solid var(--border-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.page-header.layer-trade{border-left-color:var(--layer-trade)}.page-header.layer-strategy{border-left-color:var(--layer-strategy)}.page-header.layer-data{border-left-color:var(--layer-data)}.page-header.layer-alert{border-left-color:var(--layer-alert)}.page-header.layer-control{border-left-color:var(--layer-control)}.page-header-left{align-items:center;gap:10px;display:flex}.page-header h2{color:var(--text-1);letter-spacing:-.3px;font-size:15px;font-weight:700}.page-header-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.meta-badge{font-family:var(--font-mono);border:1px solid var(--border);color:var(--text-2);background:#ffffff0a;border-radius:3px;padding:3px 8px;font-size:11px;font-weight:500}.meta-badge.long{color:var(--positive);background:#10b98114;border-color:#10b98140}.meta-badge.short{color:var(--negative);background:#f43f5e14;border-color:#f43f5e40}.meta-badge.flat{color:var(--text-3)}.meta-badge.ok{color:var(--positive)}.meta-badge.warn{color:var(--warn);border-color:#f59e0b4d}.layer-hero,.hero-badges,.hero-badge,.eyebrow{display:none!important}.card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}.card-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:11px 16px;display:flex}.card-title{color:var(--text-1);font-size:13px;font-weight:600}.card-subtitle{color:var(--text-3);margin-top:3px;font-size:11px}.card>.metrics-grid{margin:0}.card>.chip-row,.card>.chip-column{padding:12px 16px}.card>.weight-card-spacer{padding:0 16px 16px}.card>.interval-tabs{padding:12px 16px 8px}.card>.empty-state{padding:32px}.card>.component-card{border:none;border-top:1px solid var(--border);background:var(--bg-surface);border-radius:0;margin:0}.callout-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;padding:16px;display:grid}.english-settings-copy{padding:14px 16px 0}.page-content:has(.chat-shell){min-height:0;display:flex;overflow:hidden}.layer-page.chat-shell{flex:1;gap:0;min-height:0;padding:0}.chat-topbar{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:12px;height:48px;padding:0 20px;display:flex}.chat-title{color:var(--text-1);margin:0;font-size:14px;font-weight:600}.chat-status{color:var(--text-3);font-size:12px}.chat-clear{border:1px solid var(--border-md);border-radius:var(--radius-pill);min-height:32px;color:var(--text-2);cursor:pointer;background:0 0;margin-left:auto;padding:0 12px;font-size:12px}@media (hover:hover) and (pointer:fine){.chat-clear:hover{background:var(--bg-hover);color:var(--text-1)}}.chat-clear.is-confirming{border-color:var(--negative);color:var(--negative)}.chat-clear:disabled{cursor:default;opacity:.5}.chat-thread{overscroll-behavior:contain;scroll-behavior:smooth;flex:1;min-height:0;padding:24px 16px 8px;overflow-y:auto}.chat-column{width:100%;max-width:760px;margin:0 auto}.chat-thread .chat-column{flex-direction:column;gap:22px;display:flex}.conversation-empty{text-align:center;justify-items:center;gap:12px;margin-top:10vh;display:grid}.conversation-empty .label{color:var(--text-1);font-size:22px;font-weight:600}.conversation-empty p{color:var(--text-2);margin:0;font-size:14px}.quick-replies{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.quick-reply{border:1px solid var(--border-md);border-radius:var(--radius-pill);color:var(--text-2);cursor:pointer;background:0 0;padding:8px 14px;font-size:13px;font-weight:500}@media (hover:hover) and (pointer:fine){.quick-reply:hover{background:var(--bg-hover);color:var(--text-1)}}.conversation-turn{flex-direction:column;display:flex}.conversation-role{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.conversation-copy{color:var(--text-1);overflow-wrap:anywhere;gap:12px;font-size:15px;line-height:1.7;display:grid}.conversation-copy p{margin:0}.learner-turn{align-items:flex-end}.learner-turn .conversation-copy{background:var(--bg-raised);border-radius:18px;max-width:82%;padding:10px 16px}.conversation-pending-text{color:var(--text-2);font-style:italic}.conversation-turn.is-streaming .conversation-copy:after{content:"";background:var(--text-2);border-radius:999px;width:7px;height:7px;margin-left:2px;display:inline-block}.chat-dock{padding:8px 16px calc(12px + var(--safe-bottom));flex:none}.chat-dock .chat-column{flex-direction:column;gap:8px;display:flex;position:relative}.chat-jump{border:1px solid var(--border-md);background:var(--bg-surface);width:36px;height:36px;color:var(--text-2);cursor:pointer;border-radius:50%;place-items:center;display:grid;position:absolute;top:-48px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0000004d}@media (hover:hover) and (pointer:fine){.chat-jump:hover{color:var(--text-1)}}.chat-error{margin:0}.chat-composer{border:1px solid var(--border-md);background:var(--bg-surface);border-radius:24px;flex-direction:column;gap:6px;padding:12px 12px 10px 16px;display:flex;box-shadow:0 2px 10px #0000002e}.chat-composer:focus-within{border-color:var(--text-3)}.chat-composer textarea{width:100%;min-height:28px;max-height:200px;color:var(--text-1);resize:none;background:0 0;border:0;outline:0;padding:4px 0;font-size:15px;line-height:1.5}.chat-composer textarea::placeholder{color:var(--text-3)}.chat-composer-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 8px;display:flex}.chat-actions{flex:none;align-items:center;gap:6px;display:flex}.chat-language{flex-wrap:wrap;gap:4px;display:flex}.chat-language-option{cursor:pointer;position:relative}.chat-language-option input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;margin:0;position:absolute;inset:0}.chat-language-option span{border-radius:var(--radius-pill);color:var(--text-2);white-space:nowrap;border:1px solid #0000;padding:5px 12px;font-size:12px;font-weight:500;display:block}@media (hover:hover) and (pointer:fine){.chat-language-option:hover span{background:var(--bg-hover)}}.chat-language-option input:checked+span{border-color:var(--accent);background:var(--bg-hover);color:var(--text-1);font-weight:600}.chat-language-option input:focus-visible+span{outline:2px solid var(--accent);outline-offset:1px}.chat-language-option input:disabled+span{opacity:.5}.chat-language-option input:disabled{cursor:default}.chat-toggle{width:36px;height:36px;color:var(--text-3);cursor:pointer;border-radius:50%;place-items:center;display:grid;position:relative}@media (hover:hover) and (pointer:fine){.chat-toggle:hover{background:var(--bg-hover);color:var(--text-1)}}.chat-toggle:has(input:checked){background:var(--bg-hover);color:var(--accent)}.chat-toggle:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:1px}.chat-toggle:has(input:disabled){cursor:default;opacity:.4}.chat-toggle input{opacity:0;width:100%;height:100%;min-height:0;cursor:inherit;margin:0;position:absolute;inset:0}.chat-icon-button,.chat-send{cursor:pointer;border:0;border-radius:50%;place-items:center;width:36px;height:36px;min-height:0;padding:0;display:grid}.chat-icon-button{color:var(--text-2);background:0 0}@media (hover:hover) and (pointer:fine){.chat-icon-button:hover{background:var(--bg-hover);color:var(--text-1)}}.chat-icon-button.is-listening{background:var(--negative);color:#fff}.chat-send{background:var(--accent-fill);color:var(--on-accent)}.chat-send:disabled{cursor:default;opacity:.4}.chat-footnote,.chat-listening{color:var(--text-3);text-align:center;margin:0;font-size:12px;line-height:1.4}.chat-listening{color:var(--positive)}@media (width<=760px){.chat-topbar{padding:0 12px}.chat-thread{padding:16px 12px 8px}.chat-dock{padding:8px 12px calc(10px + var(--safe-bottom))}.chat-icon-button,.chat-send{width:44px;height:44px}.chat-clear{min-height:44px}.chat-toggle{width:44px;height:44px}.chat-language-option span{align-items:center;min-height:44px;padding:0 12px;display:flex}.chat-composer textarea{min-height:44px}.learner-turn .conversation-copy{max-width:92%}}.metrics-grid{background:var(--border);grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;display:grid}.two-col .metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rule-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metric-item{background:var(--bg-surface);flex-direction:column;gap:4px;min-width:0;padding:11px 16px;display:flex}.m-label{text-transform:uppercase;letter-spacing:.8px;color:var(--text-3);font-size:9px;font-weight:700}.m-val{font-family:var(--font-mono);color:var(--text-2);overflow-wrap:anywhere;min-width:0;font-size:15px;font-weight:600}.m-val.positive{color:var(--positive)}.m-val.negative{color:var(--negative)}.m-val.warn{color:var(--warn)}.m-val.neutral{color:var(--text-1)}.stats-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.stat-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--r);padding:12px 14px}.stat-card .label{text-transform:uppercase;letter-spacing:.8px;color:var(--text-3);margin-bottom:6px;font-size:9px;font-weight:700}.stat-card .value{font-family:var(--font-mono);margin-bottom:4px;font-size:18px;font-weight:600;line-height:1}.stat-card .sub{color:var(--text-3);font-size:11px}.component-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.component-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--r);padding:14px}.strategy-card{border-color:#a78bfa24}.strategy-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.component-meta{align-items:center;gap:8px;margin-bottom:8px;display:flex}.component-meta code{font-family:var(--font-mono);color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.component-kind{text-transform:uppercase;letter-spacing:.5px;border-radius:3px;flex-shrink:0;padding:2px 6px;font-size:9px;font-weight:700}.kind-rule{color:var(--layer-trade);background:#34d3991f}.kind-component{color:var(--layer-strategy);background:#a78bfa1f}.kind-runner{color:var(--layer-data);background:#38bdf81f}.kind-worker{color:var(--layer-alert);background:#fb923c1f}.component-card h3{color:var(--text-1);font-size:13px;font-weight:600;font-family:var(--font-mono);margin-bottom:5px}.component-card p{color:var(--text-2);margin-bottom:8px;font-size:12px;line-height:1.5}.trade-rule-detail-copy{max-width:78ch;margin-bottom:10px!important}.trade-rule-quick-order-block{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.trade-rule-inline-note{color:var(--text-2);margin-bottom:10px;font-size:11px}.trade-quick-order-embed{border-radius:var(--r);background:#ffffff05;border:1px solid #34d3991f;overflow:hidden}.catalog-picker{grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.catalog-list-panel,.catalog-detail-panel{min-width:0}.catalog-toolbar{align-items:center;gap:10px;margin-bottom:12px;display:flex}.catalog-search{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--r);min-width:0;color:var(--text-1);outline:none;flex:1;padding:9px 12px;font-size:13px}.catalog-search:focus{border-color:#34d39959}.catalog-count{color:var(--text-3);font-size:11px;font-family:var(--font-mono);white-space:nowrap}.catalog-list{flex-direction:column;gap:8px;max-height:420px;padding-right:4px;display:flex;overflow-y:auto}.catalog-item{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--r);color:var(--text-1);cursor:pointer;text-align:left;padding:12px;transition:border-color .15s,background .15s,transform .15s}@media (hover:hover) and (pointer:fine){.catalog-item:hover{background:#ffffff0a;border-color:#ffffff2e}}.catalog-item.active{background:#34d39914;border-color:#34d3994d}.catalog-item-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.catalog-item-badges{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.catalog-item-title{color:var(--text-1);overflow-wrap:anywhere;font-size:13px;font-weight:600}.catalog-item-kind{letter-spacing:.08em;text-transform:uppercase;color:var(--layer-strategy);background:#a78bfa1f;border-radius:999px;flex-shrink:0;padding:4px 7px;font-size:9px;font-weight:700}.catalog-item-subtitle{color:var(--text-3);font-size:10px;font-family:var(--font-mono);overflow-wrap:anywhere;margin-top:5px}.catalog-item-summary{color:var(--text-2);margin-top:6px;font-size:12px;line-height:1.45}.catalog-empty{color:var(--text-3);text-align:center;border:1px dashed var(--border);border-radius:var(--r);padding:24px 14px;font-size:12px}.chip-row{flex-wrap:wrap;gap:5px;display:flex}.chip-column{flex-direction:column;gap:5px;padding:14px 16px;display:flex}.execution-chip-column .info-chip{white-space:normal;line-height:1.45}.info-chip{border:1px solid var(--border);color:var(--text-2);font-size:11px;font-family:var(--font-mono);white-space:nowrap;background:#ffffff0a;border-radius:3px;padding:3px 7px}.interval-tabs{flex-wrap:wrap;gap:4px;display:flex}.int-btn{border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--text-2);cursor:pointer;background:0 0;border-radius:4px;padding:5px 12px;font-size:12px;font-weight:500;transition:all .15s}@media (hover:hover) and (pointer:fine){.int-btn:hover{background:var(--bg-hover);color:var(--text-1)}}.int-btn.active{color:var(--layer-trade);background:#34d3991a;border-color:#34d3994d}.pill{font-size:11px;font-weight:700;font-family:var(--font-mono);border-radius:20px;flex-shrink:0;padding:3px 8px}.pill.long{color:var(--positive);background:#10b9811f}.pill.short{color:var(--negative);background:#f43f5e1f}.pill.out{color:var(--text-3);background:#ffffff0d}.two-col{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start;gap:12px;display:grid}.weight-card-spacer{padding-top:0}table{border-collapse:collapse;width:100%;font-size:12px}.table-wrap{width:100%;overflow-x:auto}.table-scroll{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scrollbar-color:var(--text-3) var(--bg-raised);scrollbar-width:thin;max-width:100%;position:relative;overflow-x:auto}.table-scroll>table{position:relative}.table-scroll th:first-child,.table-scroll td:first-child{z-index:1;background:var(--bg-surface);box-shadow:4px 0 8px -6px var(--text-1);position:sticky;left:0}.table-scroll th:first-child{background:var(--bg-raised)}.theme-light .table-scroll{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;scrollbar-color:var(--text-3) var(--bg-raised)}.trade-table{min-width:860px}.trade-history-table{min-width:940px}.trade-history-card{position:relative;overflow:hidden}.trade-history-card:before{content:"";pointer-events:none;background:linear-gradient(90deg,#38bdf80d,#60a5fab3,#34d3991a);height:1px;position:absolute;inset:0 0 auto}.trade-history-subtitle{color:#8fa7c6;margin-top:4px;font-size:11px}.trade-history-card thead tr{background:linear-gradient(90deg,#121b2dfa,#101828f5)}th{text-align:left;text-transform:uppercase;letter-spacing:.7px;color:var(--text-3);border-bottom:1px solid var(--border);padding:8px 12px;font-size:9px;font-weight:700}td{border-bottom:1px solid var(--border);color:var(--text-2);font-family:var(--font-mono);padding:8px 12px;font-size:12px}tr:last-child td{border-bottom:none}@media (hover:hover) and (pointer:fine){tr:hover td{background:var(--bg-hover)}}.trade-history-card tbody tr:nth-child(odd) td{background:#ffffff04}@media (hover:hover) and (pointer:fine){.trade-history-card tbody tr:hover td{background:linear-gradient(90deg,#2563eb1f,#0f172a2e)}}.trade-cell-strong{color:#8ec5ff;font-weight:600}.trade-price-cell{color:var(--text-1);font-weight:600}.trade-side-pill{letter-spacing:.4px;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-width:42px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.side-long{color:#6ee7b7;background:#10b9811f;border-color:#10b98142}.side-short{color:#fca5a5;background:#f43f5e1a;border-color:#f43f5e38}.trade-change{font-weight:600}.trade-table th.num,.trade-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pnl-pos{color:#6ee7b7;text-shadow:0 0 14px #10b9811f}.pnl-neg{color:#fb7185;text-shadow:0 0 14px #f43f5e1a}.klines-card{padding:0;overflow:hidden}.klines-header{border-bottom:1px solid #63b3ed1a;padding:12px 16px}.klines-intervals{margin-bottom:0}.klines-legend{color:var(--text-3);font-size:10px;font-family:var(--font-mono);align-items:center;gap:10px;margin-left:14px;display:inline-flex}.klines-legend span{align-items:center;gap:4px;display:inline-flex}.klines-legend-dot{border-radius:50%;width:7px;height:7px;display:inline-block}.klines-legend-dot.live{background:#58a6ff}.klines-legend-dot.memory{background:#d29922}.klines-legend-dot.db{background:#bc8cff}.klines-status{color:#4fd1c5;margin-left:auto;font-size:11px;font-weight:600}.klines-status.error{color:#f85149}.klines-canvas-wrap{-webkit-user-select:none;user-select:none;background:#0d1117;padding:16px 0;position:relative}.klines-chart{width:100%;height:480px}.klines-loading-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:15;pointer-events:none;background:#090d1661;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.klines-loading-chip{color:#8ce0d3;font-size:12px;font-weight:600;font-family:var(--font-mono);background:#0f1528eb;border:1px solid #63b3ed2e;border-radius:6px;padding:8px 12px}.klines-tooltip{pointer-events:none;z-index:10;max-width:min(260px,100% - 48px);color:var(--text-1);font-size:11px;line-height:1.6;font-family:var(--font-mono);background:#151a23e6;border:1px solid #63b3ed33;border-radius:4px;padding:8px 12px;position:absolute;top:24px;left:24px}.klines-tooltip-time{color:#4fd1c5;overflow-wrap:anywhere;margin-bottom:4px;font-weight:700}.klines-tooltip-grid{grid-template-columns:auto auto;gap:4px 16px;display:grid}.klines-tooltip-val{text-align:right}.klines-tooltip-val.strong{font-weight:700}.klines-tooltip-val.muted{color:var(--text-2)}.klines-tooltip-source{color:var(--text-3)}.klines-footer{color:var(--text-2);background:#0f152866;border-top:1px solid #63b3ed0d;justify-content:space-between;gap:12px;padding:8px 16px;font-size:11px;display:flex}.klines-footer-info{overflow-wrap:anywhere;min-width:0}.klines-footer-hint{opacity:.6;white-space:nowrap;font-size:10px}.positive{color:var(--positive)!important}.negative{color:var(--negative)!important}.warn{color:var(--warn)!important}.neutral{color:var(--text-1)!important}.label{text-transform:uppercase;letter-spacing:.6px;color:var(--text-3);font-size:11px;font-weight:600}.sub{color:var(--text-3);font-size:11px}.spinner{background:conic-gradient(from 0deg, transparent 0deg 250deg, var(--layer-trade) 335deg 360deg);width:20px;height:20px;filter:drop-shadow(0 0 4px var(--layer-trade));border-radius:50%;animation:.85s linear infinite spin;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 2.5px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 2.5px),#000 calc(100% - 2.5px))}@keyframes spin{to{transform:rotate(360deg)}}.boot-loading{background:radial-gradient(circle at 50% 38%, #34d3991a, transparent 55%), var(--bg-base);flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:100dvh;animation:.45s boot-fade-in;display:flex}.logo-loading{border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:relative}.logo-loading-large{width:120px;height:120px}.logo-loading-small{width:72px;height:72px}.logo-loading-ring{background:conic-gradient(from 0deg, transparent 0deg 250deg, var(--layer-trade) 342deg 360deg);filter:drop-shadow(0 0 8px var(--layer-trade));border-radius:50%;animation:1.1s linear infinite boot-spin;position:absolute;inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 3px))}.logo-loading-mark{object-fit:cover;border-radius:50%;width:78%;height:78%;animation:1.8s ease-in-out infinite boot-pulse-mark}.page-loading{min-height:260px;color:var(--text-3);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:13px;display:flex}.boot-loading-title{letter-spacing:.4px;color:var(--text-1);font-size:15px;font-weight:700}.boot-loading-status{color:var(--text-3);align-items:center;gap:10px;font-size:12px;display:flex}.boot-loading-status .spinner{width:14px;height:14px}@keyframes boot-spin{to{transform:rotate(360deg)}}@keyframes boot-fade-in{0%{opacity:0}to{opacity:1}}@keyframes boot-pulse-mark{0%,to{transform:scale(.96)}50%{transform:scale(1.02)}}@media (prefers-reduced-motion:reduce){.spinner,.boot-loading,.logo-loading-ring,.logo-loading-mark{animation:none!important}}.empty-state{text-align:center;color:var(--text-3);padding:32px;font-size:13px}.react-calendar{background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:var(--r)!important;width:100%!important;font-family:var(--font-ui)!important;color:var(--text-1)!important}.react-calendar__navigation{background:var(--bg-raised)!important;border-bottom:1px solid var(--border)!important;margin-bottom:0!important}.react-calendar__navigation button{color:var(--text-1)!important;min-width:40px!important;padding:10px!important;font-size:13px!important;font-weight:600!important}.react-calendar__navigation button:focus{background:var(--bg-hover)!important}@media (hover:hover) and (pointer:fine){.react-calendar__navigation button:hover{background:var(--bg-hover)!important}}.react-calendar__navigation button:disabled{opacity:.3!important;background:0 0!important}.react-calendar__month-view__weekdays{background:var(--bg-raised)!important;border-bottom:1px solid var(--border)!important}.react-calendar__month-view__weekdays__weekday{color:var(--text-3)!important;text-align:center!important;padding:7px!important;font-size:10px!important}.react-calendar__month-view__weekdays__weekday abbr{text-decoration:none!important}.react-calendar__tile{color:var(--text-2)!important;vertical-align:top!important;background:0 0!important;border:1px solid #0000!important;min-height:72px!important;padding:8px 4px!important;font-size:12px!important;transition:background .1s!important;position:relative!important}@media (hover:hover) and (pointer:fine){.react-calendar__tile:enabled:hover{background:var(--bg-hover)!important}}.react-calendar__tile--now{border-color:var(--border-md)!important;background:#ffffff0a!important}.react-calendar__tile--active{color:var(--layer-trade)!important;background:#34d3991f!important;border-color:#34d39959!important}@media (hover:hover) and (pointer:fine){.react-calendar__tile--active:enabled:hover{color:var(--layer-trade)!important;background:#34d3991f!important;border-color:#34d39959!important}}.react-calendar__tile.cal-positive{background:#10b9810f!important;border-color:#10b98124!important}.react-calendar__tile.cal-negative{background:#f43f5e0f!important;border-color:#f43f5e24!important}.cal-tile-content{text-align:center;margin-top:5px}.cal-tile-pnl{font-family:var(--font-mono);font-size:10px;font-weight:600}.cal-tile-count{color:var(--text-3);margin-top:1px;font-size:9px}.cal-layout{grid-template-columns:minmax(0,1.7fr) minmax(320px,.78fr);align-items:start;gap:14px;display:grid}.calendar-section-body{flex-direction:column;gap:14px;padding:14px 16px 16px;display:flex}.calendar-filter-tabs{justify-content:flex-start;align-items:center}.calendar-today-btn{min-width:72px;font-weight:600}.calendar-board{min-width:0}.cal-sidebar{flex-direction:column;gap:10px;display:flex}.metric-span-2{grid-column:1/-1}.cal-day-panel{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}.cal-day-header{border-bottom:1px solid var(--border);color:var(--text-1);justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;font-size:12px;font-weight:600;display:flex}.cal-day-title{color:var(--text-1);font-size:12px;font-weight:700}.cal-day-meta{color:var(--text-3);margin-top:3px;font-size:11px}.cal-day-pnl{font-family:var(--font-mono);font-size:14px;font-weight:600}.cal-trade-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:8px 14px;display:flex}.cal-trade-row:last-child{border-bottom:none}.cal-trade-side{font-family:var(--font-mono);border-radius:3px;flex-shrink:0;padding:2px 6px;font-size:10px;font-weight:700}.cal-trade-side.long{color:var(--positive);background:#10b9811a}.cal-trade-side.short{color:var(--negative);background:#f43f5e1a}.cal-trade-pnl{font-family:var(--font-mono);font-size:12px;font-weight:600}.cal-trade-time{font-family:var(--font-mono);color:var(--text-3);font-size:10px}.cal-no-trades{text-align:center;color:var(--text-3);padding:20px 14px;font-size:12px}.cal-panel-tag,.calendar-filter-count{color:var(--text-3);font-size:10px}.cal-tile-rules{justify-content:center;gap:3px;margin:2px 0;display:flex}.cal-tile-rule-dot{border-radius:50%;flex-shrink:0;width:5px;height:5px}.cal-tile-rule-dot.pos{background:var(--positive)}.cal-tile-rule-dot.neg{background:var(--negative)}.cal-rule-badge{font-family:var(--font-mono);color:var(--layer-strategy);text-transform:uppercase;background:#a78bfa1f;border-radius:2px;flex-shrink:0;padding:1px 5px;font-size:9px;font-weight:700}.strategy-interval-list{flex-direction:column;gap:8px;padding:16px;display:flex}.strategy-interval-row{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--r);width:100%;color:var(--text-1);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;transition:border-color .15s,background .15s;display:flex}@media (hover:hover) and (pointer:fine){.strategy-interval-row:hover{background:#ffffff08;border-color:#ffffff29}}.strategy-interval-row.active{background:#34d3990f;border-color:#34d39947}.strategy-interval-main,.strategy-interval-stats{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.strategy-status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.strategy-status-dot.ready{background:var(--positive)}.strategy-status-dot.warming{background:var(--warn)}.strategy-interval-name{font-family:var(--font-mono);font-size:13px;font-weight:700}.strategy-interval-source,.strategy-interval-stat{color:var(--text-2);font-size:11px;font-family:var(--font-mono)}.strategy-effectiveness-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px;padding:16px;display:grid}.strategy-effectiveness-panel{min-width:0}.strategy-panel-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);margin-bottom:10px;font-size:11px;font-weight:700}.strategy-leaderboard{flex-direction:column;gap:8px;display:flex}.strategy-leader-row{border:1px solid var(--border);border-radius:var(--r);background:var(--bg-raised);justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.strategy-leader-main{min-width:0}.strategy-leader-name{color:var(--text-1);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:12px;font-weight:700}.strategy-leader-desc{color:var(--text-3);margin-top:4px;font-size:11px}.strategy-leader-metrics{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.strategy-leader-chip{border:1px solid var(--border);color:var(--text-2);font-size:11px;font-family:var(--font-mono);background:#ffffff0a;border-radius:999px;padding:3px 7px}.strategy-comparison-card{overflow:hidden}.strategy-comparison-card .refresh-btn{min-height:44px}.strategy-comparison-table{min-width:900px}.strategy-comparison-name{color:var(--text-1);font-family:var(--font-sans);font-weight:650}.strategy-comparison-warning{border-top:1px solid var(--border);color:var(--warning);padding:10px 12px;font-size:11px}.mtf-evidence-list{flex-direction:column;gap:8px;padding:16px;display:flex}.mtf-evidence-row{border:1px solid var(--border);border-radius:var(--r);background:var(--bg-raised);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.mtf-evidence-main{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.mtf-evidence-interval{min-width:34px;color:var(--text-1);font-family:var(--font-mono);font-size:13px;font-weight:700}.mtf-evidence-role{color:var(--text-3);text-transform:uppercase;letter-spacing:.05em;font-size:10px}.mtf-evidence-weight{color:var(--text-3);font-family:var(--font-mono);font-size:11px}.mtf-evidence-strategies{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.weight-bar-list{flex-direction:column;gap:12px;display:flex}.weight-summary-card{border-radius:var(--r);background:linear-gradient(135deg,#34d39914,#ffffff05);border:1px solid #34d3992e;padding:14px}.weight-summary-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);font-size:10px;font-weight:700}.weight-summary-name{color:var(--text-1);overflow-wrap:anywhere;margin-top:6px;font-size:18px;font-weight:700;line-height:1.25}.weight-summary-metrics{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.weight-summary-chip{border:1px solid var(--border);color:var(--text-2);font-size:11px;font-family:var(--font-mono);background:#ffffff0a;border-radius:999px;padding:3px 8px}.weight-rows{flex-direction:column;gap:8px;display:flex}.weight-item{border:1px solid var(--border);border-radius:var(--r);background:var(--bg-raised);padding:10px 12px}.weight-item.dominant{background:#34d3990f;border-color:#34d3993d}.weight-info{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.weight-rank{width:22px;height:22px;color:var(--text-2);border:1px solid var(--border);font-size:11px;font-weight:700;font-family:var(--font-mono);background:#ffffff08;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.weight-copy{min-width:0}.weight-name{color:var(--text-1);overflow-wrap:anywhere;font-size:12px;font-weight:700;display:block}.weight-raw{color:var(--text-3);font-size:10px;font-family:var(--font-mono);overflow-wrap:anywhere;margin-top:3px;display:block}.weight-pct{color:var(--text-1);font-size:12px;font-weight:700;font-family:var(--font-mono)}.weight-track{background:#ffffff0d;border-radius:999px;height:8px;margin-top:8px;overflow:hidden}.weight-fill{border-radius:inherit;background:linear-gradient(90deg,#60a5fabf,#3b82f6f2);height:100%}.weight-fill.dominant{background:linear-gradient(90deg,#34d399b8,#10b981fa)}.login-page{background:var(--bg-base);justify-content:center;align-items:center;min-height:100dvh;display:flex}.login-container,.login-box{background:var(--bg-surface);border:1px solid var(--border);border-radius:10px;width:360px;padding:32px}.login-title,.login-container h2,.login-box h2{color:var(--text-1);letter-spacing:-.3px;margin-bottom:4px;font-size:18px;font-weight:700}.login-subtitle,.login-container p,.login-box p{color:var(--text-3);margin-bottom:22px;font-size:12px}.login-field,.form-group{margin-bottom:13px}.login-label,.form-group label{color:var(--text-2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px;font-size:11px;font-weight:700;display:block}.login-input,.form-group input{background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--r);width:100%;color:var(--text-1);min-height:44px;font-size:13px;font-family:var(--font-ui);outline:none;padding:8px 12px;transition:border-color .15s}.login-input{border-color:var(--login-input-edge)}.login-input:focus,.form-group input:focus{border-color:var(--layer-trade)}.login-box :focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.login-btn,.btn-primary{background:var(--layer-trade);border-radius:var(--r);color:#080c12;cursor:pointer;border:none;width:100%;min-height:44px;margin-top:8px;padding:9px;font-size:14px;font-weight:700;transition:opacity .15s}@media (hover:hover) and (pointer:fine){.login-btn:hover,.btn-primary:hover{opacity:.85}}.login-btn:disabled,.btn-primary:disabled{opacity:.5;cursor:not-allowed}.login-error,.form-error{border-radius:var(--r);color:var(--error-text);background:#f43f5e1a;border:1px solid #f43f5e40;margin-top:10px;padding:8px 12px;font-size:12px}.login-box-enhanced{border-color:var(--login-card-border);width:min(100%,380px);box-shadow:var(--login-card-shadow);padding:40px 36px}.login-hero{text-align:center;margin-bottom:28px}.login-mark{border-radius:var(--radius-md);object-fit:cover;width:72px;height:72px;margin:0 auto 12px;display:block}.login-brand{letter-spacing:-.03em;background:linear-gradient(90deg, var(--login-brand-from) 0%, var(--login-brand-to) 100%);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0 0 8px;font-size:22px;font-weight:700}.login-inline-error{margin:10px 0 0;font-size:12px;line-height:1.5}.login-box .login-inline-error{color:var(--error-text)}.login-divider{color:var(--text-3);font:500 11px/1 var(--font-ui);text-transform:uppercase;align-items:center;gap:12px;margin:20px 0 14px;display:flex}.login-divider:before,.login-divider:after{content:"";background:var(--border);flex:1;height:1px}.login-other-ways{border:1px solid var(--border);border-radius:var(--r);background:var(--bg-raised);overflow:hidden}.login-other-ways summary{color:var(--text-2);font:600 12px/1.2 var(--font-ui);cursor:pointer;-webkit-user-select:none;user-select:none;padding:11px 12px}.login-other-ways[open] summary{border-bottom:1px solid var(--border)}.login-other-options{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px;display:grid}.login-other-option{border:1px solid var(--login-option-edge);border-radius:var(--r);background:var(--bg-raised);min-width:0;min-height:44px;color:var(--login-option-text);font:600 11px/1.2 var(--font-ui);cursor:pointer;padding:8px 7px;transition:border-color .15s,background .15s,color .15s}.login-oauth-option{justify-content:center;align-items:center;text-decoration:none;display:flex}@media (hover:hover) and (pointer:fine){.login-other-option:hover{border-color:var(--login-option-edge-hover);color:var(--text-1)}}.login-other-option.active{border-color:var(--layer-trade);background:var(--login-option-active-fill);color:var(--text-1)}.login-other-option:disabled{cursor:not-allowed;opacity:.55}.login-other-form{border-top:1px solid var(--border);counter-reset:login-step;margin:18px 12px 0;padding-top:18px}.login-other-form .login-field{counter-increment:login-step;margin-bottom:10px}.login-other-form .login-label{align-items:center;gap:8px;display:flex}.login-other-form .login-label:before{content:counter(login-step);background:var(--login-option-active-fill);width:18px;height:18px;color:var(--layer-trade);border-radius:50%;flex:0 0 18px;place-items:center;font-size:10px;font-weight:800;display:inline-grid}.login-input-token{font-family:var(--font-mono);letter-spacing:.06em}.login-input-token::placeholder{font-family:var(--font-ui);letter-spacing:normal}.login-token-request{border:1px solid var(--login-option-edge);border-radius:var(--r);background:var(--bg-raised);width:100%;min-height:40px;color:var(--login-option-text);font:600 12px/1.2 var(--font-ui);cursor:pointer;margin:0 0 18px;padding:8px 12px;transition:border-color .15s,color .15s}@media (hover:hover) and (pointer:fine){.login-token-request:hover:enabled{border-color:var(--login-option-edge-hover);color:var(--text-1)}}.login-token-request:disabled{cursor:not-allowed;opacity:.7}.login-token-action{width:100%;color:var(--text-3);font:600 11px/1.2 var(--font-ui);cursor:pointer;background:0 0;border:0;margin-top:10px;padding:7px}@media (hover:hover) and (pointer:fine){.login-token-action:hover{color:var(--text-1)}}.login-token-action:disabled{cursor:not-allowed;opacity:.55}.login-mode-help{color:var(--text-3);line-height:1.5;margin:-3px 0 12px!important;font-size:11px!important}.login-mode-help.is-success{color:var(--positive)}.control-page{min-width:0;overflow-x:hidden}.control-page .trading-page-heading{width:100%;margin:0 0 10px}.layer-page>.trading-page-heading.layer-strategy{margin-bottom:10px}@media (width<=420px){.control-page .trading-page-heading,.layer-page>.trading-page-heading.layer-strategy{margin-bottom:12px}}.control-page .broker-panel-card{margin-inline:0}.control-page .broker-panel-body{padding-inline:16px}.control-page .broker-warn-box{background:var(--bg-raised);border-color:var(--warn);color:var(--warn)}.control-page .broker-warn-box .profile-action{color:var(--text-1)}.control-page input:disabled:not([type=range]){opacity:1;color:var(--text-1);-webkit-text-fill-color:var(--text-1);border-color:var(--border-md);background:var(--bg-raised);cursor:not-allowed}.broker-panel-card{overflow:hidden}.broker-tab-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.broker-tab-btn{justify-content:center;align-items:center;min-width:92px;min-height:44px;display:inline-flex}.broker-tab-btn>div{align-items:center;gap:6px;display:flex}.broker-panel-body{padding:14px 16px 16px}.broker-action-row{gap:8px;display:flex}.broker-alert-stack{flex-direction:column;gap:10px;padding:14px 16px 16px;display:flex}.broker-alert-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-height:40px;display:flex}.broker-warn-box,.broker-ok-box,.broker-empty{border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.5}.broker-warn-box{background:var(--bg-raised);border:1px solid var(--warn);color:var(--warn);margin-bottom:14px}.broker-ok-box{background:var(--bg-raised);border:1px solid var(--positive);color:var(--positive)}.broker-empty{background:var(--bg-raised);border:1px dashed var(--border);color:var(--text-2)}.trade-analysis-content{flex-direction:column;gap:14px;display:flex}.trade-payoff-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.trade-diagnostic-path{grid-column:span 2}@media (width<=900px){.cal-layout{grid-template-columns:1fr}.cal-summary-strip{grid-template-columns:repeat(2,1fr)}.two-col,.strategy-effectiveness-layout{grid-template-columns:1fr}.strategy-interval-row,.strategy-leader-row{flex-direction:column;align-items:flex-start}.strategy-leader-metrics{justify-content:flex-start}.two-col .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.catalog-picker{grid-template-columns:1fr}.catalog-list{max-height:260px}.component-grid,.strategy-grid{grid-template-columns:1fr}}@media (width<=768px){.trade-payoff-grid{grid-template-columns:1fr}.profile-page{padding:16px}.profile-grid{grid-template-columns:1fr}.profile-providers{grid-row:auto}.stats-row{grid-template-columns:1fr 1fr}.layer-page{padding:14px 16px 20px}.calendar-section-body{padding:12px}.page-header-meta{justify-content:flex-start}.catalog-toolbar{flex-direction:column;align-items:stretch;gap:8px}.catalog-count{align-self:flex-end}.callout-grid{grid-template-columns:1fr;gap:12px;padding:14px}.cal-day-header,.cal-trade-row{padding-left:12px;padding-right:12px}.cal-trade-row{grid-template-columns:auto auto 1fr auto;align-items:center;display:grid}.trade-table{min-width:760px}.klines-header{padding:12px}.klines-legend{order:2;width:100%;margin-top:6px;margin-left:0}.klines-status{order:3;width:100%;margin-left:0}.klines-footer{flex-direction:column;align-items:flex-start;gap:6px;padding:10px 12px}.klines-footer-hint{white-space:normal}.login-page{padding:20px 16px}.login-box-enhanced{padding:32px 24px}.broker-panel-body,.broker-alert-stack{padding:12px}.broker-tab-row{flex-wrap:wrap;width:100%;padding-bottom:2px;overflow-x:visible}.broker-tab-btn{flex:96px}.broker-action-row{flex-direction:column}}@media (width<=560px){.trade-diagnostic-path{grid-column:auto}.layer-page,.page-header{padding:12px}.page-header-left,.page-header-meta{width:100%}.stats-row,.metrics-grid,.two-col .metrics-grid{grid-template-columns:1fr}.rule-contract-grid{grid-template-columns:1fr!important}.metric-item{padding:10px 12px}.stat-card{padding:12px}.card-header{padding:10px 12px}.calendar-section-body,.strategy-interval-list,.strategy-effectiveness-layout{padding:12px}.meta-badge{overflow-wrap:anywhere;max-width:100%}.info-chip{white-space:normal}.component-meta{flex-wrap:wrap;align-items:flex-start}.component-meta code{white-space:normal}.catalog-list{max-height:220px}.react-calendar__tile{min-height:64px!important;padding:6px 3px!important;font-size:11px!important}.cal-tile-pnl{font-size:9px}.cal-tile-count{font-size:8px}.cal-trade-row{grid-template-columns:1fr auto;row-gap:4px}.cal-trade-time{grid-column:1/-1}.trade-table{min-width:720px}.trade-history-table{min-width:820px}.klines-canvas-wrap{padding:10px 0}.klines-chart{height:320px}.klines-tooltip{max-width:calc(100% - 24px);padding:8px 10px;font-size:10px;top:12px;left:12px}.klines-tooltip-grid{gap:2px 10px}.klines-loading-chip{padding:7px 10px;font-size:11px}.login-box-enhanced{width:100%;padding:28px 18px}.login-brand{font-size:20px}.broker-tab-btn{min-width:84px}}@media (width<=420px){.layer-page{gap:12px;padding:10px}.page-header,.card-header{padding-left:10px;padding-right:10px}.stat-card,.metric-item,.component-card{padding:10px}.subnav-link{padding:8px 10px}.login-page{padding:12px}.login-box-enhanced{padding:24px 14px}.login-mark{width:56px;height:56px}.login-brand{font-size:18px}.broker-panel-body,.broker-alert-stack{padding:10px}}.heatmap-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px;margin-bottom:18px;display:grid}.heatmap-figure{min-width:0}.heatmap-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.heatmap-head h4{color:var(--text-1);font-size:12px;font-weight:600}.heatmap-total{color:var(--text-3);font-size:11px;font-family:var(--font-mono)}.heatmap-plot{padding-bottom:32px;position:relative;overflow-x:auto}.heatmap-empty{color:var(--text-3);padding:16px 0;font-size:12px}.heatmap-axis{fill:var(--text-3);font-size:9px;font-family:var(--font-ui)}.heatmap-cell{cursor:default}.hm-l0{fill:var(--bg-raised)}.hm-l1{fill:color-mix(in srgb, var(--positive) 30%, var(--bg-surface))}.hm-l2{fill:color-mix(in srgb, var(--positive) 55%, var(--bg-surface))}.hm-l3{fill:color-mix(in srgb, var(--positive) 80%, var(--bg-surface))}.hm-l4{fill:var(--positive)}.heatmap-tooltip{background:var(--bg-raised);border:1px solid var(--border-md);border-radius:var(--r);color:var(--text-1);white-space:nowrap;pointer-events:none;z-index:20;padding:4px 8px;font-size:11px;position:absolute;transform:translate(-50%)}.heatmap-tooltip strong{font-family:var(--font-mono)}.heatmap-legend{color:var(--text-3);align-items:center;gap:3px;margin-top:8px;font-size:10px;display:flex}.heatmap-legend i{border-radius:2px;width:12px;height:12px;display:inline-block}.heatmap-legend .hm-l0{background:var(--bg-raised)}.heatmap-legend .hm-l1{background:color-mix(in srgb, var(--positive) 30%, var(--bg-surface))}.heatmap-legend .hm-l2{background:color-mix(in srgb, var(--positive) 55%, var(--bg-surface))}.heatmap-legend .hm-l3{background:color-mix(in srgb, var(--positive) 80%, var(--bg-surface))}.heatmap-legend .hm-l4{background:var(--positive)}.heatmap-legend span:first-child{margin-right:3px}.heatmap-legend span:last-child{margin-left:3px}.stats-table-scroll{max-height:320px;overflow-y:auto}.stats-table td{font-family:var(--font-mono);font-size:12px}@media (width<=1024px){.tab-header,.tab-item,.refresh-btn,.ledger-filter-toggle,.ledger-filter-close,.ledger-clear-filter,.ledger-filter-field input,.ledger-filter-field select{min-height:var(--tap-primary)}.chart-toolbar-actions{gap:var(--tap-gap)}.profile-heading .eyebrow,.profile-role,.profile-help,.profile-facts dt,.provider-row span,.profile-action,.profile-save,.profile-form label,.status-badge,.meta-badge,.card-subtitle,.quick-reply,.conversation-role,.m-label,.stat-card .label,.stat-card .sub,.component-meta code,.component-kind,.trade-rule-inline-note,.catalog-count,.catalog-item-kind,.catalog-item-subtitle,.info-chip,.pill,.trade-history-subtitle,th,.trade-side-pill,.klines-legend,.klines-status,.klines-tooltip,.klines-footer,.klines-footer-hint,.label,.sub,.cal-tile-pnl,.cal-tile-count,.cal-day-meta,.cal-trade-side,.cal-trade-time,.cal-panel-tag,.calendar-filter-count,.cal-rule-badge,.strategy-interval-source,.strategy-interval-stat,.strategy-panel-title,.strategy-leader-desc,.strategy-leader-chip,.strategy-comparison-warning,.mtf-evidence-role,.mtf-evidence-weight,.weight-summary-label,.weight-summary-chip,.weight-rank,.weight-raw,.login-label,.form-group label,.klines-loading-chip,.heatmap-total,.heatmap-axis,.heatmap-tooltip,.heatmap-legend{font-size:var(--text-min)}}.broker-panel-stack{flex-direction:column;gap:12px;display:flex;container-type:inline-size}.broker-error{color:var(--negative);font-size:12px}.broker-top-row{border-bottom:1px solid var(--border);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:6px 0 10px;display:flex}.broker-chip-row{gap:8px;margin-bottom:8px;display:flex}.broker-chip{background:var(--bg-raised);border:1px solid var(--border);color:var(--text-1);border-radius:16px;align-items:center;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.broker-chip-static{cursor:default}.broker-leverage-dropdown{flex:0 0 96px;width:96px}.broker-instrument-dropdown{width:100%}.broker-leverage-dropdown .dropdown-trigger,.broker-instrument-dropdown .dropdown-trigger{min-height:40px;font-size:13px}.broker-leverage-dropdown .dropdown-trigger[aria-invalid=true]{border-color:var(--negative)}.broker-available-line{align-items:center;gap:8px;font-size:12px;display:flex}.broker-available-content{align-items:baseline;gap:6px;display:flex}.broker-available-label{color:var(--text-3);font-size:11px}.broker-available-amount{font-family:var(--font-mono);color:var(--text-1);font-weight:600}.broker-available-status{color:var(--text-3);font-size:10px;font-style:italic}.broker-available-time{color:var(--text-3);white-space:nowrap;font-size:10px}.broker-refresh-btn{color:var(--text-2);cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:14px;line-height:1;transition:all .2s}@media (hover:hover) and (pointer:fine){.broker-refresh-btn:hover{color:var(--text-1)}}.broker-field-label{color:var(--text-2);letter-spacing:0;text-transform:none;margin-bottom:5px;font-size:12px;font-weight:400;display:block}.broker-amount-container{--unit-toggle-w:124px;--unit-toggle-gap:6px;position:relative}.broker-field-control{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-raised);width:100%;min-width:0;min-height:44px;color:var(--text-1);font-size:13px;font-family:var(--font-ui);outline:none;padding:8px 10px}.broker-amount-container .broker-field-control{font-variant-numeric:tabular-nums;padding-inline-end:calc(var(--unit-toggle-w) + var(--unit-toggle-gap) * 2)}.broker-field-control::placeholder{color:var(--text-3);opacity:1}.broker-field-control:disabled{opacity:1;color:var(--text-1);border-color:var(--border-md);background:var(--bg-raised);cursor:not-allowed}.broker-field-control.is-error{border-color:var(--negative)}.broker-amount-container input[type=number]{appearance:textfield}.broker-amount-container input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.broker-amount-container input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.unit-toggle{inset-inline-end:var(--unit-toggle-gap);box-sizing:border-box;width:var(--unit-toggle-w);border:1px solid var(--border);background:var(--bg-base);border-radius:6px;grid-template-columns:1.4fr 1fr;gap:2px;padding:2px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.unit-btn{min-width:0;min-height:32px;color:var(--text-3);font-size:12px;font-family:var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 6px}.unit-btn.active{background:var(--bg-raised);color:var(--text-1);font-weight:600}.unit-btn:focus-visible{outline:2px solid var(--text-2);outline-offset:1px}.broker-margin-hint{color:var(--text-2);margin-top:6px;font-size:12px}.broker-margin-hint.is-error{color:var(--negative)}.broker-slider-row{--broker-slider-row:36px;height:var(--broker-slider-row);align-items:center;gap:12px;margin-top:4px;display:flex}.broker-slider{cursor:pointer;appearance:none;background:0 0;border:0;outline:none;flex:auto;min-width:0;height:100%;margin:0;padding:0}.broker-slider::-webkit-slider-runnable-track{background:var(--border-md);border-radius:2px;height:4px}.broker-slider::-moz-range-track{background:var(--border-md);border-radius:2px;height:4px}.broker-slider::-webkit-slider-thumb{appearance:none;background:var(--accent-fill);cursor:pointer;border:2px solid var(--bg-raised);border-radius:50%;width:18px;height:18px;margin-top:-7px}.broker-slider::-moz-range-thumb{background:var(--accent-fill);cursor:pointer;border:2px solid var(--bg-raised);border-radius:50%;width:14px;height:14px}.broker-slider:focus-visible{outline:2px solid var(--text-2);outline-offset:2px}.broker-slider:disabled{opacity:.5;cursor:not-allowed}.broker-slider-value{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:var(--text-2);flex:0 0 4ch;font-size:12px}.broker-order-body{flex-direction:column;gap:12px;display:flex}.broker-order-inputs{flex-direction:column;gap:12px;min-width:0;display:flex}.broker-summary-row{border-top:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;font-size:13px;display:flex}.broker-summary-row:first-child{border-top:none;padding-top:0}.broker-summary-label{color:var(--text-3);font-size:12px}.broker-summary-value{font-variant-numeric:tabular-nums;min-width:0;font-family:var(--font-mono);color:var(--text-1);flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:4px 8px;font-size:14px;font-weight:600;display:inline-flex}.broker-price-note{font-family:var(--font-ui);color:var(--text-3);font-size:12px;font-weight:400}.broker-price-note.stale{color:var(--text-3)}.broker-price-note.stale-long{color:var(--warn)}.broker-price-note.disconnected{color:var(--negative)}.broker-pnl.positive .broker-summary-value{color:var(--positive)}.broker-pnl.negative .broker-summary-value{color:var(--negative)}.broker-order-summary{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-raised);flex-direction:column;align-self:stretch;padding:2px 14px;display:flex}.broker-order-button-row{align-items:center;gap:10px;margin-top:12px;display:flex}.broker-order-button{white-space:nowrap;border:1px solid var(--warn);border-radius:var(--radius-sm);background:var(--warn);min-height:44px;color:var(--bg-base);cursor:pointer;flex:1 0 9.5rem;padding:9px 16px;font-size:13px;font-weight:700;transition:background-color .15s,color .15s,border-color .15s}@media (hover:hover) and (pointer:fine){.broker-order-button:hover:not(:disabled){filter:brightness(1.08)}}.broker-order-button:disabled{border-color:var(--border);background:var(--bg-raised);color:var(--text-3);cursor:not-allowed;font-weight:600}.broker-order-button:focus-visible{outline:2px solid var(--text-1);outline-offset:2px}.broker-lock-reason{min-width:0;color:var(--text-2);overflow-wrap:anywhere;max-width:200px;font-size:11px;line-height:1.4}.broker-lock-reason:empty{display:none}@container (width>=720px){.broker-order-body{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start;gap:20px;display:grid}.broker-order-summary{order:-1}}@media (width<=640px){.broker-available-time{display:none}.broker-leverage-dropdown .dropdown-trigger,.broker-instrument-dropdown .dropdown-trigger{min-height:44px}.broker-amount-container .broker-field-control{min-height:56px}.unit-btn{min-height:44px}.broker-slider-row{--broker-slider-row:44px}.broker-order-button-row{flex-direction:column;align-items:stretch;gap:8px;margin-top:0}.broker-order-button{flex:none;width:100%}.broker-lock-reason{max-width:none}}.toast-region{top:calc(var(--header-h) + var(--safe-top) + 12px);z-index:50;flex-direction:column;gap:8px;width:min(380px,100vw - 32px);display:flex;position:fixed;right:16px}.toast{border:1px solid var(--border-md);border-left:3px solid var(--positive);border-radius:var(--radius-sm);background:var(--bg-surface);box-shadow:0 8px 24px color-mix(in srgb, var(--bg-base) 70%, transparent);grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 14px;animation:.16s ease-out toast-in;display:grid}.toast.toast-error{border-left-color:var(--negative)}.toast-title{color:var(--text-1);font-size:13px;font-weight:600}.toast-body{color:var(--text-2);overflow-wrap:anywhere;grid-column:1;font-size:12px}.toast-close{min-width:24px;min-height:24px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:4px;grid-area:1/2;align-self:start;font-size:16px;line-height:1}@media (hover:hover) and (pointer:fine){.toast-close:hover{color:var(--text-1)}}.toast-close:focus-visible{outline:2px solid var(--text-2)}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}@media (width<=640px){.toast-region{width:calc(100vw - 32px);left:16px;right:16px}}.broker-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.broker-preview-cell{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-raised);text-align:center;min-width:0;padding:8px 10px}.broker-preview-label{text-overflow:ellipsis;white-space:nowrap;color:var(--text-2);margin-bottom:3px;font-size:10px;font-weight:600;overflow:hidden}.broker-preview-value{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text-1);font-family:var(--font-mono);font-size:13px;font-weight:600;overflow:hidden}@media (width<=639.98px){.broker-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.broker-preview-value-positive{color:var(--positive)}.broker-preview-value-negative{color:var(--negative)}.confirm-backdrop{z-index:60;background:color-mix(in srgb, var(--bg-base) 72%, transparent);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-surface);width:min(420px,100%);box-shadow:0 16px 48px color-mix(in srgb, var(--bg-base) 80%, transparent)}.confirm-dialog:focus{outline:none}.confirm-head{border-bottom:1px solid var(--border);color:var(--text-1);padding:14px 16px;font-size:14px;font-weight:600}.confirm-rows{padding:4px 16px}.confirm-row{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:9px 0;font-size:13px;display:flex}.confirm-row:first-child{border-top:none}.confirm-row span:first-child{color:var(--text-3)}.confirm-row span:last-child{font-family:var(--font-mono);color:var(--text-1);font-weight:600}.confirm-warning{border:1px solid var(--warn);border-radius:var(--radius-sm);color:var(--warn);margin:4px 16px 8px;padding:10px 12px;font-size:12px}.confirm-actions{gap:8px;padding:12px 16px 16px;display:flex}.confirm-actions button{border-radius:var(--radius-sm);min-height:44px;font-size:13px;font-weight:600;font-family:var(--font-ui);cursor:pointer;flex:1}.confirm-cancel{border:1px solid var(--border-md);color:var(--text-1);background:0 0}.confirm-ok{border:1px solid var(--warn);background:var(--warn);color:var(--bg-base);font-weight:700}.confirm-actions button:focus-visible{outline:2px solid var(--text-1);outline-offset:2px}.confirm-actions button:disabled{opacity:.5;cursor:not-allowed}@media (width<=1024px){:root{--t5:12px}}.app-shell{--rail-w:224px}.app-shell.rail-collapsed{--rail-w:56px}.app-shell.is-phone{--rail-w:0px;--topbar-h:56px;--tabbar-h:calc(56px + var(--safe-bottom));--header-h:calc(var(--topbar-h) + var(--tabbar-h))}.app-shell>.app-main{margin-left:var(--rail-w);transition:margin-left .15s}.app-shell.is-phone>.app-main{padding-bottom:var(--tabbar-h)}@media (prefers-reduced-motion:reduce){.app-shell>.app-main,.nv-rail{transition:none}}.nv-ic{flex:none;display:block}.nv-ic.is-spinning{animation:.9s linear infinite spin}@media (prefers-reduced-motion:reduce){.nv-ic.is-spinning{opacity:.6;animation:none}}.nv-rail{z-index:120;background:var(--bg-surface);border-right:1px solid var(--border);width:224px;font-size:var(--t4);flex-direction:column;padding:8px 0;transition:width .15s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.nv-rail.is-collapsed{width:56px}.nv-rail.is-collapsed .nv-lb{display:none}.nv-lb{white-space:nowrap;overflow:hidden}.nv-brand{align-items:center;gap:12px;height:40px;margin:0 8px 8px;padding:0 4px;display:flex}.nv-brand .nv-logo{border-radius:var(--radius-sm);object-fit:cover;flex:none;width:32px;height:32px}.nv-brand .nv-lb{font-weight:600;font-size:var(--t3)}.nv-area{height:30px;color:var(--text-3);font-size:var(--t5);white-space:nowrap;cursor:default;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;margin:2px 8px 0;padding:0 11px;font-weight:600;display:flex}.nv-items{scrollbar-width:none;flex:auto;min-height:0;overflow:hidden auto}.nv-items::-webkit-scrollbar{display:none}.nv-item{height:36px;color:var(--text-2);font-size:var(--t3);white-space:nowrap;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:calc(100% - 16px);margin:2px 8px;padding:0 11px;text-decoration:none;display:flex;position:relative}@media (hover:hover) and (pointer:fine){.nv-item:hover{background:var(--bg-hover);color:var(--text-1)}}.nv-item.is-active{background:var(--accent-soft);color:var(--accent-text);font-weight:600}.nv-item.is-active:before{content:"";background:var(--accent);border-radius:2px;width:2px;position:absolute;top:6px;bottom:6px;left:-8px}.nv-hr{background:var(--border);height:1px;margin:8px 12px}.nv-hr.is-tight{margin:4px 0}.nv-user{cursor:pointer;text-align:left;width:calc(100% - 16px);color:var(--text-1);background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;margin:4px 8px 0;padding:6px;display:flex}@media (hover:hover) and (pointer:fine){.nv-user:hover{background:var(--bg-hover)}}.nv-av{background:var(--bg-raised);border:1px solid var(--border-md);width:32px;height:32px;font-weight:600;font-size:var(--t4);color:var(--text-1);border-radius:50%;flex:none;place-items:center;display:grid}.nv-user .nv-lb{min-width:0;line-height:1.25;font-size:var(--t4);flex-direction:column;flex:1;display:flex}.nv-user .nv-lb b{font-weight:600}.nv-user .nv-lb small{color:var(--text-3);font-size:var(--t5)}.nv-rail :focus-visible,.nv-top :focus-visible,.nv-tabbar :focus-visible,.nv-pop :focus-visible,.nv-sheet :focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.nv-rail :focus:not(:focus-visible){outline:none}.nv-top{z-index:100;height:calc(var(--topbar-h) + var(--safe-top));padding:var(--safe-top) 12px 0;background:var(--bg-surface);border-bottom:1px solid var(--border);font-size:var(--t4);flex:none;align-items:center;gap:8px;display:flex;position:sticky;top:0}.is-phone .nv-top{padding-left:8px;padding-right:8px}.nv-grow{flex:auto;min-width:0}.nv-ib{width:36px;height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;text-decoration:none;display:inline-grid}@media (hover:hover) and (pointer:fine){.nv-ib:hover{background:var(--bg-hover);color:var(--text-1)}}.nv-ib:disabled{opacity:.4;cursor:not-allowed}.is-phone .nv-ib,.nv-sheet .nv-ib{width:44px;height:44px}.nv-btn{border:1px solid var(--border-md);background:var(--bg-raised);height:36px;color:var(--text-1);font-size:var(--t4);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:inline-flex}.is-phone .nv-btn,.nv-sheet .nv-btn{height:44px}.nv-title{flex-direction:column;min-width:0;line-height:1.3;display:flex}.nv-title b,.nv-title h1{font-size:var(--t3);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.nv-title span{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nv-link{color:var(--text-3);white-space:nowrap}.nv-link[data-state=live]{color:var(--positive)}.nv-link[data-state=reconnecting]{color:var(--warn)}.nv-link[data-state=offline]{color:var(--negative)}.nv-sym{min-width:0;height:36px;color:var(--text-1);font-size:var(--t4);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;display:flex}button.nv-sym[aria-expanded=true]{background:var(--bg-hover)}@media (hover:hover) and (pointer:fine){button.nv-sym:hover{background:var(--bg-hover)}}.nv-sym b{font-size:var(--t3);font-weight:600}.nv-sym .nv-sub{color:var(--text-2);white-space:nowrap}.nv-sym .nv-sep{background:var(--border-md);width:1px;height:16px}.nv-sym .nv-ic{color:var(--text-3)}.is-phone .nv-sym{flex:auto;min-width:0;height:48px}.nv-two{flex-direction:column;flex:auto;min-width:0;line-height:1.25;display:flex}.nv-two span{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nv-dot{background:var(--text-3);border-radius:50%;flex:none;width:8px;height:8px}.nv-dot.online{background:var(--positive);box-shadow:0 0 0 3px color-mix(in srgb, var(--positive) 22%, transparent)}.nv-dot.delayed{background:var(--warn)}.nv-dot.offline{background:var(--negative)}.nv-dot.checking{background:var(--text-3)}.nv-tabbar{z-index:120;height:var(--tabbar-h);padding-bottom:var(--safe-bottom);background:var(--bg-surface);border-top:1px solid var(--border);display:flex;position:fixed;bottom:0;left:0;right:0}.nv-tabbar a,.nv-tabbar button{color:var(--text-2);font-size:var(--t5);text-align:center;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:44px;min-height:44px;text-decoration:none;display:flex;position:relative}.nv-tabbar .is-active{color:var(--accent-text);background:var(--accent-soft);font-weight:600}.nv-tabbar .is-active:before{content:"";background:var(--accent);height:2px;position:absolute;top:0;left:20%;right:20%}.nv-scrim{z-index:400;background:var(--scrim);position:fixed;inset:0}.nv-pop{z-index:410;background:var(--bg-surface);border:1px solid var(--border-md);box-shadow:var(--shadow);font-size:var(--t4);color:var(--text-1);border-radius:10px;flex-direction:column;display:flex;position:fixed;overflow:hidden}.nv-pop-areas,.nv-pop-user{width:264px;padding-bottom:4px}.nv-pop-changes{width:360px;max-height:70vh;overflow:auto}.nv-sheet{z-index:420;background:var(--bg-surface);border-top:1px solid var(--border-md);max-height:88%;box-shadow:var(--shadow);font-size:var(--t4);color:var(--text-1);padding-bottom:var(--safe-bottom);border-radius:16px 16px 0 0;flex-direction:column;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:hidden}.nv-sheet.is-tall{height:88%}.nv-sheet .nv-hd{font-size:var(--t3);align-items:center;min-height:52px;padding:4px 4px 4px 16px;font-weight:600;display:flex}.nv-grab{background:var(--border-md);border-radius:2px;width:36px;height:4px;margin:8px auto 0}.nv-sc{overscroll-behavior:contain;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:auto}.nv-sc>*{flex-shrink:0}.nv-mi{width:100%;min-height:36px;color:var(--text-1);font-size:var(--t4);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0 12px;text-decoration:none;display:flex}@media (hover:hover) and (pointer:fine){.nv-mi:hover{background:var(--bg-hover)}}.nv-mi .nv-ic{color:var(--text-2)}.nv-mi.is-active{color:var(--accent-text);background:var(--accent-soft);font-weight:600}.nv-mi.is-active .nv-ic{color:var(--accent-text)}.nv-mi.is-disabled{color:var(--text-3);cursor:not-allowed}@media (hover:hover) and (pointer:fine){.nv-mi.is-disabled:hover{background:0 0}}.nv-mi.is-disabled .nv-ic{color:var(--text-3)}.nv-mi>.nv-ic:last-child:not(:first-child){margin-left:auto}.nv-tx{flex-direction:column;min-width:0;line-height:1.25;display:flex}.nv-tx small{font-size:var(--t5)}.nv-mi.is-setting{cursor:default;flex-wrap:wrap;row-gap:6px;padding-top:6px;padding-bottom:6px}@media (hover:hover) and (pointer:fine){.nv-mi.is-setting:hover{background:0 0}}.nv-ml{white-space:nowrap;align-items:center;gap:12px;display:inline-flex}.nv-mi.is-setting>.segmented-control,.nv-mi.is-setting>.dropdown{width:100%}.nv-mh{border-bottom:1px solid var(--border);flex-direction:row;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;padding:10px 12px 8px;line-height:1.3;display:flex}.nv-mh b{font-size:var(--t3);font-weight:600}.nv-role{background:var(--accent-soft);color:var(--accent-text);font-size:var(--t5);border-radius:999px;width:max-content;padding:0 6px;font-weight:600;display:inline-block}.is-phone .nv-mi,.nv-sheet .nv-mi{min-height:48px;font-size:var(--t3)}.nv-sheet .nv-mi.is-setting{min-height:48px}.nv-tt-host{display:contents}.nv-tt{z-index:500;border:1px solid var(--border-md);background:var(--bg-raised);max-width:320px;color:var(--text-1);font-size:var(--t4);box-shadow:var(--shadow);pointer-events:none;white-space:normal;border-radius:6px;padding:4px 8px;position:fixed}.nv-nf{max-width:640px;color:var(--text-1);margin:32px auto;padding:0 16px}.nv-nf h1{font-size:var(--t2);margin-bottom:8px;font-weight:600}.nv-nf p{color:var(--text-2);font-size:var(--t4);margin-bottom:8px}.nv-nf code{color:var(--text-1);font-family:var(--font-mono);overflow-wrap:anywhere}.nv-nf-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;list-style:none;display:grid}.is-phone .nv-nf-list{grid-template-columns:minmax(0,1fr)}.nv-nf-list a{border:1px solid var(--border-md);background:var(--bg-raised);min-height:48px;color:var(--text-1);font-size:var(--t4);border-radius:8px;flex-direction:column;justify-content:center;padding:6px 12px;text-decoration:none;display:flex}@media (hover:hover) and (pointer:fine){.nv-nf-list a:hover{background:var(--bg-hover)}}.nv-nf-list b{font-size:var(--t3);font-weight:600}.nv-nf-list span{color:var(--text-2)}.nv-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nv-pop-picker{width:420px;max-height:660px}.nv-picker{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.nv-search{border:1px solid var(--border-md);background:var(--bg-raised);height:36px;color:var(--text-3);border-radius:8px;flex:none;align-items:center;gap:8px;margin:8px 12px;padding:0 10px;display:flex}.nv-search:focus-within{border-color:var(--accent)}.nv-search input:focus-visible{outline:none}.nv-search input{min-width:0;color:var(--text-1);font-size:var(--t4);background:0 0;border:0;outline:0;flex:1;height:100%}.nv-search input::placeholder{color:var(--text-3)}.is-phone .nv-search{height:44px}.nv-sheet .nv-search{height:48px}.nv-chips{scrollbar-width:none;flex:none;gap:6px;padding:0 12px 8px;display:flex;overflow-x:auto}.nv-chip{border:1px solid var(--border-md);height:28px;color:var(--text-2);white-space:nowrap;cursor:pointer;font-size:var(--t4);background:0 0;border-radius:999px;flex:none;padding:0 10px}@media (hover:hover) and (pointer:fine){.nv-chip:hover{background:var(--bg-hover)}}.nv-chip[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text);font-weight:600}.nv-sheet .nv-chip{min-width:44px;height:44px;padding:0 14px}.nv-list{overscroll-behavior:contain;flex:auto;min-height:0;padding:0 6px 6px;overflow:auto}.nv-lh{color:var(--text-3);font-size:var(--t5);padding:8px 8px 4px;font-weight:600}.nv-empty{text-align:center;color:var(--text-2);padding:24px 12px}.nv-row{cursor:pointer;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px;display:flex;position:relative}.nv-row.is-active{background:var(--bg-hover)}@media (hover:hover) and (pointer:fine){.nv-row:hover{background:var(--bg-hover)}}.nv-row.is-selected{background:var(--accent-soft)}.nv-row.is-selected .nv-nm{color:var(--accent-text)}.nv-row.is-selected:before{content:"";background:var(--accent);border-radius:2px;width:2px;position:absolute;top:8px;bottom:8px;left:0}.nv-sheet .nv-row{min-height:56px}.nv-mid{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.nv-nm{font-size:var(--t3);align-items:baseline;gap:8px;font-weight:600;display:flex}.nv-num{font-variant-numeric:tabular-nums}.nv-side{font-size:var(--t4);font-weight:600}.nv-side.is-long{color:var(--positive)}.nv-side.is-short{color:var(--negative)}.nv-sd{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nv-r{font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;min-width:96px;line-height:1.3;display:flex}.nv-price{color:var(--text-1);white-space:nowrap;font-weight:600}.nv-price.is-stale,.nv-price.is-missing,.nv-change.is-missing{color:var(--text-2);font-weight:400}.nv-change{white-space:nowrap}.nv-change.is-positive{color:color-mix(in srgb, var(--positive) 75%, var(--text-1))}.nv-change.is-negative{color:color-mix(in srgb, var(--negative) 75%, var(--text-1))}.nv-change.is-flat{color:var(--text-2)}.nv-pricestatus{border-top:1px solid var(--border);color:var(--text-2);padding:6px 12px}.nv-star{color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:28px;height:28px;display:grid}@media (hover:hover) and (pointer:fine){.nv-star:hover{background:var(--bg-hover);color:var(--text-1)}}.nv-star.is-fav{color:var(--accent-text)}.nv-sheet .nv-star{width:44px;height:44px}.nv-pf{border-top:1px solid var(--border);color:var(--text-2);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.nv-pf a{color:var(--accent-text);align-items:center;gap:6px;min-height:28px;font-weight:600;text-decoration:none;display:inline-flex}.nv-sheet .nv-pf a{min-height:44px}.nv-mi .segmented-control{background:var(--bg-raised);border-radius:8px;gap:0;width:100%;padding:0;overflow:hidden}.nv-mi .segmented-control>button{min-height:32px;font-family:var(--font-ui);font-size:var(--t4);color:var(--text-2);border:0;border-radius:0;flex:1;font-weight:400}.nv-mi .segmented-control>button+button{border-left:1px solid var(--border)}.nv-mi .segmented-control>button[aria-checked=true]{background:var(--accent-soft);color:var(--accent-text);box-shadow:inset 0 -2px 0 var(--accent);font-weight:600}.nv-sheet .nv-mi .segmented-control>button{min-height:44px}.nv-mi .segmented-control>button:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}.layer-page,.trading-chart-page,.profile-page,.app-shell button,.app-shell input,.app-shell select,.app-shell textarea{font-family:var(--font-ui)}.layer-page *,.trading-chart-page *,.profile-page *{font-family:var(--font-ui)!important}.layer-page code,.trading-chart-page code,.profile-page code,.layer-page .price-value,.trading-chart-page .price-value,.trading-chart-page .instrument-code,.profile-page .price-value{font-variant-numeric:tabular-nums;font-family:var(--font-mono)!important}.card,.stat-card,.component-card,.profile-card{border-color:var(--border);border-radius:var(--radius-md);background:var(--bg-surface);box-shadow:none}.card-header{border-color:var(--border);padding:16px 24px}.card-title,.profile-card h3{font-size:14px;font-weight:600}.card-subtitle,.profile-help{color:var(--text-2);font-size:12px}.page-header{border-radius:var(--radius-md);background:var(--bg-surface);border-left-width:1px}.page-header.layer-trade,.page-header.layer-strategy,.page-header.layer-data,.page-header.layer-alert,.page-header.layer-control{border-left-color:var(--border)}.meta-badge,.info-chip{color:var(--text-2);font-family:var(--font-ui);background:0 0;border:0;border-radius:0;padding:7px;font-size:12px;font-weight:400}.meta-badge.long,.meta-badge.short,.meta-badge.flat,.meta-badge.ok,.meta-badge.warn{color:var(--text-2);background:0 0;border:0}.status-badge{font-family:var(--font-ui)}.segmented-control{border-color:var(--border);border-radius:var(--radius-md);background:var(--bg-raised);gap:2px;padding:2px}.segmented-control>button,.segmented-control-compact>button{border-radius:var(--radius-md);color:var(--text-2);font-family:var(--font-ui);font-size:12px;font-weight:500}.segmented-control>button[aria-checked=true]{background:var(--accent-fill);color:var(--on-accent);border-color:#0000}@media (hover:hover) and (pointer:fine){.segmented-control>button:hover:not(:disabled){background:var(--bg-hover);color:var(--text-1)}}.trading-chart-workspace{border-color:var(--border);border-radius:var(--radius-md);background:var(--bg-base);color:var(--text-1)}#root .chart-terminal-toolbar,#root.theme-light .chart-terminal-toolbar{border-color:var(--border);background:var(--bg-surface)}#root .trading-chart-workspace .chart-terminal-identity strong,#root.theme-light .trading-chart-workspace .chart-terminal-identity strong,#root .trading-chart-workspace .chart-ohlc-strip strong,#root.theme-light .trading-chart-workspace .chart-ohlc-strip strong,#root .trading-chart-workspace .chart-position-grid strong,#root.theme-light .trading-chart-workspace .chart-position-grid strong,#root .trading-chart-workspace .chart-dock-empty strong,#root.theme-light .trading-chart-workspace .chart-dock-empty strong{color:var(--text-1)}.chart-toolbar-secondary{background:0 0;flex-wrap:wrap}.chart-toolbar-scopes,.chart-toolbar-actions{flex-wrap:wrap}#root .trading-chart-workspace .chart-terminal-identity span,#root .trading-chart-workspace .chart-ohlc-strip,#root.theme-light .trading-chart-workspace .chart-ohlc-strip,#root .trading-chart-workspace .chart-dock-tabs button,#root .trading-chart-workspace .chart-dock-tabs a,#root .trading-chart-workspace .chart-position-grid span,#root .trading-chart-workspace .chart-dock-empty{color:var(--text-2)}#root .trading-chart-workspace .chart-terminal-identity strong,#root .trading-chart-workspace .chart-terminal-identity span,#root .trading-chart-workspace .chart-interval-select,#root .trading-chart-workspace .chart-interval-more select,#root .trading-chart-workspace .chart-ohlc-strip,#root .trading-chart-workspace .chart-time-zone-label,#root .trading-chart-workspace .chart-dock-tabs button,#root .trading-chart-workspace .chart-dock-tabs a,#root .trading-chart-workspace .chart-position-grid span,#root .trading-chart-workspace .chart-position-grid strong,#root .trading-chart-workspace .chart-trade-row{font-family:var(--font-ui)}.chart-toolbar-actions>button,.chart-tool-menu>summary,.chart-menu-trigger,.chart-toolbar-actions>button.active,.chart-menu-trigger.active,.theme-light .chart-toolbar-actions>button,.theme-light .chart-tool-menu>summary,.theme-light .chart-menu-trigger{border-color:var(--border);border-radius:var(--radius-md);color:var(--text-2);background:0 0}@media (hover:hover) and (pointer:fine){.chart-toolbar-actions>button:hover,.chart-menu-trigger:hover{border-color:var(--border);border-radius:var(--radius-md);color:var(--text-2);background:0 0}}.chart-toolbar-actions>button.active,.chart-menu-trigger.active{background:var(--bg-raised);color:var(--accent)}@media (hover:hover) and (pointer:fine){.chart-toolbar-actions>button:hover,.chart-menu-trigger:hover{background:var(--bg-raised);color:var(--accent)}}.chart-time-zone-badge{color:var(--text-2);font-family:var(--font-ui);border:0;border-radius:0;padding:0;font-size:12px;font-weight:400}#root .trading-chart-workspace .chart-time-zone-badge{border:1px solid var(--border-md);color:var(--text-1);background:0 0;border-radius:0;padding:0}.chart-gap-status{color:var(--text-2);border:0;border-radius:0;padding:0;font-weight:400}.chart-gap-status.session-closed,.chart-live-status,.chart-live-status.error{color:var(--text-2)}.chart-ohlc-strip .positive,.chart-position-grid .positive,.chart-trade-row .positive{color:var(--positive)}.chart-ohlc-strip .negative,.chart-position-grid .negative,.chart-trade-row .negative{color:var(--negative)}#root .trading-chart-workspace .chart-ohlc-strip .positive,#root .trading-chart-workspace .chart-position-grid .positive,#root .trading-chart-workspace .chart-trade-row .positive{color:var(--positive)}#root .trading-chart-workspace .chart-ohlc-strip .negative,#root .trading-chart-workspace .chart-position-grid .negative,#root .trading-chart-workspace .chart-trade-row .negative{color:var(--negative)}#root .trading-chart-workspace .chart-live-status,#root .trading-chart-workspace .chart-status-row,#root .trading-chart-workspace .chart-terminal-data-count,#root .trading-chart-workspace .chart-position-grid .warn{color:var(--text-2)}.chart-status-row,.theme-light .chart-status-row,.chart-terminal-canvas-wrap,.theme-light .chart-terminal-canvas-wrap{border-color:var(--border);background:var(--bg-base)}#root .simulation-status-chip,#root .simulation-status-chip.is-reconciled{color:var(--text-2);font-family:var(--font-ui);background:0 0;border:0;border-radius:0;align-items:center;gap:8px;padding:7px;font-size:12px;font-weight:400;display:inline-flex}.simulation-status-chip>span:first-child:before{background:var(--warn);content:"";border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.simulation-status-chip.is-reconciled>span:first-child:before{background:var(--positive)}#root .trading-chart-workspace .chart-dock,#root.theme-light .trading-chart-workspace .chart-dock{border-color:var(--border);background:var(--bg-surface)}#root .trading-chart-workspace .chart-dock-tabs,#root .trading-chart-workspace .chart-dock-panel{border-color:var(--border)}#root .trading-chart-workspace .chart-dock-tabs button.active,#root.theme-light .trading-chart-workspace .chart-dock-tabs button.active{border-bottom-color:var(--accent);color:var(--text-1)}#root .trading-chart-workspace .chart-trade-list{border-color:var(--border);border-radius:var(--radius-md);background:var(--border)}#root .trading-chart-workspace .chart-position-grid{background:0 0;border:0}#root .trading-chart-workspace .chart-position-grid>div,#root.theme-light .trading-chart-workspace .chart-position-grid>div{min-width:0;color:var(--text-1);background:0 0}#root .trading-chart-workspace .chart-trade-row,#root.theme-light .trading-chart-workspace .chart-trade-row{background:var(--bg-surface);min-width:0;color:var(--text-1)}#root .trading-chart-workspace .chart-position-grid span{color:var(--text-3);letter-spacing:0;text-transform:none;font-size:12px;font-weight:500}#root .trading-chart-workspace .chart-position-grid strong{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:13px;overflow:visible}#root .trading-chart-workspace .chart-trade-list{min-width:0}#root .trading-chart-workspace .chart-trade-row{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) minmax(0,.5fr) minmax(0,1.5fr) minmax(0,.7fr);font-size:12px}.profile-page{width:min(100%,720px);padding:24px}.profile-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.profile-heading h2{overflow-wrap:normal;word-break:normal;flex-wrap:wrap;align-items:baseline;font-size:28px;font-weight:500;display:flex}.profile-heading p{font-size:14px}.profile-heading .eyebrow{color:var(--text-3);letter-spacing:.08em;font-size:12px;font-weight:600;display:block}.profile-role{white-space:nowrap;border:1px solid var(--border-md);border-radius:var(--radius-pill);color:var(--text-2);font-family:var(--font-ui);flex-shrink:0;padding:4px 10px;font-size:12px;font-weight:600}.profile-grid{grid-template-columns:minmax(0,1fr);gap:0;display:grid}.profile-card{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;min-width:0;padding:12px 0}.profile-card h3{margin-bottom:12px}.profile-providers{grid-row:auto}.profile-help{margin:0 0 12px}.profile-page .profile-facts div,.profile-page .provider-row{border-color:var(--border);min-width:0;padding:12px 0}.profile-facts dt,.profile-facts dd,.provider-row strong,.provider-row span{font-family:var(--font-ui);font-size:13px}.provider-row span{color:var(--text-2);text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.profile-action,.profile-save{border:1px solid var(--border-md);border-radius:var(--radius-pill);min-height:44px;color:var(--text-1);font-family:var(--font-ui);background:0 0;padding:8px 16px;font-size:13px;font-weight:500}.profile-save{border-color:var(--text-1);background:var(--text-1);color:var(--bg-base);justify-self:start}.profile-action:disabled{border-color:var(--border);color:var(--text-3)}.broker-credential-list{display:grid}.broker-credential-form,.broker-credential-form+.broker-credential-form{border-top:1px solid var(--border);grid-template-columns:minmax(100px,.55fr) minmax(0,1.7fr) auto;align-items:center;gap:12px;margin:0;padding:12px 0;display:grid}.broker-row-heading{gap:6px;display:grid}.broker-credential-form h4{color:var(--text-1);margin:0;font-size:14px;font-weight:600}.order-control{gap:8px;margin-bottom:6px;display:grid}.order-control-card{justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 0;display:flex}.order-control-text{gap:4px;min-width:0;display:grid}.order-control-title{color:var(--text-1);font-size:13px;font-weight:500}.order-control-text p{color:var(--text-2);margin:0;font-size:12px;line-height:1.45}.order-control>p[role=alert]{color:var(--negative);margin:0;font-size:12px}.profile-credential-status{color:var(--text-2);align-items:center;gap:7px;font-size:12px;display:flex}.profile-credential-status>span{background:var(--text-3);border-radius:50%;width:6px;height:6px}.profile-credential-status.is-configured>span{background:var(--positive)}.profile-form{grid-column:2/4;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.profile-form label{min-width:0;color:var(--text-2);font-size:12px}.profile-form input,.profile-form textarea{border-color:var(--input-border);border-radius:var(--radius-md);background:var(--bg-raised);min-width:0}.profile-form input:focus,.profile-form textarea:focus{border-color:var(--accent)}.broker-row-feedback{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.broker-credential-stored{grid-column:2;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.broker-credential-stored .broker-row-feedback{flex-flow:row;flex:none;align-items:center}.broker-credential-stored .profile-icon-btn[data-hint]:hover:after,.broker-credential-stored .profile-icon-btn[data-hint]:focus-visible:after{left:auto;right:0}.broker-credential-values{gap:6px;min-width:0;margin:0;display:grid}.broker-credential-values>div{align-items:baseline;gap:12px;display:flex}.broker-credential-values dt{color:var(--text-2);flex:0 0 90px;font-size:12px}.broker-credential-values dd{color:var(--text-1);font-family:var(--font-mono);letter-spacing:.04em;margin:0;font-size:13px}.profile-icon-btn{border:1px solid var(--border-md);border-radius:var(--radius-md);background:var(--bg-raised);width:36px;height:36px;color:var(--text-2);cursor:pointer;flex:none;place-items:center;padding:0;transition:border-color .15s,color .15s;display:inline-grid;position:relative}@media (hover:hover) and (pointer:fine){.profile-icon-btn:hover:enabled{border-color:var(--text-3);color:var(--text-1)}.profile-icon-btn.is-danger:hover:enabled{border-color:var(--negative);color:var(--negative)}}.profile-icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.profile-icon-btn:disabled{opacity:.45;cursor:not-allowed}.profile-icon-btn[data-hint]:hover:after,.profile-icon-btn[data-hint]:focus-visible:after{content:attr(data-hint);border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--text-1);white-space:nowrap;pointer-events:none;z-index:5;padding:4px 8px;font-size:11px;position:absolute;bottom:calc(100% + 6px);left:0}.profile-page .broker-row-feedback{flex-flow:wrap;grid-column:2;align-items:center;gap:8px}.broker-row-feedback p{color:var(--text-2);font-size:12px}.profile-secondary-action{min-height:36px;padding:6px 12px;font-size:12px}.telegram-link-status{color:var(--text-2)}.profile-notice{border-color:var(--border);border-radius:var(--radius-md);background:var(--bg-surface);color:var(--text-2)}.profile-notice.success,.profile-notice.error,.profile-notice.info{border-color:var(--border);color:var(--text-2)}#root .operations-quality-card .trade-outcome-cells{grid-template-columns:repeat(12,minmax(0,20px));grid-auto-flow:row;justify-content:start}.operations-quality-card .trade-outcome-cells>span{width:20px}@media (width<=760px){.profile-page{padding:20px 16px}.broker-credential-form,.broker-credential-form+.broker-credential-form{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px}.profile-form{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-form .profile-save{grid-column:1/-1}#root .operations-quality-card .trade-outcome-cells{grid-template-columns:repeat(12,minmax(0,1fr))}.operations-quality-card .trade-outcome-cells>span{width:100%}.chart-trade-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-page{width:100%;max-width:none;padding:40px 48px}.profile-layout{grid-template-columns:200px minmax(0,640px);align-items:start;gap:48px;width:min(100%,888px);margin:0 auto;display:grid}.profile-nav{top:calc(var(--header-h) + 24px);gap:4px;padding-top:116px;display:grid;position:sticky}.profile-nav a{min-height:40px;color:var(--text-2);border-left:1px solid #0000;align-items:center;padding:8px 12px;font-size:13px;text-decoration:none;display:flex}.profile-nav a.is-active{border-left-color:var(--accent);color:var(--text-1)}@media (hover:hover) and (pointer:fine){.profile-nav a:hover{border-left-color:var(--accent);color:var(--text-1)}}.profile-content{width:100%;min-width:0}.profile-heading{grid-template-columns:auto minmax(0,1fr);justify-content:start;align-items:center;column-gap:16px;margin:0 0 32px;display:grid}.profile-heading-text{gap:8px;min-width:0;display:grid}.profile-avatar{border:1px solid var(--border-md);border-radius:var(--radius-pill);background:var(--bg-raised);width:56px;height:56px;color:var(--text-1);flex:none;place-items:center;font-size:20px;font-weight:600;display:grid}.profile-heading .eyebrow{color:var(--text-3);letter-spacing:.06em;text-transform:uppercase;font-size:12px}.profile-heading h2{color:var(--text-1);overflow-wrap:anywhere;align-items:baseline;gap:12px;font-size:32px;font-weight:500;line-height:1.2;display:flex}.profile-heading>p:last-child{color:var(--text-2);font-size:14px}.profile-role{color:var(--text-2);text-transform:capitalize;border:0;border-radius:0;padding:0;font-size:13px;font-weight:400}.profile-sections{gap:24px;display:grid}.profile-section{min-width:0;scroll-margin-top:calc(var(--header-h) + 20px);border-bottom:1px solid var(--border-md);padding-bottom:24px}.profile-section:last-child{border-bottom:0}.profile-section-heading{gap:4px;margin-bottom:16px;display:grid}.profile-section-heading h3{color:var(--text-1);font-size:16px;font-weight:600}.profile-section-heading p{color:var(--text-2);font-size:13px}.profile-section-content,.profile-section-content>*{min-width:0}.profile-facts div,.provider-row{border-color:var(--border)}.profile-page .profile-facts div{padding:8px 0}.profile-page .profile-facts dt{color:var(--text-2);font-size:13px}.profile-page .profile-facts dd{color:var(--text-1);font-size:13px;font-weight:500}.profile-page .profile-card{background:0 0;border:0;padding:0}.profile-page .broker-credential-list{display:grid}.profile-page .broker-credential-form,.profile-page .broker-credential-form+.broker-credential-form{border-top:1px solid var(--border);grid-template-columns:minmax(112px,.42fr) minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:14px 0;display:grid}.profile-page .broker-row-heading{justify-items:start;gap:6px;min-width:0;display:grid}.profile-page .broker-credential-form h4{color:var(--text-1);font-size:14px;font-weight:600}.profile-page .profile-credential-status{color:var(--text-2);align-items:center;gap:7px;font-size:12px;display:flex}.profile-page .profile-credential-status>span,.profile-page .profile-identity-name i{background:var(--text-3);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.profile-page .profile-credential-status.is-configured>span,.profile-page .profile-identity-name .is-connected i{background:var(--positive)}.profile-page .profile-form{grid-column:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.profile-page .profile-form label{min-width:0;color:var(--text-2);gap:5px;font-size:12px;display:grid}.profile-page .profile-form input,.profile-page .profile-form textarea{border-color:var(--text-3);border-radius:var(--radius-md);background:var(--bg-surface);min-width:0;color:var(--text-1)}.profile-page .profile-form input:focus,.profile-page .profile-form textarea:focus{border-color:var(--accent)}.profile-page .profile-action,.profile-page .profile-save{border:1px solid var(--border-md);border-radius:var(--radius-pill);min-height:44px;color:var(--text-1);font-family:var(--font-ui);white-space:nowrap;background:0 0;padding:8px 14px;font-size:12px;font-weight:500}.profile-page .profile-save{border-color:var(--text-1);background:var(--text-1);color:var(--bg-base);justify-self:stretch}.profile-page .profile-action:disabled{border-color:var(--border);color:var(--text-3)}.profile-page .profile-action.is-primary{border-color:var(--text-1);background:var(--text-1);color:var(--bg-base)}.profile-page .broker-row-feedback{grid-column:2;align-items:center;gap:10px;display:flex}.profile-page .broker-row-feedback p{color:var(--text-2);font-size:12px}.profile-page .profile-secondary-action{min-height:44px;padding:4px 10px;font-size:12px}.profile-page .profile-identity-list{display:grid}.profile-page .provider-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 0;display:flex}.profile-page .provider-row:last-child{border-bottom:0}.profile-page .profile-identity-name{gap:3px;display:grid}.profile-page .profile-identity-name strong{color:var(--text-1);font-size:13px;font-weight:500}.profile-page .provider-row .profile-identity-name{flex-direction:row;align-items:center;gap:14px;display:flex}.provider-logo{object-fit:contain;flex:none;width:28px;height:28px;display:block}.profile-page .profile-identity-name span{color:var(--text-2);align-items:center;gap:7px;font-size:12px;display:flex}.profile-page .profile-identity-name span.is-connected i{background:var(--positive)}.profile-page .profile-identity-row{justify-content:space-between;align-items:center;gap:12px;min-height:58px;display:flex}.profile-page .telegram-link-status{color:var(--text-2);align-items:center;gap:7px;font-size:12px;display:flex}.profile-page .telegram-link-status-dot{background:var(--text-3);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.profile-page .telegram-link-status.is-connected .telegram-link-status-dot{background:var(--positive)}.profile-page .profile-provider-unavailable{color:var(--text-3);font-size:12px}@media (width<=760px){.profile-page{padding:24px 16px}.profile-layout{grid-template-columns:minmax(0,1fr);gap:20px;width:100%}.profile-nav{scrollbar-width:none;gap:4px;width:calc(100vw - 16px);margin:0 -8px;padding:0 8px 8px;display:flex;position:static;overflow-x:auto}.profile-nav::-webkit-scrollbar{display:none}.profile-nav a{white-space:nowrap;border-bottom:1px solid #0000;border-left:0;flex:none;min-height:44px;padding:8px 10px}.profile-nav a.is-active{border-bottom-color:var(--accent)}@media (hover:hover) and (pointer:fine){.profile-nav a:hover{border-bottom-color:var(--accent)}}.profile-heading{column-gap:12px;margin-bottom:24px}.profile-avatar{width:44px;height:44px;font-size:16px}.profile-heading h2{font-size:28px}.profile-page .broker-credential-form,.profile-page .broker-credential-form+.broker-credential-form{grid-template-columns:minmax(0,1fr);gap:10px}.profile-page .profile-form{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-form .profile-save{grid-column:1/-1}.profile-page .broker-row-feedback,.profile-page .broker-credential-stored{grid-column:1}.profile-page .profile-form .profile-secondary-action{grid-column:1/-1}}#root .trading-chart-workspace .chart-time-zone-badge{color:var(--text-3);font-family:var(--font-ui);letter-spacing:0;background:0 0;border:0;padding:0;font-size:12px;font-weight:400}#root .trading-chart-workspace .chart-ohlc-strip strong{font-size:12px;font-weight:500}#root .trading-chart-workspace,#root .trading-chart-workspace .chart-ohlc-strip,#root .trading-chart-workspace .chart-status-row,#root .trading-chart-workspace .chart-terminal-canvas-wrap{background-color:var(--bg-surface)}#root .trading-chart-workspace .chart-terminal-toolbar{flex-wrap:wrap;align-items:center;gap:8px;padding:6px 12px;display:flex}#root .trading-chart-workspace .chart-toolbar-primary,#root .trading-chart-workspace .chart-toolbar-secondary,#root .trading-chart-workspace .chart-toolbar-scopes,#root .trading-chart-workspace .chart-terminal-identity{display:contents}#root .trading-chart-workspace .chart-interval-control{order:-1}#root .trading-chart-workspace .chart-toolbar-actions>.chart-icon-button{border-radius:var(--radius-sm);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--text-3);background:0 0;border:0;padding:0}#root .trading-chart-workspace .chart-toolbar-actions>.chart-icon-button[aria-expanded=true]{background:var(--bg-hover);color:var(--text-1)}@media (hover:hover) and (pointer:fine){#root .trading-chart-workspace .chart-toolbar-actions>.chart-icon-button:hover:not(:disabled){background:var(--bg-hover);color:var(--text-1)}}#root .trading-chart-workspace .chart-toolbar-actions>.chart-icon-button:disabled{opacity:.4}@media (width<=760px){#root .trading-chart-workspace .chart-toolbar-actions>.chart-icon-button{width:44px;min-width:44px;height:44px;min-height:44px}}@media (width>=761px){#root .trading-chart-workspace{height:calc(100dvh - var(--header-h) - var(--safe-top));border-width:1px 0 0;border-radius:0}}#root .trading-chart-workspace .chart-dock{min-height:0}#root .trading-chart-workspace .chart-dock-panel{z-index:30;border-top:1px solid var(--border);background:var(--bg-surface);min-height:0;max-height:min(320px,45dvh);position:absolute;bottom:100%;left:0;right:0;overflow:auto}#root .trading-chart-workspace .chart-dock{background:var(--bg-surface)}#root .trading-chart-workspace .chart-toolbar-scopes .ledger-filter-field>span,#root .trading-chart-workspace .chart-toolbar-scopes .ledger-clear-filter{display:none}#root .trading-chart-workspace .chart-toolbar-scopes .ledger-filter-bar,#root .trading-chart-workspace .chart-toolbar-scopes .ledger-filter-grid{display:contents}#root .trading-chart-workspace .chart-toolbar-scopes .ledger-filter-field{min-width:140px}#root .trading-chart-workspace .chart-terminal-canvas-wrap{isolation:isolate}[data-tip]{position:relative}[data-tip]:hover:after,[data-tip]:focus-visible:after{content:attr(data-tip);z-index:60;border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-raised);color:var(--text-1);font:400 12px/16px var(--font-ui);white-space:nowrap;pointer-events:none;padding:5px 9px;position:absolute;bottom:calc(100% + 6px);right:0}.app-shell:has(.profile-layout){overflow:clip}.page-content:has(.profile-layout){overflow:clip}.profile-page .profile-action,.profile-page .profile-save,.profile-page .profile-action.is-primary{border:1px solid var(--border-md);border-radius:var(--radius-sm);background:var(--bg-raised);min-height:34px;color:var(--text-1);font:500 12px/1 var(--font-ui);cursor:pointer;padding:0 14px}@media (hover:hover) and (pointer:fine){.profile-page .profile-action:hover:not(:disabled),.profile-page .profile-save:hover:not(:disabled){background:var(--bg-hover)}}.profile-page .profile-action.is-primary,.profile-page .profile-save{border-color:var(--accent);color:var(--accent);background:0 0}.profile-page .profile-action:disabled,.profile-page .profile-save:disabled{border-color:var(--border);color:var(--text-3);cursor:default}.profile-page .profile-form input,.profile-page .profile-form textarea{border:1px solid var(--border-md);border-radius:var(--radius-md);min-height:34px;padding:0 10px;font-size:13px}.profile-page .profile-sections{padding-bottom:50vh}@media (width<=760px){.profile-page .profile-action,.profile-page .profile-save,.profile-page .profile-form input,.profile-page .profile-form textarea{min-height:44px}}.profile-page .profile-select{border:1px solid var(--border-md);border-radius:var(--radius-md);background:var(--bg-raised);min-height:34px;color:var(--text-1);font:400 13px/1 var(--font-ui);padding:0 10px}html:has(.profile-layout){scroll-behavior:smooth}.profile-section{scroll-margin-top:calc(var(--header-h) + 16px)}.profile-nav a{transition:color .12s,border-color .12s,background-color .12s}@media (prefers-reduced-motion:reduce){html:has(.profile-layout){scroll-behavior:auto}}.nt-bell{flex:none;position:relative}.nt-bell .nv-ib{position:relative}.nt-badge{background:var(--negative);color:#fff;text-align:center;border-radius:8px;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;position:absolute;top:2px;right:2px}.nt-panel{z-index:200;background:var(--bg-surface);border:1px solid var(--border-md);border-radius:10px;width:min(380px,100vw - 16px);max-height:min(70vh,560px);position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 12px 32px #00000047}.nt-list{margin:0;padding:0;list-style:none}.nt-row{border-bottom:1px solid var(--border);font-size:var(--t4);gap:4px;padding:10px 12px;display:grid}.nt-row.is-unread{background:var(--accent-soft)}.nt-title{color:var(--text-1);flex-wrap:wrap;align-items:center;gap:6px;font-weight:600;display:flex}.nt-kind.is-opened{color:var(--positive)}.nt-kind.is-closed{color:var(--text-1)}.nt-side{border-radius:4px;padding:0 6px;font-size:11px;font-weight:700}.nt-side.is-long{color:var(--positive);border:1px solid var(--positive)}.nt-side.is-short{color:var(--negative);border:1px solid var(--negative)}.nt-reason{color:var(--text-2);font-weight:500}.nt-meta{color:var(--text-2);justify-content:space-between;gap:8px;font-size:12px;display:flex}.nt-lines{color:var(--text-2);font-variant-numeric:tabular-nums;gap:2px;display:grid}.nt-pnl.is-positive{color:var(--positive);font-weight:600}.nt-pnl.is-negative{color:var(--negative);font-weight:600}.nt-empty{text-align:center;color:var(--text-2);margin:0;padding:20px 12px}.nt-more{width:100%;color:var(--accent-text);cursor:pointer;background:0 0;border:0;padding:10px}.nt-more:disabled{opacity:.5;cursor:progress}.is-phone .nt-panel{top:calc(var(--topbar-h) + var(--safe-top));width:auto;position:fixed;left:8px;right:8px}.nt-head{z-index:1;background:var(--bg-surface);border-bottom:1px solid var(--border);font-size:var(--t4);color:var(--text-1);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex;position:sticky;top:0}.nt-read-all{color:var(--accent-text);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 6px;font-size:12px}@media (hover:hover) and (pointer:fine){.nt-read-all:hover{background:var(--bg-hover)}}.nt-read{width:24px;height:24px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}@media (hover:hover) and (pointer:fine){.nt-read:hover{background:var(--bg-hover);color:var(--positive)}}.is-phone .nt-read{width:32px;height:32px}.dropdown{min-width:0;position:relative}.dropdown-trigger{border:1px solid var(--border-md);background:var(--bg-raised);width:100%;min-height:36px;color:var(--text-1);font:inherit;text-align:left;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;font-size:12px;display:flex}@media (hover:hover) and (pointer:fine){.dropdown-trigger:hover:not(:disabled){border-color:var(--input-border)}}.dropdown-trigger:disabled{opacity:.5;cursor:not-allowed}.dropdown-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dropdown-trigger[aria-expanded=true]{border-color:var(--accent)}.dropdown-current{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dropdown-placeholder{color:var(--text-3)}.dropdown-caret{width:12px;height:12px;color:var(--text-3);flex:0 0 12px}.dropdown-trigger[aria-expanded=true] .dropdown-caret{transform:rotate(180deg)}.dropdown-list{z-index:500;overscroll-behavior:contain;scrollbar-color:var(--border-md) transparent;scrollbar-width:thin;border:1px solid var(--border-md);background:var(--bg-surface);max-width:320px;box-shadow:var(--shadow);border-radius:8px;margin:0;padding:4px;overflow-y:auto}.dropdown-list-wide{width:max-content;max-width:none}.dropdown-options{margin:0;padding:0;list-style:none}.dropdown-group{color:var(--text-3);font-size:var(--t5);border-top:1px solid var(--border);margin-top:4px;padding:8px 10px 4px;font-weight:600}.dropdown-options>.dropdown-group:first-child{border-top:0;margin-top:0}.dropdown-panel{border-top:1px solid var(--border);margin-top:4px;padding:8px 10px 10px}.dropdown-panel-title{color:var(--text-3);font-size:var(--t5);margin-bottom:8px;font-weight:600}.nv-sheet .dropdown-list{width:auto;max-width:none;max-height:none;box-shadow:none;background:0 0;border:0;position:static;overflow:visible}.dropdown-option{color:var(--text-1);white-space:nowrap;cursor:pointer;border-radius:6px;padding:8px 10px;font-size:12px}.dropdown-option-description{max-width:260px;color:var(--text-3);font-size:var(--t5);white-space:normal;margin-top:2px;font-weight:400;line-height:15px;display:block}.dropdown-option.is-active{background:var(--bg-hover)}.dropdown-option.is-selected{color:var(--accent-text);background:var(--accent-soft);font-weight:600}.dropdown-option[aria-disabled=true]{color:var(--text-3);cursor:not-allowed}@media (width<=760px){.dropdown-trigger{min-height:44px}.dropdown-option{padding:12px 10px;font-size:14px}}.dropdown-list::-webkit-scrollbar{width:8px}.dropdown-list::-webkit-scrollbar-track{background:0 0}.dropdown-list::-webkit-scrollbar-thumb{border-radius:var(--radius-pill);background:var(--border-md);background-clip:padding-box;border:2px solid #0000}.dropdown-list::-webkit-scrollbar-thumb:hover{background:var(--text-3);background-clip:padding-box}.dropdown-list::-webkit-scrollbar-button{display:none}.preference-switch{border:1px solid var(--border-md);background:var(--bg-raised);border-radius:8px;flex:none;gap:2px;padding:2px;display:inline-flex}.preference-switch button{min-width:44px;height:32px;color:var(--text-2);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:6px;flex:1;place-items:center;padding:0;display:inline-grid}@media (hover:hover) and (pointer:fine){.preference-switch button:hover{background:var(--bg-hover)}}.preference-switch button:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}.preference-switch button.is-active{background:var(--accent-soft);color:var(--accent-text);box-shadow:inset 0 -2px 0 var(--accent)}.preference-flag{font-size:20px;line-height:1}.nv-mi.is-setting>.preference-switch{width:100%}.language-dropdown{min-width:180px}.nv-sheet .nv-mi.is-setting{flex-wrap:nowrap;justify-content:space-between}.nv-sheet .nv-mi.is-setting>.preference-switch{width:auto}.nv-sheet .nv-mi.is-setting>.preference-switch button{min-width:44px;height:44px}.nv-sheet .nv-mi.is-setting>.dropdown{flex:0 auto;width:auto;min-width:0;max-width:200px}.nv-sheet .nv-mi.is-setting>.dropdown .dropdown-trigger{min-height:44px}.chunk-error{flex-direction:column;gap:12px}
