:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#202831;background:#f4f5f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{cursor:pointer;border:1px solid #ccd2ce;border-radius:8px;padding:9px 13px;background:#fff;color:#26352f}button:hover{background:#eff2ed}button:focus-visible,textarea:focus-visible{outline:3px solid #528479;outline-offset:3px}button:disabled{cursor:wait;opacity:.55}header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff;border-bottom:1px solid #dce0db}header strong{letter-spacing:.18em;font-size:17px}header span{display:block;font-size:12px;color:#6e766f;margin-top:3px}main{display:grid;grid-template-columns:290px minmax(0,1fr);max-width:1480px;margin:auto;min-height:calc(100dvh - 78px)}aside{padding:27px 22px;border-right:1px solid #dce0db;background:#f7f8f5}h1{font-size:16px;margin:0}aside .row{display:block}aside .row button{margin-top:14px;width:100%;background:#243d36;color:#fff;border-color:#243d36}nav{display:grid;gap:8px;margin-top:22px}nav button{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nav button[aria-current=true]{background:#e2ebe4;border-color:#8faa9c}.scope{font-size:12px;color:#69756b;line-height:1.6;margin-top:28px}.conversation{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 78px)}#messages{overflow-y:auto;flex:1;padding:38px clamp(18px,6vw,100px);scroll-behavior:smooth}.empty{max-width:590px;margin:12vh auto;color:#58665d}.empty h2{font-size:clamp(26px,4vw,40px);font-weight:500;letter-spacing:-.04em;color:#243d36}.eyebrow{font-size:11px;letter-spacing:.2em}.message{margin:0 auto 24px;max-width:840px}.message strong{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#607267}.message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin-top:8px}.message.user{background:#e6ece4;border-radius:12px;padding:15px 20px}form{padding:18px clamp(18px,6vw,100px) 24px;border-top:1px solid #dce0db;background:#f4f5f2}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}textarea{resize:vertical;min-height:90px;max-height:260px;width:100%;border:1px solid #bec9be;border-radius:10px;padding:13px;background:#fff;color:#25362b}.row{display:flex;align-items:center;justify-content:space-between;gap:14px}#status{font-size:12px;line-height:1.45;color:#5b685e;min-height:18px}#send{background:#243d36;color:#fff;min-width:100px}#status.error{color:#9a2c2c}@media(max-width:700px){header{height:68px;padding:0 18px}main{display:flex;flex-direction:column;min-height:calc(100dvh - 68px)}aside{padding:14px 18px;border-right:0;border-bottom:1px solid #dce0db}aside .row{display:flex}aside .row button{margin:0;width:auto}nav{display:flex;overflow-x:auto;margin-top:12px;padding-bottom:3px}nav button{flex:none;max-width:190px}.scope{margin:9px 0 0;font-size:11px}.conversation{height:calc(100dvh - 230px);min-height:450px}#messages{padding:22px 18px}.empty{margin:6vh auto}form{padding:14px 18px 20px}}
.modelbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}select{font:inherit;width:100%;min-height:40px;padding:8px;border:1px solid #bec9be;border-radius:8px;background:#fff;color:#25362b}select:focus-visible{outline:3px solid #528479;outline-offset:3px}#model-status{font-size:12px;line-height:1.5;color:#5b685e;margin:9px 0 15px}@media(max-width:440px){.modelbar{grid-template-columns:1fr;gap:8px}.conversation{min-height:570px}}

header>a{margin-left:auto;margin-right:18px;color:#243d36;font-size:13px}header>a:focus-visible{outline:3px solid #528479;outline-offset:3px}@media(max-width:440px){header{gap:10px}header>a{font-size:12px;max-width:100px;margin-right:0}header span{max-width:125px}}
