.cramtable { width: 100%; overflow-x: auto; font-style: normal; text-align: left; }
.cramtable-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; margin: .5rem 0; }
.cramtable-bar select, .cramtable-bar input { width: auto; display: inline-block; margin: 0 .35rem; padding: .2rem .4rem; }
.cramtable-table { width: 100%; border-collapse: collapse; }
.cramtable-table th, .cramtable-table td { padding: .35rem .6rem; border-bottom: 1px solid #ccc; text-align: left; vertical-align: top; }
.cramtable-table th { border-bottom: 2px solid #555; }
.cramtable-table tbody tr:nth-child(even) { background: rgba(0, 0, 0, .04); }
.cramtable-sort { all: unset; cursor: pointer; font-weight: 700; }
.cramtable-sort:focus-visible { outline: 2px solid; outline-offset: 2px; }
.cramtable-sort::after { content: " \2195"; opacity: .35; }
th[aria-sort="ascending"] .cramtable-sort::after { content: " \2191"; opacity: 1; }
th[aria-sort="descending"] .cramtable-sort::after { content: " \2193"; opacity: 1; }
.cramtable-pages button { margin-left: .5rem; padding: .2rem .7rem; cursor: pointer; }
.cramtable-pages button:disabled { cursor: default; opacity: .45; }
.cramtable-filtered { display: none; }

/* Other pages are hidden on screen only, so printing includes every matching row. */
@media screen {
  .cramtable-offpage { display: none; }
}

@media print {
  .cramtable { overflow: visible; }
  .cramtable-bar { display: none; }
  .cramtable-table thead { display: table-header-group; }
  .cramtable-table tr { break-inside: avoid; }
  .cramtable-sort::after { content: none !important; }
}
