:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2c2a;background:#f0f2f5}*{box-sizing:border-box}body{margin:0;overflow:hidden}#root{height:100%}button,input,select,textarea{font:inherit}button:disabled{cursor:not-allowed;opacity:.65}.shell{height:100vh;display:grid;grid-template-columns:280px 1fr;overflow:hidden}.sidebar{height:100vh;min-height:0;color:#f5f7f3;background:#075e54;padding:30px 18px;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#4aa397 #075e54}.brand{display:grid;gap:9px;padding:4px 12px 28px;border-bottom:1px solid #ffffff35}.brand strong{font-size:20px}.brand span,.sidebar-foot span{font-size:13px;line-height:1.5;color:#c9d5cc}.sidebar nav{display:grid;gap:7px;padding-top:26px}.sidebar nav button{color:#eaf0eb;background:transparent;border:0;border-left:3px solid transparent;text-align:left;padding:14px 12px;font-size:15px;font-weight:650;cursor:pointer}.sidebar nav button.selected{background:#128c7e;border-left-color:#d9fdd3}.sidebar-foot{margin-top:auto;display:grid;gap:5px;padding:18px 12px;background:#064c44;border-radius:10px}.sidebar-foot b{font-size:14px;overflow-wrap:anywhere}.signout{margin-top:9px;justify-self:start;border:0;background:transparent;color:#d7e4d9;padding:0;font-size:13px;text-decoration:underline;cursor:pointer}.content{min-width:0;height:100vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:36px 48px 52px;max-width:1500px;width:100%;margin:auto}.page-header{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}h1{font-size:40px;letter-spacing:-1.4px;margin:0 0 8px}h2{margin:0;font-size:22px}.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1.1px;color:#587366}.page-header p,.help-header p{margin:0;color:#607168}.header-actions{display:flex;align-items:center;gap:10px}.primary{border:0;border-radius:20px;background:#128c7e;color:#fff;padding:14px 20px;font-size:15px;font-weight:750;cursor:pointer;box-shadow:0 4px 12px #075e5426}.help-button{border:1px solid #8fc4b8;background:transparent;border-radius:7px;color:#075e54;padding:13px 15px;font-size:14px;font-weight:750;cursor:pointer}.help-button:hover{background:#edf3ec}.notice{display:flex;justify-content:space-between;align-items:center;background:#e7f0e4;border:1px solid #b4cfad;color:#27583a;padding:13px 16px;border-radius:8px;margin:24px 0}.notice button,.dialog>div button{border:0;background:transparent;font-size:22px;cursor:pointer}.question-panel,.panel,.upload-panel{border:1px solid #d9e2df;background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 8px #263c3820}.home-content{display:flex;flex-direction:column}.question-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;margin-top:18px}.question-panel .assistant-heading,.question-panel>p,.question-panel .suggestion-row{grid-column:1 / -1}.assistant-heading{display:flex;align-items:center;gap:13px}.assistant-heading h2{margin-top:4px}.assistant-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#d9fdd3;color:#075e54;font-size:22px}.question-panel p,.panel>p,.upload-panel p{color:#607168;margin:0;line-height:1.5}.question-panel textarea{min-height:78px;resize:vertical;border:1px solid #c7d8d3;border-radius:14px;padding:14px 16px;color:#1f2c2a;background:#f8faf9}.question-panel .primary{grid-column:2;align-self:end;justify-self:end}.suggestion-row{display:flex;flex-wrap:wrap;gap:8px}.suggestion-chip{border:1px solid #8fcfc2;border-radius:999px;background:#f7fffd;color:#075e54;padding:9px 12px;font-size:13px;font-weight:650;text-align:left;cursor:pointer}.suggestion-chip:hover:not(:disabled){border-color:#128c7e;background:#e9f8f4}.conversation-panel{order:1;margin-top:18px;min-height:0;padding:0;overflow:hidden;background:#efeae2;border-color:#d6ddd8}.home-content .home-grid{order:3}.conversation-panel>.question-panel{display:grid;order:initial;margin:0;border:0;border-top:1px solid #d6ddd8;border-radius:0;box-shadow:none;padding:18px 22px 22px;background:#f7f9f8}.conversation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #d6ddd8;background:#fff}.conversation-header h2{margin-top:5px}.conversation-status{display:inline-flex;align-items:center;gap:6px;color:#128c7e;font-size:12px;font-weight:750}.conversation-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#25d366}.conversation-list{display:grid;gap:17px;padding:22px;max-height:min(620px,68vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#9bc7bd transparent;background-color:#efeae2;background-image:radial-gradient(#d9d3c8 .7px,transparent .7px);background-size:18px 18px}.chat-message{max-width:min(92%,1080px);border:1px solid #d8dfda;border-radius:5px 14px 14px;background:#fff;padding:13px 16px;box-shadow:0 1px 1px #263c3816}.chat-message.user{max-width:min(52%,620px);justify-self:end;border-color:#c6e6bf;border-radius:14px 5px 14px 14px;background:#d9fdd3}.chat-message.is-error{border-color:#e4c4bc;background:#fff7f4}.chat-meta{margin-bottom:7px;color:#667873;font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.chat-message.user .chat-meta{color:#128c7e}.markdown-content{color:#1f2c2a;font-size:15px;line-height:1.62}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3{color:#075e54;letter-spacing:-.2px;margin:18px 0 8px}.markdown-content h1{font-size:23px}.markdown-content h2{font-size:19px}.markdown-content h3{font-size:16px}.markdown-content p{margin:0 0 12px}.markdown-content ul,.markdown-content ol{margin:7px 0 14px;padding-left:23px}.markdown-content li+li{margin-top:5px}.markdown-content strong{color:#075e54}.markdown-content code{border-radius:4px;background:#e9eee8;padding:2px 5px;font-size:.92em}.markdown-content pre{overflow-x:auto;border-radius:8px;background:#173429;color:#eaf2e9;padding:13px}.markdown-content blockquote{margin:10px 0;border-left:3px solid #8bae8d;padding-left:13px;color:#53685c}.message-sources{margin-top:14px;border-top:1px solid #d2dfd9;padding-top:10px;color:#128c7e;font-size:12px}.message-sources summary{cursor:pointer;font-weight:750}.message-sources ul{display:grid;gap:6px;margin:9px 0 0;padding-left:17px}.message-sources li{overflow-wrap:anywhere}.typing-indicator{margin:0;color:#557361;font-style:italic}.typing-indicator span{display:inline-block;width:18px;overflow:hidden;vertical-align:bottom;animation:typingDots 1.2s steps(3,end) infinite}@keyframes typingDots{0%{width:0}to{width:18px}}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.panel{min-height:235px}.panel h2,.upload-panel h2{font-size:20px;margin-bottom:16px}.upload-panel{margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.upload-copy{min-width:250px;flex:1}.upload-copy>p{max-width:650px}.source-path{display:grid;gap:6px;margin-top:16px;color:#435248;font-size:13px;font-weight:700}.source-path input{width:min(100%,620px);border:1px solid #cbd4ca;border-radius:6px;padding:10px 11px;color:#17251f;background:#fff;font:inherit;font-weight:400}.upload-button{position:relative;display:inline-flex;align-items:center;white-space:nowrap}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-controls{width:min(540px,100%);display:grid;gap:12px}.drop-zone{min-height:104px;border:1px dashed #86a595;border-radius:9px;background:#f6faf5;color:#1f593d;display:flex;align-items:center;justify-content:center;gap:13px;padding:18px 20px;text-align:left;cursor:pointer;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.drop-zone:hover,.drop-zone:focus-visible,.drop-zone.is-dragging{border-color:#2f7954;background:#edf6eb;box-shadow:0 0 0 3px #b9d4bd66;outline:0}.drop-zone.is-uploading{cursor:wait;opacity:.72}.drop-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.drop-zone>span:not(.drop-icon){display:grid;gap:4px}.drop-zone b{font-size:14px}.drop-zone small{color:#607168;font-size:12px}.drop-icon{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#dbead9;font-size:22px;font-weight:800}.upload-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#596a5f;font-size:13px}.upload-actions>span{margin-right:auto}.upload-actions .primary{padding:10px 14px;font-size:13px}.upload-actions .help-button{padding:9px 11px;font-size:12px}.upload-results{list-style:none;max-height:180px;overflow-y:auto;margin:0;padding:0 3px;border-top:1px solid #e1e8e0}.upload-results li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef1ed;font-size:12px}.upload-results li>span:first-child{min-width:0;display:grid;gap:2px}.upload-results b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-results small{color:#9b4a3b}.upload-status{flex:0 0 auto;color:#7c897f}.upload-status.success{color:#42843d}.upload-status.uploading{color:#8a6a22}.upload-status.error{color:#9b4a3b}.document-title{display:flex!important;align-items:center;gap:8px}.file-badge{display:inline-grid;place-items:center;min-width:38px;padding:4px 5px;border-radius:4px;background:#edf2e9;color:#397050!important;font-size:10px!important;font-weight:800;letter-spacing:.3px}.error-copy{color:#813d34}.error-copy p{color:#8c5a52}.document-panel,.activity-panel{margin-top:18px}.document-list,.activity-list{list-style:none;padding:0;margin:0}.document-list li,.activity-list li{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-top:1px solid #e7e9e4}.document-list li:first-child,.activity-list li:first-child{border-top:0}.document-list div,.activity-list div{display:grid;gap:5px}.document-list span,.activity-list span{color:#68766d;font-size:13px}.document-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.document-delete{border:1px solid #e2b7ae;border-radius:6px;background:#fff8f6;color:#984b3d!important;padding:7px 10px;font-size:12px!important;font-weight:700;cursor:pointer}.document-delete:hover{background:#fbe8e3}.compact li{padding:12px 0}.empty-copy{display:grid;align-content:center;justify-items:start;min-height:155px;gap:8px;color:#38483e}.empty-copy p{margin:0;color:#68766d;line-height:1.5}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}.metrics article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;border:1px solid #dce1d9;background:#fff;padding:23px;border-radius:8px}.metrics b{font-size:16px}.metrics p{color:#67736b;font-size:14px;margin:5px 0 0;line-height:1.45}.metrics strong{font-size:31px;color:#1e593c}.icon{width:45px;height:45px;border-radius:8px;background:#edf2e9;color:#1f593d;display:grid;place-items:center;font-size:25px}.table-wrap{overflow:auto;border:1px solid #dce1d9;border-radius:8px;background:#fff;margin-top:30px}table{width:100%;border-collapse:collapse;min-width:850px}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#5d6961;background:#f4f5f1;padding:16px 20px}td{padding:15px 20px;border-top:1px solid #e7e9e4;font-size:14px;color:#2d3a32;white-space:nowrap}td:first-child>span:last-child{display:inline-grid;vertical-align:middle;gap:2px}td small{color:#68766d;font-size:12px}.avatar{width:34px;height:34px;display:inline-grid;place-items:center;margin-right:11px;border-radius:50%;background:#c9d9cb;color:#19422c;font-size:11px;font-weight:800;vertical-align:middle}.status{font-size:12px}.status:before{content:"●";margin-right:6px;color:#a5a9a5}.status.on:before{color:#5c9e38}.status.warn:before{color:#d38c25}.actions{display:flex;gap:9px}.actions button{border:0;background:#eaf1e9;color:#1f593d;border-radius:5px;padding:7px 9px;cursor:pointer;font-size:12px}.footer-note{color:#6d7a71;font-size:13px}.table-message{text-align:center;color:#68766d;padding:30px}.empty-state{margin-top:32px;background:#fff;border:1px solid #dce1d9;border-radius:8px;padding:32px}.empty-state p{color:#607168}.backdrop{position:fixed;inset:0;background:#071a12a8;display:grid;place-items:center;padding:20px;z-index:10}.dialog{width:min(460px,100%);background:#fff;padding:26px;border-radius:10px;display:grid;gap:16px;box-shadow:0 20px 70px #0006}.dialog>div{display:flex;justify-content:space-between;align-items:center}.dialog label,.auth-card label{display:grid;gap:7px;color:#435248;font-size:13px;font-weight:700}.dialog input,.dialog select,.auth-card input{border:1px solid #cbd4ca;border-radius:6px;padding:11px;font:inherit;color:#17251f;background:#fff}.help-dialog{width:min(740px,100%);background:#fff;border-radius:10px;box-shadow:0 20px 70px #0006;overflow:hidden}.help-header{display:flex;justify-content:space-between;gap:24px;padding:28px 30px 20px;border-bottom:1px solid #dce1d9}.help-header h2{font-size:28px;margin:5px 0}.close-button{border:0;background:transparent;color:#274033;font-size:26px;cursor:pointer;align-self:flex-start}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}.help-section{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:23px 30px;border-bottom:1px solid #e7e9e4}.help-section:nth-child(odd){border-right:1px solid #e7e9e4}.help-section span{color:#1d5a3d;font-weight:800;font-size:13px}.help-section h3{font-size:15px;margin:0 0 6px}.help-section p{font-size:14px;line-height:1.5;color:#627168;margin:0}.help-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 30px;background:#f4f6f2;color:#5f6e64;font-size:13px}.help-footer .primary{padding:10px 16px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(300px,42%) 1fr}.auth-brand{background:linear-gradient(150deg,#0d2b21,#174d35);color:#f5f7f3;padding:clamp(40px,8vw,120px);display:flex;flex-direction:column;justify-content:center;gap:14px}.auth-brand strong{font-size:clamp(30px,4vw,48px);letter-spacing:-1.5px}.auth-brand p{font-size:18px;line-height:1.5;max-width:350px;color:#d6e3d9;margin:0}.auth-brand span{margin-top:42px;color:#a9c4ae;font-size:14px}.auth-panel{display:grid;place-items:center;padding:32px}.auth-card{width:min(410px,100%);display:grid;gap:18px}.auth-card h1{font-size:32px}.auth-card p{line-height:1.5;color:#607168;margin:0}.auth-card .primary{margin-top:4px;width:100%}.link-button{justify-self:start;background:transparent;border:0;padding:0;color:#1d5a3d;text-decoration:underline;cursor:pointer;font-size:13px}.form-message{padding:10px 12px!important;border-radius:6px;background:#f3e9e8;color:#863c34!important;font-size:13px}.qr{width:220px;height:220px;border:1px solid #dce1d9;border-radius:8px;padding:8px;justify-self:center}.loading-screen{min-height:100vh;display:grid;place-items:center;color:#456154}@media(max-width:820px){body{overflow:auto}.shell{height:auto;min-height:100vh;grid-template-columns:1fr;overflow:visible}.sidebar{display:none}.content{height:auto;overflow:visible;padding:28px 20px}.page-header{display:grid}h1{font-size:32px}.metrics,.home-grid{grid-template-columns:1fr}.metrics article{grid-template-columns:auto 1fr}.metrics strong{grid-column:2}.header-actions{width:100%}.header-actions>*{flex:1}.question-panel{grid-template-columns:1fr}.question-panel textarea,.question-panel .primary{grid-column:1}.question-panel .primary{width:100%}.conversation-header{display:grid}.conversation-list{max-height:58vh;padding:15px}.chat-message{max-width:100%}.chat-message.user{max-width:88%}.upload-panel{align-items:flex-start;flex-direction:column}.help-grid{grid-template-columns:1fr}.help-section:nth-child(odd){border-right:0}.help-header,.help-footer{padding-left:22px;padding-right:22px}.help-footer{align-items:flex-start;flex-direction:column}.help-footer .primary{width:100%}.auth-shell{grid-template-columns:1fr}.auth-brand{padding:42px 28px}.auth-brand span{margin-top:10px}.auth-panel{padding:42px 24px}}
