#tdtg-chat { --tdtg-dark:#171717; --tdtg-ink:#232323; --tdtg-pink:#e5007d; position:fixed; right:max(1rem,env(safe-area-inset-right)); bottom:max(1rem,env(safe-area-inset-bottom)); z-index:9999; color:var(--tdtg-ink); font:normal 16px/1.45 system-ui,sans-serif; text-align:left }
#tdtg-chat *,#tdtg-chat *::before { box-sizing:border-box }
#tdtg-chat [hidden] { display:none!important }
#tdtg-chat button { font:inherit; cursor:pointer }
#tdtg-chat button:disabled { opacity:.62; cursor:wait }
#tdtg-chat .tdtg-launch { display:flex; align-items:center; gap:.65rem; border:0; border-radius:2rem; background:var(--tdtg-pink); color:white; padding:.78rem 1.1rem; box-shadow:0 3px 14px #17171733; font-weight:650 }
#tdtg-chat .tdtg-icon { width:1.15rem; height:.88rem; border:2px solid currentColor; border-radius:.4rem .4rem .4rem 0 }
#tdtg-panel { margin:0; padding:0; display:flex; flex-direction:column; width:min(25rem,calc(100vw - 2rem)); height:min(37rem,calc(100vh - 2rem)); height:min(37rem,calc(100dvh - 2rem)); background:#fff; border:1px solid #dedede; border-radius:1rem; overflow:hidden; box-shadow:0 8px 36px #17171733 }
#tdtg-panel .tdtg-heading { display:flex; align-items:center; justify-content:space-between; flex:none; padding:.7rem 1rem; border-bottom:3px solid var(--tdtg-pink); background:var(--tdtg-dark); color:white }
#tdtg-panel .tdtg-heading strong,#tdtg-panel .tdtg-heading small { display:block; line-height:1.35 }
#tdtg-panel .tdtg-heading small { color:#e7e7e7; font-size:.75rem }
#tdtg-chat .tdtg-close { background:transparent; color:white; border:0; font-size:1.65rem; min-width:42px; min-height:42px }
#tdtg-chat .tdtg-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:1rem; background:#fff }
#tdtg-chat .tdtg-log { display:flex; flex-direction:column; align-items:flex-start }
#tdtg-chat .tdtg-bubble { margin:0 0 .65rem; padding:.65rem .85rem; font-size:.92rem; max-width:95%; border-radius:.85rem; overflow-wrap:anywhere; white-space:pre-line }
#tdtg-chat .tdtg-bot { background:#f4f4f4; color:var(--tdtg-ink); border-bottom-left-radius:.2rem }
#tdtg-chat .tdtg-user { align-self:flex-end; background:#303030; color:#fff; border-bottom-right-radius:.2rem }
#tdtg-chat .tdtg-starters { display:flex; flex-wrap:wrap; gap:.4rem; margin:.2rem 0 .75rem }
#tdtg-chat .tdtg-starters button,#tdtg-chat .tdtg-card button { background:#fff; color:#333333; border:1px solid #bdbdbd; border-radius:.6rem; padding:.35rem .65rem; font-size:.85rem }
#tdtg-chat .tdtg-card { padding:.65rem .2rem .1rem; margin-top:.5rem; border-top:1px solid #d8d8d8 }
#tdtg-chat .tdtg-product { color:#333333; text-decoration:underline; font-weight:650 }
#tdtg-chat .tdtg-card small { display:block; margin:.3rem 0 }
#tdtg-chat .tdtg-composer { flex:none; border-top:1px solid #dedede; padding:.7rem; background:#fff }
#tdtg-chat .tdtg-composer small { display:block; color:#555555; font-size:.7rem; line-height:1.35; margin-top:.4rem }
#tdtg-chat form { margin:0 }
#tdtg-chat .tdtg-compose { display:flex; gap:.4rem }
#tdtg-chat .tdtg-compose input { flex:1; width:0; min-width:0; padding:.6rem; border:1px solid #959595; border-radius:.5rem; color:var(--tdtg-ink); background:white; font:inherit }
#tdtg-chat .tdtg-compose button { background:var(--tdtg-pink); color:white; border:0; border-radius:.5rem; padding:.5rem .75rem }
#tdtg-chat :focus-visible { outline:3px solid #555555; outline-offset:2px }
#tdtg-chat .tdtg-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%) }
#tdtg-chat .tdtg-launch:hover, #tdtg-chat .tdtg-compose button:hover { background:#bd0067 }
#tdtg-chat .tdtg-close:hover { background:#ffffff20; border-radius:.5rem }
#tdtg-chat .tdtg-starters button:hover, #tdtg-chat .tdtg-card button:hover { background:#eeeeee }
#tdtg-chat .tdtg-close:focus-visible { outline-color:white }
#tdtg-chat .tdtg-catalogue { display:block; margin-top:.65rem; color:#333; text-decoration:underline; font-weight:650 }
