/* Landing-page AI assistant (src/support-public.ts). External file: the site CSP forbids inline styles. */
.jachat-launch{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 16px 10px 10px;border:0;border-radius:999px;background:#173d35;color:#fff;font:600 15px/1.2 'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif;box-shadow:0 10px 28px -12px rgba(23,61,53,.7);cursor:pointer}
.jachat-launch:focus-visible,.jachat button:focus-visible,.jachat textarea:focus-visible,.jachat input:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}
.jachat-badge{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:999px;background:#e4f1e9;color:#173d35;font-size:12px;font-weight:700;letter-spacing:.04em}
/* Phones: the sticky "create my website" bar sits at the bottom; the assistant stays above it and never covers it. */
@media (max-width:820px){.jachat-launch{bottom:calc(86px + env(safe-area-inset-bottom));right:12px;min-height:44px;padding:7px 12px 7px 7px;font-size:14px}}
.jachat{position:fixed;right:16px;bottom:16px;z-index:40;display:flex;flex-direction:column;width:min(400px,calc(100vw - 32px));height:min(620px,calc(100vh - 32px));background:#fff;color:#173d35;border:1px solid #d6e2dc;border-radius:14px;box-shadow:0 24px 60px -24px rgba(23,61,53,.55);font:15px/1.55 'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif;overflow:hidden}
.jachat[hidden],.jachat-launch[hidden]{display:none}
@media (max-width:560px){.jachat{inset:0;width:100%;height:100%;border-radius:0;border:0}}
.jachat-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#173d35;color:#fff}
.jachat-head h2{flex:1;margin:0;font-size:16px;line-height:1.3}
.jachat-head small{display:block;font-weight:400;opacity:.85;font-size:12px}
.jachat-close{border:0;background:transparent;color:#fff;font-size:24px;line-height:1;min-width:44px;min-height:44px;cursor:pointer}
.jachat-note{margin:0;padding:8px 14px;background:#eef4f0;color:#526c62;font-size:12.5px;border-bottom:1px solid #d6e2dc}
.jachat-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.jachat-msg{max-width:88%;padding:8px 11px;border-radius:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.jachat-msg small{display:block;font-size:11.5px;color:#526c62;margin-bottom:2px}
.jachat-msg.visitor{align-self:flex-end;background:#176d50;color:#fff}
.jachat-msg.visitor small{color:#dcefe5}
.jachat-msg.assistant{align-self:flex-start;background:#eef4f0}
.jachat-msg.human{align-self:flex-start;background:#fff4dc;border:1px solid #f2d79b}
.jachat-msg.system{align-self:center;background:transparent;color:#526c62;font-size:13px;text-align:center}
.jachat-status{margin:0;padding:0 14px;min-height:0;font-size:13px;color:#8a3b12}
.jachat-status:empty{display:none}
.jachat-panel{max-height:45%;overflow-y:auto;padding:10px 14px;border-top:1px solid #d6e2dc;background:#fbfdfc;font-size:13.5px}
.jachat-panel p{margin:0 0 6px}
.jachat-panel[hidden]{display:none}
.jachat-form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid #d6e2dc}
.jachat-form textarea{flex:1;min-height:44px;max-height:120px;resize:vertical;padding:9px 10px;border:1px solid #b9cbc3;border-radius:8px;font:inherit;color:inherit}
.jachat button.jachat-btn{min-height:44px;padding:8px 14px;border:0;border-radius:8px;background:#176d50;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.jachat button.jachat-btn.secondary{background:#fff;color:#173d35;border:1px solid #9bb5aa}
.jachat button[disabled]{opacity:.6;cursor:progress}
.jachat-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 12px}
.jachat-actions .jachat-btn{flex:1 1 auto}
.jachat-panel label{display:block;margin:6px 0 4px;font-weight:600}
.jachat-panel input{width:100%;box-sizing:border-box;min-height:42px;padding:8px 10px;border:1px solid #b9cbc3;border-radius:8px;font:inherit}
.jachat-link{display:flex;gap:6px;margin-top:6px}
.jachat-link input{flex:1;font-size:12px}
.jachat-text-btn{border:0;background:none;color:#176d50;text-decoration:underline;font:inherit;cursor:pointer;padding:6px 0;min-height:36px}
