#ss-atendente {
  --ss-at-cor: var(--ss-i18n-cor, #1d5c47);
  --ss-at-baixo: 20px;
  position: fixed;
  right: 16px;
  bottom: var(--ss-at-baixo);
  z-index: 2147482000;
  font:
    400 15px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}
#ss-atendente[hidden] {
  display: none;
}
#ss-atendente.ss-at--aberto {
  z-index: 2147483200;
}
#ss-at-abrir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .18);
  cursor: pointer;
  color: #0f172a;
  font: inherit;
  font-weight: 600;
  min-height: 56px;
  max-width: min(78vw, 300px);
  transition: transform .18s ease, box-shadow .18s ease;
}
#ss-at-abrir:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .22);
}
#ss-at-abrir:focus-visible {
  outline: 3px solid var(--ss-at-cor);
  outline-offset: 2px;
}
#ss-at-abrir img,
#ss-at-abrir .ss-at-inicial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--ss-at-cor);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
#ss-at-abrir .ss-at-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
#ss-at-abrir .ss-at-chamada {
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
#ss-at-abrir .ss-at-sub {
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  letter-spacing: .02em;
}
#ss-at-abrir .ss-at-ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17864a;
  flex: 0 0 auto;
}
#ss-at-janela {
  display: none;
  flex-direction: column;
  width: min(92vw, 380px);
  height: min(72vh, 560px);
  max-height: calc(100vh - var(--ss-at-baixo, 20px) - 16px);
  height: min(72dvh, 560px);
  max-height: calc(100dvh - var(--ss-at-baixo, 20px) - 16px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .26);
  overflow: hidden;
}
#ss-atendente.ss-at--aberto #ss-at-janela {
  display: flex;
}
#ss-atendente.ss-at--aberto #ss-at-abrir {
  display: none;
}
#ss-atendente.ss-at--porteiro #ss-at-janela {
  height: auto;
}
#ss-atendente.ss-at--porteiro #ss-at-conversa,
#ss-atendente.ss-at--porteiro #ss-at-atalhos,
#ss-atendente.ss-at--porteiro #ss-at-acoes {
  display: none;
}
#ss-at-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ss-at-cor);
  color: #fff;
}
#ss-at-topo img,
#ss-at-topo .ss-at-inicial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
#ss-at-topo .ss-at-quem {
  flex: 1 1 auto;
  min-width: 0;
}
#ss-at-topo .ss-at-nome {
  font-weight: 700;
  font-size: 15px;
}
#ss-at-topo .ss-at-cargo {
  font-size: 11.5px;
  opacity: .92;
}
#ss-at-fechar {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  font: 600 18px/1 system-ui, sans-serif;
}
#ss-at-fechar:hover {
  background: rgba(255, 255, 255, .28);
}
#ss-at-fechar:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#ss-at-aviso {
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  color: #475569;
  font-size: 11.5px;
  line-height: 1.4;
}
#ss-at-aviso a {
  color: inherit;
  text-decoration: underline;
}
#ss-at-conversa {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}
#ss-at-conversa .ss-at-balao {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#ss-at-conversa .ss-at-balao--atendente {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 5px;
}
#ss-at-conversa .ss-at-balao--visitante {
  align-self: flex-end;
  background: var(--ss-at-cor);
  color: #fff;
  border-bottom-right-radius: 5px;
}
#ss-at-conversa .ss-at-balao--erro {
  align-self: center;
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 13px;
  text-align: center;
}
#ss-at-conversa .ss-at-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
#ss-at-conversa .ss-at-balao--atendente .ss-at-link {
  color: #0b4f3d;
}
#ss-at-conversa .ss-at-balao--visitante .ss-at-link {
  color: #fff;
}
#ss-at-conversa .ss-at-link:hover {
  text-decoration-thickness: 2px;
}
#ss-at-conversa .ss-at-link:focus-visible {
  outline: 2px solid var(--ss-at-cor);
  outline-offset: 2px;
  border-radius: 3px;
}
#ss-at-conversa .ss-at-repetir {
  display: block;
  margin: 8px auto 0;
  appearance: none;
  border: 1px solid rgba(127, 29, 29, .3);
  background: #fff;
  color: #7f1d1d;
  border-radius: 999px;
  padding: 0 14px;
  min-height: 36px;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
#ss-at-conversa .ss-at-repetir:hover {
  background: #fff1f2;
}
#ss-at-conversa .ss-at-repetir:focus-visible {
  outline: 2px solid #7f1d1d;
  outline-offset: 2px;
}
#ss-at-acoes {
  padding: 0 14px 10px;
}
#ss-at-acoes[hidden] {
  display: none;
}
#ss-at-acoes .ss-at-acao {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #075e54;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
}
#ss-at-acoes .ss-at-acao:hover {
  background: #064e46;
}
#ss-at-acoes .ss-at-acao:focus-visible {
  outline: 3px solid #075e54;
  outline-offset: 2px;
}
#ss-at-porteiro {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(15, 23, 42, .10);
  background: #f8fafc;
}
#ss-at-porteiro[hidden] {
  display: none;
}
#ss-at-porteiro .ss-at-p-titulo {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  font-family: inherit;
  color: #0f172a;
}
#ss-at-porteiro .ss-at-p-ajuda {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}
#ss-at-porteiro .ss-at-p-campo {
  margin-bottom: 8px;
}
#ss-at-porteiro .ss-at-p-rotulo {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  font-family: inherit;
  color: #334155;
}
#ss-at-porteiro input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .20);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
  font:
    400 16px/1.4 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: #0f172a;
  background: #fff;
}
#ss-at-porteiro input:focus-visible {
  outline: 2px solid var(--ss-at-cor);
  outline-offset: -1px;
}
#ss-at-porteiro input.ss-at-p-ruim {
  border-color: #b91c1c;
  background: #fff7f7;
}
#ss-at-porteiro .ss-at-p-erro {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1.35;
  font-family: inherit;
  color: #b91c1c;
}
#ss-at-porteiro .ss-at-p-erro[hidden] {
  display: none;
}
#ss-at-porteiro input::placeholder {
  color: #94a3b8;
}
#ss-at-porteiro .ss-at-p-botao {
  width: 100%;
  appearance: none;
  border: 0;
  background: var(--ss-at-cor);
  color: #fff;
  border-radius: 12px;
  min-height: 46px;
  margin-top: 2px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
