.nioja-ha{position:fixed;right:20px;bottom:20px;z-index:999990;font-family:inherit;color:#172033}.nioja-ha *{box-sizing:border-box}.nioja-ha-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:#14284b;color:#fff;padding:12px 18px;box-shadow:0 5px 22px #0003;font-size:15px;font-weight:700;cursor:pointer}.nioja-ha-launch-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}.nioja-ha-launch-icon svg{display:block;width:24px;height:24px;color:#fff}.nioja-ha-launcher.nioja-ha-pulse{animation:niojaHaPulse 1.2s ease-in-out 2}.nioja-ha-panel{position:absolute;right:0;bottom:64px;width:min(365px,calc(100vw - 28px));height:min(520px,calc(100vh - 110px));background:#fff;border:1px solid #dce2ec;border-radius:16px;box-shadow:0 12px 44px #10182830;overflow:hidden;display:flex;flex-direction:column}.nioja-ha-panel[hidden]{display:none}.nioja-ha-header{background:#14284b;color:#fff;padding:15px 16px;display:flex;justify-content:space-between;align-items:center}.nioja-ha-header strong{display:block;font-size:16px}.nioja-ha-header small{display:block;margin-top:3px;color:#d5deee;font-size:12px}.nioja-ha-close{background:transparent;color:#fff;border:0;font-size:27px;line-height:1;cursor:pointer}.nioja-ha-messages{flex:1;overflow:auto;padding:14px;background:#f6f8fb}.nioja-ha-message{max-width:92%;padding:10px 12px;border-radius:12px;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.nioja-ha-message.bot{background:#fff;border:1px solid #e0e6ef;margin-right:auto}.nioja-ha-message.user{background:#dce9ff;color:#122544;margin-left:auto}.nioja-ha-quick{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.nioja-ha-quick button{background:#fff;border:1px solid #cbd6e6;color:#18345d;border-radius:18px;padding:7px 10px;font-size:12px;cursor:pointer}.nioja-ha-form{display:flex;gap:7px;padding:10px;border-top:1px solid #e2e7ef;background:#fff}.nioja-ha-input{min-width:0;flex:1;border:1px solid #cbd4e1;border-radius:9px;padding:10px;font:inherit;font-size:14px}.nioja-ha-form button{border:0;border-radius:9px;padding:0 13px;background:#14284b;color:#fff;font-weight:700;cursor:pointer}.nioja-ha-support{padding:0 12px 10px;background:#fff}.nioja-ha-support a{display:inline-block;color:#174d91;font-size:13px;text-decoration:underline}.nioja-ha-typing{color:#5f6b7c;font-size:13px}.nioja-ha-launcher:focus-visible,.nioja-ha button:focus-visible,.nioja-ha input:focus-visible{outline:3px solid #76a7ff;outline-offset:2px}@keyframes niojaHaPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}@media(max-width:480px){.nioja-ha{right:12px;bottom:12px}.nioja-ha-panel{bottom:60px;width:calc(100vw - 24px);height:min(560px,calc(100dvh - 90px));border-radius:14px}.nioja-ha-launcher{padding:11px 15px}}

.nioja-ha-typing{display:flex;align-items:center;gap:8px;min-height:38px}.nioja-ha-typing-label{font-size:13px;color:#5f6b7c}.nioja-ha-dots{display:inline-flex;align-items:center;gap:4px}.nioja-ha-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#5f6b7c;animation:niojaHaTyping 1s infinite ease-in-out}.nioja-ha-dots i:nth-child(2){animation-delay:.15s}.nioja-ha-dots i:nth-child(3){animation-delay:.3s}.nioja-ha-form button:disabled{opacity:.6;cursor:wait}@keyframes niojaHaTyping{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.nioja-ha-results{display:flex;flex-direction:column;gap:7px;margin:0 0 12px;max-width:100%}.nioja-ha-result{display:flex;flex-direction:row;align-items:center;gap:10px;padding:9px 10px;border:1px solid #d5deeb;border-radius:10px;background:#fff;text-decoration:none!important;color:#172033!important;min-width:0}.nioja-ha-result-image{display:block;flex:0 0 68px;width:68px;height:68px;max-width:68px;object-fit:cover;border-radius:8px;border:1px solid #e4e9f1;background:#f2f5fa}.nioja-ha-result-content{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.nioja-ha-result strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.nioja-ha-result .nioja-ha-result-type{display:block;font-size:11px;color:#24569a;font-weight:700}.nioja-ha-result small{display:block;font-size:12px;color:#5b6676;line-height:1.4;overflow-wrap:anywhere}.nioja-ha-result:focus-visible{outline:3px solid #76a7ff;outline-offset:2px}@media(max-width:360px){.nioja-ha-result-image{flex-basis:56px;width:56px;height:56px;max-width:56px}.nioja-ha-result{gap:8px;padding:8px}}
/* v1.4.815 desktop result visibility and layout hardening */
.nioja-ha .nioja-ha-messages{display:block!important;visibility:visible;}
.nioja-ha .nioja-ha-results{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;visibility:visible!important;opacity:1!important;}
.nioja-ha a.nioja-ha-result{display:flex!important;flex-direction:row!important;align-items:center!important;width:100%!important;max-width:100%!important;min-height:82px!important;visibility:visible!important;opacity:1!important;overflow:visible!important;}
.nioja-ha .nioja-ha-result-image{display:block!important;visibility:visible!important;flex:0 0 68px!important;width:68px!important;height:68px!important;object-fit:cover!important;}
.nioja-ha .nioja-ha-result-content{display:flex!important;visibility:visible!important;opacity:1!important;}
.nioja-ha .nioja-ha-result strong,.nioja-ha .nioja-ha-result .nioja-ha-result-type,.nioja-ha .nioja-ha-result small{display:block!important;visibility:visible!important;}
@media(min-width:481px){.nioja-ha-panel{width:min(460px,calc(100vw - 40px));height:min(680px,calc(100vh - 100px));}.nioja-ha-messages{padding:16px;}.nioja-ha-result{padding:10px 12px!important;gap:12px!important;}.nioja-ha-result strong{font-size:14px!important;}.nioja-ha-result small{font-size:12px!important;}}

/* v1.4.819: restore distinct assistant result layouts */
.nioja-ha .nioja-ha-result-section{display:block;width:100%;min-width:0;margin:0 0 14px;}
.nioja-ha .nioja-ha-result-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;padding:0 1px;color:#172033;font-size:14px;}
.nioja-ha .nioja-ha-view-all{flex:0 0 auto;color:#24569a!important;font-size:12px;font-weight:700;text-decoration:none!important;white-space:nowrap;padding:6px 9px;border:1px solid #d5deeb;border-radius:8px;background:#fff;}
.nioja-ha .nioja-ha-results{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;}
.nioja-ha .nioja-ha-shop-scroll{display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;gap:10px!important;padding:2px 2px 10px!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
.nioja-ha .nioja-ha-shop-scroll .nioja-ha-result-shop{display:flex!important;flex:0 0 205px!important;width:205px!important;max-width:205px!important;min-width:205px!important;min-height:0!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:10px!important;scroll-snap-align:start;white-space:normal;}
.nioja-ha .nioja-ha-shop-scroll .nioja-ha-result-image{flex:0 0 auto!important;width:100%!important;height:108px!important;max-width:none!important;object-fit:cover!important;}
.nioja-ha .nioja-ha-shop-scroll .nioja-ha-result-content{flex:1 1 auto!important;}
.nioja-ha .nioja-ha-shop-scroll .nioja-ha-result strong{font-size:13px!important;}
.nioja-ha .nioja-ha-section-products .nioja-ha-result,.nioja-ha .nioja-ha-section-categories .nioja-ha-result,.nioja-ha .nioja-ha-section-pages .nioja-ha-result{display:flex!important;flex-direction:row!important;width:100%!important;max-width:100%!important;min-height:82px!important;}

/* Contextual navigation links inside assistant answers. */
.nioja-ha .nioja-ha-message.bot a.nioja-ha-answer-link{color:#245b91;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;font-weight:600;}
.nioja-ha .nioja-ha-message.bot a.nioja-ha-answer-link:focus-visible{outline:2px solid #245b91;outline-offset:2px;border-radius:2px;}
