/* CSS Variables */
:root {
  --ovet-gh8: #4f46e5;
  --q85-ow5r: #ffffff;
  --zlkz1h-y8d: #f9fafb;
  --lylu-r0: #0f172a;
  --j5wfel-rmac: #6b7280;
  --oarauz-j8h: #e5e7eb;
  --kyh-bcnp: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --gbm-smhy: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --r7r-qf: 16px;
  --jc0ze-uk: 56px;
  --yxn-bot: 12px;
  --k473-cw: 999999;
}

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

/* Main Container */
.ajhkGasp {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--k473-cw);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--lylu-r0);
}
.ajhkGasp.blOcx { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.hgjKzn { display: flex; flex-direction: column-reverse; gap: var(--yxn-bot); align-items: center; }
.i187Ctp3 {
  width: var(--jc0ze-uk); height: var(--jc0ze-uk); min-width: var(--jc0ze-uk); min-height: var(--jc0ze-uk);
  border-radius: 50%; border: none; background: var(--ovet-gh8); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--kyh-bcnp);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.i187Ctp3:hover { transform: scale(1.05); box-shadow: var(--gbm-smhy); }
.i187Ctp3:active { transform: scale(0.95); }
.i187Ctp3:focus { outline: 2px solid var(--ovet-gh8); outline-offset: 2px; }
.i187Ctp3 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .i187Ctp3.y3Hvh{ animation:none; }
  .i187Ctp3,.iu4Efc,.eff2U760{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.iu4Efc{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--q85-ow5r); border-radius: var(--r7r-qf); box-shadow: var(--gbm-smhy);
  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;
}
.ajhkGasp.blOcx .iu4Efc{ right:auto; left:24px; }
.iu4Efc.f32Mzf{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.e5yB0r3{
  padding:16px 20px; background:var(--q85-ow5r); border-bottom:1px solid var(--oarauz-j8h);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.lrAoi{ width:10px; height:10px; border-radius:50%; background:var(--ovet-gh8); flex-shrink:0; }
.h16hUt8m{ flex:1; min-width:0; }
.b0wfC21q{ font-size:16px; font-weight:600; color:var(--lylu-r0); margin:0 0 2px 0; }
.jd1Kww3{ font-size:13px; color:var(--j5wfel-rmac); margin:0; }
.hbmYb9n{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--j5wfel-rmac);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.hbmYb9n:hover{ background:var(--zlkz1h-y8d); color:var(--lylu-r0); }
.hbmYb9n:focus{ outline:2px solid var(--ovet-gh8); outline-offset:2px; }
.hbmYb9n svg{ width:20px; height:20px; }

/* Body */
.xe0Fom{
  flex:1; overflow-y:auto; padding:16px; background:var(--zlkz1h-y8d);
  display:flex; flex-direction:column; gap:12px;
}
.xe0Fom::-webkit-scrollbar{ width:6px; }
.xe0Fom::-webkit-scrollbar-track{ background:transparent; }
.xe0Fom::-webkit-scrollbar-thumb{ background:var(--oarauz-j8h); border-radius:3px; }
.xe0Fom::-webkit-scrollbar-thumb:hover{ background:var(--j5wfel-rmac); }

/* Messages */
.eff2U760{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.eff2U760.wauIg6{ flex-direction:row-reverse; }
.z0P5h{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.z0P5h a{ color:inherit; }
.eff2U760.b0fOit3 .z0P5h{ background:var(--q85-ow5r); color:var(--lylu-r0); border-bottom-left-radius:4px; }
.eff2U760.wauIg6 .z0P5h{ background:var(--ovet-gh8); color:#fff; border-bottom-right-radius:4px; }
.jzcPkn{ font-size:11px; color:var(--j5wfel-rmac); margin-top:4px; display:block; }

/* Typing Indicator */
.xlvNbyk{
  display:flex; gap:8px; padding:10px 14px; background:var(--q85-ow5r);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.lkzZ6n{ width:8px; height:8px; border-radius:50%; background:var(--j5wfel-rmac); animation:typingDot 1.4s infinite; }
.lkzZ6n:nth-child(2){ animation-delay:.2s; }
.lkzZ6n: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) */
.dmlMawg{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.tbaXxln{
  border:0; border-radius:999px; padding:8px 12px; background:var(--ovet-gh8); 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(--kyh-bcnp);
}
.tbaXxln:is(:hover,:focus){ transform:translateY(-1px); }
a.tbaXxln{ text-decoration:none; display:inline-block; }
a.tbaXxln:link, a.tbaXxln:visited{ color:#fff; }
a.tbaXxln:hover, a.tbaXxln:focus{ color:#fff; }

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

/* Footer */
.h9qGf34{
  padding:16px; background:var(--q85-ow5r); border-top:1px solid var(--oarauz-j8h);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.xndLbfe{
  flex:1; padding:10px 14px; border:1px solid var(--oarauz-j8h); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--lylu-r0);
  background:var(--zlkz1h-y8d); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.xndLbfe:focus{ border-color:var(--ovet-gh8); }
.xndLbfe::placeholder{ color:var(--j5wfel-rmac); }
.xndLbfe.kvGbj{ border-color:#c00; }
.kuz9Bcgi{
  width:40px; height:40px; min-width:40px; border:none; background:var(--ovet-gh8); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.kuz9Bcgi:disabled{ opacity:.5; cursor:not-allowed; }
.kuz9Bcgi:not(:disabled):hover{ transform:scale(1.05); }
.kuz9Bcgi:not(:disabled):active{ transform:scale(0.95); }
.kuz9Bcgi:focus{ outline:2px solid var(--ovet-gh8); outline-offset:2px; }
.kuz9Bcgi svg{ width:20px; height:20px; }

/* Character Counter */
.fijZqy{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--j5wfel-rmac); }
.fijZqy.o7Rlr{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.vjT68{
  align-self:flex-start;
  max-width:75%;
  background: var(--q85-ow5r);
  color: var(--lylu-r0);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--kyh-bcnp);
}
.gliR2j2{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.myE68.gleqLros{
  background: transparent; color: var(--lylu-r0); border-color: var(--oarauz-j8h);
}
.myE68.gleqLros:hover{
  background: var(--ovet-gh8); color:#fff; border-color: var(--ovet-gh8);
}

/* Mobile */
@media (max-width: 768px){
  .ajhkGasp{ bottom:16px; right:16px; }
  .ajhkGasp.blOcx{ left:16px; }
  .i187Ctp3{ --jc0ze-uk:60px; }
  .iu4Efc{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--r7r-qf) var(--r7r-qf) 0 0; transform: translateY(100%);
  }
  .iu4Efc.f32Mzf{ transform: translateY(0); }
  .e5yB0r3{ padding:20px; }
  .h9qGf34{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.ajhkGasp :focus-visible{ outline:2px solid var(--ovet-gh8); outline-offset:2px; }

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