/* Ask Nora — site helper widget */
#nora{position:fixed;right:18px;bottom:18px;z-index:9000;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;--nk:#2c2622;--nt:#d9714e;--nm:#e8b34a;--nl:#e7ddce;--nbg:#faf6ef;transition:bottom .25s}
body.hb-bar-on #nora{bottom:86px}
#nora *{box-sizing:border-box}
.nr-btn{display:flex;align-items:center;gap:10px;padding:6px 16px 6px 6px;background:#fff;border:2px solid var(--nl);border-radius:999px;box-shadow:0 10px 30px rgba(44,38,34,.18);cursor:pointer;font:600 14px/1 system-ui,sans-serif;color:var(--nk);transition:transform .15s,box-shadow .15s}
.nr-btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(44,38,34,.22)}
.nr-btn img{width:44px;height:44px;border-radius:50%;display:block;border:2px solid var(--nm)}
.nr-btn .nr-l{display:flex;flex-direction:column;gap:2px;text-align:left}.nr-btn small{font-weight:500;color:#6b6259;font-size:11.5px}
.nr-btn .nr-dot{position:absolute;top:2px;right:4px;width:10px;height:10px;border-radius:50%;background:#3f7d4e;border:2px solid #fff}
.nr-btn{position:relative}
@keyframes nr-wag{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
.nr-btn:hover img{animation:nr-wag .6s ease-in-out infinite}
#nora.open .nr-btn{display:none}
.nr-panel{display:none;width:360px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 40px);background:var(--nbg);border:1px solid var(--nl);border-radius:22px;box-shadow:0 24px 60px rgba(44,38,34,.28);overflow:hidden;flex-direction:column;animation:nr-in .22s ease-out}
@keyframes nr-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
#nora.open .nr-panel{display:flex}
.nr-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:linear-gradient(135deg,#fdf3dc,#fdeeea);border-bottom:1px solid var(--nl)}
.nr-head img{width:40px;height:40px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.nr-head b{display:block;font-size:15px;color:var(--nk)}.nr-head small{color:#6b6259;font-size:12px}
.nr-head .nr-x{margin-left:auto;background:#fff;border:1px solid var(--nl);border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:18px;line-height:1;color:var(--nk)}
.nr-msgs{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.nr-m{max-width:88%;padding:10px 13px;border-radius:16px;font-size:14px;line-height:1.45;color:var(--nk);animation:nr-in .2s ease-out}
.nr-m.nr-bot{background:#fff;border:1px solid var(--nl);border-bottom-left-radius:6px;align-self:flex-start}
.nr-m.nr-me{background:var(--nk);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}
.nr-m p{margin:0 0 8px}.nr-m p:last-child{margin:0}
.nr-m a{color:var(--nt);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.nr-card{display:block;margin:8px 0 0;padding:10px 12px;border:1px solid var(--nl);border-radius:12px;background:#fdf9f2;text-decoration:none!important;color:var(--nk)!important;font-weight:500!important}
.nr-card b{display:block;font-size:13.5px;margin-bottom:2px;color:var(--nk)}.nr-card span{font-size:12.5px;color:#6b6259;display:block}.nr-card em{font-style:normal;color:var(--nt);font-size:12px;font-weight:700}
.nr-card:hover{border-color:var(--nt)}
.nr-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px}
.nr-chips button{background:#fff;border:1px solid var(--nl);border-radius:999px;padding:7px 12px;font-size:12.5px;cursor:pointer;color:var(--nk);font-family:inherit}
.nr-chips button:hover{border-color:var(--nt);color:var(--nt)}
.nr-typing{align-self:flex-start;background:#fff;border:1px solid var(--nl);border-radius:16px;border-bottom-left-radius:6px;padding:10px 14px;display:flex;gap:4px}
.nr-typing i{width:7px;height:7px;border-radius:50%;background:#c9b9a5;animation:nr-b 1s infinite}.nr-typing i:nth-child(2){animation-delay:.15s}.nr-typing i:nth-child(3){animation-delay:.3s}
@keyframes nr-b{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-5px);opacity:1}}
.nr-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--nl);background:#fff}
.nr-form input{flex:1;font:inherit;font-size:14px;padding:10px 12px;border:1.5px solid var(--nl);border-radius:999px;outline:none;color:var(--nk);min-width:0}
.nr-form input:focus{border-color:var(--nt)}
.nr-form button{background:var(--nt);color:#fff;border:none;border-radius:999px;width:42px;height:42px;cursor:pointer;font-size:18px;flex:none}
.nr-foot{font-size:10.5px;color:#8a8078;text-align:center;padding:0 12px 8px;background:#fff}
@media(max-width:600px){#nora{right:10px;bottom:10px}.nr-btn{padding:5px 12px 5px 5px;font-size:13px}.nr-btn img{width:40px;height:40px}.nr-btn small{display:none}
 .nr-panel{position:fixed;inset:auto 0 0 0;width:100%;max-width:100%;height:82vh;max-height:82vh;border-radius:22px 22px 0 0}
 #nora.open{right:0;bottom:0}}
@media print{#nora{display:none}}
