/* OP snapshot stored on each reply — expand to see title + body at reply time */

.reply-op-snapshot {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border, #cbd5e1);
}

.reply-op-snapshot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 2px 0;
  border: none;
  background: transparent;
  color: var(--text-muted, #64748b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reply-op-snapshot-toggle:hover {
  color: var(--accent, #0078d4);
}

.reply-op-snapshot-panel {
  max-height: 14rem;
  overflow: auto;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
  background: rgba(0, 0, 0, 0.03);
  font-size: 12px;
  line-height: 1.45;
}

html[data-theme="dark"] .reply-op-snapshot-panel,
html[data-theme="soft"] .reply-op-snapshot-panel {
  background: rgba(255, 255, 255, 0.05);
}

.reply-op-snapshot-op-title {
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text, #0f172a);
  word-break: break-word;
}

.reply-op-snapshot-op-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text, #0f172a);
  opacity: 0.92;
}

.pf-comment .reply-op-snapshot {
  margin-top: 10px;
  width: 100%;
  flex-basis: 100%;
}

.thread-comment-row .reply-op-snapshot {
  width: 100%;
}
