/* 工作台样式：定义页面配色、侧栏、聊天与报告布局，以及窄屏和减少动画适配。 */
@font-face{font-family:LocalSans;src:local("Inter"),local("SF Pro Display")}*{box-sizing:border-box}body{margin:0;font-family:LocalSans,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#262532;background:#faf9fc;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.hidden{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:#fff;border-right:1px solid #ebe9f1;display:flex;flex-direction:column;padding:34px 20px 0;z-index:20}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;margin:0 8px 38px;font-size:22px;letter-spacing:-.7px}.brand b{font-weight:450}.brand small{display:block;letter-spacing:1.5px;font-size:8px;color:#a09aaa;margin-top:5px}.brand-mark{width:39px;height:42px;background:#292331;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;letter-spacing:-4px;padding-right:7px}.brand-mark span{color:#e0a9f1}.new-chat{width:100%;border-radius:12px;padding:14px 16px;color:white;background:linear-gradient(105deg,#6c4cef,#ae69da 67%,#dc94b5);font-weight:600;text-align:left;box-shadow:0 4px 12px #8964d51b;display:flex;align-items:center;gap:10px;margin-bottom:25px}.new-chat>span{font-size:22px;font-weight:300}.new-chat kbd{margin-left:auto;font-size:17px;font-family:inherit;font-weight:400;opacity:.7}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;text-align:left;border-radius:9px;color:#777180;font-size:13px;margin-bottom:5px}.nav-item:hover{background:#f8f5fc}.nav-item.active{background:#f3eefb;color:#7b52c7;font-weight:550}.mini-label{margin-left:auto;font-size:10px;border:1px solid #e9e3ee;border-radius:5px;padding:1px 5px;color:#a098aa}.history-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 12px 12px;font-size:11px;color:#aaa3b2;letter-spacing:.5px}.icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:#8d8799;border-radius:7px;font-size:24px}.icon-button:hover{background:#f2eef8}.icon-button svg{width:16px;height:16px}.history-list{overflow:auto;flex:1;padding-bottom:20px}.history-item{padding:13px 12px;text-align:left;border-radius:10px;width:100%;margin:3px 0}.history-item.active{background:#f4f0fa}.history-item strong{display:block;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6}.history-item small{font-size:10px;display:block;color:#aaa2b4;margin-top:5px}.empty-history{font-size:12px;padding:10px 12px}.history-filter{width:100%;margin-bottom:8px!important}.sidebar-bottom{border-top:1px solid #f0edf5;padding-top:12px}.sidebar-bottom .nav-item{font-size:12px}.status-dot{width:6px;height:6px;border-radius:50%;background:#b8afc3;display:inline-block;flex-shrink:0}.status-dot.good{background:#51a889}.status-dot.warning{background:#d7a363}.sidebar-dot,.sidebar-bottom .status-dot{margin-left:auto}.workspace{display:flex;align-items:center;gap:10px;padding:20px 7px 24px;border-top:1px solid #f2eef6;margin-top:8px}.avatar{width:34px;height:34px;background:#ece5f6;color:#8160aa;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:650}.avatar.small{width:29px;height:29px;border-radius:50%;background:#292331;color:white;font-size:10px}.workspace strong{font-size:11px;display:block;font-weight:550}.workspace small{display:block;font-size:9px;color:#aaa2b4;margin-top:4px}.workspace-tag{font-size:8px;padding:3px 5px;background:#f5f2f8;color:#aaa0b7;border-radius:4px;margin-left:auto}.main-shell{margin-left:258px;min-height:100vh}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;border-bottom:1px solid #eeebf3;background:#ffffffa8}.breadcrumb{font-size:11px;color:#aaa3b3}.breadcrumb span{margin:0 13px;color:#d0c9d9}.breadcrumb b{font-weight:500;color:#6f657d}.topbar-right{display:flex;align-items:center;gap:20px}.connection-pill{display:flex;align-items:center;gap:8px;border:1px solid #e9e3ef;background:#fff;padding:8px 12px;border-radius:20px;color:#8a7d9b;font-size:10px}.header-divider{height:18px;width:1px;background:#e8e3ee}.welcome{width:min(860px,calc(100% - 100px));margin:68px auto 30px}.eyebrow{font-size:10px;letter-spacing:2px;color:#9b87b8;display:flex;align-items:center;gap:8px;font-weight:500}.sparkle{font-size:19px;color:#9b72d0}.welcome h1{font-size:45px;line-height:1.5;letter-spacing:-1.2px;font-weight:580;margin:20px 0 15px}.gradient-text{background:linear-gradient(100deg,#7452c5,#bb7aa5);background-clip:text;-webkit-background-clip:text;color:transparent}.welcome-description{font-size:13px;color:#98909f;line-height:1.95;margin-bottom:32px}.start-card{background:#fff;border:1px solid #e8e0f1;border-radius:17px;padding:24px 26px;box-shadow:0 10px 35px #604b8707}.card-topline{display:flex;align-items:center;gap:9px;margin-bottom:23px}.card-topline strong{font-size:13px;font-weight:550}.subtle-icon{color:#9470c2}.subtle-icon svg{width:19px;height:19px}.tiny-pill{font-size:9px;background:#f7f3fc;border:1px solid #eee5f7;border-radius:5px;color:#a18ab9;padding:4px 7px;margin-left:auto}label{display:block;font-size:11px;color:#7f738e;margin-bottom:8px}label span{font-size:10px;color:#b0a7ba;margin-left:4px}input,textarea,select{border:1px solid #ebe6f1;border-radius:8px;background:#fcfbfe;outline:none;color:#3d344b;transition:border-color .2s;padding:12px 14px;font-size:12px}input:focus,textarea:focus{border-color:#a58ac8;box-shadow:0 0 0 3px #a58ac80b}input::placeholder,textarea::placeholder{color:#b7afc1}#subject{width:100%;padding:15px 14px}.secondary-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.secondary-fields input{width:100%;font-size:11px}.start-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:18px;border-top:1px solid #f4f0f8}.start-bottom>span{color:#b2a7be;font-size:10px;display:flex;align-items:center;gap:6px}.tiny-dot{width:4px;height:4px;border-radius:50%;background:#b6a2cb}.primary{background:#8360bc;color:white;border-radius:8px;padding:11px 18px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:20px}.primary:hover{background:#7450af}.primary span{font-size:17px}.secondary{border:1px solid #e8e0f0;border-radius:8px;padding:10px 14px;font-size:11px;color:#857192;background:white}.section-label{display:flex;justify-content:space-between;margin:31px 0 15px;color:#a69aad;font-size:10px}.section-label>span:last-child{color:#b8adbf;font-size:9px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-card{text-align:left;border:1px solid #ebe6f1;background:#ffffffb0;border-radius:12px;padding:20px 18px;position:relative;transition:transform .2s,border-color .2s}.feature-card:hover{transform:translateY(-3px);border-color:#cfc0e3}.feature-icon{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:10px;margin-bottom:15px}.feature-icon svg{width:17px;height:17px}.violet{background:#f0eafa;color:#9a7bc5}.rose{background:#faedf2;color:#bf8ca4}.blue{background:#edf2fb;color:#8c9ac0}.feature-card strong{font-size:12px;font-weight:550}.feature-card p{font-size:10px;color:#a69bae;margin:9px 0 0;line-height:1.6}.card-arrow{position:absolute;top:24px;right:20px;color:#c1b5ce;font-size:14px}.welcome-footnote{margin-top:27px;text-align:center;font-size:9px;color:#b2a8bd;display:flex;align-items:center;justify-content:center;gap:6px}.welcome-footnote svg{width:11px;height:11px}.muted{color:#a397b0}.chat-view{padding-bottom:210px}.conversation-content{max-width:900px;margin:32px auto;padding:0 34px}.user-message{display:flex;justify-content:flex-end;margin:25px 0}.user-message p{background:#eee7f7;max-width:80%;border-radius:14px 14px 3px 14px;padding:15px 20px;line-height:1.8;font-size:13px;white-space:pre-wrap;margin:0}.agent-message{margin:30px 0}.agent-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#5a436f;margin-bottom:18px}.agent-badge{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:9px;background:linear-gradient(140deg,#ae90ce,#d5b4d2);color:#fff;font-size:17px}.agent-label small{font-size:9px;font-weight:400;color:#ac9bb9;margin-left:4px}.pipeline{background:#fff;border:1px solid #eae2f1;border-radius:12px;padding:16px 18px;margin-bottom:20px}.pipeline-head{font-size:11px;color:#8e77a6;display:flex;gap:8px;align-items:center;margin-bottom:10px}.pipeline details{font-size:11px;color:#9b8ba8}.pipeline summary{cursor:pointer}.pipeline ul{list-style:none;padding-left:12px;margin:13px 0 0}.pipeline li{padding:6px 0;font-size:11px;line-height:1.6;border-left:1px solid #e8e0ef;padding-left:13px}.pipeline time{font-size:9px;margin-right:9px;color:#b6a8c2}.spin{display:inline-block;width:10px;height:10px;border:1.5px solid #e6d9f2;border-top-color:#9770bc;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.report-tabs{display:flex;border-bottom:1px solid #e9e2f0;gap:24px;margin:22px 0}.report-tabs button{padding:10px 0;font-size:12px;color:#a292af;border-bottom:2px solid transparent}.report-tabs button.active{color:#8156b2;border-color:#9771c4}.overview{line-height:1.95;font-size:13px;white-space:pre-wrap;color:#65576f}.report-banner{padding:14px 17px;border-radius:10px;background:#f7f0e7;color:#a17b46;font-size:12px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.report-banner.neutral{background:#f0edf7;color:#8e7aa4}.report-meta{font-size:10px;color:#ab9cb6;margin:12px 0}.report-section h3{font-size:14px;margin:25px 0 14px;font-weight:550}.identity-notes{font-size:12px;line-height:1.9;color:#95839f;padding:13px 16px;background:#f4f0f8;border-radius:9px}.risk-event{border:1px solid #ebe3f0;border-radius:11px;background:white;padding:19px 20px;margin:13px 0}.event-head{display:flex;align-items:center;gap:9px}.event-head h4{font-size:13px;margin:0;font-weight:550}.tag{font-size:9px;border-radius:4px;padding:4px 6px;background:#f4eef9;color:#9b7db5;white-space:nowrap}.tag.high{background:#f9eaea;color:#b87474}.tag.medium{background:#faf0e1;color:#b5955c}.risk-event p{font-size:12px;line-height:1.9;color:#89788f}.response-line{background:#faf8fc;border-radius:7px;padding:10px 12px!important;font-size:11px!important}.evidence-quote{border-left:2px solid #c8b4dc;padding:9px 13px;color:#9b89a6;font-size:11px;line-height:1.8;margin:12px 0;white-space:pre-wrap}.source-link{color:#8e68b6;font-size:10px;line-height:1.8;word-break:break-all;text-decoration:none}.source-link:hover{text-decoration:underline}.gaps-list{padding-left:18px;font-size:12px;color:#9b89a6;line-height:2}.source-card{border:1px solid #e8e1ef;background:white;border-radius:10px;padding:17px 19px;margin:12px 0}.source-card h4{font-size:12px;line-height:1.6;margin:0 0 7px;font-weight:550}.source-card p{font-size:11px;color:#9b89a6;line-height:1.8}.source-card details{font-size:11px;color:#9b89a6;margin-top:12px}.source-card pre{white-space:pre-wrap;line-height:1.8;max-height:350px;overflow:auto;font-family:inherit;font-size:11px}.source-meta{font-size:9px;color:#b19abc;margin-top:9px}.review-card{padding:20px;border-radius:12px;border:1px solid #e5daee;background:white;margin-top:26px}.review-card h3{margin-top:0;font-size:13px}.review-controls{display:flex;gap:10px;margin-bottom:12px}.review-card textarea{width:100%;margin-bottom:12px}.review-status{font-size:11px;color:#96839e;margin-top:10px}.report-actions{display:flex;gap:9px;margin-top:20px}.composer-wrap{position:fixed;bottom:0;left:258px;right:0;padding:17px 34px 12px;background:linear-gradient(transparent,#faf9fc 15%);z-index:10}.composer{max-width:832px;margin:auto;border:1px solid #e8dff1;background:white;border-radius:15px;box-shadow:0 5px 30px #74618e08;padding:16px 18px 12px}.composer textarea{width:100%;border:0;background:none;padding:0;box-shadow:none;resize:none;min-height:42px;font-size:12px}.composer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.toggle-label{display:flex;align-items:center;gap:6px;font-size:10px;color:#a18dad;margin:0}.toggle-label input{accent-color:#9872bf;width:12px;height:12px}.toggle-label span{font-size:9px}.send-button{background:#9470c1;border-radius:50%;width:32px;height:32px;color:#fff;font-size:22px;font-weight:300}.composer-wrap>p{text-align:center;font-size:9px;color:#b7aabf;margin:9px 0 0}.skills-view{max-width:860px;margin:65px auto;padding:0 30px}.skills-view h1{font-size:32px;font-weight:550;margin:20px 0}.skill-tile{border:1px solid #e8e0f0;border-radius:13px;background:white;padding:23px;margin:18px 0}.skill-tile h3{font-size:14px;font-weight:550}.skill-tile p{font-size:12px;line-height:1.9;color:#9a88a6}.skill-tile .tag{float:right}dialog{border:1px solid #e8dff0;border-radius:19px;padding:28px;max-width:540px;width:calc(100% - 40px);box-shadow:0 24px 90px #33224d25;color:#44324f}dialog::backdrop{background:#21132e40;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start}.dialog-head h2{font-size:22px;font-weight:550;margin:10px 0 5px}dialog>.muted{font-size:12px}.connection-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid #f1ebf6;font-size:12px}.connection-row small{margin-left:auto;color:#a796b3;font-size:10px}.setup-note{background:#f8f4fc;padding:17px;border-radius:10px;margin-top:20px;font-size:11px;line-height:1.8}.setup-note strong{font-weight:550}.setup-note code{display:block;background:#ede6f5;padding:5px 8px;border-radius:4px;font-size:10px;margin:6px 0;word-break:break-all}.setup-note p code{display:inline;padding:1px 5px}.dialog-actions{display:flex;justify-content:space-between;margin-top:25px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#49365d;color:white;border-radius:10px;padding:13px 20px;font-size:12px;box-shadow:0 5px 25px #39214330;z-index:100;max-width:80vw;line-height:1.6}.error-box{padding:18px;background:#fbf0f0;border:1px solid #f0dddd;border-radius:10px;color:#b27c7c;line-height:1.9;font-size:12px}.error-text{color:#b47a7a;font-size:12px}.login-brand{color:#9b75c5;font-weight:600;margin-bottom:30px}#login-form{display:flex;flex-direction:column;gap:16px;margin-top:25px}.mobile-menu{display:none}.query-text{font-family:monospace;font-size:10px;color:#ac97bd;line-height:1.8;word-break:break-word}.view-empty{color:#ac9ab8;font-size:12px;padding:25px 0}.report-finish{font-size:10px;color:#b6a7bf;margin-top:18px}.source-count{font-size:10px;color:#9c85ad}.review-controls select{flex:1}.connection-warning{font-size:11px;background:#f6f0fa;border-radius:8px;padding:13px;color:#9c7bb0;margin:16px 0;line-height:1.8}
@media(min-width:1600px){.welcome{margin-top:95px}.welcome h1{font-size:50px}.start-card{padding:28px 30px}.feature-card{padding:25px 21px}.welcome-description{font-size:14px}}@media(max-width:1100px){.sidebar{width:222px;padding-left:14px;padding-right:14px}.main-shell{margin-left:222px}.composer-wrap{left:222px}.welcome{width:calc(100% - 60px);margin-top:48px}.welcome h1{font-size:38px}.secondary-fields{grid-template-columns:1fr}.topbar{padding:0 26px}.feature-card p{font-size:9px}.start-bottom>span{font-size:9px}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:10px 0 40px #33224d10}.sidebar.open{transform:translateX(0)}.main-shell{margin-left:0}.composer-wrap{left:0;padding:15px 16px 12px}.mobile-menu{display:inline-flex;margin-right:8px}.topbar{height:65px;padding:0 16px}.topbar-left{display:flex;align-items:center}.topbar-right{gap:12px}.breadcrumb{font-size:10px}.breadcrumb>span{margin:0 8px}.connection-pill{font-size:9px;padding:7px 9px}.header-divider{display:none}.welcome{width:calc(100% - 36px);margin-top:36px}.welcome h1{font-size:34px}.eyebrow{font-size:8px;letter-spacing:1.3px}.welcome-description{font-size:12px}.start-card{padding:20px}.secondary-fields{gap:14px;margin-top:16px}.start-bottom{align-items:flex-end;gap:8px}.start-bottom>span{max-width:135px;line-height:1.7}.primary{padding:10px 14px;gap:12px;font-size:11px}.feature-grid{gap:9px}.feature-card{padding:15px 11px}.feature-card strong{font-size:11px}.feature-card p{line-height:1.8}.feature-icon{width:28px;height:28px;margin-bottom:12px}.card-arrow{right:10px;top:18px}.conversation-content{padding:0 18px}.event-head{flex-wrap:wrap}.toggle-label .muted{display:none}.composer-wrap>p{font-size:8px}.welcome-footnote{font-size:8px;line-height:1.8}.skill-tile{padding:18px}.report-banner{font-size:11px}.user-message p{max-width:90%}.review-controls{flex-direction:column}}

/* KOL Lens — editorial research workspace */
:root{--ink:#1c3436;--teal:#22665d;--paper:#f6f5f0;--line:#e1e4dd;--muted:#77827c}
body{background:var(--paper);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}
.sidebar{width:246px;background:#193638;border-right:0;padding:30px 18px 0;color:#e2eae5}.brand{margin:0 10px 33px;color:#fff;letter-spacing:-1px;font-size:24px}.brand b{font-weight:350}.brand small{color:#8ea9a4;font-size:8px;letter-spacing:1.5px}.brand-mark{background:#dbe6bd;color:#203b36;border-radius:11px;width:38px;height:40px}.brand-mark span{color:#557c61}.new-chat{background:#e0eacb;color:#203d35;box-shadow:none;border-radius:8px;padding:13px 15px;margin-bottom:24px}.new-chat:hover{background:#edf3de}.nav-item{color:#a8bdb7;font-size:12px;padding:13px 12px}.nav-item.active{background:#2b4848;color:#e7efde}.nav-item:hover{background:#294647;color:#fff}.mini-label{border-color:#47605c;color:#bdcdc1}.history-heading{color:#8fa7a0;font-size:10px;margin-top:32px;text-transform:uppercase}.sidebar .icon-button{color:#a9b9af}.sidebar .icon-button:hover{background:#335252}.history-item{padding:12px;border-radius:7px;color:#c7d5ce}.history-item.active{background:#2c4949;border-left:2px solid #d4dfb9;padding-left:10px}.history-item:hover{background:#254242}.history-item small,.empty-history{color:#89a59c}.sidebar-bottom{border-color:#35504d}.workspace{border-color:#35504d;padding-bottom:22px}.workspace small{color:#91aaa0}.workspace-tag{background:#324e49;color:#b0c4ad}.avatar{background:#d9e5c8;color:#355749;border-radius:9px}.sidebar .status-dot.good{background:#c9dfa6}.sidebar .history-filter{background:#294647;color:#fff;border-color:#44615a}.main-shell{margin-left:246px}.topbar{height:72px;background:#f6f5f0e8;border-bottom:1px solid var(--line);padding:0 42px}.breadcrumb{color:#8b948c;font-size:11px}.breadcrumb b{color:#40574e}.breadcrumb span{color:#b5beb3}.connection-pill{border-color:#dde4d9;border-radius:6px;font-size:10px;color:#5f766a;background:#fbfcf8}.avatar.small{background:#e3e9d9;color:#3a5143;border-radius:8px}.header-divider{background:#dce2d7}.welcome{width:min(1040px,calc(100% - 84px));margin:33px auto 32px}.welcome-masthead{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.8px;color:#718277;border-bottom:1px solid #dce2d6;padding-bottom:15px}.edition-label{font-size:8px;letter-spacing:1.2px;color:#939e91}.hero-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;padding:34px 0 30px}.eyebrow{font-size:10px;letter-spacing:1px;color:#547368}.hero-line{height:1px;width:22px;background:#658d75}.welcome h1{font-size:clamp(34px,3.3vw,51px);line-height:1.38;letter-spacing:-1.9px;font-weight:650;margin:17px 0 17px;color:#243e37}.gradient-text{color:#648368;background:none;position:relative}.welcome-description{font-size:12px;line-height:1.95;color:#7d897e;margin:0 0 22px}.platform-strip{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:9px}.platform-strip>span:not(:first-child){border:1px solid #dbe0d4;border-radius:4px;padding:5px 7px;color:#607361;background:#ffffff65}.platform-caption{font-size:9px;color:#8a9485;margin-right:3px}.research-visual{background:#edf0e5;border:1px solid #dce2d2;border-radius:11px;padding:20px 22px;position:relative;box-shadow:8px 8px 0 #e8ebdf70;transform:rotate(-1deg)}.visual-heading{display:flex;align-items:center;gap:9px;color:#405b4a;font-size:11px;padding-bottom:15px;border-bottom:1px solid #d8dfce}.visual-icon svg{width:18px;height:18px}.visual-index{margin-left:auto;font-size:9px;font-family:monospace;letter-spacing:1px;color:#7f9277}.process-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #dce3d3}.process-number{font-family:monospace;font-size:10px;color:#72916d;align-self:flex-start;padding-top:3px}.process-row strong{font-size:11px;font-weight:550;color:#425b46}.process-row small{display:block;font-size:9px;color:#8b9881;margin-top:6px}.process-symbol{margin-left:auto;color:#829876;font-size:17px}.visual-footer{display:flex;align-items:center;gap:6px;font-size:8px;color:#7c9073;margin-top:15px}.visual-footer>span:last-child{margin-left:auto;letter-spacing:.5px;font-size:6px}.tiny-dot{background:#78956b}.start-card{border:1px solid #dce2d6;border-radius:11px;background:#fffefb;box-shadow:0 5px 24px #263d2c04;padding:22px 25px}.card-topline{margin-bottom:20px}.card-topline strong{font-size:13px;font-weight:600}.subtle-icon{color:#537a64}.tiny-pill{font-size:8px;letter-spacing:1px;background:#f2f4ec;color:#85947c;border-color:#e7ebdf;border-radius:4px}label{color:#617264;font-size:11px}label span{color:#98a28f;font-size:9px}input,textarea,select{background:#fafbf7;border-color:#e0e5d9;border-radius:6px;color:#334c3b;font-size:12px}input:focus,textarea:focus{border-color:#739a7a;box-shadow:0 0 0 3px #71957014}input::placeholder,textarea::placeholder{color:#a7b09e}#subject{padding:14px}.secondary-fields{margin-top:17px;gap:20px}.secondary-fields input{font-size:11px}.start-bottom{border-color:#eef0e7;margin-top:19px;padding-top:17px}.start-bottom>span{color:#8c9983;font-size:9px}.primary{background:#2b6657;border-radius:6px;padding:12px 21px;font-size:11px;gap:28px}.primary:hover{background:#1f5145;box-shadow:0 3px 12px #204c4020}.primary:active{transform:translateY(1px)}.secondary{color:#5d7965;border-color:#dce5d7;border-radius:6px}.secondary:hover{background:#f2f5ed}.section-label{margin:27px 0 12px;font-size:10px;color:#6c7e6a}.section-label>span:last-child{font-size:9px;color:#9aa58f}.feature-grid{gap:13px}.feature-card{border-color:#e0e5d8;border-radius:8px;background:#ffffff60;padding:18px;min-height:122px}.feature-card:hover{background:#fffefa;border-color:#9db397;transform:translateY(-2px);box-shadow:0 8px 20px #344d3010}.feature-card strong{font-size:12px;color:#435d46}.feature-card p{font-size:10px;color:#89957f;line-height:1.8}.feature-icon{border-radius:6px;width:29px;height:29px;margin-bottom:12px}.violet{background:#e8eedf;color:#648363}.rose{background:#f0e6dd;color:#a48062}.blue{background:#e4ecea;color:#6b8a88}.card-arrow{color:#8f9e84;right:17px;top:21px}.welcome-footnote{color:#9da68f;margin-top:22px}.muted{color:#899580}.composer-wrap{left:246px;background:linear-gradient(transparent,var(--paper) 20%)}.composer{border-radius:12px;border-color:#dce4d5;box-shadow:0 8px 30px #213d3110;background:#fffefa}.composer textarea{color:#3c5546;font-size:13px}.toggle-label{color:#7c8d72}.toggle-label input{accent-color:#477a5d}.send-button{background:#326e59;border-radius:9px}.composer-wrap>p{color:#9ba68e}.agent-label{color:#375f48}.agent-badge{background:#426f58;border-radius:7px}.agent-label small{color:#91a085}.user-message p{background:#e7eddf;color:#405840}.pipeline{border-color:#dfe6d8;border-radius:9px;background:#fffefa}.pipeline-head{color:#68805c}.pipeline details,.pipeline li{color:#8a977e}.pipeline li{border-color:#dfe6d6}.report-banner{border-left:3px solid #b5925f;background:#f2ecdf;color:#8d7046;border-radius:5px;padding:17px}.report-banner.neutral{background:#eaf0e1;color:#667e54;border-color:#9ab17e}.report-meta,.report-finish{color:#8c9a80}.report-tabs{border-color:#dae3d2;gap:28px}.report-tabs button{color:#91a082}.report-tabs button.active{color:#38654d;border-color:#477a55;font-weight:600}.overview{font-size:14px;color:#54684b;line-height:2}.report-section h3{font-size:15px;color:#3b573e;font-weight:600}.identity-notes{background:#edf1e5;color:#7d8f70;border-radius:6px}.risk-event{border-color:#dee5d5;border-radius:8px;padding:22px;background:#fffefa}.event-head h4{font-size:14px;color:#3d573e}.risk-event p{color:#7a8a6e;font-size:13px}.tag{background:#edf1e5;color:#7e936e;border-radius:4px}.tag.high{background:#f4e8df;color:#ab7657}.tag.medium{background:#f1ecda;color:#a08b4e}.response-line{background:#f3f5ec}.evidence-quote{border-color:#9db68a;color:#819274;background:#f7f8f1;padding:12px 15px;border-radius:0 5px 5px 0}.source-link{color:#527c5b}.source-card{border-color:#dfe5d6;background:#fffefa;border-radius:8px}.source-card p,.source-card details,.gaps-list{color:#829374}.source-card h4{color:#496443}.source-meta,.source-count{color:#94a184}.review-card{border-color:#d9e3cc;background:#fcfdf7;border-radius:9px}.review-status{color:#7d956a}.skills-view h1{color:#2d4d3c}.skill-tile{border-color:#dfe5d5;border-radius:9px;background:#fffefa}.skill-tile p{color:#829373}.skill-tile h3{color:#45623f}dialog{border-color:#dce4d4;border-radius:13px;color:#34503c;background:#fffefa}dialog::backdrop{background:#152d2845}.setup-note{background:#f0f4e8}.setup-note code{background:#e6eddc}.connection-row{border-color:#e9eedf}.connection-row small{color:#8d9d7f}.toast{background:#274e3e}.login-brand{color:#608b5c}.spin{border-color:#dbe6d0;border-top-color:#5b8b52}.query-text{color:#78916a}.connection-warning{background:#f1f3e6;color:#81956a}
@media(min-width:1600px){.welcome{margin-top:42px}.welcome h1{font-size:54px}.hero-layout{padding:42px 0 36px}.start-card{padding:26px 29px}.feature-card{padding:21px}}
@media(max-width:1100px){.sidebar{width:220px}.main-shell{margin-left:220px}.composer-wrap{left:220px}.welcome{width:calc(100% - 52px);margin-top:28px}.topbar{padding:0 26px}.hero-layout{gap:23px}.welcome h1{font-size:37px}.research-visual{padding:16px}.visual-footer>span:last-child{display:none}.secondary-fields{grid-template-columns:1fr 1fr}.secondary-fields label{line-height:1.8;min-height:30px}.feature-card{padding:16px 13px}.feature-card p{font-size:9px}}
@media(max-width:850px){.hero-layout{grid-template-columns:1fr;padding-top:28px;gap:24px}.research-visual{transform:none;display:none}.welcome h1{font-size:43px}.welcome-description{margin-bottom:18px}.hero-copy{padding-bottom:4px}.secondary-fields{grid-template-columns:1fr}.secondary-fields label{min-height:0}}
@media(max-width:760px){.sidebar{width:245px}.main-shell{margin-left:0}.composer-wrap{left:0}.welcome{width:calc(100% - 36px);margin-top:22px}.topbar{height:64px;padding:0 16px}.edition-label{display:none}.hero-layout{padding-top:25px;padding-bottom:25px}.welcome h1{font-size:40px;letter-spacing:-1px}.welcome-masthead{font-size:8px}.eyebrow{font-size:9px}.start-card{padding:20px}.tiny-pill{font-size:7px;letter-spacing:.6px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:0;padding:16px 17px 16px 62px}.feature-icon{position:absolute;left:17px;top:18px}.feature-card p{font-size:10px;margin-top:5px}.card-arrow{top:20px}.welcome-footnote{font-size:9px}.connection-pill{font-size:9px}.start-bottom>span{font-size:9px}.primary{padding:11px 15px;gap:16px}.report-actions{flex-wrap:wrap}.platform-strip{gap:7px}.composer-bottom{gap:10px}.toggle-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.composer-bottom{justify-content:flex-end}

/* Compact, single-surface conversation composer. */
.composer-wrap{padding:22px 30px 15px;background:linear-gradient(transparent,var(--paper) 32%)}
.composer{max-width:940px;padding:14px 20px 12px;border:1px solid #dbe3d7;border-radius:20px;background:#fffefc;box-shadow:0 8px 32px #253e3010;transition:border-color .2s,box-shadow .2s}
.composer:focus-within{border-color:#83a48b;box-shadow:0 0 0 3px #739d7910,0 10px 38px #253e3012}
.composer textarea,.composer textarea:focus{display:block;width:100%;height:48px;min-height:48px;max-height:180px;padding:0 2px 8px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;font-family:inherit;font-size:16px;line-height:1.85;letter-spacing:.1px;resize:none;overflow-y:hidden;color:#294b3d}
.composer textarea::placeholder{color:#9ba99b;font-size:15px}
.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:36px;margin-top:4px}
.composer-hint{font-size:10px;letter-spacing:.2px;color:#a0ac9d;line-height:1.6}
.composer-hint span{margin:0 7px;color:#c3ccbe}
.send-button{flex-shrink:0;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#2f6955;box-shadow:0 3px 9px #315a3c16;transition:background .2s,transform .2s}
.send-button svg{width:21px;height:21px;stroke-width:1.9}
.send-button:hover:not(:disabled){background:#205240;transform:translateY(-1px)}
.send-button:disabled{background:#9bb8a8;opacity:.8;box-shadow:none}
.composer-wrap>p{margin-top:11px;font-size:9px;color:#a1ad98;letter-spacing:.3px}
.chat-view{padding-bottom:310px}
@media(max-width:760px){.composer-wrap{padding:20px 12px 12px}.composer{padding:14px 16px 12px;border-radius:20px}.composer textarea,.composer textarea:focus{font-size:16px;min-height:48px}.composer textarea::placeholder{font-size:14px}.composer-hint{font-size:9px;max-width:230px}.send-button{width:36px;height:36px}.composer-wrap>p{font-size:8px;letter-spacing:0}.chat-view{padding-bottom:300px}}

/* Independent session rail and content viewport. Only these two lists scroll. */
:root { --sidebar-expanded-width: 246px; --sidebar-width: var(--sidebar-expanded-width); --sidebar-rail-width: 88px; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
}
.sidebar {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  inset: auto;
  width: 100%;
  min-width: 0;
  height: 100dvh;
  overflow: hidden;
  transform: none;
  visibility: visible;
  padding: 24px 18px 0;
  transition: none;
  box-shadow: none;
}
.sidebar > :not(.history-list) { flex-shrink: 0; }
.sidebar-header { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; }
.sidebar-header .brand { flex: 1; min-width: 0; margin: 0; gap: 9px; font-size: 22px; }
.sidebar-header .brand-mark { width: 33px; height: 36px; flex-shrink: 0; font-size: 29px; }
.sidebar-header .brand small { font-size: 6px; letter-spacing: 1.1px; white-space: nowrap; }
.sidebar-collapse { flex-shrink: 0; }
.sidebar-collapse svg { width: 19px; height: 19px; }
.brand-copy { min-width: 0; }
.new-chat .nav-label { font-size: 14px; }
.new-chat > [data-icon] { display: flex; align-items: center; }
.source-scope-note { margin: 12px 0 0; font-size: 10px; line-height: 1.8; color: #8a9485; }
.history-copy { display: block; min-width: 0; }
.history-icon { display: none; align-items: center; justify-content: center; }
.history-list { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4f6a61 transparent; }
.history-list .history-item { min-width: 0; }
.main-shell {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) auto;
  margin-left: 0;
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  overflow: hidden;
  container-type: inline-size;
}
.topbar { grid-row: 1; min-width: 0; height: 72px; position: relative; z-index: 10; }
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.topbar-right { flex-shrink: 0; }
.breadcrumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-message p, .overview { overflow-wrap: anywhere; }
#main { grid-row: 2; min-height: 0; min-width: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding: 24px; }
.chat-view { padding-bottom: 20px; }
.conversation-content { margin-top: 26px; margin-bottom: 24px; }
.composer-wrap { grid-row: 3; position: relative; inset: auto; width: 100%; padding: 14px 30px 12px; background: var(--paper); }
.composer { max-width: 940px; }
body.sidebar-collapsed { --sidebar-width: var(--sidebar-rail-width); }
body.sidebar-collapsed .sidebar { padding: 24px 10px 0; }
body.sidebar-collapsed .sidebar-header { gap: 4px; justify-content: space-between; }
body.sidebar-collapsed .sidebar-header .brand { flex: none; }
body.sidebar-collapsed .sidebar-header .brand-mark { width: 28px; height: 32px; font-size: 26px; }
body.sidebar-collapsed .sidebar-collapse { width: 28px; height: 28px; }
body.sidebar-collapsed .brand-copy,
body.sidebar-collapsed .nav-label,
body.sidebar-collapsed .mini-label,
body.sidebar-collapsed .new-chat kbd,
body.sidebar-collapsed .history-copy,
body.sidebar-collapsed .history-heading > *,
body.sidebar-collapsed .history-filter,
body.sidebar-collapsed .empty-history,
body.sidebar-collapsed .workspace-copy,
body.sidebar-collapsed .sidebar-bottom .status-dot { display: none; }
body.sidebar-collapsed .new-chat { width: 48px; height: 48px; padding: 0; justify-content: center; margin: 0 auto 22px; border-radius: 15px; }
body.sidebar-collapsed .new-chat svg { width: 22px; height: 22px; }
body.sidebar-collapsed .nav-item { width: 44px; height: 44px; padding: 0; margin: 5px auto; justify-content: center; gap: 0; }
body.sidebar-collapsed .nav-item svg { width: 21px; height: 21px; }
body.sidebar-collapsed .history-heading { height: 0; padding: 0; margin: 18px 0 12px; border-top: 1px solid #35504d; }
body.sidebar-collapsed .history-list { padding-bottom: 12px; }
body.sidebar-collapsed .history-item { display: flex; align-items: center; justify-content: center; width: 46px; height: 44px; padding: 0; margin: 5px auto; border-left: 0; }
body.sidebar-collapsed .history-icon { display: flex; }
body.sidebar-collapsed .history-icon svg { width: 20px; height: 20px; }
body.sidebar-collapsed .workspace { justify-content: center; padding: 16px 0 22px; }

@media (max-width: 760px) {
  .main-shell { grid-template-rows: 64px minmax(0, 1fr) auto; }
  .topbar { height: 64px; }
  .topbar-left { gap: 8px; }
  .composer-wrap { padding: 10px 12px 12px; }
  .chat-view { padding-bottom: 12px; }
}
@media (max-width: 600px) {
  :root { --sidebar-expanded-width: 180px; }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .sidebar-header { gap: 4px; }
  .sidebar-header .brand { font-size: 17px; gap: 6px; }
  .sidebar-header .brand small { display: none; }
  .sidebar-header .brand-mark { width: 27px; height: 31px; font-size: 25px; }
  .sidebar-header .sidebar-collapse { width: 25px; }
}
@container (max-width: 440px) {
  .welcome { width: calc(100% - 28px); }
  .welcome h1 { font-size: 30px; }
  .hero-layout, .secondary-fields { grid-template-columns: 1fr; }
  .research-visual, .edition-label, .tiny-pill { display: none; }
  .start-card { padding: 16px; }
  .start-bottom { flex-wrap: wrap; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar-right { gap: 8px; }
  .header-divider, .avatar.small { display: none; }
  .breadcrumb { font-size: 0; }
  .breadcrumb > span { display: none; }
  .breadcrumb b { font-size: 11px; }
  .conversation-content { padding: 0 14px; }
  .overview { font-size: 13px; }
  .composer { padding: 16px 14px 12px; }
  .composer-hint { max-width: 140px; }
  input, textarea { min-width: 0; }
}

.secondary-fields > div:only-child { grid-column: 1 / -1; }
/* Image evidence stays separate from textual allegations. */
.visual-review{margin:22px 0;padding:20px;border:1px solid #dce3d5;border-radius:12px;background:#f1f4ea;line-height:1.8;color:#5c7051}
.visual-review.visual-warning{border-color:#dfc5a4;background:#faf3e8;color:#795f3c}
.visual-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.visual-review-head h3{margin:0!important;font-size:15px}.visual-review>p{font-size:13px;margin:12px 0}.visual-review .source-meta{font-size:11px}
.visual-finding{display:grid;grid-template-columns:116px minmax(0,1fr);gap:18px;padding:18px 0;border-top:1px solid #e4d7c1;margin-top:16px}
.visual-finding img{display:block;width:116px;height:154px;object-fit:contain;background:#fffdf8;border-radius:8px;border:1px solid #e7ddce}
.visual-finding strong{font-size:14px;color:#88633e}.visual-finding p{font-size:13px;margin:8px 0;line-height:1.85}.visual-finding small{display:block;font-size:10px;color:#8c8e79;margin-top:8px}.visual-finding .source-link{font-size:12px}
@container(max-width:440px){.visual-review{padding:15px}.visual-finding{grid-template-columns:80px minmax(0,1fr);gap:12px}.visual-finding img{width:80px;height:116px}}

/* Recoverable interruptions keep the next action clear and the raw material folded. */
.investigation-interruption{padding:24px;border:1px solid #e4d9c6;border-radius:12px;background:#faf6ee;color:#5f624e}
.interruption-heading{display:flex;align-items:center;gap:12px}.interruption-heading>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eee2cb;color:#91734c;font-weight:600}.interruption-heading h3{margin:0;font-size:17px;color:#455747}
.investigation-interruption>p{line-height:1.9;margin:16px 0 8px;font-size:14px}.investigation-interruption .interruption-note{font-size:12px;color:#88917c;margin-top:6px}.investigation-interruption .report-actions{margin:20px 0 0}
.saved-materials{margin-top:20px;border:1px solid #e1e6d9;border-radius:10px;padding:16px 20px;background:#fffefa}.saved-materials>summary{cursor:pointer;font-size:12px;color:#647a61}.saved-materials ul{padding:0;list-style:none}.saved-materials li{padding:12px 0;border-top:1px solid #ebeee3;font-size:12px;overflow-wrap:anywhere}
.visual-next-step{border-top:1px solid #dce3d5;margin-top:18px;padding-top:16px}.visual-next-step>strong{font-size:13px;color:#486443}.visual-next-step>p{font-size:12px;color:#849178}.profile-candidate{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0;flex-wrap:wrap}.profile-candidate .source-link{font-size:13px}.profile-candidate button{flex-shrink:0}

.visual-samples{margin-top:18px;padding-top:14px;border-top:1px solid #dce3d5}.visual-samples>summary{cursor:pointer;font-size:12px;color:#627b5b}.sample-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:12px;margin-top:16px}.sample-gallery>div{min-width:0}.sample-gallery img{display:block;width:100%;height:130px;object-fit:contain;background:#fffefa;border:1px solid #dce3d5;border-radius:7px}.sample-gallery .source-link{font-size:10px;display:inline-block;margin-top:8px}.sample-gallery p{font-size:10px;line-height:1.8;color:#839078;max-height:76px;overflow:auto}

/* Import stays inside the existing investigation entry. */
.start-actions{display:flex;align-items:center;gap:18px}.import-link{font-size:12px;color:#527960;text-underline-offset:4px;padding:8px 0}.import-link:hover{text-decoration:underline}
#import-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px}
#import-dialog .muted{font-size:12px;line-height:1.8}#batch-input{display:block;width:100%;padding:12px;border:1px solid #dce4d4;border-radius:8px;font:inherit;font-size:12px;resize:vertical;margin-top:8px;line-height:1.8}
.import-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:20px}.import-file-label{display:inline-flex;align-items:center;cursor:pointer;padding:10px 16px;border:1px solid #dce5d7}.import-file{max-width:100%;font-size:12px}.import-file::file-selector-button{display:none}.import-file-label:has(+input:focus-visible){outline:2px solid #2b6657;outline-offset:3px}
.import-table-wrap{overflow:auto;border:1px solid #dce4d4;border-radius:8px;background:#fffefa}.import-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.import-table th{background:#f0f4e8;color:#62775b;font-weight:500;padding:12px 16px;white-space:nowrap}.import-table td{padding:12px 16px;border-top:1px solid #e8eddf;overflow-wrap:anywhere;min-width:110px}.import-table td:last-child{max-width:340px}.import-table button{padding:0;color:#2b6657;text-decoration:underline;text-underline-offset:3px}.import-table button:disabled{text-decoration:none}.import-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:18px;border-top:1px solid #e8eddf}.import-footer .primary{flex-shrink:0}.batch-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}#import-preview .import-table-wrap{max-height:210px}#import-error:empty,#import-filename:empty{display:none}
@media(max-width:600px){#import-dialog{padding:20px}.import-footer{align-items:stretch;flex-direction:column}.start-actions{gap:14px;flex-wrap:wrap}.start-bottom .start-actions{margin-left:auto}.import-toolbar{gap:12px}.import-file{width:100%}}
.import-toolbar{position:relative}.import-file{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.import-toolbar .import-file-label{margin:0;width:auto}.import-toolbar .import-link{margin-left:auto}#import-dialog{max-width:680px}

/* 账号设置与管理 */
#account-fields{display:grid;gap:16px}
#account-fields label{display:grid;gap:7px;font-size:13px}
#account-fields input{width:100%;min-width:0;box-sizing:border-box}
#account-fields .muted{margin:0;line-height:1.6}
#account-dialog{width:min(540px,calc(100vw - 32px));box-sizing:border-box}
#accounts-view .import-table-wrap{margin-top:24px}
#accounts-view .account-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
#accounts-view .account-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 13px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s}
#accounts-view .account-action-reset{color:#315f51;background:#f0f5ef;border-color:#dce6d9}
#accounts-view .account-action-reset:hover{background:#e3eddf;border-color:#becfba}
#accounts-view .account-action-disable{color:#a65c43;background:#fcf2ec;border-color:#efdbcf}
#accounts-view .account-action-disable:hover{background:#f6e4d8;border-color:#ddbca8}
#accounts-view .account-action-enable{color:#315f51;background:#eaf3e9;border-color:#cee0c9}
#accounts-view .account-action-enable:hover{background:#dcebd7;border-color:#b2c9aa}
#accounts-view .account-action:focus-visible{outline:2px solid #416e5c;outline-offset:3px}
#accounts-view .account-action:disabled{opacity:.5;cursor:wait}

/* 顶栏退出入口 */
.logout-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:36px;border:1px solid #d9e2d3;border-radius:9px;background:#fffefa;color:#526c5c;font-size:12px;white-space:nowrap;transition:background .15s,border-color .15s}
.logout-button svg{width:16px;height:16px}
.logout-button:hover{background:#edf2e7;border-color:#b9cbb0}
.logout-button:focus-visible{outline:2px solid #416e5c;outline-offset:3px}
@media(max-width:600px){.logout-button{padding:7px 9px;gap:5px;font-size:11px}}

/* 左下角账号菜单 */
.account-area{position:relative;padding-top:10px}
.sidebar .account-menu-toggle{width:100%;border:1px solid transparent;border-radius:12px;margin:0 0 14px;padding:11px 10px;text-align:left;transition:background .16s,border-color .16s}
.sidebar .account-menu-toggle:hover,.sidebar .account-menu-toggle[aria-expanded="true"]{background:#244644;border-color:#3d5851}
.account-menu-toggle:focus-visible{outline:2px solid #d6e5bd;outline-offset:2px}
.account-menu-toggle .workspace-copy{min-width:0;flex:1}
.account-menu-toggle .workspace-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-chevron{width:17px;height:17px;color:#a9bdb3;flex-shrink:0;transition:transform .16s}
.account-menu-toggle[aria-expanded="true"] .account-menu-chevron{transform:rotate(180deg)}
.account-menu{position:absolute;bottom:calc(100% + 8px);left:0;width:276px;max-width:calc(100vw - 32px);padding:9px;background:#fffefa;border:1px solid #dce4d5;border-radius:16px;box-shadow:0 16px 48px #0e272933,0 2px 8px #0e272914;color:#29483d;z-index:50}
.account-menu-balance{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 3px 10px;padding:16px;background:#eef3e7;border:1px solid #e1e8d7;border-radius:11px}
.account-menu-eyebrow{display:block;font-size:12px;color:#70836a}
.account-menu-balance strong{display:block;margin:6px 0 4px;font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.account-menu-balance small{display:block;color:#8a977f;font-size:11px;line-height:1.5}
.balance-emblem{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:#6e8961;background:#e1ebd4}
.balance-emblem svg{width:23px;height:23px}
.account-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:11px 13px;border-radius:8px;text-align:left;font-size:13px;color:#456052;line-height:1.5}
.account-menu-item:hover,.account-menu-item:focus-visible{background:#eef2e9;outline:none}
.account-menu-item:focus-visible{box-shadow:inset 0 0 0 2px #b1c3a7}
.account-menu-item svg{width:18px;height:18px;flex-shrink:0;color:#7b8f78}
.account-menu-item>span[data-icon]{display:flex}
.account-menu-item .status-dot{margin-left:auto}
.account-menu-divider{height:1px;background:#e7ecdf;margin:7px 10px}
.account-menu-logout{color:#8d6351}
.account-menu-logout svg{color:#9d7c69}
.account-menu-logout:hover{background:#f7efe8}
body.sidebar-collapsed .account-menu-toggle{padding:10px 0;margin-bottom:14px}
body.sidebar-collapsed .account-menu-chevron{display:none}
body.sidebar-collapsed .account-menu{left:0}

.sidebar.account-menu-open{overflow:visible}
.account-menu{max-height:calc(100dvh - 104px);overflow-y:auto}

.account-self-label{font-size:12px;color:#8a977f}

.points-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0}
.points-summary>div{border:1px solid #dce4d4;background:#fffefa;border-radius:12px;padding:20px}
.points-summary span{display:block;color:#819077;font-size:12px}
.points-summary strong{display:block;margin-top:10px;color:#315746;font-size:27px;font-variant-numeric:tabular-nums}
.points-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.points-filters label{display:grid;gap:7px;font-size:12px;color:#708369}
.points-filters input,.points-filters select{max-width:220px;min-height:38px;border:1px solid #dce4d4;border-radius:8px;background:#fffefa;padding:8px 10px;color:#34503c}
.points-pagination{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:18px}
.points-daily-wrap{max-height:300px;overflow:auto}
#points-view h3{margin-top:28px;font-weight:500}
@media(max-width:800px){.points-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

#accounts-view .import-table th,#accounts-view .import-table td{padding:12px 10px;min-width:0}
#accounts-view .import-table td:nth-child(2),#accounts-view .import-table td:nth-child(3){white-space:nowrap}
#accounts-view .import-table td:last-child{width:205px}
#accounts-view .account-actions{flex-wrap:wrap;gap:7px}
#accounts-view .account-action{font-size:11px;padding:7px 9px;min-height:32px}

/* 积分用量档案：概览、活动图与团队账号用量 */
#points-view{max-width:1240px;margin:0 auto;padding-top:44px}
.usage-profile{text-align:center;padding:8px 0 36px}
.usage-avatar{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 17px;border-radius:19px;background:#e3ecd8;color:#4a6d50;font-size:23px;font-weight:550}
#points-view .usage-profile h1{font-size:29px;font-weight:550;letter-spacing:-.6px;margin:0 0 9px;color:#2c483c}
.usage-profile p{display:flex;align-items:center;justify-content:center;gap:12px;margin:0;color:#929b8d;font-size:13px}
.usage-role{font-size:10px;padding:3px 8px;background:#edf1e7;border:1px solid #e1e7d9;border-radius:5px;color:#7a8d70}
.usage-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #dfe5d8;border-radius:16px;background:#fffefa;padding:23px 0;margin:0 0 43px}
.usage-stats>div{text-align:center;padding:0 12px;border-left:1px solid #e9edE3;min-width:0}
.usage-stats>div:first-child{border-left:0}
.usage-stats strong{display:block;font-size:23px;line-height:1.4;font-weight:550;color:#354e40;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.usage-stats span{display:block;font-size:11px;line-height:1.5;color:#8a9681;margin-top:5px}
.usage-stats .usage-stat-balance strong{color:#62834b}
.usage-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
#points-view .usage-section-heading h2{font-size:16px;font-weight:550;color:#36513d;margin:0}
.usage-section-heading p{font-size:11px;margin:7px 0 0}
.usage-chart-tabs{display:flex;gap:4px;border:1px solid #e4e8dd;padding:3px;border-radius:8px;background:#f3f5ee;flex-shrink:0}
.usage-chart-tabs button{font-size:11px;color:#909b88;padding:7px 10px;border-radius:5px;white-space:nowrap;transition:background .15s,color .15s}
.usage-chart-tabs button.active{background:#fffefa;color:#3d6249;box-shadow:0 1px 4px #29453512;font-weight:550}
.usage-chart-tabs button:focus-visible,.usage-member-link:focus-visible{outline:2px solid #8ba57c;outline-offset:2px}
.usage-heatmap-scroll{overflow-x:auto;padding-bottom:4px}
.usage-heatmap-inner{min-width:530px}
.usage-heatmap-months{display:grid;grid-template-columns:repeat(var(--heat-columns),minmax(0,1fr));gap:3px;margin-bottom:10px;font-size:10px;color:#98a18e;line-height:1.5}
.usage-heatmap-months span{white-space:nowrap}
.usage-heatmap{display:grid;grid-template-rows:repeat(7,minmax(0,1fr));grid-auto-flow:column;grid-template-columns:repeat(var(--heat-columns),minmax(0,1fr));gap:3px}
.heat-cell,.heat-blank{aspect-ratio:1;border-radius:3px;min-height:7px;display:block}
.heat-cell{transition:box-shadow .12s}
.heat-cell:hover{box-shadow:0 0 0 2px #52775a}
.heat-0{background:#ebeee6}.heat-1{background:#d4e4c9}.heat-2{background:#a6c49a}.heat-3{background:#749d6c}.heat-4{background:#416d4b}
.usage-chart-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0 39px;font-size:10px;color:#9aa48f}
.usage-legend{display:flex;gap:4px;align-items:center}
.usage-legend span{margin:0 3px}
.usage-legend i{display:block;width:10px;height:10px;border-radius:2px}
.usage-trend-svg{display:block;width:100%;height:auto;min-height:150px;stroke:none;fill:none}
.usage-trend-svg text{fill:#929d88;font-size:11px;stroke:none;font-family:inherit}
.usage-detail-heading{border-top:1px solid #e3e8da;padding-top:29px}
.usage-daily-details{margin:20px 0 30px}
.usage-daily-details summary{font-size:12px;color:#78906c;cursor:pointer;margin-bottom:14px}
#usage-members{margin:36px 0}
#usage-members .import-table th,#usage-members .import-table td{min-width:0}
#usage-members .import-table td strong{font-weight:500;color:#425d45}
.usage-self{display:inline-block;margin-left:8px;font-size:9px;border-radius:4px;padding:2px 5px;color:#859c77;background:#eef3e5}
.import-table .usage-member-link{font-size:11px;text-decoration:none;white-space:nowrap;color:#688961;padding:5px 0}
.import-table .usage-member-link:hover{color:#365d40}
.usage-ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:32px}
.usage-ledger-heading>span{font-size:10px;color:#99a48e}
.usage-ledger-heading b{font-weight:500;color:#6f8465}
.usage-ledger-divider{margin:0 8px;color:#c9d2be}
@media(max-width:850px){.usage-stats{padding:18px 0}.usage-stats strong{font-size:19px}.usage-stats>div{padding:0 7px}.usage-stats span{font-size:10px}.usage-section-heading{align-items:flex-start}.usage-chart-tabs button{padding:6px 7px}}
@media(max-width:550px){#points-view{padding-top:28px}.usage-stats{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px;padding:20px 0}.usage-stats>div:nth-child(4){border-left:0}.usage-profile{padding-bottom:26px}.usage-section-heading{flex-wrap:wrap;gap:14px}.usage-ledger-heading{align-items:flex-start;flex-direction:column;gap:0}.usage-profile p{font-size:12px}}

#points-view .usage-profile h1{overflow-wrap:anywhere}

/* 积分页面：团队概览与个人消耗 */
#points-view .usage-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
#points-back{margin-bottom:22px}
@media(max-width:550px){#points-view .usage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#points-view .usage-stats>div:nth-child(3){border-left:0}#points-view .usage-stats>div:nth-child(4){border-left:1px solid #e9ede3}}

.usage-heatmap-months{margin:12px 0 0}
.heat-cell:focus-visible{outline:2px solid #52775a;outline-offset:1px}
.usage-tooltip{position:fixed;z-index:150;pointer-events:none;max-width:calc(100vw - 16px);background:#1c2220;color:#fff;padding:12px 16px;border:1px solid #ffffff18;border-radius:16px;box-shadow:0 8px 28px #18231d30;font-size:13px;line-height:1.65}

/* 调查报告阅读顺序：结论、风险与依据、折叠补充材料。 */
.pipeline > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
.pipeline > summary::-webkit-details-marker{display:none}
.pipeline > summary .pipeline-head{display:inline-flex;align-items:center;margin:0;gap:8px}
.pipeline-records{font-size:11px;color:#7b8c76;white-space:nowrap}
.pipeline-records::after{content:'⌄';display:inline-block;margin-left:9px}
.pipeline[open] .pipeline-records::after{transform:rotate(180deg)}
.pipeline-archived{padding:12px 16px;background:transparent;border-color:#e1e6da;margin-bottom:22px}
.pipeline ul{list-style:none;padding:0;margin:14px 0 0}
.pipeline li{padding:8px 0;border-top:1px solid #e2e8dc;font-size:12px;line-height:1.7}
.pipeline li time{display:inline-block;min-width:100px;margin-right:12px;color:#8b9883}
.report-banner{padding:14px 18px;font-size:13px;line-height:1.8;gap:12px;align-items:center}
.report-conclusion{margin:28px 0 30px}
.report-section .report-conclusion h3{font-size:12px;font-weight:550;color:#758770;margin:0 0 12px;letter-spacing:.08em}
.conclusion-lead{margin:0;font-size:23px;font-weight:650;line-height:1.65;letter-spacing:-.015em;color:#243e33;white-space:pre-wrap;overflow-wrap:anywhere}
.conclusion-note{margin:13px 0 0;font-size:14px;font-weight:400;line-height:1.9;color:#405840;white-space:pre-wrap;overflow-wrap:anywhere}
.conclusion-caveat{margin:13px 0 0;font-size:12px;line-height:1.85;color:#7a806c}
.report-section .report-findings > h3{font-size:17px;margin:0 0 18px;color:#294b3a}
.report-findings > h3 .source-count{font-size:11px;font-weight:400;margin-left:8px}
.report-findings .risk-event{padding:22px;margin:0 0 18px;background:#fffefa;border:1px solid #dce4d4;border-radius:9px}
.report-findings .event-head{align-items:flex-start;gap:9px}
.report-findings .event-head h4{font-size:16px;line-height:1.65;color:#2e4e3c;margin:0;flex:1}
.report-findings .event-head .tag{margin-top:3px;white-space:nowrap}
.report-findings .finding-state{font-size:11px;color:#8b795e;margin:8px 0 18px}
.finding-section{margin-top:17px}
.finding-label{font-size:12px;font-weight:650;color:#3a5742;margin-bottom:7px}
.report-findings .finding-section p,.finding-empty{font-size:14px;line-height:1.95;color:#52664d;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.finding-evidence{margin-top:17px;padding:14px 16px;background:#f2f5ec;border-radius:6px}
.finding-evidence .evidence-quote{padding:0;margin:8px 0 10px;border:0;background:transparent;font-size:13px;color:#64745d;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.evidence-origin{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 15px;font-size:12px;line-height:1.8}
.evidence-origin span{font-size:11px;color:#84927b}
.evidence-full{font-size:11px;color:#6c8262;margin:8px 0 12px}
.evidence-full summary{cursor:pointer}
.finding-unverified ul{margin:0;padding-left:20px;color:#6d795f;font-size:13px;line-height:1.9}
.finding-empty{padding:3px 0 10px}
.report-supplement{margin-top:30px;border-top:1px solid #dfe5d6;border-bottom:1px solid #dfe5d6;padding:17px 0}
.report-supplement > summary{cursor:pointer;font-size:13px;font-weight:600;color:#5e7755;line-height:1.8}
.report-supplement > summary small{font-size:11px;font-weight:400;color:#8c9980;margin-left:13px}
.report-supplement-body{padding:10px 0 5px}
.report-supplement-body > section{margin:18px 0}
.report-supplement-body h4{font-size:13px;margin:0 0 10px;color:#4a6542}
.supplement-text{margin:0;font-size:13px;line-height:1.95;color:#7c8b70;white-space:pre-wrap;overflow-wrap:anywhere}
.report-supplement .visual-review{margin:18px 0;padding:18px;background:#f3f6ec;border-color:#e1e7d7}
.report-supplement .visual-review h3{font-size:14px}
.report-supplement .visual-review > p,.report-supplement .gaps-list{font-size:12px;line-height:1.9}
@media(max-width:600px){
 .conclusion-lead{font-size:19px;line-height:1.7}
 .report-conclusion{margin:22px 0 26px}
 .report-findings .risk-event{padding:16px}
 .report-findings .event-head{flex-wrap:wrap}
 .report-findings .event-head h4{flex-basis:calc(100% - 85px);font-size:15px}
 .report-findings .event-head .tag:last-child{margin-left:0}
 .report-supplement > summary small{display:block;margin-left:15px}
 .pipeline > summary{align-items:flex-start;flex-wrap:wrap;gap:7px}
 .pipeline-records{font-size:10px}
 .evidence-origin{display:block}
 .evidence-origin span{display:block;margin-top:4px}
 .report-banner{align-items:flex-start;padding:12px;font-size:12px}
}

.account-menu-identity{padding:12px 16px 16px}
.account-menu-identity strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;cursor:text}
.account-menu-identity small{display:block;margin-top:3px;font-size:12px;color:#8a977f}

/* 账号信息置于帮助下方，与菜单条目保持一致的紧凑节奏。 */
.account-menu-identity{display:flex;align-items:center;gap:12px;margin:5px 3px 0;padding:12px 10px 8px;border-top:1px solid #e7ecdf}
.account-identity-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eef3e7;color:#7b8f78;flex-shrink:0}
.account-identity-icon svg{width:16px;height:16px}
.account-menu-identity>div{min-width:0;flex:1}
.account-menu-identity strong{font-size:13px;font-weight:550;line-height:1.5;color:#456052}
.account-menu-identity small{margin-top:1px;font-size:10px;line-height:1.5;color:#8a977f}

.conclusion-list{padding-left:24px;margin:12px 0;color:#405840;line-height:1.9;font-size:14px}.conclusion-list li{padding-left:4px;margin:10px 0}.conclusion-list li::marker{font-weight:600;color:#36513d}

.batch-conversation{padding:22px;border:1px solid #dce4d4;border-radius:12px;background:#fffefa;margin-bottom:24px}.batch-conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.batch-conversation-heading h3{margin:0;color:#345a44;font-size:16px}.batch-conversation-heading>span{font-size:12px;color:#788c6c}.batch-conversation>.muted{font-size:12px}.batch-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:16px}.batch-person{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid #dce4d4;border-radius:8px;padding:12px;color:#466a50}.batch-person strong{overflow-wrap:anywhere;font-size:12px}.batch-person span{font-size:10px;flex-shrink:0;color:#819376}.batch-person.selected{background:#edf3e6;border-color:#7b9c77}.batch-selected-title{font-size:15px;color:#42634b;margin:20px 0}.batch-conversation~.user-message{margin-top:16px}

/* 会话内文件附件，适用于当前结果和历史消息。 */
.file-attachment{display:flex;align-items:center;gap:14px;max-width:560px;margin:18px 0;padding:17px 20px;border:1px solid #d6e2d1;border-radius:12px;background:#fffefa;text-decoration:none;color:#355c48}.file-attachment:hover{border-color:#739a7b;background:#f2f6ee}.file-extension{padding:12px 7px;border-radius:8px;background:#e7f0df;color:#427454;font-size:10px;font-weight:700}.file-attachment strong{display:block;overflow-wrap:anywhere;font-size:14px}.file-attachment small{display:block;margin-top:5px;font-size:11px;color:#7b8e73}.file-download{margin-left:auto;white-space:nowrap;font-size:12px}

/* 价格入口在登录卡片与工作台顶部使用相同的文字样式。 */
.pricing-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 6px;color:#7b887c;font-size:13px;font-weight:400;text-decoration:none;white-space:nowrap;border:0;border-radius:0;background:transparent;box-shadow:none;flex-shrink:0}
.pricing-link:hover{color:#526b5a;text-decoration:underline;text-underline-offset:5px;background:transparent}
.pricing-link:focus,.pricing-link:focus-visible{outline:none;box-shadow:none;border:0}
.pricing-link:focus-visible{text-decoration:underline;text-underline-offset:5px}
.login-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.login-heading .login-brand{margin:0}

/* 工作台说明入口与面包屑当前标题保持一致。 */
.topbar .pricing-link{font-size:11px;font-weight:500;color:#40574e}
.topbar .pricing-link:hover{color:#40574e}

.topbar-account-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}

/* Bright sky-blue workspace theme · 2026-11-03
   Visual-only overrides; the original layout and behavior remain unchanged. */
:root{--ink:#20364f;--teal:#2563eb;--paper:#f5f9ff;--line:#e1eafa;--muted:#687e99}
body{background:var(--paper);color:var(--ink)}
.sidebar{background:#ffffff;color:#324967;border-right:1px solid #e3ecfa;box-shadow:2px 0 18px #315b9a06}
.sidebar .brand{color:#1d385e}.sidebar .brand small{color:#8a9db5}
.sidebar .brand-mark{background:#e6efff;color:#255ad1}.sidebar .brand-mark span{color:#75a6ef}
.new-chat{background:linear-gradient(110deg,#3579ed,#648df4);color:white;box-shadow:0 6px 18px #3c78db22}
.new-chat:hover{background:linear-gradient(110deg,#276be0,#527fe7)}
.sidebar .nav-item{color:#607591}.sidebar .nav-item.active{background:#eaf2ff;color:#235cc6}.sidebar .nav-item:hover{background:#f0f6ff;color:#235cc6}
.sidebar .mini-label{border-color:#d6e5f8;color:#7b91ad}
.sidebar .history-heading,.sidebar .history-item small,.sidebar .empty-history{color:#8b9eb8}
.sidebar .icon-button{color:#8297b4}.sidebar .icon-button:hover{background:#edf4ff}
.sidebar .history-item{color:#4c6381}.sidebar .history-item.active{background:#eaf2ff;border-left:2px solid #4f86ec;color:#2557ab}.sidebar .history-item:hover{background:#f1f6ff}
.sidebar-bottom,.workspace{border-color:#e3ecf8}.workspace small{color:#8398b0}.workspace-tag{background:#eaf2ff;color:#6c87ad}
.avatar{background:#e4efff;color:#3365bc}.sidebar .status-dot.good{background:#4dbb93}
.sidebar .history-filter{background:#f7faff;color:#375472;border-color:#dbe7f8}
body.sidebar-collapsed .history-heading{border-color:#e3ecf8}
.sidebar .account-menu-toggle:hover,.sidebar .account-menu-toggle[aria-expanded="true"]{background:#edf4ff;border-color:#d5e4f8}
.account-menu-chevron{color:#849abb}
.topbar{background:#ffffffed;border-color:#e1eafa}.breadcrumb{color:#8194ad}.breadcrumb b,.topbar .pricing-link{color:#335a89}.topbar .pricing-link:hover{color:#1e62c5}
.welcome-masthead{border-color:#e1eaf8;color:#728fb4}.edition-label{color:#90a3bd}
.eyebrow,.source-scope-note{color:#6281ac}.hero-line{background:#78a8ee}
.welcome h1{color:#203c60}.gradient-text{color:#3577d5}
.welcome-description{color:#7287a4}.platform-caption{color:#869cb5}
.platform-strip>span:not(:first-child){background:#fff;border-color:#dce8f8;color:#557394}
.research-visual{background:linear-gradient(145deg,#f0f6ff,#e8f1ff);border-color:#d7e6fc;box-shadow:8px 8px 0 #dceaff70}
.visual-heading,.process-row strong{color:#345a8b}.visual-heading,.process-row{border-color:#d5e4f8}
.visual-index,.process-number,.process-symbol,.visual-footer{color:#7294c1}.process-row small{color:#859fbd}
.tiny-dot{background:#5d98ed}
.start-card,.pipeline,.feature-card,.batch-conversation,.file-attachment{background:#fff;border-color:#dce7f7;box-shadow:0 7px 24px #315d9810}
.card-topline strong,.feature-card strong{color:#2f4b70}.subtle-icon{color:#407ed7}
.tiny-pill{background:#edf4ff;border-color:#dce9fb;color:#6b8fbe}
label{color:#5d7798}label span{color:#95a9c1}
input,textarea,select{background:#fbfdff;border-color:#dce7f5;color:#304761}
input:focus,textarea:focus,select:focus{border-color:#6f9df0;box-shadow:0 0 0 3px #6f9df01a}
input::placeholder,textarea::placeholder{color:#9aacc3}
.start-bottom{border-color:#e8eff9}.start-bottom>span,.section-label,.section-label>span:last-child,.welcome-footnote{color:#8298b2}
.primary{background:#3478e7;color:#fff;box-shadow:0 3px 11px #3478e71a}.primary:hover{background:#2467d2;box-shadow:0 5px 15px #3478e72d}
.secondary{background:#fff;border-color:#d7e4f7;color:#4d73a7}.secondary:hover{background:#f0f6ff}
.feature-card:hover{background:#fff;border-color:#9fc2f2;box-shadow:0 10px 24px #315d9818}
.feature-card p{color:#8297b1}.violet{background:#eeeaff;color:#796bc5}.rose{background:#fff0f4;color:#c57a9a}.blue{background:#eaf3ff;color:#527fca}.card-arrow{color:#93abd0}
.muted{color:#7991ad}.user-message p{background:#e7f0ff;color:#304d78}.agent-label,.report-findings .event-head h4,.report-findings > h3{color:#315c8f}
.agent-badge{background:linear-gradient(140deg,#4c8be6,#8cb2f3)}
.composer-wrap{background:var(--paper)}.composer,.report-findings .risk-event{background:#fff;border-color:#dbe7f6;box-shadow:0 8px 28px #315d9810}
.composer:focus-within{border-color:#85acf0;box-shadow:0 0 0 3px #7ba9f018}
.composer textarea::placeholder,.composer-hint,.composer-wrap>p{color:#8ba0bb}
.send-button{background:#3478e7;box-shadow:0 3px 10px #3478e72a}.send-button:hover:not(:disabled){background:#2464cc}.send-button:disabled{background:#a4bddd}
.report-tabs{border-color:#dce7f6}.report-tabs button.active{color:#3274d1;border-color:#3274d1}
.conclusion-lead{color:#294a71}.conclusion-note,.conclusion-list{color:#456487}
.finding-label,.report-section .report-conclusion h3{color:#466d9c}.report-findings .finding-section p,.finding-empty{color:#536f8d}
.finding-evidence,.visual-review{background:#f1f6ff;border-color:#dbe8fa}.report-supplement .visual-review{background:#f1f6ff;border-color:#dbe8fa}
.import-link,.import-table button,.import-table .usage-member-link{color:#3478d4}
.import-table-wrap{background:#fff;border-color:#dce7f7}.import-table th{background:#eef5ff;color:#5377a4}.import-table td{border-color:#e6eef9}
.account-menu{background:#fff;border-color:#dbe7f7;color:#365674;box-shadow:0 14px 44px #244d8b20}
.account-menu-balance{background:#edf5ff;border-color:#dceafa}.account-menu-eyebrow{color:#7290b5}
.account-menu-identity{border-color:#e1eaf7}.account-identity-icon{background:#eaf2ff;color:#5984bb}.account-menu-identity strong{color:#375c85}.account-menu-identity small{color:#8aa0b9}
.usage-self{background:#eaf2ff;color:#537bb0}
.heat-0{background:#edf3fc}.heat-1{background:#d1e3ff}.heat-2{background:#a2c7fb}.heat-3{background:#6d9fe9}.heat-4{background:#3675cc}
/* Keep explicit risk and warning states colored for meaning. */


/* SocialBook-inspired public-facing welcome redesign — independent KOL Lens brand.
   Only welcome section and related chrome are restyled; ids and JS hooks preserved. */
:root{--paper:#f8faff;--ink:#14254c;--line:#e8edfa;--muted:#697b9e}
body{background:linear-gradient(170deg,#f9fbff 0%,#f4f7ff 68%,#fafdff 100%);color:#192b50}
.sidebar{background:#fff;border-right:1px solid #edf0f8}
.sidebar .brand-mark{background:linear-gradient(135deg,#3867f2,#5c8afb);color:#fff;box-shadow:0 6px 14px #3d6df333}
.sidebar .brand-mark span{color:#beddff}
.new-chat{background:#345cf4;border-radius:11px;font-weight:650;box-shadow:0 8px 17px #335bf52b}
.new-chat:hover{background:#284ed9}
.sidebar .nav-item.active{background:#ecf2ff;color:#2b57df}
.topbar{background:#ffffffeb;border-bottom:1px solid #edf0f9}
.welcome{width:min(1180px,calc(100% - 86px));margin:40px auto 38px}
.welcome-masthead{border-bottom:0;padding-bottom:0;color:#6f85b3;font-weight:700;letter-spacing:2px;font-size:10px}
.edition-label{background:#edf2ff;color:#657db1;border:1px solid #dfe7fb;border-radius:99px;padding:7px 12px;letter-spacing:1px}
.hero-layout{grid-template-columns:1.15fr 0.85fr;gap:55px;align-items:center;padding:57px 3px 44px}
.hero-copy{position:relative;z-index:1}
.eyebrow{display:flex;align-items:center;gap:8px;color:#446ce8;font-size:10px;font-weight:750;letter-spacing:1.4px}
.hero-line{width:0;height:0;display:none}
.hero-kicker-dot{background:#e9efff;color:#3c65ed;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;font-size:14px}
.hero-kicker-cn{font-weight:500;letter-spacing:0;color:#7385a9;font-size:10px}
.welcome h1{font-size:clamp(41px,4.5vw,66px);line-height:1.29;letter-spacing:-2.7px;font-weight:800;color:#102348;margin:21px 0 22px}
.gradient-text{color:#315df2;background:linear-gradient(105deg,#2553e9 10%,#5785ff 85%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.welcome-description{font-size:14px;line-height:2.1;color:#6c7e9b;margin:0 0 28px}
.hero-actions{display:flex;align-items:center;gap:12px;margin:22px 0 27px}
.hero-action-primary,.hero-action-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:15px 22px;border-radius:11px;text-decoration:none;font-size:13px;font-weight:700;transition:transform .18s,box-shadow .18s}
.hero-action-primary{background:#315df3;color:#fff;box-shadow:0 12px 24px #3766ec36}
.hero-action-primary:hover{background:#244ee0;transform:translateY(-2px);box-shadow:0 14px 29px #3766ec40}
.hero-action-secondary{background:#fff;color:#3658b1;border:1px solid #e0e8f9}
.hero-action-secondary:hover{background:#f4f7ff;transform:translateY(-2px)}
.platform-strip{font-size:10px;gap:7px}.platform-caption{font-size:10px;color:#7e8fab}
.platform-strip>span:not(:first-child){background:#fff;border:1px solid #e4eafa;color:#64799c;border-radius:7px;padding:6px 9px;box-shadow:0 2px 6px #172f6305}
.source-scope-note{font-size:10px;color:#91a0bb;margin-top:13px}
.research-visual{transform:none;overflow:visible;background:#fff;border:1px solid #e8ecf9;border-radius:19px;padding:29px 31px;box-shadow:0 27px 65px #304fa71b,0 3px 12px #24457b0a;position:relative;min-height:313px}
.research-visual:before{content:"";position:absolute;z-index:-1;inset:-20px -18px 25px 20px;border-radius:30px;background:linear-gradient(145deg,#e7f0ff,#f2ecff);transform:rotate(5deg)}
.visual-glow{position:absolute;z-index:-1;right:-46px;top:-67px;width:180px;height:180px;background:#e3eaff;border-radius:50%;filter:blur(38px);opacity:.7}
.visual-heading{border-color:#e9eef8;color:#1c366a;font-size:13px;font-weight:750;padding-bottom:20px}
.visual-icon{display:inline-flex;align-items:center;justify-content:center;color:#3263ef;background:#ebf1ff;border-radius:10px;width:37px;height:37px}
.visual-index{font-size:10px;color:#9badd1}
.process-row{border-color:#edf1f9;padding:18px 0;gap:17px}
.process-number{color:#3868ee;background:#f0f5ff;border-radius:9px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;font-size:11px;font-weight:700;flex-shrink:0}
.process-row strong{font-size:13px;color:#25385c;font-weight:750}.process-row small{font-size:10px;color:#8b9ab4;margin-top:7px}.process-symbol{color:#7d9af5;font-size:21px}
.visual-footer{font-size:9px;color:#8296b6;margin-top:19px}.visual-footer>span:last-child{color:#a1add0;font-size:8px}
.visual-floating-tag{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5ebfb;padding:9px 13px;border-radius:10px;box-shadow:0 12px 27px #2547811f;font-size:10px;font-weight:650;color:#3e567e;white-space:nowrap}
.visual-floating-tag-top{right:-28px;top:-25px}.visual-floating-tag-bottom{left:-32px;bottom:-27px}
.floating-check{background:#ddf8ec;color:#22ad77;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-weight:800}.floating-check-blue{color:#3867ef;background:#eaf0ff}
.start-card{scroll-margin-top:95px;background:#fff;border:1px solid #e8edf8;border-radius:18px;padding:27px 31px;box-shadow:0 14px 45px #1d43810b}
.card-topline{margin-bottom:22px}.card-topline strong{font-size:16px;color:#1e335d;font-weight:750}.tiny-pill{border-radius:99px;background:#ebf1ff;color:#416ae4;border-color:#dce6ff;font-weight:650;letter-spacing:.3px;padding:6px 9px}
.start-card label{font-size:12px;color:#495e83;font-weight:650}.start-card input{background:#f9fbff;border:1px solid #e1e8f6;border-radius:10px;font-size:12px;padding:14px 15px}
.start-card input:focus{border-color:#5e82f5;box-shadow:0 0 0 3px #416bf219}
.start-bottom{margin-top:19px;padding-top:18px}.start-bottom>span{font-size:10px;color:#90a0b9}.primary{background:#315df3;border-radius:9px;font-weight:700;font-size:12px;box-shadow:0 7px 15px #315df328}.primary:hover{background:#234de0}
.section-label{scroll-margin-top:90px;margin:33px 0 15px;color:#40577b;font-size:12px;font-weight:700}.section-label>span:last-child{font-size:10px;color:#8398b9;font-weight:500}
.feature-grid{gap:17px}.feature-card{background:#fff;border-radius:14px;border:1px solid #e7edfa;padding:23px;min-height:150px;box-shadow:0 9px 28px #3551a009}
.feature-card strong{font-size:13px;color:#233960;font-weight:750}.feature-card p{font-size:11px;color:#8191ad}.feature-card:hover{border-color:#a7bcff;box-shadow:0 13px 30px #315df317}
.feature-icon{width:37px;height:37px;border-radius:11px;margin-bottom:16px}.violet{background:#efeafe;color:#7964e7}.rose{background:#ffebf2;color:#e65c89}.blue{background:#e9f1ff;color:#4876ed}.card-arrow{color:#7392e9}
.welcome-footnote{margin-top:26px;color:#9aa7bd}
@media(max-width:1200px){.welcome{width:calc(100% - 60px)}.hero-layout{gap:24px}.welcome h1{font-size:clamp(36px,4.1vw,54px)}.research-visual{padding:23px}.hero-kicker-cn{display:none}}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr;gap:34px;padding:32px 2px}.research-visual{width:min(100%,500px);margin:0 auto 18px}.welcome{width:calc(100% - 40px)}.visual-floating-tag-top{right:-12px}.visual-floating-tag-bottom{left:-12px}}
@media(max-width:760px){.welcome{margin-top:24px;width:calc(100% - 30px)}.welcome-masthead{font-size:8px}.edition-label{font-size:7px;padding:6px 8px}.welcome h1{font-size:37px;letter-spacing:-1.6px}.welcome-description{font-size:12px}.hero-actions{flex-wrap:wrap}.hero-action-primary,.hero-action-secondary{padding:12px 17px;font-size:11px}.research-visual{min-height:0}.visual-floating-tag{font-size:9px}.start-card{padding:20px}.feature-grid{grid-template-columns:1fr;gap:12px}.feature-card{min-height:105px}.feature-card p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hero-action-primary,.hero-action-secondary{transition:none}}
/* 合作推荐：查询表单、平台应用图标、互动表格 */
.platform-chip{display:inline-flex;align-items:center;gap:6px}
.platform-chip img{width:17px;height:17px;border-radius:5px;display:block}
.recommendation-view{max-width:1130px}
.recommendation-intro{max-width:900px}
.recommendation-panel{margin-top:28px;padding:28px 32px;background:#fff;border:1px solid #e0e8fa;border-radius:20px;box-shadow:0 12px 35px #416bd20b}
.recommendation-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #e8edf8;padding-bottom:20px;margin-bottom:24px}
.recommendation-panel-heading h2,.recommendation-results-head h2{margin:0 0 7px;font-size:21px;font-weight:650;color:#19345e}
.recommendation-panel-heading p,.recommendation-results-head p{font-size:12px;line-height:1.75;margin:0;color:#8194b3}
.recommendation-status{flex-shrink:0;background:#eaf2ff;color:#3564df;font-size:11px;font-weight:600;border-radius:30px;padding:7px 12px}
.recommendation-form label{display:block;font-size:13px;color:#445f8b;font-weight:600;margin:20px 0 10px}
.recommendation-form label span{font-size:11px;color:#a1afc4;font-weight:400}
.recommendation-form input,.recommendation-form textarea{width:100%;display:block;padding:15px 17px;font-size:13px;color:#1c3356;background:#f8faff;border:1px solid #dfe8f8;border-radius:11px;resize:vertical}
.recommendation-form input:focus,.recommendation-form textarea:focus{outline:none;border-color:#4974ec;box-shadow:0 0 0 3px #446ff513}
.recommendation-supported{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:24px 0}
.recommendation-supported>span{font-size:12px;color:#7e91af}
.platform-logos{display:flex;gap:9px;flex-wrap:wrap}
.platform-logos>span{display:inline-flex;align-items:center;gap:8px;border:1px solid #e0e8f6;background:#f9fbff;border-radius:11px;padding:8px 12px;color:#4c6083;font-size:12px}
.platform-logos img{width:24px;height:24px;border-radius:7px}
.recommendation-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e8edf8;padding-top:20px}
.recommendation-form-footer>span,.recommendation-footnote{font-size:11px;color:#8495b0;line-height:1.8}
.recommendation-form-footer button{font-size:13px;border-radius:10px;white-space:nowrap}
.recommendation-results{margin-top:23px;background:#fff;border:1px solid #e0e8fa;border-radius:18px;padding:27px 28px}
.recommendation-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.recommendation-results-head button{font-size:12px;color:#2c5adb;border-color:#cdddfb}
.recommendation-error{border:1px solid #f4d6d4;border-radius:10px;background:#fff7f6;color:#b14b44;padding:13px 15px;font-size:12px;line-height:1.7}
.recommendation-table-scroll{width:100%;overflow-x:auto}
.recommendation-table{border-collapse:collapse;width:100%;min-width:850px;line-height:1.6;text-align:left}
.recommendation-table th{background:#f4f7ff;padding:13px 12px;font-size:12px;color:#657c9e;white-space:nowrap;font-weight:600}
.recommendation-table td{border-bottom:1px solid #edf1f9;padding:16px 12px;font-size:12px;color:#50668a;white-space:nowrap}
.recommendation-work{display:flex;align-items:center;gap:10px;min-width:230px;max-width:350px}
.recommendation-work>img{width:25px;height:25px;border-radius:6px}
.recommendation-work strong{font-size:12px;white-space:normal;display:block;color:#263f65;font-weight:600}
.recommendation-work small{font-size:10px;display:block;color:#93a3ba;margin-top:3px}
.recommendation-work-number{font-size:10px;color:#9faed1}
.recommendation-link{color:#3163e2;text-decoration:none;font-size:12px}
.recommendation-link:hover{text-decoration:underline}
.recommendation-empty{text-align:center;padding:32px!important;color:#9aabc0!important}
.recommendation-footnote{margin-top:20px}
@media(max-width:760px){.recommendation-panel,.recommendation-results{padding:20px 17px}.recommendation-panel-heading h2{font-size:18px}.recommendation-form-footer{align-items:flex-start;flex-direction:column}.recommendation-results-head{align-items:flex-start;flex-direction:column}}

/* 合作推荐：在关键词输入框正下方直接展示相关内容与 Excel 下载入口。 */
.recommendation-download-inline{margin:19px 0 23px;padding:17px 20px;background:#f7faff;border:1px solid #dce7fd;border-radius:13px}
.recommendation-download-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.recommendation-download-top strong{font-size:14px;font-weight:650;color:#274675}
.recommendation-download-top p{font-size:12px;line-height:1.65;color:#8799b7;margin:5px 0 0}
.recommendation-download-top button{color:#2d5fda;font-size:12px;border-color:#c8d8f7;white-space:nowrap}
.recommendation-download-top button:disabled{opacity:.48;cursor:not-allowed}
.recommendation-download-inline .recommendation-results{background:transparent;border:0;box-shadow:none;margin:10px 0 0;padding:0}
.recommendation-inline-summary{font-size:12px;line-height:1.65;color:#7087ad;margin:12px 0}
.recommendation-download-inline .recommendation-table-scroll{border-radius:10px;background:white;border:1px solid #e3eaf7;margin-top:12px}
.recommendation-download-inline .recommendation-table td{vertical-align:middle}
@media(max-width:760px){.recommendation-download-inline{padding:15px 13px}.recommendation-download-top{align-items:flex-start}}

.recommendation-pending-fields{border:0;margin:0;padding:0;min-width:0}.recommendation-availability{padding:14px 16px;border-radius:10px;background:#edf3ff;color:#355b9b;line-height:1.7;font-size:13px}.recommendation-pending-fields button:disabled{cursor:not-allowed;opacity:.55}
/* Match the new hero to the available phone content width. */
@media(max-width:600px){.welcome h1{font-size:clamp(26px,7vw,32px);letter-spacing:-1px;line-height:1.4}.hero-actions{gap:10px}.hero-action-primary,.hero-action-secondary{padding:12px 14px}}
