/* AMZX Chat V2 1.5.664 — launcher Papercups-style + inbox flow Chatwoot-style. */
.amzx-chat-v2{--chat-accent:#6558f5;--chat-accent-2:#18b8e8;--chat-bg:#07111f;--chat-panel:#0d192d;--chat-panel-2:#12223b;--chat-text:#f8fbff;--chat-muted:#b7c6da;--chat-border:rgba(148,185,232,.28);position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(22px,env(safe-area-inset-bottom))!important;z-index:2147482000!important;width:auto!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--chat-text)!important;isolation:isolate;text-align:left!important;transform:none!important;filter:none!important}
.amzx-chat-v2,.amzx-chat-v2 *{box-sizing:border-box}.amzx-chat-v2:before,.amzx-chat-v2:after{content:none!important}.amzx-chat-v2 button,.amzx-chat-v2 input,.amzx-chat-v2 textarea{font:inherit}.amzx-chat-v2-launcher{position:relative!important;display:grid!important;place-items:center!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:22px!important;background:linear-gradient(145deg,var(--chat-accent),var(--chat-accent-2))!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 15px 38px rgba(17,24,39,.38),0 0 0 7px rgba(101,88,245,.13)!important;cursor:pointer!important;transform:none!important;filter:none!important;animation:amzx-chat-breathe 3.2s ease-in-out infinite!important}
.amzx-chat-v2-launcher:before,.amzx-chat-v2-launcher:after{content:none!important}.amzx-chat-v2-launcher>i{font-size:25px!important;line-height:1!important;color:#fff!important}.amzx-chat-v2-launcher>b{position:absolute;right:3px;top:3px;width:14px;height:14px;border:3px solid #3028a9;border-radius:50%;background:#34d399}.amzx-chat-v2-launch-label{position:absolute;right:72px;top:50%;transform:translateY(-50%);padding:8px 11px;border:1px solid var(--chat-border);border-radius:10px;background:#0b1729;color:#fff;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .18s ease}.amzx-chat-v2-launcher:hover .amzx-chat-v2-launch-label,.amzx-chat-v2-launcher:focus-visible .amzx-chat-v2-launch-label{opacity:1}.amzx-chat-v2-launcher:focus-visible{outline:3px solid rgba(125,211,252,.6)!important;outline-offset:4px!important}.amzx-chat-v2.is-open .amzx-chat-v2-launcher{animation:none!important;transform:scale(.94)!important}
@keyframes amzx-chat-breathe{0%,100%{box-shadow:0 15px 38px rgba(17,24,39,.38),0 0 0 7px rgba(101,88,245,.12)}50%{box-shadow:0 16px 42px rgba(17,24,39,.44),0 0 0 12px rgba(24,184,232,.08)}}
.amzx-chat-v2-panel{position:absolute!important;right:0!important;bottom:78px!important;width:min(390px,calc(100vw - 28px))!important;max-width:none!important;max-height:min(690px,calc(100dvh - 116px))!important;overflow:hidden!important;border:1px solid var(--chat-border)!important;border-radius:22px!important;background:linear-gradient(160deg,#0b1729,#07101e)!important;color:var(--chat-text)!important;box-shadow:0 28px 80px rgba(0,0,0,.48)!important;transform-origin:bottom right!important;animation:amzx-chat-open .24s cubic-bezier(.2,.8,.2,1) both!important}.amzx-chat-v2-panel[hidden]{display:none!important}@keyframes amzx-chat-open{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.amzx-chat-v2-panel>header{display:grid!important;grid-template-columns:44px minmax(0,1fr) 38px!important;align-items:center!important;gap:11px!important;padding:14px 15px!important;border:0!important;border-bottom:1px solid rgba(148,185,232,.18)!important;background:linear-gradient(135deg,rgba(101,88,245,.23),rgba(24,184,232,.09))!important}.amzx-chat-v2-agent{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:14px!important;background:linear-gradient(145deg,var(--chat-accent),var(--chat-accent-2))!important;color:#fff!important}.amzx-chat-v2-panel>header>div{display:grid!important;gap:3px!important;min-width:0!important}.amzx-chat-v2-panel>header strong{color:#fff!important;font-size:.92rem!important;line-height:1.25!important}.amzx-chat-v2-panel>header small{display:flex!important;align-items:center!important;gap:6px!important;color:var(--chat-muted)!important;font-size:.69rem!important}.amzx-chat-v2-panel>header small b{width:8px;height:8px;border-radius:50%;background:#22c55e}.amzx-chat-v2-panel>header small b.is-away{background:#f59e0b}.amzx-chat-v2-panel>header small b.is-offline{background:#94a3b8}.amzx-chat-v2-panel>header>button{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;box-shadow:none!important;transform:none!important}
.amzx-chat-v2-body{display:grid!important;gap:13px!important;max-height:calc(100dvh - 196px)!important;padding:14px!important;overflow:auto!important;background:transparent!important}.amzx-chat-v2-welcome{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:12px!important;border:1px solid rgba(96,165,250,.22)!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(101,88,245,.15),rgba(24,184,232,.08))!important}.amzx-chat-v2-welcome>span{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:11px!important;background:rgba(255,255,255,.1)!important;color:#a5ddff!important}.amzx-chat-v2-welcome>div{min-width:0!important}.amzx-chat-v2-welcome strong{display:block!important;color:#fff!important;font-size:.86rem!important}.amzx-chat-v2-welcome p{margin:3px 0 0!important;color:#d7e3f2!important;font-size:.78rem!important;line-height:1.45!important;overflow-wrap:anywhere!important}.amzx-chat-v2-notice{padding:10px 12px!important;border:1px solid rgba(248,113,113,.38)!important;border-radius:12px!important;background:rgba(127,29,29,.25)!important;color:#fecaca!important;font-size:.74rem!important}
.amzx-chat-v2-start{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.amzx-chat-v2-start label{display:grid!important;gap:6px!important;min-width:0!important;margin:0!important;color:#edf5ff!important;font-size:.73rem!important;font-weight:800!important}.amzx-chat-v2-start label small{color:var(--chat-muted)!important;font-weight:600!important}.amzx-chat-v2-phone,.amzx-chat-v2-first-message{grid-column:1/-1!important}.amzx-chat-v2 :is(input,textarea){display:block!important;width:100%!important;min-width:0!important;min-height:46px!important;margin:0!important;padding:11px 12px!important;border:1px solid #3b4d68!important;border-radius:12px!important;background:#f8fbff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;box-shadow:none!important;outline:0!important;line-height:1.35!important}.amzx-chat-v2 :is(input,textarea)::placeholder{color:#64748b!important;-webkit-text-fill-color:#64748b!important;opacity:1!important}.amzx-chat-v2 :is(input,textarea):focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(96,165,250,.2)!important}.amzx-chat-v2-first-message textarea{min-height:76px!important;resize:vertical!important}.amzx-chat-v2-start>button{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-height:50px!important;margin:0!important;padding:11px 16px!important;border:1px solid #898eff!important;border-radius:14px!important;background:linear-gradient(135deg,var(--chat-accent),#347ddc)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900!important;box-shadow:0 11px 25px rgba(67,82,230,.27)!important;filter:none!important;transform:none!important}.amzx-chat-v2-start>p{grid-column:1/-1!important;display:flex!important;justify-content:center!important;gap:7px!important;margin:0!important;color:var(--chat-muted)!important;font-size:.66rem!important;line-height:1.4!important;text-align:center!important}
.amzx-chat-v2-conversation{display:grid!important;gap:11px!important}.amzx-chat-v2-conversation[hidden]{display:none!important}.amzx-chat-v2-messages{display:flex!important;flex-direction:column!important;gap:9px!important;min-height:180px!important;max-height:min(390px,48vh)!important;padding:12px!important;overflow-y:auto!important;border:1px solid rgba(148,185,232,.18)!important;border-radius:15px!important;background:rgba(1,7,17,.45)!important}.amzx-chat-v2-message{align-self:flex-start!important;max-width:86%!important;padding:10px 12px!important;border:1px solid rgba(148,185,232,.2)!important;border-radius:15px 15px 15px 5px!important;background:var(--chat-panel-2)!important;color:#eef6ff!important;font-size:.79rem!important;line-height:1.46!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.amzx-chat-v2-message.is-visitor{align-self:flex-end!important;border-color:rgba(124,130,255,.35)!important;border-radius:15px 15px 5px 15px!important;background:linear-gradient(135deg,#5145cf,#2d68d4)!important;color:#fff!important}.amzx-chat-v2-message time{display:block!important;margin-top:4px!important;color:inherit!important;font-size:.6rem!important;opacity:.72!important;text-align:right!important}.amzx-chat-v2-empty{margin:auto!important;color:var(--chat-muted)!important;font-size:.76rem!important;text-align:center!important}.amzx-chat-v2-composer{display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;align-items:end!important;gap:9px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.amzx-chat-v2-composer textarea{min-height:48px!important;max-height:124px!important;resize:none!important}.amzx-chat-v2-composer button{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:1px solid #898eff!important;border-radius:14px!important;background:linear-gradient(135deg,var(--chat-accent),#397ef6)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important;transform:none!important}.amzx-chat-v2-powered{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;color:var(--chat-muted)!important;font-size:.62rem!important}.amzx-chat-v2 [aria-busy=true]{opacity:.66!important;pointer-events:none!important}
@media(max-width:575px){.amzx-chat-v2{right:max(12px,env(safe-area-inset-right))!important;bottom:max(16px,env(safe-area-inset-bottom))!important}.amzx-chat-v2-launcher{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;border-radius:20px!important}.amzx-chat-v2-panel{right:0!important;bottom:72px!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 104px)!important;border-radius:20px!important}.amzx-chat-v2-body{max-height:calc(100dvh - 176px)!important;padding:12px!important}.amzx-chat-v2-start{grid-template-columns:minmax(0,1fr)!important}.amzx-chat-v2-phone,.amzx-chat-v2-first-message,.amzx-chat-v2-start>button,.amzx-chat-v2-start>p{grid-column:auto!important}.amzx-chat-v2-launch-label{display:none!important}}
@media(prefers-reduced-motion:reduce){.amzx-chat-v2 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.amzx-chat-v2-human{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:42px!important;margin:0!important;padding:9px 12px!important;border:1px solid rgba(125,211,252,.3)!important;border-radius:12px!important;background:rgba(30,64,175,.16)!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;font-size:.73rem!important;font-weight:850!important;box-shadow:none!important;transform:none!important}.amzx-chat-v2-human:disabled{opacity:.58!important}

/* v1.5.681 — compositor isolado de temas e estilos globais da Bio. */
.amzx-chat-v2 .amzx-chat-v2-conversation{
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;
}
.amzx-chat-v2 .amzx-chat-v2-conversation>.amzx-chat-v2-human{
  width:100%!important;min-width:0!important;min-height:48px!important;padding:12px 16px!important;
  font-size:.875rem!important;line-height:1.25!important;
}
.amzx-chat-v2 .amzx-chat-v2-composer{
  display:grid!important;width:100%!important;min-width:0!important;max-width:none!important;
  grid-template-columns:minmax(0,1fr) 52px!important;grid-template-rows:auto!important;
  align-items:end!important;gap:10px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.amzx-chat-v2 .amzx-chat-v2-composer>.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
.amzx-chat-v2 .amzx-chat-v2-composer>textarea[name="message"]{
  grid-column:1!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;
  min-height:52px!important;height:52px!important;max-height:132px!important;margin:0!important;padding:14px!important;
  appearance:none!important;-webkit-appearance:none!important;resize:none!important;overflow-y:auto!important;
  border:1px solid #4b6282!important;border-radius:14px!important;background:#f8fbff!important;
  color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;font-size:16px!important;line-height:1.45!important;
}
.amzx-chat-v2 .amzx-chat-v2-composer>button[type="submit"]{
  grid-column:2!important;display:grid!important;place-items:center!important;align-self:end!important;
  width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;
  margin:0!important;padding:0!important;border-radius:14px!important;font-size:19px!important;
}
.amzx-chat-v2 .amzx-chat-v2-powered{
  width:100%!important;min-height:20px!important;margin:1px 0 0!important;padding:0 4px!important;
  color:#c8d5e7!important;-webkit-text-fill-color:#c8d5e7!important;font-size:.72rem!important;line-height:1.35!important;
}
@media(max-width:575px){
  .amzx-chat-v2 .amzx-chat-v2-conversation{gap:12px!important}
  .amzx-chat-v2 .amzx-chat-v2-composer{grid-template-columns:minmax(0,1fr) 52px!important;gap:10px!important}
  .amzx-chat-v2 .amzx-chat-v2-composer>textarea[name="message"]{min-height:54px!important;height:54px!important;padding:14px!important}
  .amzx-chat-v2 .amzx-chat-v2-composer>button[type="submit"]{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important}
}
