.tt-form {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 1rem;
}
.tt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.tt-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
}
.tt-form input,
.tt-form textarea,
.tt-form select {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: .72rem .75rem;
  font-size: 1rem;
}
.tt-form input:focus,
.tt-form textarea:focus,
.tt-form select:focus {
  outline: 2px solid rgba(255, 140, 66, .25);
  border-color: #FF8C42;
}
.tt-form-field-full { grid-column: 1 / -1; }
.tt-form-field-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}
.tt-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.tt-form-consent input[type="checkbox"] {
  width: auto;
  margin-top: .2rem;
}
.tt-form .tt-btn { margin-top: .8rem; }
.tt-form-note { color: #6a6a6a; font-size: .9rem; }
.tt-choice-input[aria-invalid="true"] + .tt-choice-group {
  border-color: #c53d2f;
  box-shadow: 0 0 0 2px rgba(197, 61, 47, .12);
}
.tt-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  width: 100%;
  padding: .35rem;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fafafa;
}
.tt-choice-btn {
  flex: 1 1 auto;
  min-width: 140px;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  padding: .8rem .9rem;
  background: #fff;
  color: #4A4A4A;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.tt-choice-btn:hover,
.tt-choice-btn:focus {
  border-color: #FF8C42;
  outline: none;
}
.tt-choice-btn.is-active {
  background: #fff4ec;
  border-color: #FF8C42;
  color: #A24E1E;
  box-shadow: 0 0 0 2px rgba(255, 140, 66, .18);
}
.tt-form-response {
  margin-top: .8rem;
  padding: .7rem;
  border-radius: 8px;
  display: none;
}
.tt-form-response.is-success {
  display: block;
  background: #e8f7eb;
  color: #226e30;
}
.tt-form-response.is-error {
  display: block;
  background: #fdeceb;
  color: #9a2d2d;
}

@media (max-width: 768px) {
  .tt-form-grid { grid-template-columns: 1fr; }
  .tt-choice-btn { flex-basis: calc(50% - .65rem); min-width: 0; }
}

@media (max-width: 520px) {
  .tt-choice-btn { flex-basis: 100%; }
}
