/*
 * Chat de Portal Driver.
 *
 * Son las mismas reglas del chat de Marketplace, en el mismo orden de cascada,
 * para que la mensajería se vea y se comporte igual en ambos portales.
 * Al final va el único ajuste propio de Driver: la altura de su barra inferior.
 */


/* ---- origen: Marketplace customer.css ---- */
:root{--tx-blue-dark:#052754;--tx-blue:#0069C0;--tx-electric:#087aff;--tx-sky:#97E9FF;--tx-purple:#006eff;--tx-purple-light:#AB3ED8;--tx-ivory:#F8E8B8;--tx-white:#FFF;--tx-gray:#9AA4B2;--tx-black:#101218;--tx-bg:#e7e7e7;--safe-bottom:env(safe-area-inset-bottom,0px);--tx-nav-icon-size:28px}
:where(.tx-chat-scope) .tx-view{display:none;padding:14px 13px}
:where(.tx-chat-scope) .tx-view.active{display:block}
:where(.tx-chat-scope) .tx-modal{border:2px solid var(--tx-purple);border-radius:21px;overflow:hidden}
:where(.tx-chat-scope) .tx-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff}
:where(.tx-chat-scope) .tx-primary{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}
:where(.tx-chat-scope) .tx-secondary{background:var(--tx-electric)!important;border-color:var(--tx-electric)!important;color:#fff!important}
:where(.tx-chat-scope) .tx-page-title{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 14px}
:where(.tx-chat-scope) .tx-page-title h1{margin:0;color:var(--tx-purple);font-size:26px}
:where(.tx-chat-scope) .tx-list{display:grid;gap:10px}
:where(.tx-chat-scope) .tx-list-item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:13px;box-shadow:0 4px 16px #10121810}
:where(.tx-chat-scope) .tx-list-item .grow{flex:1;min-width:0}
:where(.tx-chat-scope) .tx-list-item h3{font-size:17px;margin:0 0 4px}
:where(.tx-chat-scope) .tx-list-item p{margin:0;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.tx-chat-scope) .tx-empty{padding:40px 18px;text-align:center;color:#667085;background:#fff;border-radius:16px}
.tx-chat-messages{height:min(62vh,590px);overflow-y:auto;padding:17px;background:#eef4f8;display:flex;flex-direction:column;gap:9px}
.tx-bubble{max-width:75%;padding:9px 12px;border-radius:15px;background:#fff;align-self:flex-start}
.tx-bubble.mine{align-self:flex-end;background:var(--tx-sky)}
.tx-bubble small{display:block;text-align:right;color:#667085}
.tx-message-form{padding:12px;display:flex;gap:8px}
:where(.tx-chat-scope) .tx-round{border-radius:50%;color:var(--tx-purple)}
@media(min-width:1100px){
:where(.tx-chat-scope) .tx-view{padding-left:32px;padding-right:32px}
}
.tx-call-modal{position:relative;min-height:min(78vh,700px);background:#101218;color:#fff;border-radius:22px;overflow:hidden}
.tx-call-head{text-align:center;padding:22px;position:relative;z-index:2}
.tx-call-head h2{font-size:21px}
.tx-call-head span{color:var(--tx-sky)}
.tx-call-media{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,#052754,#101218)}
.tx-call-media video{width:100%;height:100%;object-fit:cover}
.tx-call-avatar{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:var(--tx-purple);font-size:60px}
.tx-local-media{position:absolute;right:18px;bottom:105px;width:150px;height:200px;border:2px solid #fff;border-radius:16px;overflow:hidden;background:#222}
.tx-local-media:empty{display:none}
.tx-local-media video{width:100%;height:100%;object-fit:cover}
.tx-call-actions{position:absolute;z-index:3;bottom:25px;left:0;right:0;display:flex;justify-content:center;gap:18px}
.tx-call-actions .btn{width:57px;height:57px;border-radius:50%;background:#fff;color:#101218;font-size:20px}
.tx-call-actions .end{background:#dc3545;color:#fff}
.tx-conversation-list{gap:1px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #1012180d}
.tx-conversation-item{border-radius:0!important;box-shadow:none!important;border-bottom:1px solid #edf0f2!important;padding:11px 13px!important}
.tx-conversation-item:last-child{border-bottom:0!important}
.tx-conversation-item .tx-avatar{overflow:hidden;flex:0 0 52px}
.tx-conversation-item .tx-avatar img{width:100%;height:100%;object-fit:cover}
.tx-conversation-item h3{font-weight:700}
.tx-conversation-item small{font-size:11px;color:#7a858e;white-space:nowrap}
.tx-chat-shell{background:#f0f2f5}
.tx-chat-header{background:#f0f2f5;border-bottom:1px solid #dde2e5;padding:10px 13px}
.tx-chat-person{display:flex;align-items:center;gap:10px;min-width:0}
.tx-chat-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#d9e3ea;color:var(--tx-purple);flex:0 0 40px}
.tx-chat-person h2{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
.tx-chat-messages{background-color:#efeae2;background-image:radial-gradient(#d7d1c8 1px,transparent 1px);background-size:18px 18px;padding:20px 5%;gap:5px}
.tx-bubble{position:relative;max-width:78%;padding:7px 9px 5px;border-radius:8px;background:#fff;box-shadow:0 1px 1px #00000018;word-break:break-word}
.tx-bubble.mine{background:#dff3ff}
.tx-bubble small{font-size:10px;margin-left:30px;color:#667781}
.tx-bubble.mine small .fa-check-double{color:#53bdeb}
.tx-chat-empty{margin:auto;background:#fff8dc;color:#667781;border-radius:8px;padding:6px 12px;font-size:12px}
.tx-message-form{background:#f0f2f5;padding:10px 12px}
.tx-message-form .form-control{border:0;border-radius:24px;padding:10px 16px}
.tx-message-form .btn{width:45px;height:45px;border-radius:50%;padding:0;display:grid;place-items:center}
:where(.tx-chat-scope) .tx-round{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:50%!important}
:where(.tx-chat-scope) .tx-round:hover{background:#dfe3e5}
.tx-qr-video{width:100%;max-height:360px;object-fit:cover;border-radius:16px;background:#101218}
.tx-qr-status{text-align:center;padding:12px;background:#f6f8fa;border-radius:12px;color:#667085}
@media(max-width:600px){
.tx-chat-messages{height:64vh;padding-left:3%;padding-right:3%}
.tx-bubble{max-width:88%}
.tx-chat-person h2{max-width:155px}
.tx-chat-header .tx-round{width:36px;height:36px}
.tx-chat-header{padding-left:8px;padding-right:8px}
}
body.tx-chat-open{padding-top:0;padding-bottom:calc(66px + var(--safe-bottom))}
.tx-chat-open .tx-view{padding:0}
.tx-chat-page.active{display:grid!important;grid-template-rows:auto auto 1fr auto;height:calc(100dvh - 66px - var(--safe-bottom));min-height:0;overflow:hidden;background:#efeae2}
.tx-chat-page-head{min-height:72px;background:var(--tx-electric);border-bottom:5px solid var(--tx-purple);display:flex;align-items:center;gap:9px;padding:8px 10px;color:#fff;position:sticky;top:0;z-index:20}
.tx-chat-back,:where(.tx-chat-scope) .tx-round,.tx-compose-icon,.tx-send-button,.tx-voice-cancel,.tx-voice-send,.tx-reply-button{border:0}
.tx-chat-back{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:transparent;color:#fff;font-size:19px}
.tx-chat-back:hover,.tx-chat-page-head .tx-round:hover{background:#ffffff20}
.tx-chat-page-head .tx-chat-avatar{background:#fff;color:var(--tx-purple);overflow:hidden;border:2px solid #ffffffcc}
.tx-chat-page-head .tx-chat-avatar img{width:100%;height:100%;object-fit:cover}
.tx-chat-person-copy{min-width:0;flex:1;display:grid}
.tx-chat-person-copy strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-chat-person-copy small,.tx-chat-person-copy span{font-size:11px;color:#eaf8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-chat-head-actions{display:flex;align-items:center;gap:2px}
.tx-chat-page-head .tx-round{background:transparent;color:#fff;width:40px;height:40px}
.tx-chat-messages-page{height:auto!important;min-height:0;overflow-y:auto;padding:18px max(3%,16px) 24px;background-color:#efeae2;background-image:radial-gradient(#d7d1c8 1px,transparent 1px);background-size:18px 18px;gap:5px}
.tx-bubble{padding:7px 8px 5px;min-width:80px}
.tx-bubble.mine{background:#dff3ff}
.tx-message-text{display:block;white-space:normal}
.tx-message-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:3px;min-height:15px}
.tx-message-meta time{font-size:10px;color:#667781}
.tx-receipt{font-size:12px;line-height:1;color:#7a858e}
.tx-receipt.read{color:#53bdeb}
.tx-reply-button{background:transparent;color:#8b96a0;padding:1px 3px;font-size:10px;opacity:.3}
.tx-bubble:hover .tx-reply-button{opacity:1}
.tx-quoted{border-left:4px solid var(--tx-purple);background:#0000000d;border-radius:5px;padding:5px 7px;margin-bottom:5px;display:grid;max-width:100%}
.tx-quoted strong{font-size:11px;color:var(--tx-purple)}
.tx-quoted span{font-size:11px;color:#667781;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-media-image{display:block;margin:-2px -2px 5px}
.tx-media-image img{display:block;max-width:min(360px,70vw);max-height:420px;border-radius:7px;object-fit:cover}
.tx-media-video{display:block;max-width:min(420px,72vw);max-height:420px;border-radius:7px;margin-bottom:5px;background:#000}
.tx-document-message{display:flex;align-items:center;gap:10px;background:#0000000c;border-radius:8px;padding:9px 10px;margin-bottom:5px;text-decoration:none;color:#344054;min-width:min(300px,65vw)}
.tx-document-message>i{font-size:28px;color:var(--tx-purple)}
.tx-document-message span{display:grid;min-width:0}
.tx-document-message strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-document-message small{font-size:10px;color:#667085}
.tx-message-form-page{min-height:62px;background:#f0f2f5;display:flex;align-items:flex-end;gap:7px;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));border-top:1px solid #dde2e5}
.tx-message-form-page textarea{flex:1;max-height:120px;resize:none;border:0;outline:0;border-radius:22px;background:#fff;padding:11px 15px;line-height:20px}
.tx-compose-icon,.tx-send-button{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;font-size:19px}
.tx-compose-icon{background:transparent;color:#667781}
.tx-compose-icon:hover{background:#e3e7e9}
.tx-send-button{background:var(--tx-purple);color:#fff}
.tx-mic{color:var(--tx-purple)}
.tx-chat-reply{background:#f0f2f5;border-top:1px solid #dde2e5;padding:7px 12px;display:flex;align-items:center;gap:10px}
.tx-chat-reply>div{flex:1;border-left:4px solid var(--tx-purple);padding-left:9px;min-width:0;display:grid}
.tx-chat-reply small{color:var(--tx-purple)}
.tx-chat-reply span{font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-chat-reply button{border:0;background:transparent;color:#667085;font-size:18px}
.tx-voice-recorder{min-height:62px;background:#f0f2f5;display:flex;align-items:center;gap:10px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))}
.tx-voice-live{flex:1;display:flex;align-items:center;gap:8px;color:#667085}
.tx-record-dot{width:9px;height:9px;border-radius:50%;background:#dc3545;animation:txpulse 1s infinite}
.tx-voice-cancel,.tx-voice-send{width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.tx-voice-cancel{background:#fff;color:#dc3545}
.tx-voice-send{background:var(--tx-purple);color:#fff}
@keyframes txpulse{50%{opacity:.25}}
@media(max-width:600px){
.tx-chat-page-head{min-height:66px}
.tx-chat-head-actions .tx-round{width:35px;height:35px}
.tx-chat-messages-page{padding-left:8px;padding-right:8px}
.tx-bubble{max-width:88%}
.tx-media-image img,.tx-media-video{max-width:76vw}
.tx-document-message{min-width:64vw}
}
.tx-conversation-item{position:relative}
.tx-conversation-unread{min-width:22px;height:22px;border-radius:50px;background:var(--tx-purple);color:#fff;display:inline-grid;place-items:center;padding:0 6px;font-size:11px;font-weight:800;margin-left:7px;flex:0 0 auto}
.tx-conversation-item.has-unread h3{font-weight:900;color:var(--tx-black)}
.tx-conversation-item.has-unread p{font-weight:700;color:#344054}
.tx-device-help{display:flex;gap:12px;align-items:flex-start;background:#eef7ff;border:1px solid #cfe8ff;border-radius:16px;padding:14px 16px;margin-bottom:14px;color:var(--tx-blue-dark)}
.tx-device-help>i{font-size:24px;color:var(--tx-purple);margin-top:2px}
.tx-device-help p{margin:2px 0 0;color:#667085;font-size:13px}
.tx-device-card{display:flex;align-items:center;gap:13px;background:#fff;border-radius:15px;padding:14px;box-shadow:0 4px 16px #10121810}
.tx-device-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:var(--tx-purple);font-size:20px}
.tx-device-copy{min-width:0;flex:1}
.tx-device-copy strong{display:block}
.tx-device-copy small{display:block;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-device-current{font-size:10px;font-weight:900;border-radius:20px;padding:4px 8px;background:#e7f8ee;color:#087a42}
.tx-device-revoke{border:0;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#fff0f0;color:#b42318}
.tx-device-revoke:hover{background:#ffe0e0}
body.tx-chat-open{height:100dvh;
    min-height:100dvh;
    padding-bottom:calc(66px + var(--safe-bottom));
    overflow:hidden;}
.tx-chat-open .tx-view{padding:0}
.tx-chat-page.active{display:flex!important;
    flex-direction:column;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    background-color:#efeae2;
    background-image:radial-gradient(#d7d1c8 1px,transparent 1px);
    background-size:18px 18px;}
.tx-chat-page.active .tx-chat-page-head{position:relative;
    top:auto;
    flex:0 0 auto;
    width:100%;
    z-index:20;}
.tx-chat-page.active .tx-chat-reply,.tx-chat-page.active .tx-voice-recorder,.tx-chat-page.active .tx-message-form-page{flex:0 0 auto;
    width:100%;
    position:relative;
    z-index:15;}
.tx-chat-page.active .tx-chat-messages-page{flex:1 1 auto;
    width:100%;
    height:auto!important;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background-color:transparent;
    background-image:none;}
.tx-message-row{width:100%;display:flex;margin:2px 0;align-items:flex-end}
.tx-message-row.incoming{justify-content:flex-start;padding-right:14%}
.tx-message-row.outgoing{justify-content:flex-end;padding-left:14%}
.tx-message-row .tx-bubble{position:relative;max-width:min(76%,620px);width:max-content;min-width:72px;margin:0!important;box-shadow:0 1px 1px #00000018}
.tx-message-row .tx-bubble.received{background:#fff;border-radius:8px 8px 8px 2px}
.tx-message-row .tx-bubble.mine{background:#dff3ff;border-radius:8px 8px 2px 8px}
.tx-message-row.incoming .tx-bubble.received:before{content:"";position:absolute;left:-7px;bottom:0;border-style:solid;border-width:0 8px 8px 0;border-color:transparent #fff transparent transparent}
.tx-message-row.outgoing .tx-bubble.mine:after{content:"";position:absolute;right:-7px;bottom:0;border-style:solid;border-width:8px 8px 0 0;border-color:#dff3ff transparent transparent transparent}
.tx-message-row .tx-message-meta{width:100%;justify-content:flex-end}
.tx-location-message{display:block;min-width:min(330px,70vw);overflow:hidden;border-radius:9px;background:#f4f7f8;text-decoration:none;color:#1f2937;margin-bottom:4px}
.tx-location-map{height:116px;background:linear-gradient(135deg,#e8edf0,#d7e5de);display:grid;place-items:center;align-content:center;gap:7px;color:var(--tx-purple)}
.tx-location-map i{font-size:32px}
.tx-location-map span{font-size:11px;color:#56636c;font-weight:700}
.tx-location-copy{display:grid;padding:9px 11px}
.tx-location-copy strong{font-size:13px}
.tx-location-copy small{font-size:10px;color:#667781}
.tx-attachment-wrap{position:relative;flex:0 0 auto}
.tx-attachment-menu{position:absolute;left:0;bottom:52px;width:190px;background:#fff;border-radius:16px;box-shadow:0 12px 36px #0003;padding:8px;z-index:80;border:1px solid #e6e9ec}
.tx-attachment-menu button{width:100%;display:flex;align-items:center;gap:12px;padding:10px 11px;border:0;background:transparent;border-radius:10px;text-align:left;color:#344054}
.tx-attachment-menu button:hover{background:#f2f4f7}
.tx-attachment-menu button i{width:25px;font-size:18px;text-align:center;color:var(--tx-purple)}
.tx-attachment-preview{min-height:180px;border-radius:13px;background:#eef1f3;display:grid;place-items:center;overflow:hidden;padding:14px}
.tx-attachment-preview-image,.tx-attachment-preview-video{display:block;max-width:100%;max-height:55vh;border-radius:10px;object-fit:contain}
.tx-attachment-preview-file{display:flex;align-items:center;gap:14px;max-width:100%;background:#fff;padding:15px 18px;border-radius:12px;box-shadow:0 3px 15px #00000010}
.tx-attachment-preview-file>i{font-size:34px;color:var(--tx-purple)}
.tx-attachment-preview-file>div{display:grid;min-width:0}
.tx-attachment-preview-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-attachment-preview-file small{color:#667085}
.tx-attachment-preview-location{display:grid;gap:7px;justify-items:center;text-align:center}
.tx-attachment-preview-map{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--tx-purple);font-size:38px;box-shadow:0 4px 20px #0001}
.tx-attachment-preview-location span,.tx-attachment-preview-location small{color:#667085}
.tx-pending-row .tx-bubble{opacity:.93}
.tx-upload-media{position:relative;margin:-2px -2px 5px}
.tx-upload-media img,.tx-upload-media video{display:block;max-width:min(360px,70vw);max-height:420px;border-radius:7px;object-fit:cover;filter:brightness(.78)}
.tx-upload-progress{--progress:0deg;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:conic-gradient(#fff var(--progress),#ffffff45 0);display:grid;place-items:center;box-shadow:0 1px 8px #0006}
.tx-upload-progress:before{content:"";position:absolute;inset:4px;border-radius:50%;background:#0009}
.tx-upload-progress button{position:relative;z-index:1;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:18px}
.tx-upload-progress.compact{position:relative;inset:auto;transform:none;width:42px;height:42px;margin-left:auto;flex:0 0 42px;background:conic-gradient(var(--tx-purple) var(--progress),#d4dae0 0);box-shadow:none}
.tx-upload-progress.compact:before{background:#fff}
.tx-upload-progress.compact button{color:var(--tx-purple)}
.tx-upload-audio,.tx-upload-document{display:flex;align-items:center;gap:10px;min-width:min(310px,68vw);padding:8px 5px}
.tx-upload-audio>i,.tx-upload-document>i{font-size:26px;color:var(--tx-purple)}
.tx-upload-audio>div:not(.tx-upload-progress),.tx-upload-document>div:not(.tx-upload-progress){display:grid;min-width:0;flex:1}
.tx-upload-audio strong,.tx-upload-document strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-upload-audio small,.tx-upload-document small{font-size:10px;color:#667085}
@media(max-width:700px){
.tx-message-row.incoming{padding-right:8%}
.tx-message-row.outgoing{padding-left:8%}
.tx-message-row .tx-bubble{max-width:86%}
.tx-attachment-menu{position:fixed;left:10px;bottom:calc(130px + env(safe-area-inset-bottom,0px));width:205px}
}
.tx-incoming-call{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:5000;width:min(720px,calc(100vw - 20px));min-height:76px;background:#101218;color:#fff;border-radius:18px;box-shadow:0 16px 50px #0008;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:10px 13px;border:1px solid #ffffff18}
.tx-incoming-call.d-none{display:none!important}
.tx-incoming-call-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#2a2d34;color:#fff;font-size:22px}
.tx-incoming-call-avatar img{width:100%;height:100%;object-fit:cover}
.tx-incoming-call-copy{display:grid;min-width:0}
.tx-incoming-call-copy strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-incoming-call-copy span{font-size:12px;color:#c7cbd1}
.tx-incoming-call button{border:0;color:#fff;border-radius:13px;min-height:48px;padding:8px 14px;display:flex;align-items:center;gap:7px;font-weight:800}
.tx-incoming-call .reject{background:#d92d20}
.tx-incoming-call .accept{background:#16a34a}
.tx-incoming-call button i{font-size:18px}
@media(max-width:620px){
.tx-incoming-call{top:8px;grid-template-columns:auto 1fr auto auto;gap:7px;padding:8px}
.tx-incoming-call-avatar{width:46px;height:46px}
.tx-incoming-call button{width:46px;height:46px;min-height:46px;padding:0;justify-content:center;border-radius:50%}
.tx-incoming-call button span{display:none}
}
:where(.tx-chat-scope) .modal-dialog,:where(.tx-chat-scope) .modal-content,:where(.tx-chat-scope) .modal-body{min-width:0;max-width:100%;}
#devicesView,#linkedDevicesList,.tx-device-help,.tx-device-card{width:100%;max-width:100%;min-width:0}
#devicesView{overflow-x:hidden}
#linkedDevicesList{overflow-x:hidden}
.tx-device-help{overflow:hidden}
.tx-device-help>div{min-width:0;max-width:100%}
.tx-device-help p,.tx-device-help strong{overflow-wrap:anywhere;word-break:break-word}
.tx-device-card{overflow:hidden;flex-wrap:nowrap}
.tx-device-copy{min-width:0;max-width:100%;overflow:hidden}
.tx-device-copy strong,.tx-device-copy small{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.tx-device-copy small{white-space:normal!important;overflow:visible;text-overflow:clip}
.tx-device-icon,.tx-device-current,.tx-device-revoke{flex-shrink:0}
@media(max-width:480px){
.tx-device-help{padding:12px;gap:9px}
.tx-device-card{padding:11px 10px;gap:9px}
.tx-device-icon{width:40px;height:40px;flex-basis:40px;font-size:17px}
.tx-device-revoke{width:36px;height:36px}
.tx-device-current{font-size:9px;padding:3px 6px}
.tx-device-copy strong{font-size:13px}
.tx-device-copy small{font-size:11px;line-height:1.35}
}
.tx-call-identity{display:grid;justify-items:center;gap:1px;margin:4px 0 2px}
.tx-call-identity strong{font-size:17px;line-height:1.2;color:#fff;max-width:min(80vw,520px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-call-identity small{font-size:12px;color:#c7cbd1}
.tx-incoming-call-copy small{font-size:11px;color:#8ed8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.tx-chat-scope) .tx-page-title .tx-back{font-size:.78rem}
@media(max-width:520px){
:where(.tx-chat-scope) .tx-view{padding-left:11px;padding-right:11px}
}
#chatMediaViewerModal{overflow:hidden!important}
#chatMediaViewerModal .modal-dialog{margin:0;max-width:none;width:100vw;height:100vh}
#chatMediaViewerModal .modal-content.tx-media-viewer-modal{height:100vh;width:100vw;border:0;border-radius:0;background:#08090c;overflow:hidden;position:relative}
.tx-media-viewer-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:4;width:44px;height:44px;border:0;border-radius:50%;background:#ffffffeb;color:#111827;display:grid;place-items:center;font-size:1.2rem;box-shadow:0 8px 28px #0006}
.tx-media-viewer-stage{width:100%;height:100%;min-height:0;padding:70px max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:center;overflow:hidden}
.tx-media-viewer-stage img,.tx-media-viewer-stage video{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;background:#000}
:where(.tx-chat-scope) .tx-avatar,.tx-chat-avatar,.tx-call-avatar,.tx-incoming-call-avatar{background:#d1d5db!important}
#chatMediaViewerModal.tx-voucher-viewer-mode{z-index:5000!important;padding:0!important;overflow:hidden!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog.modal-fullscreen{width:min(94vw,520px)!important;max-width:520px!important;height:auto!important;min-height:0!important;margin:12px auto!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-content.tx-media-viewer-modal{width:100%!important;height:auto!important;max-height:calc(100vh - 24px)!important;background:#fff!important;color:#1f2937!important;border:1px solid #e5e7eb!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 24px 80px #0005!important;position:relative!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-close{top:12px!important;right:12px!important;background:#d1d5db!important;color:#111827!important;box-shadow:0 5px 18px #0002!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage{width:100%!important;height:auto!important;max-height:calc(100vh - 24px)!important;min-height:0!important;padding:58px 14px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#fff!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100vh - 96px)!important;object-fit:contain!important;border-radius:12px!important;background:#d1d5db!important}
@media(max-width:560px){
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog.modal-fullscreen{width:calc(100vw - 20px)!important;margin:10px auto!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-content.tx-media-viewer-modal{max-height:calc(100vh - 20px)!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage{max-height:calc(100vh - 20px)!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage img{max-height:calc(100vh - 92px)!important}
}
:where(.tx-chat-scope) .tx-avatar,.tx-chat-avatar,.tx-contact-card-avatar,.tx-contact-profile-avatar,.tx-call-avatar,.tx-incoming-call-avatar{background:#d1d5db!important}
:where(.tx-chat-scope) .tx-avatar img,.tx-chat-avatar img,.tx-contact-card-avatar img,.tx-contact-profile-avatar img,.tx-call-avatar img,.tx-incoming-call-avatar img{background:#d1d5db!important}
:root{--tx-image-neutral:#d1d5db;--tx-card-radius:20px}
.tx-verify-badge{display:inline-block!important;vertical-align:.08em!important;margin-left:3px!important;font-size:.82em!important;text-shadow:none!important}
.tx-verify-blue{color:#1877f2!important}
.tx-verify-silver{color:#a7adb7!important;filter:drop-shadow(0 1px 1px #fff)}
.tx-verify-gold{color:#f2b705!important;filter:drop-shadow(0 1px 1px rgba(97,68,0,.25))}
:where(.tx-chat-scope) .tx-avatar{position:relative}
.tx-online-dot{position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#22c55e;border:2px solid #fff;box-shadow:0 0 0 1px #16a34a55}
.tx-peer-status{font-size:11px;color:#667085;font-weight:600}
.tx-peer-status.online,#chatPresence.online{color:#16a34a;font-weight:800}
.tx-chat-person-copy #chatPresence{font-size:10px;line-height:1.1}
.tx-wa-audio{--voice-progress:0%;display:flex;align-items:center;gap:10px;min-width:min(300px,72vw);padding:4px 2px}
.tx-wa-play{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#455a64;font-size:18px;flex:0 0 auto}
.tx-wa-audio-main{min-width:0;flex:1;position:relative}
.tx-wa-wave{height:32px;display:flex;align-items:center;gap:2px;overflow:hidden}
.tx-wa-wave span{display:block;width:3px;min-width:3px;border-radius:4px;background:#9aa3aa;transition:background .2s}
.tx-wa-audio.is-played .tx-wa-wave span,.tx-wa-audio.is-played .tx-wa-play{color:#1687ff;background-color:transparent}
.tx-wa-audio.is-played .tx-wa-wave span{background:#1687ff}
.tx-wa-audio input[type=range]{position:absolute;left:0;right:0;top:3px;width:100%;height:28px;opacity:.001;cursor:pointer}
.tx-wa-audio-time{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#667085;margin-top:1px}
.tx-wa-audio.is-played .tx-wa-audio-time span:last-child{color:#1687ff;font-weight:700}
#callModal .modal-dialog{margin:0;max-width:none;width:100vw;height:100dvh}
#callModal .modal-content{border:0;border-radius:0!important;height:100dvh}
.tx-call-modal{height:100dvh!important;min-height:100dvh!important;border-radius:0!important;background:#0b141a!important;overflow:hidden!important}
.tx-call-head{position:absolute!important;z-index:5;left:0;right:0;top:0;padding:max(18px,env(safe-area-inset-top)) 18px 38px!important;background:linear-gradient(180deg,#000b,transparent)!important;color:#fff!important}
.tx-call-media{position:absolute!important;inset:0!important;border-radius:0!important;background:#0b141a!important}
.tx-call-media video{width:100%!important;height:100%!important;object-fit:cover!important}
.tx-local-media{position:absolute!important;right:14px!important;bottom:calc(102px + env(safe-area-inset-bottom))!important;top:auto!important;width:min(31vw,175px)!important;height:min(42vw,225px)!important;border-radius:16px!important;overflow:hidden!important;border:2px solid #ffffff80!important;box-shadow:0 10px 35px #0008!important;z-index:6!important;background:#111!important}
.tx-local-media video{width:100%!important;height:100%!important;object-fit:cover!important}
.tx-call-actions{position:absolute!important;z-index:7;left:0!important;right:0!important;bottom:0!important;padding:16px 16px calc(18px + env(safe-area-inset-bottom))!important;background:linear-gradient(0deg,#000c,transparent)!important;display:flex!important;justify-content:center!important;gap:20px!important}
.tx-call-actions .btn{width:58px!important;height:58px!important;border-radius:50%!important;background:#ffffff2e!important;color:#fff!important;border:0!important}
.tx-call-actions .btn.end{background:#e53935!important}
.tx-call-avatar{color:#fff!important}
:root{--tx-chat-green:#0b6b63;--tx-chat-green-dark:#07564f;--tx-chat-sent:#d8efff;--tx-chat-paper:#efeae2}
#messagesView{padding:0!important;background:#fff;min-height:calc(100dvh - 136px)}
#messagesView>.tx-page-title{padding:10px 14px!important;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric));color:#fff}
#messagesView>.tx-page-title h1{color:#fff!important;font-size:1.2rem!important}
.tx-conversation-list{gap:0!important;background:#fff}
.tx-conversation-item{border-radius:0!important;box-shadow:none!important;padding:11px 14px!important;border-bottom:1px solid #eceff2!important;min-height:75px}
.tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;position:relative;overflow:visible!important}
.tx-conversation-item .tx-avatar>img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.tx-conversation-item h3{font-size:.96rem!important;font-weight:800!important;margin:0!important}
.tx-conversation-item p{font-size:.78rem!important;color:#667085!important;margin-top:3px!important}
.tx-conversation-item small{font-size:.66rem!important;color:#73808d}
.tx-conversation-item.has-unread h3,.tx-conversation-item.has-unread small{color:#141b22!important}
.tx-conversation-unread{background:#23b45d!important;color:#fff!important;min-width:21px;height:21px;border-radius:50%!important;display:inline-grid!important;place-items:center!important;font-size:.62rem!important;padding:0 5px!important}
.tx-online-dot{position:absolute!important;right:0!important;bottom:2px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#20c76a!important;border:2px solid #fff!important}
body.tx-chat-open{padding-top:0!important;padding-bottom:0!important;overflow:hidden!important}
.tx-chat-page.active{position:fixed!important;inset:0!important;z-index:2050!important;padding:0!important;display:grid!important;grid-template-rows:auto auto 1fr auto auto;background:var(--tx-chat-paper)!important}
.tx-chat-page-head{min-height:70px!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric))!important;color:#fff!important;border-radius:0!important;display:flex!important;align-items:center!important;gap:8px!important}
.tx-chat-back,.tx-chat-page-head .tx-round{color:#fff!important;background:transparent!important;border:0!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important}
.tx-chat-avatar{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;border:0!important;padding:0!important;position:relative!important;overflow:visible!important;background:#fff2!important;color:#fff!important}
.tx-chat-avatar>img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.tx-chat-person-copy{display:grid!important;min-width:0!important;line-height:1.08!important;flex:1!important}
.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-chat-person-copy small{display:none!important}
.tx-chat-person-copy span{font-size:.68rem!important;color:#e7f5ff!important;margin-top:3px!important}
.tx-chat-head-actions{display:flex!important;align-items:center!important;gap:1px!important}
.tx-chat-messages-page{height:auto!important;min-height:0!important;background-color:#efeae2!important;background-image:radial-gradient(circle at 20px 20px,#d9d3ca55 2px,transparent 2.5px),radial-gradient(circle at 45px 48px,#d9d3ca44 1.5px,transparent 2px)!important;background-size:70px 70px!important;padding:12px 9px 18px!important;gap:3px!important;overflow-y:auto!important}
.tx-bubble{max-width:82%!important;border-radius:8px!important;padding:6px 8px 5px!important;box-shadow:0 1px 1px #0002!important;font-size:.9rem!important;position:relative}
.tx-bubble.mine{background:var(--tx-chat-sent)!important}
.tx-bubble:not(.mine){background:#fff!important}
.tx-bubble small{font-size:.61rem!important;margin-top:2px!important;color:#7d858c!important}
.tx-bubble.mine small{color:#667781!important}
.tx-message-form-page{padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;background:#f0f2f5!important;gap:5px!important;align-items:flex-end!important;display:flex!important;min-height:58px!important}
.tx-message-form-page textarea{display:block!important;visibility:visible!important;opacity:1!important;min-height:43px!important;max-height:115px!important;flex:1!important;border:0!important;border-radius:22px!important;background:#fff!important;padding:11px 13px!important;resize:none!important;outline:none!important;font-size:.92rem!important}
.tx-compose-icon,.tx-send-button{width:43px!important;height:43px!important;flex:0 0 43px!important;border-radius:50%!important;border:0!important;display:grid!important;place-items:center!important}
.tx-compose-icon{background:#fff!important;color:#667781!important}
.tx-send-button,.tx-compose-icon.tx-mic{background:var(--tx-electric)!important;color:#fff!important}
.tx-attachment-menu{bottom:60px!important}
.tx-voice-recorder{background:#f0f2f5!important}
.tx-chat-reply{border-radius:0!important}
.tx-whatsapp-profile{text-align:center;padding:8px 6px}
.tx-whatsapp-profile .tx-contact-profile-avatar{width:128px;height:128px;margin:0 auto 14px;position:relative}
.tx-whatsapp-profile .tx-contact-profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.tx-whatsapp-profile .tx-verification-badge{width:28px;height:28px;font-size:14px;right:2px;top:auto;bottom:4px}
.tx-profile-public-row{display:flex;text-align:left;gap:14px;padding:13px 8px;border-top:1px solid #edf0f3;align-items:center}
.tx-profile-public-row>i{width:30px;text-align:center;color:var(--tx-electric);font-size:1.05rem}
.tx-profile-public-row>div{display:grid}
.tx-profile-public-row small{color:#7d8794;font-size:.68rem}
.tx-profile-public-row strong{font-size:.88rem}
.tx-linked-devices-view{padding:0!important;background:#f6f7f8;min-height:calc(100dvh - 136px)}
.tx-linked-head{height:64px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric));color:#fff;display:flex;align-items:center;gap:10px;padding:0 12px}
.tx-linked-head h1{font-size:1.18rem;margin:0;flex:1}
.tx-linked-head .tx-compose-icon{background:transparent!important;color:#fff!important}
.tx-linked-hero{background:#fff;padding:28px 24px 22px;text-align:center;border-bottom:10px solid #f3f4f6}
.tx-linked-illustration{height:180px;max-width:420px;margin:auto;position:relative;color:var(--tx-blue-dark)}
.tx-linked-illustration>.fa-laptop{font-size:125px;position:absolute;right:20px;bottom:15px;opacity:.72}
.tx-linked-illustration>.fa-mobile-screen-button{font-size:78px;position:absolute;left:22px;bottom:28px;color:var(--tx-electric)}
.tx-linked-illustration>span{position:absolute;left:40%;top:40px;width:55px;height:40px;border-radius:8px;background:var(--tx-purple);color:#fff;display:grid;place-items:center;transform:rotate(-8deg)}
.tx-linked-hero p{max-width:560px;margin:0 auto 18px;color:#64717f}
.tx-linked-button{width:min(100%,600px);border:0;border-radius:999px;background:var(--tx-purple);color:#fff;font-weight:800;padding:13px 20px}
.tx-linked-status{background:#fff;padding:20px 18px}
.tx-linked-status h2{font-size:.9rem;color:#54606c}
.tx-linked-status>p{color:#697580;font-size:.82rem}
.tx-linked-list{display:grid}
.tx-linked-device-row{border-radius:0!important;box-shadow:none!important;border-top:1px solid #edf0f3!important;padding:15px 4px!important}
.tx-linked-device-row .tx-device-icon{width:48px;height:48px;border-radius:50%;background:var(--tx-electric);color:#fff;display:grid;place-items:center;font-size:23px}
.tx-linked-security{display:flex;gap:12px;align-items:flex-start;padding:20px;background:#f4f5f7;color:#6d7781;font-size:.77rem}
.tx-linked-security i{color:var(--tx-purple)}
@media(max-width:700px){
.tx-chat-head-actions .tx-round{width:34px!important;height:34px!important}
}
:where(.tx-chat-scope) .tx-avatar,.tx-chat-avatar,.tx-contact-card-avatar,.tx-contact-profile-avatar{border-radius:50%!important;overflow:hidden}
:where(.tx-chat-scope) .tx-avatar>img,.tx-chat-avatar>img,.tx-contact-card-avatar>img,.tx-contact-profile-avatar>img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
.tx-avatar .tx-verify-badge,.tx-chat-avatar .tx-verify-badge,.tx-contact-profile-avatar .tx-verify-badge{position:static!important}
.tx-chat-name-line,#chatTitle{display:flex!important;align-items:center!important;gap:5px!important}
.tx-chat-name-line .tx-verify-badge,#chatTitle .tx-verify-badge{margin:0!important;flex:0 0 auto}
:where(.tx-chat-scope) .tx-camera{color:var(--tx-purple)!important}
.tx-message-form-page .tx-camera{background:#fff!important;color:#667781!important}
.tx-messages-list-view{padding:0!important;background:#fff!important;position:relative!important;min-height:calc(100dvh - 92px - 66px - var(--safe-bottom))!important}
.tx-chat-list-head{height:58px!important;padding:8px 13px!important;margin:0!important;background:linear-gradient(135deg,#052754,#0069C0)!important;color:#fff!important;border-radius:0!important}
.tx-chat-list-head h1{margin:0!important;color:#fff!important;font-size:1.22rem!important;font-weight:800!important}
.tx-chat-list-menu{width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;font-size:20px}
.tx-chat-list-dropdown{min-width:205px;border:0;border-radius:14px;padding:7px;box-shadow:0 14px 36px #10121826}
.tx-chat-list-dropdown .dropdown-item{border-radius:10px;padding:10px 12px;font-weight:750;color:#17223b}
.tx-chat-list-dropdown .dropdown-item i{width:20px;color:var(--tx-purple)}
.tx-conversation-list{display:grid!important;gap:0!important;background:#fff!important}
.tx-conversation-item{min-height:76px!important;border:0!important;border-bottom:1px solid #eceff2!important;border-radius:0!important;box-shadow:none!important;padding:10px 13px!important;gap:11px!important;background:#fff!important}
.tx-conversation-item.has-unread{background:#f7fbff!important}
.tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;background:#d9dee3!important;position:relative!important;overflow:visible!important;padding:0!important;display:grid!important;place-items:center!important}
.tx-conversation-item .tx-avatar>img{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-conversation-item .grow{min-width:0!important;flex:1!important}
.tx-conversation-item h3{font-size:.93rem!important;line-height:1.2!important;color:#111b21!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-conversation-item p{font-size:.76rem!important;line-height:1.25!important;color:#667781!important;margin-top:3px!important}
.tx-conversation-item .tx-chat-list-time{font-size:.54rem!important;color:#667781!important;max-width:104px!important;text-align:right!important;line-height:1.15!important}
.tx-peer-status{font-size:.61rem!important}
.tx-conversation-unread{background:#20bf6b!important;margin-left:5px!important}
.tx-online-dot{right:1px!important;bottom:1px!important;z-index:3!important}
.tx-new-chat-fab{position:fixed;right:17px;bottom:calc(66px + var(--safe-bottom) + 16px);z-index:1050;width:56px;height:56px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--tx-electric),var(--tx-purple));color:#fff;font-size:21px;box-shadow:0 8px 22px #05275442}
.tx-new-chat-fab>span{position:absolute;right:9px;top:6px;width:15px;height:15px;border-radius:50%;background:#fff;color:var(--tx-purple);font-size:13px;font-weight:900;line-height:15px}
body.tx-chat-open{padding-top:0!important;padding-bottom:calc(66px + var(--safe-bottom))!important;overflow:hidden!important}
.tx-chat-page.active{position:fixed!important;inset:0 0 calc(66px + var(--safe-bottom)) 0!important;z-index:4000!important;padding:0!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;background:#efeae2!important}
.tx-chat-page-head{min-height:68px!important;padding:8px!important;background:linear-gradient(135deg,#052754 0%,#0069C0 70%,#087aff 100%)!important;color:#fff!important;border-radius:0!important;gap:7px!important}
.tx-chat-back,.tx-chat-page-head .tx-round{width:38px!important;height:38px!important;flex:0 0 38px!important;color:#fff!important;background:transparent!important;border:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
.tx-chat-avatar{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;aspect-ratio:1/1!important;border-radius:50%!important;border:0!important;padding:0!important;overflow:hidden!important;background:#ffffff24!important;color:#fff!important;display:grid!important;place-items:center!important}
.tx-chat-avatar>img{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-chat-person-copy{line-height:1.05!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}
.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.1!important}
.tx-chat-person-copy small{display:none!important}
.tx-chat-person-copy span{display:block!important;color:#e9f6ff!important;font-size:.68rem!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-chat-person-copy span.online{color:#d7ffe8!important;font-weight:800!important}
.tx-chat-head-actions{display:flex!important;align-items:center!important;gap:0!important}
.tx-chat-messages-page{height:auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:10px 8px 16px!important;gap:3px!important;background-color:#efeae2!important;background-image:url("../img/chat-doodle-bg.svg")!important;background-repeat:repeat!important;background-size:240px 240px!important;background-position:center!important}
.tx-message-row{width:100%!important;margin:0!important;padding:0 2px!important}
.tx-message-row.incoming{display:flex!important;justify-content:flex-start!important}
.tx-message-row.outgoing{display:flex!important;justify-content:flex-end!important}
.tx-bubble{position:relative!important;max-width:min(82%,560px)!important;border-radius:8px!important;padding:6px 8px 5px!important;background:#fff!important;box-shadow:0 1px 1px #00000024!important;font-size:.93rem!important;line-height:1.25!important;color:#111b21!important}
.tx-bubble.received:before{content:"";position:absolute;left:-7px;top:0;border-top:8px solid #fff;border-left:8px solid transparent}
.tx-bubble.mine{background:#dff3ff!important;border-radius:8px!important}
.tx-bubble.mine:before{content:"";position:absolute;right:-7px;top:0;border-top:8px solid #dff3ff;border-right:8px solid transparent}
.tx-message-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;margin-top:3px!important;min-height:14px!important;color:#667781!important}
.tx-message-meta time{font-size:.56rem!important;line-height:1!important;white-space:nowrap!important;color:#667781!important}
.tx-reply-button{width:20px!important;height:20px!important;border:0!important;background:transparent!important;color:#8a969d!important;padding:0!important;display:grid!important;place-items:center!important;font-size:10px!important}
.tx-message-form-page{margin:0!important;border-radius:0!important;box-shadow:none!important;background:#f0f2f5!important;min-height:58px!important;padding:7px 7px max(7px,env(safe-area-inset-bottom))!important;gap:3px!important;align-items:flex-end!important;display:flex!important}
.tx-message-form-page textarea{height:43px!important;min-height:43px!important;max-height:108px!important;border-radius:22px!important;background:#fff!important;padding:11px 11px!important;font-size:.93rem!important;line-height:1.25!important}
.tx-message-form-page .tx-compose-icon,.tx-message-form-page .tx-send-button{width:41px!important;height:41px!important;flex:0 0 41px!important}
.tx-message-form-page .tx-compose-icon{background:#fff!important;color:#667781!important}
.tx-message-form-page .tx-send-button,.tx-message-form-page .tx-mic{background:var(--tx-electric)!important;color:#fff!important}
.tx-attachment-menu{bottom:54px!important}
.tx-qr-link-dialog{width:min(94vw,500px)!important;max-width:500px!important;margin-left:auto!important;margin-right:auto!important}
.tx-qr-link-dialog .modal-content{max-height:min(68dvh,620px)!important;border-radius:20px!important;overflow:hidden!important}
.tx-qr-link-dialog .modal-body{overflow-y:auto!important;overscroll-behavior:contain!important;padding:15px!important}
.tx-qr-help{font-size:.78rem;color:#667085;margin-bottom:10px}
.tx-qr-capture{position:relative;height:230px;border-radius:16px;overflow:hidden;background:#14191f;display:grid;place-items:center}
.tx-qr-video{width:100%!important;height:100%!important;object-fit:cover!important;background:#111!important;display:block!important}
.tx-qr-video.d-none{display:none!important}
.tx-qr-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d5dce2;gap:5px;text-align:center;padding:20px}
.tx-qr-placeholder i{font-size:30px}
.tx-qr-placeholder strong{font-size:.9rem}
.tx-qr-placeholder small{font-size:.7rem;color:#aeb8c2}
.tx-qr-video:not(.d-none)~.tx-qr-placeholder{display:none}
.tx-qr-frame{position:absolute;left:50%;top:50%;width:168px;height:168px;transform:translate(-50%,-50%);z-index:4;pointer-events:none}
.tx-qr-frame span{position:absolute;width:34px;height:34px;border-color:#fff;border-style:solid}
.tx-qr-frame span:nth-child(1){left:0;top:0;border-width:4px 0 0 4px}
.tx-qr-frame span:nth-child(2){right:0;top:0;border-width:4px 4px 0 0}
.tx-qr-frame span:nth-child(3){left:0;bottom:0;border-width:0 0 4px 4px}
.tx-qr-frame span:nth-child(4){right:0;bottom:0;border-width:0 4px 4px 0}
.tx-qr-status{font-size:.72rem!important;text-align:center!important;color:#667085!important;padding:7px 2px 1px!important}
.tx-qr-manual{margin-top:13px;padding-top:12px;border-top:1px solid #e8ecf1}
@media(max-width:700px){
.tx-messages-list-view{min-height:calc(100dvh - 86px - 66px - var(--safe-bottom))!important}
.tx-bubble{max-width:86%!important}
.tx-message-meta time{font-size:.52rem!important}
.tx-qr-link-dialog .modal-content{max-height:66dvh!important}
.tx-qr-capture{height:210px!important}
}
.tx-message-form-page .tx-message-input-shell{flex:1 1 auto;min-width:0;min-height:43px;display:flex;align-items:flex-end;background:#fff;border-radius:23px;padding:0 3px;box-shadow:0 1px 1px #00000010}
.tx-message-form-page .tx-message-input-shell textarea{flex:1 1 auto;width:auto!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:11px 5px!important;resize:none!important}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:36px!important;height:41px!important;min-width:36px!important;flex:0 0 36px!important;border:0!important;background:transparent!important;color:#667781!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
.tx-message-form-page .tx-message-input-shell .tx-emoji{font-size:19px!important}
.tx-message-form-page .tx-message-input-shell .tx-camera{background:transparent!important;color:#667781!important}
.tx-message-form-page>.tx-mic,.tx-message-form-page>.tx-send-button{width:43px!important;height:43px!important;min-width:43px!important;flex:0 0 43px!important;border-radius:50%!important;background:var(--tx-electric)!important;color:#fff!important;border:0!important;display:grid!important;place-items:center!important}
#conversationSelectionBar{display:none!important}
#messagesView>.tx-chat-list-head,.tx-chat-list-head{height:54px!important;min-height:54px!important;padding:6px 13px!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff!important;background-image:none!important;color:#0069C0!important;
  border:0!important;border-bottom:1px solid #e8edf2!important;border-radius:0!important;box-shadow:none!important;}
#messagesView>.tx-chat-list-head h1,.tx-chat-list-head h1{margin:0!important;color:#0069C0!important;font-size:1.18rem!important;font-weight:850!important;line-height:1!important;}
.tx-chat-list-menu{width:40px!important;height:40px!important;border:0!important;border-radius:50%!important;background:transparent!important;
  color:#0069C0!important;display:grid!important;place-items:center!important;font-size:20px!important;padding:0!important;}
.tx-conversation-list{display:grid!important;gap:0!important;background:#fff!important;overflow:hidden!important}
.tx-conversation-item{position:relative!important;width:100%!important;min-height:76px!important;display:flex!important;align-items:center!important;
  gap:11px!important;padding:10px 13px!important;margin:0!important;border:0!important;border-bottom:1px solid #eceff2!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;cursor:pointer!important;
  transition:padding-right .18s ease,background .18s ease!important;}
.tx-conversation-item.has-unread{background:#f7fbff!important}
.tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:visible!important;background:#d9dee3!important;
  display:grid!important;place-items:center!important;color:#006eff!important;font-size:23px!important;padding:0!important;}
.tx-conversation-item .tx-avatar>img{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;}
.tx-conversation-item .grow{flex:1 1 auto!important;min-width:0!important}
.tx-conversation-item h3{font-size:.93rem!important;line-height:1.18!important;color:#111b21!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}
.tx-conversation-item p{font-size:.76rem!important;line-height:1.22!important;color:#667781!important;margin:4px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-chat-list-time{font-size:.56rem!important;color:#667781!important;line-height:1.15!important;white-space:normal!important;text-align:right!important;max-width:112px!important}
.tx-chat-row-trash{position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:58px!important;border:0!important;border-left:1px solid #efd4d4!important;
  background:#fff1f1!important;color:#c62828!important;font-size:20px!important;display:grid!important;place-items:center!important;
  transform:translateX(105%)!important;opacity:0!important;pointer-events:none!important;transition:transform .2s ease,opacity .2s ease!important;z-index:4!important;}
.tx-conversation-item.is-delete-ready{padding-right:70px!important;background:#fffafa!important}
.tx-conversation-item.is-delete-ready .tx-chat-row-trash{transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important}
.tx-conversation-item.is-delete-ready .tx-chat-row-trash:active{background:#ffe3e3!important}
body.tx-chat-open{padding-top:0!important;padding-bottom:calc(66px + var(--safe-bottom))!important;overflow:hidden!important}
#chatView.tx-chat-page.active{position:fixed!important;inset:0 0 calc(66px + var(--safe-bottom)) 0!important;z-index:4000!important;padding:0!important;
  display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;min-height:0!important;height:auto!important;
  background:#efeae2!important;overflow:hidden!important;}
.tx-chat-page-head{min-height:68px!important;height:68px!important;padding:7px 8px!important;margin:0!important;display:flex!important;align-items:center!important;
  gap:7px!important;background:linear-gradient(135deg,#052754 0%,#0069C0 70%,#087aff 100%)!important;color:#fff!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;}
.tx-chat-back,.tx-chat-page-head .tx-round{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;font-size:18px!important;}
.tx-chat-avatar{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
  flex:0 0 44px!important;aspect-ratio:1/1!important;border-radius:50%!important;border:0!important;padding:0!important;overflow:hidden!important;
  background:#ffffff2b!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:20px!important;}
.tx-chat-avatar>img{width:44px!important;height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-chat-person-copy{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.05!important;overflow:hidden!important}
.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.08!important}
.tx-chat-person-copy small{display:none!important}
.tx-chat-person-copy span{display:block!important;color:#e9f6ff!important;font-size:.68rem!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-chat-person-copy span.online{color:#d7ffe8!important;font-weight:800!important}
.tx-chat-head-actions{margin-left:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;white-space:nowrap!important}
.tx-chat-head-actions>.tx-round,.tx-chat-head-actions>.dropdown>.tx-round{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important}
.tx-chat-messages-page{min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
  padding:10px 8px 16px!important;gap:3px!important;background-color:#efeae2!important;background-image:url("../img/chat-doodle-bg.svg")!important;
  background-repeat:repeat!important;background-size:240px 240px!important;background-position:center!important;}
#chatView.active #messageForm.tx-message-form-page:not(.d-none){display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:20!important;flex:0 0 auto!important;
  width:100%!important;min-height:58px!important;margin:0!important;padding:7px!important;border:0!important;border-radius:0!important;
  background:#f0f2f5!important;box-shadow:0 -1px 0 #dfe3e6!important;align-items:flex-end!important;gap:4px!important;}
.tx-message-form-page .tx-message-input-shell{flex:1 1 auto!important;min-width:0!important;min-height:43px!important;display:flex!important;align-items:flex-end!important;background:#fff!important;
  border-radius:23px!important;padding:0 3px!important;box-shadow:0 1px 1px #00000010!important;}
.tx-message-form-page .tx-message-input-shell textarea{flex:1 1 auto!important;width:auto!important;height:43px!important;min-height:43px!important;max-height:108px!important;border:0!important;outline:0!important;
  box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:11px 5px!important;resize:none!important;font-size:.93rem!important;line-height:1.25!important;}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:36px!important;height:41px!important;min-width:36px!important;flex:0 0 36px!important;border:0!important;background:transparent!important;color:#667781!important;
  border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;font-size:18px!important;}
.tx-message-form-page>.tx-mic,.tx-message-form-page>.tx-send-button{width:43px!important;height:43px!important;min-width:43px!important;flex:0 0 43px!important;border-radius:50%!important;background:#087aff!important;
  color:#fff!important;border:0!important;display:grid!important;place-items:center!important;padding:0!important;}
#voiceRecorderBar:not(.d-none){display:flex!important;position:relative!important;z-index:20!important;min-height:58px!important}
@media(max-width:420px){
.tx-chat-page-head{gap:4px!important;padding-left:5px!important;padding-right:5px!important}
.tx-chat-back,.tx-chat-page-head .tx-round,.tx-chat-head-actions>.tx-round,.tx-chat-head-actions>.dropdown>.tx-round{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}
.tx-chat-avatar{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}
.tx-chat-avatar>img{width:42px!important;height:42px!important}
.tx-chat-person-copy strong{font-size:.92rem!important}
}
#chatView.tx-chat-page.active{grid-template-rows:auto auto minmax(0,1fr) auto!important;
  grid-template-columns:minmax(0,1fr)!important;}
#chatView.tx-chat-page.active>.tx-chat-page-head{grid-row:1!important;grid-column:1!important;position:relative!important;overflow:visible!important;z-index:120!important}
#chatView.tx-chat-page.active>#chatReplyBar{grid-row:2!important;grid-column:1!important;position:relative!important;z-index:30!important}
#chatView.tx-chat-page.active>#chatMessages{grid-row:3!important;grid-column:1!important;min-height:0!important;max-height:none!important;align-self:stretch!important}
#chatView.tx-chat-page.active>#voiceRecorderBar,#chatView.tx-chat-page.active>#messageForm{grid-row:4!important;grid-column:1!important;align-self:end!important}
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page{display:flex!important;visibility:visible!important;opacity:1!important;
  width:100%!important;min-width:0!important;min-height:58px!important;max-height:138px!important;
  position:relative!important;inset:auto!important;z-index:90!important;overflow:visible!important;}
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page.d-none{display:none!important}
#chatView.tx-chat-page.active>#voiceRecorderBar:not(.d-none){display:flex!important;z-index:91!important}
#chatView .tx-chat-page-head .tx-chat-head-actions,#chatView .tx-chat-page-head .tx-chat-head-actions>.dropdown{position:relative!important;overflow:visible!important;z-index:130!important}
#chatView .tx-chat-page-head .dropdown-menu{z-index:12050!important;max-height:min(62dvh,420px)!important;overflow-y:auto!important;overflow-x:hidden!important}
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page{min-height:56px!important;
  max-height:56px!important;
  height:56px!important;
  padding:6px 7px!important;
  margin:0!important;
  gap:6px!important;
  align-items:center!important;
  background:#efeae2!important;
  box-shadow:none!important;
  border:0!important;
  overflow:visible!important;}
.tx-message-form-page .tx-message-input-shell{flex:1 1 auto!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
  background:#fff!important;
  border:0!important;
  border-radius:22px!important;
  padding:0 2px!important;
  box-shadow:0 1px 2px rgba(17,27,33,.12)!important;}
.tx-message-form-page .tx-message-input-shell textarea{flex:1 1 auto!important;
  width:1%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:11px 4px 10px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  resize:none!important;
  overflow-y:hidden!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#111b21!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:22px!important;
  font-family:inherit!important;}
.tx-message-form-page .tx-message-input-shell textarea::placeholder{color:#8a949b!important;opacity:1!important}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:36px!important;
  height:44px!important;
  min-width:36px!important;
  min-height:44px!important;
  flex:0 0 36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  color:#667781!important;
  box-shadow:none!important;
  font-size:18px!important;
  line-height:1!important;}
.tx-message-form-page .tx-message-input-shell>.tx-emoji{font-size:19px!important}
.tx-message-form-page .tx-message-input-shell>.tx-camera{font-size:17px!important}
.tx-message-form-page .tx-attachment-wrap{position:relative!important;
  width:36px!important;
  height:44px!important;
  min-width:36px!important;
  flex:0 0 36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;}
.tx-message-form-page>.tx-mic,.tx-message-form-page>.tx-send-button{width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  flex:0 0 44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:var(--tx-electric)!important;
  color:#fff!important;
  box-shadow:0 1px 2px rgba(17,27,33,.18)!important;
  font-size:18px!important;
  line-height:1!important;}
.tx-message-form-page>.tx-send-button{font-size:16px!important}
.tx-message-form-page>.tx-mic.d-none,.tx-message-form-page>.tx-send-button.d-none{display:none!important}
@media(max-width:360px){
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page{padding-left:5px!important;padding-right:5px!important;gap:5px!important}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:34px!important;min-width:34px!important;flex-basis:34px!important}
.tx-message-form-page .tx-attachment-wrap{width:34px!important;min-width:34px!important;flex-basis:34px!important}
}
.tx-linked-head{height:64px!important;
  min-height:64px!important;
  background:#fff!important;
  color:var(--tx-electric)!important;
  border-bottom:1px solid #e7ebef!important;
  box-shadow:none!important;}
.tx-linked-head h1{color:var(--tx-electric)!important;font-weight:800!important}
.tx-linked-head .tx-compose-icon{background:transparent!important;color:var(--tx-electric)!important}
#chatPresence.tx-chat-activity{color:#fff!important;font-weight:700!important;opacity:1!important}
.tx-receipt{display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  min-width:auto!important;
  color:#7a858e!important;
  font-size:10px!important;
  line-height:1!important;}
.tx-receipt i{display:block!important;margin:0!important}
.tx-receipt i+i{margin-left:-1px!important}
.tx-receipt.sent,.tx-receipt.delivered{color:#7a858e!important}
.tx-receipt.read{color:var(--tx-electric)!important}
.tx-wa-audio.is-played{background:rgba(33,150,243,.10)!important;
  border:1px solid rgba(33,150,243,.24)!important;
  border-radius:11px!important;
  padding:5px 7px!important;}
.tx-wa-audio.is-played .tx-wa-wave span,.tx-wa-audio.is-played .tx-wa-play,.tx-wa-audio.is-played .tx-wa-audio-time span:last-child{color:var(--tx-electric)!important}
.tx-wa-audio.is-played .tx-wa-wave span{background:var(--tx-electric)!important}
#messageForm{position:relative!important;overflow:visible!important}
.tx-emoji-picker{position:absolute!important;
  left:6px!important;
  bottom:calc(100% + 6px)!important;
  width:min(430px,calc(100vw - 18px))!important;
  height:min(330px,46dvh)!important;
  max-height:330px!important;
  display:grid!important;
  grid-template-rows:48px minmax(0,1fr)!important;
  background:#fff!important;
  border:1px solid #dfe4e8!important;
  border-radius:16px!important;
  box-shadow:0 12px 34px rgba(17,27,33,.24)!important;
  overflow:hidden!important;
  z-index:14000!important;}
.tx-emoji-tabs{display:flex!important;
  align-items:center!important;
  gap:2px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 5px!important;
  border-bottom:1px solid #edf0f2!important;
  scrollbar-width:none!important;}
.tx-emoji-tabs::-webkit-scrollbar{display:none!important}
.tx-emoji-tabs button{flex:0 0 42px!important;width:42px!important;height:38px!important;
  border:0!important;border-radius:9px!important;background:transparent!important;
  display:grid!important;place-items:center!important;font-size:20px!important;}
.tx-emoji-tabs button.active{background:#eaf5ff!important}
.tx-emoji-grid{min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  align-content:start!important;
  gap:1px!important;
  padding:7px!important;
  overscroll-behavior:contain!important;}
.tx-emoji-grid button{border:0!important;background:transparent!important;border-radius:8px!important;
  min-width:0!important;height:39px!important;padding:0!important;
  display:grid!important;place-items:center!important;font-size:25px!important;line-height:1!important;}
.tx-emoji-grid button:active,.tx-emoji-grid button:hover{background:#f0f4f7!important}
@media(max-width:430px){
.tx-emoji-picker{left:4px!important;width:calc(100vw - 12px)!important;height:min(315px,44dvh)!important}
.tx-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}
#chatMediaViewerModal{overflow:hidden!important;
  padding:0!important;}
#chatMediaViewerModal .modal-dialog{width:100vw!important;
  max-width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;}
#chatMediaViewerModal .modal-content.tx-media-viewer-modal{width:100%!important;height:100%!important;max-height:100dvh!important;
  overflow:hidden!important;border-radius:0!important;}
#chatMediaViewerModal .tx-media-viewer-stage{width:100%!important;height:100%!important;min-height:0!important;
  overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;}
#chatMediaViewerModal .tx-media-viewer-stage img,#chatMediaViewerModal .tx-media-viewer-stage video{width:auto!important;height:auto!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;}
#chatAttachmentPreviewModal{overflow:hidden!important;padding:0!important}
#chatAttachmentPreviewModal .modal-dialog{width:min(760px,calc(100vw - 16px))!important;
  max-width:760px!important;
  height:min(94dvh,760px)!important;
  max-height:94dvh!important;
  margin:auto!important;}
#chatAttachmentPreviewModal .modal-content{width:100%!important;height:100%!important;max-height:94dvh!important;
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;}
#chatAttachmentPreviewModal .modal-body{min-height:0!important;overflow:hidden!important;
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;
  align-content:stretch!important;}
#chatAttachmentPreviewModal .tx-attachment-preview{min-height:0!important;height:100%!important;max-height:none!important;
  overflow:hidden!important;padding:8px!important;}
#chatAttachmentPreviewModal .tx-attachment-preview-image,#chatAttachmentPreviewModal .tx-attachment-preview-video{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;}
#chatAttachmentPreviewModal textarea{max-height:72px!important;resize:none!important}
@media(max-height:620px){
#chatAttachmentPreviewModal .modal-dialog{height:calc(100dvh - 10px)!important;max-height:calc(100dvh - 10px)!important}
#chatAttachmentPreviewModal .modal-content{max-height:calc(100dvh - 10px)!important}
#chatAttachmentPreviewModal .modal-header{padding-top:8px!important;padding-bottom:8px!important}
#chatAttachmentPreviewModal .modal-footer{padding-top:7px!important;padding-bottom:7px!important}
#chatAttachmentPreviewModal .modal-body{padding-top:8px!important;padding-bottom:8px!important}
}
.tx-receipt-checks{display:inline-flex!important;align-items:center!important;gap:0!important}
#devicesView .tx-linked-head .tx-chat-back{color:#667085!important;
  background:transparent!important;}
#devicesView .tx-linked-head .tx-chat-back i{color:#667085!important}
#devicesView .tx-linked-head .tx-chat-back:hover,#devicesView .tx-linked-head .tx-chat-back:focus-visible{color:#475467!important;
  background:#f2f4f7!important;}
.tx-message-form-page .tx-attachment-wrap>.tx-attachment-menu{left:auto!important;
  right:0!important;
  width:min(205px,calc(100vw - 16px))!important;
  min-width:0!important;
  max-width:calc(100vw - 16px)!important;
  box-sizing:border-box!important;
  transform:none!important;
  overflow-x:hidden!important;}
@media(max-width:700px){
.tx-message-form-page .tx-attachment-wrap>.tx-attachment-menu{left:auto!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    width:min(205px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;}
}
#messagesView>.tx-chat-list-head{height:auto!important;min-height:52px!important;padding:5px 3px 14px!important;margin:0 10px!important;
  background:transparent!important;background-image:none!important;color:var(--tx-purple)!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;}
#messagesView>.tx-chat-list-head h1{margin:0!important;color:var(--tx-purple)!important;font-size:26px!important;font-weight:700!important;line-height:1.2!important;}
#messagesView>.tx-chat-list-head .tx-chat-list-menu{color:var(--tx-purple)!important;background:transparent!important;}
body.tx-chat-open #chatView.tx-chat-page.active>.tx-chat-page-head{position:sticky!important;top:0!important;left:0!important;right:0!important;z-index:14500!important;
  align-self:start!important;width:100%!important;flex:0 0 auto!important;overflow:visible!important;}
body.tx-chat-open #chatView.tx-chat-page.active>#chatMessages{overscroll-behavior:contain!important;min-height:0!important;}
body :where(.tx-chat-scope) .modal{z-index:2147482000!important}
#callModal{z-index:2147483300!important}
.tx-incoming-call{z-index:2147483350!important}
#callModal .modal-dialog,#callModal .modal-content{height:100dvh!important;max-height:100dvh!important}
.tx-call-head{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;padding-top:max(18px,env(safe-area-inset-top))!important}
.tx-call-id-avatar{width:66px;height:66px;flex:0 0 66px;border-radius:50%;overflow:hidden;background:#ffffff1c;display:grid;place-items:center;font-size:1.6rem}
.tx-call-id-avatar img{width:100%;height:100%;object-fit:cover}
.tx-call-id-copy{display:grid;gap:2px;text-align:left}
.tx-call-id-copy h2{margin:0}
.tx-call-id-copy #callStatus{display:block}
#callModal{z-index:2147483500!important}
#callModal+.modal-backdrop,.modal-backdrop:has(+ #callModal){z-index:2147483490!important}
.tx-call-id-copy #callPeerName .tx-verify-badge,.tx-incoming-call-copy .tx-verify-badge{display:inline-block;vertical-align:middle;margin-left:4px}
.tx-call-media audio[data-tx-call-audio]{position:absolute!important;width:1px!important;height:1px!important;opacity:.001!important;pointer-events:none!important}
.tx-call-actions{flex-wrap:nowrap!important}
.tx-call-actions .btn{flex:0 0 58px!important}
body #chatMediaViewerModal.tx-voucher-viewer-mode{z-index:2147483646!important;}
body #chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog,body #chatMediaViewerModal.tx-voucher-viewer-mode .modal-content{position:relative!important;
  z-index:2147483646!important;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-content{overflow:hidden;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header{min-height:58px; padding:14px 18px;
  background:var(--tx-electric,#087aff) !important;
  border:0 !important; border-bottom:5px solid var(--tx-purple,#006eff) !important;
  color:#fff !important; align-items:center; justify-content:space-between;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header .modal-title,body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header h1,body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header h2,body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header h3{margin:0 !important; color:#fff !important; text-align:left !important;
  font-weight:800; line-height:1.2;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header small{color:rgba(255,255,255,.86)!important;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header .btn-close{opacity:1; filter:brightness(0) invert(1); margin:0 !important;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-content,body.tx-driver-market-ui :where(.tx-chat-scope) .modal .tx-modal,body.tx-driver-market-ui :where(.tx-chat-scope) .tx-modal{border:0!important;outline:0!important;box-shadow:0 20px 70px rgba(0,0,0,.34)!important}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal .modal-header,body.tx-driver-market-ui :where(.tx-chat-scope) .tx-modal-header{border-bottom:0!important}
.tx-media-image,.tx-media-video-wrap{position:relative!important;display:block!important;width:190px!important;height:145px!important;max-width:62vw!important;max-height:145px!important;margin:-2px -2px 5px!important;padding:0!important;border:0!important;border-radius:9px!important;overflow:hidden!important;background:#111!important}
.tx-media-image img,.tx-media-video-wrap .tx-media-video{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;margin:0!important;background:#111!important}
.tx-media-play{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;pointer-events:none!important}
.tx-media-play i{width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#000a!important;color:#fff!important;font-size:18px!important;padding-left:3px!important}
@media(max-width:600px){
.tx-media-image,.tx-media-video-wrap{width:170px!important;height:128px!important;max-width:64vw!important;max-height:128px!important}
}

/* ---- origen: Marketplace ui-overrides.css ---- */
body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-content{border:0!important;overflow:hidden!important}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .tx-modal-header{min-height:58px!important;
  padding:14px 18px!important;
  background:#087aff!important;
  background-image:none!important;
  color:#fff!important;
  border:0!important;
  border-bottom:5px solid #006eff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header .modal-title,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header h1,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header h2,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header h3,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header h4,body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header h5{color:#fff!important;text-align:left!important;margin:0!important;font-weight:850!important;}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header small{color:rgba(255,255,255,.86)!important}
body.tx-driver-market-ui :where(.tx-chat-scope) .modal:not(#callModal) .modal-header .btn-close{filter:brightness(0) invert(1)!important;opacity:1!important;margin:0!important}

/* ---- origen: Marketplace profile.css ---- */
:where(.tx-chat-scope) .tx-avatar>img,.tx-chat-avatar>img,.tx-contact-card-avatar>img,.tx-contact-profile-avatar>img{width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;padding:0!important}

/* ---- Solo Driver ---------------------------------------------------------
 * La barra inferior de Driver mide 72px (la de Marketplace 66px). La
 * conversación y el botón «Nuevo chat» se apoyan sobre ella igual que en
 * Marketplace, y el chat usa la misma tipografía.
 */
body.tx-driver-market-ui.tx-chat-open #chatView.tx-chat-page.active{inset:0 0 calc(72px + var(--safe-bottom)) 0!important}
body.tx-driver-market-ui .tx-new-chat-fab{bottom:calc(72px + var(--safe-bottom) + 16px)!important}
body.tx-driver-market-ui .tx-chat-scope,body.tx-driver-market-ui #incomingCallBar{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
/* Contador de mensajes sin leer en la barra inferior (mismo estilo de Marketplace). */
body.tx-driver-market-ui #messagesFooterBadge{position:absolute;top:1px;left:58%;background:var(--tx-purple,#006eff);color:#fff;border-radius:20px;padding:3px 6px;font-size:10px;line-height:1}
/* El listado de Mensajes ocupa el ancho como en Marketplace. */
html[data-driver-tab="messages"] body.tx-driver-market-ui .driver-main{padding:8px 10px 0!important}
body.driver-app-body .driver-footer button span#messagesFooterBadge:not(.d-none){display:inline-block!important}
/* Recuadro del anuncio que un cliente adjunta con «Mensaje al vendedor» (igual que Marketplace). */
.tx-chat-listing-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;width:100%;min-width:210px;border:0;border-radius:12px;background:#ffffffb8;padding:6px;margin:0 0 6px;text-align:left;color:inherit;border-left:4px solid var(--tx-purple,#006eff)}
.tx-chat-listing-card img,.tx-chat-listing-card>i{width:52px;height:52px;border-radius:9px;object-fit:cover;background:#eceff3;display:grid;place-items:center;color:var(--tx-purple,#006eff);font-size:1.3rem}
.tx-chat-listing-card span{display:grid;min-width:0}
.tx-chat-listing-card small{font-size:.68rem;font-weight:800;color:var(--tx-purple,#006eff);text-transform:uppercase;letter-spacing:.04em}
.tx-chat-listing-card b{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-chat-listing-card em{font-style:normal;font-weight:800;font-size:.85rem}
