#er-wa-widget {
  font-family: Archivo, Arial, sans-serif;
}

#er-wa-launcher {
  position: fixed;
  z-index: 2147483000;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #19a75a;
  box-shadow: 0 8px 22px rgba(20, 66, 42, .24);
  color: #fff;
  cursor: pointer;
  font: 700 15px/1 Archivo, Arial, sans-serif;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#er-wa-launcher:hover {
  background: #128b4a;
  box-shadow: 0 11px 26px rgba(20, 66, 42, .30);
  transform: translateY(-2px);
}

#er-wa-launcher svg {
  display: block;
  width: 27px;
  height: 27px;
  flex: none;
}

#er-wa-dialog {
  position: fixed;
  inset: auto 24px calc(94px + env(safe-area-inset-bottom, 0px)) auto;
  z-index: 2147483001;
  box-sizing: border-box;
  width: min(392px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 116px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #e4e0dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(26, 29, 29, .24);
  color: #191919;
  font-family: Archivo, Arial, sans-serif;
}

#er-wa-dialog:not([open]) {
  display: none;
}

#er-wa-dialog::backdrop {
  background: rgba(18, 22, 22, .16);
}

#er-wa-dialog .er-wa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 14px 8px 20px;
  border-bottom: 1px solid #e7eeea;
  background: #effaf3;
}

#er-wa-dialog .er-wa-brand {
  color: #145a38;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

#er-wa-dialog .er-wa-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #315746;
  cursor: pointer;
  font: 400 27px/1 Arial, sans-serif;
}

#er-wa-dialog .er-wa-close:hover {
  background: #dcefe3;
}

#er-wa-dialog .er-wa-body {
  padding: 21px 22px 20px;
}

#er-wa-dialog h2 {
  margin: 0 0 7px;
  color: #171719;
  font: 700 25px/1.17 Fraunces, Georgia, serif !important;
  letter-spacing: -.02em;
}

#er-wa-dialog #er-wa-lead {
  margin: 0 0 14px;
  color: #53565a;
  font: 400 14px/1.42 Archivo, Arial, sans-serif;
}

#er-wa-dialog .er-wa-context {
  margin: 0 0 15px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #f3f7f4;
  color: #315746;
  font: 600 12px/1.35 Archivo, Arial, sans-serif;
}

#er-wa-dialog .er-wa-choices {
  display: grid;
  gap: 9px;
}

#er-wa-dialog .er-wa-choices a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid #e2e2e0;
  border-radius: 11px;
  background: #fff;
  color: #222326;
  text-align: left;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

#er-wa-dialog .er-wa-choices a:hover {
  border-color: #19a75a;
  background: #f5fbf7;
  box-shadow: 0 3px 9px rgba(17, 104, 55, .08);
}

#er-wa-dialog .er-wa-choices strong,
#er-wa-dialog .er-wa-choices small {
  display: block;
}

#er-wa-dialog .er-wa-choices strong {
  color: #1e2320;
  font: 700 14px/1.3 Archivo, Arial, sans-serif;
}

#er-wa-dialog .er-wa-choices small {
  margin-top: 3px;
  color: #5e6460;
  font: 400 12px/1.3 Archivo, Arial, sans-serif;
}

#er-wa-dialog .er-wa-arrow {
  color: #148b4c;
  font: 700 20px/1 Archivo, Arial, sans-serif;
}

#er-wa-dialog .er-wa-free {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 0;
  color: #a51e29;
  font: 700 12px/1.35 Archivo, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#er-wa-dialog .er-wa-free:hover {
  color: #81131d;
}

#er-wa-dialog .er-wa-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: #656a66;
  font: 400 11px/1.4 Archivo, Arial, sans-serif;
}

#er-wa-widget :focus-visible {
  outline: 3px solid #135f3b;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  #er-wa-launcher {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    padding: 0;
  }

  #er-wa-launcher span {
    display: none;
  }

  #er-wa-dialog {
    inset: auto 12px calc(82px + env(safe-area-inset-bottom, 0px)) 12px;
    width: auto;
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
    border-radius: 16px;
  }

  #er-wa-dialog .er-wa-body {
    padding: 18px;
  }

  #er-wa-dialog h2 {
    font-size: 23px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #er-wa-launcher,
  #er-wa-dialog .er-wa-choices a {
    transition: none;
  }
}
