.daily-attendance-report table{width:100%;border-collapse:collapse;font-size:14px}.daily-attendance-report th,.daily-attendance-report td{text-align:left;padding:9px 7px;border-bottom:1px solid #cbd6dc}.daily-attendance-report th{background:#e8f1ee}.daily-attendance-report h1{margin-top:24px}.report-absent{color:#b3261e;font-weight:bold}.report-totals{font-weight:bold}.report-note{font-size:12px;color:#64747f}.report-explanation{border:1px solid #ced8de;border-radius:8px;padding:14px;margin:14px 0}.report-explanation p{white-space:pre-wrap;overflow-wrap:anywhere}.report-explanation h3{margin-top:0}.report-label{font-weight:bold}.daily-attendance-report{overflow-x:auto}
@media print{@page{size:A4 landscape;margin:12mm}html,body{background:white!important;margin:0!important;padding:0!important}main{max-width:none!important;padding:0!important;border-radius:0!important}main>header,main>#message,main>#login,main>#workspace,.report-controls{display:none!important}.daily-attendance-report{overflow:visible!important;font-size:10pt}.daily-attendance-report h1{font-size:18pt;margin:0}.daily-attendance-report table{font-size:9pt}.daily-attendance-report td,.daily-attendance-report th{padding:5px}.daily-attendance-report thead{display:table-header-group}.daily-attendance-report tr{break-inside:avoid}.report-explanation{break-inside:avoid;border-radius:0;padding:9px}.daily-attendance-report{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.day-attendance-overview{margin:22px 0;padding:14px 0;border-top:1px solid #bacbd5;border-bottom:1px solid #bacbd5}.day-attendance-overview h2{font-size:20px;margin:0 0 10px}.day-class-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.day-class-links a{color:#006b52;text-underline-offset:3px;font-size:14px}.missing-attendance-note{color:#a13c31;font-size:14px;margin:7px 0}.missing-attendance-count{font-weight:bold;margin-bottom:8px}

.day-attendance-overview{border:0;padding:0;margin:22px 0}.day-class-links{width:max-content;max-width:100%;gap:10px}.day-class-links .day-class-link{display:grid;grid-template-columns:3.5rem max-content max-content;gap:12px;width:100%;padding:4px 0 3px;border-bottom:1px solid currentColor;text-decoration:none;font-variant-numeric:tabular-nums;white-space:nowrap}.day-class-link span:last-child{text-align:right}

.missing-worksheet-panel{margin:24px 0}.missing-table-scroll{overflow-x:auto;max-width:100%}.missing-worksheet-panel table{border-collapse:collapse;font-size:14px;width:max-content;max-width:100%}.missing-worksheet-panel th,.missing-worksheet-panel td{text-align:left;padding:9px 12px;border-bottom:1px solid #b9cbd4;vertical-align:top}.missing-worksheet-panel th{font-weight:600}.missing-worksheet-panel td:nth-child(2),.missing-worksheet-panel td:nth-child(3),.missing-worksheet-panel td:nth-child(5),.missing-worksheet-panel td:nth-child(6){white-space:nowrap}.missing-updated{font-size:12px;color:#607581}

.day-report-area{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}@media(max-width:900px){.day-report-area{grid-template-columns:1fr;gap:0}}

@media print{.daily-attendance-report .missing-worksheet-panel{margin-top:14px}.daily-attendance-report .missing-table-scroll{overflow:visible}.daily-attendance-report .missing-worksheet-panel table{width:100%;max-width:100%;font-size:9pt}.daily-attendance-report .missing-worksheet-panel th,.daily-attendance-report .missing-worksheet-panel td{padding:5px}.daily-attendance-report .missing-worksheet-panel td{white-space:normal!important}}

.pending-attendance-note{font-size:14px;margin:7px 0;color:inherit}
.missing-worksheet-panel td.worksheet-followup-remark{color:#c62828;font-weight:600}
.day-report-area{grid-template-columns:max-content minmax(0,1fr)}.day-attendance-overview h2{white-space:nowrap}@media(max-width:900px){.day-report-area{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.day-attendance-overview h2{font-size:18px}}

/* Report colors must remain explicit on screen and in the PDF. */
.daily-attendance-report .report-present,.daily-attendance-report .report-complete{color:#006b52!important;font-weight:600}
.daily-attendance-report .report-absent,.daily-attendance-report .report-alert{color:#b3261e!important;font-weight:600}
.daily-attendance-report .report-neutral{color:#000!important}
.attendance-detail-table{table-layout:fixed}
.attendance-detail-table th,.attendance-detail-table td{vertical-align:top;overflow-wrap:anywhere}
.attendance-detail-table th:nth-child(1){width:10%}.attendance-detail-table th:nth-child(2){width:24%}.attendance-detail-table th:nth-child(3){width:10%}.attendance-detail-table th:nth-child(4){width:12%}.attendance-detail-table th:nth-child(5){width:9%}.attendance-detail-table th:nth-child(6){width:7%}.attendance-detail-table th:nth-child(7){width:17%}.attendance-detail-table th:nth-child(8){width:11%}
.roster-submission-time{white-space:nowrap;font-variant-numeric:tabular-nums}
@media print{.attendance-detail-table td:nth-child(7){white-space:normal!important}}
@media print{.daily-attendance-report,.daily-attendance-report *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.attendance-detail-table td:nth-child(3),.attendance-detail-table td:nth-child(5),.attendance-detail-table td:nth-child(6),.attendance-detail-table td:nth-child(7){white-space:nowrap}.daily-attendance-report table{line-height:1.5}.teacher-clock,.teacher-color-control,.teacher-water-canvas,.teacher-reveal{display:none!important}}

.incomplete-worksheets-dialog{width:min(720px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #bccbd2;border-radius:12px;padding:20px 24px;background:#fff;color:#203b50}.incomplete-worksheets-dialog::backdrop{background:#142b3c66}.incomplete-dialog-tools{display:flex;justify-content:flex-end}.incomplete-worksheets-dialog .missing-worksheet-panel{margin:0}.incomplete-worksheets-dialog table{width:100%}.incomplete-worksheets-dialog .worksheet-followup-neutral{color:#000}.incomplete-worksheets-dialog .worksheet-followup-remark{color:#b3261e}.missing-worksheet-panel>a{display:inline-block;margin-top:0}
