*{box-sizing:border-box}:root{--bg: #0b1020;--surface: #0f1830;--surface-2: #0c1326;--border: #1c2742;--text: #ffffff;--text-2: #cfe0ff;--text-dim: #8aa0c6;--accent: #46c4ff}[data-theme=light]{--bg: #eef1f7;--surface: #ffffff;--surface-2: #f1f4fa;--border: #dbe1ec;--text: #17233d;--text-2: #223154;--text-dim: #62708c;--accent: #2563eb}html,body,#root{margin:0;height:100%;font-family:-apple-system,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,sans-serif;background:var(--bg)}.brand{display:flex;align-items:center;gap:10px;padding:18px 16px;color:var(--text);font-weight:700;font-size:18px;white-space:nowrap;overflow:hidden}.brand.collapsed{justify-content:center;padding:18px 0}.brand-logo{font-size:22px;color:#6d5dfc;flex:none}.hamburger{width:40px;height:40px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:transparent;border:none;cursor:pointer;padding:0;border-radius:8px;transition:background .2s ease;flex:none}.hamburger:hover{background:#ffffff0f}.hamburger span{display:block;width:20px;height:2px;border-radius:2px;background:#8aa0c6;transition:transform .3s ease,opacity .25s ease,width .3s ease,background .2s ease}.hamburger:hover span{background:#cdd8ee}.hamburger.is-collapsed span{width:13px}.hamburger.is-collapsed span:nth-child(1){transform:translate(2px) translateY(4px) rotate(45deg)}.hamburger.is-collapsed span:nth-child(2){opacity:0}.hamburger.is-collapsed span:nth-child(3){transform:translate(2px) translateY(-4px) rotate(-45deg)}.page-card{background:#0f1830;border:1px solid #1c2742;border-radius:14px;padding:18px}.hero{background:radial-gradient(1200px 300px at 20% -10%,#1a2550,#0d1424 60%);border:1px solid #1c2742;border-radius:16px;padding:28px 32px}.hero h1{font-size:30px;margin:6px 0 8px;color:#fff}.kpi-card{display:flex;align-items:center;gap:16px;background:#0f1830;border:1px solid #1c2742;border-radius:14px;padding:20px}.kpi-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}.kpi-num{font-size:30px;font-weight:800;color:#fff;line-height:1.1}.kpi-label{color:#8aa0c6;font-size:13px;margin-top:2px}.collect-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:992px){.collect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.collect-card{background:#0f1830;border:1px solid #1c2742;border-radius:14px;overflow:hidden}.collect-card .top{padding:12px}.collect-card .top-head{display:flex;gap:12px;align-items:flex-start}.collect-card .thumb{width:128px;height:150px;border-radius:10px;object-fit:cover;background:#1a2440;flex:none}.metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:6px;margin-top:8px}.metric{background:#0c1326;border:1px solid #1c2742;border-radius:7px;padding:4px 5px;text-align:center;min-width:0}.metric .label{color:#8aa0c6;font-size:10.5px;line-height:1.2;word-break:break-word}.metric .val{color:#fff;font-weight:700;font-size:13px;margin-top:1px}.source-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid #1c2742;background:#0c1326}.source-bar a{color:#46c4ff;font-size:13px;word-break:break-all}.cc-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.cc-title{color:#fff;font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cc-price{color:#f9b572;font-weight:600;font-size:13px}.cc-comm-row{display:flex;align-items:center;gap:14px;margin-top:10px;flex-wrap:wrap}.cc-comm{display:flex;align-items:center;gap:4px}.cc-comm-label{color:#8aa0c6;font-size:12px;margin-right:2px}.cc-pill{background:#0c1326;border:1px solid #1c2742;border-radius:6px;padding:1px 7px;font-size:12px;font-weight:600}.cc-calc{padding:0 14px 12px}.cc-calc-toggle{background:transparent;border:none;color:#8aa0c6;cursor:pointer;font-size:13px;padding:6px 0}.cc-calc-toggle:hover{color:#fff}.calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.calc-out{flex-wrap:wrap}.calc-field{display:flex;flex-direction:column;gap:3px}.calc-field span{color:#8aa0c6;font-size:11px}.calc-out{display:flex;gap:10px;margin-top:10px}.calc-out>div{flex:1;background:#0c1326;border:1px solid #1c2742;border-radius:8px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between}.calc-out-label{color:#8aa0c6;font-size:12px}.calc-out-val{font-weight:700;font-size:15px}.cc-note{display:flex;gap:8px;padding:0 14px 12px}.cc-actions{display:flex;gap:8px;padding:0 14px 12px;flex-wrap:wrap}.top-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:2000;opacity:0;transition:opacity .25s ease;pointer-events:none;overflow:hidden}.top-progress.active{opacity:1}.top-progress .bar{height:100%;width:35%;border-radius:0 2px 2px 0;background:linear-gradient(90deg,#6d5dfc,#46c4ff);box-shadow:0 0 8px #46c4ff99;animation:tp-slide 1.1s ease-in-out infinite}@keyframes tp-slide{0%{margin-left:-35%}to{margin-left:100%}}[data-theme=light] body,[data-theme=light] #root{background:#f4f6fb}[data-theme=light] .page-card,[data-theme=light] .kpi-card,[data-theme=light] .collect-card{background:#fff;border-color:#e5e9f2}[data-theme=light] .metric,[data-theme=light] .source-bar,[data-theme=light] .cc-pill,[data-theme=light] .calc-out>div{background:#f6f8fc;border-color:#e5e9f2}[data-theme=light] .source-bar{border-top-color:#e5e9f2}[data-theme=light] .kpi-num,[data-theme=light] .metric .val,[data-theme=light] .cc-title,[data-theme=light] .cc-pill,[data-theme=light] .hero h1{color:#1f2a44}[data-theme=light] .kpi-label,[data-theme=light] .metric .label,[data-theme=light] .cc-comm-label,[data-theme=light] .calc-field span,[data-theme=light] .calc-out-label{color:#5b6b8c}[data-theme=light] .hero{background:radial-gradient(1200px 300px at 20% -10%,#dbe4ff,#f4f6fb 60%);border-color:#e5e9f2}.collect-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3000;background:#060a18b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;animation:co-fade .25s ease}@keyframes co-fade{0%{opacity:0}to{opacity:1}}.collect-panel{--text: #ffffff;--text-2: #cfe0ff;--text-dim: #8aa0c6;--surface: #101a33;--surface-2: #0c1428;--border: #1c2742;width:min(760px,94vw);height:min(520px,84vh);background:linear-gradient(160deg,#101a33,#0b1224);border:1px solid #2a3a5c;border-radius:16px;box-shadow:0 20px 60px #0009,0 0 50px #6d5dfc2e;overflow:hidden;display:flex;flex-direction:column;animation:co-pop .28s cubic-bezier(.2,.9,.3,1.2)}@keyframes co-pop{0%{transform:scale(.94) translateY(8px);opacity:0}to{transform:none;opacity:1}}.co-head{padding:16px 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #1c2742}.co-dot{width:10px;height:10px;border-radius:50%;flex:none}.co-dot.run{background:#22c55e;animation:co-pulse 1.4s infinite}.co-dot.done{background:#46c4ff}.co-dot.err{background:#ef4444}@keyframes co-pulse{0%{box-shadow:0 0 #22c55e99}70%{box-shadow:0 0 0 10px #22c55e00}to{box-shadow:0 0 #22c55e00}}.co-title{font-size:16px;font-weight:700;color:#fff}.co-body{display:flex;flex:1;min-height:0}.co-logs{flex:1;overflow:auto;padding:14px 18px;font-size:12.5px;line-height:1.95;font-family:ui-monospace,Consolas,Courier New,monospace}.co-log{color:#9fb2d6;display:flex;gap:10px;animation:co-in .3s ease}.co-log .t{color:#5b6b8c;flex:none}@keyframes co-in{0%{opacity:0;transform:translate(-6px)}to{opacity:1;transform:none}}.co-side{width:236px;flex:none;border-left:1px solid #1c2742;padding:20px 18px;display:flex;flex-direction:column;gap:16px;background:#0c1428}.co-pct{font-size:44px;font-weight:800;color:#fff;line-height:1}.co-pct small{font-size:16px;color:#8aa0c6;font-weight:600}.co-progress{height:10px;background:#1c2742;border-radius:6px;overflow:hidden}.co-progress>i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#6d5dfc,#46c4ff);box-shadow:0 0 12px #46c4ff99;transition:width .5s ease;position:relative;overflow:hidden}.co-progress>i:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:co-shimmer 1.2s infinite}@keyframes co-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.co-stat{display:flex;justify-content:space-between;font-size:13px}.co-stat .k{color:#8aa0c6}.co-stat .v{color:#e8f0ff;font-weight:600}
