/* Mobile review recovery: keep the full workflow visible without horizontal clipping. */
@media (max-width: 860px) {
  .workspace.is-review .progress-panel {
    position: sticky;
    z-index: 20;
    top: 72px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.98);
  }

  .workspace.is-review .progress-list {
    display: flex;
    gap: 4px;
    overflow: hidden;
    padding-bottom: 0;
  }

  .workspace.is-review .progress-step {
    min-width: 0;
    flex: 1 1 0;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 7px 2px;
  }

  .workspace.is-review .progress-step .step-copy {
    display: none;
  }

  .workspace.is-review .progress-step.is-active {
    flex: 2.6 1 0;
    grid-template-columns: 26px minmax(0, 1fr);
    justify-items: start;
    gap: 7px;
    padding: 8px;
  }

  .workspace.is-review .progress-step.is-active .step-copy {
    display: grid;
    min-width: 0;
  }

  .workspace.is-review .progress-step.is-active .step-copy strong {
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workspace.is-review .main-content {
    min-height: calc(100vh - 132px);
  }

  .workflow-screen.is-mobile-recovered {
    display: block !important;
  }
}

@media (max-width: 390px) {
  .workspace.is-review .progress-step.is-active {
    flex-basis: 42%;
  }

  .workspace.is-review .progress-step.is-active .step-copy strong {
    font-size: 0.72rem;
  }
}
