/* CODE.NTT v1886 — shared STT column for Quiz / HTML / SQL data tables. */
table .ntt-stt-col{
  width:4.75em;
  min-width:4.75em;
  max-width:6.5em;
  text-align:center!important;
  white-space:nowrap;
  vertical-align:middle!important;
  font-variant-numeric:tabular-nums;
}
@media (max-width:767px){
  table .ntt-stt-col{width:4.25em;min-width:4.25em;max-width:5.5em}
}


/* v2683: bounded ordinal / readable final timestamp in management reports.
   Keep this scoped: legacy/HTML/SQL curriculum tables have explicit width contracts. */
.ntt-quiz-report-table > thead > tr > th:first-child,
.ntt-quiz-report-table > tbody > tr > td:first-child:not([colspan]),
.ntt-sql-report-table > thead > tr > th:first-child,
.ntt-sql-report-table > tbody > tr > td:first-child:not([colspan]) {
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
  padding-left:5px!important;
  padding-right:5px!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
/* Rank/progress SQL already provide a complete percentage geometry on desktop.
   These rules protect the trailing "Hoạt động/Cập nhật cuối" when auto layout is used. */
.ntt-quiz-report-table > thead > tr > th:last-child,
.ntt-quiz-report-table > tbody > tr > td:last-child:not([colspan]) {
  width:172px!important;
  min-width:172px!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
}
@media (max-width:767px) {
  .ntt-quiz-report-table > thead > tr > th:first-child,
  .ntt-quiz-report-table > tbody > tr > td:first-child:not([colspan]),
  .ntt-sql-report-table > thead > tr > th:first-child,
  .ntt-sql-report-table > tbody > tr > td:first-child:not([colspan]) {
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
  }
  .ntt-quiz-report-table > thead > tr > th:last-child,
  .ntt-quiz-report-table > tbody > tr > td:last-child:not([colspan]) {
    width:156px!important;
    min-width:156px!important;
  }
}
