.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: .8rem;
}

.feedback-actions button, .feedback-dialog button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: .4rem;
  padding: .25rem .65rem;
  cursor: pointer;
}

.feedback-actions button[aria-pressed="true"] {
  background: #145947;
  color: white;
}

.feedback-actions button:disabled, .feedback-dialog button:disabled {
  opacity: .6;
  cursor: default;
}

.feedback-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: 85vh;
  padding: 1.25rem;
  border: 1px solid #b8cbc3;
  border-radius: .75rem;
  background: #fff;
  color: #162c25;
}

.feedback-dialog::backdrop { background: #0d241dcc; }
.feedback-close { float: right; margin-left: .5rem; }
.feedback-dialog textarea { width: 100%; font: inherit; }
.feedback-dialog [data-comments] { max-height: 15rem; overflow: auto; }
.feedback-dialog [data-comments] p { white-space: pre-wrap; overflow-wrap: anywhere; }
