:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f5f6f8;--card:#fff;--text:#1f2933;--muted:#6b7684;--accent:#1f4f8c;--ours:#dfe8f5;--line:#dde1e6;--danger:#b3261e}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#15191f;--card:#1f252d;--text:#e7eaee;--muted:#9aa4b1;--accent:#6aa5f0;--ours:#23344d;--line:#2c333c;--danger:#f2b8b5}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:15px/1.45 system-ui,sans-serif}button{font:inherit;background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:8px 14px}button:disabled{opacity:.5;cursor:default}button.link{color:var(--accent);background:0 0;padding:4px 6px}input,textarea,select{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:8px;width:100%;padding:8px}select{width:auto}.app{flex-direction:column;max-width:1200px;height:100vh;margin:0 auto;padding:0 16px;display:flex}.top{justify-content:space-between;align-items:center;display:flex}.top h1{font-size:20px}.card{background:var(--card);border-radius:12px;gap:14px;max-width:380px;padding:20px;display:grid}.card label{gap:6px;display:grid}.qr{background:#fff;border-radius:8px;width:200px;height:200px}.error{color:var(--danger)}.muted{color:var(--muted)}.workspace{flex:1;grid-template-columns:340px 1fr;gap:16px;min-height:0;padding-bottom:16px;display:grid}.threads{align-content:start;gap:6px;display:grid;overflow-y:auto}.thread{text-align:left;background:var(--card);color:var(--text);border:1px solid #0000;gap:2px;display:grid}.thread.selected{border-color:var(--accent)}.thread-top{justify-content:space-between;gap:8px;display:flex}.code{font-family:ui-monospace,monospace;font-weight:600}.status{border-radius:10px;padding:1px 8px;font-size:12px}.status.open{background:var(--accent);color:#fff}.status.answered{background:var(--line)}.preview{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.meta{color:var(--muted);font-size:12px}.conversation{background:var(--card);border-radius:12px;flex-direction:column;min-height:0;display:flex}.conversation.empty{justify-content:center;align-items:center}.conversation-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;display:flex}.phone-ask,.phone{margin-left:auto}.messages{flex-direction:column;flex:1;gap:8px;padding:16px;display:flex;overflow-y:auto}.bubble{background:var(--bg);border-radius:12px;align-self:flex-start;max-width:70%;padding:8px 12px}.bubble.ours{background:var(--ours);align-self:flex-end}.bubble .body{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.bubble .translation{color:var(--muted);margin:6px 0 0;font-size:13px}.media img{border-radius:8px;max-width:100%;max-height:360px;display:block}.composer{border-top:1px solid var(--line);align-items:flex-end;gap:8px;padding:12px;display:flex}
