/* CSS Variables */
:root {
  --yid-bd: #4f46e5;
  --u7py0-vmo: #ffffff;
  --byz8m-oso: #f9fafb;
  --sae-s5: #0f172a;
  --r7lyi-k0: #6b7280;
  --x848za-qt: #e5e7eb;
  --h66m-r1: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --phb-bo5: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --klr-c7he: 16px;
  --t5x-p4: 56px;
  --hmv3-x09: 12px;
  --np4dl-jhh: 999999;
}

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

/* Main Container */
.mm44u5 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--np4dl-jhh);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--sae-s5);
}
.mm44u5.acef5d { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.wqmy66l0mz { display: flex; flex-direction: column-reverse; gap: var(--hmv3-x09); align-items: center; }
.lxa3jgpps6 {
  width: var(--t5x-p4); height: var(--t5x-p4); min-width: var(--t5x-p4); min-height: var(--t5x-p4);
  border-radius: 50%; border: none; background: var(--yid-bd); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--h66m-r1);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.lxa3jgpps6:hover { transform: scale(1.05); box-shadow: var(--phb-bo5); }
.lxa3jgpps6:active { transform: scale(0.95); }
.lxa3jgpps6:focus { outline: 2px solid var(--yid-bd); outline-offset: 2px; }
.lxa3jgpps6 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .lxa3jgpps6.uikop20{ animation:none; }
  .lxa3jgpps6,.epg9ioic,.h00u525ko{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.epg9ioic{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--u7py0-vmo); border-radius: var(--klr-c7he); box-shadow: var(--phb-bo5);
  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;
}
.mm44u5.acef5d .epg9ioic{ right:auto; left:24px; }
.epg9ioic.qipdxshu{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.lhynarebv{
  padding:16px 20px; background:var(--u7py0-vmo); border-bottom:1px solid var(--x848za-qt);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.fco8bf_vn{ width:10px; height:10px; border-radius:50%; background:var(--yid-bd); flex-shrink:0; }
.v0lxwnsax6{ flex:1; min-width:0; }
.tzwkue1{ font-size:16px; font-weight:600; color:var(--sae-s5); margin:0 0 2px 0; }
.a12h3j5{ font-size:13px; color:var(--r7lyi-k0); margin:0; }
.e4cvv393{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--r7lyi-k0);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.e4cvv393:hover{ background:var(--byz8m-oso); color:var(--sae-s5); }
.e4cvv393:focus{ outline:2px solid var(--yid-bd); outline-offset:2px; }
.e4cvv393 svg{ width:20px; height:20px; }

/* Body */
.zvpzuiukhf{
  flex:1; overflow-y:auto; padding:16px; background:var(--byz8m-oso);
  display:flex; flex-direction:column; gap:12px;
}
.zvpzuiukhf::-webkit-scrollbar{ width:6px; }
.zvpzuiukhf::-webkit-scrollbar-track{ background:transparent; }
.zvpzuiukhf::-webkit-scrollbar-thumb{ background:var(--x848za-qt); border-radius:3px; }
.zvpzuiukhf::-webkit-scrollbar-thumb:hover{ background:var(--r7lyi-k0); }

/* Messages */
.h00u525ko{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.h00u525ko.b7c3zvcxct{ flex-direction:row-reverse; }
.w8npnn{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.w8npnn a{ color:inherit; }
.h00u525ko.as0edtg .w8npnn{ background:var(--u7py0-vmo); color:var(--sae-s5); border-bottom-left-radius:4px; }
.h00u525ko.b7c3zvcxct .w8npnn{ background:var(--yid-bd); color:#fff; border-bottom-right-radius:4px; }
.czwiskgmu{ font-size:11px; color:var(--r7lyi-k0); margin-top:4px; display:block; }

/* Typing Indicator */
.gg1lkjqs2z{
  display:flex; gap:8px; padding:10px 14px; background:var(--u7py0-vmo);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.we1ivdjl1{ width:8px; height:8px; border-radius:50%; background:var(--r7lyi-k0); animation:typingDot 1.4s infinite; }
.we1ivdjl1:nth-child(2){ animation-delay:.2s; }
.we1ivdjl1: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) */
.pj2ykj{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.da674ol7{
  border:0; border-radius:999px; padding:8px 12px; background:var(--yid-bd); 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(--h66m-r1);
}
.da674ol7:is(:hover,:focus){ transform:translateY(-1px); }
a.da674ol7{ text-decoration:none; display:inline-block; }
a.da674ol7:link, a.da674ol7:visited{ color:#fff; }
a.da674ol7:hover, a.da674ol7:focus{ color:#fff; }

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

/* Footer */
.v3mjqf8gj8{
  padding:16px; background:var(--u7py0-vmo); border-top:1px solid var(--x848za-qt);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.p68mxxv{
  flex:1; padding:10px 14px; border:1px solid var(--x848za-qt); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--sae-s5);
  background:var(--byz8m-oso); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.p68mxxv:focus{ border-color:var(--yid-bd); }
.p68mxxv::placeholder{ color:var(--r7lyi-k0); }
.p68mxxv.bsn2c4iv{ border-color:#c00; }
.c2mumbbs1w{
  width:40px; height:40px; min-width:40px; border:none; background:var(--yid-bd); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.c2mumbbs1w:disabled{ opacity:.5; cursor:not-allowed; }
.c2mumbbs1w:not(:disabled):hover{ transform:scale(1.05); }
.c2mumbbs1w:not(:disabled):active{ transform:scale(0.95); }
.c2mumbbs1w:focus{ outline:2px solid var(--yid-bd); outline-offset:2px; }
.c2mumbbs1w svg{ width:20px; height:20px; }

/* Character Counter */
.et96k5s{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--r7lyi-k0); }
.et96k5s.vmiggppwu{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.s8a218f{
  align-self:flex-start;
  max-width:75%;
  background: var(--u7py0-vmo);
  color: var(--sae-s5);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--h66m-r1);
}
.j6twid{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.f2dbk35y.jee3szf2{
  background: transparent; color: var(--sae-s5); border-color: var(--x848za-qt);
}
.f2dbk35y.jee3szf2:hover{
  background: var(--yid-bd); color:#fff; border-color: var(--yid-bd);
}

/* Mobile */
@media (max-width: 768px){
  .mm44u5{ bottom:16px; right:16px; }
  .mm44u5.acef5d{ left:16px; }
  .lxa3jgpps6{ --t5x-p4:60px; }
  .epg9ioic{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--klr-c7he) var(--klr-c7he) 0 0; transform: translateY(100%);
  }
  .epg9ioic.qipdxshu{ transform: translateY(0); }
  .lhynarebv{ padding:20px; }
  .v3mjqf8gj8{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.mm44u5 :focus-visible{ outline:2px solid var(--yid-bd); outline-offset:2px; }

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