/* Detail summaries share one compact reading rhythm in both log types.
   Scope this to the overview bodies; editor previews and source notes keep
   their own typography. */
:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) {
  display:block;
  gap:0;
  line-height:1.7;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body).is-collapsed {
  max-height:7.6em;
  overflow:hidden;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body).is-collapsed:has(+button:not([hidden])) {
  mask-image:linear-gradient(#000 calc(100% - 10px),transparent);
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) :is(p,ul,ol,li,blockquote,.plaud-check-item) {
  line-height:1.7;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) :is(p,ul,ol,blockquote) {
  margin-block:0 6px;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) :is(h2,h3,h4,h5,h6) {
  margin-block:10px 4px;
  font-size:15px;
  font-weight:600;
  line-height:1.55;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) :is(ul,ol) {
  display:block;
  padding-inline-start:1.5em;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) li {
  margin-block:2px;
}

:root :is(#meetingSummaryContent.meeting-summary-body,#ilSummaryContent.il-summary-body) li>p {
  margin-block:0;
}

:root :is(.meeting-page .meeting-summary-toggle,.il-parity-workspace .il-summary-toggle) {
  margin-top:7px;
}
