/* iOS messenger design study based on the supplied WhatsApp references.
   SF Pro/San Francisco is selected natively on Apple devices. */
:root {
  color-scheme: light;
  --surface: #f4f1ec;
  --paper: #f7f4ed;
  --sent: #dcfbd2;
  --ink: #10110f;
  --green: #19835c;
  --muted: #727571;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}
body {
  background: #dfddd7;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #208760;
  outline-offset: 3px;
}
.x1-chat {
  position: relative;
  isolation: isolate;
  max-width: 520px;
  margin: auto;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
}
.x1-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.x1-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.x1-header {
  z-index: 3;
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 69px;
  padding: 11px 15px 11px 12px;
  padding-top: calc(11px + env(safe-area-inset-top));
  background: #f4f1edeb;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-shrink: 0;
}
.x1-back {
  height: 44px;
  width: 35px;
  background: #fffdfb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.x1-back .x1-icon {
  width: 25px;
  height: 25px;
}
.x1-back svg {
  stroke-width: 2.4;
}
.x1-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #d9e9e2;
  display: grid;
  place-items: center;
  color: #075e54;
  font-weight: 600;
  flex-shrink: 0;
}
.x1-contact {
  flex: 1;
  min-width: 0;
}
.x1-contact strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.25px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 22px;
}
.x1-status {
  font-size: 13px;
  line-height: 17px;
  color: #72716e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.x1-calls {
  background: #fffdfb;
  border-radius: 28px;
  display: flex;
  gap: 21px;
  padding: 12px 15px;
  align-items: center;
  flex-shrink: 0;
  height: 44px;
}
.x1-calls .x1-icon {
  width: 25px;
  height: 25px;
}
.x1-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  background: var(--paper);
}
.x1-body:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/chat-wallpaper.webp");
  background-repeat: repeat;
  background-size: 159px 260px;
  pointer-events: none;
  opacity: 0.8;
}
.x1-messages {
  flex: 1;
  min-height: 0;
  z-index: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: none;
}
.x1-messages::-webkit-scrollbar {
  display: none;
}
.x1-date {
  align-self: center;
  background: #ffffffed;
  border-radius: 8px;
  padding: 2px 20px;
  min-width: 80px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  margin: 2px 0 15px;
  box-shadow: 0 1px 1px #00000005;
}
.x1-bubble {
  position: relative;
  flex-shrink: 0;
  align-self: flex-start;
  max-width: 82%;
  min-width: 65px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 1px 0.5px #00000008;
  margin-top: 0;
}
.x1-bubble:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 18px;
  bottom: 0;
  left: -7px;
  background: inherit;
  clip-path: path("M14 0 Q11 12 0 18 Q7 19 14 15 Z");
}
.x1-content {
  position: relative;
  padding: 9px 12px 7px;
  display: flow-root;
}
.x1-text {
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.22px;
  white-space: pre-wrap;
}
.x1-text:empty {
  display: none;
}
.x1-bubble.sent {
  background: var(--sent);
  align-self: flex-end;
  max-width: 86%;
  margin-top: 9px;
  margin-bottom: 8px;
}
.x1-bubble.sent:before {
  left: auto;
  right: -7px;
  transform: scaleX(-1);
}
.x1-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  float: right;
  color: var(--muted);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: -0.15px;
  white-space: nowrap;
  margin: 1px -1px -2px 10px;
  min-height: 15px;
}
.x1-checks {
  width: 18px;
  height: 15px;
  color: #008dfb;
}
.x1-checks svg {
  stroke-width: 2.1;
}
.x1-bubble.sent .x1-time {
  font-size: 12px;
}
.x1-type-image,
.x1-type-video {
  width: min(82%, 330px);
}
.x1-type-image .x1-content,
.x1-type-video .x1-content {
  padding: 0;
  overflow: hidden;
  border-radius: 21px;
}
.x1-media {
  position: relative;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  background: #eeece7;
  min-height: 80px;
}
.x1-media img,
.x1-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
}
.x1-media img {
  cursor: default;
}
.x1-type-image .x1-text,
.x1-type-video .x1-text {
  padding: 7px 11px 0;
}
.x1-type-image .x1-content > .x1-time,
.x1-type-video .x1-content > .x1-time {
  margin: 0 11px 7px 8px;
}
.x1-media-only .x1-media {
  border-radius: 21px;
}
.x1-media-only .x1-media:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(transparent, #0005);
  pointer-events: none;
}
.x1-media .x1-time {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: #fff;
  z-index: 3;
  font-size: 12px;
  text-shadow: 0 1px 3px #0008;
  margin: 0;
}
.x1-video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #eeeee2e8;
  color: #62645e;
  border: 0;
  border-radius: 50%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
}
.x1-video-play .x1-icon {
  width: 39px;
  height: 39px;
  margin-left: 2px;
}
.x1-video-length {
  position: absolute;
  bottom: 8px;
  left: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #fff;
  font-size: 13px;
  z-index: 3;
  text-shadow: 0 1px 3px #0008;
}
.x1-video-length .x1-icon {
  width: 17px;
  height: 17px;
}
.playing .x1-video-length,
.playing .x1-time {
  display: none;
}
.x1-audio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1px 0 0;
  min-width: 240px;
}
.x1-type-audio {
  width: min(82%, 330px);
}
.x1-audio-play {
  border: 0;
  background: transparent;
  color: #626562;
  width: 33px;
  flex-shrink: 0;
  padding: 0;
}
.x1-audio-play .x1-icon {
  width: 30px;
  height: 30px;
}
.x1-audio-track {
  position: relative;
  min-width: 0;
  flex: 1;
  padding: 6px 0 0;
}
.x1-wave {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  --progress: 0%;
  background: linear-gradient(
    to right,
    #1ba45f var(--progress),
    #b6b6b3 var(--progress)
  );
  mask-image: none;
}
.x1-wave i {
  display: block;
  flex: 1;
  min-width: 2px;
  max-height: 27px;
  border-radius: 3px;
  background: #b8b8b6;
}
.x1-audio-scrub {
  position: absolute;
  width: 100%;
  height: 32px;
  top: 3px;
  left: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}
