/* Public comments are deliberately separate from the private study journal. */
.reader-comments { padding-top: 24px; padding-bottom: 44px; }
.reader-comments-card, .comment-admin-card { border: 1px solid var(--line, #dedfd3); border-radius: 20px; background: var(--paper, #fffefa); padding: 32px; }
.reader-comments .eyebrow, .comment-admin .eyebrow { margin-bottom: 9px; }
.reader-comments h2, .comment-admin h1 { font: normal 32px/1.2 Georgia, serif; color: var(--green-dark, #354d39); letter-spacing: -.7px; margin: 0 0 16px; }
.reader-comments-intro { color: #616c5b; font-size: 14px; margin: 0; max-width: 720px; }
.comment-privacy { border-left: 3px solid #c9aaa0; border-radius: 0 9px 9px 0; padding: 14px 17px; background: var(--blush, #f3e5df); font-size: 12px; line-height: 1.75; margin: 20px 0; max-width: 780px; color: #654e45; }
.comment-status { color: #58664f; font-size: 13px; line-height: 1.65; min-height: 22px; margin: 18px 0 12px; overflow-wrap: anywhere; }
.comment-status.comment-error { color: #8c413b; }
.reader-comment-list { list-style: none; margin: 0; padding: 0; }
.reader-comment { border-top: 1px solid #e1e5d7; padding: 22px 0; }
.reader-comment-heading { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; }
.reader-comment h3 { font: normal 20px/1.4 Georgia, serif; letter-spacing: 0; margin: 0; color: #40563d; overflow-wrap: anywhere; }
.reader-comment time { font-size: 11px; color: #69715f; }
.reader-comment-body { font-size: 14px; line-height: 1.85; margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.reader-comment-form { border-top: 1px solid #dce2d2; margin-top: 25px; padding-top: 25px; }
.reader-comment-form h3 { font: normal 25px Georgia, serif; letter-spacing: -.3px; margin: 0 0 10px; }
.reader-comment-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.reader-comment-form label:not(.comment-consent) { display: block; font-size: 13px; margin: 18px 0 7px; color: #40563d; }
.reader-comment-form label span { color: #67715f; font-size: 12px; }
.reader-comment-form input[type="text"], .comment-admin select { background: #fcfbf6; border: 1px solid #bdc9b2; border-radius: 5px; color: #293c31; padding: 11px 13px; font: inherit; min-height: 44px; max-width: 100%; }
.reader-comment-form input[type="text"] { width: min(100%, 390px); }
.reader-comment-form textarea { min-height: 150px; background: #fcfbf6; }
.comment-counter, .comment-form-help { font-size: 11px; color: #67715f; margin: 6px 0 13px; }
.comment-consent { display: flex; gap: 11px; align-items: flex-start; max-width: 680px; color: #40563d; font-size: 13px; margin: 18px 0; cursor: pointer; }
.comment-consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0 0; accent-color: #556852; }
.comment-consent span { font-size: 13px !important; color: #40563d !important; }
.comment-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.reader-comments button, .comment-admin button { min-height: 44px; }
.reader-comments button:disabled, .comment-admin button:disabled { opacity: .6; cursor: wait; }
.reader-comment-form input:focus-visible, .comment-admin select:focus-visible { outline: 3px solid #b68173; outline-offset: 4px; }
.comment-manage-link { margin: 24px 0 0; font-size: 11px; color: #69715f; }
.comment-manage-link a { text-underline-offset: 3px; }
.comment-admin { max-width: 960px; padding-top: 42px; padding-bottom: 60px; }
.comment-admin-card { margin-bottom: 24px; }
.comment-admin h2 { font-size: 26px; margin-bottom: 16px; }
.comment-admin-intro, .comment-admin p { font-size: 14px; }
.comment-admin .comment-status { font-size: 13px; }
.comment-identity { border: 1px solid #dce2d2; border-radius: 10px; padding: 16px 20px; background: #f1f3e9; }
.comment-identity dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #596b50; margin-top: 12px; }
.comment-identity dt:first-child { margin-top: 0; }
.comment-identity dd { font-size: 14px; margin: 3px 0 0; overflow-wrap: anywhere; user-select: text; }
.comment-admin-filters { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; border-bottom: 1px solid #dce2d2; padding-bottom: 18px; }
.comment-admin-filters label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; min-width: 140px; max-width: 100%; }
.comment-admin-filters select { font-size: 13px; }
.comment-admin-study { font-size: 11px !important; color: #67715f; margin-bottom: 10px; overflow-wrap: anywhere; }
.comment-admin .reader-comment .button { margin-top: 16px; min-width: 130px; }
.comment-admin-footnote { color: #67715f; font-size: 12px !important; }
.reader-comments [hidden], .comment-admin [hidden] { display: none !important; }
@media (max-width: 640px) {
  .reader-comments-card, .comment-admin-card { padding: 23px 18px; border-radius: 15px; }
  .reader-comments h2, .comment-admin h1 { font-size: 28px; }
  .reader-comment-heading { display: block; }
  .reader-comment time { display: block; margin-top: 4px; }
  .comment-privacy { padding: 12px 13px; }
  .comment-admin-filters { align-items: stretch; flex-direction: column; }
  .comment-admin-filters select { width: 100%; }
  .comment-admin .site-header { gap: 18px; }
}
@media print { .reader-comments, .comment-admin { display: none !important; } }
