:root{color:#1f2933;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-kerning:normal;background:#f5f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #315a70}::selection{color:#1f2933;background:#dce7ec}:root{--ink:#1f2933;--body:#46515c;--muted:#74808b;--border:#dfe4e8;--border-soft:#e9edf0;--surface:#fff;--canvas:#f5f7f8;--accent:#315a70;--accent-hover:#25485d;--accent-soft:#edf3f6;--success:#287452;--success-soft:#edf6f1;--danger:#a3463e;--danger-soft:#fcf3f2;--warning:#805c27;--warning-soft:#fbf5e9}#root{min-height:100vh}.app-shell{background:var(--canvas);min-height:100vh}.app-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:66px;padding:0 max(24px,50% - 450px);display:flex}.brand{color:var(--ink);letter-spacing:-.25px;align-items:center;gap:10px;font-size:15px;font-weight:650;text-decoration:none;display:inline-flex}.brand-mark,.answer-mark{color:var(--accent);background:var(--accent-soft);border-radius:7px;place-items:center;display:inline-grid}.brand-mark{width:30px;height:30px}.header-note{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.main-content{width:min(100% - 40px,800px);margin:0 auto}.intro{padding:42px 2px 22px}.eyebrow{color:var(--muted);letter-spacing:1.1px;font-size:10px;font-weight:650}.intro h1{color:var(--ink);letter-spacing:-.9px;margin-top:9px;font-size:clamp(26px,4vw,32px);font-weight:650;line-height:1.2}.intro p{max-width:610px;color:var(--muted);margin-top:8px;font-size:13px;line-height:1.55}.workspace{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:20px;box-shadow:0 2px 7px #2635410a}.model-connection{border:1px solid var(--border-soft);background:#f9fafb;border-radius:7px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-bottom:15px;padding:11px 12px;display:grid}.model-status{align-items:center;gap:10px;min-width:0;display:flex}.connection-dot{background:#a2abb2;border-radius:50%;flex:none;width:8px;height:8px}.model-connection.connected .connection-dot{background:var(--success);box-shadow:0 0 0 3px #2874521a}.model-status>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.model-status strong{color:var(--ink);font-size:12px;font-weight:620}.model-status small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.model-connection select{max-width:190px;height:32px;color:var(--body);background:var(--surface);border:1px solid var(--border);border-radius:5px;padding:0 25px 0 9px;font-size:11px}.connect-button{color:#fff;background:var(--accent);border:1px solid var(--accent);cursor:pointer;border-radius:5px;min-width:100px;height:32px;padding:0 11px;font-size:10px;font-weight:620}.connect-button:hover:not(:disabled){background:var(--accent-hover)}.connect-button:disabled{opacity:.65;cursor:wait}.connection-error{color:var(--warning);background:var(--warning-soft);overflow-wrap:anywhere;border-radius:5px;grid-column:1/-1;padding:8px 10px;font-size:11px;line-height:1.45}.upload-box{background:#fbfcfd;border:1px dashed #c7d0d6;border-radius:7px;justify-content:center;align-items:center;gap:14px;min-height:118px;padding:18px;transition:background .15s,border-color .15s;display:flex}.upload-box:hover,.upload-box.dragging{border-color:var(--accent);background:#f2f6f8}.upload-icon,.empty-icon{color:var(--accent);background:var(--accent-soft);border-radius:7px;flex:none;place-items:center;display:grid}.upload-icon{width:40px;height:40px}.upload-copy{flex-direction:column;gap:6px;display:flex}.upload-copy>strong{color:var(--ink);font-size:13px;font-weight:570}.upload-copy>strong button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-weight:650}.upload-copy>strong button:hover{text-decoration:underline}.upload-copy>span{color:var(--muted);font-size:11px}.documents{margin-top:22px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.section-heading h2{color:var(--ink);font-size:13px;font-weight:650}.section-heading>span{color:var(--muted);font-size:10px}.document-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.document-item{border:1px solid var(--border-soft);border-radius:6px;align-items:center;gap:11px;min-height:54px;padding:8px 10px;display:flex}.document-icon{width:31px;height:34px;color:var(--accent);background:var(--accent-soft);border-radius:5px;flex:none;place-items:center;display:grid}.document-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.document-info strong,.document-info>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-info strong{color:var(--body);font-size:12px;font-weight:570}.document-info>span{color:var(--muted);font-size:10px}.ready-indicator{width:22px;height:22px;color:var(--success);background:var(--success-soft);border-radius:50%;flex:none;place-items:center;display:grid}.processing-indicator{border:2px solid #dfe5e8;border-top-color:var(--accent);border-radius:50%;flex:none;width:16px;height:16px;animation:.75s linear infinite spin}.error-indicator{color:var(--danger);flex:none;font-size:10px}.remove-button{width:27px;height:27px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;display:grid}.remove-button:hover{color:var(--danger);background:var(--danger-soft)}.ask-section{border-top:1px solid var(--border-soft);margin-top:19px;padding-top:18px}.empty-state{justify-content:center;align-items:center;gap:9px;min-height:72px;display:flex}.empty-icon{border-radius:6px;width:28px;height:28px}.empty-state p{color:var(--muted);font-size:11px}.conversation{flex-direction:column;gap:18px;max-height:440px;padding:2px 3px 15px;display:flex;overflow-y:auto}.answer-turn{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.question-bubble{color:#fff;overflow-wrap:anywhere;background:#445967;border-radius:8px 8px 2px;max-width:85%;padding:9px 12px;font-size:12px;line-height:1.5}.answer{width:100%}.answer-heading{color:var(--ink);align-items:center;gap:8px;margin-bottom:9px;font-size:12px;display:flex}.answer-mark{border-radius:5px;width:24px;height:24px}.source-list{gap:8px;margin-left:32px;display:grid}.source{border:1px solid var(--border-soft);background:#fafbfc;border-left:3px solid #8da1ad;border-radius:5px;margin:0;padding:11px 12px}.source p{color:var(--body);overflow-wrap:anywhere;font-size:11px;line-height:1.6}.source cite{color:var(--accent);align-items:center;gap:6px;margin-top:8px;font-size:10px;font-style:normal;display:flex}.no-match{color:var(--body);border:1px solid var(--border-soft);background:#fafbfc;border-radius:5px;margin-left:32px;padding:11px 12px;font-size:11px;line-height:1.55}.answer-error{color:var(--danger);background:var(--danger-soft);overflow-wrap:anywhere;border-color:#f0dfdd}.generated-answer{border:1px solid var(--border-soft);background:#fafbfc;border-radius:5px;margin-left:32px;padding:12px 13px}.generated-answer>p{color:var(--body);overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;line-height:1.7}.source-details{border-top:1px solid var(--border-soft);margin-top:10px}.source-details summary{color:var(--accent);cursor:pointer;padding-top:9px;font-size:10px;font-weight:580}.source-details .source-list{margin:9px 0 0}.question-form{border:1px solid #cfd7dc;border-radius:6px;align-items:center;gap:8px;min-height:46px;padding:5px 6px 5px 13px;transition:border-color .12s,box-shadow .12s;display:flex}.question-form:focus-within{border-color:#7d98a7;box-shadow:0 0 0 3px #315a7014}.question-form input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:12px}.question-form input::placeholder{color:#8d98a0}.question-form input:disabled{cursor:not-allowed}.question-form button{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:5px;flex:none;place-items:center;width:33px;height:33px;transition:background .12s;display:grid}.question-form button:hover:not(:disabled){background:var(--accent-hover)}.question-form button:disabled{color:#929da5;cursor:not-allowed;background:#e7ebee}.privacy-note{color:var(--muted);text-align:center;margin-top:9px;font-size:10px;line-height:1.5}.disclaimer{color:var(--muted);text-align:center;padding:17px 0 30px;font-size:10px;line-height:1.5}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=560px){.app-header{height:58px;padding:0 16px}.header-note{max-width:140px;font-size:10px}.main-content{width:calc(100% - 24px)}.intro{padding:30px 2px 19px}.intro p{font-size:12px}.workspace{padding:12px}.model-connection{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px}.model-connection select{grid-area:2/1/auto/-1;max-width:none}.model-connection .connect-button{grid-area:1/2;min-width:88px;padding:0 8px;font-size:9px}.connection-error{grid-column:1/-1}.upload-box{gap:10px;min-height:105px;padding:12px}.upload-copy>strong{font-size:11px}.upload-copy>span{font-size:9px}.document-info strong{font-size:11px}.source-list,.no-match,.generated-answer{margin-left:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
