.support-chat{position:fixed;right:18px;bottom:18px;z-index:2147483000;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.support-chat *{box-sizing:border-box}
.support-chat__toggle{width:64px;height:64px;border:3px solid #0ea5b7;border-radius:50%;background:#fff;padding:5px;box-shadow:0 12px 32px rgba(15,23,42,.28);cursor:pointer;display:grid;place-items:center}
.support-chat__toggle img{width:100%;height:100%;border-radius:50%;object-fit:contain}
.support-chat__status{position:absolute;right:1px;bottom:48px;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#22c55e}
.support-chat__panel{position:absolute;right:0;bottom:76px;width:min(370px,calc(100vw - 24px));height:min(540px,calc(100vh - 120px));display:none;grid-template-rows:auto 1fr auto;background:#fff;border:1px solid #dbe3ec;border-radius:14px;overflow:hidden;box-shadow:0 22px 55px rgba(15,23,42,.3)}
.support-chat.is-open .support-chat__panel{display:grid}
.support-chat__head{min-height:58px;padding:10px 12px;background:#075b63;color:#fff;display:flex;align-items:center;gap:10px}
.support-chat__brand{width:38px;height:38px;border-radius:50%;background:#fff;object-fit:contain;padding:3px}
.support-chat__title{min-width:0;flex:1}.support-chat__title strong,.support-chat__title small{display:block}.support-chat__title small{margin-top:2px;opacity:.85}
.support-chat__close{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.support-chat__messages{padding:14px;background:#f6f8fb;overflow:auto;overscroll-behavior:contain}
.support-chat__message{max-width:86%;margin:0 0 10px;padding:10px 12px;border-radius:12px;line-height:1.42;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.support-chat__message--bot{background:#fff;border:1px solid #dbe3ec;border-top-left-radius:4px}
.support-chat__message--user{margin-left:auto;background:#075b63;color:#fff;border-top-right-radius:4px}
.support-chat__message--error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
.support-chat__form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px;background:#fff;border-top:1px solid #e5e7eb}
.support-chat__input{min-width:0;height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:0 12px;font:inherit;outline:none}
.support-chat__input:focus{border-color:#0891b2;box-shadow:0 0 0 3px rgba(8,145,178,.14)}
.support-chat__send{height:44px;border:0;border-radius:9px;padding:0 16px;background:#0891b2;color:#fff;font-weight:800;cursor:pointer}
.support-chat__send:disabled{opacity:.6;cursor:wait}
@media(max-width:520px){.support-chat{right:12px;bottom:12px}.support-chat__panel{position:fixed;inset:12px;width:auto;height:auto}.support-chat__toggle{width:58px;height:58px}}
