.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.production-results {
  display: grid;
  gap: 18px;
}

.production-output-card {
  padding: 18px;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(22, 34, 51, 0.05);
}

.production-output-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.production-output-header h3 {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.output-preview-frame {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 10px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #eef2f6;
  color: #687587;
}

.output-preview-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 620px) {
  .production-output-header {
    flex-direction: column;
  }

  .production-output-header .primary-button {
    width: 100%;
    justify-content: center;
  }

  .footer-actions {
    width: 100%;
  }

  .footer-actions > button {
    flex: 1 1 160px;
  }

  .output-preview-frame {
    min-height: 190px;
  }
}
