/* Totes4U support agent widget */
.t4u-launch{position:fixed;bottom:18px;right:18px;z-index:200;width:60px;height:60px;border-radius:50%;background:#FFD21F;border:none;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;transition:transform .12s ease}
.t4u-launch:hover{transform:translateY(-2px)}
.t4u-launch .t4u-mascot{width:42px;height:42px}
.t4u-launch .t4u-dot{position:absolute;top:2px;right:2px;width:13px;height:13px;border-radius:50%;background:#161616;border:2.5px solid #FFD21F;animation:t4upulse 1.6s ease infinite}
@keyframes t4upulse{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}
.t4u-panel{position:fixed;bottom:88px;right:18px;z-index:201;width:372px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100dvh - 110px);background:#fff;border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .16s ease,transform .16s ease}
.t4u-panel.open{opacity:1;pointer-events:auto;transform:translateY(0)}
.t4u-head{background:#161616;color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.t4u-head .t4u-avatar{width:40px;height:40px;border-radius:50%;background:#FFD21F;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.t4u-head .t4u-avatar .t4u-mascot{width:30px;height:30px}
.t4u-head .t4u-title{font-weight:800;font-size:1rem;line-height:1.2}
.t4u-head .t4u-sub{font-size:.76rem;opacity:.75}
.t4u-head .t4u-sub::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#4ade80;margin-right:5px}
.t4u-close{margin-left:auto;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;line-height:1;padding:4px 6px;opacity:.8}
.t4u-close:hover{opacity:1}
.t4u-log{flex:1;overflow-y:auto;padding:16px 14px;background:#f6faf8;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.t4u-msg{max-width:86%;padding:11px 14px;border-radius:14px;font-size:.92rem;line-height:1.45;word-break:break-word}
.t4u-msg.bot{background:#fff;color:#101010;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 2px 10px rgba(16,32,28,.07)}
.t4u-msg.user{background:#161616;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.t4u-msg a{color:#0d6b5c;font-weight:700;text-decoration:underline}
.t4u-msg.bot strong{font-weight:800}
.t4u-msg ul{margin:6px 0 0 18px}
.t4u-msg li{margin-bottom:3px}
.t4u-typing{align-self:flex-start;background:#fff;border-radius:14px;border-bottom-left-radius:4px;padding:13px 16px;box-shadow:0 2px 10px rgba(16,32,28,.07);display:flex;gap:5px}
.t4u-typing span{width:7px;height:7px;border-radius:50%;background:#b9c9c4;animation:t4ubounce 1.1s infinite}
.t4u-typing span:nth-child(2){animation-delay:.15s}
.t4u-typing span:nth-child(3){animation-delay:.3s}
@keyframes t4ubounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}}
.t4u-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 10px;background:#f6faf8;flex-shrink:0}
.t4u-chip{background:#fff;border:1.5px solid #dbe7e3;border-radius:999px;padding:7px 13px;font-size:.82rem;font-weight:700;color:#101010;cursor:pointer;transition:all .1s ease;font-family:inherit}
.t4u-chip:hover{border-color:#161616;background:#161616;color:#FFD21F}
.t4u-input{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #e8f0ed;background:#fff;flex-shrink:0}
.t4u-input input{flex:1;min-width:0;border:1.5px solid #dbe7e3;border-radius:999px;padding:11px 16px;font:inherit;font-size:.92rem;outline:none}
.t4u-input input:focus{border-color:#161616}
.t4u-send{background:#FFD21F;border:none;border-radius:50%;width:42px;height:42px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .1s ease}
.t4u-send:hover{transform:scale(1.06)}
.t4u-send svg{width:19px;height:19px;fill:#161616}
.t4u-form-note{font-size:.78rem;color:#5b6f6a;padding:0 14px 8px;background:#f6faf8}
@media(max-width:480px){
  .t4u-panel{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;bottom:0;right:0}
  .t4u-launch{bottom:14px;right:14px}
}

.t4u-eyes{transform-box:fill-box;transform-origin:center;animation:t4ublink 4.5s ease-in-out infinite}
@keyframes t4ublink{0%,93%,100%{transform:scaleY(1)}95.5%{transform:scaleY(.06)}98%{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.t4u-eyes,.t4u-launch .t4u-dot{animation:none}}
