/* 锦思泉 V3.2.1：已完成课次列表，局部样式；不影响其他表格 */
tr.lesson-record-row > td {
  vertical-align: middle;
}
tr.lesson-record-row > td.actions {
  display: table-cell;
  vertical-align: middle;
  white-space: nowrap;
}
tr.lesson-record-row > td.actions a {
  display: inline-block;
  margin: 0 9px 0 0;
}
tr.lesson-record-row .lesson-record-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-align: left;
}
tr.lesson-record-row .lesson-record-preview {
  order: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
}
tr.lesson-record-row .lesson-record-toggle {
  order: 2;
  min-width: 0;
  max-width: 100%;
}
tr.lesson-record-row .lesson-record-toggle[hidden] {
  display: none;
}
tr.lesson-record-row .lesson-record-toggle > summary {
  list-style: none;
  width: fit-content;
  color: #007e99;
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.6;
  padding: 3px 0;
  margin-top: 4px;
  cursor: pointer;
}
tr.lesson-record-row .lesson-record-toggle > summary::-webkit-details-marker {
  display: none;
}
tr.lesson-record-row .lesson-record-toggle > summary::marker {
  content: '';
}
tr.lesson-record-row .lesson-record-toggle > summary:hover {
  color: #005c80;
  text-decoration: underline;
}
tr.lesson-record-row .lesson-record-collapse,
tr.lesson-record-row .lesson-record-toggle[open] .lesson-record-expand {
  display: none;
}
tr.lesson-record-row .lesson-record-toggle[open] .lesson-record-collapse {
  display: inline;
}
tr.lesson-record-row .lesson-record-toggle[open] + .lesson-record-preview {
  display: none;
}
tr.lesson-record-row .lesson-record-full {
  margin-top: 6px;
  color: #16344e;
}
tr.lesson-record-row .lesson-record-full p {
  margin: 0 0 8px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
tr.lesson-record-row .lesson-record-full strong {
  color: #607c93;
  font-size: .8rem;
}
tr.lesson-record-row .lesson-record-full .lesson-record-text {
  white-space: normal;
}
@media (max-width: 760px) {
  tr.lesson-record-row > td.actions {
    white-space: normal;
  }
}
tr.lesson-record-row .lesson-record-field {margin-bottom:10px;}
tr.lesson-record-row .lesson-record-field:last-child {margin-bottom:0;}
tr.lesson-record-row .lesson-record-text {font-size:.88rem;}

/* 单条已完成课次的日期与时间段：防止结束时刻孤立成行 */
tr.lesson-record-row .lesson-record-datetime {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.55;
}
tr.lesson-record-row .lesson-record-day,
tr.lesson-record-row .lesson-record-time {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
tr.lesson-record-row .lesson-record-time {
  color: #163c5b;
  font-weight: 600;
}
tr.lesson-record-row .lesson-record-nextday {
  display: block;
  font-size: .78rem;
  color: #637e90;
  line-height: 1.5;
  overflow-wrap: anywhere;
}


/* 仅约束已完成课次与反馈的六列表格，防止长课堂记录挤压老师/课时列。 */
.lesson-record-table { min-width: 0; }
.lesson-record-table > .table-wrap { max-width: 100%; overflow-x: auto; }
.lesson-record-table > .table-wrap > table {
  width: 100%;
  min-width: 1010px;
  table-layout: fixed;
}
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(1) { width: 14%; }
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(2) { width: 15%; }
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(3) { width: 18%; }
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(4) { width: 34%; }
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(5) { width: 8%; }
.lesson-record-table > .table-wrap > table > thead > tr > th:nth-child(6) { width: 11%; }
.lesson-record-table > .table-wrap > table > tbody > tr.lesson-record-row > td {
  min-width: 0;
  overflow-wrap: anywhere;
}
.lesson-record-table > .table-wrap > table > tbody > tr.lesson-record-row > td:nth-child(4) {
  white-space: normal;
  word-break: normal;
}
.lesson-record-table .lesson-record-body,
.lesson-record-table .lesson-record-preview,
.lesson-record-table .lesson-record-full {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.lesson-record-table tr.lesson-record-row > td.actions { white-space: normal; }
.lesson-record-table tr.lesson-record-row > td.actions a { white-space: nowrap; }
