/* Trisipix chat widget */
#tpx-chat{position:fixed;right:20px;bottom:20px;z-index:50;font:15px/1.5 Inter,system-ui,sans-serif;color:#ECEEF4}
#tpx-chat .tc-toggle{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 22px 0 18px;border:0;border-radius:999px;background:#FF8A3D;color:#160A02;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 10px 30px rgba(255,138,61,.35)}
#tpx-chat .tc-toggle:hover{background:#FFC76B}
#tpx-chat.tc-open .tc-toggle span{display:none}
#tpx-chat.tc-open .tc-toggle{padding:0 15px}
#tpx-chat .tc-panel{padding:0;margin:0;display:none;position:absolute;right:0;bottom:70px;width:min(380px,calc(100vw - 32px));height:min(560px,calc(100vh - 110px));flex-direction:column;background:#0B0D14;border:1px solid rgba(255,138,61,.35);border-radius:22px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.6)}
#tpx-chat.tc-open .tc-panel{display:flex}
.tc-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:#11141D}
.tc-head b{display:block;font-size:15px}.tc-head small{color:#8E93A4;font-size:12px}
.tc-ava{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#06070B;border:1px solid rgba(255,138,61,.4)}
.tc-close{margin-left:auto;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:#C9CDD8;cursor:pointer;display:grid;place-items:center}
.tc-close:hover{background:rgba(255,255,255,.07)}
.tc-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.tc-msg{max-width:85%;padding:10px 14px;border-radius:16px;white-space:pre-wrap;word-wrap:break-word}
.tc-bot{align-self:flex-start;background:#161A25;border:1px solid rgba(255,255,255,.07);border-bottom-left-radius:6px}
.tc-me{align-self:flex-end;background:#FF8A3D;color:#160A02;border-bottom-right-radius:6px}
.tc-msg a{color:#FFC76B;font-weight:600;text-decoration:underline}
.tc-typing{color:#8E93A4;letter-spacing:3px}
.tc-wa{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 16px 10px;padding:9px;border-radius:12px;border:1px solid rgba(37,211,102,.45);color:#5BE38F;font-size:13px;font-weight:600;text-decoration:none}
.tc-wa:hover{background:rgba(37,211,102,.08);color:#7CF0A8}
#tpx-chat.tc-lead .tc-wa{background:#25D366;color:#04210F;border-color:#25D366}
.tc-form{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(255,255,255,.08)}
.tc-form textarea{flex:1;resize:none;max-height:120px;padding:11px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:#06070B;color:#ECEEF4;font:inherit}
.tc-form button{width:46px;min-height:44px;border:0;border-radius:14px;background:#FF8A3D;color:#160A02;cursor:pointer;display:grid;place-items:center}
.tc-form button:disabled{opacity:.5;cursor:wait}
.tc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#tpx-chat :focus-visible{outline:2px solid #FF8A3D;outline-offset:2px}
@media (max-width:480px){#tpx-chat{right:12px;bottom:12px}#tpx-chat .tc-panel{bottom:66px}}
