:root{color-scheme:light;--paper:#fcfcfa;--surface:#fff;--sidebar:#f5f4ef;--ink:#21343b;--muted:#76878b;--line:#e5e9e5;--teal:#1a766f;--deep:#135f58;--soft:#e8f3f0;--accent:#ce845c;--shadow:0 18px 55px rgba(30,58,54,.08);font-family:Inter,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--paper);color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(26,118,111,.28);outline-offset:2px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.eyebrow{color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.18em}.brand{display:inline-flex;align-items:center;gap:10px;font-family:Georgia,"Noto Serif SC",serif;font-size:23px;font-weight:700;letter-spacing:.1em;color:#244d4b}.brand-mark{position:relative;width:27px;height:27px;border:2px solid currentColor;border-radius:8px 8px 8px 3px;transform:rotate(-12deg)}.brand-mark:before,.brand-mark:after{content:"";position:absolute;background:currentColor;border-radius:9px}.brand-mark:before{width:12px;height:2px;top:8px;left:5px;transform:rotate(31deg)}.brand-mark:after{width:11px;height:2px;top:14px;left:7px;transform:rotate(-29deg)}.brand--light{color:#e8f4ed}.auth-view{display:grid;grid-template-columns:minmax(340px,43%) 1fr;min-height:100vh}.auth-art{background:#1d615c;overflow:hidden;position:relative}.auth-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 60%,rgba(236,242,211,.18),transparent 40%),linear-gradient(130deg,transparent 28%,rgba(11,53,50,.35) 100%)}.auth-art-inner{height:100%;min-height:650px;padding:46px clamp(28px,5vw,84px);position:relative;overflow:hidden}.auth-art-copy{position:relative;z-index:2;margin-top:clamp(100px,18vh,190px);max-width:510px}.auth-art-copy .eyebrow{color:#cde5dc}.auth-art h1{font-family:Georgia,"Noto Serif SC",serif;color:#fff;font-size:clamp(42px,4.3vw,72px);line-height:1.21;font-weight:500;letter-spacing:.035em;margin:26px 0}.auth-art p{max-width:390px;color:#d5e8e1;font-size:15px;line-height:2}.art-orbit{position:absolute;border:1px solid rgba(228,246,237,.19);border-radius:50%;aspect-ratio:1}.art-orbit--one{width:470px;right:-150px;bottom:-180px}.art-orbit--two{width:310px;right:-68px;bottom:-95px}.art-core{position:absolute;bottom:12%;right:13%;width:112px;height:112px;border-radius:27px;background:#e3eecf;transform:rotate(-17deg);box-shadow:18px 24px 70px #0927244d}.art-core span{display:block;position:absolute;height:3px;background:#376f65;border-radius:3px;left:28px}.art-core span:nth-child(1){top:39px;width:46px;transform:rotate(25deg)}.art-core span:nth-child(2){top:57px;width:58px;transform:rotate(-15deg)}.art-core span:nth-child(3){top:73px;width:34px;transform:rotate(15deg)}.art-caption{position:absolute;bottom:37px;left:clamp(28px,5vw,84px);color:#bcd7cd;font-size:12px;letter-spacing:.2em}.auth-main{display:grid;place-items:center;padding:45px 24px;background:#fbfcf9}.auth-card{width:min(100%,390px)}.auth-mobile-brand{display:none}.auth-intro h2{font-family:Georgia,"Noto Serif SC",serif;font-weight:550;font-size:35px;letter-spacing:.04em;margin:18px 0 10px}.auth-intro p{font-size:14px;color:var(--muted);margin:0 0 31px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:28px}.auth-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:0 0 13px}.auth-tab.is-active{color:var(--teal);border-bottom-color:var(--teal);font-weight:700}.auth-form{display:flex;flex-direction:column}.auth-form label{font-weight:650;font-size:13px;margin:0 0 9px}.auth-form input{width:100%;height:49px;padding:0 15px;border:1px solid #d9e1dd;background:#fff;border-radius:11px;margin:0 0 20px;color:var(--ink)}.auth-form input::placeholder{color:#aab4b0}.confirm-row{display:flex;flex-direction:column}.form-error{color:#ad4f43;background:#fff0ec;border-radius:8px;padding:10px 12px;margin:0 0 16px;font-size:13px}.button-primary{background:var(--teal);border:1px solid var(--teal);color:#fff;border-radius:11px;font-weight:700;transition:background .2s,transform .2s}.button-primary:hover:not(:disabled){background:var(--deep);transform:translateY(-1px)}.auth-submit{height:51px;margin-top:3px;display:flex;align-items:center;justify-content:center;gap:13px}.auth-submit span{font-size:20px;font-weight:400}.auth-note{color:#9aa8a4;text-align:center;font-size:12px;margin-top:23px}.app-view{display:flex;width:100%;height:100vh;min-height:500px;overflow:hidden}.sidebar{display:flex;flex-direction:column;flex:none;width:280px;background:var(--sidebar);border-right:1px solid var(--line);min-height:0;z-index:20}.sidebar-top{padding:29px 19px 17px}.sidebar-brand-line{display:flex;justify-content:space-between;align-items:center}.sidebar-close{display:none}.brand-subtitle{display:block;margin:6px 0 27px 37px;color:#82928d;font-size:11px;letter-spacing:.13em}.new-conversation{width:100%;height:45px;background:var(--teal);color:#fff;border:0;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 14px;text-align:left;box-shadow:0 7px 14px #1a766f21;transition:background .2s,transform .2s}.new-conversation:hover:not(:disabled){background:var(--deep);transform:translateY(-1px)}.new-plus{font-size:20px;font-weight:300;line-height:1}.new-arrow{margin-left:auto;font-size:16px;opacity:.7}.history-search{height:39px;display:flex;align-items:center;gap:9px;margin-top:19px;padding:0 11px;background:#fafbf8;border:1px solid #e7eae5;border-radius:10px}.history-search svg{width:16px;height:16px;fill:none;stroke:#94a29e;stroke-width:1.7}.history-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.history-search input::placeholder{color:#9ca9a4}.history-area{overflow-y:auto;min-height:0;flex:1;padding:5px 12px 18px}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 12px 10px;color:#81918c;font-size:11px;font-weight:700;letter-spacing:.12em}.conversation-count{font-size:11px;color:#91a09b;letter-spacing:0}.conversation-list{display:flex;flex-direction:column;gap:4px}.conversation-item{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;color:#40545a;text-align:left;border-radius:10px;font-size:13px;transition:background .15s}.conversation-item:hover,.conversation-item.is-active{background:#e4eeea}.conversation-item.is-active{color:var(--teal);font-weight:700}.conversation-glyph{width:16px;height:15px;border:1.5px solid currentColor;border-radius:5px 5px 5px 2px;opacity:.65;flex:none}.conversation-item-title{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.history-empty{color:#9aa8a3;text-align:center;font-size:12px;padding:35px 10px;line-height:1.7}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:17px 18px;border-top:1px solid var(--line)}.account-badge{display:flex;align-items:center;gap:11px;min-width:0;flex:1}.account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#d7e6dd;color:#246b60;font-size:14px;font-weight:800}.account-text{display:flex;flex-direction:column;min-width:0}.account-text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-text span{font-size:10px;color:#91a09b;margin-top:3px}.logout-button,.icon-button{border:0;background:transparent;color:#70827f;display:grid;place-items:center;border-radius:8px}.logout-button{width:33px;height:33px}.logout-button:hover,.icon-button:hover{background:#e5ece8;color:var(--teal)}.logout-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.workspace{display:flex;flex-direction:column;flex:1;min-width:0;background:var(--paper)}.topbar{height:75px;flex:none;border-bottom:1px solid #edf0eb;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,58px);background:#fcfcfaed}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.topbar-kicker{display:block;color:#92a39d;font-size:10px;font-weight:800;letter-spacing:.15em;margin-bottom:4px}.topbar h1{margin:0;font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}.topbar-status{display:flex;align-items:center;gap:7px;color:#879891;font-size:11px}.status-dot{width:6px;height:6px;background:#4ea98a;border-radius:50%;box-shadow:0 0 0 3px #def2e9}.sidebar-open{display:none;width:33px;height:33px;gap:3px}.sidebar-open span{display:block;height:1.5px;width:18px;background:currentColor}.chat-scroll{flex:1;overflow-y:auto;min-height:0;scroll-behavior:smooth}.welcome-panel{width:min(750px,calc(100% - 40px));margin:clamp(70px,12vh,155px) auto 20px;text-align:center}.welcome-symbol{width:64px;height:64px;margin:0 auto 25px;background:#e9f2ed;border:1px solid #d8e9df;border-radius:20px;position:relative;transform:rotate(-9deg);box-shadow:var(--shadow)}.welcome-symbol span{position:absolute;left:18px;height:2px;background:#368779;border-radius:3px}.welcome-symbol span:nth-child(1){top:22px;width:26px;transform:rotate(20deg)}.welcome-symbol span:nth-child(2){top:31px;width:30px;transform:rotate(-20deg)}.welcome-symbol span:nth-child(3){top:40px;width:20px;transform:rotate(15deg)}.welcome-panel h2{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(31px,3vw,43px);font-weight:500;letter-spacing:.04em;margin:15px 0 11px}.welcome-panel p{color:#81918b;font-size:14px;line-height:1.75}.suggestions{margin:46px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.suggestion{min-height:91px;border:1px solid #e2e8e3;background:#fff;border-radius:14px;padding:15px;color:#3c5958;text-align:left;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 4px 17px #1c353106;transition:transform .2s,border-color .2s,box-shadow .2s}.suggestion:hover{transform:translateY(-3px);border-color:#bcd5ca;box-shadow:0 12px 30px #1c353112}.suggestion span{color:#9caaa4;font-size:11px}.suggestion i{align-self:flex-end;font-style:normal;font-size:18px;color:#8ba79c}.messages{width:min(860px,calc(100% - 48px));margin:0 auto;padding:32px 0 38px;display:flex;flex-direction:column;gap:28px}.message{display:flex;gap:14px;max-width:100%}.message--user{justify-content:flex-end}.message--assistant{justify-content:flex-start}.message-avatar{flex:none;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#dcece3;color:#297a69;font-family:Georgia,serif;font-weight:700;font-size:14px}.message-content{max-width:min(100%,720px);min-width:0}.message--user .message-content{background:#e8f2ed;border:1px solid #dbece3;border-radius:17px 17px 5px;padding:13px 17px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}.message--assistant .message-text{padding:2px 0}.message-meta{color:#9ba9a4;font-size:11px;margin:9px 0 0}.source-card{margin-top:16px;background:#f5f8f4;border:1px solid #e0eae2;border-radius:11px;padding:12px 14px;color:#557069;font-size:12px}.source-heading{font-weight:800;font-size:11px;color:#377569;margin-bottom:6px;letter-spacing:.06em}.source-line{line-height:1.6;overflow-wrap:anywhere}.source-line+.source-line{margin-top:5px}.typing{color:#79918b;display:flex;align-items:center;gap:9px}.typing-dots{display:inline-flex;gap:3px}.typing-dots i{width:4px;height:4px;background:#559287;border-radius:50%;animation:pulse 1s infinite alternate}.typing-dots i:nth-child(2){animation-delay:.25s}.typing-dots i:nth-child(3){animation-delay:.5s}@keyframes pulse{to{opacity:.2;transform:translateY(-3px)}}.composer-area{flex:none;padding:16px 25px 13px;background:linear-gradient(0deg,var(--paper) 83%,rgba(252,252,250,.02))}.composer{width:min(860px,100%);margin:auto;border:1px solid #dce5dd;background:#fff;border-radius:17px;box-shadow:0 10px 35px #1e3a3612;padding:13px 13px 10px;transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:#9ac8b7;box-shadow:0 12px 38px #1e5a501c}.composer textarea{display:block;width:100%;min-height:40px;max-height:170px;resize:none;border:0;outline:0;background:transparent;padding:3px 6px;color:var(--ink);font-size:14px;line-height:1.6}.composer textarea::placeholder{color:#9ca9a4}.composer-bottom{display:flex;align-items:center;justify-content:space-between;min-height:37px}.composer-hint{color:#aab6b0;font-size:11px;padding-left:6px}.send-button{width:38px;height:38px;border:0;border-radius:11px;background:var(--teal);color:#fff;display:grid;place-items:center;transition:background .2s}.send-button:hover:not(:disabled){background:var(--deep)}.send-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.composer-disclaimer{text-align:center;color:#a6b1ac;font-size:10px;margin:9px 0 0}.toast{position:fixed;z-index:60;right:24px;bottom:22px;background:#264f4b;color:#fff;border-radius:10px;padding:12px 17px;box-shadow:var(--shadow);font-size:13px;max-width:min(390px,calc(100vw - 48px))}.mobile-overlay{position:fixed;inset:0;background:#12262459;z-index:15}@media(max-width:800px){.auth-view{grid-template-columns:1fr}.auth-art{display:none}.auth-main{min-height:100vh}.auth-mobile-brand{display:flex;margin-bottom:55px}.sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,310px);transform:translate(-101%);transition:transform .25s;box-shadow:var(--shadow)}.sidebar.is-open{transform:translate(0)}.sidebar-close,.sidebar-open{display:grid}.topbar{height:65px;padding:0 20px}.topbar-status{display:none}.welcome-panel{margin-top:12vh}.suggestions{grid-template-columns:1fr;max-width:460px;margin-top:30px}.suggestion{min-height:65px}.messages{width:calc(100% - 32px)}.composer-area{padding:11px 12px 13px}.composer-hint{font-size:10px}}@media(max-width:430px){.welcome-panel h2{font-size:29px}.welcome-panel p{font-size:12px}.auth-main{padding:24px}.auth-card{width:100%}.message{gap:8px}.message-text{font-size:13px}.message--user .message-content{padding:11px 13px}}@media(min-width:801px){.sidebar-close{display:none!important}}.boot-screen{min-height:100vh;display:grid;place-items:center;color:#76878b;font-size:14px;background:#fcfcfa}.typing{flex-wrap:wrap}.typing-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.typing-bar{flex-basis:100%;height:3px;border-radius:99px;background:#e3ece8;overflow:hidden;margin-top:4px}.typing-bar>span{display:block;height:100%;width:36%;border-radius:99px;background:linear-gradient(90deg,#8ecabd,#1a766f);animation:typingSlide 1.5s ease-in-out infinite}@keyframes typingSlide{0%{transform:translate(-115%)}55%{transform:translate(178%)}to{transform:translate(178%)}}.related{margin-top:14px;padding-top:12px;border-top:1px dashed #e0eae2;max-width:640px}.related-heading{font-size:11px;font-weight:800;color:#377569;letter-spacing:.06em;margin-bottom:8px}.related-loading{font-size:12px;color:#9ba9a4}.related-list{display:flex;flex-direction:column;gap:8px}.related-item{display:flex;align-items:flex-start;gap:8px;text-align:left;padding:9px 12px;border:1px solid #e2e8e3;border-radius:11px;background:#fff;color:#3c5958;font-size:13px;line-height:1.5;transition:border-color .15s,background .15s}.related-item:hover:not(:disabled){border-color:#9cc9c1;background:#f4faf7}.related-item .related-arrow{color:#9cc9c1;font-size:11px;margin-top:2px}.library-entry{width:100%;height:41px;margin-top:10px;background:#fff;border:1px solid #e2e8e3;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 13px;color:#3c5958;text-align:left;transition:border-color .15s,background .15s,color .15s}.library-entry:hover{border-color:#bcd5ca;background:#fbfdfb}.library-entry.is-active{border-color:var(--teal);color:var(--teal);font-weight:700;background:var(--soft)}.library-glyph{width:15px;height:15px;border:1.5px solid currentColor;border-radius:4px;position:relative;flex:none;opacity:.75}.library-glyph:before{content:"";position:absolute;left:2.5px;right:2.5px;top:4px;height:1.5px;background:currentColor}.library-glyph:after{content:"";position:absolute;left:2.5px;right:2.5px;top:7.5px;height:1.5px;background:currentColor}.library-hint{margin-left:auto;font-size:10px;color:#91a09b;font-weight:400}.library-entry.is-active .library-hint{color:#5f9c8f}.materials-view{flex:1;overflow-y:auto;min-height:0}.materials-inner{width:min(860px,calc(100% - 48px));margin:0 auto;padding:34px 0 60px}.materials-head h2{font-family:Georgia,"Noto Serif SC",serif;font-size:27px;font-weight:550;letter-spacing:.04em;margin:0 0 8px}.materials-head p{color:#81918b;font-size:13px;margin:0 0 24px;line-height:1.7}.upload-zone{border:1.5px dashed #c7d8cf;background:#fdfefc;border-radius:16px;padding:30px 20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}.upload-zone:hover{border-color:#9ac8b7;background:#f8fcf9}.upload-zone.is-drag{border-color:var(--teal);background:var(--soft)}.upload-zone.is-busy{cursor:default}.upload-title{font-size:14px;color:#3c5958;font-weight:650}.upload-hint{font-size:11px;color:#9aa8a3;margin-top:8px}.upload-bar{height:8px;background:#e9f0ea;border-radius:6px;margin-top:14px;overflow:hidden}.upload-bar span{display:block;height:100%;background:var(--teal);border-radius:6px;transition:width .2s}.materials-warn{margin-top:14px;background:#fff6ee;border:1px solid #f1dcc7;color:#9a6a3c;border-radius:10px;padding:10px 13px;font-size:12px}.material-list{margin-top:22px;display:flex;flex-direction:column;gap:12px}.materials-empty{color:#9aa8a3;text-align:center;font-size:13px;padding:34px 10px}.material-item{background:#fff;border:1px solid #e5e9e5;border-radius:14px;padding:15px 17px;box-shadow:0 4px 17px #1c353108}.material-row{display:flex;align-items:center;gap:10px}.material-name{font-size:14px;font-weight:650;color:#2e4a4a;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.material-chip{margin-left:auto;flex:none;font-size:11px;font-weight:700;border-radius:999px;padding:3px 10px}.material-chip--wait{background:#eef2ee;color:#79897f}.material-chip--run{background:#e8f3f0;color:var(--teal)}.material-chip--ok{background:#e4f3e9;color:#2f8a5c}.material-chip--err{background:#fdeeea;color:#b0553f}.material-meta{display:flex;gap:14px;color:#93a29c;font-size:11px;margin-top:7px}.material-progress{margin-top:11px}.material-progress-bar{height:7px;background:#eef3ee;border-radius:6px;overflow:hidden}.material-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#57ab97,#1a766f);border-radius:6px;transition:width .3s}.material-progress-text{font-size:11px;color:#82948d;margin-top:6px}.material-error{margin-top:9px;background:#fff3f0;border:1px solid #f3d9d1;color:#a85446;border-radius:9px;padding:8px 11px;font-size:12px;line-height:1.6}.material-actions{display:flex;justify-content:flex-end;margin-top:11px}.material-delete{border:1px solid #ecd6cf;background:#fff;color:#b0553f;border-radius:9px;padding:6px 14px;font-size:12px;transition:background .15s,border-color .15s}.material-delete:hover:not(:disabled){background:#fdf0ec;border-color:#dfb3a6}@media(max-width:800px){.materials-inner{width:calc(100% - 32px);padding-top:22px}.material-meta{flex-wrap:wrap;gap:8px}}.stream-caret{display:inline-block;margin-left:2px;color:#559287;animation:zhiyu-blink 1s steps(1,end) infinite}@keyframes zhiyu-blink{50%{opacity:0}}.answer-mode-title{font-size:16.5px;font-weight:700;color:#1a766f;letter-spacing:.02em;margin:12px 0 4px;line-height:1.6}.answer-mode-title:first-child{margin-top:2px}.delete-conversations{width:100%;margin-top:12px;height:38px;border:1px solid #e3e7e2;border-radius:10px;background:#fbfcf9;color:#9a6a5f;font-size:13px;font-weight:600;letter-spacing:.02em;transition:background .16s,border-color .16s,color .16s}.delete-conversations:hover{border-color:#d8b3a9;background:#fdf5f2}.delete-conversations.is-active{color:var(--teal);border-color:var(--teal);background:var(--soft)}.delete-conversations.has-selection{background:#a35a4e;border-color:#a35a4e;color:#fff}.conversation-item.is-selectable{background:#fafbf8}.conversation-item.is-selected{background:var(--soft);color:var(--teal)}.conversation-check{width:15px;height:15px;flex:0 0 auto;border:1.5px solid #b8c5c1;border-radius:5px;background:#fff;position:relative}.conversation-check.is-checked{background:var(--teal);border-color:var(--teal)}.conversation-check.is-checked:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg)}.confirm-overlay{position:fixed;inset:0;background:#1428265c;display:grid;place-items:center;z-index:80}.confirm-card{width:min(90vw,340px);background:#fff;border-radius:16px;padding:26px 26px 22px;box-shadow:0 24px 60px #14282638}.confirm-card p{margin:0 0 20px;text-align:center;font-size:15px;color:var(--ink)}.confirm-actions{display:flex;gap:10px;justify-content:center}.confirm-actions button{min-width:92px;height:38px;border-radius:10px;font-size:14px;font-weight:600}.confirm-yes{background:#a35a4e;border:1px solid #a35a4e;color:#fff}.confirm-no{background:#fff;border:1px solid var(--line);color:var(--ink)}
