/* ---------- feedback / comments ---------- */
.feedback { max-width: 760px; margin-inline: auto; }
.feedback-form {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -24px #191f2830;
}
.feedback-form label { display: block; margin-bottom: 6px; color: var(--ink-2); font-weight: 650; font-size: .92rem; }
.feedback-form label span { color: var(--subtle); font-weight: 500; }
.feedback-form input[type="text"], .feedback-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: 14px;
  background: var(--fill);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .2s, background .2s;
}
.feedback-form textarea { min-height: 132px; resize: vertical; }
.feedback-form input[type="text"]:focus, .feedback-form textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.feedback-form ::placeholder { color: var(--subtle); }
.feedback-field + .feedback-field { margin-top: 14px; }
.feedback-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feedback-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.feedback-foot p { flex: 1; min-width: 0; color: var(--subtle); font-size: .88rem; line-height: 1.5; word-break: keep-all; }
.feedback-foot .button { flex: none; border: 0; font-family: inherit; cursor: pointer; }
.feedback-foot .button[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.feedback-count { color: var(--subtle); font-size: .85rem; font-variant-numeric: tabular-nums; }
.feedback-status { min-height: 1.5em; margin-top: 10px; font-size: .93rem; font-weight: 600; }
.feedback-status.is-error { color: #d92b2b; }
.feedback-status.is-ok { color: var(--accent-ink); }

.feedback-list-head { display: flex; align-items: baseline; gap: 8px; margin: 40px 4px 14px; }
.feedback-list-head h3 { font-size: 1.15rem; }
.feedback-list-head span { color: var(--subtle); font-size: .95rem; }
.feedback-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.feedback-list li { padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feedback-list li.is-new { background: var(--tint); box-shadow: inset 0 0 0 1px #c9e0ff; }
.feedback-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.feedback-meta strong { font-size: .95rem; overflow-wrap: anywhere; }
.feedback-meta time { flex: none; color: var(--subtle); font-size: .85rem; }
.feedback-list li p { color: var(--ink-2); font-size: 1rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-empty { padding: 28px 20px; border-radius: 18px; background: var(--surface); color: var(--muted); text-align: center; }
.feedback-more { display: block; margin: 16px auto 0; padding: 12px 22px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ink-2); font: inherit; font-weight: 650; cursor: pointer; }
.feedback-more:hover { background: var(--tint); color: var(--accent-ink); }
@media (max-width: 560px) {
  .feedback-form { padding: 16px; }
  .feedback-foot { flex-wrap: wrap; }
  .feedback-foot p { flex-basis: 100%; }
  .feedback-foot .button { width: 100%; justify-content: center; }
}
