@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.0%;size-adjust:107.12%}.inter_5972bc34-module__OU16Qa__className{font-family:Inter,Inter Fallback;font-style:normal}
*,:before,:after{box-sizing:border-box}*{margin:0;padding:0}:root{--ink:#071015;--panel:#0b1a21;--panel-2:#10252d;--panel-3:#133139;--paper:#f7f5ef;--paper-soft:#eeeee7;--surface:#fff;--line:#09181c24;--line-dark:#dff3ef29;--text:#101820;--muted:#70808a;--muted-dark:#9db0b4;--teal:#22c8b8;--teal-2:#057f75;--mint:#d9fff5;--amber:#f2b75b;--amber-soft:#fff0d0;--red:#ef5d5d;--green:#36d39a;--shadow:0 22px 70px #05111824;--radius:8px;--font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}html,body{min-height:100%;color:var(--text);font-family:var(--font);background:#071015}button,textarea,input{font:inherit}button{cursor:pointer}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#6c848752;border-radius:999px}.app-shell{background:radial-gradient(circle at 18% 12%,#22c8b82e,#0000 28%),linear-gradient(135deg,#071015 0%,#0b1a21 38%,#071015 100%);grid-template-columns:minmax(280px,340px) minmax(520px,1fr) minmax(300px,390px);height:100vh;display:grid;overflow:hidden}.library-panel,.source-panel{color:#edf7f4;background:#08161cf0;flex-direction:column;min-width:0;display:flex;overflow:hidden}.library-panel{border-right:1px solid var(--line-dark);gap:16px;padding:18px}.source-panel{border-left:1px solid var(--line-dark);gap:16px;padding:22px}.chat-panel{background:linear-gradient(180deg, #ffffffdb, #f7f5eff5), var(--paper);min-width:0;color:var(--text);grid-template-rows:auto 1fr auto;display:grid;overflow:hidden}.brand-row,.chat-topbar,.source-header,.section-head,.source-title-row,.doc-actions,.topbar-actions{align-items:center;display:flex}.brand-row{gap:12px}.brand-row h1,.chat-topbar h2,.source-header h2{font-size:1.05rem;font-weight:700;line-height:1.2}.eyebrow{color:inherit;opacity:.62;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:700}.icon-btn{border:1px solid var(--line-dark);width:36px;height:36px;color:inherit;background:#ffffff0a;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-btn span{background:currentColor;border-radius:999px;width:14px;height:2px;display:block}.icon-btn:not(.compose-btn){flex-direction:column;gap:3px}.compose-btn{margin-left:auto;font-size:1.3rem;line-height:1}.upload-zone{text-align:center;background:#22c8b814;border:1px dashed #22c8b8b8;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:148px;padding:20px 14px;transition:background .18s,border-color .18s,transform .18s;display:flex}.upload-zone:hover,.upload-zone.drag-over{border-color:var(--teal);background:#22c8b826;transform:translateY(-1px)}.upload-zone input{display:none}.upload-zone h2{font-size:1rem}.upload-zone p,.upload-zone span{color:var(--muted-dark);font-size:.82rem;line-height:1.45}.upload-mark,.assistant-mark{width:44px;height:44px;color:var(--teal);background:#22c8b829;border:1px solid #22c8b861;border-radius:14px;place-items:center;font-size:.8rem;font-weight:800;display:grid}.summary-tile{border:1px solid var(--line-dark);background:#ffffff0b;border-radius:8px;grid-template-columns:auto 1fr;gap:12px;padding:16px;display:grid}.summary-tile strong{font-size:.95rem}.summary-tile p{color:var(--muted-dark);margin-top:3px;font-size:.82rem}.status-ring{border:2px solid var(--teal);width:34px;height:34px;color:var(--teal);border-radius:50%;place-items:center;font-size:.68rem;font-weight:800;display:grid}.summary-bar,.storage-bar,.mini-progress{background:#ffffff21;border-radius:999px;height:5px;overflow:hidden}.summary-bar{grid-column:1/-1}.summary-bar span,.storage-bar span,.mini-progress span{background:linear-gradient(90deg, var(--teal), #7ce8ce);height:100%;display:block}.document-section{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.section-head{justify-content:space-between;gap:10px}.section-head p{letter-spacing:.08em;text-transform:uppercase;color:var(--muted-dark);font-size:.72rem;font-weight:800}.mini-btn,.filter-btn{border:1px solid var(--line);color:var(--text);background:#ffffffb8;border-radius:8px;padding:8px 11px;font-size:.8rem}.library-panel .mini-btn,.source-panel .mini-btn{color:#eef7f5;border-color:var(--line-dark);background:#ffffff0d}.library-panel .mini-btn:disabled{cursor:not-allowed;opacity:.45}.ai-settings{border:1px solid var(--line-dark);background:#ffffff0b;border-radius:8px;flex-direction:column;gap:10px;padding:14px;display:flex}.mode-pill{color:var(--amber);background:#f2b75b1a;border:1px solid #f2b75b66;border-radius:999px;padding:4px 8px;font-size:.68rem;font-weight:800}.mode-pill.enabled{color:var(--teal);background:#22c8b81a;border-color:#22c8b880}.provider-toggle{grid-template-columns:1fr 1fr;gap:6px;display:grid}.provider-toggle button,.api-key-input{border:1px solid var(--line-dark);color:#edf7f4;background:#ffffff0a;border-radius:8px}.provider-toggle button{padding:8px 10px;font-size:.78rem}.provider-toggle button.active{color:var(--mint);background:#22c8b824;border-color:#22c8b894}.api-key-input{outline:none;width:100%;min-width:0;padding:10px 11px;font-size:.8rem}.api-key-input::placeholder{color:#edf7f473}.ai-actions{grid-template-columns:1fr auto;gap:8px;display:grid}.library-panel .mini-btn.ghost{color:var(--muted-dark)}.search-box{border:1px solid var(--line-dark);height:42px;color:var(--muted-dark);background:#ffffff09;border-radius:8px;align-items:center;gap:9px;padding:0 12px;display:flex}.search-box span{color:var(--teal);font-size:.72rem;font-weight:800}.search-box input{width:100%;min-width:0;color:inherit;background:0 0;border:none;outline:none}.document-list,.source-list,.chat-thread{overflow-y:auto}.document-list{flex-direction:column;gap:8px;min-height:0;padding-right:2px;display:flex}.doc-item,.source-card{border:1px solid var(--line-dark);background:#ffffff0e;border-radius:8px;gap:10px;display:grid}.doc-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:10px}.doc-item.done{border-color:#22c8b861}.file-chip{color:#fff;background:linear-gradient(135deg,#ef5d5d,#f2b75b);border-radius:7px;place-items:center;width:34px;height:34px;font-size:.65rem;font-weight:800;display:grid}.doc-info{min-width:0}.doc-info strong,.source-content strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;display:block;overflow:hidden}.doc-info span,.doc-info em{color:var(--muted-dark);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.74rem;font-style:normal;display:block;overflow:hidden}.doc-actions{flex-direction:column;align-items:flex-end;gap:6px}.badge{color:var(--teal);background:#22c8b814;border:1px solid;border-radius:6px;padding:3px 7px;font-size:.68rem;line-height:1}.badge.failed{color:var(--red);background:#ef5d5d17}.badge.processing,.badge.pending{color:var(--amber);background:#f2b75b1a}.delete-btn{color:var(--muted-dark);background:0 0;border:none;font-size:.68rem}.delete-btn:hover{color:var(--red)}.mini-progress{margin-top:7px}.mini-progress span{width:46%;animation:1.4s ease-in-out infinite slide-progress}@keyframes slide-progress{0%{transform:translate(-100%)}to{transform:translate(240%)}}.empty-library,.empty-sources{border:1px solid var(--line-dark);color:var(--muted-dark);background:#ffffff0a;border-radius:8px;padding:16px}.empty-library strong,.empty-sources strong{color:#edf7f4;font-size:.92rem}.empty-library p,.empty-sources p{margin-top:6px;font-size:.82rem;line-height:1.5}.storage-strip{border:1px solid var(--line-dark);color:var(--muted-dark);border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;font-size:.78rem;display:grid}.chat-topbar{border-bottom:1px solid var(--line);background:#ffffffb8;justify-content:space-between;gap:18px;min-height:76px;padding:18px 28px}.chat-topbar h2{color:var(--ink);font-size:clamp(1.15rem,1.7vw,1.55rem)}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.chat-thread{flex-direction:column;gap:18px;padding:26px 28px;display:flex}.welcome-state{text-align:center;flex-direction:column;align-items:center;gap:14px;max-width:620px;margin:auto;display:flex}.welcome-state h3{color:var(--ink);font-size:clamp(1.45rem,2.5vw,2.1rem)}.welcome-state p{color:var(--muted);line-height:1.6}.suggestion-row,.quick-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.suggestion-row button,.quick-actions button{border:1px solid var(--line);color:#31424a;background:#ffffffc7;border-radius:8px;padding:9px 12px;font-size:.84rem}.message{gap:12px;width:100%;display:flex}.message.user{flex-direction:row-reverse}.avatar{background:var(--paper-soft);color:#25333a;border:1px solid var(--line);border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:.72rem;font-weight:800;display:grid}.assistant .avatar{color:#fff;background:linear-gradient(135deg, var(--teal-2), var(--teal));border:none}.message-body{min-width:0;max-width:min(720px,82%)}.message.user .message-body{justify-content:flex-end;display:flex}.answer-label{color:var(--teal-2);background:#22c8b81a;border-radius:8px;align-items:center;margin-bottom:8px;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.bubble{border:1px solid var(--line);color:var(--text);white-space:pre-wrap;word-break:break-word;background:#ffffffe6;border-radius:8px;padding:16px 18px;line-height:1.7;box-shadow:0 12px 30px #08181f12}.message.user .bubble{box-shadow:none;background:linear-gradient(135deg,#22c8b81f,#ffffffd1)}.bubble.error{color:#8d2525;background:#ef5d5d17;border-color:#ef5d5d6b}.cursor{vertical-align:text-bottom;background:var(--teal);width:2px;height:1em;margin-left:3px;animation:.8s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.thinking-dots{align-items:center;gap:5px;display:inline-flex}.thinking-dots span{background:var(--teal);opacity:.35;border-radius:50%;width:7px;height:7px;animation:1.1s ease-in-out infinite pulse-dot}.thinking-dots span:nth-child(2){animation-delay:.16s}.thinking-dots span:nth-child(3){animation-delay:.32s}@keyframes pulse-dot{50%{opacity:1;transform:translateY(-4px)}}.citation-block{margin-top:10px}.citations-toggle{color:var(--teal-2);background:0 0;border:none;font-size:.8rem;font-weight:800}.inline-citations{gap:8px;margin-top:10px;display:grid}.inline-citation{border:1px solid var(--line);border-left:4px solid var(--amber);background:#ffffffbd;border-radius:8px;padding:10px}.inline-citation strong,.inline-citation span{font-size:.78rem;display:block}.inline-citation span{color:var(--muted);margin-top:3px}.inline-citation p{color:#40525a;margin-top:6px;font-size:.78rem;line-height:1.45}.composer-area{border-top:1px solid var(--line);background:#f7f5efeb;padding:14px 28px 18px}.quick-actions{justify-content:flex-start;margin-bottom:10px}.composer{background:#ffffffd1;border:1px solid #09181c42;border-radius:8px;grid-template-columns:1fr auto;align-items:end;gap:12px;padding:12px;display:grid}.composer:focus-within{border-color:#22c8b8b8;box-shadow:0 0 0 3px #22c8b81f}.composer textarea{resize:none;min-width:0;max-height:132px;color:var(--text);background:0 0;border:none;outline:none;line-height:1.55}.composer textarea::placeholder{color:#89959b}.send-btn{color:#fff;background:linear-gradient(135deg, var(--teal-2), var(--teal));border:none;border-radius:8px;min-width:76px;height:44px;font-weight:800;box-shadow:0 10px 24px #057f7547}.send-btn:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.input-hint{color:var(--muted);margin-top:8px;font-size:.76rem}.source-header{justify-content:space-between;gap:12px}.source-list{flex-direction:column;gap:10px;min-height:0;max-height:48vh;display:flex}.source-card{grid-template-columns:auto minmax(0,1fr);padding:12px}.source-index{color:#221509;background:var(--amber);border-radius:6px;place-items:center;width:24px;height:24px;font-size:.75rem;font-weight:800;display:grid}.source-title-row{justify-content:space-between;gap:10px}.source-title-row span{color:#87f1dd;white-space:nowrap;background:#22c8b814;border:1px solid #22c8b86b;border-radius:999px;padding:3px 7px;font-size:.68rem}.source-meta{color:var(--muted-dark);margin:2px 0 8px;font-size:.78rem}.source-content p:not(.source-meta){color:#c7d8d6;font-size:.82rem;line-height:1.45}.graph-panel{border:1px solid var(--line-dark);background:#ffffff0a;border-radius:8px;padding:14px}.graph{height:270px;margin-top:12px;position:relative}.graph-empty{border:1px dashed var(--line-dark);text-align:center;min-height:160px;color:var(--muted-dark);border-radius:8px;place-content:center;margin-top:12px;padding:18px;display:grid}.graph-empty strong{color:#edf7f4;font-size:.92rem}.graph-empty p{max-width:220px;margin-top:6px;font-size:.78rem;line-height:1.45}.node{z-index:2;text-align:center;border:1px solid var(--line-dark);color:#f0faf8;background:#ffffff14;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:108px;min-height:58px;padding:8px;line-height:1.3;display:flex;position:absolute}.node strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%;font-size:.72rem;font-weight:800;display:-webkit-box;overflow:hidden}.node span{width:100%;color:var(--muted-dark);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;overflow:hidden}.node-center{background:linear-gradient(135deg,#057f75f2,#22c8b8d1);border-color:#7dffe580;width:122px;min-height:76px;top:50%;left:50%;transform:translate(-50%,-50%)}.node-center span{color:#eefffcd1}.node.primary{background:#22c8b821;border-color:#22c8b885}.node.warning{background:#f2b75b1c;border-color:#f2b75b7a}.node.warning span{color:#e8c889}.node.error{background:#ef5d5d1f;border-color:#ef5d5d7a}.node.error span{color:#f2a0a0}.node-0{top:4px;left:50%;transform:translate(-50%)}.node-1{top:50%;right:0;transform:translateY(-50%)}.node-2{bottom:4px;left:50%;transform:translate(-50%)}.node-3{top:50%;left:0;transform:translateY(-50%)}.node-4{top:22px;right:8px}.line{z-index:1;background:#22c8b8a6;position:absolute}.line.vertical{width:2px;top:56px;bottom:56px;left:50%}.line.horizontal{height:2px;top:50%;left:90px;right:90px}.line.diagonal-a,.line.diagonal-b{transform-origin:top;opacity:.22;width:2px;height:148px;top:50%;left:50%}.line.diagonal-a{transform:rotate(43deg)translateY(-74px)}.line.diagonal-b{transform:rotate(-43deg)translateY(-74px)}.legend{color:var(--muted-dark);flex-wrap:wrap;gap:14px;font-size:.75rem;display:flex}.dot{border-radius:50%;width:9px;height:9px;margin-right:6px;display:inline-block}.dot.primary{background:var(--teal)}.dot.muted{background:#ffffff61}.dot.warning{background:var(--amber)}.toast-area{z-index:20;gap:8px;display:grid;position:fixed;bottom:22px;right:22px}.toast{color:#082017;background:var(--mint);box-shadow:var(--shadow);border:1px solid #22c8b87a;border-radius:8px;padding:11px 14px;font-size:.85rem;font-weight:700}.toast.error{color:#721c1c;background:#ffe6e6;border-color:#ef5d5d6b}@media (max-width:1180px){.app-shell{grid-template-columns:280px minmax(0,1fr)}.source-panel{display:none}}@media (max-width:760px){.app-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.library-panel,.chat-panel{min-height:auto}.library-panel{border-right:none}.document-list{max-height:260px}.chat-panel{min-height:70vh}.chat-topbar,.composer-area,.chat-thread{padding-left:16px;padding-right:16px}.chat-topbar{flex-direction:column;align-items:flex-start}.message-body{max-width:100%}.quick-actions{display:none}}
