.wiangphrao-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;margin:1rem 0}
.wiangphrao-table-scroll:focus-visible{outline:3px solid #4d7c0f;outline-offset:3px}
.wiangphrao-table-scroll>table{min-width:600px}
@media(max-width:767px){
  html,body{max-width:100%}
  main,.prose,.summernote-content{min-width:0;overflow-wrap:anywhere}
  .prose img,.summernote-content img{max-width:100%;height:auto}
  .prose iframe,.summernote-content iframe{max-width:100%}
  input,select,textarea{font-size:16px}
  .table-responsive,[class*="overflow-x-auto"]{-webkit-overflow-scrolling:touch;max-width:100%}
}

@media(min-width:1341px){.cm-header .cm-nav__link{padding-inline:8px;font-size:16px}.cm-header__row{gap:18px}}


/* Preserve readable procurement columns inside a touch-scroll region. */
#egp .cm-content-shell { min-width: 0; }
#egp .cm-egp-tablewrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#egp .cm-egp-table { width: 100%; min-width: 960px; table-layout: fixed; }
#egp .cm-egp-table th, #egp .cm-egp-table td { vertical-align: top; word-break: normal; overflow-wrap: break-word; }
#egp .cm-egp-table th:nth-child(1) { width: 180px; }
#egp .cm-egp-table th:nth-child(2) { width: 360px; }
#egp .cm-egp-table th:nth-child(3) { width: 210px; }
#egp .cm-egp-table th:nth-child(4) { width: 130px; white-space: nowrap; }
#egp .cm-egp-table th:nth-child(5) { width: 80px; }
#egp .cm-egp-table td:nth-child(4) { white-space: nowrap; }
#egp .cm-egp-more { position: sticky; left: 0; width: 100%; box-sizing: border-box; }
@media(max-width:767px) {
 #egp .cm-egp-table th, #egp .cm-egp-table td { padding: 14px 16px; }
 #egp .cm-egp-tools { min-width: 0; max-width: 100%; }
 #egp .cm-egp-tools input { min-width: 0; }
}
