body{color:#e5e7eb;background:#0f172a;margin:0;font-family:Inter,system-ui,Arial}button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:10px;margin:4px;padding:10px 14px}button:disabled{opacity:.5}.login{place-items:center;min-height:100vh;display:grid}.login form{background:#111827;border-radius:18px;gap:12px;width:360px;padding:32px;display:grid}.login input,textarea{color:#e5e7eb;background:#020617;border:1px solid #334155;border-radius:10px;padding:10px}.err{color:#f87171}.app{grid-template-columns:360px 1fr;min-height:100vh;display:grid}aside{background:#020617;border-right:1px solid #1e293b;padding:20px;overflow:auto}main{flex-direction:column;padding:24px;display:flex}.card,.item{background:#111827;border:1px solid #1e293b;border-radius:14px;margin:10px 0;padding:12px}.card pre{white-space:pre-wrap;font-size:12px}.chat{flex:1;overflow:auto}.user,.assistant{border-radius:14px;max-width:900px;margin:10px 0;padding:12px}.user{background:#1d4ed8;margin-left:auto}.assistant{background:#111827;border:1px solid #334155}.assistant pre,.user pre{white-space:pre-wrap;font-family:inherit}.bar{grid-template-columns:1fr auto;gap:10px;display:grid}.bar textarea{min-height:70px}.upload{background:#1e293b;border-radius:10px;margin:8px 0;padding:10px;display:block}.upload input{display:none}small{color:#94a3b8}.chatHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:8px;display:flex}.chatHeader h1{margin:0 0 4px}.secondary{background:#475569}.tracebox{border-top:1px solid #263449;margin-top:10px;padding-top:8px}.tracebtn{background:#334155;padding:7px 10px;font-size:12px}.tracepanel{background:#020617;border:1px solid #334155;border-radius:12px;margin-top:8px;padding:12px}.tracehead{justify-content:space-between;gap:12px;margin-bottom:6px;display:flex}.tracehead span{color:#93c5fd;font-size:12px}.tracepanel ol{margin:10px 0 0 22px;padding:0}.tracepanel li{margin:10px 0;padding-left:4px}.traceeventresult{color:#cbd5e1;margin-top:2px;font-size:13px}.tracedetail{color:#bfdbfe;white-space:pre-wrap;background:#0f172a;border:1px solid #1e293b;border-radius:8px;margin:6px 0 0;padding:8px;font-size:12px}
