.ayda-feedback {
  --feedback-line: #d5e2d6;
  --feedback-surface: #fffefb;
  margin-top: 22px;
  padding: clamp(16px, 3vw, 34px);
  scroll-margin-top: 18px;
}
.ayda-feedback-heading,
.ayda-feedback-title,
.ayda-feedback-name,
.ayda-comment-meta {
  display: flex;
  align-items: center;
}
.ayda-feedback-heading {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--feedback-line);
}
.ayda-feedback-title { gap: 13px; }
.ayda-feedback-mark,
.ayda-avatar {
  flex: none;
  display: grid;
  place-items: center;
}
.ayda-feedback-mark {
  width: 49px;
  height: 49px;
  color: #075c39;
  background: #deefdf;
  border: 1px solid #c6e2cd;
  border-radius: 15px;
}
.ayda-feedback-eyebrow {
  color: #40604e;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.ayda-feedback-name { flex-wrap: wrap; gap: 8px; }
.ayda-feedback-name h2 { margin: 0; font-size: clamp(21px, 2.7vw, 31px); }
.ayda-feedback-count {
  background: #e9f0e7;
  border-radius: 999px;
  padding: 2px 8px;
  color: #375b48;
  font-size: 12px;
  font-weight: 750;
}
.ayda-feedback-rating { display: grid; justify-items: start; gap: 4px; }
.ayda-votes {
  display: flex;
  border: 1px solid var(--feedback-line);
  border-radius: 12px;
  background: var(--feedback-surface);
}
.ayda-votes button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 71px;
  min-height: 43px;
  padding: 7px 12px;
  background: transparent;
  border: 0;
  border-radius: 11px 0 0 11px;
  color: #23533b;
  cursor: pointer;
  font: 750 15px/1.2 var(--copy);
  font-variant-numeric: tabular-nums;
}
.ayda-votes button + button {
  color: #6b443e;
  border-left: 1px solid var(--feedback-line);
  border-radius: 0 11px 11px 0;
}
.ayda-votes svg { width: 17px; height: 17px; }
.ayda-votes button[value="-1"] svg { transform: rotate(180deg); }
.ayda-votes button:hover,
.ayda-votes button[aria-pressed="true"] { background: #d9edda; color: #12462e; }
.ayda-votes button[value="-1"]:is(:hover, [aria-pressed="true"]) { background: #f5e5e0; color: #7b392f; }
.ayda-votes button:focus-visible { outline-offset: -4px; }
.ayda-votes button:disabled,
.ayda-comment-form button:disabled { opacity: .65; cursor: wait; }
.ayda-vote-note { margin: 0; color: #4f6255; font-size: 11px; }
#feedback-message:not(:empty) { margin-top: 10px; font-weight: 700; }
.ayda-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 21px;
  padding: 15px;
  border: 1px solid var(--feedback-line);
  border-radius: 15px;
  background: #edf3e9;
}
.ayda-avatar {
  width: 41px;
  height: 41px;
  border: 1px solid #cee0d4;
  border-radius: 50%;
  background: #e0ede4;
  color: #215641;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.ayda-avatar svg { width: 19px; height: 19px; }
.ayda-avatar-compose { background: var(--feedback-surface); }
.ayda-avatar-1 { background: #f1e8d8; color: #705029; border-color: #e6d8bf; }
.ayda-avatar-2 { background: #e0eaf0; color: #355675; border-color: #cbdbe8; }
.ayda-avatar-3 { background: #f2e4e9; color: #79485f; border-color: #e9d2de; }
.ayda-comment-form { display: grid; gap: 10px; min-width: 0; }
.ayda-compose-title { font-size: 16px; font-weight: 750; }
.ayda-comment-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.ayda-comment-form input,
.ayda-comment-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cddbcf;
  border-radius: 9px;
  background: var(--feedback-surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 9px 11px;
}
.ayda-comment-form input { max-width: 380px; }
.ayda-comment-form textarea { resize: vertical; }
.ayda-comment-form :is(input, textarea)::placeholder { color: #68766a; }
.ayda-comment-form button { justify-self: start; gap: 7px; border: 0; cursor: pointer; }
.ayda-comment-form button svg { width: 16px; height: 16px; }
.ayda-comments { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; }
.ayda-comment-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--feedback-line);
  border-radius: 13px;
  background: var(--feedback-surface);
}
.ayda-comment-body { min-width: 0; overflow-wrap: anywhere; }
.ayda-comment-meta { gap: 6px 9px; flex-wrap: wrap; }
.ayda-comment-meta strong { font-size: 14px; }
.ayda-comment-meta time { color: #4f6255; font-size: 12px; }
.ayda-comment-body p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.55; color: #324f3f; }
@media (max-width: 480px) {
  .ayda-feedback-heading { gap: 11px; }
  .ayda-feedback-mark { width: 42px; height: 42px; }
  .ayda-compose, .ayda-comment-card { gap: 9px; padding: 11px; }
  .ayda-avatar { width: 34px; height: 34px; }
  .ayda-avatar svg { width: 16px; height: 16px; }
}
