.note-main .note-comment-box[data-note-comments] {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-block-start: 1px solid var(--line, #d9e3e9);
  border-radius: 0;
  background: transparent;
  min-inline-size: 0;
}
.note-comment-box[data-note-comments] h2 {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: #eef8f6;
  color: #0d3e3a;
  font-size: 19px;
  line-height: 1.5;
}
.note-comment-form { display: grid; gap: 10px; min-inline-size: 0; }
.note-comment-field-label { font-weight: 650; font-size: 14px; }
.note-comment-form textarea, .note-comment-form input[type=password] {
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
  border: 1px solid #a7b9be;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text, #172932);
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.note-comment-form textarea { resize: vertical; min-block-size: 84px; }
.note-comment-form textarea:focus-visible, .note-comment-box button:focus-visible, .note-comment-form input:focus-visible {
  outline: 2px solid #2367b8;
  outline-offset: 2px;
}
.note-comment-notice, .note-comment-status, .note-comment-empty {
  color: #526571;
  font-size: 13px;
}
.note-main .note-comment-box :is(.note-comment-notice,.note-comment-status,.note-comment-empty) { margin: 0; }
.note-comment-box .note-comment-status:empty { display: none; }
.note-comment-notice a { color: #006a64; text-underline-offset: 2px; }
.note-comment-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.note-comment-submit-row output { color: #526571; font-size: 12px; font-variant-numeric: tabular-nums; }
.note-comment-submit-row button {
  border: 1px solid #0a5f58;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  min-block-size: 44px;
  padding: 7px 15px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.note-comment-submit-row button:disabled { opacity: .6; cursor: wait; }
.note-comment-box[data-note-comments] .note-comment-list { gap: 0; margin: 0; }
.note-comment-box[data-note-comments] .note-comment {
  background: transparent;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  border-block-start: 1px solid var(--line, #d9e3e9);
  min-inline-size: 0;
}
.note-comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.note-comment-author { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.note-comment-meta time, .note-comment-badge { color: #526571; font-size: 12px; }
.note-comment-edition {
  max-inline-size: 100%;
  padding: 3px 6px;
  border-radius: 4px;
  background: #e9f3f1;
  color: #15574f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.note-comment-box[data-note-comments] .note-comment-body { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; text-align: start; line-height: 1.65; }
.note-comment-box[data-note-comments] .note-comment-actions { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; margin: 0; }
.note-comment-action {
  min-block-size: 36px;
  max-inline-size: 100%;
  border: 0;
  background: transparent;
  padding: 4px 2px;
  color: #006a64;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.note-comment-delete { color: #526571; }
.note-comment-children { margin: 3px 0 0; border-inline-start: 2px solid #dce9e6; padding-inline-start: 12px; }
.note-comment-children.flat { padding-inline-start: 0; border: 0; }
.note-comment-box[data-note-comments] .note-comment-children .note-comment:last-child { padding-block-end: 0; }
.note-comment-box [data-note-replying] { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; font-size: 13px; }
.note-comment-box [hidden] { display: none !important; }
.note-comment-box [data-note-more] { justify-self: start; }
@media (max-width: 560px) {
  .note-comment-action { min-block-size: 44px; }
}
