/* CSS Variables */
:root {
  --aeaqum-czu: #4f46e5;
  --jb1jw-pna: #ffffff;
  --t21gp-w0: #f9fafb;
  --qli-ak: #0f172a;
  --clngk-qj0n: #6b7280;
  --uwq5-smhi: #e5e7eb;
  --ytmkag-js: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --wwk8o-f7p: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --qbf8w0-nx: 16px;
  --w4kcw-pgxb: 56px;
  --mzoq-p1: 12px;
  --o0rku-k8: 999999;
}

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

/* Main Container */
.y2f0l5exlit09w6jd {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--o0rku-k8);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--qli-ak);
}
.y2f0l5exlit09w6jd.bp9n5cd660ng00m { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.y6ja25vzygvv6-b0 { display: flex; flex-direction: column-reverse; gap: var(--mzoq-p1); align-items: center; }
.p6lc6dqwez8-0zfeuo {
  width: var(--w4kcw-pgxb); height: var(--w4kcw-pgxb); min-width: var(--w4kcw-pgxb); min-height: var(--w4kcw-pgxb);
  border-radius: 50%; border: none; background: var(--aeaqum-czu); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--ytmkag-js);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.p6lc6dqwez8-0zfeuo:hover { transform: scale(1.05); box-shadow: var(--wwk8o-f7p); }
.p6lc6dqwez8-0zfeuo:active { transform: scale(0.95); }
.p6lc6dqwez8-0zfeuo:focus { outline: 2px solid var(--aeaqum-czu); outline-offset: 2px; }
.p6lc6dqwez8-0zfeuo svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .p6lc6dqwez8-0zfeuo.ju26lzo4z36x63u{ animation:none; }
  .p6lc6dqwez8-0zfeuo,.rt5s-langjs3g08j,.fl0yj67o989uzdy{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.rt5s-langjs3g08j{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--jb1jw-pna); border-radius: var(--qbf8w0-nx); box-shadow: var(--wwk8o-f7p);
  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;
}
.y2f0l5exlit09w6jd.bp9n5cd660ng00m .rt5s-langjs3g08j{ right:auto; left:24px; }
.rt5s-langjs3g08j.b87u8tkz8kfvnr-x{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.diwwk3r39wjcfey{
  padding:16px 20px; background:var(--jb1jw-pna); border-bottom:1px solid var(--uwq5-smhi);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.x3720mua9wiqd36qr{ width:10px; height:10px; border-radius:50%; background:var(--aeaqum-czu); flex-shrink:0; }
.k1iyd0px29v8ou87{ flex:1; min-width:0; }
.soor-r2whbtb5vblaz{ font-size:16px; font-weight:600; color:var(--qli-ak); margin:0 0 2px 0; }
.t2646813itjdyf20{ font-size:13px; color:var(--clngk-qj0n); margin:0; }
.uf3at2g45an-vcbmc{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--clngk-qj0n);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.uf3at2g45an-vcbmc:hover{ background:var(--t21gp-w0); color:var(--qli-ak); }
.uf3at2g45an-vcbmc:focus{ outline:2px solid var(--aeaqum-czu); outline-offset:2px; }
.uf3at2g45an-vcbmc svg{ width:20px; height:20px; }

/* Body */
.l83--ig0w45q12ldw{
  flex:1; overflow-y:auto; padding:16px; background:var(--t21gp-w0);
  display:flex; flex-direction:column; gap:12px;
}
.l83--ig0w45q12ldw::-webkit-scrollbar{ width:6px; }
.l83--ig0w45q12ldw::-webkit-scrollbar-track{ background:transparent; }
.l83--ig0w45q12ldw::-webkit-scrollbar-thumb{ background:var(--uwq5-smhi); border-radius:3px; }
.l83--ig0w45q12ldw::-webkit-scrollbar-thumb:hover{ background:var(--clngk-qj0n); }

/* Messages */
.fl0yj67o989uzdy{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.fl0yj67o989uzdy.patly9hkzcw2-0{ flex-direction:row-reverse; }
.mp650nd16st6objsc{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.mp650nd16st6objsc a{ color:inherit; }
.fl0yj67o989uzdy.sesxd89rbk98i28 .mp650nd16st6objsc{ background:var(--jb1jw-pna); color:var(--qli-ak); border-bottom-left-radius:4px; }
.fl0yj67o989uzdy.patly9hkzcw2-0 .mp650nd16st6objsc{ background:var(--aeaqum-czu); color:#fff; border-bottom-right-radius:4px; }
.eyuubl1wbqlotpc{ font-size:11px; color:var(--clngk-qj0n); margin-top:4px; display:block; }

/* Typing Indicator */
.oa306q2iuet19mc{
  display:flex; gap:8px; padding:10px 14px; background:var(--jb1jw-pna);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.kpnpbb4356n33f{ width:8px; height:8px; border-radius:50%; background:var(--clngk-qj0n); animation:typingDot 1.4s infinite; }
.kpnpbb4356n33f:nth-child(2){ animation-delay:.2s; }
.kpnpbb4356n33f: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) */
.ldjp5xveizhc1v{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.ddqllkzia3k1i379co{
  border:0; border-radius:999px; padding:8px 12px; background:var(--aeaqum-czu); 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(--ytmkag-js);
}
.ddqllkzia3k1i379co:is(:hover,:focus){ transform:translateY(-1px); }
a.ddqllkzia3k1i379co{ text-decoration:none; display:inline-block; }
a.ddqllkzia3k1i379co:link, a.ddqllkzia3k1i379co:visited{ color:#fff; }
a.ddqllkzia3k1i379co:hover, a.ddqllkzia3k1i379co:focus{ color:#fff; }

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

/* Footer */
.r71bo95n92p0tak4{
  padding:16px; background:var(--jb1jw-pna); border-top:1px solid var(--uwq5-smhi);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.q5rpfbnmmvdo03vl{
  flex:1; padding:10px 14px; border:1px solid var(--uwq5-smhi); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--qli-ak);
  background:var(--t21gp-w0); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.q5rpfbnmmvdo03vl:focus{ border-color:var(--aeaqum-czu); }
.q5rpfbnmmvdo03vl::placeholder{ color:var(--clngk-qj0n); }
.q5rpfbnmmvdo03vl.ft73foz9pgrmw3umdv{ border-color:#c00; }
.jmlolwuty9vf8dp{
  width:40px; height:40px; min-width:40px; border:none; background:var(--aeaqum-czu); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.jmlolwuty9vf8dp:disabled{ opacity:.5; cursor:not-allowed; }
.jmlolwuty9vf8dp:not(:disabled):hover{ transform:scale(1.05); }
.jmlolwuty9vf8dp:not(:disabled):active{ transform:scale(0.95); }
.jmlolwuty9vf8dp:focus{ outline:2px solid var(--aeaqum-czu); outline-offset:2px; }
.jmlolwuty9vf8dp svg{ width:20px; height:20px; }

/* Character Counter */
.yiw0cbcnkwtmwy5k{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--clngk-qj0n); }
.yiw0cbcnkwtmwy5k.y6n270jna3h6b4jzoz{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.j-8eotxq0e8ds2{
  align-self:flex-start;
  max-width:75%;
  background: var(--jb1jw-pna);
  color: var(--qli-ak);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--ytmkag-js);
}
.kk4wvmxl2f3ck6{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.my9u0g9wrtlsmn4z.eyst80efzl0gd-1{
  background: transparent; color: var(--qli-ak); border-color: var(--uwq5-smhi);
}
.my9u0g9wrtlsmn4z.eyst80efzl0gd-1:hover{
  background: var(--aeaqum-czu); color:#fff; border-color: var(--aeaqum-czu);
}

/* Mobile */
@media (max-width: 768px){
  .y2f0l5exlit09w6jd{ bottom:16px; right:16px; }
  .y2f0l5exlit09w6jd.bp9n5cd660ng00m{ left:16px; }
  .p6lc6dqwez8-0zfeuo{ --w4kcw-pgxb:60px; }
  .rt5s-langjs3g08j{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--qbf8w0-nx) var(--qbf8w0-nx) 0 0; transform: translateY(100%);
  }
  .rt5s-langjs3g08j.b87u8tkz8kfvnr-x{ transform: translateY(0); }
  .diwwk3r39wjcfey{ padding:20px; }
  .r71bo95n92p0tak4{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

/* High Contrast */
@media (prefers-contrast: high){ .p6lc6dqwez8-0zfeuo, .rt5s-langjs3g08j{ border:2px solid currentColor; } }

/* Focus Visible */
.y2f0l5exlit09w6jd :focus-visible{ outline:2px solid var(--aeaqum-czu); outline-offset:2px; }

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