
#newpack-ai-v3-root{position:fixed;left:18px;bottom:18px;z-index:999999;font-family:Arial,Helvetica,sans-serif}
.np3-launcher{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#0f3b78,#1f9b6b);color:#fff;border:none;border-radius:999px;padding:14px 18px;cursor:pointer;box-shadow:0 10px 28px rgba(4,22,61,.28);font-weight:700}
.np3-launcher small{display:block;font-size:11px;font-weight:600;opacity:.86}
.np3-panel{width:380px;max-width:calc(100vw - 24px);height:min(720px,calc(100vh - 40px));background:#eef2f7;border-radius:24px;overflow:hidden;box-shadow:0 18px 44px rgba(7,18,44,.32);display:none;flex-direction:column;border:1px solid rgba(255,255,255,.55)}
.np3-panel.open{display:flex}
.np3-header{padding:18px 20px;background:linear-gradient(135deg,#082a5e 0%,#0f3b78 52%,#16835f 100%);color:#fff;position:relative;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.np3-header .kicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;opacity:1;color:#d7ecff}
.np3-header h3{margin:6px 44px 6px 0;font-size:22px;line-height:1.2;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.12)}
.np3-header p{margin:0;opacity:1;line-height:1.55;font-size:14px;color:#eef7ff}
.np3-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;border:none;background:rgba(255,255,255,.20);color:#fff;font-size:22px;cursor:pointer;backdrop-filter:blur(2px)}
.np3-body{flex:1;overflow:auto;padding:14px;background:#eef2f7}
.np3-quick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.np3-chip{border:none;background:#fff;color:#113563;padding:9px 12px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 1px 0 rgba(0,0,0,.05)}
.np3-message{margin-bottom:12px;display:flex}
.np3-message.user{justify-content:flex-end}
.np3-bubble{max-width:86%;padding:14px 15px;border-radius:18px;line-height:1.7;font-size:15px;white-space:pre-wrap;word-wrap:break-word}
.np3-message.bot .np3-bubble{background:#fff;color:#1d2c43;border:1px solid #d7dfeb;border-top-left-radius:8px}
.np3-message.user .np3-bubble{background:#1f4f88;color:#fff;border-top-right-radius:8px}
.np3-products{display:grid;gap:10px;margin-top:10px}
.np3-product{background:#fff;border:1px solid #d7dfeb;border-radius:16px;padding:12px 14px}
.np3-product strong{display:block;color:#173b6c;margin-bottom:4px}
.np3-product div{font-size:13px;color:#4d607c;line-height:1.55}
.np3-footer{padding:12px 12px 14px;background:#eef2f7;border-top:1px solid #dce3ee;position:sticky;bottom:0}
.np3-actions{display:flex;gap:10px;margin-bottom:10px}
.np3-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#1f9b6b;color:#fff;text-decoration:none;font-size:13px;font-weight:700}
.np3-link.alt{background:#1f4f88}
.np3-form{display:flex;gap:10px;align-items:flex-end;padding-bottom:2px}
.np3-input{flex:1;min-height:50px;max-height:124px;resize:vertical;border:1px solid #c8d3e2;border-radius:18px;padding:12px 16px;font-size:15px;background:#fff;color:#1d2c43}
.np3-send{border:none;background:#1f4f88;color:#fff;border-radius:16px;padding:0 18px;height:52px;font-size:15px;font-weight:700;cursor:pointer;min-width:82px}
.np3-typing{font-size:13px;color:#5f7190;padding:4px 2px 0}
html[dir="rtl"] #newpack-ai-v3-root{left:auto;right:18px}
html[dir="rtl"] .np3-header h3{margin-right:0;margin-left:44px}
html[dir="rtl"] .np3-close{right:auto;left:16px}
html[dir="rtl"] .np3-message.user{justify-content:flex-start}
html[dir="rtl"] .np3-message.bot{justify-content:flex-end}
html[dir="rtl"] .np3-message.bot .np3-bubble{border-top-left-radius:18px;border-top-right-radius:8px}
html[dir="rtl"] .np3-message.user .np3-bubble{border-top-right-radius:18px;border-top-left-radius:8px}
@media (max-width:640px){#newpack-ai-v3-root{left:10px;right:10px;bottom:10px}.np3-panel{width:auto;height:min(84vh,720px)}.np3-launcher{width:100%;justify-content:center}.np3-bubble{max-width:92%}.np3-footer{padding:10px 10px 12px}.np3-form{gap:8px}.np3-send{min-width:78px;height:50px}}

.np3-product{width:100%;text-align:left;cursor:pointer;background:#fff;font:inherit}
.np3-product:hover{border-color:#2a5ea5;box-shadow:0 4px 12px rgba(14,39,89,.10)}
.np3-product.selected{border-color:#2a5ea5;box-shadow:0 0 0 2px rgba(42,94,165,.12)}
html[dir="rtl"] .np3-product{text-align:right}
