:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-synthesis:none;--bg:#fff;--panel:#fafafa;--inset:#f0f0f0;--border:#e3e3e3;--border-strong:#b3b3b3;--text:#0d0d0d;--muted:#6b6b6b;--subtle:#4d4d4d;--accent:#8a05ff;--accent-soft:#f2e8ff;--success:#006d4c;--error:#c42934;--header:56px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0d0d0d;--panel:#141414;--inset:#272727;--border:#272727;--border-strong:#4d4d4d;--text:#fff;--muted:#b3b3b3;--subtle:#c7c7c7;--accent:#c29eff;--accent-soft:#2b1742;--success:#00db7c;--error:#e96770}}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.5}button,input,textarea{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;font-size:clamp(28px,4vw,44px);font-weight:400;line-height:1.05}h2{font-size:13px;font-weight:600}code,.eyebrow,.section-title,.card-kicker,.message-meta,.reply-footer,.history small{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.button{border:1px solid var(--border-strong);background:0 0;justify-content:center;align-items:center;height:38px;padding:0 16px;display:inline-flex}.button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.button:disabled{border-color:var(--border);color:var(--muted);opacity:.7}.button-primary{background:var(--text);border-color:var(--text);color:var(--bg)}.button-primary:hover:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff}.button-ghost{border-color:#0000;padding-inline:10px}.button-small{height:28px;padding-inline:10px;font-size:12px}.error-text{color:var(--error)}.warning{background:var(--accent-soft);border:1px solid var(--accent);color:var(--subtle);margin-bottom:20px;padding:10px 14px}.hint{color:var(--muted);font-size:12px}.centered{text-align:center}.login-page,.loading{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.loading{flex-direction:column;gap:16px}.login-card{border:1px solid var(--border);flex-direction:column;gap:10px;width:min(440px,100%);padding:36px;display:flex}.wordmark{margin-bottom:28px;font-size:18px;font-weight:600}.wordmark:before{background:var(--text);content:"";width:16px;height:12px;margin-right:10px;display:inline-block;transform:skew(-20deg)}.login-card .lede{color:var(--subtle);margin-bottom:22px}.login-card label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.login-card input{background:var(--bg);border:1px solid var(--border);height:42px;padding:0 12px}.login-card input:focus,textarea:focus{border-color:var(--accent);outline:none}.login-card .button{margin-top:12px}.app-header{background:color-mix(in srgb, var(--bg) 94%, transparent);border-bottom:1px solid var(--border);height:var(--header);z-index:10;align-items:center;gap:8px;padding:0 24px;display:flex;position:sticky;top:0}.brand{color:var(--text);background:0 0;border:0;padding:0;font-size:16px;font-weight:500}.brand:before{background:var(--text);content:"";width:14px;height:10px;margin-right:9px;display:inline-block;transform:skew(-20deg)}.spacer{flex:1}.shell{min-height:calc(100vh - var(--header));grid-template-columns:300px minmax(0,1fr);display:grid}.history{border-right:1px solid var(--border);min-width:0;padding:24px 16px}.history-head{justify-content:space-between;align-items:center;margin:0 8px 16px;display:flex}.history-head h2{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.history-head button{color:var(--muted);background:0 0;border:0;font-size:12px}.history-head button:hover{color:var(--text)}.history ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.history li button{text-align:left;background:0 0;border:1px solid #0000;flex-direction:column;gap:6px;width:100%;padding:11px 12px;display:flex}.history li button:hover{background:var(--panel)}.history li button.selected{background:var(--panel);border-color:var(--border)}.history li button>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:19px;display:-webkit-box;overflow:hidden}.history small{color:var(--muted);text-transform:uppercase;align-items:center;gap:7px;font-size:10px;display:flex}.status-dot{background:var(--muted);border-radius:50%;width:6px;height:6px;display:inline-block}.status-completed{background:var(--success)}.status-failed{background:var(--error)}.status-running{background:var(--accent);animation:1.3s ease-in-out infinite pulse}.history-empty{color:var(--muted);padding:8px;font-size:13px}.workspace{width:100%;max-width:920px;margin:0 auto;padding:48px 40px 80px}.welcome{flex-direction:column;gap:18px;margin-top:8vh;display:flex}.welcome>p{color:var(--subtle);max-width:650px;font-size:17px;line-height:1.6}.eyebrow,.section-title,.card-kicker{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:600}.welcome .composer{margin-top:20px}.question-head{flex-direction:column;gap:12px;margin-bottom:32px;display:flex}.question-head h1{font-size:clamp(26px,3vw,36px)}.thread,.turn{flex-direction:column;gap:18px;display:flex}.thread{gap:32px}.user-message{flex-direction:column;gap:7px;display:flex}.message-meta{color:var(--muted);text-transform:uppercase;gap:12px;font-size:11px;display:flex}.user-message>p{background:var(--inset);white-space:pre-wrap;padding:14px 18px;font-size:16px;line-height:1.6}.card{background:var(--bg);border:1px solid var(--border)}.progress-card{align-items:flex-start;gap:14px;padding:20px;display:flex}.progress-card h3{margin-bottom:4px;font-size:14px;font-weight:500}.progress-card p{color:var(--subtle)}.activity-dot{background:var(--accent);border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px;animation:1.3s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.25}}.answer-card{flex-direction:column;display:flex}.answer-top{justify-content:space-between;align-items:flex-start;gap:28px;padding:22px;display:flex}.answer-top>div{flex-direction:column;gap:9px;display:flex}.answer-copy{white-space:pre-wrap;max-width:64ch;font-size:18px;line-height:1.55}.confidence{color:var(--subtle);text-transform:uppercase;white-space:nowrap;flex:none;align-items:center;gap:8px;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;display:inline-flex}.meter{align-items:flex-end;gap:2px;height:13px;display:inline-flex}.meter span{background:var(--border-strong);width:3px;display:block}.meter span:first-child{height:6px}.meter span:nth-child(2){height:9px}.meter span:nth-child(3){height:12px}.meter span.active{background:var(--text)}.answer-section{border-top:1px solid var(--border);padding:15px 22px}.answer-section summary{cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}.answer-section summary::-webkit-details-marker{display:none}.answer-section summary:after{color:var(--muted);content:"⌄";margin-left:auto}.answer-section:not([open]) summary:after{content:"›"}.count{color:var(--muted);font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.claim-list,.evidence-list{flex-direction:column;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.claim-list li{white-space:pre-wrap;padding-left:20px;font-size:15px;line-height:1.6;position:relative}.claim-list li:before{background:var(--text);content:"";width:6px;height:6px;position:absolute;top:9px;left:1px}.marker-inferred li:before{border:1px solid var(--text);background:0 0}.marker-unknown li:before{height:1px;top:12px}.evidence-list{font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.evidence-list small{color:var(--muted)}.none{color:var(--muted);margin-top:10px}.answer-section>p{white-space:pre-wrap;margin-top:9px}.section-head{justify-content:space-between;align-items:center;display:flex}.escalation>p{background:var(--panel);border:1px solid var(--border);padding:13px 15px;line-height:1.6}.reply-footer{background:var(--panel);border-top:1px solid var(--border);color:var(--muted);padding:12px 22px;font-size:11px}.reply-footer code{color:var(--subtle)}.simple-card{flex-direction:column;gap:12px;padding-top:20px;display:flex}.simple-card>:not(.reply-footer){margin-left:22px;margin-right:22px}.simple-card .reply-footer{margin-top:8px}.simple-card .prominent{font-size:18px;line-height:1.5}.clarification-card{border-color:var(--border-strong)}.failure-card .card-kicker{color:var(--error)}.composer{border:1px solid var(--border-strong);flex-direction:column;gap:10px;margin-top:28px;padding:18px;display:flex}.composer:focus-within{border-color:var(--accent)}.composer textarea{background:var(--bg);resize:vertical;border:0;min-height:90px;padding:4px 0;font-size:16px;line-height:1.55}.composer-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.composer-footer .hint{max-width:480px}@media (width<=820px){.shell{display:block}.history{border-bottom:1px solid var(--border);border-right:0;padding:14px 16px}.history ul{flex-direction:row;overflow-x:auto}.history li{flex:0 0 230px}.workspace{padding:36px 22px 60px}}@media (width<=560px){:root{--header:52px}.app-header{padding:0 14px}.app-header .button{padding-inline:7px;font-size:12px}.answer-top{flex-direction:column}.composer-footer{flex-direction:column;align-items:stretch}.composer-footer .button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation:none!important}}
