/* CSS Variables */
:root {
  --wk3-n1: #4f46e5;
  --qyw-f5cr: #ffffff;
  --u3nel6-y5v: #f9fafb;
  --u9kr6q-om4: #0f172a;
  --zng-to: #6b7280;
  --m3fo-ad9: #e5e7eb;
  --uj87jq-e60: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --xei8qk-bjk: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --m93-c2vo: 16px;
  --u4l9-hi: 56px;
  --pwh-cg: 12px;
  --hhutp4-cyno: 999999;
}

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

/* Main Container */
.d6gcpkuevoanrlh {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--hhutp4-cyno);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--u9kr6q-om4);
}
.d6gcpkuevoanrlh.bhplti3cq-qlj6vl7o { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.diwg7me1zz2n6gj { display: flex; flex-direction: column-reverse; gap: var(--pwh-cg); align-items: center; }
.evo5gngqltuar0qq {
  width: var(--u4l9-hi); height: var(--u4l9-hi); min-width: var(--u4l9-hi); min-height: var(--u4l9-hi);
  border-radius: 50%; border: none; background: var(--wk3-n1); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--uj87jq-e60);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.evo5gngqltuar0qq:hover { transform: scale(1.05); box-shadow: var(--xei8qk-bjk); }
.evo5gngqltuar0qq:active { transform: scale(0.95); }
.evo5gngqltuar0qq:focus { outline: 2px solid var(--wk3-n1); outline-offset: 2px; }
.evo5gngqltuar0qq svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .evo5gngqltuar0qq.oow2in2ekq03p2m{ animation:none; }
  .evo5gngqltuar0qq,.v8hyhw2gj1cgixb9yk,.i6hl-7nxf4vmjfzqly{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.v8hyhw2gj1cgixb9yk{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--qyw-f5cr); border-radius: var(--m93-c2vo); box-shadow: var(--xei8qk-bjk);
  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;
}
.d6gcpkuevoanrlh.bhplti3cq-qlj6vl7o .v8hyhw2gj1cgixb9yk{ right:auto; left:24px; }
.v8hyhw2gj1cgixb9yk.gfw77tosuz5i9h0cf9{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.dkr9w0o5xt6wszq6{
  padding:16px 20px; background:var(--qyw-f5cr); border-bottom:1px solid var(--m3fo-ad9);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.uws2brs1lstj5i{ width:10px; height:10px; border-radius:50%; background:var(--wk3-n1); flex-shrink:0; }
.oee-g3k9o39wdtdp{ flex:1; min-width:0; }
.pmt0cj4n73r5pv{ font-size:16px; font-weight:600; color:var(--u9kr6q-om4); margin:0 0 2px 0; }
.unf7fj5gavbr9vg{ font-size:13px; color:var(--zng-to); margin:0; }
.cb75-5rh9j-dunectp{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--zng-to);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.cb75-5rh9j-dunectp:hover{ background:var(--u3nel6-y5v); color:var(--u9kr6q-om4); }
.cb75-5rh9j-dunectp:focus{ outline:2px solid var(--wk3-n1); outline-offset:2px; }
.cb75-5rh9j-dunectp svg{ width:20px; height:20px; }

/* Body */
.xcaauts91jp8mmy{
  flex:1; overflow-y:auto; padding:16px; background:var(--u3nel6-y5v);
  display:flex; flex-direction:column; gap:12px;
}
.xcaauts91jp8mmy::-webkit-scrollbar{ width:6px; }
.xcaauts91jp8mmy::-webkit-scrollbar-track{ background:transparent; }
.xcaauts91jp8mmy::-webkit-scrollbar-thumb{ background:var(--m3fo-ad9); border-radius:3px; }
.xcaauts91jp8mmy::-webkit-scrollbar-thumb:hover{ background:var(--zng-to); }

/* Messages */
.i6hl-7nxf4vmjfzqly{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.i6hl-7nxf4vmjfzqly.pdzdciuuknvi5l{ flex-direction:row-reverse; }
.c8l4onyx5l1divf95{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.c8l4onyx5l1divf95 a{ color:inherit; }
.i6hl-7nxf4vmjfzqly.b7ej0ee8y2ppvo7en .c8l4onyx5l1divf95{ background:var(--qyw-f5cr); color:var(--u9kr6q-om4); border-bottom-left-radius:4px; }
.i6hl-7nxf4vmjfzqly.pdzdciuuknvi5l .c8l4onyx5l1divf95{ background:var(--wk3-n1); color:#fff; border-bottom-right-radius:4px; }
.fen5udsunr9u5jpbaw{ font-size:11px; color:var(--zng-to); margin-top:4px; display:block; }

/* Typing Indicator */
.pvi4w0cs99bsmnl53{
  display:flex; gap:8px; padding:10px 14px; background:var(--qyw-f5cr);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.o-1fwbjs381r4cf{ width:8px; height:8px; border-radius:50%; background:var(--zng-to); animation:typingDot 1.4s infinite; }
.o-1fwbjs381r4cf:nth-child(2){ animation-delay:.2s; }
.o-1fwbjs381r4cf: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) */
.ovsrstvvmzomhk{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.lw-pdwxyg4z-x4b374{
  border:0; border-radius:999px; padding:8px 12px; background:var(--wk3-n1); 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(--uj87jq-e60);
}
.lw-pdwxyg4z-x4b374:is(:hover,:focus){ transform:translateY(-1px); }
a.lw-pdwxyg4z-x4b374{ text-decoration:none; display:inline-block; }
a.lw-pdwxyg4z-x4b374:link, a.lw-pdwxyg4z-x4b374:visited{ color:#fff; }
a.lw-pdwxyg4z-x4b374:hover, a.lw-pdwxyg4z-x4b374:focus{ color:#fff; }

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

/* Footer */
.wag4r4kum4ia1lf{
  padding:16px; background:var(--qyw-f5cr); border-top:1px solid var(--m3fo-ad9);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.yrhebh15hc9pdo7q{
  flex:1; padding:10px 14px; border:1px solid var(--m3fo-ad9); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--u9kr6q-om4);
  background:var(--u3nel6-y5v); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.yrhebh15hc9pdo7q:focus{ border-color:var(--wk3-n1); }
.yrhebh15hc9pdo7q::placeholder{ color:var(--zng-to); }
.yrhebh15hc9pdo7q.rhqwzloctc1lquxuc{ border-color:#c00; }
.g7esx6d7zth5yizrrj{
  width:40px; height:40px; min-width:40px; border:none; background:var(--wk3-n1); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.g7esx6d7zth5yizrrj:disabled{ opacity:.5; cursor:not-allowed; }
.g7esx6d7zth5yizrrj:not(:disabled):hover{ transform:scale(1.05); }
.g7esx6d7zth5yizrrj:not(:disabled):active{ transform:scale(0.95); }
.g7esx6d7zth5yizrrj:focus{ outline:2px solid var(--wk3-n1); outline-offset:2px; }
.g7esx6d7zth5yizrrj svg{ width:20px; height:20px; }

/* Character Counter */
.mz0ocz3fk6rfr2{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--zng-to); }
.mz0ocz3fk6rfr2.bry9zgipef3i4q{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.z36r3i8850xtsb8mda{
  align-self:flex-start;
  max-width:75%;
  background: var(--qyw-f5cr);
  color: var(--u9kr6q-om4);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--uj87jq-e60);
}
.l7kfisgd0qg8ieitr{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.ln0n-zr2fjcoxw.rpx8gdqbgj8d3ikg{
  background: transparent; color: var(--u9kr6q-om4); border-color: var(--m3fo-ad9);
}
.ln0n-zr2fjcoxw.rpx8gdqbgj8d3ikg:hover{
  background: var(--wk3-n1); color:#fff; border-color: var(--wk3-n1);
}

/* Mobile */
@media (max-width: 768px){
  .d6gcpkuevoanrlh{ bottom:16px; right:16px; }
  .d6gcpkuevoanrlh.bhplti3cq-qlj6vl7o{ left:16px; }
  .evo5gngqltuar0qq{ --u4l9-hi:60px; }
  .v8hyhw2gj1cgixb9yk{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--m93-c2vo) var(--m93-c2vo) 0 0; transform: translateY(100%);
  }
  .v8hyhw2gj1cgixb9yk.gfw77tosuz5i9h0cf9{ transform: translateY(0); }
  .dkr9w0o5xt6wszq6{ padding:20px; }
  .wag4r4kum4ia1lf{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.d6gcpkuevoanrlh :focus-visible{ outline:2px solid var(--wk3-n1); outline-offset:2px; }

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