/* CSS Variables */
:root {
  --xkck0-bh: #4f46e5;
  --mhw2-ktm: #ffffff;
  --zas1je-xpg: #f9fafb;
  --pmco-ev1z: #0f172a;
  --um5q76-mm: #6b7280;
  --gun8d-l41d: #e5e7eb;
  --snvh7-ksb: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --v7z-gvi: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --iziv-l75u: 16px;
  --ruys47-nf: 56px;
  --eiqlw-d3v: 12px;
  --wfv91-c4: 999999;
}

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

/* Main Container */
.tit-cnn7nxlb {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--wfv91-c4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--pmco-ev1z);
}
.tit-cnn7nxlb.tit-zlq8yh0e2x { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.tit-r7ox3anp { display: flex; flex-direction: column-reverse; gap: var(--eiqlw-d3v); align-items: center; }
.tit-l753lyg07o94 {
  width: var(--ruys47-nf); height: var(--ruys47-nf); min-width: var(--ruys47-nf); min-height: var(--ruys47-nf);
  border-radius: 50%; border: none; background: var(--xkck0-bh); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--snvh7-ksb);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.tit-l753lyg07o94:hover { transform: scale(1.05); box-shadow: var(--v7z-gvi); }
.tit-l753lyg07o94:active { transform: scale(0.95); }
.tit-l753lyg07o94:focus { outline: 2px solid var(--xkck0-bh); outline-offset: 2px; }
.tit-l753lyg07o94 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .tit-l753lyg07o94.tit-tr8tjlh5m9{ animation:none; }
  .tit-l753lyg07o94,.tit-rie3tt7eid64,.tit-ax7f4sgcnec{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.tit-rie3tt7eid64{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--mhw2-ktm); border-radius: var(--iziv-l75u); box-shadow: var(--v7z-gvi);
  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;
}
.tit-cnn7nxlb.tit-zlq8yh0e2x .tit-rie3tt7eid64{ right:auto; left:24px; }
.tit-rie3tt7eid64.tit-bld4hboiq{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.tit-iwdogynh{
  padding:16px 20px; background:var(--mhw2-ktm); border-bottom:1px solid var(--gun8d-l41d);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.tit-qn9qim5x5m3{ width:10px; height:10px; border-radius:50%; background:var(--xkck0-bh); flex-shrink:0; }
.tit-dx2lootdb{ flex:1; min-width:0; }
.tit-uwcqfzkjedut{ font-size:16px; font-weight:600; color:var(--pmco-ev1z); margin:0 0 2px 0; }
.tit-t8c8l07d{ font-size:13px; color:var(--um5q76-mm); margin:0; }
.tit-fomj66gfgagd{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--um5q76-mm);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.tit-fomj66gfgagd:hover{ background:var(--zas1je-xpg); color:var(--pmco-ev1z); }
.tit-fomj66gfgagd:focus{ outline:2px solid var(--xkck0-bh); outline-offset:2px; }
.tit-fomj66gfgagd svg{ width:20px; height:20px; }

/* Body */
.tit-foeuxdpzu62{
  flex:1; overflow-y:auto; padding:16px; background:var(--zas1je-xpg);
  display:flex; flex-direction:column; gap:12px;
}
.tit-foeuxdpzu62::-webkit-scrollbar{ width:6px; }
.tit-foeuxdpzu62::-webkit-scrollbar-track{ background:transparent; }
.tit-foeuxdpzu62::-webkit-scrollbar-thumb{ background:var(--gun8d-l41d); border-radius:3px; }
.tit-foeuxdpzu62::-webkit-scrollbar-thumb:hover{ background:var(--um5q76-mm); }

/* Messages */
.tit-ax7f4sgcnec{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.tit-ax7f4sgcnec.tit-ej1l7fdsg{ flex-direction:row-reverse; }
.tit-tdrjc4nrb{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.tit-tdrjc4nrb a{ color:inherit; }
.tit-ax7f4sgcnec.tit-gk0qz1ajmf .tit-tdrjc4nrb{ background:var(--mhw2-ktm); color:var(--pmco-ev1z); border-bottom-left-radius:4px; }
.tit-ax7f4sgcnec.tit-ej1l7fdsg .tit-tdrjc4nrb{ background:var(--xkck0-bh); color:#fff; border-bottom-right-radius:4px; }
.tit-i1nc8wcde5jw{ font-size:11px; color:var(--um5q76-mm); margin-top:4px; display:block; }

/* Typing Indicator */
.tit-ycigd5y07hdx{
  display:flex; gap:8px; padding:10px 14px; background:var(--mhw2-ktm);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.tit-zumhoeyk0{ width:8px; height:8px; border-radius:50%; background:var(--um5q76-mm); animation:typingDot 1.4s infinite; }
.tit-zumhoeyk0:nth-child(2){ animation-delay:.2s; }
.tit-zumhoeyk0: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) */
.tit-gvjfl6bgqssp{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.tit-laeogtzbn{
  border:0; border-radius:999px; padding:8px 12px; background:var(--xkck0-bh); 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(--snvh7-ksb);
}
.tit-laeogtzbn:is(:hover,:focus){ transform:translateY(-1px); }
a.tit-laeogtzbn{ text-decoration:none; display:inline-block; }
a.tit-laeogtzbn:link, a.tit-laeogtzbn:visited{ color:#fff; }
a.tit-laeogtzbn:hover, a.tit-laeogtzbn:focus{ color:#fff; }

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

/* Footer */
.tit-chki6nw9{
  padding:16px; background:var(--mhw2-ktm); border-top:1px solid var(--gun8d-l41d);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.tit-ryb2k2665e{
  flex:1; padding:10px 14px; border:1px solid var(--gun8d-l41d); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--pmco-ev1z);
  background:var(--zas1je-xpg); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.tit-ryb2k2665e:focus{ border-color:var(--xkck0-bh); }
.tit-ryb2k2665e::placeholder{ color:var(--um5q76-mm); }
.tit-ryb2k2665e.tit-s17xi0i372lt{ border-color:#c00; }
.tit-wcpyh4xeshd8{
  width:40px; height:40px; min-width:40px; border:none; background:var(--xkck0-bh); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.tit-wcpyh4xeshd8:disabled{ opacity:.5; cursor:not-allowed; }
.tit-wcpyh4xeshd8:not(:disabled):hover{ transform:scale(1.05); }
.tit-wcpyh4xeshd8:not(:disabled):active{ transform:scale(0.95); }
.tit-wcpyh4xeshd8:focus{ outline:2px solid var(--xkck0-bh); outline-offset:2px; }
.tit-wcpyh4xeshd8 svg{ width:20px; height:20px; }

/* Character Counter */
.tit-y6ygsox1q89{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--um5q76-mm); }
.tit-y6ygsox1q89.tit-pz7jvv51z{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.tit-fvo23wgnp{
  align-self:flex-start;
  max-width:75%;
  background: var(--mhw2-ktm);
  color: var(--pmco-ev1z);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--snvh7-ksb);
}
.tit-gyuxr6guix0{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.tit-o8v7zgefc3v9.tit-mtfay8lgus{
  background: transparent; color: var(--pmco-ev1z); border-color: var(--gun8d-l41d);
}
.tit-o8v7zgefc3v9.tit-mtfay8lgus:hover{
  background: var(--xkck0-bh); color:#fff; border-color: var(--xkck0-bh);
}

/* Mobile */
@media (max-width: 768px){
  .tit-cnn7nxlb{ bottom:16px; right:16px; }
  .tit-cnn7nxlb.tit-zlq8yh0e2x{ left:16px; }
  .tit-l753lyg07o94{ --ruys47-nf:60px; }
  .tit-rie3tt7eid64{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--iziv-l75u) var(--iziv-l75u) 0 0; transform: translateY(100%);
  }
  .tit-rie3tt7eid64.tit-bld4hboiq{ transform: translateY(0); }
  .tit-iwdogynh{ padding:20px; }
  .tit-chki6nw9{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.tit-cnn7nxlb :focus-visible{ outline:2px solid var(--xkck0-bh); outline-offset:2px; }

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