/* CSS Variables */
:root {
  --w084ly-efts: #4f46e5;
  --rg50f-qawp: #ffffff;
  --gj7w-boi: #f9fafb;
  --rlo9ng-ap: #0f172a;
  --bjw-e7r: #6b7280;
  --h0g-tf: #e5e7eb;
  --bak-m9pb: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --vz18-adxe: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --x1s-y4d5: 16px;
  --j0c51j-kf: 56px;
  --poh0n-e2m8: 12px;
  --f2pti-ej: 999999;
}

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

/* Main Container */
.s1m1vt2otws0x0a60 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--f2pti-ej);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--rlo9ng-ap);
}
.s1m1vt2otws0x0a60.n830nl0cmbyzhdlks { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.wk50rhxg57udt23 { display: flex; flex-direction: column-reverse; gap: var(--poh0n-e2m8); align-items: center; }
.ptwenxcg48bdtl4ft {
  width: var(--j0c51j-kf); height: var(--j0c51j-kf); min-width: var(--j0c51j-kf); min-height: var(--j0c51j-kf);
  border-radius: 50%; border: none; background: var(--w084ly-efts); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--bak-m9pb);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.ptwenxcg48bdtl4ft:hover { transform: scale(1.05); box-shadow: var(--vz18-adxe); }
.ptwenxcg48bdtl4ft:active { transform: scale(0.95); }
.ptwenxcg48bdtl4ft:focus { outline: 2px solid var(--w084ly-efts); outline-offset: 2px; }
.ptwenxcg48bdtl4ft svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ptwenxcg48bdtl4ft.aowju-enh2209xm{ animation:none; }
  .ptwenxcg48bdtl4ft,.gjkshwdh5qpxj4,.i2g46fcniqazp73p{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.gjkshwdh5qpxj4{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--rg50f-qawp); border-radius: var(--x1s-y4d5); box-shadow: var(--vz18-adxe);
  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;
}
.s1m1vt2otws0x0a60.n830nl0cmbyzhdlks .gjkshwdh5qpxj4{ right:auto; left:24px; }
.gjkshwdh5qpxj4.oygvhpspbot4sdu{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.a7fdypu47w3mnaada{
  padding:16px 20px; background:var(--rg50f-qawp); border-bottom:1px solid var(--h0g-tf);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.w0e-ilah-i-aepuy2{ width:10px; height:10px; border-radius:50%; background:var(--w084ly-efts); flex-shrink:0; }
.dloc578wdgdto365{ flex:1; min-width:0; }
.s8m8oa-cwroy66tp{ font-size:16px; font-weight:600; color:var(--rlo9ng-ap); margin:0 0 2px 0; }
.xf9f1p78u0ik0nplr{ font-size:13px; color:var(--bjw-e7r); margin:0; }
.dgqaavvl64nduy{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--bjw-e7r);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.dgqaavvl64nduy:hover{ background:var(--gj7w-boi); color:var(--rlo9ng-ap); }
.dgqaavvl64nduy:focus{ outline:2px solid var(--w084ly-efts); outline-offset:2px; }
.dgqaavvl64nduy svg{ width:20px; height:20px; }

/* Body */
.l1rxsor4dj03g73{
  flex:1; overflow-y:auto; padding:16px; background:var(--gj7w-boi);
  display:flex; flex-direction:column; gap:12px;
}
.l1rxsor4dj03g73::-webkit-scrollbar{ width:6px; }
.l1rxsor4dj03g73::-webkit-scrollbar-track{ background:transparent; }
.l1rxsor4dj03g73::-webkit-scrollbar-thumb{ background:var(--h0g-tf); border-radius:3px; }
.l1rxsor4dj03g73::-webkit-scrollbar-thumb:hover{ background:var(--bjw-e7r); }

/* Messages */
.i2g46fcniqazp73p{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.i2g46fcniqazp73p.imuqmq9yz98hpoo1sq{ flex-direction:row-reverse; }
.g1bty2eee7f00ptt{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.g1bty2eee7f00ptt a{ color:inherit; }
.i2g46fcniqazp73p.lvfh2x74wyx0bbp .g1bty2eee7f00ptt{ background:var(--rg50f-qawp); color:var(--rlo9ng-ap); border-bottom-left-radius:4px; }
.i2g46fcniqazp73p.imuqmq9yz98hpoo1sq .g1bty2eee7f00ptt{ background:var(--w084ly-efts); color:#fff; border-bottom-right-radius:4px; }
.slryeongai0gzlp9{ font-size:11px; color:var(--bjw-e7r); margin-top:4px; display:block; }

/* Typing Indicator */
.c27dg-4dek0sggqfvf{
  display:flex; gap:8px; padding:10px 14px; background:var(--rg50f-qawp);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.grty1dt9tl418c{ width:8px; height:8px; border-radius:50%; background:var(--bjw-e7r); animation:typingDot 1.4s infinite; }
.grty1dt9tl418c:nth-child(2){ animation-delay:.2s; }
.grty1dt9tl418c: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) */
.a2bj7iey-xkwnk0{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.hsn0mbh6zk3dfza8{
  border:0; border-radius:999px; padding:8px 12px; background:var(--w084ly-efts); 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(--bak-m9pb);
}
.hsn0mbh6zk3dfza8:is(:hover,:focus){ transform:translateY(-1px); }
a.hsn0mbh6zk3dfza8{ text-decoration:none; display:inline-block; }
a.hsn0mbh6zk3dfza8:link, a.hsn0mbh6zk3dfza8:visited{ color:#fff; }
a.hsn0mbh6zk3dfza8:hover, a.hsn0mbh6zk3dfza8:focus{ color:#fff; }

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

/* Footer */
.ymzdjzg6i8z759{
  padding:16px; background:var(--rg50f-qawp); border-top:1px solid var(--h0g-tf);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.hqbugfcn-xq2tcjs{
  flex:1; padding:10px 14px; border:1px solid var(--h0g-tf); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--rlo9ng-ap);
  background:var(--gj7w-boi); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.hqbugfcn-xq2tcjs:focus{ border-color:var(--w084ly-efts); }
.hqbugfcn-xq2tcjs::placeholder{ color:var(--bjw-e7r); }
.hqbugfcn-xq2tcjs.sne7sikvjkii4dq17{ border-color:#c00; }
.s5ldiv50tnspwjub2r{
  width:40px; height:40px; min-width:40px; border:none; background:var(--w084ly-efts); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.s5ldiv50tnspwjub2r:disabled{ opacity:.5; cursor:not-allowed; }
.s5ldiv50tnspwjub2r:not(:disabled):hover{ transform:scale(1.05); }
.s5ldiv50tnspwjub2r:not(:disabled):active{ transform:scale(0.95); }
.s5ldiv50tnspwjub2r:focus{ outline:2px solid var(--w084ly-efts); outline-offset:2px; }
.s5ldiv50tnspwjub2r svg{ width:20px; height:20px; }

/* Character Counter */
.bx14qu86m3cui9{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--bjw-e7r); }
.bx14qu86m3cui9.qaa65vuzcq7ak46pk{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.bmyhl4wftpx0sk{
  align-self:flex-start;
  max-width:75%;
  background: var(--rg50f-qawp);
  color: var(--rlo9ng-ap);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--bak-m9pb);
}
.nt0kqrtcdumqixsf{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.lilrhuuf0ibica7.ovtvn2wk05urgj{
  background: transparent; color: var(--rlo9ng-ap); border-color: var(--h0g-tf);
}
.lilrhuuf0ibica7.ovtvn2wk05urgj:hover{
  background: var(--w084ly-efts); color:#fff; border-color: var(--w084ly-efts);
}

/* Mobile */
@media (max-width: 768px){
  .s1m1vt2otws0x0a60{ bottom:16px; right:16px; }
  .s1m1vt2otws0x0a60.n830nl0cmbyzhdlks{ left:16px; }
  .ptwenxcg48bdtl4ft{ --j0c51j-kf:60px; }
  .gjkshwdh5qpxj4{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--x1s-y4d5) var(--x1s-y4d5) 0 0; transform: translateY(100%);
  }
  .gjkshwdh5qpxj4.oygvhpspbot4sdu{ transform: translateY(0); }
  .a7fdypu47w3mnaada{ padding:20px; }
  .ymzdjzg6i8z759{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.s1m1vt2otws0x0a60 :focus-visible{ outline:2px solid var(--w084ly-efts); outline-offset:2px; }

/* SR-only */
.c9apbvrliakh2jjh{
  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 */
.g649dlpgu0--6p{ display:none !important; }
