/* WPPlugShop Agent widget — brand styling (palette: #065d4f / #043f36). */
.wpsa-panel{position:fixed;right:20px;bottom:174px;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 130px);background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(4,63,54,.35),0 4px 14px rgba(4,63,54,.18);display:flex;flex-direction:column;overflow:hidden;z-index:99990;opacity:0;transform:translateY(16px) scale(.98);pointer-events:none;transition:opacity .22s ease,transform .22s ease;font-family:inherit}
.wpsa-panel.open{opacity:1;transform:none;pointer-events:auto}
.wpsa-head{background:linear-gradient(135deg,#065d4f,#043f36);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
.wpsa-avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font-size:1.05rem;flex-shrink:0}
.wpsa-title{display:flex;flex-direction:column;line-height:1.25;flex:1;min-width:0}
.wpsa-title b{font-size:.98rem}
.wpsa-title small{color:#cdeadd;font-size:.76rem;display:flex;align-items:center;gap:6px}
.wpsa-dot{width:8px;height:8px;border-radius:50%;background:#3ddc84;display:inline-block}
.wpsa-close{background:transparent;border:none;color:#fff;font-size:1rem;cursor:pointer;padding:6px;border-radius:8px;line-height:1}
.wpsa-close:hover{background:rgba(255,255,255,.15)}
.wpsa-body{flex:1;overflow-y:auto;padding:16px 14px;background:#f7faf8;display:flex;flex-direction:column;gap:10px}
.wpsa-row{display:flex}
.wpsa-row.me{justify-content:flex-end}
.wpsa-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:.9rem;line-height:1.55;box-shadow:0 1px 2px rgba(15,23,42,.06);word-wrap:break-word}
.wpsa-row.bot .wpsa-msg{background:#fff;color:#1e293b;border:1px solid #e8f1ed;border-bottom-left-radius:4px}
.wpsa-row.me .wpsa-msg{background:#065d4f;color:#fff;border-bottom-right-radius:4px}
.wpsa-msg a{color:#065d4f;font-weight:700}
.wpsa-row.me .wpsa-msg a{color:#bff0dd}
.wpsa-ticket{display:inline-block;background:#f76707;color:#fff !important;font-weight:800;text-decoration:none;padding:9px 16px;border-radius:999px;font-size:.85rem;margin-left:2px}
.wpsa-ticket:hover{background:#c24e02}
.wpsa-quick{display:flex;gap:8px;flex-wrap:wrap;padding:10px 12px 2px;background:#f7faf8}
.wpsa-chip{border:1.5px solid #bcd9cf;background:#fff;color:#065d4f;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:700;cursor:pointer;font-family:inherit}
.wpsa-chip:hover{background:#065d4f;color:#fff}
.wpsa-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e8f1ed;background:#fff}
.wpsa-form input{flex:1;border:1.5px solid #d9e6e0;border-radius:999px;padding:11px 16px;font-size:.92rem;font-family:inherit;outline:none;min-width:0}
.wpsa-form input:focus{border-color:#065d4f}
.wpsa-form button{background:#065d4f;color:#fff;border:none;width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:1rem;flex-shrink:0}
.wpsa-form button:hover{background:#043f36}
.wpsa-typing{display:inline-flex;gap:4px;padding:2px 0}
.wpsa-typing i{width:7px;height:7px;border-radius:50%;background:#9db8b0;animation:wpsaBlink 1s infinite}
.wpsa-typing i:nth-child(2){animation-delay:.15s}
.wpsa-typing i:nth-child(3){animation-delay:.3s}
@keyframes wpsaBlink{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media(max-width:560px){.wpsa-panel{right:8px;left:8px;bottom:168px;width:auto;height:70vh}}
