:root{--wa-header: #008069;--wa-notice: #fdf6d4;--wa-notice-text: #6b5b1f;--wa-canvas: #efeae2;--wa-in: #ffffff;--wa-out: #d9fdd3;--wa-text: #111b21;--wa-meta: #667781;--wa-tick: #53bdeb;--wa-composer: #f0f2f5;--wa-send: #00a884;--shell: 460px}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:#d2dbd4;color:var(--wa-text);font-family:Segoe UI,system-ui,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}.phone{display:flex;flex-direction:column;height:100dvh;max-width:var(--shell);margin:0 auto;background:var(--wa-canvas);overflow:hidden}@media(min-width:520px){body{background:linear-gradient(#00a884 0 127px,#d9dbd4 127px 100%)}.phone{height:min(100dvh - 38px,940px);margin:19px auto;border-radius:6px;box-shadow:0 6px 28px #0b141a3d}}.topbar{display:flex;align-items:center;gap:12px;flex:none;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));background:var(--wa-header);color:#fff}.avatar{flex:none;width:40px;height:40px;border-radius:50%;background:#25d366;display:grid;place-items:center;font-weight:600;font-size:17px;color:#06392c}.who{min-width:0;flex:1}.name{font-size:16px;font-weight:500;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{font-size:12.5px;line-height:1.3;color:#ffffffc7}.restart{flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;opacity:.85;transition:background .15s ease}.restart:hover{background:#ffffff24;opacity:1}.notice{flex:none;padding:7px 14px;background:var(--wa-notice);color:var(--wa-notice-text);font-size:11.5px;line-height:1.4;text-align:center;border-bottom:1px solid rgba(0,0,0,.05)}.thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 5% 16px;background-color:var(--wa-canvas);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23c8bfae' stroke-width='1.6' stroke-linecap='round' opacity='.45'%3E%3Cpath d='M28 34h30a6 6 0 016 6v18a6 6 0 01-6 6H40l-9 9V40a6 6 0 01-3-6z'/%3E%3Ccircle cx='196' cy='46' r='13'/%3E%3Cpath d='M190 46l4 4 8-9'/%3E%3Cpath d='M104 108c8-10 22-10 30 0M119 128v-12'/%3E%3Cpath d='M40 168l12 12 22-26'/%3E%3Crect x='176' y='150' width='34' height='44' rx='5'/%3E%3Cpath d='M186 162h14M186 172h14M186 182h8'/%3E%3Cpath d='M212 214c0 7-7 12-16 12-3 0-6 0-8-2l-9 3 3-8c-2-2-2-4-2-5 0-7 7-12 16-12s16 5 16 12z'/%3E%3Ccircle cx='72' cy='226' r='11'/%3E%3Cpath d='M72 219v8l5 3'/%3E%3Cpath d='M126 34l8 16 16 2-12 12 3 17-15-9-15 9 3-17-12-12 16-2z'/%3E%3C/g%3E%3C/svg%3E")}.daystamp{display:flex;justify-content:center;margin:6px 0 12px}.daystamp span{background:#fff;color:#54656f;font-size:12.5px;padding:5px 12px;border-radius:7px;box-shadow:0 1px .5px #0b141a21}.daystamp.error span{background:#fde2e1;color:#8c2f2a}.row{display:flex;margin-bottom:3px}.row.agent{justify-content:flex-start}.row.user{justify-content:flex-end}.row.agent+.row.user,.row.user+.row.agent{margin-top:10px}.bubble{position:relative;max-width:82%;padding:6px 9px 8px;border-radius:8px;font-size:14.8px;line-height:1.42;box-shadow:0 1px .5px #0b141a21;word-wrap:break-word;animation:pop .16s ease-out}@keyframes pop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.bubble{animation:none}}.row.agent .bubble{background:var(--wa-in);border-top-left-radius:0}.row.user .bubble{background:var(--wa-out);border-top-right-radius:0}.row.agent .bubble:before,.row.user .bubble:before{content:"";position:absolute;top:0;width:8px;height:13px}.row.agent .bubble:before{left:-8px;background:var(--wa-in);clip-path:polygon(100% 0,100% 100%,0 0)}.row.user .bubble:before{right:-8px;background:var(--wa-out);clip-path:polygon(0 0,0 100%,100% 0)}.row.agent+.row.agent .bubble{border-top-left-radius:8px}.row.user+.row.user .bubble{border-top-right-radius:8px}.row.agent+.row.agent .bubble:before,.row.user+.row.user .bubble:before{display:none}.text{white-space:pre-wrap}.meta{float:right;display:inline-flex;align-items:center;gap:3px;height:15px;margin:6px -4px -5px 8px;font-size:11px;color:var(--wa-meta);-webkit-user-select:none;user-select:none}.ticks{color:var(--wa-tick)}.bubble.typing{display:flex;align-items:center;gap:4px;padding:12px;min-height:34px}.bubble.typing i{width:7px;height:7px;border-radius:50%;background:#9aa6ac;animation:blink 1.3s infinite ease-in-out}.bubble.typing i:nth-child(2){animation-delay:.18s}.bubble.typing i:nth-child(3){animation-delay:.36s}@keyframes blink{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.composer{flex:none;display:flex;align-items:flex-end;gap:8px;padding:8px 10px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:var(--wa-composer)}.composer textarea{flex:1;resize:none;border:0;outline:0;border-radius:21px;padding:10px 14px;min-height:42px;max-height:120px;field-sizing:content;background:#fff;color:var(--wa-text);font:inherit;font-size:15px;line-height:1.4}.composer textarea::placeholder{color:#8696a0}.send{flex:none;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:var(--wa-send);color:#fff;cursor:pointer;transition:opacity .15s ease,transform .1s ease}.send:disabled{opacity:.4;cursor:default}.send:not(:disabled):active{transform:scale(.94)}
