.wx-comments[data-whoops-comments] {
  margin-block: 2rem;
  min-width: 0;
}

.wx-comments[data-whoops-comments] [hidden] {
  display: none !important;
}

.wx-comments[data-whoops-comments] input,
.wx-comments[data-whoops-comments] textarea {
  width: 100%;
  max-width: 40rem;
  padding: .6rem .75rem;
  border: 1px solid currentColor;
  border-radius: .4rem;
  font: inherit;
}

.wx-comments[data-whoops-comments] button {
  padding: .35rem .65rem;
  border: 1px solid currentColor;
  border-radius: .4rem;
  cursor: pointer;
}

.wx-comments[data-whoops-comments] button:disabled {
  opacity: .6;
  cursor: default;
}

.wx-comments[data-whoops-comments] ol ol {
  padding-inline-start: clamp(.25rem, 2vw, 1.5rem);
  border-inline-start: 1px solid currentColor;
}

.wx-comments[data-whoops-comments] .wx-comment-list li {
  margin-block: 1rem;
  list-style: none;
}

.wx-comments[data-whoops-comments] time {
  margin-inline-start: .75rem;
  font-size: .875em;
}

.wx-comments[data-whoops-comments] .whoops-comment-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
