:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#23362e;background:#faf9f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit;border-radius:10px;padding:11px 15px}button:hover{background:#e3e9df}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #9ab679}input,textarea,select{border:1px solid #ced4c9;border-radius:9px;padding:12px;background:#fff;color:#23362e;max-width:100%}label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:14px}small{color:#6d786e;font-size:12px;line-height:1.6}.primary{background:#173f35;color:white}.primary:hover{background:#2d594a}.gate{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e4ebda,transparent 65%)}.card{background:#fffefb;border:1px solid #e0e3d9;border-radius:22px;padding:36px;width:min(440px,100%);box-shadow:0 20px 70px #213c2410}.card h1{font:42px Georgia,serif;margin:12px 0}.card .primary{width:100%;margin-top:12px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:#73816e;margin:30px 0 16px}.brand{display:flex;align-items:center;gap:12px;font:25px Georgia,serif;text-decoration:none;color:inherit;margin-bottom:32px}#app{display:flex;height:100dvh}#app[hidden],.gate[hidden]{display:none}aside{width:270px;background:#eeeee5;padding:27px 20px;display:flex;flex-direction:column;flex-shrink:0;border-right:1px solid #e1e2d8}.new{border:1px solid #b9c6b3;text-align:left;background:#f7f8ef}nav{overflow-y:auto;flex:1}nav button{display:block;text-align:left;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;margin:3px 0}nav button.active{background:#dce4d4}footer{display:flex;flex-direction:column;border-top:1px solid #d8ddcf;padding-top:14px}footer button{text-align:left;font-size:13px}footer small{margin:15px 12px 0}main{min-width:0;flex:1;display:flex;flex-direction:column}header{display:flex;align-items:center;gap:15px;padding:21px 34px;border-bottom:1px solid #e9e9df;font-size:13px;color:#70806f}.badge{margin-left:auto;font-size:11px;border:1px solid #d4dfcc;padding:7px 10px;border-radius:20px;color:#4e6a44}#menu{display:none}#messages{flex:1;overflow:auto;padding:30px max(25px,calc((100% - 780px)/2))}.welcome{padding-top:clamp(25px,8vh,110px)}.welcome .spark{font:64px Georgia,serif;color:#678150}.welcome h1{font:clamp(32px,4vw,47px)/1.2 Georgia,serif;font-weight:400;margin:18px 0}.welcome p{color:#74806f;line-height:1.7}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}.suggestions button{text-align:left;background:#f3f3eb;border:1px solid #e0e4d7;padding:20px;font-size:14px}.message{margin:0 0 28px;line-height:1.7;font-size:15px;overflow-wrap:anywhere}.message .role{font-weight:650;font-size:12px;margin-bottom:7px;color:#597248}.message .content{white-space:pre-wrap}.message.user{background:#eef1e8;padding:18px 22px;border-radius:15px}.message pre{white-space:pre-wrap;background:#1f302b;color:#e0eddf;border-radius:10px;padding:18px}.sources{display:grid;gap:6px;margin-top:16px}.sources a{color:#396652;font-size:12px}.message button{font-size:11px;padding:4px 9px;margin-top:8px;color:#6e7869}.composerWrap{width:min(830px,100%);padding:12px 25px 19px;margin:auto}#composer{border:1px solid #cbd3c2;border-radius:17px;padding:8px 12px;background:white;box-shadow:0 5px 18px #29432508}#prompt{width:100%;border:0;resize:vertical;min-height:65px;max-height:240px;outline:none}.composeTools{display:flex;align-items:center;gap:13px}.composeTools label{flex-direction:row;align-items:center;margin:8px 0;font-size:12px;gap:5px}.composeTools input{accent-color:#315b42}.composeTools button{margin-left:auto}.attach{cursor:pointer}.disclaimer{display:block;text-align:center;margin-top:11px;font-size:11px}#notice{color:#8b522a;font-size:13px;margin:5px 0 10px}dialog{border:1px solid #d5dbcc;border-radius:20px;padding:28px;max-width:520px;width:calc(100% - 32px);color:inherit;background:#fffefb}dialog::backdrop{background:#182d2660}dialog h2{font:30px Georgia,serif}dialog p{line-height:1.6;color:#69755f;font-size:14px}.dialogHead{display:flex;align-items:center;justify-content:space-between}dialog textarea,dialog select{width:100%}#loginError,#settingsError{color:#9b402c;font-size:13px}@media(max-width:700px){aside{display:none;position:fixed;inset:0 auto 0 0;z-index:3;box-shadow:10px 0 45px #0002;width:270px}aside.open{display:flex}#menu{display:block}header{padding:10px 16px}#messages{padding:20px}.composerWrap{padding:8px 12px 15px}.composeTools{gap:7px}.composeTools label{font-size:11px}.suggestions{gap:8px}.suggestions button{padding:14px}.welcome{padding-top:25px}.card{padding:26px}}

#commands pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:14px/1.6 system-ui,sans-serif}#commands textarea{min-height:100px;overflow-wrap:anywhere}#commands{max-height:90dvh;overflow-y:auto}

#agentDialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 system-ui,sans-serif}#agentDialog{max-height:90dvh;overflow-y:auto}#agentStatus{overflow-wrap:anywhere}#agentHistory{width:100%}
#agentReview{white-space:pre-wrap;overflow-wrap:anywhere}#agentControls{position:sticky;bottom:0;background:#fffefb;padding:10px 0;display:flex;flex-wrap:wrap;gap:8px}

#notice.working{padding:10px 14px;border:1px solid currentColor;border-radius:10px;font-weight:600}#notice.working::before{content:"";display:inline-block;width:10px;height:10px;margin-right:9px;border-radius:50%;background:currentColor;animation:working-pulse 1.2s ease-in-out infinite}@keyframes working-pulse{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){#notice.working::before{animation:none}}
/* Compact live status; detailed tool steps remain available on demand. */
#notice.working{border:0;background:rgba(64,88,76,.07);border-radius:18px;font-weight:500;font-size:14px;max-width:100%;line-height:1.5}
#progressPanel{font-size:13px;color:#59695f;margin:10px 0}#progressPanel summary{cursor:pointer;padding:6px 0}#progressSteps{padding-left:22px;line-height:1.7}
