*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f6f3ea;color:#1f2a1f}
#app{display:flex;flex-direction:column;height:100%;max-width:760px;margin:0 auto;background:#fffdf8}
header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#2f5d34;color:#fff}
.brand{display:flex;gap:10px;align-items:center}.brand small{display:block;opacity:.8;font-size:12px}
.logo{width:34px;height:34px;border-radius:50%;background:#e7d9a8;color:#2f5d34;display:grid;place-items:center;font-weight:700}
.langs button{background:transparent;border:1px solid #ffffff66;color:#fff;border-radius:14px;padding:3px 9px;margin-inline-start:4px;cursor:pointer}.langs .on{background:#fff;color:#2f5d34}
main{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.m{max-width:85%;padding:9px 12px;border-radius:14px;line-height:1.5;white-space:pre-wrap;font-size:15px}
.bot{background:#eef2e6;align-self:flex-start;border-end-start-radius:4px}.me{background:#2f5d34;color:#fff;align-self:flex-end;border-end-end-radius:4px}
#chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 8px}#chips button{border:1px solid #2f5d34;background:#fff;color:#2f5d34;border-radius:16px;padding:5px 10px;font-size:13px;cursor:pointer}
form{display:flex;gap:6px;padding:8px 12px;border-top:1px solid #e6e0cf}form input{flex:1;padding:10px;border:1px solid #cfc8b0;border-radius:10px;font-size:15px;min-width:0}
form button{background:#2f5d34;color:#fff;border:0;border-radius:10px;padding:0 14px;cursor:pointer}
#lead{flex-wrap:wrap;background:#f3efdd}#lead[hidden]{display:none}#leadt{width:100%;font-size:13px}#lead input{flex:1 1 150px}#lx{background:#999}
footer{font-size:11px;text-align:center;padding:4px 8px 8px;color:#6b6b5a}footer a{color:#2f5d34}
.dots{opacity:.6}
