/* CSS Variables */
:root {
  --fiqy-yp: #4f46e5;
  --n3cki-lc: #ffffff;
  --pdo-r319: #f9fafb;
  --zjhq2y-lt: #0f172a;
  --o80c4b-va: #6b7280;
  --ws3-t7f: #e5e7eb;
  --q2pjx5-h8g: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tcnd-d3i: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --yiss-ay45: 16px;
  --pfv-vtc: 56px;
  --u36o8-ztq: 12px;
  --p9hqa-wfq: 999999;
}

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

/* Main Container */
.blct36np0jzz8xn9hi {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--p9hqa-wfq);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--zjhq2y-lt);
}
.blct36np0jzz8xn9hi.zgew5k04jjkave { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.mt4dducyo9fypnt { display: flex; flex-direction: column-reverse; gap: var(--u36o8-ztq); align-items: center; }
.eqj3hw6r58cor0 {
  width: var(--pfv-vtc); height: var(--pfv-vtc); min-width: var(--pfv-vtc); min-height: var(--pfv-vtc);
  border-radius: 50%; border: none; background: var(--fiqy-yp); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--q2pjx5-h8g);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.eqj3hw6r58cor0:hover { transform: scale(1.05); box-shadow: var(--tcnd-d3i); }
.eqj3hw6r58cor0:active { transform: scale(0.95); }
.eqj3hw6r58cor0:focus { outline: 2px solid var(--fiqy-yp); outline-offset: 2px; }
.eqj3hw6r58cor0 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .eqj3hw6r58cor0.ebghb7iocxym-tp{ animation:none; }
  .eqj3hw6r58cor0,.fb-2p5tryhemoj9,.f-b2w0qhetd9gzso3{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.fb-2p5tryhemoj9{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--n3cki-lc); border-radius: var(--yiss-ay45); box-shadow: var(--tcnd-d3i);
  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;
}
.blct36np0jzz8xn9hi.zgew5k04jjkave .fb-2p5tryhemoj9{ right:auto; left:24px; }
.fb-2p5tryhemoj9.b01byqvkwomzz-zbz{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.e7hryv03wvldmf3--n{
  padding:16px 20px; background:var(--n3cki-lc); border-bottom:1px solid var(--ws3-t7f);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.gisyomlajeodm5{ width:10px; height:10px; border-radius:50%; background:var(--fiqy-yp); flex-shrink:0; }
.fubjm3rl2vbec-2p2{ flex:1; min-width:0; }
.cvcd00x29u8-mg{ font-size:16px; font-weight:600; color:var(--zjhq2y-lt); margin:0 0 2px 0; }
.sizxhiprc6f1l67r{ font-size:13px; color:var(--o80c4b-va); margin:0; }
.hv283zgm7m5qgek5d{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--o80c4b-va);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.hv283zgm7m5qgek5d:hover{ background:var(--pdo-r319); color:var(--zjhq2y-lt); }
.hv283zgm7m5qgek5d:focus{ outline:2px solid var(--fiqy-yp); outline-offset:2px; }
.hv283zgm7m5qgek5d svg{ width:20px; height:20px; }

/* Body */
.gzvo273sqfmua60wp7{
  flex:1; overflow-y:auto; padding:16px; background:var(--pdo-r319);
  display:flex; flex-direction:column; gap:12px;
}
.gzvo273sqfmua60wp7::-webkit-scrollbar{ width:6px; }
.gzvo273sqfmua60wp7::-webkit-scrollbar-track{ background:transparent; }
.gzvo273sqfmua60wp7::-webkit-scrollbar-thumb{ background:var(--ws3-t7f); border-radius:3px; }
.gzvo273sqfmua60wp7::-webkit-scrollbar-thumb:hover{ background:var(--o80c4b-va); }

/* Messages */
.f-b2w0qhetd9gzso3{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.f-b2w0qhetd9gzso3.qx1jfkp5ihyaafrvg{ flex-direction:row-reverse; }
.h6oy-cuvqgvo0q{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.h6oy-cuvqgvo0q a{ color:inherit; }
.f-b2w0qhetd9gzso3.cl3ffw0j-naby6 .h6oy-cuvqgvo0q{ background:var(--n3cki-lc); color:var(--zjhq2y-lt); border-bottom-left-radius:4px; }
.f-b2w0qhetd9gzso3.qx1jfkp5ihyaafrvg .h6oy-cuvqgvo0q{ background:var(--fiqy-yp); color:#fff; border-bottom-right-radius:4px; }
.zkfcl69149ekvb{ font-size:11px; color:var(--o80c4b-va); margin-top:4px; display:block; }

/* Typing Indicator */
.yss8syhshhssths{
  display:flex; gap:8px; padding:10px 14px; background:var(--n3cki-lc);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.svwnzt2u5-q8vg{ width:8px; height:8px; border-radius:50%; background:var(--o80c4b-va); animation:typingDot 1.4s infinite; }
.svwnzt2u5-q8vg:nth-child(2){ animation-delay:.2s; }
.svwnzt2u5-q8vg: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) */
.qf5-0nvrs-fzuri{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.s1v4-9a3fdw2ammy{
  border:0; border-radius:999px; padding:8px 12px; background:var(--fiqy-yp); 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(--q2pjx5-h8g);
}
.s1v4-9a3fdw2ammy:is(:hover,:focus){ transform:translateY(-1px); }
a.s1v4-9a3fdw2ammy{ text-decoration:none; display:inline-block; }
a.s1v4-9a3fdw2ammy:link, a.s1v4-9a3fdw2ammy:visited{ color:#fff; }
a.s1v4-9a3fdw2ammy:hover, a.s1v4-9a3fdw2ammy:focus{ color:#fff; }

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

/* Footer */
.io4-uogmewzpjcg5gn{
  padding:16px; background:var(--n3cki-lc); border-top:1px solid var(--ws3-t7f);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.pvc0j4wbxduh8tvs1{
  flex:1; padding:10px 14px; border:1px solid var(--ws3-t7f); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--zjhq2y-lt);
  background:var(--pdo-r319); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.pvc0j4wbxduh8tvs1:focus{ border-color:var(--fiqy-yp); }
.pvc0j4wbxduh8tvs1::placeholder{ color:var(--o80c4b-va); }
.pvc0j4wbxduh8tvs1.iayx8rvipa8abyuv0k{ border-color:#c00; }
.g-kx9-6gxe6pyng{
  width:40px; height:40px; min-width:40px; border:none; background:var(--fiqy-yp); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.g-kx9-6gxe6pyng:disabled{ opacity:.5; cursor:not-allowed; }
.g-kx9-6gxe6pyng:not(:disabled):hover{ transform:scale(1.05); }
.g-kx9-6gxe6pyng:not(:disabled):active{ transform:scale(0.95); }
.g-kx9-6gxe6pyng:focus{ outline:2px solid var(--fiqy-yp); outline-offset:2px; }
.g-kx9-6gxe6pyng svg{ width:20px; height:20px; }

/* Character Counter */
.raiu39ch-b9x5m46j{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--o80c4b-va); }
.raiu39ch-b9x5m46j.v552oom069xp58vl9y{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.iviwsyqfdo8vy0r{
  align-self:flex-start;
  max-width:75%;
  background: var(--n3cki-lc);
  color: var(--zjhq2y-lt);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--q2pjx5-h8g);
}
.mmb20-gwzsc04a79{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.w-a4v30p398qx774.a5s4vbdzhtowesib{
  background: transparent; color: var(--zjhq2y-lt); border-color: var(--ws3-t7f);
}
.w-a4v30p398qx774.a5s4vbdzhtowesib:hover{
  background: var(--fiqy-yp); color:#fff; border-color: var(--fiqy-yp);
}

/* Mobile */
@media (max-width: 768px){
  .blct36np0jzz8xn9hi{ bottom:16px; right:16px; }
  .blct36np0jzz8xn9hi.zgew5k04jjkave{ left:16px; }
  .eqj3hw6r58cor0{ --pfv-vtc:60px; }
  .fb-2p5tryhemoj9{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--yiss-ay45) var(--yiss-ay45) 0 0; transform: translateY(100%);
  }
  .fb-2p5tryhemoj9.b01byqvkwomzz-zbz{ transform: translateY(0); }
  .e7hryv03wvldmf3--n{ padding:20px; }
  .io4-uogmewzpjcg5gn{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.blct36np0jzz8xn9hi :focus-visible{ outline:2px solid var(--fiqy-yp); outline-offset:2px; }

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