.netendassist-ai{--netendassist-ai-colour:#0b4f9c;--netendassist-ai-green:#0a8f2c;--netendassist-ai-text:#172033;--netendassist-ai-muted:#687386;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--netendassist-ai-text);line-height:1.45;box-sizing:border-box}.netendassist-ai *{box-sizing:border-box}.netendassist-ai button,.netendassist-ai textarea{font:inherit}.netendassist-ai-window{width:min(390px,calc(100vw - 32px));height:min(590px,calc(100dvh - 110px));min-height:420px;background:#fff;border:1px solid rgba(21,42,68,.12);border-radius:22px;box-shadow:0 22px 70px rgba(15,32,56,.22);display:flex;flex-direction:column;overflow:hidden}.netendassist-ai-header{min-height:68px;background:#fff;color:var(--netendassist-ai-text);padding:12px 14px 12px 15px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f4}.netendassist-ai-brand{display:flex;align-items:center;gap:10px;min-width:0}.netendassist-ai-avatar{width:39px;height:39px;flex:0 0 39px;border-radius:50%;display:grid;place-items:center;background:var(--netendassist-ai-colour);background-size:contain;background-repeat:no-repeat;background-position:center;color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em;box-shadow:0 3px 10px rgba(15,32,56,.12)}.netendassist-ai-avatar.has-logo{background-color:#fff;border:1px solid #e2e8f0}.netendassist-ai-header strong{display:block;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:245px}.netendassist-ai-header small{display:flex;align-items:center;gap:5px;color:#6b7585;font-size:11px;margin-top:2px}.netendassist-ai-status-dot{width:7px;height:7px;border-radius:50%;background:#22a447;display:inline-block}.netendassist-ai-close{width:42px;height:42px;flex:0 0 42px;border:0;background:transparent;color:#5c6676;font-size:34px;font-weight:600;line-height:1;border-radius:50%;cursor:pointer;display:grid;place-items:center;padding:0 0 3px;transition:background .15s ease,color .15s ease}.netendassist-ai-close:hover{background:#f1f4f7;color:#202938}.netendassist-ai-payment-warning{background:#fff5f5;color:#c1121f;border-bottom:1px solid #ffd6d9;padding:9px 14px;font-size:11.5px;font-weight:700;line-height:1.4;text-align:center}.netendassist-ai-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px 12px;background:#f7f8fa;scroll-behavior:smooth}.netendassist-ai-message{display:flex;flex-direction:column;margin:0 0 14px;max-width:86%}.netendassist-ai-message.assistant{align-items:flex-start;margin-right:auto}.netendassist-ai-message.user{align-items:flex-end;margin-left:auto}.netendassist-ai-bubble{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 13px;border-radius:16px;background:#fff;border:1px solid #e3e7ed;box-shadow:0 1px 2px rgba(18,36,58,.04);font-size:14px;line-height:1.5}.netendassist-ai-message.assistant .netendassist-ai-bubble{border-bottom-left-radius:5px}.netendassist-ai-message.user .netendassist-ai-bubble{background:var(--netendassist-ai-colour);color:#fff;border-color:transparent;border-bottom-right-radius:5px}.netendassist-ai-inline-link{color:#0b63ce;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.netendassist-ai-inline-link:hover{color:#084f9f}.netendassist-ai-sources{margin:6px 3px 0;font-size:11px;color:var(--netendassist-ai-muted);max-width:100%}.netendassist-ai-sources summary{cursor:pointer;color:var(--netendassist-ai-colour);font-weight:600}.netendassist-ai-sources ul{margin:6px 0 0;padding-left:18px}.netendassist-ai-sources a{color:var(--netendassist-ai-colour);text-decoration:underline}.netendassist-ai-typing{display:flex!important;align-items:center;gap:4px;min-width:48px;min-height:36px}.netendassist-ai-typing span{width:6px;height:6px;background:#9aa4b2;border-radius:50%;animation:netendassist-ai-bounce 1.15s infinite ease-in-out}.netendassist-ai-typing span:nth-child(2){animation-delay:.15s}.netendassist-ai-typing span:nth-child(3){animation-delay:.3s}@keyframes netendassist-ai-bounce{0%,60%,100%{transform:translateY(0);opacity:.55}30%{transform:translateY(-4px);opacity:1}}.netendassist-ai-suggestions{padding:9px 11px 7px;display:flex;gap:7px;overflow-x:auto;background:#fff;border-top:1px solid #edf0f4;scrollbar-width:none}.netendassist-ai-suggestions::-webkit-scrollbar{display:none}.netendassist-ai-suggestions button{white-space:nowrap;border:1px solid #d9e0e8;background:#fff;color:#425066;border-radius:999px;padding:6px 10px;font-size:11px;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.netendassist-ai-suggestions button:hover{border-color:var(--netendassist-ai-colour);color:var(--netendassist-ai-colour);background:#f9fbff}.netendassist-ai-composer-wrap{background:#fff;padding:3px 10px 9px}.netendassist-ai-composer{display:flex;align-items:flex-end;gap:8px;padding:7px 7px 7px 11px;border:1px solid #dce2e9;border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(20,39,62,.04)}.netendassist-ai-composer:focus-within{border-color:var(--netendassist-ai-colour);box-shadow:0 0 0 3px color-mix(in srgb,var(--netendassist-ai-colour) 12%,transparent)}.netendassist-ai textarea{resize:none;flex:1;min-height:24px;max-height:110px;border:0!important;outline:0!important;box-shadow:none!important;padding:4px 0;background:transparent;color:#172033;line-height:1.45;font-size:14px}.netendassist-ai textarea::placeholder{color:#9199a5}.netendassist-ai-send{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:var(--netendassist-ai-green);cursor:pointer;display:grid;place-items:center;padding:9px;line-height:1;transition:background .15s ease,opacity .15s ease}.netendassist-ai-send:hover{background:#087824}.netendassist-ai-send-icon{display:block;width:100%;height:100%;object-fit:contain}.netendassist-ai-send:focus-visible{outline:3px solid rgba(10,143,44,.22);outline-offset:2px}.netendassist-ai-send:disabled{opacity:.45;cursor:not-allowed}.netendassist-ai-note{font-size:9.5px;text-align:center;color:#88919e;margin:6px 4px 0}.netendassist-ai-launch{display:none}.netendassist-ai-floating{position:fixed;right:24px;bottom:24px;z-index:999999;pointer-events:none}.netendassist-ai-floating>*{pointer-events:auto}.netendassist-ai-floating .netendassist-ai-launch{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:auto;height:auto;min-width:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;cursor:pointer;position:relative;transition:transform .15s ease,filter .15s ease}.netendassist-ai-floating .netendassist-ai-launch:hover{transform:translateY(-1px);filter:drop-shadow(0 6px 10px rgba(10,28,51,.14))}.netendassist-ai-floating .netendassist-ai-launch:focus-visible{outline:3px solid rgba(10,143,44,.22);outline-offset:4px;border-radius:10px}.netendassist-ai-launch-label{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.94);border:1px solid rgba(10,143,44,.22);box-shadow:0 4px 14px rgba(15,32,56,.10);color:#087824;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:.01em}.netendassist-ai-launch-graphic{position:relative;display:block;width:72px;height:78px;flex:0 0 72px}.netendassist-ai-launch-logo{width:72px;height:78px;border-radius:0;display:block;background:transparent;background-size:contain;background-repeat:no-repeat;background-position:center;color:transparent;font-size:0;overflow:visible}.netendassist-ai-launch-logo.has-logo{background-color:transparent}.netendassist-ai-launch-status{position:absolute;right:1px;top:0;width:14px;height:14px;border-radius:50%;background:#22c55e;border:3px solid #fff;box-shadow:0 1px 5px rgba(15,32,56,.28);z-index:3}.netendassist-ai-launch-status::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(34,197,94,.34);animation:netendassist-ai-status-pulse 1.9s ease-out infinite;pointer-events:none}@keyframes netendassist-ai-status-pulse{0%{transform:scale(.72);opacity:.85}70%,100%{transform:scale(1.45);opacity:0}}.netendassist-ai-floating[data-open="0"] .netendassist-ai-window{display:none}.netendassist-ai-floating[data-open="1"] .netendassist-ai-launch{display:none}.netendassist-ai-floating[data-open="1"] .netendassist-ai-window{animation:netendassist-ai-open .17s ease-out}@keyframes netendassist-ai-open{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.netendassist-ai-embedded{width:100%}.netendassist-ai-embedded .netendassist-ai-window{width:100%;max-width:680px;margin:0 auto}.netendassist-ai-embedded .netendassist-ai-launch{display:none}@media(max-width:600px){.netendassist-ai-launch-status{width:13px;height:13px;right:1px;top:1px}.netendassist-ai-floating{right:12px;bottom:12px}.netendassist-ai-floating .netendassist-ai-window{width:calc(100vw - 24px);height:min(570px,calc(100dvh - 88px));min-height:360px;border-radius:19px}.netendassist-ai-floating .netendassist-ai-launch{width:auto;height:auto;gap:6px}.netendassist-ai-launch-label{min-height:31px;padding:5px 9px;font-size:11px}.netendassist-ai-launch-graphic{width:62px;height:68px;flex-basis:62px}.netendassist-ai-launch-logo{width:62px;height:68px}.netendassist-ai-header strong{max-width:210px}.netendassist-ai-message{max-width:90%}}


/* v1.0.8: narrow-screen containment and circular send control */
.netendassist-ai,
.netendassist-ai-window,
.netendassist-ai-header,
.netendassist-ai-payment-warning,
.netendassist-ai-messages,
.netendassist-ai-suggestions,
.netendassist-ai-composer-wrap,
.netendassist-ai-composer {max-width:100%;min-width:0;}
.netendassist-ai-message,.netendassist-ai-bubble{min-width:0;max-width:100%;}
.netendassist-ai-bubble{overflow-wrap:anywhere;word-break:break-word;}
.netendassist-ai-header{gap:8px;}
.netendassist-ai-brand{flex:1 1 auto;max-width:calc(100% - 44px);}
.netendassist-ai-brand>div{min-width:0;max-width:100%;}
.netendassist-ai-header strong{max-width:100%;}
.netendassist-ai-payment-warning{overflow-wrap:anywhere;word-break:normal;}
.netendassist-ai-suggestions{width:100%;max-width:100%;}
.netendassist-ai-composer-wrap{width:100%;}
.netendassist-ai-composer{width:100%;min-width:0;}
.netendassist-ai textarea{min-width:0;width:100%;max-width:100%;}
.netendassist-ai-send{width:38px;height:38px;flex:0 0 38px;border-radius:50%;padding:9px;aspect-ratio:1/1;}
.netendassist-ai-send-icon{width:100%;height:100%;}
.netendassist-ai-floating{max-width:calc(100vw - 16px);}

@media(max-width:600px){
  .netendassist-ai-floating{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));left:auto;max-width:calc(100vw - 16px);}
  .netendassist-ai-floating .netendassist-ai-window{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:min(570px,calc(100dvh - 72px));min-height:min(360px,calc(100dvh - 72px));}
  .netendassist-ai-header{padding:10px 10px 10px 12px;}
  .netendassist-ai-avatar{width:35px;height:35px;flex-basis:35px;}
  .netendassist-ai-close{width:40px;height:40px;flex:0 0 40px;font-size:32px;}
  .netendassist-ai-payment-warning{padding:8px 10px;font-size:11px;line-height:1.35;}
  .netendassist-ai-messages{padding:14px 10px 10px;}
  .netendassist-ai-message{max-width:92%;}
  .netendassist-ai-bubble{font-size:13.5px;padding:9px 11px;}
  .netendassist-ai-suggestions{padding:8px 8px 6px;gap:6px;}
  .netendassist-ai-suggestions button{font-size:10.5px;padding:5px 9px;}
  .netendassist-ai-composer-wrap{padding:3px 8px 8px;}
  .netendassist-ai-composer{gap:6px;padding:6px 6px 6px 9px;border-radius:15px;}
  .netendassist-ai textarea{font-size:16px;line-height:1.35;padding:4px 0;} /* prevents iOS zoom */
  .netendassist-ai-send{width:38px;height:38px;flex-basis:38px;border-radius:50%;padding:9px;}
  .netendassist-ai-note{font-size:9px;margin:5px 2px 0;overflow-wrap:anywhere;}
}

