.nexxseo-chat,.nexxseo-chat *{box-sizing:border-box}.nexxseo-chat{--nx:#10243e;--nx2:#173b63;--line:#dce3ea;--bg:#f4f6f8;--text:#15202b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);line-height:1.45}.nexxseo-chat--floating{position:fixed;left:22px;bottom:22px;z-index:999999}.nexxseo-chat__trigger{appearance:none;border:0;border-radius:999px;background:var(--nx);color:#fff;padding:13px 18px;display:flex;align-items:center;gap:9px;font:700 14px/1 inherit;box-shadow:0 12px 34px rgba(15,35,60,.28);cursor:pointer}.nexxseo-chat__trigger-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(255,255,255,.14)}.nexxseo-chat__panel{width:min(390px,calc(100vw - 28px));max-height:min(600px,calc(100vh - 110px));overflow-y:auto;background:#fff;border:1px solid rgba(18,45,75,.12);border-radius:20px;box-shadow:0 24px 70px rgba(15,35,60,.24)}.nexxseo-chat--floating .nexxseo-chat__panel{position:absolute;left:0;bottom:66px}.nexxseo-chat--inline{max-width:720px;margin:24px auto}.nexxseo-chat--inline .nexxseo-chat__panel{width:100%}.nexxseo-chat__header{background:linear-gradient(135deg,var(--nx),var(--nx2));color:#fff;padding:16px 20px;display:flex;align-items:center;gap:11px}
.nexxseo-chat__header>div{flex:1;min-width:0}
.nexxseo-chat__logo{width:36px;height:36px;border-radius:9px;object-fit:cover;background:#fff;flex-shrink:0}.nexxseo-chat__header small{display:block;opacity:.68;letter-spacing:.11em;font-size:10px}.nexxseo-chat__header strong{font-size:16px}.nexxseo-chat__close{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:50%;width:32px;height:32px;font-size:23px;cursor:pointer}.nexxseo-chat__welcome{padding:15px 20px;background:var(--bg);border-bottom:1px solid var(--line);font-size:13px}.nexxseo-chat__form{padding:18px 20px;display:grid;gap:13px}.nexxseo-chat__form label{display:grid;gap:5px;font-weight:700;font-size:12px}.nexxseo-chat__form input,.nexxseo-chat__form textarea,.nexxseo-chat__form select{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;color:#111;font:500 14px/1.4 inherit;outline:none}.nexxseo-chat__form input:focus,.nexxseo-chat__form textarea:focus,.nexxseo-chat__form select:focus{border-color:#6e8eaf;box-shadow:0 0 0 3px rgba(38,91,145,.1)}.nexxseo-chat__file{padding:11px;border:1px dashed #bac7d3;border-radius:11px;background:#f9fafb}.nexxseo-chat__file input{border:0;padding:6px 0 0;background:transparent;font-size:12px}.nexxseo-chat__submit{border:0;border-radius:11px;background:var(--nx);color:#fff;padding:13px 16px;font:800 14px/1 inherit;cursor:pointer}.nexxseo-chat__submit[disabled]{opacity:.6;cursor:wait}.nexxseo-chat__status{min-height:18px;margin:0;font-size:12px}.nexxseo-chat__status.is-error{color:#a51616}.nexxseo-chat__status.is-success{color:#126230}.nexxseo-chat footer{padding:0 20px 15px;text-align:center;color:#75808b;font-size:10px}.nexxseo-chat__honeypot{position:absolute!important;left:-99999px!important;opacity:0!important}@media(max-width:600px){.nexxseo-chat--floating{left:12px;bottom:12px}.nexxseo-chat__trigger{padding:12px 15px}.nexxseo-chat--floating .nexxseo-chat__panel{position:fixed;left:10px;right:10px;bottom:72px;width:auto;max-height:calc(100vh - 90px);overflow:auto;border-radius:17px}}

/* v4.11.15 — hardening mobile do chat de entrada */
@media(max-width:600px){
  .nexxseo-chat--floating{left:max(10px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom))}
  .nexxseo-chat--floating .nexxseo-chat__panel{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:calc(68px + env(safe-area-inset-bottom));max-height:calc(100dvh - 84px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}
  .nexxseo-chat__form{padding:14px 14px calc(14px + env(safe-area-inset-bottom));gap:11px}
  .nexxseo-chat__header{padding:14px}
  .nexxseo-chat__welcome{padding:12px 14px}
  .nexxseo-chat__form input,.nexxseo-chat__form textarea,.nexxseo-chat__form select{font-size:16px;min-height:44px}
  .nexxseo-chat__form textarea{min-height:96px}
  .nexxseo-chat__submit{min-height:48px;font-size:15px}
  .nexxseo-chat__close{width:44px;height:44px}
}

/* v4.11.64 — botão flutuante do WhatsApp abre o WhatsApp real; chat interno permanece separado */
.nexxseo-wa-fab{position:fixed;left:22px;bottom:90px;z-index:999998}
.nexxseo-wa-fab__trigger{appearance:none;border:0;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#25d366;color:#fff!important;text-decoration:none!important;cursor:pointer;box-shadow:0 12px 30px rgba(15,35,60,.28)}
.nexxseo-wa-fab__trigger:hover{background:#1da851}
@media(max-width:600px){.nexxseo-wa-fab{left:12px;bottom:78px}}

/* v4.11.51 — conversa de verdade dentro do widget, sem sair pro WhatsApp */
.nexxseo-chat__thread{display:flex;flex-direction:column;min-height:0}
.nexxseo-chat__messages{padding:14px 16px;overflow-y:auto;max-height:min(420px,calc(100vh - 260px));display:flex;flex-direction:column;gap:8px;background:var(--bg)}
.nexxseo-chat__bubble{max-width:82%;padding:8px 11px;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(15,35,60,.08);align-self:flex-start;border-bottom-left-radius:3px}
.nexxseo-chat__bubble.is-staff{align-self:flex-end;background:var(--nx);color:#fff;border-bottom-left-radius:12px;border-bottom-right-radius:3px;display:flex;gap:7px;align-items:flex-end}
.nexxseo-chat__avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#fff}
.nexxseo-chat__avatar--fallback{display:grid;place-items:center;color:var(--nx);font-weight:800;font-size:11px}
.nexxseo-chat__bubble-body{min-width:0}
.nexxseo-chat__bubble small{display:block;font-size:10px;opacity:.75;margin-bottom:2px}
.nexxseo-chat__bubble p{margin:0;font-size:13.5px;line-height:1.4}
.nexxseo-chat__bubble time{display:block;font-size:9px;opacity:.6;margin-top:3px;text-align:right}
.nexxseo-chat__reply{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line);background:#fff}
.nexxseo-chat__reply textarea{flex:1;resize:none;border:1px solid var(--line);border-radius:11px;padding:9px 12px;font:500 14px/1.3 inherit;outline:none;max-height:80px}
.nexxseo-chat__reply textarea:focus{border-color:#6e8eaf}
.nexxseo-chat__reply button{border:0;border-radius:50%;width:38px;height:38px;flex-shrink:0;background:var(--nx);color:#fff;font-size:15px;cursor:pointer}
.nexxseo-chat__reply button:disabled{opacity:.6;cursor:wait}

/* v4.11.83 — botão do chat pode usar somente ícone */
.nexxseo-chat__trigger.is-icon-only{width:54px;height:54px;padding:0;justify-content:center;gap:0}.nexxseo-chat__trigger.is-icon-only .nexxseo-chat__trigger-icon{width:30px;height:30px}

/* v4.11.84 — ícone PNG/SVG personalizado no botão do chat */
.nexxseo-chat__trigger-icon.has-custom-icon{background:transparent;overflow:hidden}.nexxseo-chat__trigger-icon img{display:block;width:100%;height:100%;object-fit:contain}.nexxseo-chat__trigger.is-icon-only .nexxseo-chat__trigger-icon.has-custom-icon{width:38px;height:38px}
