.school-summary{padding:16px;min-width:0}.summary-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.summary-table{border-collapse:collapse;width:var(--summary-table-width,2151px);min-width:var(--summary-table-width,2151px);table-layout:fixed;font-size:12px;color:var(--text,#172b42);background:var(--panel,#fff)}.summary-table caption{text-align:left;font-weight:600;padding:8px 0}.summary-table th,.summary-table td{border:1px solid #9aa6b4;padding:5px 4px;vertical-align:top}.summary-table thead th{background:#f1f4f8;text-align:center;vertical-align:middle;font-weight:600;white-space:nowrap}.summary-table .summary-number{text-align:center;vertical-align:middle;min-width:23px;font-variant-numeric:tabular-nums;white-space:nowrap}.summary-overview>tbody>.summary-school-row>th{vertical-align:middle;white-space:nowrap;font-size:14px}.summary-overview>tbody>.summary-school-row>td:nth-child(2){padding:0}.summary-table button.summary-school-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;min-height:48px;margin:0;padding:8px 10px;border:0;border-radius:0;background:transparent;color:inherit;font-size:14px;font-weight:700;text-align:center;box-shadow:none;cursor:pointer;white-space:normal}.summary-school-button:hover,.summary-school-button[aria-expanded=true]{background:#e7eef8!important}.summary-school-button:focus-visible{outline:3px solid #2464b4;outline-offset:-3px}.summary-chevron{transition:transform .3s}.summary-school-button[aria-expanded=true] .summary-chevron{transform:rotate(180deg)}.summary-expansion>td{padding:0!important;border-width:0 1px!important}.summary-panel{height:0;transition:height .32s ease;min-width:0}.summary-panel>.summary-scroll{padding:0;background:#e8eef5}.summary-detail{min-width:var(--summary-table-width,2151px)}.summary-detail .summary-specialization{min-width:230px}.summary-detail .summary-teacher{min-width:150px;vertical-align:middle}.summary-class-0{background:#fff}.summary-class-1{background:#e0e4e9}.summary-table tfoot{background:#e6edf7;font-weight:700}.summary-table tfoot th{text-align:left}.summary-help{font-size:12px;line-height:1.5;margin:12px 0 0}.school-summary [hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.summary-panel,.summary-chevron{transition:none}}@media(max-width:700px){.school-summary{padding:8px}.summary-overview>tbody>.summary-school-row>td:nth-child(2){min-width:240px}}

/* School controls use the shared wine button palette. */
.summary-table button.summary-school-button{background:var(--wine,#a9003d);color:#fff;border:1px solid var(--wine,#a9003d);border-radius:9px;padding:10px 15px;font-weight:700;line-height:1.3}.summary-table button.summary-school-button:hover,.summary-table button.summary-school-button[aria-expanded=true]{background:var(--wine2,#8f0034)!important;border-color:var(--wine2,#8f0034);color:#fff}.summary-table .summary-class-name{text-align:center;vertical-align:middle}

/* One scrollable statistics window; details share its horizontal scroll. */
.absence-window-notice{margin-bottom:20px}.school-summary{margin-bottom:20px}.summary-window{max-height:70vh;overflow:auto;scrollbar-gutter:stable}.summary-detail-content{padding:0;background:#e8eef5;overflow:visible}.summary-detail tfoot th{text-align:center}.school-summary h2{margin-top:0}

.summary-table th{position:static;z-index:auto}

.student-summary{margin:20px 0}.student-summary .tablewrap{max-height:65vh;overflow:auto}.student-summary-school{background:#e6edf7}.student-summary td{text-align:center}.student-summary th{text-align:left}.summary-table>thead{position:sticky;top:0;z-index:10}.summary-detail>thead{top:var(--summary-header-height,100px);z-index:9}.summary-table .summary-frozen{position:sticky;z-index:4;background:#fff;box-shadow:1px 0 #9aa6b4}.summary-table thead .summary-frozen{z-index:12;background:#f1f4f8}.summary-class-1 .summary-frozen{background:#e0e4e9}.summary-table tfoot .summary-frozen{background:#e6edf7}.summary-school-row .summary-frozen{vertical-align:middle}
/* Separate borders keep sticky headers opaque and avoid collapsed-border paint gaps. */
.summary-table{border-collapse:separate;border-spacing:0;border-top:1px solid #9aa6b4;border-left:1px solid #9aa6b4;box-sizing:border-box}.summary-table th,.summary-table td{border-width:0 1px 1px 0}.summary-expansion>td{border-width:0!important}

.summary-pupil-row .summary-pupil-name{text-align:left;font-weight:500;padding-left:16px;background:#fff}.summary-pupil-name small{display:block;font-size:11px;color:#655f64}.summary-pupil-section>th,.summary-pupil-section>td{background:#e6edf7;font-weight:700}.summary-pupil-section .summary-frozen{background:#e6edf7}.summary-pupil-row:hover td,.summary-pupil-row:hover th{background:#faf1f4}

.summary-pupil-section>td{padding:0!important;border:0!important;background:#fff}.summary-table.summary-pupil-table{width:1701px;min-width:1701px;margin:0}.summary-pupil-table>thead{top:calc(var(--summary-header-height,100px) + var(--summary-detail-header-height,100px));z-index:11}.summary-pupil-table th,.summary-pupil-table td{padding:5px 4px}.summary-pupil-table .summary-pupil-name{padding-left:8px}.summary-pupil-table .summary-pupil-specialization{text-align:left;font-size:11px}.summary-pupil-table .summary-pupil-index{text-align:center}.summary-pupil-table>tbody .summary-frozen{background:#fff}.summary-pupil-table>tfoot th{text-align:center}

.summary-pupil-table>tbody th,.summary-pupil-table>tbody td{font-weight:400;background:#fff}

.summary-table.summary-pupil-grades{width:1201px;min-width:1201px}.summary-pupil-grades .summary-grade-band{vertical-align:top;font-weight:700;background:#e6edf7}.summary-pupil-grades .summary-grade-mark{font-weight:700}.summary-pupil-grades .summary-grade-gap{background:#fff;border:0}

.summary-school-export {
    position: sticky;
    left: 0;
    width: var(--summary-visible-width, 100%);
    display: flex;
    justify-content: center;
    padding: 8px 0;
    background: #e8eef5;
}

.summary-school-export > a[href] {
    margin: 0;
}

.student-summary .summary-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
}
.student-summary-code {
  width: 90px;
}
.student-summary-detail :is(th, td) {
  vertical-align: middle;
}
.student-summary-detail th {
  text-align: center;
}
.student-summary-detail td {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.student-summary-overview > tbody > .summary-school-row > th {
  text-align: center;
  vertical-align: middle;
}
.student-summary .student-summary-detail {
  min-width: 1095px;
}
.student-summary-detail col:nth-child(n+3) { width: 160px; }
.student-summary-detail > tbody > tr {
  height: 25px;
}
.student-summary-detail .student-specialization {
  text-align: left;
  white-space: nowrap;
}
