/* Dense comparison/history tables need real column widths, not letter wrapping. */
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) .history-table-wrap {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  touch-action:pan-x pan-y!important;
  scrollbar-width:auto;
}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table {
  table-layout:auto!important;
  width:max-content!important;
  min-width:100%!important;
  max-width:none!important;
  margin:0!important;
}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table :is(th,td) {
  box-sizing:border-box!important;
  min-width:7.5rem!important;
  width:8rem!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  padding:.6rem .7rem!important;
  line-height:1.7!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  font-size:.78rem!important;
}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table th {
  white-space:normal!important;
  vertical-align:middle!important;
}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table td:not(:first-child) {
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table :is(th,td):first-child {
  width:16rem!important;
  min-width:14rem!important;
  max-width:24rem!important;
  white-space:normal!important;
  position:sticky!important;
  inset-inline-start:0!important;
  inset-inline-end:auto!important;
  z-index:4!important;
  background:var(--bg-card,var(--bg2))!important;
  box-shadow:-3px 0 8px rgba(0,0,0,.18);
}
.gmx-wide-table-hint {font-size:.76rem;line-height:1.7;color:var(--text-sec,var(--txt2));margin:.5rem 0}
.history-table-wrap:focus-visible {outline:2px solid var(--gold);outline-offset:3px}
:is(#pageGematriaAR,#pageGematriaEN,#pageHebrewGematria,#pageGreekGematria,#pageSlavicGematria)
:is(#historySection,#arMatchSection,#geoHistorySection,#geoMatchSection,#hebHistorySection,#hebMatchSection,#grkHistorySection,#grkMatchSection,#slvHistorySection,#slvMatchSection) table.history-table td:first-child {
  font-size:1rem!important;
  line-height:2!important;
}
