.tc-launcher{position:fixed;right:16px;bottom:18px;z-index:40;display:grid;place-items:center;width:52px;height:52px;padding:0;border:0;border-radius:17px;background:#6c4bb0;color:#fff;font:700 15px 'DM Sans',system-ui,sans-serif;box-shadow:0 6px 18px #221a3830;cursor:pointer}.tc-launcher span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#6c4bb0;font-size:20px}.tc-launcher b{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tc-launcher:hover{background:#58399c}.tc-launcher:focus-visible{outline:3px solid #2d59d7;outline-offset:3px}.tc-launcher[hidden],.tc-launcher[aria-expanded=true]{display:none}
.tc-dialog{position:fixed;inset:0 0 0 auto;width:min(430px,calc(100vw - 18px));max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-left:1px solid #d7cce9;border-radius:22px 0 0 22px;background:#fffef9;color:#173e40;font:16px/1.5 'DM Sans',system-ui,sans-serif;box-shadow:-14px 0 45px #071d2730;overflow:hidden;z-index:60}.tc-dialog[open]{display:flex;flex-direction:column}.tc-head{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;padding:18px 20px 12px;background:#ede7fa;border-bottom:1px solid #d7cce9}.tc-head span{font-size:11px;font-weight:800;letter-spacing:.14em;color:#6c4bb0}.tc-head h2{margin:1px 0 0;font:700 24px 'Space Grotesk','DM Sans',sans-serif}.tc-close{width:42px;height:42px;border:1px solid #c9bcdf;border-radius:50%;background:#fff;color:#173e40;font-size:18px;cursor:pointer}.tc-disclosure{flex:0 0 auto;margin:0;padding:10px 18px;background:#fff7dc;border-bottom:1px solid #eadfb8;font-size:13px;color:#405a57}.tc-transcript{flex:1 1 auto;min-height:0;overflow:auto;padding:16px 18px;scrollbar-gutter:stable}.tc-message{max-width:88%;margin:0 0 14px;padding:11px 13px;border-radius:16px;background:#edf3ed}.tc-message>strong{display:block;margin-bottom:3px;font-size:12px;color:#496663}.tc-copy p{margin:0 0 .7em}.tc-copy p:last-child{margin-bottom:0}.tc-copy strong{font-weight:800}.tc-copy ul,.tc-copy ol{margin:.35em 0 .7em;padding-left:1.35em}.tc-copy li+li{margin-top:.25em}.tc-copy code{padding:.08em .28em;border-radius:4px;background:#fff9;font:600 .92em ui-monospace,SFMono-Regular,Consolas,monospace}.tc-user{margin-left:auto;background:#e8dcfa}.tc-assistant{margin-right:auto}.tc-alert{background:#fff0d0;border:2px solid #d77a28}.tc-welcome{padding:4px 0}.tc-welcome p{margin:0 0 8px}.tc-starters{display:grid;gap:8px;margin-top:14px}.tc-starters button,.tc-status button{padding:9px 12px;border:1px solid #9f8bc5;border-radius:12px;background:#fff;color:#4f3783;font:700 14px inherit;text-align:left;cursor:pointer}.tc-status{flex:0 0 auto;min-height:22px;margin:0;padding:0 18px;color:#6c4bb0;font-weight:700;font-size:13px}.tc-form{flex:0 0 auto;padding:10px 18px 18px;border-top:1px solid #d0ded5}.tc-form label{display:block;margin-bottom:5px;font-size:13px;font-weight:700}.tc-form>div{display:flex;gap:8px;align-items:flex-end}.tc-form textarea{flex:1;min-width:0;max-height:105px;resize:vertical;padding:10px 11px;border:2px solid #9bbcae;border-radius:12px;background:#fff;color:#173e40;font:16px/1.35 inherit}.tc-form button{min-height:46px;padding:9px 15px;border:0;border-radius:12px;background:#196b5c;color:#fff;font:700 15px inherit;cursor:pointer}.tc-form button:disabled{opacity:.55}.tc-dialog :focus-visible{outline:3px solid #2d59d7;outline-offset:2px}
@media(max-width:620px){.tc-launcher{right:12px;bottom:12px}.tc-dialog{width:calc(100vw - 10px);border-radius:18px 0 0 18px}.tc-transcript{height:calc(100% - 250px)}}
@media print{.tc-launcher,.tc-dialog{display:none}}
@media(prefers-reduced-motion:no-preference){.tc-dialog[open]{animation:tc-in .22s cubic-bezier(.2,.75,.25,1)}@keyframes tc-in{from{transform:translateX(100%)}to{transform:none}}}
