.bpo-chat{--chat-ink:#f7f5e9;--chat-muted:#b7c8bc;--chat-dark:#111b16;--chat-panel:#17241d;--chat-line:rgba(230,244,226,.13);position:fixed;z-index:1100;right:clamp(16px,3vw,34px);bottom:clamp(18px,3vh,34px);font-family:inherit;color:var(--chat-ink);font-size:14px;line-height:1.45}
.bpo-chat[dir=rtl]{right:auto;left:clamp(16px,3vw,34px)}
.bpo-chat-launcher{position:relative;isolation:isolate;display:grid;place-items:center;width:68px;height:68px;border:1px solid rgba(242,255,199,.8);border-radius:50%;color:#102017;background:linear-gradient(145deg,#e5f0ad 0%,#b9d776 46%,#77c68c 100%);box-shadow:0 10px 34px rgba(92,208,139,.33),inset 0 2px 2px rgba(255,255,255,.8);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.bpo-chat-launcher:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 15px 42px rgba(92,208,139,.48),inset 0 2px 2px rgba(255,255,255,.8)}
.bpo-chat-launcher>svg{position:relative;width:29px;height:29px;fill:currentColor;z-index:2}
.bpo-chat-launcher-glow{position:absolute;inset:-5px;border:1px solid rgba(190,232,141,.62);border-radius:50%;animation:bpo-chat-ripple 2.6s ease-out infinite;pointer-events:none}
.bpo-chat-launcher-glow{z-index:0}
.bpo-chat-launcher-sheen{position:absolute;z-index:1;inset:1px;overflow:hidden;border-radius:50%;pointer-events:none}
.bpo-chat-launcher-sheen:before{content:"";position:absolute;top:-12%;bottom:-12%;left:18%;width:26%;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.82),transparent);transform:translateX(-220%) rotate(16deg);animation:bpo-chat-shine 3.6s cubic-bezier(.4,0,.2,1) infinite}
.bpo-chat-online-dot{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#65e59a;box-shadow:0 0 0 3px rgba(101,229,154,.13),0 0 13px rgba(101,229,154,.78)}
.bpo-chat-launcher>.bpo-chat-online-dot{position:absolute;z-index:3;right:2px;top:2px;width:12px;height:12px;box-shadow:0 0 0 3px #17241d,0 0 12px rgba(101,229,154,.85)}
.bpo-chat-launcher-label{position:absolute;z-index:4;right:76px;white-space:nowrap;padding:7px 11px;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:#e9f1e4;background:#152219;box-shadow:0 5px 20px rgba(0,0,0,.2);font-size:12px;font-weight:600;opacity:0;transform:translateX(5px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.bpo-chat[dir=rtl] .bpo-chat-launcher-label{right:auto;left:76px;transform:translateX(-5px)}
.bpo-chat-launcher:hover .bpo-chat-launcher-label,.bpo-chat-launcher:focus-visible .bpo-chat-launcher-label{opacity:1;transform:translateX(0)}
.bpo-chat-panel{position:absolute;right:0;bottom:84px;display:flex;flex-direction:column;width:min(390px,calc(100vw - 28px));height:min(570px,calc(100dvh - 120px));min-height:360px;overflow:hidden;border:1px solid rgba(221,239,218,.2);border-radius:22px;background:var(--chat-panel);box-shadow:0 24px 80px rgba(0,0,0,.38),0 0 35px rgba(91,190,120,.1);animation:bpo-chat-open .2s ease-out}
.bpo-chat[dir=rtl] .bpo-chat-panel{right:auto;left:0}
.bpo-chat-panel[hidden]{display:none}
.bpo-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;background:linear-gradient(110deg,#1b3527,#203a2c);border-bottom:1px solid var(--chat-line)}
.bpo-chat-heading{display:flex;align-items:center;gap:11px;min-width:0}
.bpo-chat-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#17241d;background:#dbeaa5;font-family:Georgia,serif;font-size:23px;font-weight:bold}
.bpo-chat-heading h2{margin:0;color:var(--chat-ink);font-size:16px;line-height:1.3}
.bpo-chat-heading p{display:flex;align-items:center;gap:8px;margin:3px 0 0;color:#c9d8ca;font-size:12px}
.bpo-chat-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:50%;color:var(--chat-ink);background:rgba(255,255,255,.06);font-size:26px;line-height:1;cursor:pointer}
.bpo-chat-close:hover{background:rgba(255,255,255,.14)}
.bpo-chat-messengers{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 14px;background:#17241d;border-bottom:1px solid var(--chat-line)}
.bpo-chat-messenger{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:6px 10px;border:1px solid rgba(255,255,255,.13);border-radius:12px;color:#fff;text-decoration:none;font-weight:650;transition:transform .16s ease,filter .16s ease}
.bpo-chat-messenger:hover{transform:translateY(-1px);filter:brightness(1.12)}
.bpo-chat-messenger--telegram{background:#229ed9}.bpo-chat-messenger--whatsapp{background:#168c58}
.bpo-chat-messenger-icon{display:grid;place-items:center;width:21px;height:21px}.bpo-chat-messenger-icon svg{width:21px;height:21px;fill:currentColor}
.bpo-chat-log{display:flex;flex:1;flex-direction:column;gap:10px;min-height:75px;overflow-y:auto;padding:17px 14px 10px;overscroll-behavior:contain;scrollbar-color:rgba(221,239,218,.24) transparent;scrollbar-width:thin}
.bpo-chat-message{max-width:86%;padding:10px 12px 7px;border-radius:15px;overflow-wrap:anywhere;animation:bpo-chat-message-in .18s ease-out}
.bpo-chat-message p{margin:0;white-space:pre-wrap}.bpo-chat-message time{display:block;margin-top:4px;color:rgba(255,255,255,.56);font-size:10px}
.bpo-chat-message--owner{align-self:flex-start;border:1px solid rgba(255,255,255,.08);border-bottom-left-radius:5px;background:#26382d;color:#eff5e8}
.bpo-chat-message--visitor{align-self:flex-end;border-bottom-right-radius:5px;background:#cfe493;color:#162116}
.bpo-chat-message--visitor time{color:rgba(22,33,22,.58)}
.bpo-chat-notice{margin:0;padding:4px 15px 8px;color:var(--chat-muted);font-size:11px;text-align:center}
.bpo-chat-form{position:relative;display:flex;align-items:flex-end;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--chat-line);background:#142019}
.bpo-chat-form textarea{flex:1;min-height:42px;max-height:120px;resize:vertical;padding:11px 12px;border:1px solid rgba(255,255,255,.13);border-radius:13px;outline:none;color:#f8f8ef;background:#1e2d23;font:inherit}
.bpo-chat-form textarea:focus{border-color:#abd27b;box-shadow:0 0 0 3px rgba(171,210,123,.12)}
.bpo-chat-form textarea::placeholder{color:#9aab9d}.bpo-chat-form textarea:disabled{opacity:.65}
.bpo-chat-form [data-chat-send]{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border:0;border-radius:13px;color:#162116;background:#cfe493;cursor:pointer}
.bpo-chat-form [data-chat-send]:disabled{opacity:.55;cursor:wait}.bpo-chat-form [data-chat-send] svg{width:21px;height:21px;fill:currentColor}
.bpo-chat-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.bpo-chat-status{display:block;min-height:0;padding:0 14px;color:#e4dfa1;background:#142019;font-size:11px;text-align:center}
.bpo-chat-status:empty{display:none}
@keyframes bpo-chat-ripple{0%{transform:scale(.92);opacity:.78}75%,100%{transform:scale(1.3);opacity:0}}
@keyframes bpo-chat-shine{0%,28%{transform:translateX(-220%) rotate(16deg);opacity:0}42%{opacity:.9}72%,100%{transform:translateX(240%) rotate(16deg);opacity:0}}
@keyframes bpo-chat-open{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bpo-chat-message-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.bpo-chat{right:14px;bottom:16px}.bpo-chat[dir=rtl]{left:14px}.bpo-chat-launcher{width:62px;height:62px}.bpo-chat-panel{position:fixed;right:10px;bottom:88px;width:calc(100vw - 20px);height:min(620px,calc(100dvh - 105px));min-height:320px}.bpo-chat[dir=rtl] .bpo-chat-panel{left:10px}.bpo-chat-launcher-label{display:none}}
@media(max-height:500px) and (orientation:landscape){.bpo-chat-panel{height:calc(100dvh - 100px);min-height:250px}}
@media(prefers-reduced-motion:reduce){.bpo-chat *, .bpo-chat *:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
