/* CSS Variables */
:root {
  --eruw8-hxt: #4f46e5;
  --ypj4-sz: #ffffff;
  --fd8-y4xz: #f9fafb;
  --xi1wmu-kd8x: #0f172a;
  --ve2zq8-x0a: #6b7280;
  --h4yhad-t2k: #e5e7eb;
  --dgw-ek: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --a6xram-w5: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --q05j-cc: 16px;
  --pmt-zc0: 56px;
  --j5m-xrd9: 12px;
  --t86-z2a: 999999;
}

/* Base Reset */
.clo-hru6p1txwd,
.clo-hru6p1txwd * { box-sizing: border-box; margin: 0; padding: 0; }

/* Main Container */
.clo-hru6p1txwd {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--t86-z2a);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--xi1wmu-kd8x);
}
.clo-hru6p1txwd.clo-i5xm6mrs { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.clo-l2qljlkfjjt2 { display: flex; flex-direction: column-reverse; gap: var(--j5m-xrd9); align-items: center; }
.clo-s1uoffqj7t1 {
  width: var(--pmt-zc0); height: var(--pmt-zc0); min-width: var(--pmt-zc0); min-height: var(--pmt-zc0);
  border-radius: 50%; border: none; background: var(--eruw8-hxt); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--dgw-ek);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.clo-s1uoffqj7t1:hover { transform: scale(1.05); box-shadow: var(--a6xram-w5); }
.clo-s1uoffqj7t1:active { transform: scale(0.95); }
.clo-s1uoffqj7t1:focus { outline: 2px solid var(--eruw8-hxt); outline-offset: 2px; }
.clo-s1uoffqj7t1 svg { width: 24px; height: 24px; fill: currentColor; }

/* Messenger Buttons - Specific Colors */
.clo-s1uoffqj7t1[data-i1burv="telegram"]{ background:#0088cc; }
.clo-s1uoffqj7t1[data-i1burv="whatsapp"]{ background:#25d366; }
.clo-s1uoffqj7t1[data-i1burv="viber"]{ background:#7360f2; }
.clo-s1uoffqj7t1[data-i1burv="messenger"]{ background:#0084ff; }

/* Pulse Animation */
@keyframes pulse { 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(1.05); opacity:.9;} }
.clo-s1uoffqj7t1.clo-vmig6xh4{ animation:pulse 2s ease-in-out infinite; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .clo-s1uoffqj7t1.clo-vmig6xh4{ animation:none; }
  .clo-s1uoffqj7t1,.clo-q0kvfv734a,.clo-r5so06628tx{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.clo-q0kvfv734a{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--ypj4-sz); border-radius: var(--q05j-cc); box-shadow: var(--a6xram-w5);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity .2s ease, transform .2s ease;
  visibility: hidden; pointer-events: none;
}
.clo-hru6p1txwd.clo-i5xm6mrs .clo-q0kvfv734a{ right:auto; left:24px; }
.clo-q0kvfv734a.clo-ahlb8ev3mw7c{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.clo-b7pty3xkxna1{
  padding:16px 20px; background:var(--ypj4-sz); border-bottom:1px solid var(--h4yhad-t2k);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.clo-efw1tc7mp{ width:10px; height:10px; border-radius:50%; background:var(--eruw8-hxt); flex-shrink:0; }
.clo-qj41vqg8i9{ flex:1; min-width:0; }
.clo-gaz6zkvw{ font-size:16px; font-weight:600; color:var(--xi1wmu-kd8x); margin:0 0 2px 0; }
.clo-ursvat4mzok{ font-size:13px; color:var(--ve2zq8-x0a); margin:0; }
.clo-i0m5sc3hk8d6{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--ve2zq8-x0a);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.clo-i0m5sc3hk8d6:hover{ background:var(--fd8-y4xz); color:var(--xi1wmu-kd8x); }
.clo-i0m5sc3hk8d6:focus{ outline:2px solid var(--eruw8-hxt); outline-offset:2px; }
.clo-i0m5sc3hk8d6 svg{ width:20px; height:20px; }

/* Body */
.clo-epjdr6hh{
  flex:1; overflow-y:auto; padding:16px; background:var(--fd8-y4xz);
  display:flex; flex-direction:column; gap:12px;
}
.clo-epjdr6hh::-webkit-scrollbar{ width:6px; }
.clo-epjdr6hh::-webkit-scrollbar-track{ background:transparent; }
.clo-epjdr6hh::-webkit-scrollbar-thumb{ background:var(--h4yhad-t2k); border-radius:3px; }
.clo-epjdr6hh::-webkit-scrollbar-thumb:hover{ background:var(--ve2zq8-x0a); }

/* Messages */
.clo-r5so06628tx{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.clo-r5so06628tx.clo-bualjh8npym5{ flex-direction:row-reverse; }
.clo-u3t5d36oz0{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.clo-u3t5d36oz0 a{ color:inherit; }
.clo-r5so06628tx.clo-kc4g4g3g .clo-u3t5d36oz0{ background:var(--ypj4-sz); color:var(--xi1wmu-kd8x); border-bottom-left-radius:4px; }
.clo-r5so06628tx.clo-bualjh8npym5 .clo-u3t5d36oz0{ background:var(--eruw8-hxt); color:#fff; border-bottom-right-radius:4px; }
.clo-r70ejee23d{ font-size:11px; color:var(--ve2zq8-x0a); margin-top:4px; display:block; }

/* Typing Indicator */
.clo-y6wtq7bq8rk{
  display:flex; gap:8px; padding:10px 14px; background:var(--ypj4-sz);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.clo-r3xlsbt39{ width:8px; height:8px; border-radius:50%; background:var(--ve2zq8-x0a); animation:typingDot 1.4s infinite; }
.clo-r3xlsbt39:nth-child(2){ animation-delay:.2s; }
.clo-r3xlsbt39:nth-child(3){ animation-delay:.4s; }
@keyframes typingDot{ 0%,60%,100%{ transform:translateY(0); opacity:.5;} 30%{ transform:translateY(-8px); opacity:1;} }

/* Quick Replies (chips) */
.clo-dbu1lwr6{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.clo-s5tqpc5zak{
  border:0; border-radius:999px; padding:8px 12px; background:var(--eruw8-hxt); color:#fff; cursor:pointer;
  font:inherit; line-height:1; transition:transform .08s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--dgw-ek);
}
.clo-s5tqpc5zak:is(:hover,:focus){ transform:translateY(-1px); }
a.clo-s5tqpc5zak{ text-decoration:none; display:inline-block; }
a.clo-s5tqpc5zak:link, a.clo-s5tqpc5zak:visited{ color:#fff; }
a.clo-s5tqpc5zak:hover, a.clo-s5tqpc5zak:focus{ color:#fff; }

/* Error Banner */
.clo-oq8zjeh9ldk{
  padding:12px 16px; background:#fee; color:#c00; border-radius:8px; font-size:13px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.clo-dkqg62i87te{
  padding:6px 12px; background:#c00; color:#fff; border:none; border-radius:6px; font-size:12px; cursor:pointer; white-space:nowrap;
}

/* Footer */
.clo-wyzqh8vypn9{
  padding:16px; background:var(--ypj4-sz); border-top:1px solid var(--h4yhad-t2k);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.clo-n4avniw0{
  flex:1; padding:10px 14px; border:1px solid var(--h4yhad-t2k); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--xi1wmu-kd8x);
  background:var(--fd8-y4xz); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.clo-n4avniw0:focus{ border-color:var(--eruw8-hxt); }
.clo-n4avniw0::placeholder{ color:var(--ve2zq8-x0a); }
.clo-n4avniw0.clo-yv9joaocjm4k{ border-color:#c00; }
.clo-xhn5uold{
  width:40px; height:40px; min-width:40px; border:none; background:var(--eruw8-hxt); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.clo-xhn5uold:disabled{ opacity:.5; cursor:not-allowed; }
.clo-xhn5uold:not(:disabled):hover{ transform:scale(1.05); }
.clo-xhn5uold:not(:disabled):active{ transform:scale(0.95); }
.clo-xhn5uold:focus{ outline:2px solid var(--eruw8-hxt); outline-offset:2px; }
.clo-xhn5uold svg{ width:20px; height:20px; }

/* Character Counter */
.clo-srqj0qkkhckx{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--ve2zq8-x0a); }
.clo-srqj0qkkhckx.clo-g3gm5g2y92g{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.clo-cssskvlsu5n{
  align-self:flex-start;
  max-width:75%;
  background: var(--ypj4-sz);
  color: var(--xi1wmu-kd8x);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--dgw-ek);
}
.clo-q0ladfp12{ display:flex; flex-wrap:wrap; gap:8px; }

/* Solid pill buttons */
.clo-efal8tulk0z{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background: var(--eruw8-hxt); color:#fff; border:1px solid transparent;
  font-size:13px; line-height:1; text-decoration:none;
  box-shadow: var(--dgw-ek);
  transition: transform .08s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.clo-efal8tulk0z:link, .clo-efal8tulk0z:visited{ color:#fff; }
.clo-efal8tulk0z:hover{ transform:translateY(-1px); box-shadow: var(--a6xram-w5); }
.clo-efal8tulk0z:active{ transform:translateY(0); }
.clo-efal8tulk0z:focus-visible{ outline:2px solid var(--eruw8-hxt); outline-offset:2px; }

/* Optional outline variant */
.clo-efal8tulk0z.clo-ez0sz89qt{
  background: transparent; color: var(--xi1wmu-kd8x); border-color: var(--h4yhad-t2k);
}
.clo-efal8tulk0z.clo-ez0sz89qt:hover{
  background: var(--eruw8-hxt); color:#fff; border-color: var(--eruw8-hxt);
}

/* Mobile */
@media (max-width: 768px){
  .clo-hru6p1txwd{ bottom:16px; right:16px; }
  .clo-hru6p1txwd.clo-i5xm6mrs{ left:16px; }
  .clo-s1uoffqj7t1{ --pmt-zc0:60px; }
  .clo-q0kvfv734a{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--q05j-cc) var(--q05j-cc) 0 0; transform: translateY(100%);
  }
  .clo-q0kvfv734a.clo-ahlb8ev3mw7c{ transform: translateY(0); }
  .clo-b7pty3xkxna1{ padding:20px; }
  .clo-wyzqh8vypn9{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

/* High Contrast */
@media (prefers-contrast: high){ .clo-s1uoffqj7t1, .clo-q0kvfv734a{ border:2px solid currentColor; } }

/* Focus Visible */
.clo-hru6p1txwd :focus-visible{ outline:2px solid var(--eruw8-hxt); outline-offset:2px; }

/* SR-only */
.clo-bwee7nze{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0;
}

/* Hidden */
.clo-o4hk5e75d{ display:none !important; }
