/* The real header stays in normal flow; the fixed copy follows the same columns. */
.table-wrap thead, thead { position: static; }
.table-wrap { min-width: 0; }
#tab-students > .panel, #tab-enrolled > .panel { min-width: 0; max-width: 100%; }
#tab-students .table-wrap, #tab-enrolled .table-wrap { scrollbar-width: auto; }
#tab-students .table-wrap::-webkit-scrollbar,
#tab-enrolled .table-wrap::-webkit-scrollbar { height: 16px; }
.table-fixed-head { position: fixed; overflow: hidden; z-index: 8; background: #fbfcfe; border-bottom: 1px solid #e4e7eb; }
.table-fixed-head[hidden], .table-bottom-scroll[hidden] { display: none; }
.table-fixed-head table { margin: 0; min-width: 0; table-layout: fixed; }
.table-fixed-head th { background: #fbfcfe; overflow: hidden; box-sizing: border-box; }
.table-bottom-scroll { position: fixed; bottom: auto; right: auto; height: 18px; z-index: 9; overflow-x: scroll; overflow-y: hidden; border: 1px solid #e4e7eb; background: #f8fafc; }
.table-bottom-scroll > div { height: 1px; }
.table-bottom-scroll::-webkit-scrollbar { height: 16px; }
.table-bottom-scroll::-webkit-scrollbar-track { background: #f1f3f7; }
.table-bottom-scroll::-webkit-scrollbar-thumb { background: #b2bac8; border: 3px solid #f1f3f7; border-radius: 10px; }
.table-wrap .student-contract-table th[data-col-key="summerOtherNote"] { min-width: 220px; }
.student-contract-table td:nth-child(9) { min-width: 220px; max-width: 300px; white-space: normal; overflow-wrap: anywhere; }
