:root{--ld-background: #0B1220;--ld-surface: #131F31;--ld-border: #30445C;--ld-text: #F1F5F9;--ld-muted: #A8B8CC;--ld-brand: #42DDD0;--ld-buy: #69C5FF;--ld-sell: #FFB078;--ld-neutral: #B8A9F4;--ld-warning: #F2CE72;--ld-radius-card: 12px;--ld-radius-control: 6px;--ld-surface-raised: #1A2940;--ld-surface-sunken: #08101C;--ld-border-strong: #A8B8CC;--ld-on-brand: #0B1220;--ld-focus: #42DDD0;--ld-highlight: rgba(66, 221, 208, .14);--ld-buy-soft: rgba(105, 197, 255, .18);--ld-sell-soft: rgba(255, 176, 120, .18);--ld-neutral-soft: rgba(184, 169, 244, .2);--ld-warning-soft: rgba(242, 206, 114, .12);--ld-heat-sell-3: #FFB078;--ld-heat-sell-2: #C98A62;--ld-heat-sell-1: #6E5A52;--ld-heat-zero: #131F31;--ld-heat-buy-1: #3E6684;--ld-heat-buy-2: #5596C7;--ld-heat-buy-3: #69C5FF;--ld-font-ui: "Segoe UI", Inter, Arial, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;--ld-font-zh: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;--ld-font-data: "Cascadia Mono", Consolas, ui-monospace, monospace;--ld-type-page: 600 28px/36px var(--ld-font-ui);--ld-type-section: 600 18px/26px var(--ld-font-ui);--ld-type-body: 400 14px/22px var(--ld-font-ui);--ld-type-label: 400 12px/18px var(--ld-font-ui);--ld-type-metric: 500 28px/36px var(--ld-font-data);--ld-space-1: 4px;--ld-space-2: 8px;--ld-space-3: 12px;--ld-space-4: 16px;--ld-space-5: 24px;--ld-space-6: 32px;--ld-space-7: 48px;--ld-space-8: 64px;--ld-radius-chip: 4px;--ld-header-h: 56px;--ld-rail-w: 72px;--ld-rail-w-expanded: 200px;--ld-drawer-w: 480px;--ld-row-h: 36px;--ld-row-h-compact: 28px;--ld-motion-fast: .12s;--ld-motion-base: .2s;--ld-motion-highlight: 1.2s;--ld-ease: cubic-bezier(.2, 0, 0, 1)}:root[data-theme=light]{--ld-background: #F5F7FA;--ld-surface: #FFFFFF;--ld-surface-raised: #EEF2F7;--ld-surface-sunken: #E9EEF4;--ld-border: #C5D0DC;--ld-border-strong: #64748B;--ld-text: #0B1220;--ld-muted: #475569;--ld-brand: #0E7C74;--ld-on-brand: #FFFFFF;--ld-focus: #0E7C74;--ld-buy: #1D6FB0;--ld-sell: #A8520F;--ld-neutral: #6A52C4;--ld-warning: #7A5C00;--ld-highlight: rgba(14, 124, 116, .1);--ld-buy-soft: rgba(29, 111, 176, .14);--ld-sell-soft: rgba(168, 82, 15, .14);--ld-neutral-soft: rgba(106, 82, 196, .14);--ld-warning-soft: rgba(122, 92, 0, .1);--ld-heat-zero: #FFFFFF;--ld-heat-sell-1: #F1D9C7;--ld-heat-sell-2: #D49A6B;--ld-heat-sell-3: #A8520F;--ld-heat-buy-1: #C9DDEE;--ld-heat-buy-2: #6FA3CF;--ld-heat-buy-3: #1D6FB0}:root[data-density=compact]{--ld-row-h: 28px;--ld-type-body: 400 13px/20px var(--ld-font-ui)}@media(prefers-reduced-motion:reduce){:root{--ld-motion-fast: 0ms;--ld-motion-base: 0ms;--ld-motion-highlight: 0ms}}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;background:var(--ld-background);color:var(--ld-text);font:13.5px/1.5 Segoe UI,Inter,Microsoft YaHei,Arial,sans-serif;-webkit-font-smoothing:antialiased}:root{--ld-trade-buy: #22C55E;--ld-trade-sell: #EF4444;--ld-trade-uncl: #94A3B8}.mono{font-family:Cascadia Mono,Consolas,monospace;font-variant-numeric:tabular-nums}.dir-buy{color:var(--ld-trade-buy)}.dir-sell{color:var(--ld-trade-sell)}.dir-unclassified{color:var(--ld-trade-uncl)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--ld-background)}.login-wrap{width:min(390px,100%);padding:28px;background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:16px}.ld-shell{display:flex;height:100vh;width:100vw;overflow:hidden;background:var(--ld-background)}.ld-rail{width:56px;flex-shrink:0;background:var(--ld-surface);border-right:1px solid var(--ld-border);display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px 0 12px;z-index:40}.ld-rail-top,.ld-rail-bottom{display:flex;flex-direction:column;align-items:center;gap:8px}.ld-rail-brand{width:36px;height:36px;display:grid;place-items:center;margin-bottom:6px}.ld-rail-brand img{width:28px;height:28px;display:block}.ld-rail-btn{position:relative;width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--ld-muted);display:grid;place-items:center;cursor:pointer;transition:background .14s,color .14s}.ld-rail-btn:hover{background:#42ddd01a;color:var(--ld-text)}.ld-rail-btn.active{background:#42ddd029;color:var(--ld-brand)}.ld-rail-btn:focus-visible,.ld-side-item:focus-visible,.btn:focus-visible,.btn-ghost:focus-visible{outline:2px solid var(--ld-brand);outline-offset:2px}.ld-status-pip{position:absolute;bottom:6px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--ld-brand);border:1.5px solid var(--ld-surface)}.ld-status-pip.warn{background:var(--ld-warning)}.ld-status-pip.err{background:var(--ld-sell)}.ld-avatar-anchor{position:relative}.ld-avatar-btn{position:relative;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--ld-warning);background:var(--ld-warning);color:#0b1220;font:700 12px/1 Segoe UI,Inter,sans-serif;display:grid;place-items:center;cursor:pointer}.ld-avatar-btn .ld-status-pip{bottom:-2px;right:-2px;width:9px;height:9px}.ld-user-popover{position:absolute;left:48px;bottom:0;width:240px;background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:12px;padding:10px;box-shadow:0 12px 32px #00000059;z-index:100}.ld-popover-divider{height:1px;background:var(--ld-border);margin:8px 0}.ld-popover-item{width:100%;border:0;background:transparent;color:var(--ld-text);border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:9px;font:inherit;font-size:13px;cursor:pointer;text-align:left}.ld-popover-item:hover{background:#42ddd01f;color:var(--ld-brand)}.ld-popover-item.active{background:#42ddd029;color:var(--ld-brand);font-weight:600}.ld-popover-item.danger:hover{background:#ffb07824;color:var(--ld-sell)}.ld-input{flex:1;min-width:220px;background:var(--ld-background);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:8px;padding:8px 12px;font:inherit;font-size:13px}.ld-input:focus{outline:2px solid var(--ld-brand);outline-offset:1px}.ld-cal-wrap{position:relative;width:100%}.ld-cal-trigger{width:100%;display:flex;align-items:center;gap:8px;background:var(--ld-background);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:8px;padding:7px 10px;font-size:12px;cursor:pointer;text-align:left;transition:border-color .14s}.ld-cal-trigger:hover,.ld-cal-trigger.open{border-color:var(--ld-brand)}.ld-cal-popover{position:absolute;top:calc(100% + 6px);z-index:120;width:232px;background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:12px;padding:10px;box-shadow:0 14px 36px #00000073}.ld-cal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ld-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.ld-cal-wd{text-align:center;font-size:10.5px;color:var(--ld-muted);padding:3px 0 5px}.ld-cal-day{border:0;background:transparent;color:var(--ld-text);border-radius:6px;padding:5px 0;font-size:12px;cursor:pointer;text-align:center}.ld-cal-day.weekend{color:var(--ld-muted);opacity:.6}.ld-cal-day:hover{background:#42ddd02e;color:var(--ld-text);opacity:1}.ld-cal-day.in-range{background:#42ddd038;color:var(--ld-text);border-radius:2px;opacity:1}.ld-cal-day.edge{background:var(--ld-brand);color:#0b1220;font-weight:700;opacity:1}.ld-cal-footer{margin-top:8px;padding-top:8px;border-top:1px solid var(--ld-border);display:flex;align-items:center;justify-content:space-between;gap:6px}.ld-sidebar{width:256px;flex-shrink:0;background:var(--ld-surface);border-right:1px solid var(--ld-border);display:flex;flex-direction:column;overflow-y:auto;transition:width .16s ease,opacity .16s ease}.ld-sidebar.collapsed{width:0;border-right:0;overflow:hidden;opacity:0}.ld-side-header{height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ld-border);flex-shrink:0}.ld-side-title{font-weight:600;font-size:14px;letter-spacing:-.01em;display:flex;align-items:center;gap:6px}.ld-side-section{padding:12px 10px;border-bottom:1px solid var(--ld-border)}.ld-side-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ld-muted);padding:0 8px 6px;display:flex;justify-content:space-between;align-items:center}.ld-side-item{width:100%;border:0;background:transparent;color:var(--ld-text);border-radius:8px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font:inherit;font-size:13px;text-align:left}.ld-side-item:hover{background:#a8b8cc1a}.ld-side-item.active{background:#42ddd024;color:var(--ld-brand);font-weight:600}.ld-side-dot{width:6px;height:6px;border-radius:50%;background:var(--ld-brand);display:inline-block;margin-right:6px}.ld-side-control{padding:4px 8px 8px;display:flex;flex-direction:column;gap:8px}.seg-row{display:flex;gap:4px;flex-wrap:wrap}.seg-btn{flex:1;min-width:48px;background:transparent;color:var(--ld-muted);border:1px solid var(--ld-border);border-radius:6px;padding:4px 6px;font-size:11.5px;cursor:pointer;text-align:center}.seg-btn.active{background:var(--ld-brand);color:#0b1220;border-color:var(--ld-brand);font-weight:600}.date-input{width:100%;background:var(--ld-background);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:6px;padding:6px 8px;font-size:12px}.ld-workspace{flex:1;min-width:0;display:flex;flex-direction:column;height:100vh;overflow:hidden}.ld-topbar{height:48px;flex-shrink:0;padding:0 18px;border-bottom:1px solid var(--ld-border);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--ld-background)}.ld-topbar-left,.ld-topbar-right{display:flex;align-items:center;gap:8px;min-width:0}.ld-icon-btn{width:30px;height:30px;border-radius:7px;border:1px solid transparent;background:transparent;color:var(--ld-muted);display:grid;place-items:center;cursor:pointer}.ld-icon-btn:hover{background:#a8b8cc1f;color:var(--ld-text)}.ld-pill{font-size:11px;padding:3px 8px;border-radius:999px;border:1px solid var(--ld-border);background:var(--ld-surface);color:var(--ld-muted);white-space:nowrap}.ld-pill.live{border-color:#42ddd073;color:var(--ld-brand);background:#42ddd01a}.ld-pill.warn{border-color:#f2ce7273;color:var(--ld-warning);background:#f2ce721a}.ld-subbar{padding:6px 18px;border-bottom:1px solid var(--ld-border);font-size:11.5px;color:var(--ld-muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;background:var(--ld-surface)}.ld-canvas{flex:1;overflow-y:auto;padding:18px 22px 28px}.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:12px;margin-bottom:18px}.card{background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:12px;padding:14px 16px}.card.selected{border-color:var(--ld-brand)}.btn{background:var(--ld-brand);color:#0b1220;border:0;border-radius:8px;padding:9px 14px;font-weight:600;cursor:pointer;font-size:13px}.btn-ghost{background:transparent;color:var(--ld-text);border:1px solid var(--ld-border);border-radius:7px;padding:5px 10px;cursor:pointer;font-size:12px}.btn-ghost:hover{border-color:var(--ld-brand);color:var(--ld-brand)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12.5px}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--ld-border);white-space:nowrap}th{color:var(--ld-muted);font-weight:500;font-size:11.5px}tbody tr{cursor:pointer}tbody tr:hover{background:#42ddd00f}tbody tr.row-active{background:#42ddd01c}.drawer{margin-top:16px;background:var(--ld-surface);border:1px solid var(--ld-brand);border-radius:12px;padding:16px 18px}.layer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:10px}@media(max-width:820px){.ld-sidebar{position:fixed;left:56px;top:0;bottom:0;z-index:35;box-shadow:0 12px 32px #0006}}
