/* CSS Variables */
:root {
  --lzjpml-syat: #4f46e5;
  --arr4f-pfn: #ffffff;
  --k8q4-u7: #f9fafb;
  --k1q4-j7: #0f172a;
  --d3f-oq: #6b7280;
  --n4ghy-z7qc: #e5e7eb;
  --fnc7f-vnea: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tx59-lx4: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --rqo-cn: 16px;
  --g2qhzo-wj: 56px;
  --qb84-fi: 12px;
  --yitc-vjo: 999999;
}

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

/* Main Container */
.tsmyxoy1 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--yitc-vjo);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--k1q4-j7);
}
.tsmyxoy1.azm7jqgm { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.muihc2ipfx { display: flex; flex-direction: column-reverse; gap: var(--qb84-fi); align-items: center; }
.fat38h {
  width: var(--g2qhzo-wj); height: var(--g2qhzo-wj); min-width: var(--g2qhzo-wj); min-height: var(--g2qhzo-wj);
  border-radius: 50%; border: none; background: var(--lzjpml-syat); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--fnc7f-vnea);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.fat38h:hover { transform: scale(1.05); box-shadow: var(--tx59-lx4); }
.fat38h:active { transform: scale(0.95); }
.fat38h:focus { outline: 2px solid var(--lzjpml-syat); outline-offset: 2px; }
.fat38h svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fat38h.a7zhqya{ animation:none; }
  .fat38h,.bv5c33y,.accpe5{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.bv5c33y{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--arr4f-pfn); border-radius: var(--rqo-cn); box-shadow: var(--tx59-lx4);
  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;
}
.tsmyxoy1.azm7jqgm .bv5c33y{ right:auto; left:24px; }
.bv5c33y.urzeaognr{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.tue7n52wp{
  padding:16px 20px; background:var(--arr4f-pfn); border-bottom:1px solid var(--n4ghy-z7qc);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.osoz0ux{ width:10px; height:10px; border-radius:50%; background:var(--lzjpml-syat); flex-shrink:0; }
.hspshqjy{ flex:1; min-width:0; }
.azzicw{ font-size:16px; font-weight:600; color:var(--k1q4-j7); margin:0 0 2px 0; }
.mjffiouzq{ font-size:13px; color:var(--d3f-oq); margin:0; }
.wr85btcwy{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--d3f-oq);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.wr85btcwy:hover{ background:var(--k8q4-u7); color:var(--k1q4-j7); }
.wr85btcwy:focus{ outline:2px solid var(--lzjpml-syat); outline-offset:2px; }
.wr85btcwy svg{ width:20px; height:20px; }

/* Body */
.s0nw9t{
  flex:1; overflow-y:auto; padding:16px; background:var(--k8q4-u7);
  display:flex; flex-direction:column; gap:12px;
}
.s0nw9t::-webkit-scrollbar{ width:6px; }
.s0nw9t::-webkit-scrollbar-track{ background:transparent; }
.s0nw9t::-webkit-scrollbar-thumb{ background:var(--n4ghy-z7qc); border-radius:3px; }
.s0nw9t::-webkit-scrollbar-thumb:hover{ background:var(--d3f-oq); }

/* Messages */
.accpe5{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.accpe5.ph8wny4n{ flex-direction:row-reverse; }
.qi0ahmc8{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.qi0ahmc8 a{ color:inherit; }
.accpe5.eexnkw8f .qi0ahmc8{ background:var(--arr4f-pfn); color:var(--k1q4-j7); border-bottom-left-radius:4px; }
.accpe5.ph8wny4n .qi0ahmc8{ background:var(--lzjpml-syat); color:#fff; border-bottom-right-radius:4px; }
.rr6dhoq9ja{ font-size:11px; color:var(--d3f-oq); margin-top:4px; display:block; }

/* Typing Indicator */
.fh8yqljg2{
  display:flex; gap:8px; padding:10px 14px; background:var(--arr4f-pfn);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.vnguvli{ width:8px; height:8px; border-radius:50%; background:var(--d3f-oq); animation:typingDot 1.4s infinite; }
.vnguvli:nth-child(2){ animation-delay:.2s; }
.vnguvli: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) */
.uzm02ej54{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.usy2dsg0{
  border:0; border-radius:999px; padding:8px 12px; background:var(--lzjpml-syat); 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(--fnc7f-vnea);
}
.usy2dsg0:is(:hover,:focus){ transform:translateY(-1px); }
a.usy2dsg0{ text-decoration:none; display:inline-block; }
a.usy2dsg0:link, a.usy2dsg0:visited{ color:#fff; }
a.usy2dsg0:hover, a.usy2dsg0:focus{ color:#fff; }

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

/* Footer */
.ge1xpgdc{
  padding:16px; background:var(--arr4f-pfn); border-top:1px solid var(--n4ghy-z7qc);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.k49zjtsfsu{
  flex:1; padding:10px 14px; border:1px solid var(--n4ghy-z7qc); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--k1q4-j7);
  background:var(--k8q4-u7); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.k49zjtsfsu:focus{ border-color:var(--lzjpml-syat); }
.k49zjtsfsu::placeholder{ color:var(--d3f-oq); }
.k49zjtsfsu.p_12sk74f{ border-color:#c00; }
.lsd_tk4g2{
  width:40px; height:40px; min-width:40px; border:none; background:var(--lzjpml-syat); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.lsd_tk4g2:disabled{ opacity:.5; cursor:not-allowed; }
.lsd_tk4g2:not(:disabled):hover{ transform:scale(1.05); }
.lsd_tk4g2:not(:disabled):active{ transform:scale(0.95); }
.lsd_tk4g2:focus{ outline:2px solid var(--lzjpml-syat); outline-offset:2px; }
.lsd_tk4g2 svg{ width:20px; height:20px; }

/* Character Counter */
.qiwdizj4x{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--d3f-oq); }
.qiwdizj4x.u8egdh3{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.w_s_ws{
  align-self:flex-start;
  max-width:75%;
  background: var(--arr4f-pfn);
  color: var(--k1q4-j7);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--fnc7f-vnea);
}
.dw6q3st5w{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.qtkfgdl.ktzu9w{
  background: transparent; color: var(--k1q4-j7); border-color: var(--n4ghy-z7qc);
}
.qtkfgdl.ktzu9w:hover{
  background: var(--lzjpml-syat); color:#fff; border-color: var(--lzjpml-syat);
}

/* Mobile */
@media (max-width: 768px){
  .tsmyxoy1{ bottom:16px; right:16px; }
  .tsmyxoy1.azm7jqgm{ left:16px; }
  .fat38h{ --g2qhzo-wj:60px; }
  .bv5c33y{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--rqo-cn) var(--rqo-cn) 0 0; transform: translateY(100%);
  }
  .bv5c33y.urzeaognr{ transform: translateY(0); }
  .tue7n52wp{ padding:20px; }
  .ge1xpgdc{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.tsmyxoy1 :focus-visible{ outline:2px solid var(--lzjpml-syat); outline-offset:2px; }

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