:root{--bg:#f6f5f2;--surface:#fff;--text:#1d1d1b;--muted:#6b6a66;--border:#e2e0da;--accent:#2f5d50;--accent-text:#fff;--user:#2f5d50;--user-text:#fff;--assistant:#fff;--notice:#eeece6;--warn:#fff6e0;--warn-border:#e9c46a;--error:#b42318;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#161614;--surface:#1f1f1c;--text:#ecebe6;--muted:#9b9a94;--border:#34332f;--accent:#6fb39f;--accent-text:#0f1a16;--user:#3d7564;--user-text:#fff;--assistant:#24241f;--notice:#2a2a25;--warn:#2d2716;--warn-border:#8a6d22;--error:#ff8a7a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:15px;line-height:1.45}h1{margin:0 0 .5rem;font-size:1.4rem}input,textarea{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;padding:.6rem .75rem}button{font:inherit;background:var(--accent);color:var(--accent-text);cursor:pointer;white-space:nowrap;border:0;border-radius:10px;padding:.6rem 1rem}button:disabled{opacity:.5;cursor:default}button.secondary{color:var(--text);border:1px solid var(--border);background:0 0}button.link{color:var(--muted);background:0 0;padding:0 .4rem;text-decoration:underline}.small{font-size:.85rem}button.small{padding:.35rem .7rem}.muted{color:var(--muted)}.error{color:var(--error)}.center{text-align:center;margin-top:3rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin:3rem auto;padding:1.5rem}.narrow{max-width:460px;margin-left:16px;margin-right:16px}@media (width>=500px){.narrow{margin-left:auto;margin-right:auto}}.card form{gap:.5rem;display:flex}.card form.stack{flex-direction:column;gap:.9rem}label{flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}.connections{flex-direction:column;gap:.5rem;margin:1rem 0;padding:0;list-style:none;display:flex}.connections li{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.badge.ok{color:var(--accent);font-size:.85rem}.chat{flex-direction:column;max-width:760px;height:100dvh;margin:0 auto;display:flex}.chat header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem 16px;display:flex}.header-actions{align-items:center;gap:.6rem;display:flex}.dot{background:var(--muted);border-radius:50%;width:8px;height:8px;margin-left:.5rem;display:inline-block}.dot.on{background:var(--accent)}.panel{border-bottom:1px solid var(--border);padding:0 16px .75rem}.messages{flex-direction:column;flex:1;gap:.6rem;padding:1rem 16px;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;max-width:85%;padding:.6rem .85rem}.bubble.user{background:var(--user);color:var(--user-text);align-self:flex-end}.bubble.assistant{background:var(--assistant);border:1px solid var(--border);align-self:flex-start}.bubble.notice{background:var(--notice);align-self:center;font-size:.85rem}.tag{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:.2rem;font-size:.75rem}.files{opacity:.85;font-size:.85rem}.confirmation{background:var(--warn);border:1px solid var(--warn-border);border-radius:14px;align-self:stretch;padding:.8rem 1rem}.confirmation pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:.3rem 0 .8rem}.confirmation .actions{gap:.5rem;margin-bottom:.4rem;display:flex}.chat footer{border-top:1px solid var(--border);padding:.6rem 16px .9rem}.chat footer form{align-items:flex-end;gap:.5rem;display:flex}.chat footer textarea{resize:none;max-height:10rem}.attach{border:1px solid var(--border);cursor:pointer;border-radius:10px;flex-direction:row;flex-shrink:0;justify-content:center;align-items:center;width:2.6rem;height:2.6rem;font-size:1.2rem}.bubble a{color:inherit;overflow-wrap:anywhere;text-decoration:underline}
