#tlc-root{--tlc-primary:#111827;--tlc-accent:#4f46e5;--tlc-bg:#fff;--tlc-visitor:#111827;--tlc-agent:#f3f4f6;--tlc-launcher:60px;--tlc-width:390px;--tlc-radius:24px;position:fixed;bottom:22px;z-index:2147483000;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}#tlc-root.tlc-pos-right{right:22px}#tlc-root.tlc-pos-left{left:22px}#tlc-root *{box-sizing:border-box}#tlc-root svg{display:block}.tlc-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.18);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .24s ease}.tlc-backdrop.open{opacity:1;pointer-events:auto}.tlc-launch{position:relative;width:var(--tlc-launcher);height:var(--tlc-launcher);border:0;border-radius:22px;background:linear-gradient(145deg,#4957ea 0%,#2d2f8d 100%);color:#fff;box-shadow:0 18px 45px rgba(15,23,42,.28),inset 0 1px 0 rgba(255,255,255,.22);cursor:pointer;display:grid;place-items:center;transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s cubic-bezier(.16,1,.3,1),border-radius .28s ease}.tlc-launch:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 24px 55px rgba(15,23,42,.32)}.tlc-launch:active{transform:scale(.96)}.tlc-launch.is-open{transform:scale(.98);border-radius:20px}.tlc-launch.tlc-ring{animation:tlc-launch-pulse .7s cubic-bezier(.22,1,.36,1)}.tlc-launch-badge{position:absolute;right:9px;top:9px;width:10px;height:10px;border-radius:50%;background:#34d399;border:2px solid rgba(255,255,255,.9);box-shadow:0 0 0 6px rgba(52,211,153,.16)}.tlc-launch-icon{width:32px;height:32px;display:grid;place-items:center;transition:transform .32s cubic-bezier(.16,1,.3,1),opacity .2s ease}.tlc-launch-icon svg{width:100%;height:100%}.tlc-launch-icon img{width:100%;height:100%;object-fit:contain;border-radius:9px}.tlc-launch.is-open .tlc-launch-icon{transform:scale(.96) translateY(1px)}.tlc-unread{position:absolute;right:-5px;top:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#ef4444;color:#fff;border:3px solid #fff;font:700 10px/16px inherit;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(239,68,68,.35)}.tlc-unread.pulse{animation:tlc-badge-pulse .55s ease}.tlc-panel{position:absolute;bottom:calc(var(--tlc-launcher) + 14px);width:min(var(--tlc-width),calc(100vw - 28px));height:min(680px,calc(100vh - 120px));background:var(--tlc-bg);border:1px solid rgba(15,23,42,.08);border-radius:var(--tlc-radius);box-shadow:0 28px 90px rgba(15,23,42,.24),0 4px 18px rgba(15,23,42,.08);overflow:hidden;opacity:0;transform:translateY(28px) scale(.92);filter:blur(10px);pointer-events:none;transition:opacity calc(var(--tlc-motion,340ms)*.72) ease,transform var(--tlc-motion,340ms) cubic-bezier(.16,1,.3,1),filter var(--tlc-motion,340ms) cubic-bezier(.16,1,.3,1)}#tlc-root.tlc-pos-right .tlc-panel{right:0;transform-origin:bottom right}#tlc-root.tlc-pos-left .tlc-panel{left:0;transform-origin:bottom left}.tlc-panel.open{opacity:1;transform:translateY(0) scale(1);filter:blur(0);pointer-events:auto}.tlc-panel.is-closing{opacity:0;transform:translateY(18px) scale(.96);filter:blur(4px);pointer-events:none}.tlc-header{height:88px;padding:0 18px;display:flex;align-items:center;gap:12px;background:radial-gradient(circle at top right,rgba(255,255,255,.16),transparent 26%),linear-gradient(135deg,var(--tlc-primary),var(--tlc-accent));color:#fff;position:relative;overflow:hidden}.tlc-header:before{content:"";position:absolute;right:-65px;top:-85px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.08)}.tlc-header:after{content:"";position:absolute;left:-50px;bottom:-85px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.05)}.tlc-brandmark{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);z-index:1}.tlc-brandmark svg{width:24px;height:24px;color:#fff}.tlc-brandmark img{width:100%;height:100%;object-fit:cover;border-radius:13px}.tlc-head-copy{display:flex;flex-direction:column;gap:5px;min-width:0;z-index:1}.tlc-head-copy strong{font-size:15px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tlc-live-status{display:flex;align-items:center;gap:6px;font-size:11px;color:rgba(255,255,255,.8)}.tlc-live-status i{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.15)}.tlc-live-status i.is-offline{background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.18)}.tlc-live-status b{font-weight:500}.tlc-close{margin-left:auto;z-index:1;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.12);cursor:pointer;position:relative;transition:transform .2s ease,background .2s ease}.tlc-close span{position:absolute;left:50%;top:50%;width:16px;height:1.6px;background:#fff;border-radius:99px}.tlc-close span:first-child{transform:translate(-50%,-50%) rotate(45deg)}.tlc-close span:last-child{transform:translate(-50%,-50%) rotate(-45deg)}.tlc-close:hover{background:rgba(255,255,255,.22);transform:rotate(6deg)}.tlc-body{height:calc(100% - 88px);display:flex;flex-direction:column;min-height:0;background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)}.tlc-conversation{flex:1;overflow:auto;padding:18px 16px 14px;scrollbar-width:thin;scrollbar-color:rgba(100,116,139,.35) transparent}.tlc-conversation::-webkit-scrollbar{width:6px}.tlc-conversation::-webkit-scrollbar-thumb{background:rgba(100,116,139,.32);border-radius:99px}.tlc-day{text-align:center;color:#94a3b8;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin:0 0 16px}.tlc-intro-row,.tlc-msg-row.tlc-agent{display:flex;align-items:flex-end;gap:8px;margin:0 0 12px}.tlc-agent-avatar,.tlc-msg-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--tlc-accent),var(--tlc-primary));color:#fff;font-size:11px;font-weight:800;box-shadow:0 6px 18px rgba(79,70,229,.18)}.tlc-intro-bubble,.tlc-agent .tlc-msg-bubble{max-width:82%;padding:11px 13px;border-radius:18px 18px 18px 6px;background:var(--tlc-agent);color:#172033;font-size:13px;line-height:1.55;box-shadow:0 1px 0 rgba(15,23,42,.03)}.tlc-start{margin:18px 0 4px}.tlc-start-card{border:1px solid #e9edf3;border-radius:18px;padding:16px;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:0 10px 28px rgba(15,23,42,.05);display:grid;gap:10px}.tlc-start-card>strong{font-size:14px;color:#111827}.tlc-start-card>span{font-size:12px;color:#64748b;margin-top:-4px}.tlc-start-card label{display:grid;gap:6px;color:#475569;font-size:11px;font-weight:700}.tlc-start-card input{height:42px;border:1px solid #dce2ea;border-radius:12px;padding:0 12px;background:#fff;color:#111827;font:500 13px inherit;outline:0;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.tlc-start-card input:focus{border-color:var(--tlc-accent);box-shadow:0 0 0 3px rgba(79,70,229,.12)}.tlc-start-card input.error{border-color:#ef4444;animation:tlc-shake .32s}.tlc-begin{height:44px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--tlc-primary),var(--tlc-accent));color:#fff;font:700 13px inherit;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;box-shadow:0 10px 24px rgba(79,70,229,.18)}.tlc-begin:hover{transform:translateY(-1px);filter:brightness(1.04)}.tlc-begin.is-loading{opacity:.7;pointer-events:none}.tlc-messages{display:flex;flex-direction:column;gap:12px}.tlc-msg-row{opacity:0;transform:translateY(12px) scale(.98);transition:opacity .24s ease,transform .28s cubic-bezier(.16,1,.3,1)}.tlc-msg-row.is-visible{opacity:1;transform:none}.tlc-msg-row.tlc-visitor{display:flex;justify-content:flex-end}.tlc-msg-wrap{max-width:82%;display:flex;flex-direction:column}.tlc-msg-wrap small{font-size:9px;color:#94a3b8;margin:0 5px 4px}.tlc-visitor .tlc-msg-wrap{align-items:flex-end}.tlc-msg-bubble{padding:11px 13px;font-size:13px;line-height:1.55;word-break:break-word}.tlc-visitor .tlc-msg-bubble{background:var(--tlc-visitor);color:#fff;border-radius:18px 18px 6px 18px;box-shadow:0 7px 20px rgba(17,24,39,.12)}.tlc-msg-row.is-pending{opacity:.68}.tlc-msg-row.is-error .tlc-msg-bubble{outline:1px solid #ef4444}.tlc-chat{padding:10px 12px 11px;background:var(--tlc-bg);border-top:1px solid #eef1f5}.tlc-form{display:flex;align-items:flex-end;gap:8px;border:1px solid #dfe4eb;border-radius:18px;padding:6px 7px;background:#fff;box-shadow:0 5px 20px rgba(15,23,42,.05);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.tlc-form:focus-within{border-color:rgba(79,70,229,.6);box-shadow:0 0 0 3px rgba(79,70,229,.1)}.tlc-plus,.tlc-send{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer}.tlc-plus{background:#f1f5f9;color:#334155;font:600 24px/1 inherit}.tlc-send{background:linear-gradient(135deg,var(--tlc-primary),var(--tlc-accent));color:#fff;box-shadow:0 7px 18px rgba(79,70,229,.2);transition:transform .2s ease,opacity .2s ease}.tlc-send svg{width:18px;height:18px}.tlc-send:hover{transform:translateY(-1px)}.tlc-send.is-sending{opacity:.6;transform:scale(.94)}.tlc-input{flex:1;border:0!important;outline:0!important;box-shadow:none!important;resize:none;min-height:38px;max-height:112px;padding:8px 4px;background:transparent!important;color:#111827;font:500 13px/1.45 inherit}.tlc-input::placeholder{color:#94a3b8}.tlc-brand-footer{height:28px;display:flex;align-items:center;justify-content:center;border-top:1px solid #f3f4f6;color:#94a3b8;font-size:9px;background:#fff}.tlc-toast{position:absolute;left:14px;right:14px;bottom:calc(var(--tlc-launcher) + 25px);background:#111827;color:#fff;padding:10px 12px;border-radius:12px;font-size:11px;box-shadow:0 16px 40px rgba(15,23,42,.24);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .22s ease,transform .22s ease;z-index:5}.tlc-toast.show{opacity:1;transform:none}.tlc-hidden{display:none!important}@keyframes tlc-shake{25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-2px)}}@keyframes tlc-launch-pulse{0%{box-shadow:0 18px 45px rgba(15,23,42,.28),0 0 0 0 rgba(73,87,234,.28)}70%{box-shadow:0 18px 45px rgba(15,23,42,.28),0 0 0 14px rgba(73,87,234,0)}100%{box-shadow:0 18px 45px rgba(15,23,42,.28),0 0 0 0 rgba(73,87,234,0)}}@keyframes tlc-badge-pulse{0%{transform:scale(.85)}55%{transform:scale(1.12)}100%{transform:scale(1)}}@media(max-width:520px){#tlc-root{bottom:12px!important;right:12px!important;left:auto!important}.tlc-panel{position:fixed;left:8px!important;right:8px!important;bottom:82px;width:auto;height:min(690px,calc(100dvh - 98px));border-radius:22px;transform-origin:bottom center}.tlc-header{height:80px}.tlc-body{height:calc(100% - 80px)}}@media(prefers-reduced-motion:reduce){#tlc-root *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.tlc-backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* 1.4: isolated, viewport-bounded layout and configurable appearance. */
#tlc-root{bottom:calc(var(--tlc-offset-y,22px) + env(safe-area-inset-bottom,0px))!important;z-index:2147483647!important;isolation:isolate}
#tlc-root.tlc-pos-right{right:var(--tlc-offset-x,22px)!important;left:auto!important}
#tlc-root.tlc-pos-left{left:var(--tlc-offset-x,22px)!important;right:auto!important}
#tlc-root [hidden]{display:none!important}
#tlc-root .tlc-panel{position:absolute;left:auto!important;right:auto!important;bottom:calc(var(--tlc-launcher) + 14px);width:min(var(--tlc-width),calc(100vw - var(--tlc-offset-x,22px) - 8px));height:min(var(--tlc-height,560px),calc(100vh - var(--tlc-offset-y,22px) - var(--tlc-launcher) - 38px - env(safe-area-inset-bottom,0px)));height:min(var(--tlc-height,560px),calc(100dvh - var(--tlc-offset-y,22px) - var(--tlc-launcher) - 38px - env(safe-area-inset-bottom,0px)));display:flex;flex-direction:column}
#tlc-root.tlc-pos-right .tlc-panel{right:0!important}
#tlc-root.tlc-pos-left .tlc-panel{left:0!important}
body.admin-bar #tlc-root .tlc-panel{max-height:calc(100dvh - var(--tlc-offset-y,22px) - var(--tlc-launcher) - 84px - env(safe-area-inset-bottom,0px))}
#tlc-root .tlc-header{flex:0 0 80px;height:80px;color:var(--tlc-header-text,#fff)}
#tlc-root .tlc-header strong,#tlc-root .tlc-live-status,#tlc-root .tlc-brandmark{color:inherit}
#tlc-root .tlc-body{height:auto;flex:1;min-height:0;background:var(--tlc-bg)}
#tlc-root .tlc-conversation{min-height:0;overscroll-behavior:contain}
#tlc-root .tlc-chat,#tlc-root .tlc-brand-footer{flex-shrink:0}
#tlc-root .tlc-launch{background:var(--tlc-launcher-color,#4957ea);color:var(--tlc-launcher-text,#fff)}
#tlc-root .tlc-intro-bubble,#tlc-root .tlc-agent .tlc-msg-bubble{color:var(--tlc-agent-text,#172033);font-size:var(--tlc-font-size,13px)}
#tlc-root .tlc-visitor .tlc-msg-bubble{color:var(--tlc-visitor-text,#fff);font-size:var(--tlc-font-size,13px)}
#tlc-root .tlc-close{min-width:44px;min-height:44px}
#tlc-root .tlc-close span{background:var(--tlc-header-text,#fff)}
#tlc-root button:focus-visible{outline:3px solid var(--tlc-accent);outline-offset:3px}
