
.nk-root{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:90;
  font-family:var(--fb,inherit);color:#eafff5;-webkit-font-smoothing:antialiased}
@media (max-width:760px){body.mn-has-tabs .nk-root{bottom:calc(68px + env(safe-area-inset-bottom,0px))}}
.nk-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


.nk-fab{position:relative;display:grid;place-items:center;width:58px;height:58px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:linear-gradient(135deg,#8FFF8F 0%,#50FEB6 50%,#3FD1A9 100%);color:#02130D;
  box-shadow:0 0 0 1px rgba(80,254,182,.5),0 14px 34px -10px rgba(80,254,182,.55),0 8px 24px -8px rgba(0,0,0,.9);
  transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.nk-fab:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(80,254,182,.7),0 18px 40px -10px rgba(80,254,182,.7),0 8px 24px -8px rgba(0,0,0,.9)}
.nk-fab:focus-visible{outline:2px solid #eafff5;outline-offset:3px}
.nk-fab svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nk-fab .nk-dot{position:absolute;top:3px;right:3px;width:13px;height:13px;border-radius:50%;background:#FFC857;box-shadow:0 0 0 2px #030305}
.nk-root.is-open .nk-fab{display:none}


.nk-panel{position:absolute;right:0;bottom:0;display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));
  height:min(560px,calc(100vh - 40px));height:min(560px,calc(100dvh - 40px));background:#0B0E10;border-radius:20px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(80,254,182,.28) inset,0 30px 80px -20px rgba(0,0,0,.95),0 0 60px -30px rgba(80,254,182,.6)}
.nk-panel[hidden]{display:none}
.nk-hd{display:flex;align-items:center;gap:10px;padding:12px 10px 12px 14px;background:linear-gradient(180deg,#11161A,#0B0E10);
  border-bottom:1px solid rgba(255,255,255,.07)}
.nk-av{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
  background:linear-gradient(135deg,#8FFF8F,#3FD1A9);color:#02130D;font-weight:800;font-size:16px}
.nk-ttl{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.nk-ttl b{font-size:15px;font-weight:800;color:#eafff5}
.nk-ttl small{font-size:12px;color:#8fa7a0;display:flex;align-items:center;gap:6px}
.nk-ttl small::before{content:"";width:7px;height:7px;border-radius:50%;background:#50FEB6;box-shadow:0 0 8px #50FEB6}
.nk-ib{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:#a9bdb7;cursor:pointer}
.nk-ib:hover{background:rgba(255,255,255,.06);color:#eafff5}
.nk-ib:focus-visible{outline:2px solid #50FEB6;outline-offset:-2px}
.nk-ib svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nk-pre{margin:0;padding:7px 14px;font-size:12px;line-height:1.4;background:rgba(255,200,87,.1);color:#ffd98a;border-bottom:1px solid rgba(255,200,87,.2)}

.nk-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px 6px;display:flex;flex-direction:column;gap:8px;
  scrollbar-width:thin;scrollbar-color:rgba(80,254,182,.3) transparent}
.nk-msg{max-width:86%;padding:9px 13px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.nk-msg.nk-agent{align-self:flex-start;background:#172027;color:#eafff5;border-bottom-left-radius:6px}
.nk-msg.nk-user{align-self:flex-end;background:linear-gradient(135deg,rgba(143,255,143,.18),rgba(63,209,169,.22));color:#eafff5;
  box-shadow:0 0 0 1px rgba(80,254,182,.3) inset;border-bottom-right-radius:6px}
.nk-msg.nk-team{align-self:flex-start;background:#1b1a12;box-shadow:0 0 0 1px rgba(255,200,87,.35) inset;border-bottom-left-radius:6px}
.nk-who{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#FFC857;margin-bottom:3px}
.nk-sys{align-self:center;max-width:92%;margin:2px 0;padding:6px 12px;border-radius:999px;font-size:12px;line-height:1.4;text-align:center;
  color:#a9bdb7;background:rgba(255,255,255,.05)}
.nk-sys.nk-bad{color:#ffc1c8;background:rgba(255,90,110,.1)}
.nk-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;border-radius:16px;background:#172027}
.nk-typing i{width:7px;height:7px;border-radius:50%;background:#50FEB6;opacity:.35;animation:nk-b 1.2s infinite}
.nk-typing i:nth-child(2){animation-delay:.2s}.nk-typing i:nth-child(3){animation-delay:.4s}
@keyframes nk-b{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

.nk-ft{padding:8px 10px 10px;border-top:1px solid rgba(255,255,255,.07);background:#0B0E10}
.nk-form{display:flex;align-items:flex-end;gap:8px}
.nk-in{flex:1;min-width:0;min-height:44px;max-height:120px;resize:none;padding:11px 13px;border:0;border-radius:14px;background:#11161A;color:#eafff5;
  font:inherit;font-size:16px;line-height:1.4;box-shadow:0 0 0 1px rgba(255,255,255,.1) inset}
.nk-in::placeholder{color:#6f8781}
.nk-in:focus{outline:none;box-shadow:0 0 0 2px rgba(80,254,182,.7) inset}
.nk-send{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:14px;cursor:pointer;
  background:linear-gradient(135deg,#8FFF8F,#3FD1A9);color:#02130D}
.nk-send[disabled]{opacity:.45;cursor:default}
.nk-send:focus-visible{outline:2px solid #eafff5;outline-offset:2px}
.nk-send svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nk-note{margin:7px 2px 0;font-size:11px;line-height:1.35;color:#6f8781}

@media (max-width:520px){
  .nk-root.is-open{left:0;right:0;bottom:0}
  .nk-root.is-open .nk-panel{position:fixed;left:0;right:0;bottom:0;width:100%;height:85vh;height:85dvh;border-radius:20px 20px 0 0;
    padding-bottom:env(safe-area-inset-bottom,0px)}
}
@media (prefers-reduced-motion:reduce){.nk-fab{transition:none}.nk-typing i{animation:none;opacity:.7}}
@media (forced-colors:active){.nk-fab,.nk-send{border:2px solid ButtonText}.nk-msg{border:1px solid CanvasText}}
@media print{.nk-root{display:none!important}}
