:root{--ink:#203b39;--muted:#73817e;--green:#1d5149;--green-dark:#173d39;--line:#e6eae7;--paper:#fbfcfa;--mint:#eef4ee;--sidebar:#f2f5f0;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color-scheme:light;font-family:var(--font);font-synthesis:none}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}[hidden]{display:none!important}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8eb7a6;outline-offset:3px}button{transition:background .16s,transform .16s}svg{display:block}.wordmark{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;font-size:27px;font-weight:650;letter-spacing:-1.2px}.brand-icon{width:33px;height:35px;background:var(--green);border-radius:10px 3px 10px 3px;color:white;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;font-size:29px;line-height:1;padding-bottom:6px;letter-spacing:0}.brand-divider{height:22px;width:1px;background:#aebcb1;margin:0 5px 0 12px}.brand-caption{font-size:13px;font-weight:450;letter-spacing:0}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1.08fr 1fr}.login-brand{background:#e9f0e6;position:relative;overflow:hidden;padding:46px 9%;display:flex;flex-direction:column}.login-brand:after{content:"";position:absolute;width:600px;height:600px;border:1px solid #b9cabc;border-radius:50%;bottom:-430px;left:-210px;box-shadow:0 0 0 90px #dce7db66,0 0 0 180px #dce7db44;pointer-events:none}.login-intro{margin:auto 0;position:relative;z-index:1}.eyebrow,.mini-label{font-size:10px;font-weight:650;letter-spacing:.16em;color:#6c8a7c}.login-intro h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,4.5vw,69px);font-weight:400;line-height:1.1;letter-spacing:-2px;margin:27px 0}.login-intro p{font-size:16px;line-height:1.85;color:#6c7d70}.login-bottom{font-size:11px;color:#819084;position:relative;z-index:1;margin-top:45px}.login-panel{display:flex;align-items:center;justify-content:center;padding:50px 35px}.login-card{width:100%;max-width:350px}.login-card h2{font-size:27px;font-weight:550;letter-spacing:-.7px;margin:16px 0 12px}.muted{color:var(--muted);font-size:14px;line-height:1.6}.login-card label{display:block;margin:30px 0 9px;font-size:12px;font-weight:550}.login-card input{width:100%;height:49px;padding:0 14px;border:1px solid #d7ded8;border-radius:8px;background:white;color:var(--ink)}.primary-button{display:flex;justify-content:space-between;align-items:center;background:var(--green);color:white;border:0;border-radius:8px;padding:15px 18px;width:100%;margin-top:30px;font-size:14px}.primary-button:hover{background:#173f39}.access-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;color:#8d9991;margin-top:25px}.small-dot{width:5px;height:5px;border-radius:50%;background:#9cb6a0}.form-error{margin-top:15px;font-size:13px;color:#b42318}.workspace{height:100dvh;display:grid;grid-template-columns:266px minmax(0,1fr)}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;padding:30px 16px 14px}.sidebar-brand{margin:0 12px}.sidebar-caption{font-size:11px;color:#8a968b;margin:9px 12px 31px}.new-chat{display:flex;align-items:center;gap:10px;width:100%;padding:12px 15px;border:1px solid #d5e0d5;border-radius:8px;color:var(--green);background:#ffffffb0;text-align:left;font-size:12px;font-weight:550}.new-chat span{font-size:20px;line-height:1}.new-chat:hover{background:#e5eee4}.history-label{margin:32px 12px 13px;font-size:9px;letter-spacing:.13em;color:#8c998e}.chat-list{flex:1;overflow-y:auto;min-height:0}.chat-item{display:block;width:100%;background:transparent;border:0;color:#64726b;border-radius:7px;text-align:left;padding:12px 12px;margin-bottom:3px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-item:hover{background:#e8eee5}.chat-item.active{background:#e1eadd;color:#345644;font-weight:550}.chat-item.empty{cursor:default;color:#9ba69b;font-size:11px;white-space:normal;line-height:1.6}.sidebar-bottom{border-top:1px solid #dfe5dc;margin-top:18px;padding:19px 6px 0;display:flex;align-items:center;gap:10px}.user-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e2e8dc;font-size:14px;font-family:Georgia,serif;color:#688067}.user-info{min-width:0;flex:1;display:grid;gap:3px}.user-info strong{font-size:12px;font-weight:550}.user-info span{font-size:9px;color:#8d9a8e}.icon-button{background:transparent;border:0;padding:8px;border-radius:7px;color:#8a9691;display:grid;place-items:center}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon-button:hover{background:#e8eee8;color:#38594e}.main{min-width:0;display:flex;flex-direction:column;min-height:0}.topbar{height:81px;flex-shrink:0;border-bottom:1px solid #edf0ec;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.topbar-heading{display:grid;gap:7px;min-width:0}.topbar-heading strong{font-size:13px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(60vw,650px)}.topbar-heading span{font-size:10px;color:#8c9891;display:flex;align-items:center;gap:6px}.topbar-heading i{width:5px;height:5px;background:#85a891;border-radius:50%}.chat-options{display:flex;gap:6px}.mobile-menu{display:none}.conversation-scroll{flex:1;min-height:0;overflow-y:auto;scroll-behavior:smooth}.welcome{max-width:780px;margin:clamp(70px,14vh,145px) auto 50px;padding:0 28px;text-align:center}.welcome-mark{height:66px;width:66px;background:#edf3e9;border-radius:18px;display:grid;place-items:center;margin:0 auto 27px}.welcome-mark svg{width:38px;height:38px;fill:none;stroke:#739b80;stroke-width:1.2;stroke-linejoin:round}.welcome h1{font-family:Georgia,"Times New Roman",serif;font-size:39px;font-weight:400;letter-spacing:-1px;line-height:1.2;margin:18px 0 15px}.welcome p{font-size:13px;line-height:1.85;color:#87938a;margin:0}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:42px;text-align:left}.suggestions button{background:#fff;border:1px solid #e2e8df;border-radius:11px;padding:18px 16px 16px;display:flex;flex-direction:column;text-align:left;color:var(--ink);min-height:133px}.suggestions button:hover{border-color:#aac5b3;transform:translateY(-2px);background:#f6f9f3}.suggestion-icon{color:#84a087;font-size:22px;margin-bottom:16px;line-height:1}.suggestions strong{font-size:11px;font-weight:600;margin-bottom:7px}.suggestions button>span:last-child{color:#939e94;font-size:10px;line-height:1.65}.composer-region{max-width:850px;width:100%;align-self:center;padding:18px 36px 18px;flex-shrink:0}.composer{background:white;border:1px solid #dce4d9;border-radius:14px;padding:15px 17px 10px;box-shadow:0 3px 12px #24493204}.composer:focus-within{border-color:#aac4b1;box-shadow:0 0 0 3px #aac4b112}.composer textarea{display:block;width:100%;resize:none;max-height:160px;background:transparent;border:0;outline:none!important;color:var(--ink);font-size:13px;line-height:1.65;padding:2px 1px 6px}.composer textarea::placeholder{color:#a5afa4}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.composer-bottom>span{font-size:9px;color:#a3afa1;letter-spacing:.015em}.composer button{border:0;background:var(--green);color:white;border-radius:8px;width:31px;height:31px;display:grid;place-items:center}.composer button:hover{background:#2b6b5b}.composer button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.composer-note{text-align:center;font-size:9px;color:#a5afa4;margin-top:12px}.app-error{padding:12px;border-radius:8px;color:#a33328;background:#fff1ee;margin-bottom:10px;font-size:12px}.messages{max-width:850px;margin:0 auto;padding:37px 36px 15px}.message{margin-bottom:30px}.user-message{display:flex;justify-content:flex-end}.user-bubble{max-width:85%;background:#edf3e8;border:1px solid #e2e9dc;border-radius:14px 14px 3px 14px;padding:14px 18px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#809183;font-weight:600;letter-spacing:.02em;margin-bottom:14px}.assistant-label .brand-icon{width:20px;height:21px;border-radius:6px 2px 6px 2px;font-size:18px;padding-bottom:4px}.assistant-body{min-height:20px}.message-actions{display:flex;gap:12px;margin-top:19px;padding-top:12px;border-top:1px solid #edf0eb}.text-button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#88968b;padding:4px 0;font-size:10px}.text-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.text-button:hover{color:#335c49}.pending-line{font-size:12px;color:#91a08f;display:flex;align-items:center;gap:10px;padding:5px 0}.pending-dots{display:inline-flex;gap:4px}.pending-dots i{width:4px;height:4px;border-radius:50%;background:#9ab19d;animation:pulse 1.2s infinite}.pending-dots i:nth-child(2){animation-delay:.15s}.pending-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.25;transform:translateY(-3px)}}.error-message{font-size:12px;color:#a94539;padding:12px 0}.prose{font-size:15px;line-height:1.85;color:#3c5049;overflow-wrap:anywhere}.prose>:first-child{margin-top:0}.prose p{margin:0 0 17px}.prose h1,.prose h2,.prose h3,.prose h4{color:#23493e;line-height:1.45;font-weight:600;margin:27px 0 12px}.prose h1{font-size:22px}.prose h2{font-size:17px}.prose h3{font-size:14px}.prose strong{color:#274b40;font-weight:600}.prose ul,.prose ol{padding-left:22px;margin:10px 0 20px}.prose li{padding-left:3px;margin:7px 0}.prose a{color:#4e7c67;text-decoration-color:#b0c7b5;text-underline-offset:3px}.prose a:hover{color:#244e3c}.prose hr{border:0;border-top:1px solid #e5ebe1;margin:24px 0}.prose blockquote{border-left:3px solid #c7d8c6;margin:20px 0;padding:1px 0 1px 16px;color:#7b8b7c}.prose code{font-family:ui-monospace,monospace;font-size:.9em;background:#eff3ed;padding:2px 4px;border-radius:3px}.prose pre{padding:14px;background:#f0f4ee;border-radius:8px;overflow:auto}.prose pre code{padding:0;background:none}.table-scroll{overflow-x:auto;margin:20px 0}.prose table{border-collapse:collapse;font-size:12px;width:100%;line-height:1.65}.prose th{background:#f0f4ec;text-align:left;font-weight:600;color:#47634d;padding:10px 12px;border-bottom:1px solid #dae3d5}.prose td{padding:11px 12px;vertical-align:top;border-bottom:1px solid #e8ede4}.budget-warning{font-size:12px;font-weight:700!important;color:#b42318;background:#fff3f0;border:1px solid #f2cec8;border-radius:8px;padding:13px 15px;line-height:1.5;margin-bottom:20px}.infographic{background:#fff;border:1px solid #e2e9df;border-radius:12px;padding:20px 14px;overflow-x:auto;margin:0 0 25px;text-align:center}.infographic svg{max-width:100%;height:auto;max-height:430px;margin:auto}.diagram-fallback{padding:12px;background:#f4f6f0;color:#82917f;font-size:11px;border-radius:7px;margin-bottom:20px}.source-dialog{border:1px solid #d9e3d5;border-radius:16px;width:min(880px,95vw);max-height:90dvh;padding:0;color:var(--ink);box-shadow:0 24px 100px #173d3933}.source-dialog::backdrop{background:#14383055;backdrop-filter:blur(3px)}.source-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 30px;border-bottom:1px solid #e9eee5;position:sticky;top:0;background:white;z-index:1}.source-dialog h2{margin:9px 0 0;font-size:20px;font-weight:550}.source-dialog #source-content{padding:25px 30px 30px}.sidebar-overlay{display:none}.pdf-document .prose{max-width:none}
@media(min-width:1600px){.welcome{margin-top:16vh}.workspace{grid-template-columns:285px minmax(0,1fr)}}
@media(max-width:850px){.workspace{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding:25px 11px 14px}.topbar{padding:0 23px}.composer-region,.messages{padding-left:24px;padding-right:24px}.suggestions{grid-template-columns:1fr}.suggestions button{min-height:0;padding:14px 16px;display:grid;grid-template-columns:25px 1fr;column-gap:12px}.suggestion-icon{grid-row:1/3;margin:0;align-self:center}.suggestions strong{margin:0 0 4px}.welcome{margin-top:55px}.welcome h1{font-size:34px}.welcome p br{display:none}.login-brand{padding:35px 8%}.login-intro h1{font-size:48px}.brand-caption,.brand-divider{display:none}}
@media(max-width:620px){.login-layout{grid-template-columns:1fr;min-height:100dvh}.login-brand{padding:24px 28px;background:#e9f0e6}.login-intro,.login-bottom{display:none}.login-panel{padding:46px 28px 65px;align-items:flex-start}.login-card{max-width:390px}.workspace{display:block;position:relative}.main{height:100dvh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:265px;z-index:30;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#173d3955;z-index:25}.mobile-menu{display:grid;margin-right:12px}.topbar{height:70px;padding:0 17px;justify-content:flex-start}.topbar-heading{flex:1}.topbar-heading strong{max-width:58vw;font-size:12px}.topbar-heading span{font-size:9px}.chat-options{gap:0}.chat-options .icon-button{padding:6px}.welcome{margin:43px auto 20px;padding:0 23px}.welcome-mark{width:53px;height:53px;border-radius:15px;margin-bottom:23px}.welcome h1{font-size:32px}.welcome p{font-size:12px}.suggestions{gap:8px;margin-top:29px}.messages{padding:25px 20px 10px}.composer-region{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.composer{padding:13px 13px 8px}.composer textarea{font-size:14px}.composer-note{font-size:8px;margin-top:9px}.user-bubble{max-width:94%;font-size:13px}.prose{font-size:14px}.infographic{padding:16px 7px}.source-dialog>header{padding:20px}.source-dialog #source-content{padding:20px}.source-dialog h2{font-size:17px}.sidebar-caption{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.processing-trace{font-size:11px;line-height:1.65;color:#73817e;margin:14px 0}.processing-trace summary{cursor:pointer}.processing-trace>div{margin-top:7px}.pending-line>div{margin:5px 0}

.infographic.expandable{cursor:zoom-in}.diagram-dialog{width:96vw;max-width:1600px;height:90dvh;max-height:94dvh;padding:0;border:1px solid #d9e3d5;border-radius:14px;color:var(--ink);background:white;box-shadow:0 24px 100px #173d3933}.diagram-dialog[open]{display:flex;flex-direction:column}.diagram-dialog::backdrop{background:#14383099}.diagram-dialog>header{display:flex;justify-content:space-between;gap:15px;padding:16px 22px;border-bottom:1px solid var(--line);flex-shrink:0}.diagram-dialog h2{font-size:17px;margin:0}.diagram-dialog p{font-size:12px;color:var(--muted);margin:5px 0 0}.diagram-canvas{overflow:auto;flex:1;min-height:0;padding:24px;overscroll-behavior:contain}.diagram-canvas img{display:block;max-width:none;height:auto;margin:auto}.diagram-dialog .icon-button{align-self:flex-start}
