:root{color:#1d1d1f;background:#fafaf7;font-family:system-ui,sans-serif;line-height:1.5}body{margin:0}main{max-width:720px;margin:0 auto;padding:16px}input{font:inherit;border:1px solid #bbb;border-radius:6px;padding:8px 10px}button{font:inherit;color:#fff;cursor:pointer;background:#1d1d1f;border:1px solid #555;border-radius:6px;padding:8px 14px}button:disabled{opacity:.5;cursor:default}button.link{color:#2a5db0;background:0 0;border:none;padding:0;text-decoration:underline}.card form,.card label{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.error{color:#b00020}.chat header{border-bottom:1px solid #ddd;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-bottom:12px;display:flex}.messages{padding:0;list-style:none}.messages li{white-space:pre-wrap;border-radius:8px;margin:8px 0;padding:10px 12px}.messages li.user{background:#e8eefc;margin-left:15%}.messages li.assistant{background:#fff;border:1px solid #e3e3e3;margin-right:5%}.status,.sources{color:#666;font-size:.9em}.composer{background:#fafaf7;gap:8px;padding:12px 0;display:flex;position:sticky;bottom:0}.composer input{flex:1}
