/* Keep long generated titles, links and prose inside their column. */
main, main :where(section,div,article,aside,figure,li,details,summary) {min-inline-size:0}
main :is(h1,h2,h3,h4,p,li,dd,dt,td,th,summary,figcaption,a,code) {
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}
main :is(h1,h2,h3,h4,p,dd,dt,summary,figcaption) {white-space:normal !important}
main pre {max-inline-size:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.mb4-table-scroll {max-inline-size:100%;min-inline-size:0;overflow-x:auto}
main img[data-mb4-image] {max-width:100% !important;object-fit:contain !important}
html body main figure.sw-body-photo > img[data-mb4-image] {
  display:block !important;width:auto !important;height:auto !important;
  max-width:100% !important;max-height:none !important;aspect-ratio:auto !important;
  padding:0 !important;margin:0 auto !important;background:transparent !important;
  object-fit:contain !important;border-radius:12px !important;
}
main img[data-mb4-avatar] {max-width:100%;object-fit:contain !important}
@media (max-width: 768px) {
  html body main [style*="grid-template-columns:"] {grid-template-columns:minmax(0,1fr) !important}
  main :is(h1,h2,h3,p,figcaption) {max-inline-size:100%}
  main :is(a,button)[style*="white-space"] {white-space:normal !important}
  main .mb4-table-scroll :is(td,th) {white-space:normal !important}
}
