.nexa-assistant { position: fixed; right: 22px; bottom: 22px; z-index: 2147482000; font-family: Inter, "Segoe UI", Arial, sans-serif; color: #132238; }
.nexa-assistant-launcher { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 10px 18px 10px 11px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #073b77 0%, #006fb9 60%, #00a6b7 100%); box-shadow: 0 12px 32px rgba(1, 48, 94, .3); font-weight: 750; font-size: 15px; cursor: pointer; }
.nexa-assistant-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(1, 48, 94, .38); }
.nexa-assistant-launcher:focus-visible, .nexa-assistant button:focus-visible, .nexa-assistant textarea:focus-visible { outline: 3px solid rgba(0, 166, 183, .35); outline-offset: 2px; }
.nexa-assistant-launcher-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #073b77; background: #fff; font-size: 18px; }
.nexa-assistant-panel { position: absolute; right: 0; bottom: 66px; width: min(390px, calc(100vw - 24px)); height: min(650px, calc(100vh - 105px)); overflow: hidden; border: 1px solid rgba(14, 57, 96, .12); border-radius: 22px; background: #f7f9fc; box-shadow: 0 24px 70px rgba(9, 36, 64, .28); }
.nexa-assistant-panel:not([hidden]) { display: flex; flex-direction: column; animation: nexa-assistant-in .2s ease-out; }
@keyframes nexa-assistant-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.nexa-assistant-header { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; padding: 15px 16px; color: #fff; background: linear-gradient(135deg, #052f60, #0077b6); }
.nexa-assistant-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); font-weight: 850; }
.nexa-assistant-header > div:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.nexa-assistant-header strong { font-size: 15px; line-height: 1.3; }
.nexa-assistant-header span { margin-top: 2px; color: rgba(255,255,255,.8); font-size: 11px; line-height: 1.3; }
.nexa-assistant-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); font-size: 25px; line-height: 1; cursor: pointer; }
.nexa-assistant-messages { flex: 1 1 auto; overflow: auto; padding: 16px; overscroll-behavior: contain; scrollbar-width: thin; }
.nexa-assistant-message { display: flex; margin: 0 0 12px; }
.nexa-assistant-message > p, .nexa-assistant-message > .nexa-assistant-typing { max-width: 88%; margin: 0; padding: 11px 13px; border-radius: 16px; line-height: 1.48; font-size: 14px; }
.nexa-assistant-message.is-assistant { flex-direction: column; align-items: flex-start; }
.nexa-assistant-message.is-assistant > p, .nexa-assistant-message.is-assistant > .nexa-assistant-typing { color: #263a52; background: #fff; border: 1px solid #e7ecf3; border-bottom-left-radius: 5px; box-shadow: 0 4px 14px rgba(29, 58, 88, .06); }
.nexa-assistant-message.is-user { justify-content: flex-end; }
.nexa-assistant-message.is-user > p { color: #fff; background: #0875b6; border-bottom-right-radius: 5px; }
.nexa-assistant-message.is-error > p { color: #8b1e2d; background: #fff3f5; border-color: #ffd8de; }
.nexa-assistant-typing { display: flex; gap: 4px; align-items: center; min-height: 38px; }
.nexa-assistant-typing i { width: 6px; height: 6px; border-radius: 50%; background: #6d829a; animation: nexa-dot 1s infinite alternate; }
.nexa-assistant-typing i:nth-child(2) { animation-delay: .15s; }.nexa-assistant-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nexa-dot { to { opacity: .25; transform: translateY(-3px); } }
.nexa-assistant-products { display: grid; width: 100%; gap: 8px; margin-top: 8px; }
.nexa-assistant-product { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; width: 100%; padding: 9px; border: 1px solid #e1e8f0; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(29,58,88,.05); }
.nexa-assistant-product-image { display: block; width: 76px; height: 76px; overflow: hidden; border-radius: 10px; background: #f1f4f8; }
.nexa-assistant-product-image img { width: 100%; height: 100%; object-fit: contain; }
.nexa-assistant-product-body { display: flex; min-width: 0; flex-direction: column; }
.nexa-assistant-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #718096; font-size: 10px; text-transform: capitalize; }
.nexa-assistant-offer-count { padding: 2px 6px; border-radius: 99px; color: #006c79; background: #e2f8f8; font-weight: 700; }
.nexa-assistant-product-title { display: -webkit-box; overflow: hidden; margin: 4px 0; color: #132238; font-size: 12px; font-weight: 700; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-decoration: none; }
.nexa-assistant-product-title:hover { color: #0077b6; }
.nexa-assistant-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.nexa-assistant-product-bottom strong { color: #075f46; font-size: 13px; }.nexa-assistant-product-bottom span { color: #a86c00; font-size: 11px; }
.nexa-assistant-prompts { display: flex; flex: 0 0 auto; gap: 7px; overflow-x: auto; padding: 4px 14px 9px; scrollbar-width: none; }
.nexa-assistant-prompts::-webkit-scrollbar { display: none; }
.nexa-assistant-prompts button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #cfdbe8; border-radius: 999px; color: #285274; background: #fff; font-size: 11px; cursor: pointer; }
.nexa-assistant-prompts button:hover { border-color: #0077b6; color: #00649a; }
.nexa-assistant-form { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: end; gap: 8px; flex: 0 0 auto; margin: 0 12px; padding: 8px 8px 8px 12px; border: 1px solid #d7e1ec; border-radius: 17px; background: #fff; box-shadow: 0 4px 18px rgba(29,58,88,.07); }
.nexa-assistant-form textarea { width: 100%; min-height: 28px; max-height: 110px; resize: none; padding: 4px 0; border: 0; border-radius: 0; color: #182b41; background: transparent; font: inherit; font-size: 13px; line-height: 1.45; box-shadow: none; outline: 0; }
.nexa-assistant-form button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 13px; color: #fff; background: #0875b6; font-size: 19px; cursor: pointer; }
.nexa-assistant-form button:disabled { opacity: .5; cursor: wait; }
.nexa-assistant-note { flex: 0 0 auto; margin: 7px 12px 9px; color: #7a8795; text-align: center; font-size: 9px; line-height: 1.3; }
.nexa-assistant-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 600px) {
  .nexa-assistant { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .nexa-assistant-launcher { min-width: 52px; padding-right: 11px; }
  .nexa-assistant-launcher-label { display: none; }
  .nexa-assistant-panel { position: fixed; inset: 8px 8px max(8px, env(safe-area-inset-bottom)); width: auto; height: auto; max-height: none; border-radius: 18px; }
  .nexa-assistant.is-open .nexa-assistant-launcher { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .nexa-assistant-panel:not([hidden]), .nexa-assistant-typing i { animation: none; } }

