*{box-sizing:border-box}html,body,#root{height:100%;overflow:hidden}body{color:#f3f2ff;background:#0d0f1d;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif}.app{--sidebar-width:285px;grid-template-columns:var(--sidebar-width) minmax(560px,1fr) 420px;height:100%;min-height:0;display:grid;overflow:hidden}.left,.right{background:#111323;border-right:1px solid #2b2e49;min-height:0;padding:26px 18px}.left{flex-direction:column;display:flex;overflow:hidden}.brand{letter-spacing:4px;font-size:40px;font-weight:800}.tag{color:#a9abc7;margin:7px 0 35px;font-size:13px}.nav{color:#c8c7df;cursor:pointer;border-radius:14px;padding:15px 20px;font-size:17px}.nav.active{background:linear-gradient(100deg,#7134dd,#5429b2)}.history{background:#15182b;border:1px solid #2d3150;border-radius:12px;max-height:260px;margin:2px 8px 10px;padding:6px;overflow-y:auto;box-shadow:0 10px 26px #05060f55}.history-item{color:#c6c7dc;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:9px 12px 9px 24px;font-size:13px;line-height:1.45;transition:background .18s,color .18s;position:relative;overflow:hidden}.history-item:before{content:"";background:#5b5f82;border-radius:50%;width:5px;height:5px;margin-top:-2.5px;transition:background .18s,box-shadow .18s;position:absolute;top:50%;left:10px}.history-item:hover{color:#f0eefe;background:#262a45}.history-item:hover:before{background:#a565ff;box-shadow:0 0 0 4px #8e56ef26}.history-item.busy:hover{color:#c6c7dc;background:0 0}.history-item.busy:hover:before{box-shadow:none;background:#5b5f82}.history-item.empty{text-align:center;color:#71759a;cursor:default;padding-left:12px}.history-item.empty:before{display:none}.history-item.empty:hover{color:#71759a;background:0 0}.mascot{text-align:center;color:#9e61ff;margin-top:auto;padding-top:18px;font-weight:700}.mascot img{width:170px;max-width:100%;margin:auto;display:block}.brand-cn{color:#a45cff;font-size:16px;font-weight:800}.brand-en{color:#aeb0c9;margin-top:5px;font-size:11px}.main{flex-direction:column;min-width:0;min-height:0;display:flex}.top{border-bottom:1px solid #2b2e49;flex:none;align-items:center;gap:18px;height:120px;padding:25px 34px;display:flex}.avatar,.bot{background:#412282;border-radius:50%;place-items:center;display:grid}.avatar{width:52px;height:52px}.title{font-size:25px;font-weight:750}.status{color:#aeb0c9;font-size:14px}.status i{background:#54d58b;border-radius:50%;width:10px;height:10px;margin-right:7px;display:inline-block}.chat{flex:1;min-height:0;padding:35px 38px;overflow-y:auto}.user{justify-content:flex-end;margin:5px 0 22px;display:flex}.user .bubble{background:#6030d0}.bubble{white-space:pre-wrap;background:#1c1f33;border-radius:15px;max-width:82%;padding:16px 20px;line-height:1.7}.agent{gap:14px;margin-bottom:20px;display:flex}.bot{flex:none;width:42px;height:42px}.composer{background:#171a30;border:1px solid #4f4b91;border-radius:13px;flex:none;gap:12px;margin:0 36px 28px;padding:14px;display:flex}.composer textarea{color:#fff;resize:none;background:0 0;border:0;outline:0;flex:1;font-size:15px}.composer button{color:#fff;cursor:pointer;background:#7137ed;border:0;border-radius:11px;width:50px;font-size:22px}.right{border-left:1px solid #2b2e49;border-right:0;overflow-y:auto}.right h2{margin:0 0 22px}.source{background:#1d2035;border:1px solid #343854;border-radius:12px;margin:12px 0;padding:15px}.source p{color:#afb1c8;font-size:13px;line-height:1.55}.source a{color:#a368ff}.step{color:#d8d8e6;margin:18px 0}@media (width<=1050px){.app{--sidebar-width:220px;grid-template-columns:var(--sidebar-width) 1fr}.right{display:none}}@media (width<=680px){.app{display:block}.left{display:none}}.composer-zone{flex-direction:column;flex:none;gap:9px;min-width:0;margin:0 36px 28px;display:flex}.composer-zone .composer{min-height:68px;margin:0}.composer textarea{min-height:38px;line-height:1.55}.composer button{flex:none;transition:opacity .2s,transform .2s,background .2s}.composer button:hover:not(:disabled){background:#8450f1;transform:translateY(-1px)}.composer button:disabled{cursor:not-allowed;opacity:.35}.queue-panel{background:#15182b;border:1px solid #4a4378;border-radius:13px;overflow:hidden;box-shadow:0 10px 28px #05061066}.queue-summary{color:#e9e6f8;cursor:pointer;text-align:left;background:linear-gradient(90deg,#211b3c,#191c31);border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:46px;padding:10px 14px;display:flex}.queue-summary:focus-visible{outline-offset:-3px;outline:2px solid #a87aff}.queue-summary-title{align-items:center;gap:9px;min-width:0;font-size:13px;font-weight:700;display:flex}.queue-summary-title i{background:#a565ff;border-radius:50%;flex:none;width:9px;height:9px;animation:1.4s ease-in-out infinite queuePulse;box-shadow:0 0 0 5px #8e56ef22}.queue-summary-title strong{color:#f6efff;background:#6a39cc;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.queue-chevron{color:#aaa7c4;font-size:17px}.queue-body{border-top:1px solid #353256;padding:8px 10px 9px}.queue-list{max-height:132px;margin:0;padding:0;list-style:none;overflow-y:auto}.queue-item{color:#c7c8dc;border-radius:8px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:8px 10px;display:grid}.queue-item+.queue-item{border-top:1px solid #292c47}.queue-item.active{color:#eee7ff;background:#272044}.queue-item span{color:#a47bf0;font-size:11px;font-weight:750}.queue-item p{color:inherit;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:1.45;overflow:hidden}.queue-help{color:#8588a3;padding:7px 10px 1px;font-size:11px}.bubble.pending{white-space:normal;background:linear-gradient(115deg,#1b1d32,#24203d);border:1px solid #3c3761;min-width:310px}.bubble.failed{background:#2b1c29;border:1px solid #8b4055}.loading-process{flex-direction:column;gap:13px;display:flex}.loading-title{color:#ded7f5;align-items:center;gap:10px;font-size:14px;font-weight:650;display:flex}.loading-spinner{border:2px solid #5c527b;border-top-color:#b47cff;border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite loadingSpin}.loading-stages{align-items:center;gap:8px;display:flex}.loading-stages span{color:#777b98;background:#17192b;border:1px solid #41445f;border-radius:50%;place-items:center;width:24px;height:24px;font-size:10px;font-weight:800;transition:all .25s;display:grid}.loading-stages span.active{color:#fff;background:#6d37d4;border-color:#a165ff;box-shadow:0 0 0 4px #7f45e925}.loading-stages span.done{color:#dfffee;background:#256247;border-color:#4ebd83}.step{align-items:center;transition:color .25s,opacity .25s;display:flex}.step span{text-align:center;width:20px;display:inline-block}.step.waiting{color:#71758e;opacity:.7}.step.active{color:#caa9ff}.step.active span{animation:1.2s ease-in-out infinite queuePulse}.step.done{color:#d8d8e6}.step.done span{color:#54d58b}.step.error{color:#ff91aa}.history-item.busy{cursor:not-allowed;opacity:.55}@keyframes loadingSpin{to{transform:rotate(360deg)}}@keyframes queuePulse{0%,to{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}@media (prefers-reduced-motion:reduce){.loading-spinner,.queue-summary-title i,.step.active span{animation:none}}@media (width<=680px){.main{height:100%}.top{height:94px;padding:18px 16px}.chat{padding:24px 16px}.composer-zone{margin:0 14px 14px}.bubble{max-width:90%}.bubble.pending{min-width:min(310px,75vw)}.queue-item{grid-template-columns:58px minmax(0,1fr)}}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.queue-item p{overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.source{scroll-margin-block:24px;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}.source>b{align-items:flex-start;gap:9px;display:flex}.source-number{color:#d9c6ff;background:#292044;border:1px solid #7656ad;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:11px;line-height:1;display:inline-grid}.source.citation-active{background:#272044;border-color:#b27aff;transform:translateY(-2px);box-shadow:0 0 0 2px #9456ef55,0 12px 30px #05061077}.source.citation-active .source-number{color:#fff;background:#7540dc;border-color:#d7baff}@media (prefers-reduced-motion:reduce){.source{transition:none}.source.citation-active{transform:none}}.history-toggle{justify-content:space-between;align-items:center;gap:6px;font-family:inherit;display:flex}.history-toggle>span{white-space:nowrap}.history-chevron{flex:none;transition:transform .18s}.history-toggle[aria-expanded=true] .history-chevron{color:#c59eff;transform:rotate(180deg)}.history-toggle:focus-visible{outline-offset:-3px;outline:2px solid #a87aff}@media (prefers-reduced-motion:reduce){.history-chevron{transition:none}}.new-chat{color:#fff;white-space:nowrap;cursor:pointer;background:linear-gradient(135deg,#7137ed,#5429b2);border:1px solid #9767f2;border-radius:12px;flex:none;justify-content:center;align-items:center;gap:9px;min-height:44px;margin-left:auto;padding:11px 18px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;transition:background .18s,box-shadow .18s;display:inline-flex}.new-chat:hover{background:linear-gradient(135deg,#824af2,#6535c7);box-shadow:0 4px 16px #7137ed33}.new-chat:focus-visible{outline-offset:4px;outline:2px solid #d0b3ff}.top .avatar{flex:none}@media (width<=680px){.top{gap:10px}.top .title{font-size:clamp(15px,4vw,22px)}.top .avatar{width:38px;height:38px}.new-chat{gap:5px;min-height:42px;padding:9px 11px;font-size:14px}}.agent{min-width:0}.bubble{overflow-wrap:anywhere;min-width:0}.bubble p{margin:.75em 0}.bubble ul,.bubble ol{padding-left:1.5em}.bubble strong{color:#fff;font-weight:750}.bubble code{background:#101223;border:1px solid #303453;border-radius:5px;padding:2px 5px;font-size:.9em}.bubble pre{background:#101223;border:1px solid #303453;border-radius:8px;max-width:100%;padding:14px;line-height:1.5;overflow:auto}.bubble pre code{background:0 0;border:0;padding:0}.bubble a{color:#bd91ff;overflow-wrap:anywhere}.bubble blockquote{color:#c2c4d8;border-left:3px solid #8150e8;margin:1em 0;padding-left:1em}.table-scroll{-webkit-overflow-scrolling:touch;background:#15182a;border:1px solid #3a3e60;border-radius:9px;width:100%;max-width:100%;margin:1em 0;overflow-x:auto}.table-scroll:focus-visible{outline-offset:2px;outline:2px solid #a87aff}.bubble .table-scroll table{border-collapse:collapse;width:max-content;min-width:100%;margin:0}.bubble .table-scroll th,.bubble .table-scroll td{text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;border:1px solid #3a3e60;border-top:0;border-left:0;min-width:110px;max-width:360px;padding:8px 11px}.bubble .table-scroll th:last-child,.bubble .table-scroll td:last-child{border-right:0}.bubble .table-scroll tr:last-child td{border-bottom:0}.bubble .table-scroll th{color:#fff;background:#292d4a;font-weight:750;position:sticky;top:0}.bubble .table-scroll tbody tr:nth-child(2n){background:#1a1d31}.bubble .table-scroll tbody tr:hover{background:#242743}@media (width<=680px){.bubble .table-scroll th,.bubble .table-scroll td{min-width:96px;max-width:260px;padding:7px 9px}}.citation-wrap{vertical-align:super;white-space:normal;margin:0 2px;line-height:1;display:inline-flex;position:relative}.bubble a.citation-marker{color:#eadcff;overflow-wrap:normal;cursor:pointer;background:#34205e;border:1px solid #a979ff;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;font-size:11px;font-weight:800;line-height:1;text-decoration:none;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;display:inline-grid}.bubble a.citation-marker:hover,.bubble a.citation-marker:focus-visible,.citation-wrap.active .citation-marker{color:#fff;background:#7540dc;border-color:#d4b5ff;outline:none;transform:translateY(-1px);box-shadow:0 0 0 4px #8e56ef30}.citation-tooltip{z-index:30;color:#f0edff;opacity:0;visibility:hidden;pointer-events:none;text-align:left;background:#101223;border:1px solid #62558e;border-radius:9px;width:max-content;min-width:220px;max-width:320px;padding:10px 12px;font-size:12px;line-height:1.45;transition:opacity .16s,transform .16s,visibility .16s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,5px);box-shadow:0 12px 30px #050610cc}.citation-tooltip:after{content:"";border:6px solid #0000;border-top-color:#62558e;position:absolute;top:100%;left:50%;transform:translate(-50%)}.citation-tooltip strong,.citation-tooltip small{display:block}.citation-tooltip strong{font-size:12px}.citation-tooltip small{color:#aeb1c8;overflow-wrap:anywhere;margin-top:5px}.citation-wrap:hover .citation-tooltip,.citation-wrap:focus-within .citation-tooltip,.citation-wrap.active .citation-tooltip{opacity:1;visibility:visible;transform:translate(-50%)}.citation-wrap.unavailable .citation-marker{color:#9da1b7;background:#282b3c;border-color:#555a72}.citation-wrap.unavailable .citation-tooltip{color:#aeb1c8;border-color:#484c63}@media (width<=680px){.citation-tooltip{max-width:min(280px,75vw);left:0;transform:translateY(5px)}.citation-wrap:hover .citation-tooltip,.citation-wrap:focus-within .citation-tooltip,.citation-wrap.active .citation-tooltip{transform:translate(0)}.citation-tooltip:after{left:12px}}@media (prefers-reduced-motion:reduce){.bubble a.citation-marker,.citation-tooltip{transition:none}}.bubble h1,.bubble h2,.bubble h3,.bubble h4{margin:.45em 0 .6em;line-height:1.3}.bubble p{margin:.4em 0;line-height:1.55}.bubble ul,.bubble ol{margin:.4em 0;padding-left:1.5em;line-height:1.55}.bubble li{margin:.12em 0}.bubble li p{margin:.12em 0;line-height:1.55}*,.chat,.right,.history,.settings-panel,.queue-list{scrollbar-width:thin;scrollbar-color:#4b4e68 transparent}.chat::-webkit-scrollbar{width:8px;height:8px}.right::-webkit-scrollbar{width:8px;height:8px}.history::-webkit-scrollbar{width:8px;height:8px}.settings-panel::-webkit-scrollbar{width:8px;height:8px}.queue-list::-webkit-scrollbar{width:8px;height:8px}.chat::-webkit-scrollbar-track{background:0 0}.right::-webkit-scrollbar-track{background:0 0}.history::-webkit-scrollbar-track{background:0 0}.settings-panel::-webkit-scrollbar-track{background:0 0}.queue-list::-webkit-scrollbar-track{background:0 0}.chat::-webkit-scrollbar-thumb{background:#4b4e68 padding-box padding-box;border:2px solid #0000;border-radius:10px}.right::-webkit-scrollbar-thumb{background:#4b4e68 padding-box padding-box;border:2px solid #0000;border-radius:10px}.history::-webkit-scrollbar-thumb{background:#4b4e68 padding-box padding-box;border:2px solid #0000;border-radius:10px}.settings-panel::-webkit-scrollbar-thumb{background:#4b4e68 padding-box padding-box;border:2px solid #0000;border-radius:10px}.queue-list::-webkit-scrollbar-thumb{background:#4b4e68 padding-box padding-box;border:2px solid #0000;border-radius:10px}.chat::-webkit-scrollbar-thumb:hover{background:#7161a1 padding-box padding-box;border:2px solid #0000}.right::-webkit-scrollbar-thumb:hover{background:#7161a1 padding-box padding-box;border:2px solid #0000}.history::-webkit-scrollbar-thumb:hover{background:#7161a1 padding-box padding-box;border:2px solid #0000}.settings-panel::-webkit-scrollbar-thumb:hover{background:#7161a1 padding-box padding-box;border:2px solid #0000}.queue-list::-webkit-scrollbar-thumb:hover{background:#7161a1 padding-box padding-box;border:2px solid #0000}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #b58aff}.left .nav{text-align:left;background:0 0;border:0;flex-shrink:0;width:100%}.left .nav.active{color:#fff;background:0 0}.left .nav:hover:not(.active){background:#211b38}.left .nav{isolation:isolate;align-items:center;gap:12px;font-family:inherit;line-height:24px;transition:background-color .2s,color .2s;display:flex;position:relative}.left .nav:before{content:"";z-index:-1;border-radius:inherit;opacity:0;pointer-events:none;background:linear-gradient(100deg,#7b32ef,#5925c8);transition:opacity .2s;position:absolute;inset:0}.left .nav.active:before{opacity:1}.nav-icon{flex:none;justify-content:center;align-items:center;width:18px;height:24px;font-size:17px;line-height:1;display:inline-flex}.left .history-toggle{justify-content:flex-start}.history-toggle .history-chevron{margin-left:auto}.app>.main,.app>.kb-page{animation:.2s ease-out page-enter}@keyframes page-enter{0%{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.left .nav,.left .nav:before{transition:none}.app>.main,.app>.kb-page{animation:none}}@media (width<=680px){.left .nav{gap:4px}.nav-icon{width:14px;font-size:12px}}.app.knowledge-app{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.kb-page{--kb-border:#30334e;--kb-muted:#a0a4be;background:radial-gradient(at 80% 0,#17132b55,#0000 45%),#0d101e;flex-direction:column;gap:16px;min-width:0;min-height:0;padding:26px 28px 22px;display:flex}.kb-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;display:flex}.kb-heading-row{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:5px;display:flex}.kb-header h1{letter-spacing:.03em;margin:0;font-size:28px}.kb-header p{color:var(--kb-muted);margin:0;font-size:14px}.kb-button{color:#cfafff;white-space:nowrap;background:0 0;border:1px solid #8050cf;border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:40px;padding:9px 18px;font-size:13px;text-decoration:none;display:inline-flex}.kb-button:hover{background:#281c44;border-color:#aa76ff}.kb-primary{color:#fff;background:linear-gradient(110deg,#8736fa,#6824df);border-color:#8736fa;min-width:190px}.kb-primary:hover{background:#8541ed}.kb-chip,.kb-chip{color:#c59aff;background:#713acc20;border:1px solid #794cb5}.kb-total{color:var(--kb-muted);white-space:nowrap;border:1px solid var(--kb-border);background:#181a2b;border-radius:6px;padding:3px 9px;font-size:12px}.kb-search{min-height:46px;color:var(--kb-muted);z-index:3;background:#121525;border:1px solid #504875;border-radius:8px;flex-shrink:0;align-items:center;gap:12px;padding:0 15px;display:flex;position:relative}.kb-search:focus-within{border-color:#ac76ff;box-shadow:0 0 0 3px #8a4ff015}.kb-search input{color:#eeecfa;background:0 0;border:0;outline:none;flex:1;min-width:0;height:44px;font-size:14px}.kb-search input::placeholder{color:#9b9eb7}.kb-search kbd{background:#24263c;border:1px solid #383b59;border-radius:4px;padding:3px 7px;font-size:11px}.kb-search-results{background:#181b30;border:1px solid #5e488b;border-radius:10px;max-height:min(480px,60vh);position:absolute;top:calc(100% + 7px);left:0;right:0;overflow:auto;box-shadow:0 20px 50px #0008}.kb-results-heading{color:#b2b3cd;border-bottom:1px solid #30344b;padding:13px 18px;font-size:12px}.kb-search-results>button{color:#b89be6;text-align:left;background:0 0;border:0;border-bottom:1px solid #282c45;align-items:center;gap:14px;width:100%;padding:14px 18px;display:flex}.kb-search-results>button:hover,.kb-search-results>button:focus-visible{background:#30234a}.kb-search-results>button>span{flex:1;min-width:0}.kb-search-results strong{color:#f0ebff;font-size:14px;font-weight:550;display:block}.kb-search-results small{color:#a7aac1;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px;display:block;overflow:hidden}.kb-body{flex:1;grid-template-columns:250px minmax(0,1fr);gap:14px;min-height:0;display:grid}.kb-body.directory-collapsed{grid-template-columns:minmax(0,1fr)}.kb-directory,.kb-reader{border:1px solid var(--kb-border);background:#101422;border-radius:10px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.kb-directory-heading{flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 14px 12px;display:flex}.kb-directory-heading h2{margin:0;font-size:16px}.kb-icon-button{color:#b8bbd3;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;min-width:30px;min-height:30px;padding:4px;display:inline-flex}.kb-icon-button:hover{color:#ede5ff;background:#2c2542}.kb-directory-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding:0 8px 14px;overflow:auto}.kb-category{color:#d8d8e9;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:11px;width:100%;padding:12px 10px;font-size:13px;display:flex}.kb-category>span:nth-child(2){flex:1}.kb-category small{color:#9da1bf;font-size:11px}.kb-category.is-active{color:#f4eeff;background:linear-gradient(100deg,#43267b,#2e234c);border-color:#68429c}.kb-category:hover:not(.is-active){background:#1e2035}.kb-category svg{flex-shrink:0}.kb-category .is-open,.kb-tree-toggle .is-open{display:flex;transform:rotate(90deg)}.kb-group{margin-top:3px}.kb-tree,.kb-all-documents,.kb-tree ul{margin:4px 0;padding:0;list-style:none}.kb-tree{border-left:1px solid #3f335d;margin-left:17px;padding-left:5px}.kb-tree ul{border-left:1px solid #302c47;margin-left:11px;padding-left:3px}.kb-tree-row{border-radius:5px;align-items:flex-start;min-width:0;margin:2px 0;display:flex;position:relative}.kb-tree-row.is-selected{color:#e1cbff;background:#322449}.kb-tree-row.is-selected:before{content:"";background:#b477ff;border-radius:2px;width:3px;height:14px;position:absolute;top:10px;left:-7px}.kb-tree-row:hover{background:#24203b}.kb-tree-link{text-align:left;min-width:0;color:inherit;overflow-wrap:anywhere;background:0 0;border:0;flex:1;padding:7px 5px;font-size:12px;line-height:1.6}.kb-tree-toggle{color:#aaa0bf;background:0 0;border:0;flex:none;padding:10px 1px;display:flex}.kb-tree-dot{border:1px solid #646080;border-radius:50%;flex-shrink:0;width:7px;height:7px;margin:13px 5px 0 2px}.kb-tree-row.is-selected .kb-tree-dot{background:#b978ff;border-color:#b978ff}.kb-directory-foot{color:#999db8;border-top:1px solid #272b42;flex-shrink:0;padding:12px;font-size:10px}.kb-local-dot{background:#ab7ced;border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.kb-reader-toolbar{border-bottom:1px solid #24283e;flex-shrink:0;align-items:center;gap:10px;min-width:0;padding:10px 20px;display:flex}.kb-breadcrumb{color:#adb0c9;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:10px;font-size:11px;display:block;overflow:hidden}.kb-breadcrumb>span{color:#6b708d;padding:0 10px}.kb-copy{flex-shrink:0;margin-left:auto;font-size:11px}.kb-article-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding:24px 30px 32px;overflow:auto}.kb-article-meta{color:#9ea1ba;align-items:center;gap:10px;margin-bottom:16px;font-size:11px;display:flex}.kb-file-name{text-overflow:ellipsis;white-space:nowrap;max-width:45%;margin-left:auto;font-size:10px;overflow:hidden}.kb-sections{white-space:nowrap;border-top:1px solid #30334c;border-bottom:1px solid #30334c;align-items:center;gap:16px;margin-bottom:22px;padding:10px 0;font-size:12px;display:flex;overflow-x:auto}.kb-sections strong{color:#b8bacf;font-weight:500}.kb-sections button{color:#bd95f1;background:0 0;border:0;padding:0;font-size:12px}.kb-sections button:hover{color:#fff}.kb-markdown{color:#d9dbe8;overflow-wrap:anywhere;font-size:14px;line-height:1.85}.kb-document-title,.kb-markdown h1{color:#f4f1ff;letter-spacing:-.02em;margin:0 0 22px;font-size:28px;line-height:1.4}.kb-markdown h2{color:#efedf9;margin:32px 0 12px;font-size:21px;line-height:1.5}.kb-markdown h3{color:#efedf9;margin:24px 0 10px;font-size:17px}.kb-markdown :is(h1,h2,h3,h4,h5,h6){scroll-margin-top:20px}.kb-markdown p{margin:12px 0}.kb-markdown a{color:#bd91fb;text-underline-offset:3px}.kb-markdown a:hover{color:#dbc1ff}.kb-markdown ul,.kb-markdown ol{margin:12px 0;padding-left:24px}.kb-markdown li{margin:6px 0;padding-left:3px}.kb-markdown li::marker{color:#aa70ee}.kb-markdown code{overflow-wrap:anywhere;background:#24213a;border:1px solid #37314f;border-radius:4px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.kb-markdown pre{white-space:pre;background:#0b0e1a;border:1px solid #30354e;border-radius:8px;padding:18px;line-height:1.65;overflow:auto}.kb-markdown pre code{overflow-wrap:normal;background:0 0;border:0;padding:0}.kb-markdown blockquote{color:#c8badd;background:#251d39;border-left:3px solid #995bf0;border-radius:0 7px 7px 0;margin:20px 0;padding:8px 18px}.kb-markdown img{background:#f4f4f6;border-radius:7px;max-width:100%;height:auto}.kb-markdown hr{border:0;border-top:1px solid #34334b;margin:24px 0}.kb-table-wrap{border:1px solid #373b57;border-radius:7px;margin:20px 0;overflow:auto}.kb-markdown table{border-collapse:collapse;width:100%;font-size:13px}.kb-markdown th,.kb-markdown td{text-align:left;border:1px solid #373b57;min-width:110px;padding:10px 14px}.kb-markdown th{color:#eeebf8;background:#202439}.kb-markdown td{background:#15192a}.kb-reader-footer{background:#111423;border-top:1px solid #30334a;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;display:flex}.kb-state{color:#aaaec6;padding:24px;font-size:13px;line-height:1.8}.kb-state .kb-button{margin-top:12px}.chat-document-context{color:#d1b5f4;background:#211931;border:1px solid #5c3b87;border-radius:8px;align-items:center;gap:10px;margin:0 36px 8px;padding:10px 14px;font-size:12px;display:flex}.chat-document-context span{flex:1}.chat-document-context button{color:#d1b5f4;background:0 0;border:0}.composer-wrap{flex-shrink:0}@media (width>=1600px){.kb-body{grid-template-columns:270px minmax(0,1fr)}.kb-body.directory-collapsed{grid-template-columns:minmax(0,1fr)}.kb-markdown{font-size:15px}.kb-page{padding:30px 32px 26px}}@media (width<=1150px){.kb-page{gap:12px;padding:20px 18px}.kb-body{grid-template-columns:220px minmax(0,1fr);gap:10px}.kb-article-scroll{padding:22px}.kb-document-title,.kb-markdown h1{font-size:25px}}@media (width<=850px){.kb-body{grid-template-columns:190px minmax(0,1fr)}.kb-reader-footer{padding:12px}.kb-button{padding:9px 10px}.kb-primary{min-width:0}.kb-reader-footer .kb-button{font-size:11px}.kb-article-scroll{padding:18px}.kb-file-name{display:none}}@media (width<=680px){.app,.app.knowledge-app{flex-direction:column;display:flex}.app .left{border-bottom:1px solid #30334a;flex-direction:row;flex-shrink:0;align-items:center;gap:4px;padding:8px;display:flex;position:relative;overflow:visible}.left .brand{letter-spacing:1px;margin-right:5px;font-size:17px!important}.left .tag,.left .mascot{display:none}.left .nav,.knowledge-app .left .nav{white-space:nowrap;border-radius:7px;flex:1;width:auto;padding:9px 4px;font-size:12px}.left .history{z-index:8;position:absolute;top:54px;left:8px;right:8px}.app .main{flex:1;height:auto}.kb-page{flex:1;gap:10px;padding:14px 12px}.kb-header h1{font-size:22px}.kb-header p,.kb-total{font-size:11px}.kb-body{grid-template-columns:minmax(0,1fr);position:relative}.kb-directory{z-index:2;background:#151829;width:min(280px,85%);position:absolute;inset:0 auto 0 0;box-shadow:20px 0 40px #0008}.kb-reader-footer .kb-button{font-size:12px}.kb-reader-toolbar{padding:8px 12px}.kb-article-scroll{padding:16px}.kb-document-title,.kb-markdown h1{font-size:23px}.kb-markdown{font-size:14px}.top{gap:10px;height:85px;padding:16px}.top .title{font-size:18px}.top .status{font-size:11px}.top .badge{display:none}.chat{padding:18px 14px}.composer{margin:0 14px 14px}.chat-document-context{margin:0 14px 8px}}.composer-zone .chat-document-context{margin:0}.app.settings-app{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.settings-page{background:radial-gradient(at 80% 0,#17132b55,#0000 45%),#0d101e;min-width:0;min-height:0;padding:36px 40px;animation:.2s ease-out page-enter;overflow-y:auto}.settings-content{max-width:1120px;margin:0 auto}.settings-page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:34px;display:flex}.settings-page-header h1{letter-spacing:.03em;margin:0 0 8px;font-size:32px}.settings-page-header p{color:#a0a4be;margin:0;font-size:15px}.settings-autosave{color:#aeb0c9;white-space:nowrap;align-items:center;gap:10px;font-size:13px;display:flex}.settings-autosave>span{color:#143521;background:#67dd88;border-radius:50%;place-items:center;width:18px;height:18px;font-size:12px;font-weight:800;display:grid}.settings-grid{grid-template-columns:minmax(0,1fr);gap:24px;display:grid}.settings-card{background:linear-gradient(135deg,#15182b,#121525);border:1px solid #30334e;border-radius:16px;min-width:0;padding:28px}.settings-card-heading{align-items:center;gap:16px;min-height:36px;margin-bottom:28px;display:flex}.settings-heading-icon{color:#a565ff;background:#25203e;border:1px solid #373052;border-radius:13px;flex:none;place-items:center;width:56px;height:56px;display:grid}.settings-heading-icon svg{width:30px;height:30px}.settings-preferences{border-top:1px solid #2b3049}.settings-card-heading h2{margin:0;font-size:20px;font-weight:650}.settings-card-heading p{color:#a0a4be;margin:8px 0 0;font-size:13px;line-height:1.6}.settings-preference{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:26px 0;display:flex}.settings-preference+.settings-preference{border-top:1px solid #2b3049}.settings-preference strong{font-size:16px;font-weight:550;display:block}.settings-preference small{color:#a0a4be;margin-top:9px;font-size:13px;line-height:1.6;display:block}.settings-switch{appearance:none;cursor:pointer;background:#3d425e;border-radius:20px;flex:none;width:48px;height:27px;margin:0;transition:background .2s;position:relative}.settings-switch:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:transform .2s;position:absolute;top:4px;left:4px;box-shadow:0 1px 4px #0004}.settings-switch:checked{background:#843cf0}.settings-switch:checked:after{transform:translate(21px)}.settings-system{grid-column:1/-1}.settings-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.settings-status-grid>div{align-items:flex-start;gap:14px;padding:10px 20px;font-size:14px;display:flex}.settings-status-grid>div:first-child{padding-left:0}.settings-status-grid>div+div{border-left:1px solid #30334e}.settings-status-dot{background:#67dd88;border-radius:50%;flex:none;width:13px;height:13px;margin-top:3px}.settings-status-grid svg{color:#b9bde0;flex:none;width:22px;height:22px}.settings-status-grid strong,.settings-status-grid small{margin-top:12px;line-height:1.5;display:block}.settings-status-grid strong{color:#67dd88;font-size:14px}.settings-status-grid small{color:#aeb0c9;font-size:13px}@media (width<=1150px){.settings-page{padding:28px 24px}.settings-grid{grid-template-columns:1fr}.settings-preference{padding:20px 0}.settings-card{padding:24px}}@media (width<=680px){.app.settings-app{flex-direction:column;display:flex}.settings-page{flex:1;padding:24px 16px}.settings-page-header{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:24px}.settings-page-header h1{font-size:26px}.settings-card{padding:20px}.settings-grid{gap:16px}.settings-status-grid{grid-template-columns:1fr}.settings-status-grid>div{padding:16px 0}.settings-status-grid>div+div{border-top:1px solid #30334e;border-left:0}.settings-card-heading h2{font-size:18px}}@media (prefers-reduced-motion:reduce){.settings-page{animation:none}.settings-switch,.settings-switch:after{transition:none}}
