/* TrustLive side chat: right panel on desktop, floating button + bottom sheet on mobile. */
.tl-chat{--c-bg:#fff;--c-tx:#0f172a;--c-mut:#64748b;--c-line:#e2e8f0;--c-acc:#059669;font:15px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--c-tx)}
.tl-chat-fab{position:fixed;right:16px;bottom:16px;z-index:95;display:inline-flex;align-items:center;gap:8px;background:linear-gradient(180deg,#14c48c,#059669);color:#fff;border:0;border-radius:999px;padding:13px 18px;font:700 15px/1 inherit;font-family:inherit;box-shadow:0 10px 28px rgba(5,150,105,.4);cursor:pointer}
.tl-chat-fab svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round}
.tl-chat.in-app .tl-chat-fab{bottom:84px}
.tl-chat.open .tl-chat-fab{display:none}
.tl-chat-panel{position:fixed;z-index:96;left:0;right:0;bottom:0;max-height:82vh;display:flex;flex-direction:column;background:var(--c-bg);border-radius:20px 20px 0 0;box-shadow:0 -18px 50px rgba(15,23,42,.3)}
.tl-chat-panel[hidden]{display:none}
.tl-chat-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px;border-bottom:1px solid var(--c-line)}
.tl-chat-head h2{margin:0;font-size:19px;letter-spacing:-.01em;color:var(--c-tx)}
.tl-chat-close{width:36px;height:36px;border:0;border-radius:10px;background:#f1f5f9;color:var(--c-tx);font-size:24px;line-height:1;cursor:pointer}
.tl-chat-log{flex:1 1 auto;overflow:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px;min-height:120px}
.tl-msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:14.5px}
.tl-msg p{margin:0}
.tl-msg.bot{background:#f1f5f9;align-self:flex-start;border-bottom-left-radius:4px}
.tl-msg.me{background:var(--c-acc);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.tl-msg-act{display:inline-block;margin-top:8px;padding:8px 12px;border-radius:10px;background:var(--c-acc);color:#fff!important;font-weight:700;font-size:14px;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.tl-chat-chips{display:flex;flex-wrap:wrap;gap:8px;padding:8px 16px}
.tl-chip{border:1.5px solid var(--c-acc);background:#ecfdf5;color:#065f46;border-radius:999px;padding:8px 13px;font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
.tl-msg-sugs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tl-msg.bot .tl-chip{background:#fff;text-align:left;line-height:1.25;padding:8px 12px}
.tl-chat-form{display:flex;gap:8px;padding:10px 16px 16px;border-top:1px solid var(--c-line)}
.tl-chat-form input{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;font:inherit;color:var(--c-tx);background:#fff}
.tl-chat-send{border:0;border-radius:12px;background:var(--c-tx);color:#fff;font-weight:700;padding:0 16px;font-family:inherit;cursor:pointer}
@media (min-width:1100px){
  .tl-chat-panel{left:auto;top:0;width:340px;max-height:none;border-radius:0;border-left:1px solid var(--c-line);box-shadow:-10px 0 30px rgba(15,23,42,.08)}
  html.tl-chat-docked body{padding-right:340px}
}
/* old placeholder widget is replaced by this chat */
.tl-support{display:none!important}
/* Small round button so it never covers page buttons: in the app on phones, and on any page once you scroll. */
@media (max-width:1099px){
  .tl-chat.in-app .tl-chat-fab,.tl-chat.compact .tl-chat-fab{width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
  .tl-chat.in-app .tl-chat-fab span,.tl-chat.compact .tl-chat-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tl-chat.in-app .tl-chat-fab svg,.tl-chat.compact .tl-chat-fab svg{width:24px;height:24px}
}
.tl-chat-form input::placeholder{color:#4b5563!important;opacity:1}

.tl-msg p + p,.tl-msg p + ul,.tl-msg ul + p{margin-top:8px}
.tl-msg-list{margin:8px 0 0;padding:0 0 0 1.15em}
.tl-msg-list li{margin:0 0 5px;color:#0f172a}
.tl-msg.bot .tl-msg-list{color:#0f172a}
