:root{--bg:#f4f6f5;--panel:#fff;--ink:#192d2b;--muted:#71817d;--green:#216b55;--line:#e1e8e4;--soft:#eaf3ed;--orange:#b8792a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:0;border-radius:8px;padding:10px 17px;background:var(--green);color:white;font-weight:600}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}.sidebar{position:fixed;width:226px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:21px;font-weight:750;padding:0 8px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--green);border-radius:12px;color:#fff;font-size:22px}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:1px}.nav-label{font-size:11px;color:var(--muted);margin:40px 14px 12px;letter-spacing:2px}nav button{display:flex;align-items:center;width:100%;gap:12px;margin:5px 0;padding:12px 16px;background:none;color:#637570;text-align:left;font-weight:500}nav button.active{color:var(--green);background:var(--soft);font-weight:650}nav .icon{font-size:18px;width:22px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line);font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3b946e;margin-right:6px}.dot.off{background:#c99d51}main{margin-left:226px;padding:30px 44px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--muted)}h1{font-size:27px;margin:2px 0;font-weight:650;letter-spacing:.5px}h2{font-size:20px;margin:0 0 10px;font-weight:650}h3{font-size:16px;margin:0 0 7px}.status{background:white;color:var(--muted);border:1px solid var(--line);font-size:12px;font-weight:400}.hero{background:#163e33;color:#fff;padding:30px 34px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.hero h2{font-size:25px;line-height:1.6}.hero p{color:#b6cdc3;max-width:630px;margin:7px 0 18px}.hero button{background:#cce9ba;color:#244533}.hero-mark{font-size:70px;color:#a2c4ab;min-width:140px;line-height:1.25;letter-spacing:8px;opacity:.7}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric,.panel,.card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px}.metric .label{font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:30px;font-weight:600;margin:6px 0}.metric small{color:var(--muted);font-size:11px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card .number{font:12px monospace;color:var(--muted);margin-bottom:18px}.card p{color:var(--muted);font-size:13px;min-height:44px}.card button{background:var(--soft);color:var(--green);margin-top:10px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0 14px}.section-head h2{font-size:17px;margin:0}.muted{color:var(--muted)}.small{font-size:12px}.panel p{margin:5px 0 18px;color:var(--muted)}.panel+.panel{margin-top:20px}label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}input,select,textarea{width:100%;border:1px solid #d7e0da;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink)}textarea{min-height:110px;resize:vertical}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}input[type=file]{padding:10px;font-size:12px}.field{margin-bottom:17px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields .field{margin-bottom:0}.fields+.field{margin-top:17px}.secondary{background:#f1f5f2;color:var(--green);border:1px solid var(--line)}.danger{background:#fff5f1;color:#ac533d;font-size:12px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.notice{border:1px solid #e8ddc4;background:#fcf8ee;color:#886832;padding:12px 16px;border-radius:8px;font-size:12px;margin:15px 0;line-height:1.8}.notice.green{background:var(--soft);border-color:#d7e9dc;color:var(--green)}.badge{display:inline-block;border-radius:5px;background:var(--soft);padding:2px 7px;font-size:11px;color:var(--green)}.badge.demo{background:#fbefda;color:#9b7339}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:var(--muted);font-weight:500;background:#f8faf8}th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}td .actions{margin:0;gap:6px}td button{padding:5px 9px;font-size:11px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty strong{display:block;color:var(--ink);font-size:17px;margin-bottom:8px}.check-list{display:grid;gap:8px;max-height:270px;overflow:auto}.check-row{display:flex;gap:12px;align-items:center;padding:12px;background:#f6f9f6;border:1px solid var(--line);border-radius:8px;cursor:pointer;margin:0;font-weight:400}.check-row span{flex:1}.check-row small{display:block;color:var(--muted);font-size:11px}.tabs{display:flex;gap:8px;margin-bottom:22px}.tabs button{background:#e9efeb;color:var(--muted)}.tabs button.active{background:var(--green);color:#fff}.analysis-layout{display:grid;grid-template-columns:350px 1fr;gap:22px;align-items:start}.report{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;overflow-wrap:anywhere}.report-meta{color:var(--muted);font-size:11px;margin:6px 0 20px}.report-summary{font-size:15px;line-height:1.9;padding-bottom:23px;border-bottom:1px solid var(--line);white-space:pre-wrap}.report-section{padding-top:22px}.report-section>p{white-space:pre-wrap;color:#5d7068}.finding{padding:12px 14px;margin:9px 0;background:#f6f8f6;border-radius:7px;white-space:pre-wrap}.evidence-btn{background:transparent;color:var(--green);font-size:11px;padding:3px 6px;margin:4px 3px 0 0;border:1px solid #cfe1d4}.action-item{border-left:3px solid #86b293;padding:8px 14px;margin:10px 0}.action-item small{display:block;color:var(--muted)}.report-section ul{padding-left:20px;color:var(--muted);font-size:12px}.report-section li{margin:7px 0}.loading{padding:80px 25px;text-align:center;color:var(--muted)}.spinner{width:30px;height:30px;border:3px solid #e2ece5;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}.profit-value{font-size:45px;line-height:1.3;color:var(--green);font-weight:650}.profit-value.negative{color:#bd5a45}.profit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.profit-grid strong{display:block;font-size:21px}.profit-grid small{color:var(--muted)}.bar{height:10px;border-radius:8px;background:#eaf1eb;overflow:hidden;margin:15px 0}.bar span{display:block;height:100%;background:#478764}.steps{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:12px}.steps span b{color:var(--green);margin-right:8px}footer{font-size:10px;color:#96a59e;text-align:center;padding-top:32px;letter-spacing:1px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173f33;color:#fff;padding:12px 22px;border-radius:8px;display:none;z-index:100;max-width:80vw;box-shadow:0 5px 25px #0002}#toast.error{background:#924b3a}dialog{border:1px solid var(--line);border-radius:12px;max-width:800px;width:90vw;max-height:85vh;padding:26px;color:var(--ink)}dialog::backdrop{background:#0b241b66}dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.9 inherit}.report-card{padding:20px;border-bottom:1px solid var(--line)}.report-card:last-child{border:0}.report-card p{margin:7px 0;color:var(--muted);font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.error-box{background:#fff4ef;border:1px solid #efc7b8;border-radius:9px;padding:18px;color:#9b513c}.help{font-size:11px;color:var(--muted);margin-top:5px}.wide{width:100%}.top-space{margin-top:20px}.catbus-fields{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:14px}code{font:12px monospace;background:#edf2ee;padding:2px 5px;border-radius:4px}
@media(max-width:1100px){main{padding:25px}.analysis-layout{grid-template-columns:300px 1fr}.grid-3{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.hero-mark{display:none}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:16px;border-bottom:1px solid var(--line);border-right:0}.brand small,.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:12px}nav button{width:auto;white-space:nowrap;font-size:12px;padding:8px}.icon{display:none}main{margin-left:0;padding:20px 16px}.grid-2,.analysis-layout{grid-template-columns:1fr}.hero{padding:24px}.hero h2{font-size:21px}.status{max-width:160px}.tabs{overflow:auto}.tabs button{white-space:nowrap}h1{font-size:23px}.catbus-fields{grid-template-columns:1fr}.fields{gap:10px}.report{padding:20px}}

