#tdj-assistant-launcher{position:fixed;right:22px;bottom:22px;z-index:10020;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:7px 16px 7px 7px;background:#073b78;color:#fff;box-shadow:0 12px 32px rgba(0,38,82,.28);font:800 13px/1.1 Arial,sans-serif;letter-spacing:.04em;cursor:pointer}
#tdj-assistant-launcher img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #fff}
#tdj-assistant-launcher small{display:block;font-size:10px;font-weight:500;opacity:.8;letter-spacing:0;margin-top:3px}
#tdj-assistant{position:fixed;right:22px;bottom:88px;z-index:10021;width:min(390px,calc(100vw - 24px));height:min(610px,calc(100vh - 120px));background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(0,32,70,.3);display:none;flex-direction:column;font-family:Arial,sans-serif;color:#10223a}
#tdj-assistant.open{display:flex}
.tdj-a-head{background:linear-gradient(135deg,#075fae,#073b78);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:11px}.tdj-a-head img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.9)}.tdj-a-head strong{display:block;font-size:17px}.tdj-a-head span{font-size:11px;opacity:.82}.tdj-a-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
.tdj-a-intro{padding:16px 16px 8px}.tdj-a-intro b{font-size:20px}.tdj-a-intro p{margin:5px 0 10px;color:#63748b;font-size:13px}.tdj-a-chips{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tdj-a-chip{border:0;border-radius:12px;padding:10px 8px;background:#075fae;color:#fff;font-weight:800;font-size:11px;cursor:pointer}
.tdj-a-chat{flex:1;overflow:auto;padding:10px 15px;background:#f5f8fb;display:flex;flex-direction:column;gap:9px}.tdj-a-msg{max-width:84%;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.4}.tdj-a-msg.bot{align-self:flex-start;background:#fff;border:1px solid #e1e8f0}.tdj-a-msg.user{align-self:flex-end;background:#dcecff;color:#10223a}.tdj-a-note{font-size:10px;color:#7b8998;text-align:center;padding:3px 14px 0}
.tdj-a-form{display:flex;gap:7px;padding:10px 12px 12px;background:#fff}.tdj-a-form input{flex:1;min-width:0;border:1px solid #d4dde8;border-radius:12px;padding:11px 12px;font-size:13px;outline:none}.tdj-a-form button{width:42px;border:0;border-radius:12px;background:#075fae;color:#fff;font-size:19px;cursor:pointer}
@media(max-width:600px){#tdj-assistant-launcher{right:12px;bottom:12px}#tdj-assistant{right:8px;bottom:78px;width:calc(100vw - 16px);height:min(650px,calc(100vh - 92px));border-radius:18px}.tdj-a-head{padding-top:12px}}

.tdj-a-note{display:none!important;}
/* V2.2.1 mobile viewport fix */
#tdj-assistant,#tdj-assistant *{box-sizing:border-box}
@media(max-width:600px){
  #tdj-assistant{left:8px!important;right:8px!important;width:auto!important;max-width:none!important;bottom:74px!important;height:min(650px,calc(100dvh - 86px))!important;max-height:calc(100dvh - 86px)!important;}
  .tdj-a-form{width:100%!important;max-width:100%!important;padding:9px 10px 11px!important;overflow:hidden!important;flex:0 0 auto!important}
  .tdj-a-form input{width:0!important;min-width:0!important;flex:1 1 0!important;font-size:16px!important}
  .tdj-a-form button{width:44px!important;min-width:44px!important;flex:0 0 44px!important}
  .tdj-a-chat{min-height:0!important}
  .tdj-a-intro{flex:0 0 auto!important}
}

/* V2.2.2 mobile hardening */
@media(max-width:600px){
 #tdj-assistant{left:6px!important;right:6px!important;width:auto!important;max-width:calc(100vw - 12px)!important;bottom:calc(70px + env(safe-area-inset-bottom))!important;height:calc(100dvh - 82px - env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 82px - env(safe-area-inset-bottom))!important}
 .tdj-a-form{display:flex!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
 .tdj-a-form input{width:0!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important;font-size:16px!important}
 .tdj-a-form button{width:44px!important;min-width:44px!important;flex:0 0 44px!important}
}

/* V3.0 mobile */
@media(max-width:600px){
 #tdj-assistant{left:6px!important;right:6px!important;width:auto!important;max-width:calc(100vw - 12px)!important}
 .tdj-a-form{display:flex!important;width:100%!important;overflow:hidden!important}
 .tdj-a-form input{width:0!important;min-width:0!important;flex:1 1 0!important;font-size:16px!important}
 .tdj-a-form button{min-width:44px!important;flex:0 0 44px!important}
}

/* V3.1 conversational welcome */
.tdj-a-nudge{position:fixed;right:22px;bottom:92px;z-index:10019;width:min(350px,calc(100vw - 28px));padding:14px 14px 12px;background:#fff;color:#10223a;border:1px solid #dfe7f0;border-radius:18px;box-shadow:0 18px 50px rgba(0,32,70,.24);font-family:Arial,sans-serif;opacity:0;visibility:hidden;transform:translateY(10px) scale(.98);transition:.22s ease}
.tdj-a-nudge.show{opacity:1;visibility:visible;transform:none}
.tdj-a-nudge:after{content:"";position:absolute;right:42px;bottom:-8px;width:16px;height:16px;background:#fff;border-right:1px solid #dfe7f0;border-bottom:1px solid #dfe7f0;transform:rotate(45deg)}
.tdj-a-nudge-text{font-size:13px;line-height:1.42;padding-right:18px}.tdj-a-nudge-text strong{font-size:14px}
.tdj-a-nudge-close{position:absolute;right:7px;top:5px;border:0;background:transparent;color:#66778c;font-size:20px;cursor:pointer;z-index:2}
.tdj-a-nudge-actions,.tdj-a-welcome-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.tdj-a-nudge-actions button,.tdj-a-welcome-actions button{border:0;border-radius:11px;padding:9px 8px;background:#075fae;color:#fff;font-weight:800;font-size:10px;cursor:pointer}
.tdj-a-welcome-actions{align-self:flex-start;width:min(100%,310px);margin:0 0 4px 0}
#tdj-assistant-launcher{transition:transform .18s ease,box-shadow .18s ease}
.tdj-a-nudge.show~#tdj-assistant-launcher{animation:tdjNudge 1s ease 1}
@keyframes tdjNudge{0%,100%{transform:none}35%{transform:translateY(-3px)}60%{transform:translateY(1px)}}
@media(max-width:600px){.tdj-a-nudge{left:10px;right:10px;bottom:82px;width:auto}.tdj-a-nudge:after{right:42px}.tdj-a-welcome-actions{width:100%}}

/* V3.2.1 Isabel */
@keyframes isabelHelloPulse{0%,100%{transform:translateY(0) scale(1)}35%{transform:translateY(-3px) scale(1.015)}70%{transform:translateY(0) scale(1)}}
.tdj-a-welcome.show{animation:isabelHelloPulse .7s ease 1}
