*{box-sizing:border-box}body{margin:0;padding:12px;background:#111827;color:#f3f4f6;font:16px system-ui,sans-serif;max-width:1400px;margin:auto}h1{font-size:23px}h2{font-size:18px}section{padding:12px;border:1px solid #4b5563;border-radius:6px;margin:10px 0}input,textarea{display:block;width:100%;margin:8px 0;padding:10px;color:#111827;font:inherit}button{font:inherit;padding:10px;margin:3px;border:0;border-radius:4px;cursor:pointer}button:disabled{opacity:.5;cursor:default}.actions{display:flex;flex-wrap:wrap}p,small{font-size:13px;color:#cbd5e1}#chat{height:250px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #4b5563}.event{color:#cbd5e1;font-size:13px}.user{color:#93c5fd}.error{color:#fca5a5}#terminal{height:360px;overflow:hidden;background:#000}#stop{background:#b91c1c;color:white}#status{font-weight:600}@media(min-width:850px){main{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}#terminal{height:480px}#chat{height:370px}}