/* CITYENGINE_CITY_CHAT_R2 — external layout rules for the existing chat page. */
/* This replaces the original ce-onboarding-chat-layout inline stylesheet. */
.next-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex-wrap: wrap;
}
.next-steps > * {
  min-width: 0;
}
.next-steps > .onboarding-action {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 12px;
  padding: 12px;
  flex: 1 1 160px;
}
@media (max-width: 640px) {
  .next-steps {
    grid-template-columns: 1fr;
  }
}

/* These two marketing blocks belong to the full page, not its compact chat. */
body.embedded main > section.privacy,
body.embedded main > p.ce-fullpage-build-r2 {
  display: none;
}

/* Preserve all three actions while leaving room for the conversation. */
body.embedded .next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 10px;
  flex: 0 0 auto;
}
body.embedded .next-steps > .text-button {
  min-width: 0;
  min-height: 44px;
  padding: 7px 5px;
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.embedded .next-steps > .onboarding-action {
  flex: 0 1 auto;
}
body.embedded.lead-open .next-steps {
  display: none;
}