@media(max-width:360px){
  .netendassist-ai-floating{right:max(6px,env(safe-area-inset-right));bottom:max(6px,env(safe-area-inset-bottom));max-width:calc(100vw - 12px);}
  .netendassist-ai-floating .netendassist-ai-window{width:calc(100vw - 12px);max-width:calc(100vw - 12px);border-radius:16px;height:min(555px,calc(100dvh - 62px));min-height:min(330px,calc(100dvh - 62px));}
  .netendassist-ai-header{min-height:60px;padding:8px 8px 8px 10px;}
  .netendassist-ai-brand{gap:7px;max-width:calc(100% - 38px);}
  .netendassist-ai-avatar{width:32px;height:32px;flex-basis:32px;}
  .netendassist-ai-header strong{font-size:12.5px;}
  .netendassist-ai-header small{font-size:10px;}
  .netendassist-ai-close{width:38px;height:38px;flex-basis:38px;font-size:31px;}
  .netendassist-ai-payment-warning{padding:7px 8px;font-size:10px;}
  .netendassist-ai-messages{padding:11px 8px 8px;}
  .netendassist-ai-message{max-width:94%;margin-bottom:11px;}
  .netendassist-ai-bubble{font-size:13px;padding:8px 10px;border-radius:14px;}
  .netendassist-ai-suggestions{padding:7px 7px 5px;}
  .netendassist-ai-composer-wrap{padding:3px 6px 7px;}
  .netendassist-ai-composer{gap:5px;padding:5px 5px 5px 8px;border-radius:14px;}
  .netendassist-ai-send{width:36px;height:36px;flex-basis:36px;padding:8px;border-radius:50%;}
  .netendassist-ai-note{font-size:8.5px;}
  .netendassist-ai-floating .netendassist-ai-launch{width:60px;height:60px;}
  .netendassist-ai-launch-logo{width:56px;height:56px;}
}

