.ta-chat-launcher{appearance:none;box-sizing:border-box;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:49;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:198px;min-height:48px;padding:12px 18px;border:1px solid #C9CDD4;border-radius:999px;background:#fff;color:#15171C;font:700 14px/1.4 Manrope,system-ui,sans-serif;text-decoration:none;box-shadow:0 4px 20px #15171C12;cursor:pointer}
.ta-chat-launcher:hover{background:#F6F7F9}.ta-chat-launcher svg{width:19px;height:19px}.ta-chat-launcher:focus-visible,.ta-chat-panel :focus-visible{outline:2px solid #059669;outline-offset:3px}
/* Panel: wide enough to read comfortably; the message area gets everything the header, links and footer do not use. */
.ta-chat-panel{box-sizing:border-box;position:fixed;inset:auto 20px 80px auto;margin:0;width:500px;max-width:calc(100vw - 40px);height:720px;max-height:calc(100dvh - 110px);padding:0;border:1px solid #C9CDD4;border-radius:18px;background:#fff;color:#15171C;box-shadow:0 16px 64px #15171C22;font:400 14px/1.5 Manrope,system-ui,sans-serif;overflow:hidden}
.ta-chat-panel[open]{display:flex;flex-direction:column}.ta-chat-panel::backdrop{background:#15171C18}
.ta-chat-head{flex:none;padding:10px 8px 10px 16px;border-bottom:1px solid #e6e7eb;display:flex;align-items:center;gap:10px}.ta-chat-head h2{margin:0;font-size:16px;line-height:1.3;font-weight:500}.ta-chat-head p{margin:1px 0 0;font-size:13px;line-height:1.3;color:#5A5F69}.ta-chat-mark{width:28px;height:28px;flex:none;border-radius:7px}
.ta-chat-lang-notice{flex:none;padding:7px 16px;background:#F6F7F9;border-bottom:1px solid #C9CDD4;font-size:14px;line-height:1.4;color:#15171C}
.ta-chat-contact,.ta-chat-reset{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 8px;border:0;background:transparent;font:400 13px/1.3 Manrope,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.ta-chat-contact{margin-left:auto;color:#15171C}.ta-chat-reset{color:#343841}
.ta-chat-close{flex:none;min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#343841;font:400 24px/1 system-ui;cursor:pointer}.ta-chat-close:hover{background:#F6F7F9}
.ta-chat-body{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
.ta-chat-intro{flex:none;padding:14px 16px 6px;font-size:14px}.ta-chat-intro p{margin:0 0 8px}
.ta-chat-starters{display:flex;flex-wrap:wrap;gap:6px}.ta-chat-starters button{min-height:40px;border:1px solid #C9CDD4;border-radius:999px;padding:6px 12px;background:#F6F7F9;color:#343841;text-align:left;font:400 13px/1.35 Manrope,system-ui;cursor:pointer}
.ta-chat-starters button:hover{border-color:#059669;color:#15171C}.ta-chat-starters button:disabled{opacity:.6;cursor:wait}
/* The mount takes all remaining height; Deep Chat's own message list scrolls inside it. */
.ta-chat-mount{min-height:0;flex:1;display:flex;padding:0 8px}.ta-chat-mount deep-chat{display:block;width:100%;height:100%;min-height:0}
.ta-chat-status{flex:none;padding:4px 16px;color:#5A5F69;font-size:13px;min-height:18px}.ta-chat-status:empty{padding-top:0;padding-bottom:0;min-height:0}
.ta-chat-links{flex:none;padding:2px 16px 8px;display:flex;gap:6px;flex-wrap:wrap}.ta-chat-links:empty{display:none}
.ta-chat-links a{min-height:36px;display:inline-flex;align-items:center;padding:4px 12px;border:1px solid #C9CDD4;border-radius:999px;background:#F6F7F9;font-size:13px;line-height:1.3;color:#15171C;text-decoration:none}.ta-chat-links a:hover{background:#F6F7F9;border-color:#059669}
.ta-chat-foot{flex:none;padding:7px 16px;border-top:1px solid #e6e7eb;background:#f8f8fa;font-size:14px;line-height:1.4;color:#5A5F69}.ta-chat-foot p{margin:0}.ta-chat-foot a{color:#047857}
@media(max-width:600px){.ta-chat-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:11px 15px}
.ta-chat-panel{inset:auto 6px max(6px,env(safe-area-inset-bottom)) 6px;width:auto;max-width:none;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:16px}
.ta-chat-head{padding:4px 2px 4px 12px;gap:6px}.ta-chat-head p{display:none}.ta-chat-contact,.ta-chat-reset{padding:0 6px}
.ta-chat-intro{padding:10px 12px 4px}.ta-chat-foot{padding:6px 12px}.ta-chat-status{padding-left:12px;padding-right:12px}.ta-chat-links{padding:2px 12px 6px}.ta-chat-mount{padding:0 4px}}
.ta-chat-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ta-chat-panel.has-messages .ta-chat-intro{display:none}
@media(max-height:550px){.ta-chat-panel{bottom:8px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.ta-chat-body{overflow:auto}.ta-chat-mount{min-height:140px;flex-shrink:0}.ta-chat-intro{padding-top:6px;padding-bottom:4px}.ta-chat-head{padding-top:4px;padding-bottom:4px}.ta-chat-foot{padding-top:4px;padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){.ta-chat-panel,.ta-chat-panel *,.ta-chat-launcher{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* phones: the launcher is an icon only, so it covers less; pages leave room at the bottom for it */
@media(max-width:640px){
.ta-chat-launcher{min-width:48px;width:48px;height:48px;padding:0;gap:0;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
.ta-chat-launcher span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* every page leaves room under the footer for the chat button */
html .ftr{padding-bottom:88px}
.ta-chat-launcher{transition:opacity .2s ease-out,transform .2s ease-out,visibility .2s}.ta-chat-launcher.is-later{opacity:0;visibility:hidden;transform:translateY(8px)}@media (prefers-reduced-motion:reduce){.ta-chat-launcher{transition:none}}
