/* GD2 desktop: TA AI is a floating control ABOVE the existing right-side contacts. */
#ta543-launch{
 position:fixed!important;right:17px!important;bottom:270px!important;
 z-index:99998!important;display:flex!important;align-items:center;justify-content:center;
 width:54px!important;height:54px!important;box-sizing:border-box!important;
 padding:4px!important;border-radius:50%!important;
 border:2px solid #ffad50!important;background:linear-gradient(145deg,#147ec9,#07549b)!important;
 color:#fff!important;font:800 11px/1.1 "Segoe UI",Arial,sans-serif!important;
 letter-spacing:0!important;text-align:center!important;white-space:normal!important;
 box-shadow:0 5px 16px #113b6c40!important;cursor:pointer;
}
#ta543-launch:focus-visible{outline:3px solid #ffb84c;outline-offset:3px}
#ta543-panel{position:fixed!important;right:85px!important;bottom:30px!important;z-index:99999!important;
 width:min(390px,calc(100vw - 110px))!important;max-height:min(650px,80vh)!important;
 box-sizing:border-box!important;overflow:hidden!important}
#ta543-panel:not(.open){display:none!important}
#ta543-panel.open{display:flex!important}
@media(max-width:640px){#ta543-launch{right:12px!important;bottom:260px!important;width:49px!important;height:49px!important;font-size:10px!important}
#ta543-panel{right:10px!important;bottom:85px!important;width:calc(100vw - 20px)!important;max-height:68vh!important}}

/* GD2 headset agent UI: scoped exclusively to TA AI elements. */
#ta543-launch{padding:0!important;overflow:visible!important;background:#0c68b6!important;border:2px solid #f9a44a!important}
#ta543-launch img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
#ta543-launch .ta543-online-dot{position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#16c47f;border:2px solid white;box-shadow:0 1px 4px #0003}
#ta543-head{gap:10px!important;background:linear-gradient(110deg,#084a9d,#087fbb)!important;padding:12px 14px!important}
#ta543-head .ta543-head-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #fff;flex:none}
#ta543-head .ta543-head-title{flex:1;min-width:0}
#ta543-head .ta543-head-title b{font-size:14px;letter-spacing:.15px}
#ta543-head .ta543-head-title small{font-size:12px;color:#e9f6ff}
#ta543-head .ta543-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#21d68d;margin-right:3px}
#ta543-head #ta543-close{flex:none}
#ta543-panel{border-radius:17px!important;box-shadow:0 14px 42px #123b6570!important}
#ta543-chat p{border-radius:13px!important;line-height:1.5!important}
#ta543-chat p.mine{background:#dceeff!important}
#ta543-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
#ta543-actions button{font-size:12px!important;padding:9px 5px!important;white-space:normal!important}
@media(max-width:360px){#ta543-actions{grid-template-columns:1fr!important}}
