.step { display: none; margin-bottom: 20px; }
    .step.active { display: block; }
    .tmk-option-btn {
      margin: 10px;
      padding: 10px;
      border: 2px solid #ccc;
      cursor: pointer;
      display: inline-block;
      width: 150px;
      text-align: center;
    }
    .tmk-option-btn img {
      max-width: 100%;
      height: 100px;
      object-fit: cover;
    }
    .tmk-option-btn.selected {
      border-color: #007BFF;
      background-color: #e6f0ff;
    }
    #summary {
      display: none;
      margin-top: 30px;
      border-top: 2px solid #ccc;
      padding-top: 15px;
    }
    .btn-back {
      margin-top: 15px;
      display: block;
    }
    .tmk-timeline {
  display: flex;
  align-items: center;
  margin: 2em 0 2em 0;
  justify-content: center;
  gap: 0;
}

.tmk-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  position: relative;
  color: #888;
  font-size: 1em;
  transition: color 0.2s;
}

.tmk-timeline-step.active,
.tmk-timeline-step.completed {
  color: #0073aa;
  font-weight: bold;
}

.tmk-timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: #555;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2em;
  margin-bottom: 0.3em;
  border: 2px solid #e0e0e0;
  transition: background 0.2s, border 0.2s, color 0.2s;
}

.tmk-timeline-step.active .tmk-timeline-number,
.tmk-timeline-step.completed .tmk-timeline-number {
  background: #0073aa;
  color: #fff;
  border: 2px solid #0073aa;
}

.tmk-timeline-label {
  font-size: 0.95em;
  margin-top: 0.1em;
  text-align: center;
}

.tmk-timeline-separator {
  flex: 1 1 40px;
  height: 4px;
  background: #e0e0e0;
  margin: 0 0.2em;
  border-radius: 2px;
  position: relative;
}

.tmk-timeline-step.completed ~ .tmk-timeline-separator {
  background: #0073aa;
}

.tmk-timeline-step[onclick] {
  cursor: pointer;
}

/* Responsiivisuus */
@media (max-width: 600px) {
  .tmk-timeline {
    flex-direction: column;
    gap: 1em;
  }
  .tmk-timeline-separator {
    width: 4px;
    height: 40px;
    margin: 0.2em 0;
  }
}