/* FILE VERSION: AEMAZON-CommentReplyFold-v1.0.1 (2026-09-17)
 * Keep collapsed rows hidden despite the mobile sheet's forced display:block.
 */
[data-aem-reply-scope] [data-aem-reply-hidden],
body.post-list-v3 #postList .cmt-panel .cmt-list[data-aem-reply-scope] > .cmt[data-aem-reply-hidden],
body.post-list-v3.post-list-comment-sheet-mode > .cmt-panel.open.post-list-comment-sheet-portal .cmt-list[data-aem-reply-scope] > .cmt[data-aem-reply-hidden] {
  display: none !important;
}
[data-aem-reply-scope] .aem-reply-fold-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  width: fit-content;
  max-width: 100%;
  margin: 4px 0 0;
  padding: 4px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted, #737373) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
[data-aem-reply-scope] .aem-reply-fold-toggle::before {
  content: '';
  width: 24px;
  flex: 0 0 24px;
  border-top: 1px solid currentColor;
  opacity: .55;
}
[data-aem-reply-scope] .aem-reply-fold-toggle:hover {
  color: var(--text, #262626) !important;
}
[data-aem-reply-scope] .aem-reply-fold-toggle:focus-visible {
  outline: 2px solid #ff6232;
  outline-offset: 3px;
}
/* Align the toggle with the reply text after the sheet moves under <body>. */
body.post-list-v3.post-list-comment-sheet-mode > .cmt-panel.open.post-list-comment-sheet-portal .cmt.child > .aem-reply-fold-toggle {
  margin-left: 43px;
}
