/* CSS Variables */
:root {
  --oi9ztt-w6ar: #4f46e5;
  --nvrp0i-qa: #ffffff;
  --g50-ywg8: #f9fafb;
  --brn-bqpk: #0f172a;
  --kaenuz-ldi: #6b7280;
  --lp1-zw: #e5e7eb;
  --illk4-uh: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --o1t38-tcx4: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --mtt1-u1ad: 16px;
  --dl9yn-xz6: 56px;
  --byj-li2: 12px;
  --o68-gw: 999999;
}

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

/* Main Container */
.enrht1pma1 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--o68-gw);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--brn-bqpk);
}
.enrht1pma1.f9deiz { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.jil3higu { display: flex; flex-direction: column-reverse; gap: var(--byj-li2); align-items: center; }
.g691rcz {
  width: var(--dl9yn-xz6); height: var(--dl9yn-xz6); min-width: var(--dl9yn-xz6); min-height: var(--dl9yn-xz6);
  border-radius: 50%; border: none; background: var(--oi9ztt-w6ar); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--illk4-uh);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.g691rcz:hover { transform: scale(1.05); box-shadow: var(--o1t38-tcx4); }
.g691rcz:active { transform: scale(0.95); }
.g691rcz:focus { outline: 2px solid var(--oi9ztt-w6ar); outline-offset: 2px; }
.g691rcz svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .g691rcz.vhbypzj{ animation:none; }
  .g691rcz,.lb_pqn,.cuamxz{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.lb_pqn{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--nvrp0i-qa); border-radius: var(--mtt1-u1ad); box-shadow: var(--o1t38-tcx4);
  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;
}
.enrht1pma1.f9deiz .lb_pqn{ right:auto; left:24px; }
.lb_pqn.gntfmj{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.owoo69{
  padding:16px 20px; background:var(--nvrp0i-qa); border-bottom:1px solid var(--lp1-zw);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.dp69ti{ width:10px; height:10px; border-radius:50%; background:var(--oi9ztt-w6ar); flex-shrink:0; }
.blfe8ue7{ flex:1; min-width:0; }
.q3df41{ font-size:16px; font-weight:600; color:var(--brn-bqpk); margin:0 0 2px 0; }
.a20s2czo{ font-size:13px; color:var(--kaenuz-ldi); margin:0; }
.r1wbla21{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--kaenuz-ldi);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.r1wbla21:hover{ background:var(--g50-ywg8); color:var(--brn-bqpk); }
.r1wbla21:focus{ outline:2px solid var(--oi9ztt-w6ar); outline-offset:2px; }
.r1wbla21 svg{ width:20px; height:20px; }

/* Body */
.nnrjv0k{
  flex:1; overflow-y:auto; padding:16px; background:var(--g50-ywg8);
  display:flex; flex-direction:column; gap:12px;
}
.nnrjv0k::-webkit-scrollbar{ width:6px; }
.nnrjv0k::-webkit-scrollbar-track{ background:transparent; }
.nnrjv0k::-webkit-scrollbar-thumb{ background:var(--lp1-zw); border-radius:3px; }
.nnrjv0k::-webkit-scrollbar-thumb:hover{ background:var(--kaenuz-ldi); }

/* Messages */
.cuamxz{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.cuamxz.ex0lp89qd{ flex-direction:row-reverse; }
.h4q59q{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.h4q59q a{ color:inherit; }
.cuamxz.odimb8 .h4q59q{ background:var(--nvrp0i-qa); color:var(--brn-bqpk); border-bottom-left-radius:4px; }
.cuamxz.ex0lp89qd .h4q59q{ background:var(--oi9ztt-w6ar); color:#fff; border-bottom-right-radius:4px; }
.efhudjk{ font-size:11px; color:var(--kaenuz-ldi); margin-top:4px; display:block; }

/* Typing Indicator */
.mcelxfnuh3{
  display:flex; gap:8px; padding:10px 14px; background:var(--nvrp0i-qa);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.b5zirc_z{ width:8px; height:8px; border-radius:50%; background:var(--kaenuz-ldi); animation:typingDot 1.4s infinite; }
.b5zirc_z:nth-child(2){ animation-delay:.2s; }
.b5zirc_z: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) */
.lhtwhvp8d{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.dkhy__34pg{
  border:0; border-radius:999px; padding:8px 12px; background:var(--oi9ztt-w6ar); 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(--illk4-uh);
}
.dkhy__34pg:is(:hover,:focus){ transform:translateY(-1px); }
a.dkhy__34pg{ text-decoration:none; display:inline-block; }
a.dkhy__34pg:link, a.dkhy__34pg:visited{ color:#fff; }
a.dkhy__34pg:hover, a.dkhy__34pg:focus{ color:#fff; }

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

/* Footer */
.ekrmxqcz8{
  padding:16px; background:var(--nvrp0i-qa); border-top:1px solid var(--lp1-zw);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.gvim29wux{
  flex:1; padding:10px 14px; border:1px solid var(--lp1-zw); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--brn-bqpk);
  background:var(--g50-ywg8); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.gvim29wux:focus{ border-color:var(--oi9ztt-w6ar); }
.gvim29wux::placeholder{ color:var(--kaenuz-ldi); }
.gvim29wux.kyjv3mz{ border-color:#c00; }
.pmty8dzirv{
  width:40px; height:40px; min-width:40px; border:none; background:var(--oi9ztt-w6ar); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.pmty8dzirv:disabled{ opacity:.5; cursor:not-allowed; }
.pmty8dzirv:not(:disabled):hover{ transform:scale(1.05); }
.pmty8dzirv:not(:disabled):active{ transform:scale(0.95); }
.pmty8dzirv:focus{ outline:2px solid var(--oi9ztt-w6ar); outline-offset:2px; }
.pmty8dzirv svg{ width:20px; height:20px; }

/* Character Counter */
.pos72i{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--kaenuz-ldi); }
.pos72i.klsmahm31d{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.q8xc44ev9{
  align-self:flex-start;
  max-width:75%;
  background: var(--nvrp0i-qa);
  color: var(--brn-bqpk);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--illk4-uh);
}
.utqsaew{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.pri29v0z.xp_f_wr3{
  background: transparent; color: var(--brn-bqpk); border-color: var(--lp1-zw);
}
.pri29v0z.xp_f_wr3:hover{
  background: var(--oi9ztt-w6ar); color:#fff; border-color: var(--oi9ztt-w6ar);
}

/* Mobile */
@media (max-width: 768px){
  .enrht1pma1{ bottom:16px; right:16px; }
  .enrht1pma1.f9deiz{ left:16px; }
  .g691rcz{ --dl9yn-xz6:60px; }
  .lb_pqn{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--mtt1-u1ad) var(--mtt1-u1ad) 0 0; transform: translateY(100%);
  }
  .lb_pqn.gntfmj{ transform: translateY(0); }
  .owoo69{ padding:20px; }
  .ekrmxqcz8{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.enrht1pma1 :focus-visible{ outline:2px solid var(--oi9ztt-w6ar); outline-offset:2px; }

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