/* feedback — the 'contact' screen. Solid content on the theme tokens; no glass here. Works at 320 px. */

.feedback .fb-form { display: grid; gap: 8px; }
.feedback .fb-intro { margin: 0; font-size: 15px; line-height: 1.4; color: var(--subtitle); }

.feedback .fb-input {
  display: block; width: 100%; box-sizing: border-box; min-height: 132px; resize: vertical;
  margin: 0; padding: 10px 12px; border: 1px solid var(--sep); border-radius: 12px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; line-height: 1.4;
  overflow-wrap: anywhere;
}
.feedback .fb-input::placeholder { color: var(--hint); }
.feedback .fb-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.feedback .fb-under { display: flex; justify-content: flex-end; }
.feedback .fb-count { font-size: 13px; color: var(--hint); font-variant-numeric: tabular-nums; }
.feedback .fb-count.is-full { color: var(--text); font-weight: 600; }

.feedback .fb-status { margin: 0; min-height: 0; font-size: 15px; line-height: 1.4; }
.feedback .fb-status:empty { display: none; }
.feedback .fb-status.is-success { color: var(--text); padding: 10px 12px; border-radius: 12px;
                                  background: rgb(var(--accent-rgb) / 0.10); }
.feedback .fb-status.is-error { color: var(--destructive); }

.feedback .fb-list { display: grid; gap: 10px; margin-top: 24px; }
.feedback .fb-list:empty { display: none; }
.feedback .fb-item { display: grid; gap: 6px; }
.feedback .fb-item-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px;
                          font-size: 13px; color: var(--hint); }
.feedback .fb-state { font-weight: 600; }
.feedback .fb-state-answered, .feedback .fb-state-undelivered { color: var(--accent); }
.feedback .fb-item-text { margin: 0; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback .fb-answer { padding: 8px 10px; border-left: 3px solid var(--accent); border-radius: 10px;
                       background: rgb(var(--accent-rgb) / 0.08); }
.feedback .fb-answer-head { font-size: 13px; font-weight: 600; color: var(--subtitle); margin-bottom: 2px; }
.feedback .fb-answer-text { margin: 0; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (prefers-contrast: more) {
  .feedback .fb-input { border-color: var(--text); }
  .feedback .fb-status.is-success, .feedback .fb-answer { background: none; border: 1px solid var(--text); }
  .feedback .fb-answer { border-left-width: 3px; }
}
