.tf-system{color:#636366;text-align:center;align-self:center;margin:.4rem 0;font-size:.8rem}.tf-system a{color:#0a84ff;font-weight:600}.tf-chat[hidden]{display:none}.tf-launcher{z-index:1000;color:#fff;cursor:pointer;background:#0a84ff;border:0;border-radius:999px;align-items:center;gap:.5rem;padding:.8rem 1.15rem;font:600 .95rem -apple-system,BlinkMacSystemFont,system-ui,sans-serif;display:flex;position:fixed;bottom:1.25rem;right:1.25rem;box-shadow:0 8px 24px #00000059}.tf-launcher[hidden],.tf-launcher-offscreen{display:none}.tf-launcher-dot{background:#34c759;border-radius:50%;width:.55rem;height:.55rem}.tf-close{color:#333;cursor:pointer;background:#e5e5ea;border:0;border-radius:50%;width:1.9rem;height:1.9rem;margin-left:auto;font-size:1.2rem;line-height:1}.tf-chat{--tf-blue:#0a84ff;--tf-gray:#e9e9eb;z-index:1000;color:#111;background:#fff;border-radius:22px;flex-direction:column;width:min(100vw - 2.5rem,24rem);height:min(100dvh - 2.5rem,38rem);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,sans-serif;display:flex;position:fixed;bottom:1.25rem;right:1.25rem;overflow:hidden;box-shadow:0 12px 40px #00000024,0 0 0 1px #0000000f}.tf-chat-header{background:#f7f7f7f2;border-bottom:1px solid #ddd;align-items:center;gap:.7rem;padding:.8rem 1rem;display:flex}.tf-avatar{color:#fff;background:linear-gradient(#8e8e93,#636366);border-radius:50%;place-items:center;width:2.4rem;height:2.4rem;font-size:.85rem;font-weight:600;display:grid}.tf-title h2{margin:0;font-size:1rem;font-weight:600}.tf-status{color:#8e8e93;margin:0;font-size:.75rem}.tf-status[data-state=offline]{color:#d70015}.tf-transcript{flex-direction:column;flex:1;gap:.3rem;padding:1rem .8rem;display:flex;overflow-y:auto}.tf-empty{background:var(--tf-gray);border-radius:18px;align-self:flex-start;max-width:78%;margin:0;padding:.55rem .85rem;font-size:.95rem;line-height:1.35}.tf-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;max-width:78%;padding:.55rem .85rem;font-size:.95rem;line-height:1.35}.tf-me{background:var(--tf-blue);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.tf-them{background:var(--tf-gray);color:#111;border-bottom-left-radius:6px;align-self:flex-start}.tf-me+.tf-them,.tf-them+.tf-me{margin-top:.5rem}.tf-typing{background:var(--tf-gray);border-radius:18px;align-self:flex-start;gap:4px;padding:.7rem .9rem;display:flex}.tf-typing[hidden]{display:none}.tf-typing span{background:#8e8e93;border-radius:50%;width:7px;height:7px;animation:1.2s infinite tf-dot}.tf-typing span:nth-child(2){animation-delay:.2s}.tf-typing span:nth-child(3){animation-delay:.4s}@keyframes tf-dot{0%,60%,to{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}.tf-save{background:#fafafa;border-top:1px solid #eee;gap:.35rem;padding:.6rem .9rem;display:grid}.tf-save label{color:#636366;font-size:.75rem}.tf-save-row{gap:.4rem;display:flex}.tf-save-row input{min-width:0;font:inherit;border:1px solid #d1d1d6;border-radius:999px;flex:1;padding:.45rem .75rem;font-size:16px}.tf-save-row button{color:#fff;font:inherit;cursor:pointer;background:#111;border:0;border-radius:999px;padding:.45rem .85rem;font-size:.8rem}.tf-save-status{color:#636366;min-height:1em;margin:0;font-size:.75rem}.tf-composer{border-top:1px solid #eee;align-items:flex-end;gap:.5rem;padding:.6rem .8rem .8rem;display:flex}.tf-composer textarea{resize:none;min-height:2.2rem;max-height:140px;font:inherit;border:1px solid #d1d1d6;border-radius:20px;outline:none;flex:1;padding:.5rem .9rem;font-size:16px;line-height:1.3}.tf-composer textarea:focus{border-color:var(--tf-blue)}.tf-composer button{background:var(--tf-blue);color:#fff;cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:2.1rem;height:2.1rem;display:grid}.tf-composer button:disabled{opacity:.45;cursor:default}.tf-sr,.tf-honeypot{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=520px){html.tf-chat-open,html.tf-chat-open body{overflow:hidden}.tf-chat:not([data-chat-mode=app]){top:var(--tf-vv-top,0);width:100%;height:var(--tf-vv-h,100dvh);border-radius:0;bottom:auto;left:0;right:0}.tf-chat-header{gap:.55rem;padding:.45rem .75rem}.tf-avatar{width:1.9rem;height:1.9rem;font-size:.75rem}.tf-title h2{font-size:.95rem}.tf-status{font-size:.7rem}.tf-close{width:1.7rem;height:1.7rem}.tf-transcript{padding:.6rem .7rem}.tf-save{gap:.2rem;padding:.4rem .7rem}.tf-save label{font-size:.7rem}.tf-save-row input,.tf-save-row button{padding-top:.3rem;padding-bottom:.3rem}.tf-composer{padding:.4rem .6rem calc(.5rem + env(safe-area-inset-bottom))}}.tf-chat[data-chat-mode=app]{width:100%;height:100%;box-shadow:none;border-radius:0;margin:0;position:static}
