/* NewPack AI v7.0.0 production CSS: preserved full widget shape, voice typing, direct product category cards. */
#newpack-ai-v3-root{position:fixed;left:18px;bottom:18px;z-index:999999;font-family:Arial,Helvetica,sans-serif;color:#1d2c43;direction:ltr}
#newpack-ai-v3-root[dir="rtl"]{left:auto;right:18px;direction:rtl}
#newpack-ai-v3-root *,#newpack-ai-v3-root *::before,#newpack-ai-v3-root *::after{box-sizing:border-box}
.np3-launcher{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#0f3b78,#1f9b6b);color:#fff;border:0;border-radius:999px;padding:14px 18px;cursor:pointer;box-shadow:0 10px 28px rgba(4,22,61,.28);font-weight:800;text-align:inherit}
.np3-launcher small{display:block;font-size:11px;font-weight:700;opacity:.88;margin-top:2px}
.np3-panel{width:520px;max-width:calc(100vw - 36px);height:min(660px,calc(100vh - 48px));background:#eef2f7;border-radius:22px;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);direction:ltr;text-align:left}
.np3-panel[dir="rtl"]{direction:rtl;text-align:right}
.np3-panel.open{display:flex}
.np3-header{padding:12px 18px 11px;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:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#d7ecff}
.np3-header h3{margin:3px 42px 3px 0;font-size:20px;line-height:1.2;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.12)}
.np3-panel[dir="rtl"] .np3-header h3{margin:3px 0 3px 42px}
.np3-header p{margin:0;color:#eef7ff;line-height:1.35;font-size:13px}
.np3-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.20);color:#fff;font-size:20px;cursor:pointer;backdrop-filter:blur(2px)}
.np3-panel[dir="rtl"] .np3-close{right:auto;left:14px}
.np3-body{flex:1;overflow:auto;padding:12px 16px 8px;background:#eef2f7;min-height:0;position:relative;scroll-behavior:smooth}
.np3-thread{padding-bottom:8px}.np3-message{margin-bottom:12px;display:flex}.np3-message.user{justify-content:flex-end}.np3-message.bot{justify-content:flex-start}
.np3-panel[dir="rtl"] .np3-message.user{justify-content:flex-start}.np3-panel[dir="rtl"] .np3-message.bot{justify-content:flex-end}
.np3-bubble{max-width:86%;padding:12px 14px;border-radius:18px;line-height:1.65;font-size:14.5px;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-panel[dir="rtl"] .np3-message.bot .np3-bubble{border-top-left-radius:18px;border-top-right-radius:8px}.np3-panel[dir="rtl"] .np3-message.user .np3-bubble{border-top-right-radius:18px;border-top-left-radius:8px}
.np3-quick{padding:4px 2px 14px;direction:inherit}.np3-quick-title{font-weight:900;color:#0b3768;margin:2px 0 10px;font-size:14px;text-align:center}.np3-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.np3-quick-card{border:1px solid rgba(13,62,111,.12);background:#fff;border-radius:18px;padding:12px 10px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;color:#0b3768;box-shadow:0 8px 22px rgba(10,37,64,.08);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;text-align:center}.np3-quick-card:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(10,37,64,.13);border-color:rgba(33,151,113,.25)}.np3-card-icon{font-size:18px;line-height:1}.np3-product-grid .np3-quick-card{min-height:48px}
.np3-float-back{position:absolute;top:10px;inset-inline-start:14px;z-index:7;border:0;border-radius:999px;background:#0b3b78;color:#fff;font-weight:900;padding:9px 14px;box-shadow:0 10px 24px rgba(5,25,55,.24);cursor:pointer}.np3-float-back[hidden]{display:none!important}
.np3-products{display:grid;gap:10px;margin-top:10px}.np3-products,.np3-product,.np3-product-detail,.np3-compare-box,.np3-quote-form{scroll-margin-top:10px;scroll-margin-bottom:118px}
.np3-product{width:100%;background:#fff;border:1px solid #d7dfeb;border-radius:16px;padding:12px 14px;cursor:pointer;position:relative;text-align:inherit;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.np3-product:hover,.np3-product.first-highlight{border-color:rgba(22,163,74,.42);box-shadow:0 12px 28px rgba(9,47,84,.12);transform:translateY(-1px)}.np3-product.selected{border-color:#2a5ea5;box-shadow:0 0 0 2px rgba(42,94,165,.12)}.np3-product-title{display:flex;gap:8px;align-items:center;color:#173b6c;margin-bottom:6px}.np3-product strong{display:block;color:#173b6c;margin-bottom:4px}.np3-product div{font-size:13px;color:#4d607c;line-height:1.55}.np3-card-hint{display:block;margin-top:6px;color:#64748b;font-size:11.5px;font-weight:800}.np3-product-use{margin-top:7px;background:#f3fbf7;border:1px solid #d8f0e6;color:#166345!important;border-radius:12px;padding:7px 9px;font-weight:800}
.np3-product-actions,.np3-quote-actions,.np3-complaint-actions{display:flex;gap:8px;align-items:center;justify-content:flex-start;flex-wrap:wrap}.np3-panel[dir="rtl"] .np3-quote-actions,.np3-panel[dir="rtl"] .np3-complaint-actions{justify-content:flex-end}
.np3-product-actions{margin-top:10px}.np3-product-select,.np3-product-quote,.np3-quote-cancel,.np3-quote-prev{border:0;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;cursor:pointer}.np3-product-select{background:#1f4f88;color:#fff}.np3-product-quote{background:#1f9b6b;color:#fff}.np3-quote-cancel{background:#dce3ee;color:#263b58}.np3-quote-prev{background:#eef4fb;color:#154a82}
.np3-product-mini-questions,.np3-smart-actions,.np3-feedback-actions,.np3-complaint-options{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px;direction:inherit}.np3-product-mini-questions button,.np3-product-quick-actions button,.np3-smart-actions button,.np3-feedback-actions button,.np3-complaint-options button{border:1px solid rgba(20,87,150,.16);background:#f3f8ff;color:#145796;border-radius:999px;padding:7px 10px;font-weight:800;font-size:12px;cursor:pointer;box-shadow:0 4px 12px rgba(20,87,150,.06)}.np3-product-mini-questions button:hover,.np3-product-quick-actions button:hover,.np3-smart-actions button:hover,.np3-feedback-actions button:hover,.np3-complaint-options button:hover{background:#e9f3ff;transform:translateY(-1px)}.np3-complaint-options button.selected{background:#174577;color:#fff;border-color:#174577}
.np3-product-detail,.np3-compare-box,.np3-quote-form,.np3-complaint-box,.np3-feedback-box{background:#fff;border:1px solid #d7dfeb;border-radius:20px;padding:14px;margin:12px 0;box-shadow:0 10px 26px rgba(14,39,89,.10);overflow:hidden}.np3-product-detail{border-top:4px solid #1f9b6b}.np3-compare-box{border-top:4px solid #1f4f88}.np3-quote-form,.np3-complaint-box,.np3-feedback-box{border-radius:18px;display:grid;gap:8px}
.np3-detail-head{display:flex;align-items:flex-start;gap:10px;background:linear-gradient(135deg,#f6fbff,#f2fff8);border:1px solid #e2edf8;border-radius:16px;padding:12px;margin-bottom:12px}.np3-detail-icon{width:38px;height:38px;min-width:38px;border-radius:12px;background:linear-gradient(135deg,#1f4f88,#1f9b6b);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 16px rgba(31,79,136,.18)}.np3-detail-head strong{display:block;color:#0f3565;font-size:16px;line-height:1.35}.np3-detail-head small{display:block;color:#5f7190;font-size:12px;line-height:1.45;margin-top:3px}.np3-detail-section{margin:12px 0;background:#fbfdff;border:1px solid #e4ebf4;border-radius:16px;padding:12px}.np3-detail-section h4{margin:0 0 8px;color:#173b6c;font-size:14px}.np3-detail-section ul{margin:0;padding-left:19px;color:#263b58;line-height:1.65;font-size:13px}.np3-panel[dir="rtl"] .np3-detail-section ul{padding-left:0;padding-right:19px}.np3-detail-section p{margin:0;color:#263b58;line-height:1.6;font-size:13px}.np3-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.np3-detail-grid>div{background:#f7f9fc;border:1px solid #e1e8f1;border-radius:15px;padding:10px 8px;text-align:center;min-height:72px;display:flex;flex-direction:column;justify-content:center;gap:3px}.np3-detail-grid span{font-size:20px}.np3-detail-grid b{font-size:11px;color:#5a6b84;line-height:1.3}.np3-detail-grid em{font-style:normal;color:#0f3565;font-weight:900;font-size:13px;line-height:1.25}.np3-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.np3-detail-actions button{border:0;border-radius:999px;padding:10px 11px;font-size:12px;font-weight:900;cursor:pointer;line-height:1.2;box-shadow:0 4px 10px rgba(14,39,89,.08)}.np3-detail-quote{background:#1f9b6b;color:#fff}.np3-detail-ask{background:#1f4f88;color:#fff}.np3-detail-compare,.np3-detail-sample{background:#eef5ff;color:#174577;border:1px solid #d4e3f4!important}.np3-detail-back{background:#eef2f7;color:#263b58}.np3-detail-not{background:#fff4f4;color:#9a2d2d;border:1px solid #ffd6d6!important}
.np3-product-quick-title{margin:12px 0 7px;color:#173b6c;font-size:13px;font-weight:900}.np3-product-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}.np3-product-quick-actions button[data-question="quote"],.np3-product-quick-actions button[data-question="sample"]{background:#f3fbf7;border-color:#cfeee1;color:#166345}
.np3-compare-box>strong,.np3-quote-form>strong,.np3-complaint-box strong,.np3-feedback-box strong{display:block;color:#173b6c;margin-bottom:8px}.np3-compare-box p,.np3-complaint-box p{margin:0 0 10px;color:#263b58;line-height:1.6;font-size:13px}.np3-compare-list{display:grid;gap:8px}.np3-compare-list button{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e1e8f1;background:#f8fbff;border-radius:14px;padding:10px 11px;cursor:pointer;text-align:inherit;font:inherit}.np3-compare-list button:hover{border-color:#1f4f88;box-shadow:0 5px 14px rgba(31,79,136,.10)}.np3-compare-list b{color:#173b6c;font-size:13px}.np3-compare-list span{color:#1f9b6b;font-size:12px;font-weight:800;text-align:end}
.np3-quote-form input,.np3-quote-form textarea,.np3-complaint-notes,.np3-feedback-comment{width:100%;box-sizing:border-box;border:1px solid #c8d3e2;border-radius:14px;padding:10px 12px;font:inherit;font-size:13px;background:#fff;color:#1d2c43;outline:0;resize:vertical}.np3-quote-form input:focus,.np3-quote-form textarea:focus,.np3-complaint-notes:focus,.np3-feedback-comment:focus,.np3-input:focus{border-color:#1d6fb8;box-shadow:0 0 0 3px rgba(29,111,184,.10)}.np3-quote-actions .np3-send{height:auto;min-width:0;padding:10px 14px;border-radius:999px;font-size:13px}.np3-quote-wizard label{display:block;color:#263b58;font-weight:900;font-size:13px;line-height:1.5}.np3-step{font-size:12px;color:#5f7190;font-weight:900;background:#eef2f7;border-radius:999px;padding:4px 9px;width:max-content}.np3-selected-line{font-size:13px;color:#173b6c;background:#eef7ff;border:1px solid #d7e8fb;border-radius:12px;padding:8px 10px;line-height:1.5}.np3-field-hint{font-size:12px;color:#51657a;margin-top:6px;line-height:1.5}.np3-quote-summary{background:#f7fbff;border:1px solid #d7e6f7;border-radius:16px;padding:12px;margin:10px 0;line-height:1.7}.np3-quote-summary strong{display:block;margin-bottom:6px;color:#123f70}.np3-complaint-send{background:#16a34a;color:#fff}.np3-complaint-clear{background:#eef4fb;color:#174577}.np3-complaint-send,.np3-complaint-clear,.np3-complaint-back{border:0;border-radius:14px;padding:9px 12px;font-weight:900;cursor:pointer;font-size:12.5px}.np3-feedback-comment[hidden]{display:none!important}
.np3-sales-box{background:#fff;border:1px solid #d7dfeb;border-top:4px solid #1f4f88;border-radius:18px;padding:14px;margin:12px 0;box-shadow:0 10px 26px rgba(14,39,89,.10)}.np3-sales-box strong{display:block;color:#173b6c;margin-bottom:7px}.np3-sales-box p{margin:0 0 10px;color:#263b58;font-size:13px;line-height:1.65}.np3-sales-actions{display:flex;flex-wrap:wrap;gap:8px}.np3-sales-actions a,.np3-sales-actions button{border:0;border-radius:999px;padding:9px 13px;background:#1f9b6b;color:#fff;text-decoration:none;font-weight:900;font-size:12.5px;cursor:pointer}.np3-sales-actions a.alt{background:#1f4f88}.np3-sales-actions button{background:#eef5ff;color:#174577;border:1px solid #d4e3f4}
.np3-footer{padding:8px 14px 10px;background:#eef2f7;border-top:1px solid #dce3ee;position:relative;flex-shrink:0;z-index:3;display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.np3-actions{order:2;display:flex;gap:6px;margin:0;flex:0 0 auto;align-items:center}.np3-jump-results{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#fff,#f5fbff);color:#174577;text-decoration:none;font-size:12px;font-weight:900;line-height:1.1;white-space:nowrap;min-height:32px;border:1px solid #cfe0f2;cursor:pointer;box-shadow:0 4px 10px rgba(14,39,89,.08)}.np3-jump-results[hidden]{display:none!important}.np3-form{order:1;flex:1 1 auto;min-width:0;display:flex;gap:8px;align-items:flex-end}.np3-input{flex:1;min-height:44px;max-height:92px;resize:none;border:1px solid #c8d3e2;border-radius:15px;padding:10px 14px;font-size:14.5px;background:#fff;color:#1d2c43;outline:0}.np3-send,.np3-voice{border:0;border-radius:14px;height:46px;font-size:14.5px;font-weight:900;cursor:pointer}.np3-send{background:#1f4f88;color:#fff;padding:0 14px;min-width:66px}.np3-voice{width:46px;min-width:46px;background:#fff;color:#174577;border:1px solid #cfe0f2;box-shadow:0 4px 10px rgba(14,39,89,.06)}.np3-voice[hidden]{display:none!important}.np3-voice.is-listening{background:#fff1f1;color:#b42318;border-color:#ffb4b4;animation:np3pulse 1.1s infinite}.np3-voice-status{order:3;width:100%;font-size:12.5px;font-weight:800;color:#174577;text-align:center;padding-top:2px}.np3-voice-status[hidden]{display:none!important}.np3-typing{order:4;font-size:13px;color:#5f7190;padding:4px 2px 0}@keyframes np3pulse{0%{box-shadow:0 0 0 0 rgba(180,35,24,.30)}70%{box-shadow:0 0 0 8px rgba(180,35,24,0)}100%{box-shadow:0 0 0 0 rgba(180,35,24,0)}}
@media (max-width:640px){#newpack-ai-v3-root{left:10px;right:10px;bottom:10px}#newpack-ai-v3-root[dir="rtl"]{left:10px;right:10px}.np3-panel{width:auto;max-width:none;height:min(82vh,700px);border-radius:20px}.np3-launcher{width:100%;justify-content:center}.np3-header{padding:14px 18px 13px}.np3-header h3{font-size:20px}.np3-body{padding:10px}.np3-bubble{max-width:92%}.np3-footer{padding:7px 10px 9px;display:block}.np3-actions{margin-bottom:6px;gap:8px}.np3-actions .np3-jump-results{padding:7px 9px;font-size:11.5px}.np3-form{gap:7px}.np3-input{min-height:46px;max-height:84px;font-size:14.5px}.np3-send{height:48px;min-width:64px}.np3-voice{height:48px;width:44px;min-width:44px}.np3-quick-grid{grid-template-columns:1fr}.np3-quick-card{min-height:46px}.np3-detail-grid,.np3-detail-actions,.np3-product-quick-actions{grid-template-columns:1fr}.np3-detail-head strong{font-size:15px}.np3-product-mini-questions button{font-size:11px;padding:6px 8px}}

/* v7.2.0 Market-Aware Smart Advisor */
.np3-advisor-box{margin:10px 0;padding:12px;border:1px solid rgba(15,23,42,.10);border-radius:16px;background:linear-gradient(180deg,#ffffff,#f8fafc);box-shadow:0 8px 24px rgba(15,23,42,.07)}
.np3-advisor-box>strong{display:block;margin-bottom:9px;font-size:14px;color:#0f172a}
.np3-advisor-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.np3-advisor-choice{border:1px solid rgba(15,23,42,.11);background:#fff;border-radius:14px;padding:10px 8px;cursor:pointer;text-align:inherit;display:flex;gap:7px;align-items:center;min-height:48px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.np3-advisor-choice:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.09);border-color:rgba(17,94,89,.25)}
.np3-advisor-choice span{font-size:18px;line-height:1}
.np3-advisor-choice b{font-size:12.5px;line-height:1.35;color:#1f2937;font-weight:700}
@media (max-width:480px){.np3-advisor-grid{grid-template-columns:1fr}.np3-advisor-choice{min-height:44px}}

/* v7.5.0 Smart Comparison Engine */
.np3-compare-v75{border-top-color:#0f766e}
.np3-compare-v75 .np3-compare-hint{background:#f7fbff;border:1px solid #d7e6f7;border-radius:14px;padding:9px 11px;color:#263b58}
.np3-compare-table{display:grid;gap:10px;margin-top:10px}
.np3-compare-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:8px;align-items:stretch;border:1px solid #dce6f2;background:#fbfdff;border-radius:16px;padding:10px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.np3-compare-row:hover{border-color:#16835f;box-shadow:0 10px 22px rgba(15,118,110,.10);transform:translateY(-1px)}
.np3-compare-row.is-current{background:linear-gradient(135deg,#f2fff8,#f7fbff);border-color:#bfe8d7}
.np3-compare-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.np3-compare-main b{color:#123f70;font-size:13.5px;line-height:1.35}
.np3-compare-main small{color:#64748b;font-size:11.5px;font-weight:800}
.np3-compare-badge{width:max-content;max-width:100%;border-radius:999px;background:#eef5ff;color:#174577;border:1px solid #d4e3f4;padding:3px 8px;font-size:11px;font-weight:900}
.np3-compare-badge.current{background:#eafbf2;color:#166345;border-color:#cdeedd}
.np3-compare-cell{background:#fff;border:1px solid #e4ebf4;border-radius:13px;padding:8px;min-width:0}
.np3-compare-cell span{display:block;color:#5f7190;font-size:11px;font-weight:900;margin-bottom:3px}
.np3-compare-cell strong{display:block;color:#173b6c;font-size:12px;line-height:1.35;word-break:break-word}
.np3-compare-cell.wide{grid-column:2 / span 3}
.np3-compare-row-actions{grid-column:1 / -1;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;margin-top:2px}
.np3-panel[dir="rtl"] .np3-compare-row-actions{justify-content:flex-end}
.np3-compare-row-actions button{border:0;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;cursor:pointer}
.np3-compare-open{background:#1f4f88;color:#fff}.np3-compare-quote{background:#1f9b6b;color:#fff}
@media (max-width:640px){.np3-compare-row{grid-template-columns:1fr}.np3-compare-cell.wide{grid-column:auto}.np3-compare-row-actions{justify-content:stretch}.np3-compare-row-actions button{flex:1 1 auto}}


/* v8.0.0 Guided Specification Builder */
.np3-spec-builder{background:#fff;border:1px solid rgba(11,93,146,.16);border-radius:18px;padding:13px;margin:10px 0;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.np3-spec-builder>strong{display:block;color:#0b5d92;font-size:15px;margin-bottom:4px}.np3-spec-builder>p{margin:0 0 10px;color:#475569;font-size:13px;line-height:1.5}
.np3-spec-group{margin:10px 0}.np3-spec-group>b{display:block;margin-bottom:6px;color:#0f172a;font-size:13px}.np3-spec-group>div{display:flex;flex-wrap:wrap;gap:7px}
.np3-spec-group button{border:1px solid rgba(11,93,146,.22);background:#f8fafc;color:#0f172a;border-radius:999px;padding:7px 10px;font-size:12.5px;cursor:pointer;transition:.16s ease}
.np3-spec-group button:hover,.np3-spec-group button.selected{background:#0b5d92;color:#fff;border-color:#0b5d92;box-shadow:0 4px 12px rgba(11,93,146,.18)}
.np3-spec-actions{display:flex;gap:8px;align-items:center;margin-top:12px}.np3-spec-actions button{border:0;border-radius:12px;padding:9px 12px;font-weight:700;cursor:pointer}
.np3-spec-run{background:#0b5d92;color:#fff}.np3-spec-run:disabled{opacity:.45;cursor:not-allowed}.np3-spec-reset{background:#eef2f7;color:#334155}

/* v8.1.0 Smart Fit Score + recommendation reasons */
.np3-fit-row{margin-top:8px;border-radius:13px;padding:8px 10px;border:1px solid #dbe7f3;background:#f8fbff;display:grid;gap:3px}
.np3-fit-row span{font-size:12px!important;font-weight:900!important;line-height:1.35;color:#174577!important}
.np3-fit-row small{font-size:11px!important;font-weight:800!important;line-height:1.45;color:#51657a!important}
.np3-fit-row.hot{background:#f1fff7;border-color:#c7efd9}.np3-fit-row.hot span{color:#166345!important}
.np3-fit-row.warm{background:#f7fbff;border-color:#cfe0f2}.np3-fit-row.warm span{color:#174577!important}
.np3-fit-row.check{background:#fffaf0;border-color:#f2dfb8}.np3-fit-row.check span{color:#8a5a08!important}
