:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--black:#111110;--black-2:#181816;--cream:#fbf7ee;--paper:#f7f1e6;--paper-2:#f2eadc;--line:#503f2a2e;--line-strong:#503f2a52;--text:#241f18;--muted:#756b60;--gold:#d7b677;--red:#c9272d;--red-bg:#8d2527;--green:#178b50;--blue:#2f58bd;--purple:#765bd8;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--black);min-height:100%;margin:0}body{min-width:0;overflow:hidden auto}button,select,input{font:inherit}button{cursor:pointer}.boot-screen,.boot-error{background:var(--black);min-height:100vh;color:var(--gold);place-items:center;font-size:18px;display:grid}.terminal-shell{background:var(--cream);max-width:100%;min-height:100dvh;color:var(--text);grid-template-rows:48px minmax(0,1fr) 36px;display:grid;overflow-x:hidden}.top-bar{color:#eee5d4;background:linear-gradient(#161614,#0f0f0e);border-bottom:1px solid #ffffff14;grid-template-columns:252px minmax(0,1fr) auto;align-items:center;padding-left:0;display:grid}.market-strip{align-items:center;gap:46px;min-width:0;height:100%;display:flex;overflow:hidden}.metric{white-space:nowrap;align-items:baseline;gap:10px;font-size:13px;display:inline-flex}.metric em{color:#d2c7b6;font-style:normal}.metric strong{color:#ff3c3e;font-size:15px}.rise{color:var(--red)!important}.fall{color:var(--green)!important}.red{color:var(--red)!important}.green{color:var(--green)!important}.blue{color:var(--blue)!important}.top-actions{border-left:1px solid #ffffff14;align-items:center;gap:18px;min-width:0;height:100%;padding:0 20px;font-size:13px;display:flex}.top-actions span,.top-actions button{color:#ebdcc1;white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.top-actions button{background:#d7b67714;border:1px solid #d7b6774d;border-radius:4px;height:28px;padding:0 9px}.mobile-price{display:none}.workspace{grid-template-columns:minmax(224px,252px) minmax(0,1fr) minmax(292px,328px);min-width:0;min-height:0;display:grid}.left-panel{color:#eee5d4;background:radial-gradient(circle at 28% 2%,#d7b67729,#0000 36%),linear-gradient(#1a1a18 0%,#11110f 64%,#151511 100%);border-right:1px solid #24211d;flex-direction:column;min-height:0;padding-top:8px;display:flex}.brand{align-items:center;gap:11px;height:48px;padding:0 16px;display:flex}.brand-mark{color:var(--gold);letter-spacing:1.5px;white-space:nowrap;font-family:Songti SC,STSong,serif;font-size:25px;font-weight:800}.brand-subtitle{color:#d8c9ad;white-space:nowrap;font-size:11px}.top-bar .brand{background:radial-gradient(circle at 28% 0,#d7b6772e,#0000 40%),#151512;border-right:1px solid #ffffff14}.search-box{color:#8f8b84;background:#00000029;border:1px solid #ffffff21;border-radius:5px;justify-content:space-between;align-items:center;height:35px;margin:0 11px 8px;padding:0 9px;font-size:13px;display:flex}.search-box input{color:#eee5d4;background:0 0;border:0;outline:0;width:100%;min-width:0}.search-box input::placeholder{color:#8f8b84}.segmented{border-bottom:1px solid #ffffff14;grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.segmented button{height:38px;color:inherit;background:0 0;border:0;font-size:14px;position:relative}.segmented button.active{color:#fff;font-weight:700}.segmented button.active:after{content:"";background:#eee5d4;height:2px;position:absolute;bottom:0;left:18px;right:18px}.watchlist{min-height:0;padding-top:6px;overflow:auto}.table-head,.stock-row{grid-template-columns:24px 62px minmax(62px,1fr) 44px;align-items:center;padding:0 15px;display:grid}.table-head{color:#a79d8d;height:30px;font-size:12px}.stock-row{color:#d8d1c5;text-align:left;cursor:pointer;background:0 0;border:0;row-gap:2px;width:100%;min-height:35px;font-size:13px}.stock-row b{justify-self:end}.stock-row em{color:#8d8982;grid-column:3/5;font-size:11px;font-style:normal}.stock-row .star{color:#777168;background:0 0;border:0;place-items:center;width:20px;height:22px;padding:0;display:grid}.stock-row .star.on{color:var(--gold)}.stock-row.selected{color:#fff;background:linear-gradient(90deg,#8d2527e6,#8d252780)}.stock-row.selected em,.stock-row.selected .star{color:#f3dfb4}.empty-list{color:#9f978a;padding:18px 15px;font-size:13px}.cycle-box{border-top:1px solid #ffffff1a;margin-top:auto;padding:13px 15px 20px}.cycle-title{color:#cbb08a;margin-bottom:12px;font-size:13px}.cycle-row{color:#d9d0c0;text-align:left;background:0 0;border:0;grid-template-columns:72px 42px 1fr;align-items:center;gap:8px;width:100%;height:34px;padding:0;font-size:13px;display:grid}.cycle-row b{color:#fff;background:#ffffff14;border-radius:4px;place-items:center;height:26px;display:grid}.cycle-row:first-of-type b{background:var(--red-bg)}.cycle-row em{color:#8d8982;border:1px solid #ffffff14;border-radius:4px;align-items:center;height:26px;padding-left:10px;font-style:normal;display:flex}.cycle-row.active em,.cycle-row:hover em{color:#f0dec0;background:#d7b67714;border-color:#d7b6776b}.data-state{color:#bdb4a4;align-items:center;gap:5px;margin-top:18px;font-size:12px;display:flex}.data-state i{background:#37c26b;border-radius:50%;width:8px;height:8px}.crypto-watchlist .stock-row{grid-template-columns:24px 76px minmax(62px,1fr) 44px}.crypto-source-box{gap:9px;display:grid}.crypto-source-row{color:#d9d0c0;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;font-size:12px;display:grid}.crypto-source-row span{color:#9f978a}.crypto-source-row b{text-overflow:ellipsis;white-space:nowrap;color:#f0dec0;min-width:0;font-size:12px;overflow:hidden}.crypto-ribbon .candidate-list{justify-content:flex-start}.crypto-ribbon .candidate-list button{flex:0 0 210px}.center-panel{background:var(--paper);grid-template-rows:auto auto 36px 36px 36px minmax(360px,1fr) minmax(180px,236px);min-width:0;display:grid;overflow:hidden}.stock-header{border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:center;gap:16px;min-width:0;min-height:56px;padding:0 14px;display:flex}.stock-identity{white-space:nowrap;align-items:baseline;gap:14px;min-width:0;display:flex}.stock-identity span{font-size:18px}.stock-identity strong{font-size:16px;font-weight:700}.stock-identity b{color:var(--red);font-size:22px}.stock-identity em{font-size:13px;font-style:normal}.price-facts{white-space:nowrap;gap:22px;min-width:0;font-size:13px;display:flex}.price-facts b{margin-left:6px}.candidate-ribbon{border-bottom:1px solid var(--line);background:#ffffff52;grid-template-columns:154px minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:64px;padding:8px 14px;display:grid}.candidate-title{gap:4px;display:grid}.candidate-title span{color:var(--red);font-size:13px;font-weight:800}.candidate-title b{color:#685b4c;font-size:11px;font-weight:600}.candidate-list{gap:8px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.candidate-list button{border:1px solid var(--line);min-width:0;height:48px;color:var(--text);text-align:left;background:#fbf6eb;border-radius:5px;flex:1 0 124px;grid-template-columns:1fr auto;align-items:center;gap:1px 8px;padding:5px 8px;display:grid}@media (width>=1400px){.candidate-list{grid-template-columns:repeat(5,minmax(116px,1fr));padding-bottom:0;display:grid;overflow:visible}.candidate-list button{flex-basis:auto}}.candidate-list button.active{background:#fff4ea;border-color:#c9272d73}.candidate-list strong,.candidate-list span,.candidate-list em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.candidate-list strong{font-size:13px}.candidate-list span,.candidate-list em{color:#72675a;font-size:11px;font-style:normal}.candidate-list b{color:var(--red);grid-area:1/2/3;font-size:18px}.period-row,.toolbar,.overlay-controls{border-bottom:1px solid var(--line);align-items:center;min-width:0;padding:0 14px;display:flex}.period-row{scrollbar-width:thin;gap:10px;overflow-x:auto}.period-row button,.toolbar button,.log-filters button{color:var(--text);background:0 0;border:0;border-radius:4px;min-width:32px;height:26px;font-size:13px}.period-row button.active{background:var(--red-bg);color:#fff}.period-row button.unavailable{color:#9a9185;text-decoration:line-through}.period-note{color:#6d6255;white-space:nowrap;margin-left:auto;font-size:12px}.period-note.warn{color:#a9411f}.toolbar{scrollbar-width:thin;gap:10px;position:relative;overflow-x:auto}.toolbar button{border:1px solid #0000;place-items:center;display:inline-grid}.toolbar button:first-child{color:#fff;background:#222}.toolbar button.active{color:var(--red);background:#fff4ea;border-color:#c9272d73}.toolbar button:hover{border-color:var(--line-strong);background:#ffffff8c}.toolbar .more{align-items:center;gap:4px;padding:0 8px;display:inline-flex}.tool-status{color:#6d6255;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;overflow:hidden}.more-menu{z-index:5;border:1px solid var(--line-strong);background:#fff8ed;border-radius:5px;gap:6px;padding:6px;display:flex;position:absolute;top:31px;right:42px;box-shadow:0 10px 26px #31231229}.more-menu button{border:1px solid var(--line);background:#fbf2e4;min-width:62px}.center-panel.chart-expanded{grid-template-rows:56px 64px 36px 36px 36px minmax(540px,1fr) 160px}.overlay-controls{scrollbar-width:thin;gap:15px;font-size:13px;overflow-x:auto}.overlay-controls label{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.overlay-controls input{accent-color:var(--green)}.trend-type{align-items:center;gap:7px;margin-left:auto;display:inline-flex}.trend-type select{border:1px solid var(--line-strong);height:26px;color:var(--text);background:#f6efe3;border-radius:4px}.chart-wrap{min-height:0;padding:10px 14px 0;position:relative;overflow:hidden}.chart-wrap svg{width:100%;height:100%;min-height:clamp(360px,46vh,500px);display:block}.legend-card{z-index:2;border:1px solid var(--line-strong);background:#faf6ede0;border-radius:6px;gap:6px;width:174px;padding:8px 10px;font-size:12px;display:grid;position:absolute;top:22px;left:64px}.line,.dash,.zone-sample{vertical-align:middle;border-top:1.5px solid;width:22px;height:0;margin:0 4px;display:inline-block}.dash{border-top-style:dashed}.redline{border-color:var(--red)}.greenline{border-color:var(--green)}.blueline{border-color:var(--blue)}.zone-sample{border:1px dashed var(--purple);background:#765bd812;height:11px}.grid line{stroke:#6a533221;stroke-dasharray:3 3}.grid text{fill:#5c544a;font-size:11px}.candle.up,.body.up{stroke:var(--red);fill:#c9272d29}.candle.down,.body.down{stroke:var(--green);fill:#178b5029}.stroke{stroke-width:1.6px;fill:none}.stroke.up{stroke:var(--red)}.stroke.down{stroke:var(--green)}.zone rect{fill:#6f61ff14;stroke:#5968db;stroke-dasharray:6 3}.zone text{fill:#2b4fb2;font-size:12px;font-weight:700}.mark.top{fill:var(--red)}.mark.bottom{fill:var(--green)}.signal circle{fill:var(--paper);stroke-width:1.5px}.signal text{font-size:11px;font-weight:800}.signal.entry circle{stroke:var(--green)}.signal.entry text{fill:var(--green)}.signal.exit circle{stroke:var(--red)}.signal.exit text{fill:var(--red)}.signal.warn circle{stroke:var(--blue)}.signal.warn text{fill:var(--blue)}.trend-label{fill:var(--green);font-size:14px}.macd line{stroke:#6a533240}.macd text{fill:var(--text);font-size:12px}.hist.red{fill:#c9272db8}.hist.green{fill:#178b50b8}.macd .dif{stroke:#4578c5;fill:none;stroke-width:1.2px}.macd .dea{stroke:#d59b45;fill:none;stroke-width:1.2px}.event-log{border-top:1px solid var(--line-strong);min-height:0;overflow:auto}.log-tabs{border-bottom:1px solid var(--line);align-items:center;gap:26px;height:34px;padding:0 14px;font-size:13px;display:flex}.log-tab{height:28px;color:var(--text);background:0 0;border:0;padding:0}.log-tab.active{color:var(--red);font-weight:800}.log-filters{align-items:center;gap:6px;margin-left:auto;display:flex}.log-filters button:first-child{color:#fff;background:#1a1a1a}.log-filters button.active{background:var(--red-bg);color:#fff}.log-filters .icon-button{place-items:center;min-width:28px;display:inline-grid}.event-log table{border-collapse:collapse;width:100%;min-width:720px;font-size:13px}.event-log th,.event-log td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;text-overflow:ellipsis;max-width:220px;height:28px;padding:0 14px;overflow:hidden}.event-log th{color:#51483d;font-weight:700}.right-panel{border-left:1px solid var(--line-strong);background:linear-gradient(#fbf8f0,#f6edde);min-width:0;overflow:auto}.right-panel .segmented{border-bottom:1px solid var(--line-strong);height:45px}.right-panel .segmented button{color:var(--text)}.right-panel .segmented button.active{color:var(--red)}.right-panel .segmented button.active:after{background:var(--red)}.inspector,.level-tree,.stats-panel,.prompt-panel{padding:14px 16px 22px}.inspector section,.stats-panel,.level-tree,.prompt-panel{border-bottom:1px solid var(--line-strong);margin-bottom:14px;padding-bottom:14px}.section-title{justify-content:space-between;align-items:center;display:flex}h3{margin:0 0 11px;font-size:15px}.section-title b{background:var(--red-bg);color:#fff;border-radius:4px;padding:5px 12px;font-size:13px}.info-row{grid-template-columns:90px 1fr;align-items:center;gap:10px;min-height:28px;font-size:13px;display:grid}.info-row span{color:#5f5447}.info-row b{color:var(--text);font-weight:600}.info-row b.accent{color:var(--red)}.warning{color:#a9411f;background:#f1dfc9;border-radius:5px;font-size:13px;line-height:1.55;border:0!important;padding:12px!important}.checklist{border-bottom:0!important}.checklist div{grid-template-columns:1fr 1fr;gap:9px 16px;display:grid}.checklist span{justify-content:space-between;align-items:center;font-size:13px;display:flex}.checklist b{color:var(--green);border:1px solid var(--green);border-radius:50%;place-items:center;width:18px;height:18px;font-size:12px;display:grid}.tree-node{border-left:1px solid var(--line-strong);align-items:center;gap:12px;min-height:34px;padding-left:10px;font-size:13px;display:flex}.tree-node.child{margin-left:18px}.tree-node span{background:#f0dfbd;border-radius:4px;padding:4px 8px}.tree-node.active span{color:var(--red);background:#f3c7be}.tree-node b{color:var(--green)}.prompt-panel p{margin:0 0 12px;font-size:13px;line-height:1.7}.rotation-board{gap:7px;display:grid}.rotation-board button{border:1px solid var(--line);height:34px;color:var(--text);text-align:left;background:#ffffff6b;border-radius:5px;grid-template-columns:minmax(70px,1fr) 1.2fr 34px;align-items:center;gap:8px;padding:0 8px;font-size:13px;display:grid}.rotation-board em{color:#746758;font-style:normal}.rotation-board b{color:var(--red);justify-self:end}.modal-backdrop{z-index:30;background:#0000007a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.support-modal{background:#fbf7ee;border:1px solid #d7b6776b;border-radius:8px;width:min(390px,100%);padding:18px;position:relative;box-shadow:0 24px 80px #00000052}.modal-close{border:1px solid var(--line);background:#fffaf1;border-radius:5px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:10px;right:10px}.modal-heading{align-items:flex-start;gap:10px;padding-right:26px;display:flex}.modal-heading h3{margin-bottom:4px}.modal-heading p,.modal-note{color:#776b5d;margin:0;font-size:13px;line-height:1.55}.support-qr{aspect-ratio:1;object-fit:contain;border:1px solid var(--line-strong);background:#fff;border-radius:8px;width:100%;margin:14px 0 10px}.settings-list{border:1px solid var(--line);background:#fffaf1;border-radius:6px;gap:8px;margin-top:14px;padding:12px;display:grid}.status-bar{color:#9e9689;background:#0d0d0c;align-items:center;gap:30px;min-width:0;padding:0 16px;font-size:12px;display:flex}.status-bar b{color:#5ee184}.footer-links{margin-left:auto}@media (width<=1180px){.terminal-shell{grid-template-rows:auto auto 34px}.top-bar{grid-template-columns:minmax(204px,230px) minmax(0,1fr);min-height:48px}.market-strip{scrollbar-width:thin;gap:18px;overflow-x:auto}.top-actions{border-top:1px solid #ffffff14;border-left:0;flex-wrap:wrap;grid-column:1/-1;gap:8px;height:auto;padding:6px 12px 8px;display:flex}.workspace{grid-template-columns:minmax(210px,240px) minmax(0,1fr)}.right-panel{border-left:0;border-top:1px solid var(--line-strong);grid-column:1/-1;max-height:380px}.center-panel{grid-template-rows:auto auto auto auto auto minmax(390px,auto) minmax(190px,auto)}.candidate-ribbon{grid-template-columns:130px minmax(0,1fr)}.period-row,.toolbar,.overlay-controls{min-height:36px}.stock-header,.price-facts,.period-row,.toolbar,.overlay-controls,.log-tabs,.status-bar{flex-wrap:wrap}.price-facts{white-space:normal;gap:8px 14px;font-size:12px}.price-facts span{white-space:nowrap}.overlay-controls{align-items:flex-start;gap:8px 12px;height:auto;padding:8px 14px}.trend-type{margin-left:0}.chart-wrap svg{min-height:430px}.event-log{min-height:190px}}@media (width<=760px){.terminal-shell{grid-template-rows:auto auto auto}.top-bar{grid-template-columns:1fr;padding:0 12px}.brand{height:44px;padding:0}.top-bar .brand{background:0 0;border-right:0}.brand-mark{font-size:21px}.brand-subtitle{font-size:10px}.market-strip{display:none}.top-actions{padding:4px 0 8px}.top-actions span{display:none}.top-actions button{height:30px}.mobile-price{color:#eee5d4;display:block}.workspace{grid-template-columns:1fr}.left-panel,.right-panel{min-height:auto;max-height:none}.left-panel{border-bottom:1px solid #24211d;border-right:0;max-height:390px}.center-panel{grid-template-rows:auto auto auto auto auto minmax(360px,auto) auto}.stock-header{align-items:flex-start;padding:8px 12px}.stock-identity{white-space:normal;flex-wrap:wrap;gap:6px 10px;width:100%}.stock-identity span{font-size:16px}.stock-identity b{font-size:18px}.candidate-ribbon{grid-template-columns:1fr;padding:8px 12px}.candidate-list{padding-bottom:2px;display:flex;overflow-x:auto}.candidate-list button{flex:0 0 150px}.period-row,.toolbar{gap:6px;padding:6px 12px}.price-facts{width:100%}.price-facts span{white-space:nowrap}.overlay-controls{padding:8px 12px}.overlay-controls>span:first-child{width:100%}.trend-type select{max-width:142px}.chart-wrap{padding:8px 8px 0}.chart-wrap svg{min-height:360px}.legend-card{gap:4px;width:min(178px,100% - 28px);font-size:10px;top:14px;left:14px}.log-tabs{gap:8px 14px;height:auto;padding:7px 12px}.log-filters{width:100%;margin-left:0;padding-bottom:2px;overflow-x:auto}.right-panel .segmented{height:auto;min-height:42px}.inspector,.level-tree,.stats-panel,.prompt-panel{padding:12px}.info-row{grid-template-columns:82px minmax(0,1fr)}.checklist div{grid-template-columns:1fr}.status-bar{align-items:flex-start;gap:6px 14px;padding:8px 12px;line-height:1.45}.footer-links{width:100%;margin-left:0}}@media (width<=430px){.period-row button,.toolbar button,.log-filters button{min-width:30px;padding:0 6px}.toolbar .more{padding:0 7px}.chart-wrap svg{min-height:330px}.event-log table{min-width:660px}}
