@media (max-width: 640px) {
  main, main section, main article { min-width: 0; }
  main { overflow-wrap: anywhere; }
  img, svg { max-width: 100%; }
  main pre { max-width: 100%; overflow-x: auto; }
  :is(div,section):has(> table[data-mobile-stack]) { overflow: visible; min-width: 0; }
  table[data-mobile-stack], table[data-mobile-stack] :is(tbody,tfoot) {
    display: block; min-width: 0 !important; width: 100% !important; max-width: 100%;
  }
  table[data-mobile-stack] :is(colgroup,col) { display: none; }
  table[data-mobile-stack] thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%);
  }
  table[data-mobile-stack] tr {
    display: block; width: 100%; min-width: 0; max-width: 100%;
    box-sizing: border-box; border-block-end: 1px solid #cbd5e1;
  }
  table[data-mobile-stack] :is(td,th) {
    display: block !important; width: auto !important; min-width: 0 !important;
    max-width: 100%; box-sizing: border-box; text-align: start; white-space: normal;
    overflow-wrap: anywhere; padding: .4rem .65rem;
  }
  table[data-mobile-stack] :is(td,th)[data-label]::before {
    content: attr(data-label); display: block; font: inherit; font-weight: 700;
    margin-block-end: .1rem; opacity: .8;
  }
}
