.tmf-form { max-width: 980px; margin: 0 auto; padding: 24px; border: 1px solid #dcdcdc; background: #fff; border-radius: 12px; }
.tmf-step { display: none; }
.tmf-step.is-active { display: block; }
.tmf-field { margin-bottom: 16px; }
.tmf-field label { display: block; font-weight: 600; margin-bottom: 6px; max-width: 60%;}
.tmf-field input[type="text"],
.tmf-field input[type="email"],
.tmf-field input[type="number"],
.tmf-field textarea,
.tmf-field select { width: 100%; padding: 10px 12px; border: 1px solid #cfd4dc; border-radius: 8px; box-sizing: border-box; }
.tmf-inline-group { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.tmf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tmf-btn { background: #1f4d7a; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; cursor: pointer; }
.tmf-btn[disabled] { opacity: .5; cursor: not-allowed; }
.tmf-alert { background: #fff3cd; color: #664d03; border: 1px solid #ffecb5; padding: 12px; border-radius: 8px; margin: 12px 0; }
.tmf-status { margin-top: 16px; padding: 12px; border-radius: 8px; }
.tmf-status.is-error { background: #fdecea; color: #8a1c1c; }
.tmf-status.is-success { background: #edf7ed; color: #1e4620; }
.tmf-required { color: #c62828; }
.tmf-error { border-color: #c62828 !important; }
.tmf-progress { height: 8px; background: #eef1f5; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.tmf-progress-bar { height: 100%; width: 0; background: #1f4d7a; transition: width .25s ease; }
.tmf-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.tmf-review-grid { display: grid; gap: 12px; }
.tmf-review-item, .tmf-review-axis { border: 1px solid #dcdcdc; border-radius: 10px; padding: 12px; }
.tmf-admin-meta table th { text-align: left; }


.tmf-review-section {
  margin-bottom: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.tmf-review-section h3 {
  margin: 0;
  padding: 12px 16px;
  background: #f5f7fa;
  border-bottom: 1px solid #dcdcdc;
  font-size: 18px;
  line-height: 1.4;
}

.tmf-review-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tmf-review-table th,
.tmf-review-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #e6e9ee;
  vertical-align: top;
  text-align: left;
}

.tmf-review-table tr:last-child th,
.tmf-review-table tr:last-child td {
  border-bottom: 0;
}

.tmf-review-table th {
  width: 34%;
  font-weight: 600;
  background: #fbfcfe;
}

.tmf-review-table td {
  width: 66%;
  word-break: break-word;
}

.tmf-review-table th[colspan="2"] {
  width: auto;
  background: #eef3f8;
  color: #1f4d7a;
  font-weight: 700;
  text-transform: none;
}

#tmf-review > p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 700px) {
  .tmf-review-table,
  .tmf-review-table tbody,
  .tmf-review-table tr,
  .tmf-review-table th,
  .tmf-review-table td {
    display: block;
    width: 100%;
  }

  .tmf-review-table tr {
    border-bottom: 1px solid #e6e9ee;
  }

  .tmf-review-table tr:last-child {
    border-bottom: 0;
  }

  .tmf-review-table th,
  .tmf-review-table td {
    border-bottom: 0;
    padding: 8px 14px;
  }

  .tmf-review-table th[colspan="2"] {
    margin-top: 4px;
  }
}

.tmf-image-list {
  margin: 10px 0 6px;
  padding: 10px;
  border: 1px dashed #cfd4dc;
  border-radius: 8px;
  background: #fafbfc;
}

.tmf-image-caption {
  font-size: 13px;
  font-weight: 600;
  color: #1f4d7a;
  margin-bottom: 8px;
}

.tmf-image-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: #fff;
}

.tmf-image-list-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.tmf-image-remove {
  background: transparent;
  color: #c62828;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}
.tmf-review-section h3 {
  margin-top: 0 !important;
  width: auto !important;
  margin-bottom:0 !important;
}
.tmf-inline-group-units {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: start;
}

.tmf-number-group {
  min-width: 0;
}

.tmf-unit-group {
  position: relative;
  min-width: 0;
  /* padding-top: 20px; */
}

.tmf-unit-group label {
  position: absolute;
  top: -15px;
  left: 0;
  font-size: 12px;
  line-height: 1;
  color: #555;
  margin: 0;
}

.tmf-number-group input,
.tmf-unit-group select {
  width: 100%;
}

@media (max-width: 700px) {
  .tmf-inline-group { grid-template-columns: 1fr; }
  .tmf-nav { flex-direction: column; }
  .tmf-field label {
    max-width: 100%;
  }
  .tmf-unit-group {
    padding-top: 15px;
  }
  .tmf-unit-group label {
    top: 0px;
  }
}