.x1-audio-dot {
  position: absolute;
  top: 14px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #19a35e;
  transform: translateX(-50%);
  pointer-events: none;
}
.x1-audio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
  color: #80827d;
}
.x1-audio-meta small {
  font-size: 11px;
}
.x1-audio-meta .x1-time {
  margin: 0;
  float: none;
}
.x1-audio-face {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-top: -6px;
}
.x1-audio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #e0e9e0;
}
.x1-audio-mic {
  position: absolute;
  width: 15px;
  height: 23px;
  bottom: -4px;
  left: -5px;
  color: #1daa69;
  background: white;
  border-radius: 7px;
}
.x1-type-audio audio {
  display: none;
}
.x1-type-audio .x1-text {
  margin-top: 7px;
}
.x1-file {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 10px;
  background: #f4f4f4;
  border-radius: 12px;
  margin: -3px -6px 7px;
  color: #222;
  text-decoration: none;
  min-width: 205px;
}
.x1-file-icon {
  color: #d44b4f;
  width: 31px;
  height: 36px;
}
.x1-file-details {
  flex: 1;
  min-width: 0;
}
.x1-file-details strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.x1-file-details small {
  font-size: 11px;
  color: #858585;
  display: block;
  margin-top: 3px;
}
.x1-file-download {
  color: #707570;
  width: 22px;
  height: 22px;
}
.x1-link {
  display: block;
  color: #087db1;
  text-decoration: underline;
  font-size: 16px;
  line-height: 1.35;
  margin-top: 2px;
  word-break: break-word;
}
.x1-quote {
  border-left: 4px solid #6650d7;
  background: #00000005;
  border-radius: 10px;
  padding: 8px 10px;
  margin: -3px -5px 7px;
  max-width: 100%;
  white-space: normal;
}
.x1-quote > strong {
  display: block;
  color: #6650d7;
  font-size: 14px;
  margin-bottom: 3px;
  font-weight: 600;
}
.x1-quote div {
  font-size: 14px;
  line-height: 1.3;
  max-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: -0.15px;
}
.x1-interactive {
  width: 82%;
  min-width: 210px;
  max-width: 340px;
}
.x1-interactive .x1-content {
  padding-bottom: 10px;
}
.x1-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  white-space: normal;
}
.x1-actions:empty {
  display: none;
}
.x1-response {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  padding: 11px 16px;
  border: 0;
  border-top: 1px solid #e5e5e5;
  background: transparent;
  color: var(--green);
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
}
.x1-response:last-child {
  border-radius: 0 0 21px 21px;
}
.x1-response .x1-icon {
  width: 24px;
  height: 24px;
}
.x1-response:disabled {
  color: #969995;
  cursor: default;
}
.x1-response:not(:disabled):hover {
  background: #f6faf7;
}
.x1-type-cta .x1-text {
  font-weight: 600;
}
.x1-jump {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  right: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0001;
}
.x1-jump.visible {
  display: flex;
}
.x1-jump .x1-icon {
  width: 25px;
  height: 25px;
}
.x1-bottom {
  z-index: 3;
  background: #f2f1ebf5;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-bottom: env(safe-area-inset-bottom);
  flex-shrink: 0;
}
.x1-composer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 10px 2px 13px;
  min-height: 52px;
}
.x1-composer > .x1-icon:first-child {
  width: 25px;
  height: 25px;
}
.x1-composer > .x1-icon {
  width: 25px;
  height: 25px;
}
.x1-composer-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border: 1px solid #d1d2cf;
  border-radius: 24px;
  background: #fff;
  height: 34px;
  padding: 4px 9px 4px 13px;
}
.x1-placeholder {
  font-size: 12px;
  color: #989b96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.x1-composer-field .x1-icon {
  height: 23px;
  width: 23px;
}
.x1-composer-mic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1dab65;
  color: white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.x1-composer-mic .x1-icon {
  width: 23px;
  height: 23px;
}
.x1-footer {
  font-size: 9px;
  text-align: center;
  padding: 3px 4px 5px;
  color: #94968f;
  letter-spacing: 0.05px;
}
.x1-typing {
  min-width: 64px;
  width: 64px;
  padding: 13px 13px 10px;
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 38px;
  color: #9da19b;
  line-height: 10px;
}
.x1-typing span {
  display: block;
  font-size: 10px;
  animation: pulse 1.1s infinite;
}
.x1-typing span:nth-child(2) {
  animation-delay: 0.18s;
}
.x1-typing span:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: translateY(-2px);
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 600px) {
  .x1-chat {
    border-left: 1px solid #c9c9c3;
    border-right: 1px solid #c9c9c3;
  }
  .x1-header {
    min-height: 76px;
  }
  .x1-composer {
    padding-bottom: 4px;
  }
}
@media (max-width: 360px) {
  .x1-header {
    gap: 6px;
    padding-left: 8px;
    padding-right: 9px;
  }
  .x1-calls {
    gap: 12px;
    padding: 10px 12px;
  }
  .x1-contact strong {
    font-size: 16px;
  }
  .x1-messages {
    padding-left: 12px;
    padding-right: 12px;
  }
  .x1-audio {
    min-width: 205px;
  }
  .x1-composer {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.x1-actions-history .x1-response {
  color: #8a8d89;
  background: transparent;
}
.x1-actions-history .x1-response:hover {
  background: transparent;
}
/* Reserve the timestamp on the final text line, as in the native chat. */
.x1-text {
  display: inline;
}
.x1-text:after {
  content: "";
  display: inline-block;
  width: 58px;
  height: 0;
}
.sent .x1-text:after {
  width: 75px;
}
.x1-time {
  position: absolute;
  float: none;
  right: 11px;
  bottom: 7px;
  margin: 0;
}
.x1-audio-meta .x1-time {
  position: static;
  float: none;
}
.x1-type-image .x1-text,
.x1-type-video .x1-text {
  display: block;
  padding: 7px 11px 8px;
}
.x1-type-image .x1-content > .x1-time,
.x1-type-video .x1-content > .x1-time {
  margin: 0;
}
.x1-type-audio .x1-text {
  display: block;
}
.x1-type-audio .x1-text:after {
  display: none;
}

/* Contact introduction, dismissed after the visitor's first reply. */
.x1-contact strong > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.x1-verified {
  display: inline-flex;
  width: 17px;
  height: 17px;
  color: #21c063;
  flex-shrink: 0;
}
.x1-verified svg {
  width: 100%;
  height: 100%;
}
.x1-contact-card {
  align-self: center;
  flex-shrink: 0;
  width: min(100%, 350px);
  box-sizing: border-box;
  margin: 2px 0 16px;
  padding: 22px 22px 20px;
  background: #fff;
  border-radius: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 1px 2px #00000005;
}
.x1-contact-portrait {
  width: 88px;
  height: 88px;
  position: relative;
  margin-bottom: 14px;
}
.x1-contact-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #d9e3e0;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #5c7067;
}
.x1-contact-portrait .x1-verified {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 25px;
  height: 25px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
}
.x1-card-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}
.x1-card-status {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 21px;
  color: #8a8a8e;
  overflow-wrap: anywhere;
}
.x1-card-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 22px;
  color: #128c4f;
  overflow-wrap: anywhere;
}
.x1-trust-icon {
  display: inline-grid;
  place-items: center;
  border: 1.5px solid currentColor;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  flex-shrink: 0;
}

