.nedai-assistant{position:fixed;right:20px;bottom:20px;z-index:1055;font-family:inherit}
.nedai-launcher{position:relative;width:52px;height:52px;border:0;border-radius:50%;background:#168a50;color:#fff;box-shadow:0 8px 24px rgba(15,72,49,.28);display:grid;place-items:center;cursor:pointer;transition:transform .15s ease,background .15s ease}
.nedai-launcher:hover,.nedai-launcher:focus-visible{background:#107443;transform:scale(1.04);outline:3px solid rgba(22,138,80,.25);outline-offset:3px}
.nedai-launcher-mark{font-size:1.25rem;font-weight:800}.nedai-unread{position:absolute;right:1px;top:1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#f16363}
.nedai-panel{position:absolute;right:0;bottom:66px;width:min(390px,calc(100vw - 32px));height:min(600px,calc(100vh - 110px));background:#fff;border:1px solid #dce4e0;border-radius:18px;box-shadow:0 24px 70px rgba(20,52,39,.24);overflow:hidden;display:flex;flex-direction:column;color:#16362b}
.nedai-panel[hidden]{display:none}.nedai-header{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;background:#f3faf6;border-bottom:1px solid #deebe3}
.nedai-title{font-size:1.05rem;font-weight:800}.nedai-status{font-size:.75rem;color:#537166;display:flex;align-items:center;gap:6px}.nedai-status span{width:7px;height:7px;border-radius:50%;background:#19a866}
.nedai-header-actions{display:flex;align-items:center;gap:4px}.nedai-header-actions button{border:0;background:transparent;color:#31594a;padding:6px 8px;border-radius:7px;font-size:.82rem}.nedai-header-actions button:hover,.nedai-header-actions button:focus-visible{background:#e2f1e8;outline:none}
.nedai-header-actions [data-action="close"]{font-size:1.45rem;line-height:1}.nedai-credits{padding:9px 14px;background:#e8f6ed;border-bottom:1px solid #d3eadb;color:#185d3b;font-size:.8rem;font-weight:700}
.nedai-context{display:flex;align-items:center;gap:6px;padding:8px 14px;border-bottom:1px solid #edf1ef;color:#61756e;font-size:.75rem;white-space:nowrap;overflow:hidden}.nedai-context span:last-child{overflow:hidden;text-overflow:ellipsis}
.nedai-messages{flex:1;overflow-y:auto;padding:14px;scroll-behavior:smooth}.nedai-message{display:flex;margin:0 0 10px}.nedai-message-user{justify-content:flex-end}.nedai-bubble{max-width:86%;padding:9px 11px;border-radius:13px;background:#f0f3f2;color:#223f35;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.4}
.nedai-message-user .nedai-bubble{background:#168a50;color:#fff;border-bottom-right-radius:4px}.nedai-message-assistant .nedai-bubble{border-bottom-left-radius:4px}.nedai-message-error .nedai-bubble{background:#fff1f1;color:#9c2d2d}
.nedai-typing{color:#6b7f77;font-size:.82rem;padding:3px 4px}.nedai-starters{padding:0 14px 10px;display:flex;flex-wrap:wrap;gap:7px}.nedai-starters[hidden]{display:none}.nedai-starters button{border:1px solid #bcd8c7;border-radius:999px;background:#fff;color:#246044;padding:6px 10px;font-size:.78rem}.nedai-starters button:hover,.nedai-starters button:focus-visible{background:#eff8f2;outline:2px solid rgba(22,138,80,.2)}
.nedai-composer{display:flex;gap:8px;padding:10px 12px 6px;border-top:1px solid #e3e9e6}.nedai-composer textarea{flex:1;resize:none;min-height:42px;max-height:100px;border:1px solid #bdcbc5;border-radius:11px;padding:9px 10px;font:inherit;font-size:.88rem}.nedai-composer textarea:focus{border-color:#168a50;outline:3px solid rgba(22,138,80,.14)}
.nedai-composer button{align-self:flex-end;border:0;border-radius:10px;background:#168a50;color:#fff;padding:10px 13px;font-weight:700}.nedai-composer button:disabled{opacity:.55}.nedai-disclaimer{text-align:center;padding:0 10px 8px;color:#74877f;font-size:.68rem}
.nedai-assistant.is-busy .nedai-launcher{animation:nedai-pulse 1.1s ease-in-out infinite}@keyframes nedai-pulse{50%{box-shadow:0 8px 28px rgba(22,138,80,.55)}}
@media(max-width:600px){.nedai-assistant{right:12px;bottom:12px}.nedai-panel{position:fixed;inset:12px;width:auto;height:auto;border-radius:16px}.nedai-launcher{width:50px;height:50px}}
@media(prefers-reduced-motion:reduce){.nedai-launcher,.nedai-messages{transition:none;scroll-behavior:auto}.nedai-assistant.is-busy .nedai-launcher{animation:none}}
