/* Stylist conversation and the platform choice for the example assessment. */
.chat-demo {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(175px, .65fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(16px, 2.7vw, 28px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--surface-shadow);
  color: var(--ink);
}

.chat-demo-heading {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.chat-demo-symbol {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
}

.chat-demo-symbol .icon { --size: 21px; }
.chat-demo-label { margin-bottom: 2px; color: var(--muted); font-size: 13px; line-height: 1.25; }
.chat-demo h3 { margin: 0; font-size: clamp(19px, 2.1vw, 25px); font-weight: 740; line-height: 1.14; letter-spacing: -.035em; }
.chat-demo-window { min-width: 0; padding: clamp(10px, 2vw, 17px); border-radius: 20px; background: var(--paper); }
.chat-demo-dialogue { display: grid; gap: 7px; }

.chat-demo-message {
  max-width: min(94%, 49ch);
  padding: 10px 13px;
  border-radius: 19px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: var(--detail-shadow);
}

.chat-demo-user { justify-self: end; border-end-end-radius: 7px; background: #e5e5ed; }
.chat-demo-reply { justify-self: start; border-end-start-radius: 7px; background: var(--surface); }
.chat-demo-speaker { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.2; }
.chat-demo-request { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 11px; }
.chat-demo-photo { display: block; width: 60px; height: 75px; border-radius: 11px; object-fit: cover; }

.chat-review-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.review-screen {
  width: min(480px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: clamp(18px, 6vh, 56px) max(24px, env(safe-area-inset-bottom));
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.review-top .wordmark { font-size: 30px; }
.review-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 650; }
.review-card { padding: clamp(16px, 4vw, 27px); }

.review-intro { margin-bottom: 18px; }
.review-intro h1 { font-size: clamp(23px, 5vw, 31px); letter-spacing: -.04em; line-height: 1.09; }
.review-intro p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.35; }
.review-platforms { display: grid; gap: 7px; }

.review-platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 11px 15px;
  border: 0;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 730;
  line-height: 1.25;
  text-align: left;
}

.review-platform-label { display: flex; align-items: center; gap: 10px; }
.review-platform-label img { display: block; flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
.review-platform .next { color: inherit; }
.review-platform:disabled { background: var(--wash); color: var(--muted); opacity: 1; }
.review-unavailable { font-size: 13px; font-weight: 550; }

@media (max-width: 700px) {
  .chat-demo { grid-template-columns: minmax(0, 1fr); gap: 13px; border-radius: 23px; }
  .chat-demo-heading { grid-template-columns: 37px minmax(0, 1fr); }
  .chat-demo-symbol { width: 37px; height: 37px; }
  .chat-demo-message { font-size: 14px; }
}
