:root{--bg: #ffffff;--surface: #f5f5f7;--surface-hover: #ececf0;--line: #eaeaef;--text-1: #17161f;--text-2: #6e6b7b;--text-3: #a3a0ae;--accent: #f0b90b;--accent-hover: #f3c42f;--accent-soft: #fef6d8;--accent-text: #7a5a00;--on-accent: #17161f;--focus: #a87d00;--ink: #1e2329;--up: #0b8f63;--up-soft: #e4f5ee;--up-bar: #12b886;--down: #e0384b;--down-soft: #fdecee;--down-bar: #f0505e;--warn: #b45a0e;--warn-soft: #fff4e5;--warn-dot: #d9831a;--scrim: rgb(23 22 31 / .45);--shadow: 0 16px 40px rgb(23 22 31 / .18);--r-tag: 4px;--r-ctl: 8px;--r-card: 12px;--r-sheet: 20px;--tabbar-h: 56px;--topbar-h: 56px;color-scheme:light;font-family:Inter,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans SC,system-ui,sans-serif;color:var(--text-1);background:var(--bg);-webkit-font-smoothing:antialiased}:root[data-theme=dark]{--bg: #121119;--surface: #1d1b27;--surface-hover: #282636;--line: #2a2738;--text-1: #f1f0f5;--text-2: #9c99ab;--text-3: #625f71;--accent: #fcd535;--accent-hover: #fddf5f;--accent-soft: #3a3110;--accent-text: #fcd535;--focus: #fcd535;--up: #2ebd85;--up-soft: #133a2d;--up-bar: #2ebd85;--down: #f6566a;--down-soft: #3e1e26;--warn: #ffb070;--warn-soft: #3a2b1a;--scrim: rgb(0 0 0 / .6);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);overscroll-behavior:none}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.num{font-variant-numeric:tabular-nums}.t2{color:var(--text-2)}.up{color:var(--up)}.down{color:var(--down)}.flat{color:var(--text-3)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.h-display{font-size:32px;line-height:38px;font-weight:700;letter-spacing:-.01em}.h-page{margin:0;font-size:20px;line-height:28px;font-weight:700}.h-sec{margin:0;font-size:16px;line-height:24px;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:var(--r-ctl);font-weight:600;cursor:pointer;white-space:nowrap;height:40px;padding:0 16px;font-size:14px;background:var(--surface);color:var(--text-1)}.btn:hover{background:var(--surface-hover)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-l{height:48px;padding:0 24px;font-size:16px}.btn-s{height:32px;padding:0 12px;font-size:13px}.btn-xs{height:24px;padding:0 10px;font-size:12px;border-radius:6px}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{background:transparent;color:var(--text-1)}.btn-ghost:hover{background:var(--surface)}.btn-danger{background:var(--down-soft);color:var(--down)}.btn-danger:hover{background:color-mix(in srgb,var(--down) 18%,transparent)}.btn-danger-solid{background:var(--down);color:#fff}.btn-danger-solid:hover{opacity:.9}.btn-text{background:transparent;color:var(--accent-text);padding:0 8px;border:0;cursor:pointer}.btn-text:hover{background:transparent;text-decoration:underline}.btn-block{width:100%}.icon-btn{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--text-1);cursor:pointer;position:relative}.icon-btn:hover{background:var(--surface)}.field{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid transparent;border-radius:var(--r-ctl);background:var(--surface);color:var(--text-2)}.field:focus-within{background:var(--bg);border-color:var(--focus)}.field input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:16px;color:var(--text-1)}@media(min-width:1024px){.field{height:36px}.field input{font-size:13px}}.tabs{display:flex;gap:20px}.tab-txt{border:0;background:none;padding:8px 0;font-size:15px;font-weight:500;color:var(--text-2);cursor:pointer;white-space:nowrap}.tab-txt[aria-selected=true]{font-weight:700;color:var(--text-1)}.seg{display:inline-flex;padding:3px;border-radius:10px;background:var(--surface)}.seg button{border:0;background:transparent;height:28px;padding:0 11px;border-radius:7px;font-size:12px;color:var(--text-2);cursor:pointer}.seg button[aria-selected=true],.seg button[aria-checked=true]{background:var(--bg);color:var(--text-1);font-weight:600}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 11px;border:0;border-radius:999px;background:var(--surface);font-size:12px;color:var(--text-1);cursor:pointer;white-space:nowrap}.chip[aria-selected=true]{background:var(--text-1);color:var(--bg);font-weight:600}.chip .count{opacity:.65;font-variant-numeric:tabular-nums}.tag{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:var(--r-tag);font-size:11px;font-weight:600;white-space:nowrap}.tag-run{background:var(--up-soft);color:var(--up)}.tag-err{background:var(--down-soft);color:var(--down)}.tag-warn{background:var(--warn-soft);color:var(--warn)}.tag-idle{background:var(--surface);color:var(--text-2)}.block{border-radius:var(--r-card);background:var(--surface)}.stat{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:var(--r-card);background:var(--surface);min-width:0}.stat>span{font-size:12px;color:var(--text-2)}.stat>strong{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card{background:color-mix(in srgb,var(--surface) 75%,var(--bg));border:1px solid var(--line)}.row{display:flex;align-items:center;gap:12px;min-height:62px;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.avatar{width:34px;height:34px;flex:none;border-radius:999px;background:var(--bg);border:1px solid var(--line);display:grid;place-items:center;font-size:10px;font-weight:700}.alert{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border-radius:var(--r-card);font-size:13px;line-height:18px}.alert-err{background:var(--down-soft);color:var(--down)}.alert-warn{background:var(--warn-soft);color:var(--warn)}.alert-ok{background:var(--up-soft);color:var(--up)}.empty{padding:32px 0;text-align:center;font-size:14px;color:var(--text-2)}.error-box{margin:24px auto;max-width:420px;padding:20px;border:1px solid var(--line);border-radius:var(--r-card);text-align:center;display:grid;gap:8px;justify-items:center;color:var(--text-1)}.error-box-compact{margin:12px;padding:12px}.boot{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;color:var(--text-2)}.m-shell{height:100%;display:flex;flex-direction:column}.m-main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.tabbar{flex:none;display:grid;grid-template-columns:repeat(5,1fr);height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:var(--bg)}.tabbar-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--text-2)}.tabbar-item.active{color:var(--text-1);font-weight:600}.tabbar-icon{display:grid;place-items:center;width:44px;height:28px;border-radius:10px}.tabbar-item.active .tabbar-icon{background:var(--accent-soft)}.m-page{display:flex;flex-direction:column;gap:14px;padding:0 16px 24px}.m-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:4px;min-height:44px;padding:calc(8px + env(safe-area-inset-top)) 8px 4px 16px;background:var(--bg)}.m-header-center{padding-left:4px}.m-header-center .m-header-title{text-align:center}.m-header-title{flex:1;min-width:0}.m-title-small{margin:0;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-header-actions{display:flex;align-items:center;min-width:44px;justify-content:flex-end}.d-shell{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{flex:none;display:flex;align-items:center;gap:12px;height:var(--topbar-h);padding:0 24px;border-bottom:1px solid var(--line);background:var(--bg)}.topbar-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;letter-spacing:-.02em;flex:none}.topbar-links{display:flex;align-items:center;gap:4px;margin-left:8px;flex:none}.topbar-link{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:var(--r-ctl);font-size:14px;font-weight:600;color:var(--text-2);white-space:nowrap}.topbar-link:hover{color:var(--text-1);background:var(--surface)}.topbar-link.is-active{color:var(--text-1);background:var(--accent-soft)}.topbar-search{flex:0 1 280px;min-width:160px;margin-left:4px}.topbar-actions{display:flex;align-items:center;gap:8px;flex:none}.topbar-avatar{width:34px;height:34px;border-radius:999px;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-size:13px;font-weight:700;flex:none}.kbd{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:0 5px;color:var(--text-2);font-family:inherit;white-space:nowrap}.d-main{flex:1;min-height:0;overflow:hidden}@media(max-width:1279px){.d-main{overflow-y:auto;scrollbar-width:none}.d-main::-webkit-scrollbar{display:none}}.bulk-wrap{position:relative}.pop-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:148px;padding:6px;border-radius:var(--r-card);border:1px solid var(--line);background:var(--bg);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px}.pop-menu button{display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;border:0;border-radius:8px;background:none;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.pop-menu button:hover{background:var(--surface)}.drawer-scrim{position:fixed;inset:0;z-index:40;background:var(--scrim);display:flex;justify-content:flex-end}.drawer{width:400px;max-width:100%;height:100%;overflow-y:auto;padding:20px 24px;background:var(--bg);box-shadow:var(--shadow)}.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sheet-scrim{position:fixed;inset:0;z-index:50;background:var(--scrim);display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--r-sheet) var(--r-sheet) 0 0;background:var(--bg);box-shadow:var(--shadow)}.sheet-compact{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.sheet-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 10px 18px;border-bottom:1px solid var(--line)}.sheet-head-left{display:flex;align-items:center;gap:4px;min-width:0}.sheet-head-right{display:flex;align-items:center;gap:6px;flex:none}.sheet-title-wrap{display:flex;flex-direction:column;gap:2px;min-width:0}.sheet-subbar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line)}.sheet-body{flex:1;min-height:0;overflow-y:auto;padding:14px 18px;overscroll-behavior:contain}.sheet-foot{flex:none;display:flex;flex-direction:column;gap:10px;padding:12px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}.sheet-foot-row{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}.sheet-note{margin:0;line-height:18px}.sheet-actions{display:flex;flex-direction:column;gap:8px;padding:14px 18px}@media(min-width:1024px){.sheet-scrim{align-items:center;padding:24px}.sheet{width:min(92vw,560px);max-height:86dvh;border-radius:16px}.sheet-wide{width:min(92vw,680px)}.sheet-foot{padding-bottom:16px}}.more{display:flex;flex-direction:column;gap:18px}.more-user{display:flex;align-items:center;gap:12px}.more-avatar{width:44px;height:44px;border-radius:999px;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-size:18px;font-weight:700}.more-user-text{display:flex;flex-direction:column;gap:2px;font-size:12px}.more-user-text strong{font-size:16px}.more-title{margin:0 2px 6px;font-size:12px;font-weight:600;color:var(--text-2)}.more-group{display:flex;flex-direction:column;padding:0 14px;border-radius:var(--r-card);background:var(--surface)}.more-item{display:flex;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid var(--line);font-size:14px}.more-item:last-child{border-bottom:0}.more-label{flex:1;min-width:0}.more-hint{font-size:12px;color:var(--text-2);text-align:right}.more-admin{margin-left:6px;padding:1px 5px;border-radius:4px;background:var(--ink);color:#fff;font-size:10px;font-weight:600}.more-item .seg{background:var(--bg)}.more-item .seg button[aria-checked=true]{background:var(--text-1);color:var(--bg)}.more-logout{color:var(--down)}@media(min-width:1024px){.more-item{min-height:44px}}.toasts{position:fixed;z-index:60;left:50%;bottom:calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;flex-direction:column;gap:8px;width:min(92vw,420px);pointer-events:none}@media(min-width:1024px){.toasts{inset:68px 24px auto auto;transform:none}}.toast{padding:12px 14px;border-radius:var(--r-card);background:var(--ink);color:#fff;font-size:14px;box-shadow:var(--shadow)}.toast-err{background:var(--down)}.confirm{width:min(92vw,420px);border:0;border-radius:var(--r-sheet);padding:24px;background:var(--bg);color:var(--text-1);box-shadow:var(--shadow)}.confirm::backdrop{background:var(--scrim)}.confirm-msg{margin:10px 0 20px;font-size:14px;line-height:22px;color:var(--text-2)}.confirm-type{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:13px}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.confirm-actions .btn{height:44px;font-size:15px}.small{font-size:12px}.grow{flex:1;min-width:0}.topbar-spacer{flex:1}.meter{display:block;height:4px;margin-top:4px;border-radius:999px;background:var(--line);overflow:hidden}.meter>span{display:block;height:100%;border-radius:999px;background:var(--accent)}.kv{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left}.row-title{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-head{display:flex;align-items:center;gap:6px;min-width:0}.row-created{font-size:12px;font-weight:400;color:var(--text-2);white-space:nowrap;flex:none}.side-tag{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;border-radius:var(--r-tag);font-size:11px;font-weight:700;line-height:1;color:#fff;vertical-align:middle}.side-long{background:var(--up-bar)}.side-short{background:var(--down-bar)}.stat-sub{font-size:12px;font-weight:500;color:var(--text-2)}.row-notional{color:var(--text-1);font-weight:600}.row-sub{font-size:12px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-end{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:none}.row-pnl{font-size:15px;font-weight:600}.row-btn{width:100%;border:0;border-bottom:1px solid var(--line);background:none;cursor:pointer;padding:0}.bot-row-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;flex:none;padding:6px 10px;border:1px solid transparent;border-radius:10px;background:none;cursor:pointer;text-align:left}.bot-row-btn:hover{background:var(--surface)}.bot-row-btn.is-selected{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 45%,transparent)}.bot-row-btn .row-title,.bot-row-btn .row-pnl{font-size:13px}.equity{display:flex;flex-direction:column;gap:2px;min-width:0}.risk{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600}.risk-dot{width:8px;height:8px;border-radius:999px}.pulse-row{display:grid;grid-template-columns:minmax(0,1.55fr) repeat(5,minmax(0,1fr));gap:10px;align-items:stretch;flex:none}.hero{display:flex;align-items:flex-end;gap:12px}.hero .equity{flex:1}.hero-cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0;border-radius:var(--r-card);background:var(--surface)}.hero-cells>div{display:flex;flex-direction:column;gap:2px;padding:0 12px}.hero-cells>div+div{border-left:1px solid var(--line)}.hero-cells strong{font-size:16px;font-weight:600}.m-home-head{display:flex;align-items:center;gap:8px;min-height:44px;padding-top:calc(8px + env(safe-area-inset-top))}.brand-word{font-size:18px;font-weight:700;letter-spacing:-.02em}.badge-dot{position:absolute;top:9px;right:9px;width:8px;height:8px;border-radius:999px;background:var(--down)}.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));row-gap:14px}.tile{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;padding:0;font-size:12px;color:var(--text-1);cursor:pointer}.tile-icon{width:48px;height:48px;border-radius:14px;background:var(--surface);display:grid;place-items:center}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-head .tabs{gap:18px;overflow-x:auto}.bots-subbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.sort-select{border:0;background:none;cursor:pointer;font-weight:500;outline:none}.m-detail{min-height:100%;display:flex;flex-direction:column}.m-detail>.m-page{flex:1}.m-detail-title{display:flex;flex-direction:column;align-items:center;min-width:0}.m-menu{position:fixed;z-index:30;top:calc(52px + env(safe-area-inset-top));right:12px;display:flex;flex-direction:column;min-width:180px;padding:6px;border-radius:var(--r-card);background:var(--bg);box-shadow:var(--shadow);border:1px solid var(--line)}.m-menu a,.m-menu button{display:flex;align-items:center;min-height:44px;padding:0 12px;border:0;border-radius:8px;background:none;font-size:14px;text-align:left;cursor:pointer}.m-menu a:hover,.m-menu button:hover{background:var(--surface)}.action-bar{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px;padding:12px 16px;border-top:1px solid var(--line);background:var(--bg)}.stats-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:none}@media(max-width:1023px){.stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}}.bot-tabs{display:flex;flex-direction:column;gap:12px}.tabs-line{border-bottom:1px solid var(--line)}.levels-wrap{display:flex;flex-direction:column;gap:8px}.levels{display:grid;gap:6px}.level{height:32px;border-radius:8px;background:var(--surface);color:var(--text-2);font-size:12px;display:grid;place-items:center}.level.is-done{background:var(--accent);color:var(--on-accent);font-weight:600}.params{display:flex;flex-direction:column;gap:12px}.params-title{margin:8px 0 0;font-size:12px;font-weight:600;color:var(--text-2)}.kline{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}.kline-block{flex:1;min-height:150px;display:flex;flex-direction:column;padding:12px 16px 10px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 45%,var(--bg))}.kline-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;flex:none}.kline-head>.small{white-space:nowrap}.kline-price{font-size:20px;font-weight:700}.kline-seg{margin-left:auto}.kline-block .kline-seg{background:var(--surface);border:1px solid var(--line)}.kline-body{flex:1;min-height:110px;position:relative;display:flex;align-items:stretch;gap:8px}.kline-axis{flex:none;width:54px;position:relative;font-size:10px;line-height:12px;color:var(--text-2);-webkit-user-select:none;user-select:none}.kline-axis span{position:absolute;right:0;transform:translateY(-50%);white-space:nowrap}.kline-axis .kline-axis-vol{transform:none;color:var(--text-3)}.kline-tools{margin-left:auto;display:inline-flex;gap:4px}.kline-tools+.kline-seg{margin-left:0}.kline-tool{min-width:26px;height:26px;padding:0 6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text-2);font-size:12px;line-height:1;cursor:pointer}.kline-tool:hover:not(:disabled){color:var(--text-1)}.kline-tool:disabled{opacity:.4;cursor:default}.kline-canvas{flex:1;min-width:0;position:relative}.kline-body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.kline-plot{position:absolute;top:0;bottom:0;left:0;right:var(--kline-gutter, 0px)}.kline-plot>svg{display:block}.kline-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;font-size:12px;color:var(--text-2)}.kline-tag{position:absolute;left:calc(100% - var(--kline-gutter, 0px) + 2px);right:auto;transform:translateY(-50%);height:20px;padding:0 6px;border-radius:4px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:600;display:inline-flex;align-items:center;pointer-events:none}.kline-ext{position:absolute;transform:translate(-50%,-115%);padding:1px 5px;border-radius:4px;background:color-mix(in srgb,var(--bg) 90%,transparent);border:1px solid var(--line);font-size:10px;line-height:14px;font-weight:600;color:var(--text-1);white-space:nowrap;pointer-events:none}.kline-ext.is-lo{transform:translate(-50%,20%)}.kline-ext.is-right{transform:translate(-92%,-115%)}.kline-ext.is-lo.is-right{transform:translate(-92%,20%)}.kline-ext.is-left{transform:translate(-8%,-115%)}.kline-ext.is-lo.is-left{transform:translate(-8%,20%)}.kline-ext-pct{margin-left:4px;font-weight:600}.kline-last{position:absolute;left:calc(100% - var(--kline-gutter, 0px) + 2px);right:auto;transform:translateY(-50%);z-index:1;height:18px;padding:0 5px;border-radius:4px;background:var(--text-1);color:var(--bg);font-size:10px;font-weight:600;display:inline-flex;align-items:center;pointer-events:none}.kline-hover{position:absolute;inset:0;z-index:2;touch-action:pan-y;cursor:crosshair}.kline-cross{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed var(--text-3);pointer-events:none}.kline-cross-h{position:absolute;left:0;right:0;height:0;border-top:1px dashed var(--text-3);pointer-events:none}.kline-cross-price{position:absolute;right:100%;margin-right:2px;transform:translateY(-50%);padding:0 4px;border-radius:3px;pointer-events:none;background:var(--text-1);color:var(--bg);font-size:10px;line-height:16px;font-weight:600;white-space:nowrap}.kline-cross-dist{position:absolute;transform:translateY(-120%);padding:0 4px;border-radius:3px;pointer-events:none;background:color-mix(in srgb,var(--bg) 90%,transparent);font-size:10px;line-height:14px;font-weight:600}.kline-tip{position:absolute;top:4px;min-width:132px;padding:6px 8px;border-radius:6px;pointer-events:none;background:color-mix(in srgb,var(--bg) 94%,transparent);border:1px solid var(--line);box-shadow:0 4px 12px #0000001f;font-size:11px;line-height:16px;color:var(--text-1)}.kline-tip.is-right{right:4px}.kline-tip.is-left{left:4px}.kline-tip-time{color:var(--text-2);margin-bottom:2px}.kline-tip dl{display:grid;grid-template-columns:auto 1fr;gap:0 12px;margin:0}.kline-tip dt{color:var(--text-2)}.kline-tip dd{margin:0;text-align:right;font-weight:600}.kline-last.is-above{transform:translateY(calc(-50% - 21px))}.kline-last.is-below{transform:translateY(calc(-50% + 21px))}.mover-pinned-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.mover-inline-chart{padding:8px 6px 12px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.feed{display:flex;flex-direction:column;gap:8px}.feed-list{margin:0;padding:0;list-style:none}.feed-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.feed-item:last-child{border-bottom:0}.feed-dot{flex:none;width:8px;height:8px;margin-top:6px;border-radius:999px}.feed-text{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px;line-height:19px;word-break:break-word}.feed-compact .feed-item{padding:8px 0}.feed-title{display:flex;align-items:center;gap:8px}.live{display:inline-flex;align-items:center;gap:5px}.live-dot{width:7px;height:7px;border-radius:999px;background:var(--up)}.movers{display:flex;flex-direction:column}.movers-bar{padding:4px 0 6px}.movers-head{display:grid;grid-template-columns:1fr 96px 80px;gap:10px;height:28px;align-items:center;padding:0 6px;border-bottom:1px solid var(--line)}.movers-head span:not(:first-child){text-align:right}.mover-row{display:grid;grid-template-columns:1fr 198px;gap:4px;align-items:stretch;width:100%;min-height:54px;border-bottom:1px solid var(--line)}.mover-row.is-active{background:var(--surface);border-radius:8px}.mover-hit{min-width:0;border:0;border-radius:8px;padding:6px;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left}.mover-hit:hover{background:var(--surface)}.mover-name{display:flex;align-items:center}.mover-quote{display:grid;grid-template-columns:96px 80px;gap:10px;align-items:center}.movers-compact .mover-row{grid-template-columns:1fr 168px}.movers-compact .mover-quote{grid-template-columns:78px 68px}.mover-price{text-align:right;font-size:14px;font-weight:600}.mover-pill{height:30px;border-radius:7px;color:#fff;font-size:13px;font-weight:600;display:grid;place-items:center}.movers-compact .movers-head{grid-template-columns:1fr 78px 68px}.movers-compact .mover-price{font-size:13px}.movers-compact .mover-pill{height:26px;font-size:12px;border-radius:6px}.movers-compact .mover-row{min-height:46px}.movers-compact .row-title{font-size:13px}.movers-hint{text-align:center;margin:8px 0 2px}.accounts{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:2px;scrollbar-width:none}.accounts::-webkit-scrollbar{display:none}.account-card:only-child{flex:1;width:auto}.account-card{flex:none;width:232px;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:var(--r-card);background:var(--surface)}.account-head{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}.account-equity{font-size:18px;font-weight:700}.positions{display:flex;flex-direction:column}.pos-row{min-height:54px;padding:6px 4px}.pos-row .row-title,.pos-row .row-pnl{font-size:14px}.positions-all{align-self:flex-start;margin-top:8px;padding:0}.wb{height:100%;display:flex;flex-direction:column;gap:12px;padding:12px 24px 14px;overflow:hidden}.wb-grid{flex:1;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr) 340px;gap:20px}@media(min-width:1440px){.wb-grid{grid-template-columns:320px minmax(0,1fr) 360px;gap:24px}}.wb-col{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}.wb-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.wb-col-tools{display:flex;align-items:center;gap:8px}.sort-pill{height:24px;padding:0 6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text-2);font-size:11px;font-weight:500;cursor:pointer;outline:none}.sort-pill:hover{color:var(--text-1);border-color:var(--text-3)}.wb-side-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.wb-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px;scrollbar-width:none}.wb-list::-webkit-scrollbar{display:none}.wb-center{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.wb-empty{height:100%;display:grid;place-items:center;border-radius:var(--r-card);background:var(--surface)}.detail{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.detail-head{flex:none;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.detail-title{display:flex;flex-direction:column;gap:2px;min-width:0}.detail-name{display:flex;align-items:center;gap:8px}.detail-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap}.detail-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column;gap:12px}.detail-scroll::-webkit-scrollbar{display:none}.detail-foot{flex:none;display:flex;align-items:center;justify-content:flex-end;padding-top:2px}.detail-tabs{flex:none;display:flex;gap:20px}.detail-tabs .tab-txt{font-size:14px;padding:6px 0;border-bottom:2px solid transparent;margin-bottom:-1px}.detail-tabs .tab-txt[aria-selected=true]{border-bottom-color:var(--accent)}.btn-delete{color:var(--down);font-size:12px;height:auto;padding:0}@media(max-width:1279px){.wb{height:auto;overflow:visible}.pulse-row{grid-template-columns:repeat(3,minmax(0,1fr))}.wb-grid{grid-template-columns:280px minmax(0,1fr)}.wb-grid>.wb-col:last-child{grid-column:1 / -1;max-height:360px}}.form-step1,.form-step2{display:flex;flex-direction:column;gap:14px}.form-row{display:flex;flex-direction:column;gap:6px;min-width:0}.form-label-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.form-label{font-size:12px;font-weight:600;color:var(--text-2)}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-span-2{grid-column:1 / -1}.tpl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tpl-card{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:var(--r-card);border:1px solid var(--line);background:var(--bg);text-align:left;cursor:pointer}.tpl-card strong{font-size:14px}.tpl-card:hover{background:var(--surface)}.tpl-card.is-selected{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 65%,transparent)}.field-pick{width:100%;cursor:pointer;color:var(--text-1)}.symbol-pop{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg)}.symbol-list{max-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.symbol-opt{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border:0;border-radius:8px;background:none;cursor:pointer;font-size:13px}.symbol-opt:hover,.symbol-opt.is-active{background:var(--accent-soft)}.select-native{width:100%;border:0;background:transparent;outline:none;font-size:14px;color:var(--text-1);cursor:pointer}.seg-full{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.seg-full button{height:34px;font-size:13px}.form-group{display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1px solid var(--line)}.form-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.form-group .params-title{margin:0}.switch-row{display:inline-flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.switch-row input{accent-color:var(--accent);width:16px;height:16px}.switch-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.help-dot{width:18px;height:18px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text-2);font-size:11px;font-weight:700;display:grid;place-items:center;cursor:pointer;flex:none}.form-help{margin:0;padding:8px 10px;border-radius:8px;background:var(--surface);font-size:12px;line-height:18px;color:var(--text-2)}.form-risk-body{display:flex;flex-direction:column;gap:12px;padding-top:6px}.form-toggles{display:flex;flex-direction:column;gap:8px}.form-toggle-wrap{display:flex;flex-direction:column;gap:2px}.is-dim{opacity:.5}.audit-wrap{display:flex;flex-direction:column;gap:12px}.audit-group{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden}.audit-group-head{padding:8px 12px;background:var(--surface);font-size:12px;font-weight:600;border-bottom:1px solid var(--line)}.audit-empty{margin:0;padding:14px;text-align:center}.audit-order{display:grid;grid-template-columns:56px 1fr 1fr 1fr;gap:8px;padding:8px 12px;font-size:12px;border-bottom:1px solid var(--line)}.audit-order:last-child{border-bottom:0}.preset-save{display:flex;align-items:center;gap:6px}.preset-save .field{flex:1;min-width:0}.preset-chip{padding:0 4px 0 0;gap:0}.preset-chip button{border:0;background:none;color:inherit;font:inherit;cursor:pointer}.preset-apply{height:26px;padding:0 6px 0 11px}.preset-del{display:grid;place-items:center;width:18px;height:18px;border-radius:999px;color:var(--text-2)}.preset-del:hover{background:var(--down-soft);color:var(--down)}.form-hint{margin:6px 0 0;font-size:12px;line-height:18px;color:var(--text-2)}.form-hint.is-warn{color:var(--accent-text)}.plan-preview{display:flex;flex-direction:column;gap:8px}.plan-outcome{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.plan-cell{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;min-width:0}.plan-note{grid-column:1 / -1;margin:0}.plan-warning{margin:0;padding:8px 10px;border-radius:8px;font-size:13px;line-height:19px;font-weight:600;color:var(--down);background:color-mix(in srgb,var(--down) 12%,transparent)}.plan-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.plan-table{width:100%;min-width:560px;border-collapse:collapse;font-size:11px;text-align:left}.plan-table th{padding:6px 8px;color:var(--text-2);font-weight:500;background:var(--surface)}.plan-table td{padding:6px 8px;border-top:1px solid var(--line)}@media(max-width:640px){.plan-outcome{grid-template-columns:1fr}}.danger-zone{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.danger-zone .btn{gap:6px}.danger-zone p{margin:0;text-align:center}.subpage{height:100%;overflow-y:auto;scrollbar-width:none;padding:14px 24px 24px}.subpage::-webkit-scrollbar{display:none}.subpage-inner{width:100%;display:flex;flex-direction:column;gap:14px}.subpage-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.subpage-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sub-lead{margin:2px 0 0}.sub-stack{display:flex;flex-direction:column;gap:12px}.sub-mt{margin-top:10px}.sub-card{padding:14px 18px;border-radius:var(--r-card);border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 45%,var(--bg));display:flex;flex-direction:column;gap:10px}.sub-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sub-more-row{display:flex;justify-content:center;padding-top:10px}.tbl-wrap{overflow-x:auto}.tbl{width:100%;border-collapse:collapse;font-size:13px}.tbl th{text-align:left;font-size:11px;font-weight:600;color:var(--text-2);padding:6px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.tbl td{padding:9px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.tbl tr:last-child td{border-bottom:0}.tbl th:last-child,.tbl td:last-child{text-align:right}.pnl-bars{display:flex;align-items:flex-end;gap:3px;height:120px;padding-top:8px}.pnl-col{flex:1;height:100%;display:flex;align-items:flex-end;min-width:4px}.pnl-bar{width:100%;border-radius:3px 3px 0 0;background:var(--line);min-height:3px}.pnl-bar.is-up{background:var(--up-bar)}.pnl-bar.is-down{background:var(--down-bar)}.logs-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.field-compact{width:140px}.keys-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.key-card{justify-content:space-between}.key-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0}.key-stats>div{display:flex;flex-direction:column;gap:2px}.key-stats strong{font-size:14px}.key-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:4px}.rules-list{display:flex;flex-direction:column;gap:10px}.rule-card{padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg);display:flex;flex-direction:column;gap:10px}.rule-head{display:flex;align-items:center;gap:10px}.form-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:767px){.form-grid-3{grid-template-columns:1fr}}.notify-group{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px solid var(--line)}.notify-row{display:flex;align-items:flex-start;gap:8px;font-size:13px;cursor:pointer;line-height:20px}.notify-row input{margin-top:3px;accent-color:var(--accent)}.admin-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.admin-item:last-child{border-bottom:0}.admin-meta{flex:1;min-width:240px;display:flex;flex-direction:column;gap:4px}.admin-meta p{margin:0}.admin-meta>strong{display:inline-flex;align-items:center;gap:6px;font-size:13px}.split-2{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}@media(max-width:1023px){.split-2{grid-template-columns:1fr}}.inst-list{display:flex;flex-direction:column;gap:4px}.log-pre{margin:0;max-height:360px;overflow-y:auto;padding:12px;border-radius:var(--r-ctl);background:var(--surface);font-size:12px;line-height:18px;white-space:pre-wrap;word-break:break-all}.res-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:22px}.res-list{display:flex;flex-direction:column;gap:6px}.res-p{margin:0;font-size:14px;line-height:22px}.res-val{text-align:right;max-width:70%}.res-faq{padding:8px 0;border-bottom:1px solid var(--line)}.res-faq:last-child{border-bottom:0}.res-faq p{margin:4px 0 0}.pub-shell{min-height:100dvh;display:flex;flex-direction:column;background:var(--bg);color:var(--text-1)}.pub-inner{max-width:1180px;width:100%;margin:0 auto;padding:0 24px}.pub-head{border-bottom:1px solid var(--line);background:var(--bg)}.pub-head-row{height:60px;display:flex;align-items:center;gap:24px}.pub-nav{display:flex;gap:24px;font-size:14px;color:var(--text-2)}.pub-nav a:hover{color:var(--text-1)}.pub-cta{margin-left:auto;display:flex;align-items:center;gap:8px}@media(max-width:639px){.pub-nav{display:none}}.pub-hero{background:var(--ink);color:#fff;padding:56px 0}.pub-hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}@media(max-width:900px){.pub-hero-grid{grid-template-columns:1fr}}.pub-eyebrow{font-size:13px;color:#a9aec0}.pub-hero-copy h1{margin:12px 0;font-size:40px;line-height:1.2;font-weight:700;letter-spacing:-.02em}.pub-lead{margin:0 0 24px;font-size:16px;line-height:1.6;color:#d7dae3;max-width:560px}.pub-btn-outline{background:transparent;color:#fff;border:1px solid rgb(255 255 255 / .25)}.pub-btn-outline:hover{background:#ffffff14}.pub-steps{margin:12px 0 0;padding:0;list-style:none;border-bottom:1px solid rgb(255 255 255 / .16)}.pub-steps li{display:flex;gap:16px;align-items:flex-start;padding:14px 0;border-top:1px solid rgb(255 255 255 / .16)}.pub-steps span{font-size:24px;font-weight:300;line-height:1;color:var(--accent);width:20px;flex:none}.pub-steps p{margin:4px 0 0;font-size:13px;color:#b8bdd0}.pub-main{flex:1;padding:48px 0}.pub-sec-title{margin:0 0 20px;font-size:22px;font-weight:700}.pub-feat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}@media(max-width:900px){.pub-feat-grid{grid-template-columns:1fr}}.pub-p{margin:0;line-height:20px}.pub-foot{border-top:1px solid var(--line);padding:20px 0}.pub-foot-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.login-shell{min-height:100dvh;display:grid;grid-template-columns:460px minmax(0,1fr);background:var(--bg)}@media(max-width:900px){.login-shell{grid-template-columns:1fr}}.login-aside{background:var(--ink);color:#fff;padding:36px 40px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}@media(max-width:900px){.login-aside{padding:20px 24px}.login-copy{display:none}}.login-brand{color:#fff}.login-copy h2{margin:0 0 16px;font-size:26px;font-weight:600}.login-copy ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:10px;color:#d7dae3;font-size:15px}.login-note{margin:0;color:#a9aec0}.login-main{display:grid;place-items:center;padding:24px}.login-card{width:min(100%,380px);display:flex;flex-direction:column;gap:16px}.login-head{display:flex;align-items:baseline;justify-content:space-between}.kelly-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.kelly-controls .field{flex:1 1 180px;max-width:260px}.kelly-notes{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;line-height:18px}.kelly-stats .stat>strong{white-space:normal;overflow:visible;font-size:15px;line-height:20px}
