#nitpark-ai-chat-root{--npa-accent:#2563eb;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;z-index:99999}
#nitpark-ai-chat-root *{box-sizing:border-box}
#nitpark-ai-chat-root .npa-launcher{position:fixed;right:22px;bottom:22px;border:0;border-radius:999px;background:var(--npa-accent);color:#fff;padding:14px 20px;box-shadow:0 8px 28px #0002;cursor:pointer;font-size:15px;font-weight:650;display:flex;gap:9px;align-items:center}
#nitpark-ai-chat-root .npa-launcher span:first-child{font-size:20px}
#nitpark-ai-chat-root .npa-launcher-hidden{display:none}
#nitpark-ai-chat-root .npa-panel{position:fixed;right:22px;bottom:22px;width:min(370px,calc(100vw - 28px));height:min(550px,calc(100vh - 44px));background:#fff;color:#172033;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 18px 60px #0002;overflow:hidden;display:flex;flex-direction:column}
#nitpark-ai-chat-root .npa-panel[hidden]{display:none}
#nitpark-ai-chat-root .npa-header{background:var(--npa-accent);color:#fff;padding:16px;display:flex;align-items:center;justify-content:space-between}
#nitpark-ai-chat-root .npa-header strong,#nitpark-ai-chat-root .npa-header small{display:block}
#nitpark-ai-chat-root .npa-header small{opacity:.85;font-size:12px;margin-top:3px}
#nitpark-ai-chat-root .npa-close{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}
#nitpark-ai-chat-root .npa-messages{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1;overflow-y:auto;background:#f8fafc}
#nitpark-ai-chat-root .npa-message{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
#nitpark-ai-chat-root .npa-bot{align-self:flex-start;background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:4px}
#nitpark-ai-chat-root .npa-user{align-self:flex-end;background:var(--npa-accent);color:#fff;border-bottom-right-radius:4px}
#nitpark-ai-chat-root .npa-pending{opacity:.7}
#nitpark-ai-chat-root .npa-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #e5e7eb;background:#fff}
#nitpark-ai-chat-root .npa-form textarea{resize:none;max-height:120px;min-height:42px;flex:1;border:1px solid #d1d5db;border-radius:12px;padding:10px 11px;font:inherit;font-size:14px;line-height:1.4;outline:none}
#nitpark-ai-chat-root .npa-form textarea:focus{border-color:var(--npa-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--npa-accent) 18%,transparent)}
#nitpark-ai-chat-root .npa-form button{height:42px;width:42px;flex:0 0 42px;border:0;border-radius:12px;background:var(--npa-accent);color:#fff;font-size:20px;cursor:pointer}
#nitpark-ai-chat-root .npa-form button:disabled{opacity:.55;cursor:wait}
#nitpark-ai-chat-root .npa-footnote{text-align:center;color:#6b7280;font-size:10px;padding:0 8px 8px;background:#fff}
#nitpark-ai-chat-root .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){#nitpark-ai-chat-root .npa-launcher{right:14px;bottom:14px}#nitpark-ai-chat-root .npa-panel{right:8px;bottom:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:16px}}
