
/* Trinity local-only chat and voice */
.tr-launch{position:fixed;right:22px;bottom:22px;z-index:1000;border:0;border-radius:99px;background:#25203e;color:white;padding:13px 19px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 35px #1e184d40;cursor:pointer;font-weight:700}.tr-launch img{width:35px;height:35px;border-radius:50%;object-fit:cover}.tr-panel{position:fixed;right:22px;bottom:92px;z-index:1001;width:min(390px,calc(100vw - 24px));height:min(570px,calc(100dvh - 115px));display:none;flex-direction:column;background:#fff;border:1px solid #e9e6f0;border-radius:20px;box-shadow:0 25px 80px #14122d35;overflow:hidden;font-family:Arial,sans-serif;color:#242039}.tr-panel.open{display:flex}.tr-head{background:#24203d;color:#fff;display:flex;align-items:center;gap:12px;padding:14px}.tr-head img{height:46px;width:46px;object-fit:cover;border-radius:50%}.tr-head strong{display:block}.tr-head small{color:#d3cce7}.tr-close{margin-left:auto;border:0;background:transparent;color:white;font-size:25px;cursor:pointer}.tr-note{padding:9px 15px;font-size:11px;background:#f5f1ff;color:#514472}.tr-messages{flex:1;overflow:auto;padding:15px;display:flex;flex-direction:column;gap:11px}.tr-msg{max-width:88%;border-radius:15px;padding:11px 13px;line-height:1.45;font-size:13px;white-space:pre-wrap}.tr-msg.bot{align-self:flex-start;background:#f1eef8}.tr-msg.user{align-self:flex-end;background:#5b3fc5;color:white}.tr-msg a{color:inherit;text-decoration:underline}.tr-quick{display:flex;gap:6px;padding:6px 12px;overflow:auto}.tr-quick button{white-space:nowrap;border:1px solid #ddd4f5;border-radius:99px;background:#fff;color:#5843a6;padding:7px 10px;cursor:pointer;font-size:12px}.tr-form{display:flex;gap:7px;padding:12px;border-top:1px solid #eee}.tr-form input{flex:1;min-width:0;border:1px solid #d8d5e1;border-radius:11px;padding:10px;font-size:14px}.tr-form button{border:0;border-radius:10px;background:#5b3fc5;color:#fff;padding:9px 12px;cursor:pointer}.tr-form button:disabled{opacity:.4}.tr-voice{background:#ece8fb!important;color:#4d368c!important}.tr-status{font-size:11px;color:#685e79;padding:0 13px 9px}.tr-launch:focus-visible,.tr-panel button:focus-visible,.tr-panel input:focus-visible{outline:3px solid #00bde5;outline-offset:2px}@media(max-width:480px){.tr-launch{right:12px;bottom:12px}.tr-panel{right:12px;bottom:75px;height:min(570px,calc(100dvh - 95px))}}@media(prefers-reduced-motion:reduce){.tr-launch,.tr-panel{transition:none}}
