/* Live chat widget (chat.js): launcher above the "Request a call back" button, and the chat panel. */
.ch-launch{position:fixed;z-index:51;right:16px;bottom:calc(76px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;height:50px;padding:0 18px 0 14px;border:1px solid #e3c98266;border-radius:999px;background:var(--green);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 10px 26px -8px #0a2622a6}
.ch-launch svg{width:22px;height:22px;fill:none;stroke:#e3c982;stroke-width:1.8;stroke-linejoin:round}
.ch-launch:hover{background:#15514a}.ch-launch:focus-visible{outline:2px solid #e3c982;outline-offset:3px}
.ch-dot{position:absolute;top:-2px;right:-2px;width:14px;height:14px;border-radius:50%;background:#e85d4a;border:2px solid #fff}
.ch-dot[hidden]{display:none}
body.ch-open .ch-launch,body.ch-open .cb-float,body.plan-open .ch-launch,body.cb-open .ch-launch{display:none}
[dir=rtl] .ch-launch{right:auto;left:16px}[dir=rtl] .ch-dot{right:auto;left:-2px}
.ch-panel{position:fixed;z-index:60;right:24px;bottom:24px;width:390px;height:min(620px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#fff;color:var(--ink);border-radius:18px;overflow:hidden;box-shadow:0 30px 70px -20px #0a2622cc,0 0 0 1px #0a26221a}
.ch-panel[hidden]{display:none}
[dir=rtl] .ch-panel{right:auto;left:24px}
.ch-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:var(--green);color:#fff}
.ch-av{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffffff14;box-shadow:0 0 0 1px #e3c98266;flex-shrink:0}
.ch-av svg{width:22px;height:22px;fill:none;stroke:#e3c982;stroke-width:1.8;stroke-linejoin:round}
.ch-hd{flex:1;min-width:0}.ch-hd h2{margin:0;font-size:16px;line-height:1.2;color:#fff}
.ch-status{margin:2px 0 0;font-size:12px;color:#bfe3cf}
.ch-panel[data-status=waiting] .ch-status{color:#e3c982}
.ch-x{width:36px;height:36px;border:0;border-radius:50%;background:#ffffff1a;color:#fff;font-size:22px;line-height:1;cursor:pointer;flex-shrink:0}.ch-x:hover{background:#ffffff33}
.ch-log{flex:1;overflow-y:auto;padding:16px 14px 8px;background:var(--page);display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.ch-msg{max-width:86%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ch-msg p{margin:0}.ch-msg p+p{margin-top:8px}
.ch-msg a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ch-msg.bot,.ch-msg.agent{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}
.ch-msg.agent{background:#fbf5e6;border-color:#e3c98299}
.ch-msg.user{align-self:flex-end;background:var(--green);color:#fff;border-bottom-right-radius:4px}
.ch-msg.user.pending{opacity:.75}
[dir=rtl] .ch-msg.bot,[dir=rtl] .ch-msg.agent{border-bottom-left-radius:14px;border-bottom-right-radius:4px}
[dir=rtl] .ch-msg.user{border-bottom-right-radius:14px;border-bottom-left-radius:4px}
.ch-who{display:block;margin-bottom:3px;font-size:11px;font-weight:600;letter-spacing:.02em;color:#866b33}
.ch-msg.sys{align-self:center;max-width:94%;padding:6px 12px;background:var(--mint);color:var(--ink);font-size:12.5px;text-align:center;border-radius:10px}
.ch-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.ch-chips button{font:inherit;font-size:13px;padding:7px 12px;border-radius:999px;border:1px solid #10403966;background:#fff;color:var(--green);cursor:pointer}
.ch-chips button:hover{background:var(--mint)}
.ch-typing{display:flex;gap:4px;padding:13px 14px}
.ch-typing i{width:7px;height:7px;border-radius:50%;background:#9fbab0;animation:ch-b 1.2s infinite ease-in-out}
.ch-typing i:nth-child(2){animation-delay:.15s}.ch-typing i:nth-child(3){animation-delay:.3s}
@keyframes ch-b{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}
.ch-human{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 14px 0;padding:9px 12px;border:1px solid #e3c982;border-radius:10px;background:#fbf5e6;color:var(--green);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.ch-human[hidden]{display:none}.ch-human:hover{background:#f6ebcf}.ch-human:disabled{opacity:.6;cursor:wait}
.ch-human svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.ch-form{display:flex;align-items:flex-end;gap:8px;padding:10px 14px 6px}
.ch-form textarea{flex:1;resize:none;font:inherit;font-size:15px;line-height:1.4;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-height:44px;max-height:120px}
.ch-form textarea:focus-visible{outline:2px solid #e3c982;outline-offset:1px;border-color:transparent}
.ch-send{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:#e3c982;color:var(--green);cursor:pointer;flex-shrink:0}
.ch-send:hover{background:#ecd59a}.ch-send:disabled{opacity:.6;cursor:wait}
.ch-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
[dir=rtl] .ch-send svg{transform:scaleX(-1)}
.ch-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ch-note{margin:0;padding:0 14px 10px;font-size:11px;line-height:1.4;color:var(--muted)}
@media(min-width:701px){.ch-launch{right:24px;bottom:88px;height:52px}[dir=rtl] .ch-launch{left:24px}}
@media(max-width:700px){.ch-launch-l{display:none}.ch-launch{width:50px;padding:0;justify-content:center}
.ch-panel{inset:0;width:auto;height:100dvh;border-radius:0}[dir=rtl] .ch-panel{left:0}
.ch-head{padding-top:calc(12px + env(safe-area-inset-top))}.ch-note{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
