.try-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--wk-ground);
  color: #111b21;
  display: flex;
  flex-direction: column;
}

.try-site-chat-notice {
  margin: 0;
  padding: 8px 14px;
  background: var(--wk-ground);
  color: var(--wk-ink);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
  border-bottom: 1px solid var(--wk-hairline);
  flex-shrink: 0;
}

.try-body #rakan-root {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.try-site-chat-notice [lang="en"] {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--wk-muted);
}

.wa-stage {
  width: min(420px, 100%);
  flex: 1;
  min-height: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-color: #e8ebf0;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.04) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  color: #111b21;
}

@media (min-width: 720px) {
  .try-body {
    align-items: center;
    padding: 0 16px 32px;
  }

  .try-site-chat-notice {
    width: 100%;
    margin: 0 -16px 16px;
  }

  .wa-stage {
    min-height: 720px;
    max-height: 840px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  }
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #243044;
  color: #fff;
  flex-shrink: 0;
}

.wa-back {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  padding: 4px 6px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e11d2e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.wa-who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.wa-who strong {
  font-size: 16px;
  font-weight: 600;
}

.wa-who span,
.wa-who em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-stage .wk-phone {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 10px 10px 0;
}

.wa-stage .wk-transcript {
  flex: 1;
  min-height: 0;
  overflow: auto;
  gap: 6px;
}

.wa-stage .wk-message {
  max-width: 82%;
  background: #fff;
  color: #111b21;
  border: 0;
  border-radius: 8px 8px 2px 8px;
  padding: 8px 10px;
  font-size: 14.5px;
  line-height: 1.6;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  animation: none;
}

.wa-stage .wk-message:empty {
  display: none;
}

/* Physical sides: guest (outgoing) always right, Khalid always left. RTL only flips the text. */
.wa-stage .wk-message[data-from="guest"] {
  margin-left: auto;
  margin-right: 0;
  background: #d4dced;
  color: #111b21;
  border-radius: 8px 8px 8px 2px;
}

.wa-stage .wk-message[data-from="khalid"],
.wa-stage .wk-message[data-from="rakan"] {
  margin-left: 0;
  margin-right: auto;
}

.wa-stage .wk-empty,
.wa-stage .wk-skeleton {
  color: #54656f;
  background: transparent;
  border: 0;
  min-height: 0;
  padding: 8px;
}

.wa-stage .wk-style-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-stage .wk-style-card,
.wa-stage .wk-transcript .wk-style-grid {
  max-width: 82%;
  margin-left: 0;
  margin-right: auto;
}

.wa-stage .wk-style-card {
  background: #fff;
  color: #111b21;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  transform: none;
}

.wa-stage .wk-style-card h3 {
  margin: 0;
  font-size: 14.5px;
}

.wa-stage .wk-style-card:hover {
  transform: none;
  border-color: transparent;
}

.wa-stage .wk-chip,
.wa-stage .wk-note,
.wa-stage .wk-proposed,
.wa-stage [data-flags],
.wa-stage [data-guarantee] {
  display: none;
}

.wa-stage [data-action-kind="open_official_booking"] {
  display: block;
  max-width: 82%;
  margin-left: 0;
  margin-right: auto;
  text-align: center;
  background: #fff;
  color: #027a5a;
}

.wa-stage [data-component="brief-draft"] {
  max-width: 82%;
  margin-left: 0;
  margin-right: auto;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: #111b21;
  padding: 8px 10px;
}

.wa-stage [data-component="brief-draft"] .wk-eyebrow,
.wa-stage .wa-brief-kicker {
  color: #667781;
  letter-spacing: 0;
  font-size: 12px;
  margin: 0 0 6px;
}

.wa-stage [data-component="brief-draft"] .wk-brief-row {
  background: transparent;
  border: 0;
  padding: 4px 0;
}

.wa-stage [data-component="brief-draft"] .wk-brief-label {
  color: #667781;
}

.wa-stage [data-component="brief-draft"] .wk-brief-value {
  color: #111b21;
}

.wa-stage [data-component="brief-draft"] .wk-pill {
  display: none;
}

.wa-stage [data-component="optional-image"] {
  padding: 0 4px 8px;
}

.wa-quick-btn,
.wa-quick button {
  border: 1px solid #027a5a;
  background: #fff;
  color: #027a5a;
  border-radius: 18px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  animation: none;
}

.wa-stage .wk-action-row {
  flex-wrap: wrap;
  overflow: visible;
  padding: 4px 0 8px;
  justify-content: flex-end;
}

.wa-stage .wk-pill {
  background: #fff;
  color: #027a5a;
  border: 1px solid #027a5a;
  white-space: nowrap;
  animation: none;
}

.wa-stage .wk-composer {
  background: #f0f2f5;
  padding: 8px;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wa-stage .wk-composer > label[for="wk-composer-text"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wa-stage .wa-input-shell {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 42px;
  max-height: 120px;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.wa-stage .wk-composer textarea {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 120px;
  border-radius: 0;
  background: transparent;
  color: #111b21;
  border: 0;
  padding: 10px 12px;
  resize: none;
}

.wa-stage .wk-composer [data-send="true"] {
  background: #3d5a80;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-shrink: 0;
}

.wa-stage .wa-attach {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  font-size: 0;
  color: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.wa-stage .wa-attach::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 7px;
  height: 16px;
  border: 2px solid #54656f;
  border-radius: 8px;
  transform: rotate(-35deg);
}

.wa-stage .wa-file,
.wa-stage input[type="file"].wa-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  opacity: 0;
  color: transparent;
  font-size: 0;
  appearance: none;
}

.wa-stage .wa-file::file-selector-button,
.wa-stage .wa-file::-webkit-file-upload-button,
.wa-stage input[type="file"]::file-selector-button,
.wa-stage input[type="file"]::-webkit-file-upload-button {
  display: none;
  width: 0;
  height: 0;
}

.wa-stage .wk-bubble-photo {
  display: block;
  max-width: 180px;
  max-height: 220px;
  width: auto;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin: 0;
}

.wa-stage .wk-message[data-has-photo="true"] {
  max-width: 196px;
  padding: 4px;
}

.wa-quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 4px 8px;
  justify-content: flex-end;
}

.wa-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 64px;
  margin-left: 0;
  margin-right: auto;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
}

.wa-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8696a0;
  opacity: 0.4;
}

.wa-pass {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f0f2f5;
  flex-shrink: 0;
}

.wa-pass label[for="wk-try-pass-input"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wa-pass input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #111b21;
  padding: 10px 14px;
  font-size: 14px;
}

.wa-pass [type="submit"] {
  flex-shrink: 0;
}

.wa-stage .wk-consent,
.wa-stage .wk-error {
  background: #fff;
  color: #111b21;
  border: 0;
  border-radius: 10px;
  margin: 0 4px 10px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
}

.wa-stage .wk-consent-title,
.wa-stage .wk-lead,
.wa-stage .wk-error p {
  color: #111b21;
}

.wa-stage .wk-result {
  color: #54656f;
}