.x1-chat {
  touch-action: pan-y;
}
.x1-new-message {
  animation: appear 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* The video remains clickable while playing, with no visible controls. */
.playing .x1-video-play {
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transform: none;
  opacity: 0;
  background: transparent;
}
.x1-video-play:focus-visible {
  outline: 2px solid #21c063;
  outline-offset: -3px;
}
.playing .x1-video-play:focus-visible {
  opacity: 1;
}
.playing .x1-video-play:focus-visible .x1-icon {
  display: none;
}
.x1-media video::-webkit-media-controls {
  display: none !important;
}
.x1-file[aria-busy="true"] {
  opacity: 0.65;
  cursor: wait;
}
@media (prefers-reduced-motion: reduce) {
  .x1-new-message {
    animation: none;
  }
}

/* Keep browser scroll anchoring from fighting the message entrance. */
.x1-messages {
  overflow-anchor: none;
  scroll-behavior: auto;
}
.x1-new-message {
  transform-origin: bottom center;
}
.x1-type-file {
  width: min(82%, 310px);
  max-width: calc(100% - 42px);
}
.x1-type-file .x1-content {
  padding: 4px 4px 7px;
}
.x1-file {
  display: block;
  min-width: 0;
  padding: 0;
  margin: 0 0 4px;
  border-radius: 17px;
  overflow: hidden;
  background: #f5f4f3;
}
.x1-file-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 12px;
  min-height: 56px;
  box-sizing: border-box;
}
.x1-pdf-icon {
  width: 23px;
  height: 29px;
  flex-shrink: 0;
  display: block;
}
.x1-pdf-icon svg {
  width: 100%;
  height: 100%;
}
.x1-file-details strong {
  font-size: 17px;
  line-height: 21px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}
