.amplla-chat { --amplla-chat-color:#6d3bbd; --amplla-chat-bottom:90px; position:fixed; bottom:var(--amplla-chat-bottom); z-index:999999; font-family:Montserrat,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.45; color:#23212a; }
.amplla-chat--right { right:22px; }
.amplla-chat--left { left:22px; }
.amplla-chat *, .amplla-chat *::before, .amplla-chat *::after { box-sizing:border-box; }
.amplla-chat__launcher-wrap { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.amplla-chat--left .amplla-chat__launcher-wrap { flex-direction:row-reverse; }
.amplla-chat__label { padding:9px 13px; border-radius:10px; background:#fff; color:#292632; font-size:13px; font-weight:600; box-shadow:0 5px 25px rgba(34,24,53,.16); transition:.2s ease; }
.amplla-chat.is-open .amplla-chat__label { opacity:0; transform:translateY(5px); pointer-events:none; }
.amplla-chat .amplla-chat__launcher { width:58px!important; min-width:58px!important; max-width:58px!important; height:58px!important; min-height:58px!important; max-height:58px!important; margin:0!important; padding:0!important; border:0!important; border-radius:50%!important; display:grid!important; place-items:center!important; overflow:hidden!important; cursor:pointer!important; color:#fff!important; background:var(--amplla-chat-color)!important; box-shadow:0 8px 28px rgba(72,41,112,.35)!important; transition:transform .2s ease,box-shadow .2s ease!important; appearance:none!important; }
.amplla-chat__launcher:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(72,41,112,.45); box-shadow:0 10px 32px color-mix(in srgb,var(--amplla-chat-color) 48%,transparent); }
.amplla-chat__launcher:focus-visible,.amplla-chat button:focus-visible,.amplla-chat input:focus-visible,.amplla-chat a:focus-visible { outline:3px solid #cdbbe6; outline:3px solid color-mix(in srgb,var(--amplla-chat-color) 36%,white); outline-offset:2px; }
.amplla-chat__launcher svg { width:25px; height:25px; fill:currentColor; }
.amplla-chat__launcher .amplla-icon-avatar { width:100%; height:100%; display:block; object-fit:cover; border-radius:50%; }
.amplla-chat__launcher .amplla-icon-close { display:none; fill:none; stroke:currentColor; stroke-width:2; }
.amplla-chat.is-open .amplla-icon-chat { display:none; }
.amplla-chat.is-open .amplla-icon-avatar { display:none; }
.amplla-chat.is-open .amplla-icon-close { display:block; }
.amplla-chat__window { width:min(380px,calc(100vw - 28px)); height:min(620px,calc(100vh - 110px)); margin-bottom:14px; background:#fff; border:1px solid rgba(36,27,49,.08); border-radius:18px; overflow:hidden; box-shadow:0 18px 60px rgba(31,21,48,.24); animation:amplla-chat-in .22s ease-out; }
.amplla-chat__window[hidden] { display:none; }
@keyframes amplla-chat-in { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:none; } }
.amplla-chat__header { height:72px; padding:13px 16px; display:flex; align-items:center; gap:11px; color:#fff; background:var(--amplla-chat-color); background:linear-gradient(135deg,var(--amplla-chat-color),color-mix(in srgb,var(--amplla-chat-color) 72%,#242038)); }
.amplla-chat__avatar { width:42px; height:42px; border-radius:13px; display:grid; place-items:center; overflow:hidden; background:rgba(255,255,255,.17); border:1px solid rgba(255,255,255,.28); font-size:20px; font-weight:800; }
.amplla-chat__avatar img { width:100%; height:100%; display:block; object-fit:cover; }
.amplla-chat__header strong { display:block; font-size:15px; line-height:1.3; }
.amplla-chat__header small { display:flex; align-items:center; gap:6px; margin-top:3px; color:rgba(255,255,255,.82); font-size:11px; }
.amplla-chat__header small span { width:7px; height:7px; border-radius:50%; background:#78e09a; }
#amplla-chat .amplla-chat__close { width:34px!important; min-width:34px!important; max-width:34px!important; height:34px!important; min-height:34px!important; max-height:34px!important; margin:0 0 0 auto!important; padding:0!important; border:0!important; border-radius:9px!important; display:grid!important; place-items:center!important; color:#fff!important; background:transparent!important; box-shadow:none!important; font:300 27px/1 Arial,sans-serif!important; cursor:pointer!important; appearance:none!important; }
.amplla-chat__close:hover { background:rgba(255,255,255,.12); }
.amplla-chat__messages { height:calc(100% - 256px); min-height:210px; padding:18px 14px 8px; overflow:auto; background:#f7f6f9; scroll-behavior:smooth; }
.amplla-chat__message { display:flex; margin-bottom:11px; }
.amplla-chat__message--user { justify-content:flex-end; }
.amplla-chat__bubble { max-width:88%; padding:11px 13px; border-radius:6px 15px 15px 15px; background:#fff; box-shadow:0 2px 9px rgba(35,27,47,.07); font-size:13px; overflow-wrap:anywhere; }
.amplla-chat__message--user .amplla-chat__bubble { border-radius:15px 6px 15px 15px; color:#fff; background:var(--amplla-chat-color); box-shadow:none; }
.amplla-chat__answer-link { display:block; margin-top:9px; padding-top:8px; border-top:1px solid #ece8f1; color:var(--amplla-chat-color); font-weight:700; text-decoration:none; }
.amplla-chat__suggestions { height:104px; padding:6px 14px 10px; display:flex; gap:7px; flex-wrap:wrap; align-content:flex-start; overflow-y:auto; background:#f7f6f9; }
.amplla-chat__suggestion { min-height:32px; padding:7px 10px; border:1px solid #cdbbe6; border-color:color-mix(in srgb,var(--amplla-chat-color) 28%,#ddd); border-radius:12px; color:var(--amplla-chat-color); background:#fff; font:600 11px/1.25 inherit; text-align:left; cursor:pointer; transition:.15s ease; }
.amplla-chat__suggestion:hover { color:#fff; background:var(--amplla-chat-color); border-color:var(--amplla-chat-color); }
.amplla-chat__suggestion--outline { border-style:dashed; }
.amplla-chat__form { height:48px; padding:6px 8px 6px 14px; display:flex; align-items:center; gap:7px; border-top:1px solid #ebe7ef; background:#fff; }
.amplla-chat__form input { width:100%!important; min-width:0!important; height:36px!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; outline:0!important; box-shadow:none!important; color:#2e2935!important; background:transparent!important; font:13px/1.4 inherit!important; appearance:none!important; }
#amplla-chat .amplla-chat__form .amplla-chat__send { width:36px!important; min-width:36px!important; max-width:36px!important; height:36px!important; min-height:36px!important; max-height:36px!important; flex:0 0 36px!important; margin:0!important; padding:0!important; border:0!important; border-radius:10px!important; display:flex!important; align-items:center!important; justify-content:center!important; color:#fff!important; background:var(--amplla-chat-color)!important; box-shadow:none!important; line-height:1!important; text-indent:0!important; cursor:pointer!important; appearance:none!important; transform:none; }
.amplla-chat__send span { display:block; margin:0 0 0 2px; color:inherit; font:700 18px/1 Arial,sans-serif; transform:rotate(-7deg); }
.amplla-chat__footer { min-height:32px; padding:5px 12px 6px; display:flex; align-items:center; justify-content:center; color:#7d7586; background:#fff; font-size:9px; line-height:1.25; text-align:center; }
@media (max-width:520px) { .amplla-chat { right:14px; left:14px; } .amplla-chat__window { width:100%; height:calc(100vh - var(--amplla-chat-bottom) - 76px); min-height:430px; } .amplla-chat--left .amplla-chat__launcher-wrap { flex-direction:row; } .amplla-chat__launcher-wrap { justify-content:flex-end; } .amplla-chat__label { display:none; } }
@media (prefers-reduced-motion:reduce) { .amplla-chat * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
