/* The conversation is a single illustration. Content stays in place as messages arrive. */
.wa-demo {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 19% minmax(0, 1fr) 15%;
  container-type: inline-size;
  overflow: hidden;
  color: #eff6f2;
  background: #0b1618;
  font-family: var(--sans, Arial, sans-serif);
  line-height: 1.18;
  text-align: left;
  user-select: none;
}
.wa-bar, .wa-compose {
  display: flex;
  align-items: center;
  min-height: 0;
  padding-inline: 3.3%;
  gap: 2.2cqw;
  background: #1d2b2e;
}
.wa-bar { border-bottom: 1px solid #a7c3bb19; }
.wa-avatar {
  display: grid;
  place-items: center;
  height: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #d2eadf;
  background: linear-gradient(145deg, #548579, #34564f);
}
.wa-avatar svg { width: 79%; height: 79%; }
.wa-person, .wa-brand { display: grid; gap: .25cqw; }
.wa-person b { font-size: clamp(9px, 3.25cqw, 18px); font-weight: 650; }
.wa-person small, .wa-brand small {
  font-size: clamp(6.5px, 2.02cqw, 11px);
  font-weight: 450;
  color: #b1c1bd;
}
.wa-brand { margin-left: auto; text-align: right; }
.wa-brand b { color: #8bd6b6; font-size: clamp(8px, 2.45cqw, 14px); font-weight: 650; }
.wa-is-typing { display: none; color: #98e4c5; }
.wa-thread {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  min-height: 0;
  padding: 1.65cqw 4%;
  background:
    radial-gradient(ellipse at 75% 13%, #2b454025, transparent 62%),
    radial-gradient(circle, #cadfce0f .7px, transparent .9px) 0 0 / 3.5cqw 3.5cqw,
    #101c1e;
}
.wa-row { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.wa-in-row { justify-content: flex-start; }
.wa-bubble {
  --wa-fill: #214f42;
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25cqw 1.1cqw;
  width: fit-content;
  max-width: 94%;
  padding: 1.32cqw 1.85cqw;
  border-radius: 1.75cqw;
  color: #f0f6f2;
  background: var(--wa-fill);
  box-shadow: 0 1px 1px #0003;
  font-size: clamp(10px, 3.95cqw, 18px);
  font-weight: 480;
  transform-origin: right bottom;
  transition: opacity .23s ease-out, transform .38s cubic-bezier(.19,.75,.22,1);
}
.wa-bubble::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% - .45px);
  border-top: 1.42cqw solid var(--wa-fill);
  border-right: 1.20cqw solid transparent;
}
.wa-bubble small {
  display: inline-flex;
  align-items: baseline;
  gap: .55cqw;
  align-self: flex-end;
  margin-left: auto;
  color: #bed3c9;
  font-size: clamp(6px, 1.75cqw, 10px);
  font-weight: 450;
  white-space: nowrap;
}
.wa-out { border-top-right-radius: 0; }
.wa-in { --wa-fill: #28393d; border-top-left-radius: 0; transform-origin: left bottom; }
.wa-in::after { left: auto; right: calc(100% - .45px); border-right: none; border-left: 1.20cqw solid transparent; }
@container (max-width: 215px) {
  .wa-thread { padding: 1cqw 3.5%; }
  .wa-bubble { padding: 1cqw 1.75cqw; max-width: 98%; }
  .wa-bubble small { display: none; }
}
.wa-read { position: relative; width: 2.55cqw; height: 1.6cqw; }
.wa-read::before, .wa-read::after {
  content: "";
  position: absolute;
  bottom: .3cqw;
  width: 1.4cqw;
  height: .7cqw;
  border: solid #87cde7;
  border-width: 0 0 max(.7px, .21cqw) max(.7px, .21cqw);
  transform: rotate(-45deg);
}
.wa-read::before { left: 0; }
.wa-read::after { left: .83cqw; }
.wa-compose { gap: 2cqw; background: #182528; color: #b4c5c1; border-top: 1px solid #91aaa415; }
.wa-plus { position: relative; width: 2.85cqw; height: 2.85cqw; }
.wa-plus::before, .wa-plus::after {
  content: "";
  position: absolute;
  inset: 44% 0;
  border-radius: 1px;
  background: currentColor;
}
.wa-plus::after { transform: rotate(90deg); }
.wa-field {
  display: flex;
  flex: 1;
  align-items: center;
  height: 70%;
  padding-inline: 2.6cqw;
  border-radius: 6cqw;
  background: #2a383b;
  font-size: clamp(7px, 2.19cqw, 12px);
}
.wa-mic { width: 3.45cqw; height: 3.45cqw; }
.wa-typing { display: none; position: absolute; left: 0; align-items: center; padding: 2cqw 2.7cqw; }
.wa-dots { display: inline-flex; align-items: center; gap: .8cqw; color: #b6d9c8; }
.wa-dots > i { display: block; width: .9cqw; height: .9cqw; border-radius: 50%; background: currentColor; }
.wa-draft { display: none; position: relative; color: #e5f1ed; white-space: nowrap; }
.wa-draft > span { display: block; }
.wa-draft::after {
  content: "";
  position: absolute;
  top: 5%;
  bottom: 4%;
  left: 100%;
  width: 1px;
  margin-left: 1px;
  background: #a2dfc8;
}

.contact-device:is([data-chat-step="0"], [data-chat-step="1"]) .wa-msg-1,
.contact-device:is([data-chat-step="0"], [data-chat-step="1"], [data-chat-step="2"], [data-chat-step="3"]) .wa-msg-2,
.contact-device:is([data-chat-step="0"], [data-chat-step="1"], [data-chat-step="2"], [data-chat-step="3"], [data-chat-step="4"], [data-chat-step="5"]) .wa-msg-3 {
  opacity: 0;
  transform: translate(var(--wa-enter, 1.25cqw), 1cqw) scale(.975);
}
.wa-in { --wa-enter: -1.25cqw; }
.contact-device[data-chat-step="3"] .wa-typing,
.contact-device:is([data-chat-step="1"], [data-chat-step="5"]) .wa-draft { display: inline-flex; }
.contact-device[data-chat-step="3"] .wa-online,
.contact-device:is([data-chat-step="1"], [data-chat-step="5"]) .wa-placeholder { display: none; }
.contact-device[data-chat-step="3"] .wa-is-typing { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .wa-draft > span { animation: wa-compose-text .64s steps(23, end) both; }
  .wa-draft::after { animation: wa-compose-caret .64s steps(23, end) both; }
  .contact-device[data-chat-step="3"] .wa-typing .wa-dots > i {
    animation: wa-typing-pulse .85s ease-in-out var(--wa-beat, 0s) infinite;
  }
  .wa-dots > i:nth-child(2) { --wa-beat: .11s; }
  .wa-dots > i:nth-child(3) { --wa-beat: .22s; }
}
@keyframes wa-compose-text { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes wa-compose-caret { from { left: 0; } to { left: 100%; } }
@keyframes wa-typing-pulse {
  0%, 70%, 100% { transform: translateY(0); opacity: .62; }
  35% { transform: translateY(-.45cqw); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-bubble { transition: none; }
}
html[data-skip-all-motion] .wa-bubble { transition: none; }
