/* Synthetic student lists and records only; shared practice primitives are reused. */
#app .enrollment-student-practice .student-record-heading { min-width: 0; }
#app .enrollment-student-practice .student-record-heading h1 { overflow-wrap: anywhere; }
#app .enrollment-student-practice .student-record-tabs {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
  min-width: 0;
}
#app .enrollment-student-practice .student-record-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #b8cbd5;
  border-radius: 8px;
  background: #fff;
  color: #31566a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
#app .enrollment-student-practice .student-record-tab:hover { background: #e5f1f5; }
#app .enrollment-student-practice .student-record-tab[aria-current="page"] { background: #155e75; border-color: #155e75; color: #fff; transform: none; box-shadow: none; }
#app .enrollment-student-practice .student-record-tab[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 10px; bottom: 3px; height: 3px; border-radius: 2px; background: #fff; }
#app .enrollment-student-practice :is(.student-record-board,.student-record-main,.student-record-side) { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; min-width: 0; align-content: start; }
#app .enrollment-student-practice .student-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 20px; margin: 0; }
#app .enrollment-student-practice .student-fields > div { min-width: 0; padding-bottom: 11px; border-bottom: 1px solid #e4ebf0; }
#app .enrollment-student-practice .student-fields .student-field-wide { grid-column: 1/-1; }
#app .enrollment-student-practice .student-fields dt { color: #526574; font-size: 13px; line-height: 1.5; }
#app .enrollment-student-practice .student-fields dd { margin: 4px 0 0; color: #263442; font-size: 14px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; }
#app .enrollment-student-practice .student-record-side .student-fields { grid-template-columns: minmax(0,1fr); }
#app .enrollment-student-practice .student-record-side .student-fields > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#app .enrollment-student-practice .student-record-side .student-fields dd { text-align: right; }
#app .enrollment-student-practice .student-preserve { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
#app .enrollment-student-practice .student-note-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
#app .enrollment-student-practice .student-note-list li { padding: 12px; border: 1px solid #dce6ec; border-radius: 8px; background: #f8fafc; }
#app .enrollment-student-practice .student-note-list p { margin: 0; font-size: 14px; color: #344c5e; }
#app .enrollment-student-practice .student-permission-note { color: #526574; font-size: 14px; line-height: 1.6; }
#app .enrollment-student-practice .student-record-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
#app .enrollment-student-practice .student-original-result { padding: 12px; border: 1px solid #d6e1e8; border-radius: 8px; background: #f1f6f9; }
#app .enrollment-student-practice .student-original-result p { margin: 0 0 10px; color: #526574; font-size: 13px; line-height: 1.5; }
#app .enrollment-student-practice .student-list-name { color: #155e75; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
#app .enrollment-student-practice .student-list-name:hover { color: #0e7490; }
#app .enrollment-student-practice .student-field-value { font-variant-numeric: tabular-nums; }
#app .enrollment-student-practice .student-work-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 14px; }
#app .enrollment-student-practice .student-work-filters .student-work-search { grid-column: span 2; }
#app .enrollment-student-practice .student-work-filter-actions { grid-column: 1/-1; }
#app .enrollment-student-practice .student-work-date-note { margin: 16px 0; color: #526574; font-size: 13px; line-height: 1.6; }
#app .enrollment-student-practice .student-work-reasons { display: grid; gap: 4px; padding-left: 17px; margin: 0; font-size: 13px; line-height: 1.5; }
#app .enrollment-student-practice .student-work-flag { display: block; margin-top: 5px; color: #87581b; font-size: 12px; line-height: 1.5; }
#app .enrollment-student-practice .student-work-table td { overflow-wrap: anywhere; }
.modal .enrollment-student-form { display: grid; gap: 16px; color: #263442; }
.modal .enrollment-student-form .student-form-summary { padding: 12px 14px; border: 1px solid #c6dce5; border-radius: 8px; background: #edf5f8; font-size: 14px; line-height: 1.6; }
.modal .enrollment-student-form .student-form-summary p { margin: 4px 0 0; }
.modal .enrollment-student-form .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.modal .enrollment-student-form .field { min-width: 0; }
.modal .enrollment-student-form .student-form-help { margin: 0; color: #526574; font-size: 14px; line-height: 1.65; }
.modal .enrollment-student-form .student-checkbox { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: 14px; line-height: 1.6; }
.modal .enrollment-student-form .student-checkbox input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; }
.modal .enrollment-student-form:has(#f-type option:checked[value="No enrolled or applying sibling"]) .student-sibling-details { display: none; }
.modal .enrollment-student-form:not(:has(#f-type option:checked[value="No enrolled or applying sibling"])) .student-no-sibling { display: none; }
.modal .enrollment-student-form:has(#f-type option:checked[value="Sibling currently enrolled"]) .student-sibling-applying-only { display: none; }
.modal .enrollment-student-form:has(#f-type option:checked[value="Siblings applying together"]) .student-sibling-enrolled-only { display: none; }
@media (min-width: 1080px) { #app .enrollment-student-practice .student-record-board { grid-template-columns: minmax(0,2fr) minmax(300px,1fr); align-items: start; } }
@media (max-width: 900px) { #app .enrollment-student-practice .student-record-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 720px) {
  #app .enrollment-student-practice .student-work-filters { grid-template-columns: minmax(0,1fr); }
  #app .enrollment-student-practice .student-work-filters .student-work-search { grid-column: auto; }
  #app .enrollment-student-practice .student-work-filters :is(input:not([type=checkbox]),select) { min-height: 44px; font-size: 16px; }
  #app .enrollment-student-practice .student-work-filter-actions .btn { flex: 1 1 auto; min-height: 44px; }
  #app .enrollment-student-practice .student-work-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #app .enrollment-student-practice .student-work-table :is(tbody,tr) { display: block; }
  #app .enrollment-student-practice .student-work-table tr { margin-bottom: 12px; border: 1px solid #dce6ec; border-radius: 8px; overflow: hidden; background: #fff; }
  #app .enrollment-student-practice .student-work-table :is(td,th[scope=row]) { display: block; width: auto; border: 0; white-space: normal; padding: 9px 12px; }
  #app .enrollment-student-practice .student-work-table th[scope=row] { background: #f1f6f9; }
  #app .enrollment-student-practice .student-work-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #526574; font-size: 12px; font-weight: 600; }
  #app .enrollment-student-practice .student-record-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app .enrollment-student-practice .student-record-tab { min-height: 44px; padding: 10px 8px; }
  #app .enrollment-student-practice .student-fields { gap: 12px; }
  #app .enrollment-student-practice .student-record-actions { padding: 0 14px 14px; }
  #app .enrollment-student-practice .student-record-actions .btn { flex: 1 1 auto; min-height: 44px; }
  .modal .enrollment-student-form .form-grid { grid-template-columns: minmax(0,1fr); }
  .modal .enrollment-student-form :is(input:not([type=checkbox]),select,textarea) { font-size: 16px; }
}
@media (max-width: 380px) { #app .enrollment-student-practice .student-fields { grid-template-columns: minmax(0,1fr); } }
