/* All public-facing selectors are scoped under .nits-shell. */
.nits-shell{--nits-primary:#1266f1;--nits-ink:#0c1934;--nits-muted:#637698;--nits-line:#e8edf6;font-family:Poppins,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5;font-size:14px;box-sizing:border-box;position:relative;z-index:2147483000}
.nits-shell *,.nits-shell *::before,.nits-shell *::after{box-sizing:border-box}
.nits-shell [hidden]{display:none!important}
.nits-shell button,.nits-shell input,.nits-shell textarea,.nits-shell select{font-family:inherit}
.nits-shell button{cursor:pointer;transition:background .17s,transform .17s,border-color .17s,box-shadow .17s}
.nits-shell button:focus-visible,.nits-shell a:focus-visible,.nits-shell textarea:focus-visible,.nits-shell input:focus-visible,.nits-shell select:focus-visible{outline:3px solid #83cfff;outline-offset:2px}
.nits-shell button:disabled{cursor:wait;opacity:.6}
.nits-shell .nits-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.nits-shell .nits-launch{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;position:fixed;right:24px;bottom:24px;width:70px;height:70px;z-index:2147483000;border-radius:22px;border:1px solid #ffffffb0;background:linear-gradient(135deg,#e5f5ff,#d6ebff);box-shadow:0 14px 40px #0b2b6b32,0 2px 4px #1154b52a;transition:transform .25s,border-radius .25s;padding:1px}
.nits-shell .nits-launch:hover{transform:translateY(-4px);box-shadow:0 18px 48px #0b2b6b40}
.nits-shell .nits-launch-face{display:block;width:64px;height:64px;overflow:hidden;border-radius:20px}
.nits-shell .nits-launch-face img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.23);animation:nits-float 4.5s ease-in-out infinite}
.nits-shell .nits-launch-status,.nits-shell .nits-online{display:inline-block;background:#10c877;border:2px solid white;border-radius:50%}
.nits-shell .nits-launch-status{width:15px;height:15px;position:absolute;bottom:4px;right:4px;box-shadow:0 0 0 3px #ffffff80}
.nits-shell .nits-launch-bubble{position:absolute;right:80px;padding:10px 14px;color:#152a54;white-space:nowrap;background:white;box-shadow:0 8px 30px #10265722;border:1px solid #e6eefb;border-radius:15px;font-size:12px;font-weight:700;pointer-events:none;animation:nits-in .4s ease-out}
.nits-shell .nits-launch-bubble span{color:var(--nits-primary)}
.nits-shell.nits-open .nits-launch{transform:scale(.94)}.nits-shell.nits-open .nits-launch-bubble{display:none}
.nits-shell .nits-panel{position:fixed;bottom:108px;right:24px;width:min(410px,calc(100vw - 32px));height:min(650px,calc(100dvh - 133px));min-height:385px;display:flex;flex-direction:column;z-index:2147483001;overflow:hidden;background:#fff;border:1px solid #e3ecf8;border-radius:20px;box-shadow:0 20px 80px #07173e36,0 2px 9px #00132a18;color:var(--nits-ink);animation:nits-in .22s ease-out;isolation:isolate}
.nits-shell .nits-head{display:flex;gap:10px;align-items:center;flex:0 0 auto;height:81px;padding:12px 14px;background:linear-gradient(110deg,#081c43,#0b3b94 67%,var(--nits-primary));color:white}
.nits-shell .nits-head-avatar{background:#dcefff;width:51px;height:51px;border-radius:16px;overflow:hidden;flex-shrink:0;border:2px solid #ffffff60}
.nits-shell .nits-head-avatar img{width:100%;height:100%;object-fit:cover;transform:scale(1.23)}
.nits-shell .nits-head-title{flex:1;min-width:0}.nits-shell .nits-head-title strong{font-size:16px;color:white;font-weight:750;letter-spacing:-.15px;display:flex;align-items:center;gap:7px}.nits-shell .nits-head-title small{display:block;color:#d9e9ff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nits-shell .nits-online{height:9px;width:9px;border:0;margin-right:6px;vertical-align:middle}
.nits-shell .nits-ai-tag{font-size:9px;font-weight:800;color:#143d88;background:#d9f5ff;border-radius:5px;padding:2px 5px}
.nits-shell .nits-head-min,.nits-shell .nits-head-close{border:0;background:#ffffff1a;color:white;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;font-size:21px;line-height:1;padding:0}
.nits-shell .nits-head-min:hover,.nits-shell .nits-head-close:hover{background:#ffffff35}
.nits-shell .nits-chat-screen{display:flex;flex-direction:column;flex:1;min-height:0;background:linear-gradient(#fbfdff,#fff)}
.nits-shell .nits-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 15px 18px;scrollbar-color:#ccdaec transparent;scrollbar-width:thin}
.nits-shell .nits-date-label{text-align:center;font-size:10px;color:#8392ad;margin:2px 0 17px;letter-spacing:.4px}
.nits-shell .nits-line{display:flex;align-items:flex-end;gap:8px;margin:0 0 16px;max-width:100%;animation:nits-in .16s ease-out}
.nits-shell .nits-line-user{justify-content:flex-end}
.nits-shell .nits-small-avatar{flex:0 0 29px;width:29px;height:29px;border-radius:10px;background:#d9efff;overflow:hidden;border:1px solid #d3e5f8}
.nits-shell .nits-small-avatar img{width:100%;height:100%;object-fit:cover;transform:scale(1.24)}
.nits-shell .nits-msg{max-width:82%;padding:11px 13px;background:#eff4fc;color:#24385e;border-radius:14px 14px 14px 4px;font-size:12.5px;line-height:1.68;white-space:pre-wrap;overflow-wrap:anywhere}
.nits-shell .nits-line-user .nits-msg{color:white;background:var(--nits-primary);border-radius:14px 14px 4px 14px}
.nits-shell .nits-msg-error{color:#923c33;background:#fff1f0}
.nits-shell .nits-topics{padding:0 0 10px 36px}.nits-shell .nits-topics>span{font-size:10px;font-weight:700;letter-spacing:1px;color:#7a8eae}
.nits-shell .nits-topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.nits-shell .nits-topic-grid button{border:1px solid #dce8ff;color:#26456e;background:#fff;border-radius:10px;padding:11px 8px;text-align:left;font-size:11.3px;min-height:45px;font-weight:600}
.nits-shell .nits-topic-grid button:hover{border-color:var(--nits-primary);background:#f4f8ff;transform:translateY(-1px)}
.nits-shell .nits-composer-bar{border-top:1px solid #edf0f5;padding:9px 13px 8px;background:#fff;flex-shrink:0}
.nits-shell .nits-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.nits-shell .nits-quote-open{color:var(--nits-primary);font-size:11px;font-weight:750;background:#eef5ff;border-radius:8px;border:0;padding:7px 10px}
.nits-shell .nits-actions span{font-size:9px;color:#8996aa;text-align:right}
.nits-shell .nits-composer{border:1px solid #dfe8f5;box-shadow:0 1px 6px #0a34710c;border-radius:15px;display:flex;align-items:flex-end;gap:5px;padding:5px 5px 5px 12px;background:#fff}
.nits-shell .nits-composer:focus-within{border-color:#a2bff0}
.nits-shell .nits-composer textarea{flex:1;min-width:0;resize:none;padding:7px 0;line-height:19px;max-height:102px;height:33px;font-size:13px;color:#173456;background:transparent;border:0;outline:0!important;box-shadow:none!important;min-height:33px}
.nits-shell .nits-composer textarea::placeholder{color:#98a9bf}.nits-shell .nits-send{flex:0 0 37px;width:37px;height:37px;border:0;border-radius:11px;background:var(--nits-primary);color:white;display:grid;place-items:center;padding:0;box-shadow:none}
.nits-shell .nits-send:hover{transform:translateY(-1px);filter:brightness(1.1)}.nits-shell .nits-send svg{width:20px;height:20px}
.nits-shell .nits-foot{text-align:center;color:#a2acc2;font-size:9px;line-height:19px;margin-top:5px}.nits-shell .nits-foot span{color:#1266f1}.nits-shell .nits-foot strong{color:#38577f;font-weight:800}
.nits-shell .nits-typing{display:flex;gap:4px;align-items:center;padding:12px 15px;min-height:35px}.nits-shell .nits-typing i{height:6px;width:6px;border-radius:50%;background:#8ca9d5;animation:nits-dot 1.1s ease-in-out infinite}.nits-shell .nits-typing i:nth-child(2){animation-delay:.17s}.nits-shell .nits-typing i:nth-child(3){animation-delay:.34s}
.nits-shell .nits-lead-screen{flex:1;min-height:0;overflow:auto;background:#fff;padding:15px 17px 23px;overscroll-behavior:contain}
.nits-shell .nits-lead-intro{position:relative;text-align:center;padding:5px 0 14px}.nits-shell .nits-back{display:block;background:none;color:#7081a0;border:0;padding:4px 0;font-size:11px}.nits-shell .nits-back:hover{color:var(--nits-primary)}
.nits-shell .nits-lead-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--nits-primary);background:#e9f3ff;border-radius:13px;margin:3px auto 7px;font-size:23px}
.nits-shell .nits-lead-intro h3,.nits-shell .nits-lead-success h3{font-size:17px;font-weight:800;color:#10244a;margin:0 0 5px}.nits-shell .nits-lead-intro p{font-size:11.5px;color:#7a8ba5;line-height:1.55;margin:0}
.nits-shell .nits-lead-form{display:flex;flex-direction:column;gap:10px}.nits-shell .nits-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.nits-shell .nits-lead-form label:not(.nits-check){color:#304565;font-weight:650;font-size:10.8px;display:flex;flex-direction:column;gap:4px}
.nits-shell .nits-lead-form em{font-style:normal;color:#d04050}
.nits-shell .nits-lead-form input:not([type=checkbox]),.nits-shell .nits-lead-form textarea,.nits-shell .nits-lead-form select{min-width:0;width:100%;border:1px solid #dfe8f4;border-radius:9px;background:white;color:#183456;padding:10px 9px;font-size:12px;line-height:1.35;box-shadow:none;outline:0;min-height:38px}
.nits-shell .nits-lead-form input:focus,.nits-shell .nits-lead-form textarea:focus,.nits-shell .nits-lead-form select:focus{border-color:var(--nits-primary)}
.nits-shell .nits-lead-form textarea{resize:vertical}
.nits-shell .nits-check{font-size:10.5px;line-height:1.5;color:#596d8a;display:flex;align-items:flex-start;gap:8px;font-weight:400}
.nits-shell .nits-check input{margin:3px 0 0;flex:0 0 auto;accent-color:var(--nits-primary)}
.nits-shell .nits-check a{color:var(--nits-primary);text-decoration:underline}.nits-shell .nits-trap{position:absolute;left:-10000px;opacity:0;height:0;overflow:hidden}
.nits-shell .nits-form-notice{color:#bd3131;font-size:12px;margin:0}.nits-shell .nits-form-notice:empty{display:none}
.nits-shell .nits-submit{border:0;border-radius:11px;background:var(--nits-primary);color:white;font-size:12px;font-weight:750;padding:12px;display:flex;align-items:center;justify-content:space-between;width:100%}
.nits-shell .nits-submit:hover{filter:brightness(1.08)}.nits-shell .nits-lead-bottom{text-align:center;font-size:10px;color:#99a7bc}
.nits-shell .nits-lead-success{text-align:center;padding:40px 12px}.nits-shell .nits-lead-success p{color:#657796;font-size:13px;line-height:1.7}
.nits-shell .nits-success-icon{margin:0 auto 12px;width:60px;height:60px;display:grid;place-items:center;border-radius:20px;color:white;background:#10bb80;font-size:30px}
.nits-shell .nits-lead-success a,.nits-shell .nits-return-chat{display:block;border:0;text-align:center;border-radius:10px;padding:12px;margin:12px 0;font-size:12px;font-weight:700;text-decoration:none}
.nits-shell .nits-lead-success a{background:#e2faed;color:#106e44}.nits-shell .nits-return-chat{background:#e9f1ff;color:var(--nits-primary);width:100%}
@keyframes nits-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes nits-float{0%,100%{transform:translateY(0) scale(1.23)}50%{transform:translateY(-2px) scale(1.23)}}
@keyframes nits-dot{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-4px)}}
@media(max-width:600px){.nits-shell .nits-launch{right:15px;bottom:max(15px,env(safe-area-inset-bottom));width:62px;height:62px;border-radius:19px}.nits-shell .nits-launch-face{width:57px;height:57px}.nits-shell .nits-launch-bubble{font-size:11px;right:72px}.nits-shell .nits-panel{right:8px;bottom:85px;width:calc(100vw - 16px);height:calc(100dvh - 102px);max-height:750px;min-height:0;border-radius:16px}.nits-shell .nits-msg{font-size:12.5px}.nits-shell .nits-head{height:73px}.nits-shell .nits-composer textarea{font-size:16px}.nits-shell .nits-lead-form input:not([type=checkbox]),.nits-shell .nits-lead-form textarea,.nits-shell .nits-lead-form select{font-size:16px}}
@media(max-width:375px){.nits-shell .nits-topic-grid{grid-template-columns:1fr}.nits-shell .nits-form-row{grid-template-columns:1fr}.nits-shell .nits-head-title strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.nits-shell *,.nits-shell *::before,.nits-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
