/* Focused readability pass for the feedback history and composer. */
.drawer .feedback-round {
  margin-bottom: 18px;
  padding: 16px;
  border-color: #e2ddd4;
  border-radius: 14px;
  background: #fbfaf7;
}

.drawer .feedback-round > header {
  gap: 14px;
  margin-bottom: 13px;
}

.drawer .feedback-round > header small {
  color: #ad6049;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.drawer .feedback-round > header h3 {
  margin-top: 5px;
  color: #29302b;
  font-size: 18px;
  line-height: 1.3;
}

.drawer .feedback-round > header > b {
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.drawer .feedback-card {
  margin-bottom: 11px;
  padding: 15px;
  border-color: #e5dfd6;
  border-radius: 11px;
  background: #fff;
}

.drawer .feedback-card header {
  align-items: baseline;
  gap: 12px;
}

.drawer .feedback-card header b {
  color: #34403a;
  font-size: 13px;
}

.drawer .feedback-card header small {
  color: #818b83;
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.drawer .feedback-card p {
  margin: 11px 0;
  color: #4e5a52;
  font-size: 14px;
  line-height: 1.6;
}

.drawer .feedback-card button {
  font-size: 12px;
  line-height: 1.4;
}

.drawer .feedback-form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e8e1d8;
  border-radius: 14px;
  background: #f7f4ee;
}

.drawer .feedback-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.drawer .feedback-form-header h3 {
  margin: 0;
  color: #29302b;
  font-size: 20px;
  line-height: 1.25;
}

.drawer .feedback-form-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e5f1ea;
  color: #34775b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.drawer .feedback-form-note {
  margin: 7px 0 0;
  color: #747e76;
  font-size: 12px;
  line-height: 1.5;
}

.drawer .feedback-form-note b {
  color: #354038;
  font-weight: 750;
}

.drawer .feedback-form > #feedback-items {
  gap: 12px;
  margin: 0 0 14px;
}

.drawer .feedback-item {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 12px;
  padding: 14px;
  border-color: #ded8cf;
  border-radius: 12px;
  background: #fff;
}

.drawer .feedback-number {
  width: 34px;
  height: 34px;
  margin-top: 24px;
  background: #f0e4dc;
  color: #a4543d;
  font-size: 13px;
  line-height: 34px;
}

.drawer .feedback-input-control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #606c63;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.drawer .feedback-input-control textarea {
  width: 100%;
  min-height: 168px;
  height: 168px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid #cfc8be;
  border-radius: 10px;
  background: #fff;
  color: #29332d;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  resize: vertical;
}

.drawer .feedback-input-control textarea::placeholder {
  color: #9aa19b;
  font-weight: 400;
}

.drawer .feedback-input-control textarea:focus {
  border-color: #d2694c;
  outline: 3px solid #d2694c24;
}

.drawer .feedback-item > button {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  margin-top: 28px;
  padding: 0;
  border: 1px solid #eadbd2;
  border-radius: 50%;
  background: #fbf5f1;
  color: #a6533d;
  font-size: 15px;
  line-height: 1;
  opacity: 0.82;
}

.drawer .feedback-item > button:hover {
  background: #f8e9e2;
  opacity: 1;
}

.drawer .feedback-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.drawer .feedback-form-actions .secondary,
.drawer .feedback-form-actions .primary {
  min-height: 42px;
  height: auto;
  padding: 10px 15px;
  font-size: 13px;
  line-height: 1.35;
}

.drawer .feedback-form .form-message {
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 720px) {
  .drawer .feedback-item {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 9px;
    padding: 11px;
  }

  .drawer .feedback-input-control textarea {
    min-height: 150px;
    height: 150px;
    font-size: 14px;
  }

  .drawer .feedback-card header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .drawer .feedback-card header small {
    text-align: left;
  }
}