.model-list{max-height:480px}.model-disabled{opacity:.6;cursor:default}.picker-actions{margin-bottom:12px}

.login-qr{width:260px;max-width:100%;display:block;margin:15px auto}.collector-log{max-height:240px;overflow:auto;font-size:12px;background:#f6f8f6;padding:12px;border-radius:7px}.collector-log span{color:var(--muted);font-size:10px}.collector-items{max-height:460px;overflow:auto;margin-top:14px;display:grid;gap:8px}.job-row{width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;margin:8px 0}.job-row small{display:block;font-weight:400;color:var(--muted);font-size:11px}summary{cursor:pointer;color:var(--green);font-weight:600;font-size:13px}

/* 商研台 · 蓝白工作台设计系统 */
:root{--bg:#f5f7fb;--panel:#fff;--ink:#19253c;--muted:#7b879b;--green:#2463eb;--line:#e6ebf3;--soft:#edf3ff;--orange:#b8792a}body{font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button{transition:background .16s,box-shadow .16s,transform .16s;border-radius:7px;font-weight:500}button:hover:not(:disabled){filter:brightness(.97)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8db1ff;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:#6c9bff;box-shadow:0 0 0 3px #2463eb12}input::placeholder,textarea::placeholder{color:#a4adbc}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.sidebar{width:224px;padding:27px 16px 20px}.brand{font-size:23px;letter-spacing:.4px;gap:11px;padding:0 10px}.brand-icon{background:#2463eb;border-radius:10px;font:750 30px/1 sans-serif;width:39px;height:39px;position:relative;box-shadow:0 5px 12px #2463eb20}.brand-icon span{font-size:24px;position:absolute;bottom:1px;right:5px;color:#aac7ff}.brand small{letter-spacing:1px;font-size:10px;margin-top:2px}.nav-label{letter-spacing:1px;margin:36px 16px 10px;color:#a1aabc}nav button{color:#647087;font-size:13px;padding:12px 15px;margin:6px 0;border:1px solid transparent;gap:12px}nav button.active{background:#edf3ff;color:#2463eb;border-color:#e2ecff}nav button:hover{background:#f5f7fc}nav .icon{display:flex;align-items:center;width:21px}.sidebar-bottom{color:#516078;font-size:11px;padding:18px 12px 0}.sidebar-bottom small{line-height:1.9}.dot{background:#21a675}.dot.off{background:#efaa37}main{margin-left:224px;padding:28px 36px;max-width:1800px}header{margin-bottom:25px;align-items:center}.eyebrow{font-size:11px;letter-spacing:0;color:#98a2b3}.breadcrumb{color:#657389}h1{font-size:25px;font-weight:650;margin:7px 0 3px;letter-spacing:0}.page-caption{margin:0;color:var(--muted);font-size:12px}.status{padding:8px 13px;border-radius:20px;color:#627088;font-size:11px}.hero{background:#edf3ff;color:#1b3158;padding:30px 32px;min-height:235px;border-radius:12px;border:1px solid #dfe9fb;position:relative;overflow:hidden;margin-bottom:20px}.hero-tag{font-size:11px;color:#2463eb;letter-spacing:.6px}.hero h2{font-size:27px;font-weight:650;margin:10px 0 7px;line-height:1.5}.hero p{font-size:13px;color:#73839e;line-height:1.85;margin:7px 0 19px}.hero button{background:#2463eb;color:#fff;box-shadow:0 3px 7px #2463eb18;font-size:12px;padding:10px 17px}.hero .secondary{background:white;color:#43618e;border:1px solid #d4e1f5;box-shadow:none}.hero .actions{margin:0;gap:10px}.hero button span{margin-left:18px}.hero-art{min-width:245px;width:28%;padding:8px 15px 5px 8px}.art-caption{font-size:9px;letter-spacing:2px;color:#8aa3ce;margin-bottom:10px;text-align:right}.art-sheet{background:#fff;padding:20px 22px;border:1px solid #dce6f6;border-radius:9px;box-shadow:9px 10px 0 #dce7fa,0 8px 22px #4575bf0c;transform:rotate(-3deg)}.art-title{font-size:11px;font-weight:600;color:#516788}.art-lines{margin:11px 0 15px}.art-lines i{display:block;height:5px;background:#edf1f8;border-radius:3px;margin:6px 0;width:90%}.art-lines i:last-child{width:62%}.art-bars{height:58px;display:flex;align-items:end;gap:13px;border-bottom:1px solid #edf1f8;padding:0 9px}.art-bars i{flex:1;background:#b9cefa;border-radius:3px 3px 0 0;height:35%}.art-bars i:nth-child(2){height:55%}.art-bars i:nth-child(3){height:47%}.art-bars i:nth-child(4){height:72%;background:#729ef3}.art-bars i:nth-child(5){height:100%;background:#2463eb}.art-foot{font-size:9px;color:#8b9ab1;margin-top:13px;white-space:nowrap;display:flex;justify-content:space-between}.art-foot b{color:#90afe7}.metrics{gap:16px;margin-bottom:23px}.metric{padding:17px 20px}.metric-top{display:flex;justify-content:space-between;align-items:center}.metric-icon{color:#7e9bd3}.metric-icon svg{width:18px;height:18px}.metric strong{font-size:30px;line-height:1.3;margin:10px 0 8px;letter-spacing:-.6px;color:#20314e;font-variant-numeric:tabular-nums}.metric strong.metric-word{font-size:24px;line-height:39px;letter-spacing:0}.metric .label{font-size:12px;color:#69778c}.metric small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.panel,.card,.metric,.report{border-radius:10px;border-color:var(--line);box-shadow:0 2px 4px #20314e02}.panel{padding:24px}.panel+.panel{margin-top:20px}.grid-2>.panel+.panel{margin-top:0}.section-head{margin:24px 0 13px}.section-head h2{font-size:15px}.card{padding:22px}.card-top{display:flex;align-items:center;gap:10px;margin-bottom:17px}.card-icon{color:#2463eb;background:#edf3ff;border:1px solid #e2ebff;width:34px;height:34px;border-radius:8px;display:grid;place-items:center}.card-icon svg{width:18px;height:18px}.card .number{margin:0;font:12px/1.5 inherit;color:#76849b}.card h3{font-size:15px;color:#273957}.card p{font-size:12px;line-height:1.9;margin:8px 0 16px;min-height:45px}.card button{background:none;color:#2463eb;border-top:1px solid #edf1f7;border-radius:0;padding:13px 0 0;margin:0;width:100%;text-align:left;font-size:12px;display:flex;justify-content:space-between}.dashboard-recent{margin:23px 0 18px;gap:16px}.dashboard-recent>.panel{padding:19px 22px}.dashboard-recent .section-head{margin:0 0 12px}.text-button{background:transparent;color:#8190a6;font-size:11px;padding:3px 0}.recent-row{background:white;color:var(--ink);display:flex;width:100%;align-items:center;gap:11px;padding:14px 0;text-align:left;border-bottom:1px solid #edf1f7;border-radius:0;font-weight:400}.recent-row:last-child{border:0}.recent-row>span:nth-child(2){flex:1;min-width:0}.recent-row b{display:block;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:550}.recent-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.recent-icon{display:grid;place-items:center;width:33px;height:36px;background:#f4f7fd;color:#87a1cb;border-radius:6px}.recent-icon svg{width:18px;height:18px}.dashboard-recent .empty{padding:32px 12px 37px;font-size:11px}.empty:before{content:'';display:block;width:34px;height:27px;border:1.5px solid #ccd8ec;border-radius:5px;margin:0 auto 14px;background:linear-gradient(#e5ebf6,#e5ebf6) 8px 8px/18px 2px no-repeat,linear-gradient(#e5ebf6,#e5ebf6) 8px 14px/12px 2px no-repeat}.empty strong{font-size:14px;font-weight:550;margin-bottom:6px}.empty{font-size:12px;line-height:1.8}.steps{background:#fafcff;justify-content:space-between;gap:12px;padding:15px 22px;font-size:11px}.steps b{font-size:10px}h2{font-size:17px}h3{font-size:15px}.panel p{font-size:12px;line-height:1.85}label{font-size:12px;color:#52617a;font-weight:500}input,select,textarea{border-color:#dfe5ef;border-radius:7px;padding:10px 12px;font-size:13px}textarea{line-height:1.8}.secondary{background:#fff;border:1px solid #dfe5ef;color:#526787}.actions button{font-size:12px}.notice.green{background:#eff5ff;border-color:#dfeaff;color:#5575a4}.notice{background:#fffaf0;border-color:#f3e8cf;color:#937343}.badge{background:#eef4ff;color:#5377b9;border-radius:4px}.badge.demo{background:#fff5e4;color:#ad8035}.check-row{background:#fafbfe;border-color:#e5ebf3}.check-row:has(input:checked){background:#f0f5ff;border-color:#bfd4ff}.check-row small{font-size:11px}th{background:#f6f8fc;font-size:11px;color:#7b879b;padding:12px 16px}td{padding:16px;line-height:1.8}tbody tr:hover{background:#fafcff}.tabs{padding:4px;background:#eaf0f8;border-radius:8px;width:fit-content;gap:3px}.tabs button{background:transparent;border-radius:6px;font-size:12px;padding:8px 18px}.tabs button.active{background:white;color:#2463eb;box-shadow:0 1px 4px #20314e10}.analysis-layout{grid-template-columns:370px minmax(0,1fr);gap:20px}.report{padding:30px;line-height:1.9}.report h2{font-size:19px}.report-summary{background:#f5f8ff;border:1px solid #e3ecfa;border-radius:8px;padding:18px;font-size:14px}.report-section h3{border-left:3px solid #2463eb;padding-left:10px}.finding{background:#f6f8fc;padding:14px 16px;border:1px solid #edf1f7}.report-section>p{color:#67758a;font-size:13px}.action-item{border-left-color:#99baf9;background:#fafcff}.evidence-btn{border-color:#d4e1f6;background:#fff}.profit-grid>div{padding:14px;background:#f6f8fc;border:1px solid #e8edf5;border-radius:7px}.profit-grid strong{font-size:21px;color:#314567;margin-top:5px}.bar{height:8px;background:#edf1f7}.bar span{background:#2463eb}.collector-log{background:#f6f8fc;border:1px solid #e9edf5;font-family:ui-monospace,"PingFang SC",monospace;line-height:1.9}.collector-log span{color:#9aa6b8;margin-right:7px}.job-row{padding:13px 14px}.job-row .badge{align-self:center}details{border:1px solid #e4eaf3;border-radius:7px;padding:12px 14px}details>summary{font-size:12px;color:#597399}details .collector-log{margin-top:12px}.collector-progress{height:6px;overflow:hidden;border-radius:5px;background:#edf1f8;margin:14px 0}.collector-progress span{display:block;height:100%;background:#2463eb;transition:width .3s}.danger{background:#fff4f3;color:#c3655f}.report-card{padding:19px 0}.report-card h3{font-size:14px}.report-meta{line-height:1.8}#toast{background:#233e67;box-shadow:0 6px 26px #18356025}.spinner{border-color:#e6eefc;border-top-color:#2463eb}footer{color:#9ba6b8;letter-spacing:.6px;font-size:10px;padding-top:26px}dialog{border-radius:12px;box-shadow:0 20px 80px #142d5230}dialog::backdrop{background:#18294455}code{background:#eff3fa}.error-box{background:#fff5f4;border-color:#f5d8d4;color:#b65c55}.grid-2,.analysis-layout{align-items:start}.grid-2>*{min-width:0}button{max-width:100%}.hero-art{pointer-events:none}@media(min-width:1600px){main{padding:32px 48px}.hero{padding:35px 38px}}@media(max-width:1200px){main{padding:25px}.hero h2{font-size:23px}.hero-art{min-width:210px}.analysis-layout{grid-template-columns:330px minmax(0,1fr)}}@media(min-width:1000px) and (max-width:1100px){.grid-3{grid-template-columns:repeat(3,1fr)}}@media(max-width:999px){.hero-art{display:none}.metrics{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:1fr}.analysis-layout{grid-template-columns:1fr}.card p{min-height:0}.grid-2{gap:16px}.hero h2{font-size:22px}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:15px 16px 10px}.brand{font-size:20px;padding:0}.brand-icon{width:33px;height:33px;font-size:25px}.brand-icon span{font-size:19px}nav{margin-top:13px;gap:5px}nav button{font-size:12px;padding:8px 10px;margin:0;flex-shrink:0}nav .icon{display:none}main{margin-left:0;padding:20px 16px}header{gap:12px;align-items:flex-start}h1{font-size:23px}.page-caption{font-size:11px;max-width:250px}.status{font-size:10px;white-space:nowrap;padding:7px 9px}.hero{padding:22px;min-height:0}.hero h2{font-size:21px;line-height:1.6}.hero p{font-size:12px}.hero .actions{flex-wrap:wrap}.metric{padding:14px}.metric strong{font-size:27px}.metric small{font-size:9px}.metrics{gap:10px}.grid-2,.dashboard-recent{grid-template-columns:1fr}.panel{padding:20px}.dashboard-recent>.panel+.panel{margin-top:0}.tabs{max-width:100%;width:100%;overflow:auto}.tabs button{font-size:11px;padding:8px 12px;flex-shrink:0}.steps{justify-content:flex-start;gap:10px}.steps>span:nth-child(even){display:none}.steps>span{width:45%}.report{padding:20px}.fields{gap:12px}.recent-row small{overflow-wrap:anywhere}.profit-grid{gap:10px}.profit-grid strong{font-size:18px}.profit-value{font-size:38px}#collector-accounts .actions{gap:7px}.hero-tag{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.spinner{animation-duration:2s}}
/* Research report workspace */
body[data-page="reports"] main{max-width:none}.report-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}.report-library{padding:18px;position:sticky;top:20px;max-height:85vh;overflow:auto}.report-library input,.report-library select{width:100%;margin:6px 0}.report-library .report-card{padding:14px 0;margin:0;border-bottom:1px solid #e8edf5}.report-select{background:transparent;color:#24314b;border:0;padding:8px;text-align:left;width:100%;box-shadow:none}.report-select.active{background:#edf3ff;color:#2458dc}.report-select small{display:block;margin-top:8px;color:#718096;font-weight:400}.report-library .actions{gap:15px;font-size:12px}.report-library .actions button{padding:2px}.report-reader{min-width:0}.report-reader .report{padding:28px}.report-board h2{font-size:23px}.report-board .section-head{margin-top:0;align-items:start}.report-tabs{margin:24px 0;border-bottom:1px solid #e7edf6}.report-tabs button{white-space:nowrap}.board-tools small{font-size:12px;color:#7b879b}.research-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.research-kpis>div,.research-kpis>button{padding:18px;background:#f5f8fe;border:1px solid #e5ecf8;border-radius:12px;text-align:left;color:#25334c}.research-kpis small{display:block;color:#6b7890}.research-kpis strong{display:inline-block;font-size:28px;margin-top:8px}.research-kpis span{margin-left:8px;color:#7d8aa0;font-size:12px}.signal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.signal{padding:18px;text-align:left;background:white;color:#27334b;border:1px solid #e5eaf3}.signal small{color:#718096}.signal h3{margin:12px 0;font-size:17px}.signal p{font-size:12px;line-height:1.6;margin:0}.risk-text,.risk-word{color:#dc3845!important}.risk-word{background:#fff0f1;font-weight:700;padding:1px 3px;border-radius:3px}.topic-bar{display:grid;grid-template-columns:150px minmax(60px,1fr) 130px;align-items:center;gap:14px;width:100%;background:transparent;color:#33415a;box-shadow:none;border:0;padding:10px 0;text-align:left;font-size:13px}.topic-bar>div{background:#edf1f8;height:12px;border-radius:6px;overflow:hidden}.topic-bar i{display:block;height:100%;background:#3c70ee;border-radius:6px}.topic-bar b{text-align:right;font-size:12px}.topic-bar:hover{background:#f5f8ff}.comment-filters{display:flex;flex-wrap:wrap;gap:8px}.comment-filters select{width:auto;flex:1;min-width:100px}.comment-filters input{flex:2;min-width:180px}.classified-comment{padding:18px 0;border-bottom:1px solid #e8edf4}.classified-comment p{color:#27344b;line-height:1.9;white-space:pre-wrap}.classified-comment .actions{gap:8px}.classified-comment small{color:#8792a5}.priority-high{color:#d63343;background:#fff0f1}.library-collapsed{grid-template-columns:1fr}.library-collapsed .report-library{display:none}[hidden]{display:none!important}.keyword-assistant{padding:14px;margin-top:10px;border:1px solid #e6ecf7;border-radius:10px;background:#f8faff}.keyword-assistant .section-head{margin:0}.keyword-chip{display:flex;flex-direction:column;align-items:start;max-width:100%;text-align:left}.keyword-chip small{font-size:11px;font-weight:400;color:#738099;margin-top:5px}
@media(min-width:1500px){.report-workspace{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:1100px){.report-workspace{grid-template-columns:200px minmax(0,1fr)}.research-kpis{grid-template-columns:repeat(2,1fr)}.signal-grid{grid-template-columns:1fr}.report-reader .report{padding:20px}.topic-bar{grid-template-columns:120px 1fr 105px;gap:8px}}
@media(max-width:760px){.report-workspace{grid-template-columns:1fr}.report-library{position:static;max-height:260px}.report-tabs{overflow:auto}.report-reader .report{padding:16px}.topic-bar{grid-template-columns:100px 1fr 100px}.board-tools{align-items:start}}
.report-workspace.library-collapsed{grid-template-columns:minmax(0,1fr)}
.report-board .tabs{max-width:100%;overflow-x:auto}.report-board .research-kpis strong{white-space:nowrap}
.report-reader{container-type:inline-size}
#expand-reports{margin-bottom:12px}
@container(min-width:650px){.research-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.signal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:649px){.research-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.signal-grid{grid-template-columns:1fr}}
dialog#modal{padding:0;overflow:hidden;max-height:90vh;width:min(1050px,94vw)}
.modal-top{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid #e5eaf3;background:white;position:relative;z-index:2}
#modal-body{padding:22px;overflow:auto;max-height:calc(90vh - 75px)}
.modal-top #close-modal{margin:0;flex:none}.modal-top strong{color:#26344d}
.review-toggle{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:13px}.classification-basis{font-size:12px!important;background:#f7f9fd;padding:10px;border-radius:6px;color:#718096!important}
.login-shell{max-width:480px;margin:10vh auto;padding:20px}.login-shell .panel{padding:40px}.shared-report{max-width:1120px;margin:32px auto;padding:20px}.shared-report progress{width:60%;accent-color:#2563eb}.shared-report h2{margin-top:32px}.account-bar{padding:12px 20px}.account-bar button{width:100%}#token-value{white-space:pre-wrap;overflow-wrap:anywhere}
/* Branded sign-in */
body.auth-page{background:#f2f5fb}.auth-page .auth-shell{margin:0;max-width:none;min-height:100svh;padding:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr)}.auth-story{position:relative;overflow:hidden;padding:46px clamp(40px,6vw,100px);background:radial-gradient(ellipse at 85% 8%,#5184f4 0,transparent 55%),linear-gradient(145deg,#174ed0,#2863e4 65%,#3c79ec);color:#fff;display:flex;flex-direction:column;justify-content:center}.auth-story:after{content:"";position:absolute;right:-210px;bottom:-320px;width:680px;height:680px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff04;pointer-events:none}.auth-brand{display:flex;align-items:center;gap:13px;color:white;position:relative;z-index:1;font-size:24px;font-weight:750}.auth-logo{height:48px;width:48px;border:1px solid #ffffff55;border-radius:14px;display:grid;place-items:center;background:#ffffff17;font-size:27px}.auth-brand small{display:block;font-size:12px;font-weight:400;color:#d4e2ff;letter-spacing:2px}.auth-intro{margin:62px 0 32px;position:relative;z-index:1}.auth-eyebrow{font-size:12px;letter-spacing:2px;color:#d6e4ff}.auth-intro h1{font-size:clamp(34px,3.6vw,54px);font-weight:700;line-height:1.3;letter-spacing:-1px;margin:16px 0 20px}.auth-intro p{font-size:15px;color:#d8e5ff;line-height:1.9}.auth-preview{max-width:500px;border:1px solid #ffffff3a;background:#ffffff10;border-radius:18px;padding:22px;position:relative;z-index:1;box-shadow:0 24px 70px #0e38952e}.auth-preview-top{display:flex;justify-content:space-between;font-size:13px;font-weight:600}.auth-demo{font-size:10px;padding:2px 8px;border:1px solid #ffffff30;border-radius:5px;color:#dce8ff;font-weight:400}.auth-flow{display:flex;align-items:center;justify-content:space-between;margin:24px 0;font-size:12px;color:#e8efff}.auth-flow span{display:flex;align-items:center;gap:8px}.auth-flow i{font-size:10px;font-style:normal;display:grid;place-items:center;width:26px;height:26px;background:#ffffff1f;border-radius:8px}.auth-flow>b{color:#aac7ff;font-weight:400}.auth-sample{background:white;border-radius:12px;padding:18px;color:#253854}.auth-sample>div:first-child{display:flex;align-items:center;gap:9px;font-size:13px}.auth-sample-icon{display:grid;place-items:center;width:27px;height:27px;background:#edf3ff;color:#2563eb;border-radius:7px}.auth-pill-row{display:flex;gap:7px;margin:14px 0}.auth-pill-row span{font-size:10px;background:#f0f5ff;color:#5374a7;padding:4px 9px;border-radius:5px}.auth-skeleton{display:flex;gap:6px;flex-direction:column}.auth-skeleton i{display:block;height:6px;border-radius:3px;background:#edf1f8;width:100%}.auth-skeleton i:nth-child(2){width:82%}.auth-skeleton i:nth-child(3){width:63%}.auth-sample p{font-size:10px;color:#8796ac;margin:12px 0 0}.auth-story-foot{display:flex;gap:22px;color:#d5e3ff;font-size:12px;margin-top:34px;z-index:1}.auth-story-foot span+span:before{content:"·";margin-right:22px;color:#91b6ff}.auth-access{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:64px 48px;position:relative;background:#f9fbff}.auth-access-inner{width:100%;max-width:380px}.auth-welcome{font-size:12px;color:#3b6de0;letter-spacing:1px}.auth-access h2{font-size:29px;font-weight:700;letter-spacing:-.5px;margin:10px 0}.auth-subtitle{color:#8793a8;font-size:14px;margin:0 0 34px}.auth-access .field{margin-bottom:22px}.auth-access .field label{font-size:12px;font-weight:600;color:#4d5b73;margin-bottom:8px}.auth-access input{height:52px;background:white;border:1px solid #dce4f1;border-radius:9px;padding:0 15px;box-shadow:0 2px 3px #1e3b6b02}.auth-access input:focus{border-color:#3d73eb;box-shadow:0 0 0 3px #2563eb0d}.auth-password{position:relative}.auth-password input{padding-right:65px}.auth-password button{position:absolute;right:7px;top:7px;height:38px;padding:0 10px;background:transparent;color:#7a8aa5;font-size:11px;font-weight:500}.auth-login-help{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8d9bb0;margin:-4px 0 24px}.auth-login-help button{background:transparent;color:#537ac8;padding:0;font-size:11px;font-weight:400}.auth-submit{display:flex;justify-content:space-between;align-items:center;width:100%;height:52px;border-radius:9px;background:#2764e7;box-shadow:0 8px 18px #2563eb22;padding:0 19px;font-size:14px}.auth-submit:hover{background:#1d54cf}.auth-submit span{font-size:19px;font-weight:400}.auth-access #login-error{color:#cf3949;font-size:12px;min-height:20px;margin:13px 0 0}.auth-help-text{font-size:12px;color:#6c7e98;background:#edf3ff;padding:12px;border-radius:8px;margin:10px 0}.auth-trust{margin-top:20px;padding-top:24px;border-top:1px solid #e6edf6;font-size:11px;color:#96a3b7}.auth-access-foot{position:absolute;bottom:28px;font-size:11px;letter-spacing:1px;color:#acb7c9}.inline-record-editor{margin-top:20px;padding-top:18px;border-top:1px solid #e1e8f3}.inline-record-editor .field{max-width:620px}.inline-record-editor .actions{flex-wrap:wrap}@media(max-width:1000px){.auth-story{padding:35px}.auth-intro{margin-top:42px}.auth-intro h1{font-size:38px}.auth-preview{padding:17px}.auth-access{padding:44px 30px}}@media(max-width:760px){.auth-page .auth-shell{grid-template-columns:1fr}.auth-story{padding:28px 26px 34px}.auth-intro{margin:27px 0 0}.auth-intro h1{font-size:30px}.auth-intro p{font-size:13px;margin-bottom:0}.auth-preview,.auth-story-foot{display:none}.auth-brand{font-size:20px}.auth-logo{width:40px;height:40px;font-size:23px}.auth-access{padding:38px 26px 70px;align-items:center}.auth-access h2{font-size:25px}.auth-access-foot{bottom:18px}.auth-subtitle{margin-bottom:26px}}
@media(min-width:761px) and (max-height:820px){.auth-story{padding-top:28px;padding-bottom:28px}.auth-intro{margin-top:32px;margin-bottom:22px}.auth-intro h1{font-size:40px;margin:12px 0 14px}.auth-intro p{font-size:13px;margin-bottom:0}.auth-preview{padding:17px}.auth-flow{margin:17px 0}.auth-sample{padding:14px}.auth-story-foot{margin-top:22px}.auth-access{padding-top:35px;padding-bottom:45px}}
.collector-setup-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;counter-reset:setup;padding:0;margin:24px 0}.collector-setup-steps li{counter-increment:setup;position:relative;border:1px solid #e4ebf6;background:#f8faff;border-radius:10px;padding:18px 18px 18px 55px}.collector-setup-steps li:before{content:counter(setup);position:absolute;left:17px;top:18px;width:25px;height:25px;display:grid;place-items:center;background:#e7efff;color:#2b65df;border-radius:8px;font-weight:700}.collector-setup-steps b{display:block;margin-bottom:7px;color:#33435f}.collector-setup-steps span{display:block;font-size:12px;color:#77869d;line-height:1.9}.collector-setup-steps code{font-size:11px;color:#476b9e;background:#edf2fa;padding:2px 4px;border-radius:3px}@media(max-width:760px){.collector-setup-steps{grid-template-columns:1fr}}
.geometric-logo{background:linear-gradient(145deg,#f0f5f4,#fff)!important;border:1px solid #dce8e4!important;box-shadow:0 4px 12px #164e3d0d;border-radius:12px!important}.geometric-logo svg{width:32px;height:32px;display:block}.auth-logo.geometric-logo svg{width:35px;height:35px}