@media(max-width:300px){
  .netendassist-ai-floating{right:4px;bottom:4px;max-width:calc(100vw - 8px);}
  .netendassist-ai-floating .netendassist-ai-window{width:calc(100vw - 8px);max-width:calc(100vw - 8px);border-radius:14px;}
  .netendassist-ai-avatar{display:none;}
  .netendassist-ai-brand{max-width:calc(100% - 36px);}
  .netendassist-ai-payment-warning{font-size:9.5px;}
  .netendassist-ai-suggestions button{font-size:10px;padding:5px 7px;}
  .netendassist-ai-composer-wrap{padding-left:4px;padding-right:4px;}
  .netendassist-ai-composer{padding-left:7px;}
  .netendassist-ai-send{width:34px;height:34px;flex-basis:34px;padding:8px;}
}


/* v1.0.16: restore and lock the send control to the approved design */
.netendassist-ai .netendassist-ai-send{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  flex:0 0 48px!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:var(--netendassist-ai-send-bg,#0a8f2c)!important;
  color:var(--netendassist-ai-send-arrow,#fff)!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  box-shadow:none!important;
}
.netendassist-ai .netendassist-ai-send:hover{background:var(--netendassist-ai-send-bg,#0a8f2c)!important;filter:brightness(.9);}
.netendassist-ai .netendassist-ai-send-icon{
  display:block!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  color:var(--netendassist-ai-send-arrow,#fff)!important;
  fill:var(--netendassist-ai-send-arrow,#fff)!important;
  object-fit:contain!important;
  pointer-events:none!important;
}
@media(max-width:360px){
  .netendassist-ai .netendassist-ai-send{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;flex-basis:46px!important;}
  .netendassist-ai .netendassist-ai-send-icon{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;}
}

/* v1.0.5 composer alignment: keep single-line placeholder vertically centred while preserving auto-grow. */
.netendassist-ai-composer{align-items:center;}
.netendassist-ai textarea{min-height:38px;height:38px;line-height:20px;padding:9px 0;display:block;}
.netendassist-ai-send{background:var(--netendassist-ai-send-bg,#0a8f2c);align-self:center;}
.netendassist-ai-send:hover{filter:brightness(.92);}


/* v1.0.6 display and position controls */
.netendassist-ai-floating.netendassist-ai-position-left{right:auto!important;left:24px!important}
.netendassist-ai-floating.netendassist-ai-position-right{left:auto!important;right:24px!important}
.netendassist-ai-floating.netendassist-ai-position-left .netendassist-ai-window{right:auto!important;left:0!important}
.netendassist-ai-floating.netendassist-ai-position-right .netendassist-ai-window{left:auto!important;right:0!important}
@media (min-width: 783px){.netendassist-ai-floating.netendassist-ai-hide-desktop{display:none!important}}
@media (max-width: 782px){.netendassist-ai-floating.netendassist-ai-hide-mobile{display:none!important}.netendassist-ai-floating.netendassist-ai-position-left{left:12px!important;right:auto!important}.netendassist-ai-floating.netendassist-ai-position-right{right:12px!important;left:auto!important}}


/* v1.0.7 brand-aware floating launcher and pulsating status colours */
.netendassist-ai-launch-label{
  border-color:color-mix(in srgb,var(--netendassist-ai-launcher-colour,var(--netendassist-ai-colour)) 28%,transparent)!important;
  color:var(--netendassist-ai-launcher-colour,var(--netendassist-ai-colour))!important;
}
.netendassist-ai-floating .netendassist-ai-launch:focus-visible{
  outline-color:color-mix(in srgb,var(--netendassist-ai-launcher-colour,var(--netendassist-ai-colour)) 30%,transparent)!important;
}
.netendassist-ai-launch-status{
  background:var(--netendassist-ai-pulse-colour,var(--netendassist-ai-colour))!important;
}
.netendassist-ai-launch-status::after{
  border-color:color-mix(in srgb,var(--netendassist-ai-pulse-colour,var(--netendassist-ai-colour)) 38%,transparent)!important;
}
.netendassist-ai-status-dot{
  background:var(--netendassist-ai-pulse-colour,var(--netendassist-ai-colour))!important;
}
