* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh; padding: 32px 16px;
  display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(180deg, #f3f0e4 0%, #e7e0c8 100%);
  font-family: Georgia, 'Times New Roman', serif; color: #3a3320;
}

.card {
  width: 100%; max-width: 700px; background: #fffdf5;
  border: 1.5px solid #b8862c; border-radius: 14px;
  padding: 28px 32px 32px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

h1 { margin: 0 0 6px; color: #4a6b2a; font-size: 28px; }
.hint { margin: 0 0 20px; color: #8a7a4a; font-size: 14px; line-height: 1.5; }
.hint.tight { margin: 16px 0 0; }
.hint b { color: #6a5a2a; }

fieldset { border: 1.5px solid #d8cfa8; border-radius: 10px; padding: 12px 14px 14px; margin: 0 0 16px; }
legend { padding: 0 6px; color: #4a6b2a; font-weight: 700; font-size: 14px; }

.radio { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; font-size: 14px; cursor: pointer; line-height: 1.4; }
.radio input { margin-top: 3px; flex: none; }
.radio.standalone { margin: 0 0 16px; }

.row { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.fld { flex: 1 1 150px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #6a5a2a; }
.fld select {
  font-family: Georgia, serif; font-size: 15px; padding: 8px 10px;
  border: 1.5px solid #d8cfa8; border-radius: 8px; background: #fff; color: #3a3320;
}
.fld select:focus { outline: none; border-color: #5a8835; }
.fld[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip {
  font-family: Georgia, serif; font-size: 13px; padding: 6px 13px; cursor: pointer;
  border: 1.5px solid #d8cfa8; border-radius: 999px; background: #fff; color: #6a5a2a;
}
.chip:hover { border-color: #5a8835; background: #f4f8ea; color: #3a5520; }

.note {
  margin: 4px 0 0; padding: 10px 12px; font-size: 13px; line-height: 1.5;
  background: #f4f8ea; border: 1.5px solid #a8c880; border-radius: 8px; color: #3a5520;
}
.note.warn { background: #fbe3df; border-color: #c0552f; color: #8a2f12; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.actions button {
  font-family: Georgia, serif; font-size: 15px; padding: 11px 20px; cursor: pointer;
  border: 1.5px solid #d8cfa8; border-radius: 10px; background: #fffdf5; color: #4a6b2a; font-weight: 700;
}
.actions button.primary { background: #c8d8a4; border-color: #5a8835; color: #3a5520; }
.actions button.primary:hover { background: #d6e4b6; }

@media (max-width: 620px) {
  .card { padding: 20px 16px 24px; }
  h1 { font-size: 23px; }
}
