/* Keep every in-progress result readable inside its stage. */
.workbench-result-frame > .feature-pending-state,
.workbench-result-frame > .feature-error-state,
.workbench-result-frame > .feature-empty-state,
.feature-result-frame > .feature-pending-state,
.feature-result-frame > .feature-error-state,
.feature-result-frame > .feature-empty-state {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px 24px;
  overflow: hidden;
  text-align: center;
}

.feature-pending-state,
.feature-error-state,
.feature-empty-state {
  position: relative;
}

.feature-pending-state > *:not(.feature-pending-grid),
.feature-error-state > *,
.feature-empty-state > * {
  position: relative;
  z-index: 2;
}

.feature-pending-state strong,
.feature-error-state strong,
.feature-empty-state strong {
  max-width: 100%;
  line-height: 1.35;
}

.feature-pending-state span,
.feature-pending-state small,
.feature-error-state p,
.feature-empty-state p {
  max-width: min(100%, 34em);
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.65;
}

.feature-pending-state .feature-pending-grid {
  position: absolute;
  z-index: 0;
  inset: 18% -18% -30%;
  width: auto;
  min-height: 0;
  height: auto;
}

.persona-pending-visual,
.persona-showcase-state {
  min-height: 100%;
  height: 100%;
}

@media (max-width: 680px) {
  .workbench-result-frame > .feature-pending-state,
  .feature-result-frame > .feature-pending-state {
    min-height: 360px;
  }
}
