/* Physical page seams are presentation only. Source inline formatting remains
   intact and reappears when fragments are merged. */
.page-content :is(p,h1,h2,h3,h4,h5,h6)[data-ud-table-node-cont="1"] {
  margin-top: 0 !important;
  text-indent: 0 !important;
}
.page-content :is(p,h1,h2,h3,h4,h5,h6)[data-ud-table-node-split="1"] {
  margin-bottom: 0 !important;
}
.page-content [data-ud-table-empty="1"] {
  display: none !important;
}
/* HTML row height is a minimum. Word exact rows need a bounded content stack
   so adding lines does not move every subsequent row. Content stays in the DOM. */
.page-content tr[data-word-row-height-rule="exact"] > :is(td,th) > .word-cell-paragraphs {
  height: var(--ud-word-exact-cell-height, auto);
  max-height: var(--ud-word-exact-cell-height, none);
  overflow: hidden;
  justify-content: var(--ud-word-exact-cell-align, flex-start);
}
.page-content tr[data-word-row-height-rule="exact"] > :is(td,th) > .word-cell-paragraphs > * {
  flex-shrink: 0;
}
