* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: #F6F2EC;
  color: #2B2B2B;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 16px 14px 32px; }

.hd { text-align: center; padding: 18px 6px 14px; }
.badge {
  display: inline-block;
  background: #FCE9D8;
  color: #C2601C;
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hd h1 { margin: 0 0 8px; font-size: 23px; letter-spacing: 1px; color: #1F1F1F; }
.hd .sub { margin: 0; font-size: 13.5px; color: #7A7168; }

.card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 15px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(120, 90, 50, 0.08);
}
.card-t {
  margin: 0 0 12px;
  font-size: 15px;
  color: #C2601C;
  padding-left: 9px;
  border-left: 3px solid #E07B39;
  line-height: 1.3;
}

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.field label, .field .q {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #33302C;
}
.q { font-weight: 600; }
.req { color: #D9463A; font-style: normal; font-weight: 700; }
.opt { color: #9A9188; font-size: 13px; font-weight: 400; }

input[type="text"], input[type="tel"], textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #DDD5CA;
  border-radius: 8px;
  background: #FDFCFA;
  font-size: 16px;
  font-family: inherit;
  color: #2B2B2B;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus { border-color: #E07B39; background: #FFF; }
input.invalid, textarea.invalid { border-color: #D9463A; background: #FFF7F6; }

.opts { display: flex; flex-direction: column; gap: 9px; }
.opt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #E4DCD1;
  border-radius: 8px;
  background: #FDFCFA;
  cursor: pointer;
  font-size: 15.5px;
}
.opt-row input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: 19px;
  height: 19px;
  min-width: 19px;
  border: 2px solid #C9BFB2;
  border-radius: 50%;
  background: #FFF;
  position: relative;
}
.opt-row input[type="radio"]:checked { border-color: #E07B39; }
.opt-row input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #E07B39;
}
.opt-row:has(input:checked) { border-color: #E07B39; background: #FFF6EE; }

.sub-block {
  margin-top: 12px;
  padding: 14px 13px;
  background: #FFF9F3;
  border: 1px dashed #EBC7A6;
  border-radius: 10px;
}
.sub-block input { margin-bottom: 4px; }

.counter { text-align: right; font-size: 12px; color: #A79E93; margin: 4px 0 0; }

.err {
  display: none;
  margin: 7px 0 0;
  font-size: 13px;
  color: #D9463A;
  line-height: 1.45;
}
.err.show { display: block; }

.tip { font-size: 12.5px; color: #948B81; margin: 4px 2px 14px; }

.submit {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #E07B39;
  color: #FFF;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
}
.submit:active { background: #C96A2C; }
.submit:disabled { background: #D8CFC4; cursor: not-allowed; }
.submit-err { text-align: center; }

.done { text-align: center; padding: 40px 20px; }
.done-ico {
  width: 58px; height: 58px;
  line-height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #E6F4EF;
  color: #2E7D6F;
  font-size: 30px;
}
.done h2 { margin: 0 0 8px; font-size: 20px; color: #2E7D6F; }
.done p { margin: 0 0 22px; font-size: 14.5px; color: #6E665D; }
.ghost {
  padding: 10px 26px;
  border: 1px solid #D8CFC4;
  border-radius: 8px;
  background: #FFF;
  color: #6E665D;
  font-size: 14.5px;
  cursor: pointer;
  font-family: inherit;
}

.ft { text-align: center; font-size: 12px; color: #B0A79C; margin-top: 22px; }

@media (max-width: 360px) {
  body { font-size: 15px; }
  .hd h1 { font-size: 21px; }
  .wrap { padding: 12px 10px 26px; }
}
