/* Keep complete words visible. Dense tables scroll inside their own host. */
#pageQuran table {table-layout:auto!important}
#pageQuran table :is(th,td),
#pageQuran #pg-surastats #ssTable :is(th,td),
#pageQuran #pg-explore #srchBody>tr.qe-row>td {
  height:auto!important;
  max-height:none!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  line-height:1.8!important;
  font-size:.78rem!important;
  padding:.55rem .5rem!important;
}
#pageQuran table :is(th,td) :is(span,a,b,strong,small),
#pageQuran #pg-explore #srchBody>tr.qe-row>td::before {
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  max-height:none!important;
  -webkit-line-clamp:unset!important;
}
#pageQuran table .quran-original {white-space:pre-wrap!important;line-height:2.2!important}
#pageQuran #pg-surastats #ssWrap {
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
}
#pageQuran #pg-surastats #ssTable {
  table-layout:auto!important;
  width:100%!important;
  min-width:58rem!important;
  max-width:none!important;
}
#pageQuran #pg-surastats #ssTable :is(th,td) {width:auto!important;min-width:3.5rem}
#pageQuran #pg-surastats #ssTable :is(th,td):first-child {min-width:7rem}
.quran-edge-field {flex:0 1 auto}
.quran-edge-note {margin:0}
@media(min-width:821px){
  #pageQuran :is(.tw,.qoc-table-wrap,.mq2-table-wrap,.let-table-wrap,.qnum-table-wrap) {max-width:100%!important;overflow-x:auto!important}
  #pageQuran #pg-explore .tw {max-width:100%!important;overflow-x:auto!important}
  #pageQuran #pg-explore .tw>table {table-layout:auto!important;min-width:68rem!important;max-width:none!important}
  #pageQuran #pg-explore #srchBody>tr.qe-row>td.qe-verse {min-width:22rem!important;font-size:1rem!important;line-height:2.2!important}
  #pageQuran #pg-explore #srchBody>tr.qe-row>td.qe-surah {min-width:6.5rem!important}
  #pageQuran #pg-explore .tw>table>thead th {min-width:3.5rem!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important}
}
/* The fixed header is a clone outside #pageQuran: give it identical wrapping. */
#quranExploreStickyHead83 th,
#gmxGlobalTableSticky198 :is(th,td) {
  white-space:normal!important;
  text-overflow:clip!important;
  overflow:visible!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:.78rem!important;
  line-height:1.8!important;
  padding:.55rem .5rem!important;
}
@media(max-width:820px){
  #pageQuran #pg-explore #srchBody>tr.qe-row>td.qe-verse {font-size:1rem!important;line-height:2.2!important}
  .quran-edge-field {flex:1 1 45%}
}
