.header-inner .feedback-header-link {
  display: inline-flex;
  margin-left: auto;
}

.feedback-card .feedback-project {
  background: #faf6f1;
  border: 1px solid #eee1d5;
  border-radius: 8px;
  color: #634b3b;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 12px 16px;
}

.feedback-question {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 24px 0;
}

.feedback-question legend {
  font-weight: 750;
  margin-bottom: 9px;
  padding: 0;
}

.feedback-required, .feedback-optional {
  background: #f5f0ea;
  border-radius: 4px;
  color: #6b594c;
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  margin-left: 4px;
  padding: 0 6px;
  white-space: nowrap;
}

.feedback-required {
  background: #fff0e5;
  color: #943d19;
}

.feedback-choices {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-choices label {
  align-items: center;
  border: 1px solid #e3d8ce;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  font-size: .91rem;
  gap: 8px;
  line-height: 1.5;
  min-height: 46px;
  padding: 9px 12px;
}

.feedback-choices input {
  accent-color: var(--orange-deep);
  flex: none;
  height: 17px;
  margin: 0;
  width: 17px;
}

.feedback-choices label:has(input:checked) {
  background: #fff5eb;
  border-color: #d79a77;
}

.feedback-comments {
  margin-bottom: 4px;
}

.feedback-card .feedback-reward {
  background: #fff8f1;
  border: 1px solid #efdbc8;
  border-radius: 10px;
  margin-top: 22px;
  padding: 22px;
}

.feedback-reward h2 {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
}

.feedback-reward label {
  display: block;
  font-weight: 750;
}

.feedback-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-code-row input {
  background: #fff;
  border: 1px solid #dcd0c5;
  border-radius: 7px;
  flex: 1 1 250px;
  font: .91rem ui-monospace, SFMono-Regular, Consolas, monospace;
  min-height: 46px;
  min-width: 0;
  padding: 10px;
  width: 100%;
}

.feedback-code-row .button {
  min-height: 46px;
  padding-block: 8px;
}

#coupon-panel h2 {
  font-size: 1.35rem;
}

.coupon-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.coupon-item {
  border: 1px solid #e8ddd4;
  border-radius: 10px;
  padding: 18px 20px;
  overflow-wrap: anywhere;
}

.coupon-item-title, .coupon-case-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}

.coupon-item-title code {
  color: #402820;
  font-size: .98rem;
  font-weight: 700;
}

.coupon-state {
  background: #f6efe7;
  border-radius: 99px;
  color: #5d4b40;
  font-size: .82rem;
  font-weight: 700;
  padding: 2px 10px;
}

.coupon-state--available {
  background: #edf6ee;
  color: #2b5d37;
}

.coupon-state--reserved {
  background: #fff1dc;
  color: #6d4914;
}

.coupon-item-data {
  display: grid;
  gap: 4px 14px;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 12px 0;
}

.coupon-item-data dt {
  color: #715f54;
}

.coupon-item-data dd {
  margin: 0;
}

.coupon-answers {
  border-top: 1px solid #eee6df;
  margin-top: 10px;
  padding-top: 10px;
}

.coupon-answers summary {
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  min-height: 34px;
}

.coupon-answers p {
  margin: 7px 0 10px;
}

.coupon-comment {
  white-space: pre-wrap;
}

@media (max-width: 560px) {
  .feedback-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-card .feedback-reward {
    padding: 15px;
  }

  .coupon-item {
    padding: 14px;
  }
}
