.tpf-form-wrap {
  --tpf-primary: #ea6f12;
  --tpf-primary-dark: #cf5e08;
  --tpf-primary-light: #fcf6ef;
  --tpf-bg: #fbfbfb;
  --tpf-surface: #ffffff;
  --tpf-surface-soft: #ffffff;
  --tpf-border: #e7e1d8;
  --tpf-border-soft: #ece7e0;
  --tpf-text: #22201d;
  --tpf-muted: #6c6864;
  width: 100%;
  font-family: Inter, Arial, sans-serif;
  color: var(--tpf-text);
}
.tpf-form-wrap *, .tpf-form-wrap *::before, .tpf-form-wrap *::after { box-sizing: border-box; }
.tpf-shell { width: 100%; max-width: 980px; margin: 0 auto; }
.tpf-top-card {
  max-width: 720px;
  margin: 0 auto 18px;
  background: #fbf6f1;
  border: 1px solid #efe5d9;
  border-radius: 4px;
  padding: 18px 22px 16px;
  text-align: center;
}
.tpf-top-card h3 { margin: 0 0 12px; font-size: 13px; line-height: 1.45; font-weight: 700; }
.tpf-inline-radios { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 8px; }
.tpf-inline-radios label, .tpf-choice { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.4; }
.tpf-inline-radios label { font-size: 13px; }
.tpf-inline-radios input, .tpf-choice input { accent-color: var(--tpf-primary); width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.tpf-hint { margin: 0; color: var(--tpf-muted); font-size: 11px; line-height: 1.5; }
.tpf-card {
  background: var(--tpf-surface);
  border: 1px solid var(--tpf-border);
  border-radius: 4px;
  padding: 22px 22px 24px;
  box-shadow: none;
}
.tpf-title {
  margin: 0 0 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 15px;
  font-weight: 800;
  position: relative;
}
.tpf-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--tpf-primary);
  margin: 8px auto 0;
  border-radius: 999px;
}
.tpf-alert { border-radius: 6px; padding: 11px 13px; font-size: 13px; margin-bottom: 18px; }
.tpf-alert.is-error { background: #FDECEA; border: 1px solid #F5C6C2; color: #C0392B; }
.tpf-alert.is-success { background: #E8F5E9; border: 1px solid #A5D6A7; color: #2E7D32; }
.tpf-field { margin-bottom: 14px; }
.tpf-label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; }
.tpf-label .req { color: var(--tpf-primary); }
.tpf-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tpf-input, .tpf-select, .tpf-textarea {
  width: 100%;
  border: 1px solid #ddd7cf;
  border-radius: 2px;
  background: #fff;
  color: var(--tpf-text);
  padding: 9px 10px;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tpf-input::placeholder, .tpf-textarea::placeholder { color: #9b9792; }
.tpf-textarea { resize: vertical; min-height: 50px; }
.tpf-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6966' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.tpf-input:focus, .tpf-select:focus, .tpf-textarea:focus { border-color: var(--tpf-primary); box-shadow: 0 0 0 3px rgba(234,111,18,.10); }
.tpf-divider { border: none; border-top: 1px solid var(--tpf-border-soft); margin: 18px 0; }
.tpf-visa-wrap { display: flex; justify-content: center; margin: 10px 0 16px; }
.tpf-visa-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 2px solid #f0a267; color: var(--tpf-primary); background: #fff;
  text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; border-radius: 4px; padding: 10px 20px;
}
.tpf-visa-btn:hover, .tpf-visa-btn:focus { background: #fff7f1; }
.tpf-section-label { margin: 0 0 6px; color: var(--tpf-text); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; display:flex; align-items:center; gap:10px; }
.tpf-activities { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 8px; }
.tpf-activity-card, .tpf-sponsor-card { background: #fff; border: 1px solid var(--tpf-border-soft); border-radius: 4px; padding: 14px 16px; }
.tpf-activity-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.tpf-activity-title { font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.35; }
.tpf-activity-sub { font-size: 11px; color: var(--tpf-text); margin-top: 2px; }
.tpf-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; }
.tpf-choice { font-size: 12px; }
.tpf-sponsor-card { margin-top: 14px; }
.tpf-sponsor-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.tpf-sponsor-title { font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.tpf-sponsor-hint { margin: 0 0 12px 28px; font-size: 11px; color: var(--tpf-text); }
.tpf-sponsor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; }
.tpf-price { color: var(--tpf-primary); font-weight: 700; }
.tpf-subnote { font-size: 11px; color: var(--tpf-text); margin-top: 2px; }
.tpf-extra-block {
  margin-top: 16px; padding: 16px; border: 1px dashed var(--tpf-primary); background: #fffaf5; border-radius: 4px; position: relative;
}
.tpf-extra-title { margin: 0 0 14px; color: var(--tpf-primary); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tpf-remove-btn {
  position: absolute; top: 10px; right: 10px; border: 1px solid var(--tpf-border); background: #fff; color: var(--tpf-muted); border-radius: 4px; padding: 4px 8px; font-size: 11px; cursor: pointer;
}
.tpf-actions {
  margin-top: 16px; border: 2px dashed #efb07a; border-radius: 4px; padding: 8px 10px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 12px; background: #fff;
}
.tpf-add-wrap { display: flex; align-items: center; gap: 12px; }
.tpf-add-circle {
  width: 26px; height: 26px; border-radius: 50%; border: none; background: transparent; color: var(--tpf-primary); font-size: 30px; line-height: 1; cursor: pointer; padding: 0;
}
.tpf-add-link { display: inline-block; background: none; border: none; color: var(--tpf-primary); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; text-align: left; text-transform: uppercase; }
.tpf-add-info { margin-top: 1px; color: var(--tpf-text); font-size: 11px; }
.tpf-submit-btn {
  appearance: none; border: none; border-radius: 4px; background: var(--tpf-primary); color: #fff; font: inherit; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 12px 18px; cursor: pointer; width: 100%;
}
.tpf-submit-btn:hover, .tpf-submit-btn:focus { background: var(--tpf-primary-dark); }
@media (max-width: 900px) {
  .tpf-shell { max-width: 100%; }
  .tpf-sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tpf-grid-2, .tpf-activities, .tpf-sponsor-grid, .tpf-choices, .tpf-actions { grid-template-columns: 1fr; }
  .tpf-card { padding: 18px 14px 20px; }
  .tpf-top-card { padding: 16px 14px; }
}
@media (max-width: 480px) {
  .tpf-inline-radios { gap: 14px; }
  .tpf-title { font-size: 14px; }
  .tpf-choice { font-size: 11.5px; }
  .tpf-visa-btn, .tpf-submit-btn { font-size: 12px; }
}

/* Info block between activities and sponsorship */
.tpf-activities-info {
  background: #fbf6f1;
  border: 1px solid #efe5d9;
  border-radius: 4px;
  padding: 14px 18px;
  margin-top: 14px;
}
.tpf-info-block { padding: 2px 0; }
.tpf-info-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #22201d;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tpf-info-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ea6f12;
  flex-shrink: 0;
}
.tpf-info-text {
  font-size: 11.5px;
  color: #6c6864;
  line-height: 1.6;
  margin: 0;
  padding-left: 14px;
}
.tpf-info-text strong { color: #22201d; font-weight: 700; }
.tpf-info-divider {
  border: none;
  border-top: 1px solid #ece7e0;
  margin: 10px 0;
}

/* Extra block section labels */
.tpf-extra-section-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #22201d;
  margin: 14px 0 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ece7e0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tpf-extra-section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea6f12;
  flex-shrink: 0;
}
.tpf-extra-checks { margin-top: 4px; }
