/* NexaFlow website assistant (assets/nf-chat.js). Black and white, Apple style. */
.nfc,.nfc *{box-sizing:border-box}
.nfc{--c-bg:#fff;--c-ink:#1d1d1f;--c-mute:#6e6e73;--c-line:#d2d2d7;--c-soft:#f2f2f7;--c-blk:#000;font-family:var(--f-body,system-ui,-apple-system,'Segoe UI',sans-serif)}
.nfc button{font-family:inherit}
.nfc svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* launcher */
.nfc-l{position:fixed;right:20px;bottom:20px;z-index:950;width:58px;height:58px;padding:0;border:0;border-radius:50%;background:var(--c-blk);color:#f5f5f7;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.14);transition:transform .2s ease,box-shadow .2s ease;-webkit-tap-highlight-color:transparent}
.nfc-l:hover{transform:scale(1.06);box-shadow:0 14px 36px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.2)}
.nfc-l svg{width:26px;height:26px;stroke-width:1.8}
.nfc-l .nfc-ix,.nfc-l[aria-expanded="true"] .nfc-ic{display:none}
.nfc-l[aria-expanded="true"] .nfc-ix{display:block}
.nfc-l:focus-visible,.nfc button:focus-visible,.nfc a:focus-visible{outline:3px solid #0a84ff;outline-offset:2px}

/* teaser */
.nfc-t{position:fixed;right:20px;bottom:90px;z-index:950;max-width:250px;background:var(--c-bg);color:var(--c-ink);border-radius:18px 18px 6px 18px;box-shadow:0 14px 40px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.05);animation:nfcIn .35s ease both}
.nfc-tb{display:block;width:100%;border:0;background:none;color:inherit;text-align:left;padding:12px 34px 12px 15px;font-size:14px;line-height:1.4;font-weight:500;cursor:pointer}
.nfc-tx{position:absolute;top:6px;right:6px;width:24px;height:24px;border:0;border-radius:50%;background:var(--c-soft);color:var(--c-mute);font-size:15px;line-height:1;cursor:pointer}

/* panel */
.nfc-p{position:fixed;right:20px;bottom:90px;z-index:960;width:380px;max-width:calc(100vw - 40px);height:min(620px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--c-bg);color:var(--c-ink);border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.06);opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:100% 100%;transition:opacity .22s ease,transform .25s ease,visibility .25s}
.nfc-p.open{opacity:1;visibility:visible;transform:none}
.nfc-p:focus{outline:0}
.nfc-h{flex:none;display:flex;align-items:center;gap:11px;padding:13px 14px 13px 16px;background:var(--c-blk);color:#f5f5f7}
.nfc-av{flex:none;width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#f5f5f7,#8e8e93);color:#000;display:grid;place-items:center;font-weight:700;font-size:15px}
.nfc-tt{min-width:0}
.nfc-tt b{display:block;color:#f5f5f7;font-size:15px;font-weight:600;line-height:1.25}
.nfc-tt small{display:flex;align-items:center;gap:6px;color:#86868b;font-size:12px;line-height:1.3}
.nfc-tt small::before{content:"";width:7px;height:7px;border-radius:50%;background:#30d158}
.nfc-x{margin-left:auto;flex:none;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#f5f5f7;font-size:20px;line-height:1;cursor:pointer}
.nfc-x:hover{background:rgba(255,255,255,.2)}

/* messages */
.nfc-m{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px 14px 8px;display:flex;flex-direction:column;gap:8px;-webkit-overflow-scrolling:touch}
.nfc-b{max-width:86%;padding:10px 13px;border-radius:18px;font-size:14.5px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere;animation:nfcIn .25s ease both}
.nfc-b.bot{align-self:flex-start;background:var(--c-soft);color:var(--c-ink);border-bottom-left-radius:6px}
.nfc-b.me{align-self:flex-end;background:var(--c-blk);color:#fff;border-bottom-right-radius:6px}
.nfc-a{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;white-space:normal}
.nfc-a a{display:inline-flex;align-items:center;padding:8px 13px;border-radius:99px;background:var(--c-bg);border:1px solid var(--c-line);color:var(--c-ink);font-size:13.5px;font-weight:600;line-height:1.2;text-decoration:none}
.nfc-a a:hover{border-color:var(--c-ink);color:var(--c-ink)}
.nfc-a a.pri{background:var(--c-blk);border-color:var(--c-blk);color:#fff}
.nfc-a a.pri:hover{background:#2c2c2e;color:#fff}
.nfc-ty{align-self:flex-start;display:flex;gap:4px;padding:13px 14px;border-radius:18px;border-bottom-left-radius:6px;background:var(--c-soft)}
.nfc-ty i{width:7px;height:7px;border-radius:50%;background:#8e8e93;animation:nfcDot 1s infinite ease-in-out}
.nfc-ty i:nth-child(2){animation-delay:.15s}.nfc-ty i:nth-child(3){animation-delay:.3s}

/* chips + input */
.nfc-c{flex:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding:2px 14px 10px;max-height:40%;overflow-y:auto}
.nfc-c:empty{display:none}
.nfc-c button{border:1px solid var(--c-line);background:var(--c-bg);color:var(--c-ink);border-radius:99px;padding:8px 13px;font-size:13.5px;font-weight:500;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s}
.nfc-c button:hover{border-color:var(--c-ink);background:#fafafa}
.nfc-f{flex:none;display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e5e5ea;background:var(--c-bg)}
.nfc-i{flex:1;min-width:0;height:42px;border:1px solid var(--c-line);border-radius:99px;padding:0 16px;background:#f5f5f7;color:var(--c-ink);font:16px/1.2 inherit;outline:0;transition:border-color .15s,background .15s}
.nfc-i:focus{border-color:var(--c-ink);background:var(--c-bg)}
.nfc-s{flex:none;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--c-blk);color:#fff;display:grid;place-items:center;cursor:pointer}
.nfc-s svg{width:20px;height:20px}

/* voice call card */
.nfc-vc{align-self:stretch;background:var(--c-blk);color:#a1a1a6;border-radius:18px;padding:16px;text-align:center;animation:nfcIn .25s ease both}
.nfc-vt b{display:block;color:#f5f5f7;font-size:15px;font-weight:600}
.nfc-vt span{font-size:12px;color:#86868b}
.nfc-mt{display:flex;justify-content:center;align-items:center;gap:4px;height:44px;margin:8px 0 10px}
.nfc-mt i{width:4px;height:8px;border-radius:4px;background:#48484a;transition:height .08s linear}
.nfc-vc.live .nfc-mt i{background:#f5f5f7}
.nfc-vc.on:not(.live) .nfc-mt i{animation:nfcDot 1s infinite ease-in-out}
.nfc-vb{border:0;border-radius:99px;padding:11px 22px;background:#f5f5f7;color:#000;font-size:14.5px;font-weight:600;cursor:pointer}
.nfc-vc.on .nfc-vb{background:#ff453a;color:#fff}
.nfc-vs{margin:10px 0 0;min-height:18px;font-size:12.5px;line-height:1.4;color:#a1a1a6}

@keyframes nfcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes nfcDot{0%,80%,100%{opacity:.35;transform:none}40%{opacity:1;transform:translateY(-3px)}}

/* phones and tablets: sit above the sticky "Get free demo" bar */
@media (max-width:760px){
  .nfc-l{right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px))}
  .nfc-t{right:16px;bottom:calc(156px + env(safe-area-inset-bottom,0px))}
  .nfc-p{right:16px;bottom:156px;max-width:calc(100vw - 32px);height:min(620px,calc(100vh - 176px))}
}
/* small phones: full-height sheet */
@media (max-width:560px){
  .nfc-p{top:0;right:0;bottom:0;left:0;width:auto;max-width:none;height:auto;border-radius:0;transform:translateY(24px)}
  .nfc-h{padding-top:calc(13px + env(safe-area-inset-top,0px))}
  .nfc-f{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .nfc-t{max-width:calc(100vw - 100px)}
  html.nfc-open,html.nfc-open body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){
  .nfc *,.nfc-l{animation:none!important;transition:none!important}
}