#ss-at-porteiro .ss-at-p-botao[disabled] {
  opacity: .6;
  cursor: default;
}
#ss-at-porteiro .ss-at-p-botao:focus-visible {
  outline: 3px solid var(--ss-at-cor);
  outline-offset: 2px;
}
#ss-at-porteiro .ss-at-p-consent {
  margin: 7px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #64748b;
}
#ss-at-porteiro .ss-at-isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
#ss-at-forma[hidden] {
  display: none;
}
#ss-at-digitando {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 14px;
}
#ss-atendente.ss-at--pensando #ss-at-digitando {
  display: flex;
}
#ss-at-digitando span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: ss-at-pulsa 1s infinite ease-in-out;
}
#ss-at-digitando span:nth-child(2) {
  animation-delay: .15s;
}
#ss-at-digitando span:nth-child(3) {
  animation-delay: .3s;
}
@keyframes ss-at-pulsa {
  0%, 60%, 100% {
    opacity: .35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
#ss-at-atalhos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
}
#ss-at-atalhos button {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, .16);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
  min-height: 36px;
}
#ss-at-atalhos button:hover {
  background: #f1f5f9;
}
#ss-at-atalhos button:focus-visible {
  outline: 2px solid var(--ss-at-cor);
  outline-offset: 1px;
}
#ss-at-atalhos[hidden] {
  display: none;
}
#ss-at-forma {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
}
#ss-at-campo {
  flex: 1 1 auto;
  resize: none;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 12px;
  padding: 10px 12px;
  font:
    400 16px/1.4 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: #0f172a;
  background: #fff;
  max-height: 110px;
  min-height: 44px;
}
#ss-at-campo:focus-visible {
  outline: 2px solid var(--ss-at-cor);
  outline-offset: -1px;
}
#ss-at-enviar {
  appearance: none;
  border: 0;
  background: var(--ss-at-cor);
  color: #fff;
  border-radius: 12px;
  padding: 0 16px;
  min-height: 44px;
  min-width: 44px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
#ss-at-enviar[disabled] {
  opacity: .55;
  cursor: default;
}
#ss-at-enviar:focus-visible {
  outline: 3px solid var(--ss-at-cor);
  outline-offset: 2px;
}
#ss-at-forma .ss-at-isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
@media (max-width: 719px) {
  html.ss-at-conversando #ss-preferencias {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-140%);
  }
}
@media (max-width: 560px) {
  #ss-atendente {
    right: 12px;
    bottom: calc(var(--ss-at-baixo) + env(safe-area-inset-bottom, 0px));
  }
  #ss-atendente.ss-at--aberto {
    left: 12px;
  }
  #ss-at-abrir {
    margin-left: auto;
  }
  #ss-at-abrir {
    width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  #ss-at-abrir .ss-at-texto {
    display: none;
  }
  #ss-at-abrir .ss-at-ponto {
    position: absolute;
    margin: 38px 0 0 38px;
    border: 2px solid #fff;
    width: 12px;
    height: 12px;
  }
  #ss-at-abrir img,
  #ss-at-abrir .ss-at-inicial {
    width: 46px;
    height: 46px;
  }
  #ss-at-janela {
    width: 100%;
    height: min(78vh, 620px);
    max-height: calc(100vh - var(--ss-at-baixo, 20px) - 12px);
    height: min(78dvh, 620px);
    max-height: calc(100dvh - var(--ss-at-baixo, 20px) - 12px);
  }
  #ss-at-abrir .ss-at-sub {
    display: none;
  }
}
@media (pointer: coarse) {
  #ss-at-atalhos button {
    min-height: 44px;
  }
  #ss-at-fechar {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  #ss-at-conversa .ss-at-repetir {
    min-height: 44px;
  }
}
@media (max-width: 360px) {
  #ss-at-topo {
    padding: 8px 12px;
  }
  #ss-at-aviso {
    padding: 6px 12px;
    font-size: 10.5px;
    line-height: 1.35;
  }
  #ss-at-porteiro {
    padding: 8px 12px 6px;
  }
  #ss-at-porteiro .ss-at-p-titulo {
    font-size: 13px;
    margin-bottom: 2px;
  }
  #ss-at-porteiro .ss-at-p-ajuda {
    font-size: 11px;
    margin-bottom: 6px;
  }
  #ss-at-porteiro .ss-at-p-campo {
    margin-bottom: 5px;
  }
  #ss-at-porteiro .ss-at-p-consent {
    font-size: 10px;
    margin-top: 4px;
    line-height: 1.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ss-at-abrir {
    transition: none;
  }
  #ss-at-digitando span {
    animation: none;
  }
}
