/* CSS Variables */
:root {
  --c0q1-hu2: #4f46e5;
  --f5hmja-nfg7: #ffffff;
  --e0q9x-ah: #f9fafb;
  --svf4gn-o8x: #0f172a;
  --cb7i4-b9l: #6b7280;
  --b2hm3x-f2u: #e5e7eb;
  --nj0s9y-fvb: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --hp9-we: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --na18ld-l3i: 16px;
  --j6jhf-p3w: 56px;
  --jsa0-h6l: 12px;
  --c5g66-zpsp: 999999;
}

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

/* Main Container */
.ntou66x2aodojr {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--c5g66-zpsp);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--svf4gn-o8x);
}
.ntou66x2aodojr.nhieyz545ewb76n0f { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.csd-2uwbk0ujp2 { display: flex; flex-direction: column-reverse; gap: var(--jsa0-h6l); align-items: center; }
.w1ya00a5vzy1weq6b {
  width: var(--j6jhf-p3w); height: var(--j6jhf-p3w); min-width: var(--j6jhf-p3w); min-height: var(--j6jhf-p3w);
  border-radius: 50%; border: none; background: var(--c0q1-hu2); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--nj0s9y-fvb);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.w1ya00a5vzy1weq6b:hover { transform: scale(1.05); box-shadow: var(--hp9-we); }
.w1ya00a5vzy1weq6b:active { transform: scale(0.95); }
.w1ya00a5vzy1weq6b:focus { outline: 2px solid var(--c0q1-hu2); outline-offset: 2px; }
.w1ya00a5vzy1weq6b svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .w1ya00a5vzy1weq6b.zz4majeb28hdy2{ animation:none; }
  .w1ya00a5vzy1weq6b,.mtq2yt68ijt5k8r,.iiok9zk1t-rvtw{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.mtq2yt68ijt5k8r{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--f5hmja-nfg7); border-radius: var(--na18ld-l3i); box-shadow: var(--hp9-we);
  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;
}
.ntou66x2aodojr.nhieyz545ewb76n0f .mtq2yt68ijt5k8r{ right:auto; left:24px; }
.mtq2yt68ijt5k8r.nmhs-20watafp1{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.myqfkramfn003sw{
  padding:16px 20px; background:var(--f5hmja-nfg7); border-bottom:1px solid var(--b2hm3x-f2u);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.r-gzf7bg9miiav{ width:10px; height:10px; border-radius:50%; background:var(--c0q1-hu2); flex-shrink:0; }
.zakue5lztgmxc9g4s{ flex:1; min-width:0; }
.thuwormp34dcif2y{ font-size:16px; font-weight:600; color:var(--svf4gn-o8x); margin:0 0 2px 0; }
.j1142np3za9rvbv{ font-size:13px; color:var(--cb7i4-b9l); margin:0; }
.qrw7qxokzfj3v5{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--cb7i4-b9l);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.qrw7qxokzfj3v5:hover{ background:var(--e0q9x-ah); color:var(--svf4gn-o8x); }
.qrw7qxokzfj3v5:focus{ outline:2px solid var(--c0q1-hu2); outline-offset:2px; }
.qrw7qxokzfj3v5 svg{ width:20px; height:20px; }

/* Body */
.k7tke4b6uc6685o1{
  flex:1; overflow-y:auto; padding:16px; background:var(--e0q9x-ah);
  display:flex; flex-direction:column; gap:12px;
}
.k7tke4b6uc6685o1::-webkit-scrollbar{ width:6px; }
.k7tke4b6uc6685o1::-webkit-scrollbar-track{ background:transparent; }
.k7tke4b6uc6685o1::-webkit-scrollbar-thumb{ background:var(--b2hm3x-f2u); border-radius:3px; }
.k7tke4b6uc6685o1::-webkit-scrollbar-thumb:hover{ background:var(--cb7i4-b9l); }

/* Messages */
.iiok9zk1t-rvtw{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.iiok9zk1t-rvtw.hzap7l342holkb{ flex-direction:row-reverse; }
.t-umk-c510agr1jgv{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.t-umk-c510agr1jgv a{ color:inherit; }
.iiok9zk1t-rvtw.js8j-8o2gzu3lchv69 .t-umk-c510agr1jgv{ background:var(--f5hmja-nfg7); color:var(--svf4gn-o8x); border-bottom-left-radius:4px; }
.iiok9zk1t-rvtw.hzap7l342holkb .t-umk-c510agr1jgv{ background:var(--c0q1-hu2); color:#fff; border-bottom-right-radius:4px; }
.pjgef5jza6lhu3xxav{ font-size:11px; color:var(--cb7i4-b9l); margin-top:4px; display:block; }

/* Typing Indicator */
.m8h-06oglqpo-r{
  display:flex; gap:8px; padding:10px 14px; background:var(--f5hmja-nfg7);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.z61gzxtkrj72dbjwc{ width:8px; height:8px; border-radius:50%; background:var(--cb7i4-b9l); animation:typingDot 1.4s infinite; }
.z61gzxtkrj72dbjwc:nth-child(2){ animation-delay:.2s; }
.z61gzxtkrj72dbjwc: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) */
.oun8h2dql9inrdg{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.ynnedan2xqpr6l513h{
  border:0; border-radius:999px; padding:8px 12px; background:var(--c0q1-hu2); 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(--nj0s9y-fvb);
}
.ynnedan2xqpr6l513h:is(:hover,:focus){ transform:translateY(-1px); }
a.ynnedan2xqpr6l513h{ text-decoration:none; display:inline-block; }
a.ynnedan2xqpr6l513h:link, a.ynnedan2xqpr6l513h:visited{ color:#fff; }
a.ynnedan2xqpr6l513h:hover, a.ynnedan2xqpr6l513h:focus{ color:#fff; }

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

/* Footer */
.exahgjr6uax4zjm05{
  padding:16px; background:var(--f5hmja-nfg7); border-top:1px solid var(--b2hm3x-f2u);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.b7n3-nrtw12gqzw{
  flex:1; padding:10px 14px; border:1px solid var(--b2hm3x-f2u); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--svf4gn-o8x);
  background:var(--e0q9x-ah); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.b7n3-nrtw12gqzw:focus{ border-color:var(--c0q1-hu2); }
.b7n3-nrtw12gqzw::placeholder{ color:var(--cb7i4-b9l); }
.b7n3-nrtw12gqzw.b6hdscj25-xbl1xh{ border-color:#c00; }
.kr2zo42jh6astcbs{
  width:40px; height:40px; min-width:40px; border:none; background:var(--c0q1-hu2); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.kr2zo42jh6astcbs:disabled{ opacity:.5; cursor:not-allowed; }
.kr2zo42jh6astcbs:not(:disabled):hover{ transform:scale(1.05); }
.kr2zo42jh6astcbs:not(:disabled):active{ transform:scale(0.95); }
.kr2zo42jh6astcbs:focus{ outline:2px solid var(--c0q1-hu2); outline-offset:2px; }
.kr2zo42jh6astcbs svg{ width:20px; height:20px; }

/* Character Counter */
.lyy7ia3kpi4w0h3{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--cb7i4-b9l); }
.lyy7ia3kpi4w0h3.u65ttfezpcvrm9xyqq{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.ptaiw-kjeekvq22{
  align-self:flex-start;
  max-width:75%;
  background: var(--f5hmja-nfg7);
  color: var(--svf4gn-o8x);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--nj0s9y-fvb);
}
.os5ik62pj0wpqeg{ display:flex; flex-wrap:wrap; gap:8px; }

/* Solid pill buttons */
.o4ewvrqk3va-006{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background: var(--c0q1-hu2); color:#fff; border:1px solid transparent;
  font-size:13px; line-height:1; text-decoration:none;
  box-shadow: var(--nj0s9y-fvb);
  transition: transform .08s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.o4ewvrqk3va-006:link, .o4ewvrqk3va-006:visited{ color:#fff; }
.o4ewvrqk3va-006:hover{ transform:translateY(-1px); box-shadow: var(--hp9-we); }
.o4ewvrqk3va-006:active{ transform:translateY(0); }
.o4ewvrqk3va-006:focus-visible{ outline:2px solid var(--c0q1-hu2); outline-offset:2px; }

/* Optional outline variant */
.o4ewvrqk3va-006.o-d5m6v6mk1syu73v{
  background: transparent; color: var(--svf4gn-o8x); border-color: var(--b2hm3x-f2u);
}
.o4ewvrqk3va-006.o-d5m6v6mk1syu73v:hover{
  background: var(--c0q1-hu2); color:#fff; border-color: var(--c0q1-hu2);
}

/* Mobile */
@media (max-width: 768px){
  .ntou66x2aodojr{ bottom:16px; right:16px; }
  .ntou66x2aodojr.nhieyz545ewb76n0f{ left:16px; }
  .w1ya00a5vzy1weq6b{ --j6jhf-p3w:60px; }
  .mtq2yt68ijt5k8r{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--na18ld-l3i) var(--na18ld-l3i) 0 0; transform: translateY(100%);
  }
  .mtq2yt68ijt5k8r.nmhs-20watafp1{ transform: translateY(0); }
  .myqfkramfn003sw{ padding:20px; }
  .exahgjr6uax4zjm05{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.ntou66x2aodojr :focus-visible{ outline:2px solid var(--c0q1-hu2); outline-offset:2px; }

/* SR-only */
.je07nb90nxpfxiy6{
  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 */
.uojvnmqpibvb468g0k{ display:none !important; }