.x1-file-details small {
  font-size: 13px;
  line-height: 17px;
  color: #777;
  margin-top: 3px;
}
.x1-type-file .x1-time {
  margin-right: 9px;
}
.x1-type-file .x1-text {
  padding: 4px 8px;
}
.x1-file-preview {
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #eee;
}
.x1-file-download-button {
  position: absolute;
  right: -38px;
  top: 24px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bcbdbcbf;
  color: #fff;
  cursor: pointer;
}
.x1-file-download-button .x1-icon {
  width: 19px;
  height: 19px;
}
.x1-type-file:has(.x1-file-preview) .x1-file-download-button {
  top: 72px;
}

/* Large link preview above the original CTA and its button. */
.x1-cta-with-preview {
  width: min(82%, 330px);
}
.x1-cta-with-preview .x1-content {
  padding: 4px 4px 7px;
}
.x1-cta-preview {
  border-radius: 17px 17px 0 0;
  overflow: hidden;
  background: #f5f4f3;
  margin-bottom: 6px;
  white-space: normal;
}
.x1-cta-preview-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.x1-cta-preview-details {
  padding: 12px 10px;
}
.x1-cta-preview-details > strong {
  display: block;
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.x1-cta-preview-details p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #8a8a8a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.x1-cta-preview-source {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.x1-cta-preview-source .x1-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.x1-cta-with-preview .x1-text {
  padding: 3px 8px;
}
.x1-cta-with-preview .x1-time {
  margin-right: 8px;
}
/* Voice message geometry and listened state. */
.x1-type-audio {
  width: min(82%, 330px);
}
.x1-type-audio .x1-content {
  padding: 13px 12px 7px;
}
.x1-audio {
  min-width: 0;
  gap: 12px;
}
.x1-audio-play {
  width: 30px;
}
.x1-audio-face,
.x1-audio-avatar {
  width: 46px;
  height: 46px;
}
.x1-audio-face {
  margin-top: -5px;
}
.x1-wave {
  background: none;
  height: 29px;
}
.x1-wave i {
  min-width: 1px;
  max-height: 25px;
}
.x1-audio-dot {
  top: 14px;
  width: 12px;
  height: 12px;
  background: #21aa65;
}
.x1-audio.heard .x1-audio-dot {
  background: #34b7ef;
}
.x1-audio.heard .x1-audio-mic {
  color: #34b7ef;
}
.x1-audio-meta small {
  font-size: 12px;
}

.x1-cta-preview {
  display: block;
  color: inherit;
  text-decoration: none;
}
.x1-cta-preview[aria-disabled="true"] {
  cursor: default;
}
.x1-cta-preview:focus-visible {
  outline: 2px solid #21aa65;
  outline-offset: -2px;
}

.x1-cta-caption-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.x1-cta-caption-link:focus-visible {
  outline: 2px solid #21aa65;
  border-radius: 5px;
}

/* Explicit styles also preserve formatting if a host page uses a CSS reset. */
.x1-chat .x1-format-strong {
  font-weight: 700;
}
.x1-chat .x1-format-em {
  font-style: italic;
}
.x1-chat .x1-format-s {
  text-decoration: line-through;
}
