/* CSS Variables */
:root {
  --jh7e0-ch: #4f46e5;
  --pgrge-ip7: #ffffff;
  --z2f-kh: #f9fafb;
  --gilr2w-d2: #0f172a;
  --v0gj8a-sh: #6b7280;
  --ld91-j4us: #e5e7eb;
  --ufkze-q70: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --n1r95-bh: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --lvtem-xed: 16px;
  --j0t-rgu: 56px;
  --zazw0-c20h: 12px;
  --ns6b98-iaaj: 999999;
}

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

/* Main Container */
.abggfnjtxx {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--ns6b98-iaaj);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--gilr2w-d2);
}
.abggfnjtxx.vyncknfuq5 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.mf43dg { display: flex; flex-direction: column-reverse; gap: var(--zazw0-c20h); align-items: center; }
.holhma {
  width: var(--j0t-rgu); height: var(--j0t-rgu); min-width: var(--j0t-rgu); min-height: var(--j0t-rgu);
  border-radius: 50%; border: none; background: var(--jh7e0-ch); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--ufkze-q70);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.holhma:hover { transform: scale(1.05); box-shadow: var(--n1r95-bh); }
.holhma:active { transform: scale(0.95); }
.holhma:focus { outline: 2px solid var(--jh7e0-ch); outline-offset: 2px; }
.holhma svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .holhma.z19cyfn78o{ animation:none; }
  .holhma,.wvv3upv,.r9m6801q{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.wvv3upv{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--pgrge-ip7); border-radius: var(--lvtem-xed); box-shadow: var(--n1r95-bh);
  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;
}
.abggfnjtxx.vyncknfuq5 .wvv3upv{ right:auto; left:24px; }
.wvv3upv.i0o9icvy{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.fzbp5v9n{
  padding:16px 20px; background:var(--pgrge-ip7); border-bottom:1px solid var(--ld91-j4us);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.q58salg{ width:10px; height:10px; border-radius:50%; background:var(--jh7e0-ch); flex-shrink:0; }
.wnc94uhv8{ flex:1; min-width:0; }
.vkh1ic0x{ font-size:16px; font-weight:600; color:var(--gilr2w-d2); margin:0 0 2px 0; }
.hycw6hwr{ font-size:13px; color:var(--v0gj8a-sh); margin:0; }
.iqy0ze{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--v0gj8a-sh);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.iqy0ze:hover{ background:var(--z2f-kh); color:var(--gilr2w-d2); }
.iqy0ze:focus{ outline:2px solid var(--jh7e0-ch); outline-offset:2px; }
.iqy0ze svg{ width:20px; height:20px; }

/* Body */
.o3bf9bvy{
  flex:1; overflow-y:auto; padding:16px; background:var(--z2f-kh);
  display:flex; flex-direction:column; gap:12px;
}
.o3bf9bvy::-webkit-scrollbar{ width:6px; }
.o3bf9bvy::-webkit-scrollbar-track{ background:transparent; }
.o3bf9bvy::-webkit-scrollbar-thumb{ background:var(--ld91-j4us); border-radius:3px; }
.o3bf9bvy::-webkit-scrollbar-thumb:hover{ background:var(--v0gj8a-sh); }

/* Messages */
.r9m6801q{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.r9m6801q.htfe98qu7{ flex-direction:row-reverse; }
.mvlfpog{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.mvlfpog a{ color:inherit; }
.r9m6801q.czrbfapgam .mvlfpog{ background:var(--pgrge-ip7); color:var(--gilr2w-d2); border-bottom-left-radius:4px; }
.r9m6801q.htfe98qu7 .mvlfpog{ background:var(--jh7e0-ch); color:#fff; border-bottom-right-radius:4px; }
.gvt25d{ font-size:11px; color:var(--v0gj8a-sh); margin-top:4px; display:block; }

/* Typing Indicator */
.hfj2f9{
  display:flex; gap:8px; padding:10px 14px; background:var(--pgrge-ip7);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.sdjo9tv2{ width:8px; height:8px; border-radius:50%; background:var(--v0gj8a-sh); animation:typingDot 1.4s infinite; }
.sdjo9tv2:nth-child(2){ animation-delay:.2s; }
.sdjo9tv2: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) */
.txiovuu8{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.s94khn0p2n{
  border:0; border-radius:999px; padding:8px 12px; background:var(--jh7e0-ch); 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(--ufkze-q70);
}
.s94khn0p2n:is(:hover,:focus){ transform:translateY(-1px); }
a.s94khn0p2n{ text-decoration:none; display:inline-block; }
a.s94khn0p2n:link, a.s94khn0p2n:visited{ color:#fff; }
a.s94khn0p2n:hover, a.s94khn0p2n:focus{ color:#fff; }

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

/* Footer */
.n3742itz7{
  padding:16px; background:var(--pgrge-ip7); border-top:1px solid var(--ld91-j4us);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.kbq4b5jc{
  flex:1; padding:10px 14px; border:1px solid var(--ld91-j4us); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--gilr2w-d2);
  background:var(--z2f-kh); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.kbq4b5jc:focus{ border-color:var(--jh7e0-ch); }
.kbq4b5jc::placeholder{ color:var(--v0gj8a-sh); }
.kbq4b5jc.f9esw2bh{ border-color:#c00; }
.sug94qry2b{
  width:40px; height:40px; min-width:40px; border:none; background:var(--jh7e0-ch); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.sug94qry2b:disabled{ opacity:.5; cursor:not-allowed; }
.sug94qry2b:not(:disabled):hover{ transform:scale(1.05); }
.sug94qry2b:not(:disabled):active{ transform:scale(0.95); }
.sug94qry2b:focus{ outline:2px solid var(--jh7e0-ch); outline-offset:2px; }
.sug94qry2b svg{ width:20px; height:20px; }

/* Character Counter */
.uhtj46ih{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--v0gj8a-sh); }
.uhtj46ih.ut0gn5wi{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.ht0l4er3{
  align-self:flex-start;
  max-width:75%;
  background: var(--pgrge-ip7);
  color: var(--gilr2w-d2);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--ufkze-q70);
}
.d5_8a22w0{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.ghn8jzr.h5qa7u2v{
  background: transparent; color: var(--gilr2w-d2); border-color: var(--ld91-j4us);
}
.ghn8jzr.h5qa7u2v:hover{
  background: var(--jh7e0-ch); color:#fff; border-color: var(--jh7e0-ch);
}

/* Mobile */
@media (max-width: 768px){
  .abggfnjtxx{ bottom:16px; right:16px; }
  .abggfnjtxx.vyncknfuq5{ left:16px; }
  .holhma{ --j0t-rgu:60px; }
  .wvv3upv{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--lvtem-xed) var(--lvtem-xed) 0 0; transform: translateY(100%);
  }
  .wvv3upv.i0o9icvy{ transform: translateY(0); }
  .fzbp5v9n{ padding:20px; }
  .n3742itz7{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.abggfnjtxx :focus-visible{ outline:2px solid var(--jh7e0-ch); outline-offset:2px; }

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