/* CSS Variables */
:root {
  --bu6g-d8vd: #4f46e5;
  --oau5-sn: #ffffff;
  --x398-vka: #f9fafb;
  --jawfr-n4i: #0f172a;
  --zqea-u7kr: #6b7280;
  --jtnqfl-jo: #e5e7eb;
  --ss68c-ud5: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --rs8sc5-m6: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --lev9x-xmrf: 16px;
  --mfq-p5: 56px;
  --wpub8-vfj: 12px;
  --b0dc-cle7: 999999;
}

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

/* Main Container */
.vcq1zqueoz {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--b0dc-cle7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--jawfr-n4i);
}
.vcq1zqueoz.wt930m4a { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.fbzj4vbb { display: flex; flex-direction: column-reverse; gap: var(--wpub8-vfj); align-items: center; }
.eqrk3vb {
  width: var(--mfq-p5); height: var(--mfq-p5); min-width: var(--mfq-p5); min-height: var(--mfq-p5);
  border-radius: 50%; border: none; background: var(--bu6g-d8vd); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--ss68c-ud5);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.eqrk3vb:hover { transform: scale(1.05); box-shadow: var(--rs8sc5-m6); }
.eqrk3vb:active { transform: scale(0.95); }
.eqrk3vb:focus { outline: 2px solid var(--bu6g-d8vd); outline-offset: 2px; }
.eqrk3vb svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .eqrk3vb.cq29ddc4oq{ animation:none; }
  .eqrk3vb,.t82ynt7,.pffboj{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.t82ynt7{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--oau5-sn); border-radius: var(--lev9x-xmrf); box-shadow: var(--rs8sc5-m6);
  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;
}
.vcq1zqueoz.wt930m4a .t82ynt7{ right:auto; left:24px; }
.t82ynt7.ixxh1td{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.za2enifi{
  padding:16px 20px; background:var(--oau5-sn); border-bottom:1px solid var(--jtnqfl-jo);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.lhlc3q{ width:10px; height:10px; border-radius:50%; background:var(--bu6g-d8vd); flex-shrink:0; }
.z_ggf8_s1q{ flex:1; min-width:0; }
.f8bw4_s{ font-size:16px; font-weight:600; color:var(--jawfr-n4i); margin:0 0 2px 0; }
.iukbw6{ font-size:13px; color:var(--zqea-u7kr); margin:0; }
.nshdtxvetj{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--zqea-u7kr);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.nshdtxvetj:hover{ background:var(--x398-vka); color:var(--jawfr-n4i); }
.nshdtxvetj:focus{ outline:2px solid var(--bu6g-d8vd); outline-offset:2px; }
.nshdtxvetj svg{ width:20px; height:20px; }

/* Body */
.xpoeqo{
  flex:1; overflow-y:auto; padding:16px; background:var(--x398-vka);
  display:flex; flex-direction:column; gap:12px;
}
.xpoeqo::-webkit-scrollbar{ width:6px; }
.xpoeqo::-webkit-scrollbar-track{ background:transparent; }
.xpoeqo::-webkit-scrollbar-thumb{ background:var(--jtnqfl-jo); border-radius:3px; }
.xpoeqo::-webkit-scrollbar-thumb:hover{ background:var(--zqea-u7kr); }

/* Messages */
.pffboj{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.pffboj.nd1n_z{ flex-direction:row-reverse; }
.q2l8kmoyc{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.q2l8kmoyc a{ color:inherit; }
.pffboj.fash5f .q2l8kmoyc{ background:var(--oau5-sn); color:var(--jawfr-n4i); border-bottom-left-radius:4px; }
.pffboj.nd1n_z .q2l8kmoyc{ background:var(--bu6g-d8vd); color:#fff; border-bottom-right-radius:4px; }
.nsc6xvzyh0{ font-size:11px; color:var(--zqea-u7kr); margin-top:4px; display:block; }

/* Typing Indicator */
.aey0omq{
  display:flex; gap:8px; padding:10px 14px; background:var(--oau5-sn);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.rh6vbti2fz{ width:8px; height:8px; border-radius:50%; background:var(--zqea-u7kr); animation:typingDot 1.4s infinite; }
.rh6vbti2fz:nth-child(2){ animation-delay:.2s; }
.rh6vbti2fz: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) */
.pv9nna{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.efwxkth3qu{
  border:0; border-radius:999px; padding:8px 12px; background:var(--bu6g-d8vd); 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(--ss68c-ud5);
}
.efwxkth3qu:is(:hover,:focus){ transform:translateY(-1px); }
a.efwxkth3qu{ text-decoration:none; display:inline-block; }
a.efwxkth3qu:link, a.efwxkth3qu:visited{ color:#fff; }
a.efwxkth3qu:hover, a.efwxkth3qu:focus{ color:#fff; }

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

/* Footer */
.art0328h{
  padding:16px; background:var(--oau5-sn); border-top:1px solid var(--jtnqfl-jo);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.pxvz_20scr{
  flex:1; padding:10px 14px; border:1px solid var(--jtnqfl-jo); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--jawfr-n4i);
  background:var(--x398-vka); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.pxvz_20scr:focus{ border-color:var(--bu6g-d8vd); }
.pxvz_20scr::placeholder{ color:var(--zqea-u7kr); }
.pxvz_20scr.pg8cu98y{ border-color:#c00; }
.r0pydj{
  width:40px; height:40px; min-width:40px; border:none; background:var(--bu6g-d8vd); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.r0pydj:disabled{ opacity:.5; cursor:not-allowed; }
.r0pydj:not(:disabled):hover{ transform:scale(1.05); }
.r0pydj:not(:disabled):active{ transform:scale(0.95); }
.r0pydj:focus{ outline:2px solid var(--bu6g-d8vd); outline-offset:2px; }
.r0pydj svg{ width:20px; height:20px; }

/* Character Counter */
.anfkdv{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--zqea-u7kr); }
.anfkdv.nc25gp8fvr{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.z25tfmg8{
  align-self:flex-start;
  max-width:75%;
  background: var(--oau5-sn);
  color: var(--jawfr-n4i);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--ss68c-ud5);
}
.kyosznhmf{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.jvhovf5.i7h96upq2b{
  background: transparent; color: var(--jawfr-n4i); border-color: var(--jtnqfl-jo);
}
.jvhovf5.i7h96upq2b:hover{
  background: var(--bu6g-d8vd); color:#fff; border-color: var(--bu6g-d8vd);
}

/* Mobile */
@media (max-width: 768px){
  .vcq1zqueoz{ bottom:16px; right:16px; }
  .vcq1zqueoz.wt930m4a{ left:16px; }
  .eqrk3vb{ --mfq-p5:60px; }
  .t82ynt7{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--lev9x-xmrf) var(--lev9x-xmrf) 0 0; transform: translateY(100%);
  }
  .t82ynt7.ixxh1td{ transform: translateY(0); }
  .za2enifi{ padding:20px; }
  .art0328h{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.vcq1zqueoz :focus-visible{ outline:2px solid var(--bu6g-d8vd); outline-offset:2px; }

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