/* Result report only. Main HTML links this with media=screen. Only its dedicated popup loads print rules. */
.education-result-document{--report-ink:#172b4d;--report-rule:#cbd5e1;color:var(--report-ink);background:#fff;box-sizing:border-box;font:14px/1.6 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;max-width:1100px;margin:20px auto;border:1px solid var(--report-rule);padding:32px 36px;box-shadow:0 4px 16px #152b4b0a}
.education-result-document *{box-sizing:border-box}.education-result-document .report-header{border-bottom:3px solid #203b64;padding-bottom:18px;margin-bottom:24px}.education-result-document .report-eyebrow{font-size:12px;letter-spacing:.12em;margin:0 0 6px;color:#526580}.education-result-document h1{font-size:27px;letter-spacing:.06em;margin:0}.education-result-document .report-title{font-size:19px;font-weight:700;margin:7px 0 0;overflow-wrap:anywhere}.education-result-document .report-section{margin:24px 0}.education-result-document h2{font-size:17px;border-bottom:1px solid #9baec5;padding:0 0 7px;margin:0 0 12px;break-after:avoid}.education-result-document h3{font-size:14px;margin:16px 0 8px;break-after:avoid}.education-result-document p{margin:6px 0}.education-result-document .report-note{font-size:12px;color:#526077;line-height:1.65}.education-result-document .report-body-text{white-space:pre-wrap;overflow-wrap:anywhere}.education-result-document .report-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px}.education-result-document .report-field{display:block;min-width:0;padding:11px 12px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:3px}.education-result-document .report-field-title{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.education-result-document .report-field textarea{display:block;width:100%;min-height:72px;max-width:100%;resize:vertical;border:1px solid #a5b4c7;border-radius:3px;padding:9px;font:inherit;color:#172b4d;background:#fff}.education-result-document .report-field textarea:disabled{opacity:1;color:#334155;background:#f8fafc}.education-result-document .report-field textarea:focus-visible{outline:2px solid #285ca1;outline-offset:2px}.education-result-document .report-wide{grid-column:1/-1}.education-result-document .report-table-wrap{overflow-x:auto;margin:10px 0}.education-result-document table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.education-result-document caption{text-align:left;font-size:13px;font-weight:700;margin-bottom:7px}.education-result-document th,.education-result-document td{border:1px solid var(--report-rule);padding:9px 10px;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.education-result-document th{background:#eef3f8;font-weight:700}.education-result-document .report-facts th{width:18%}.education-result-document .report-number{text-align:right;font-variant-numeric:tabular-nums}.education-result-document .report-total th,.education-result-document .report-total td{background:#e7eef8;font-weight:700;border-top:2px solid #7087a5}.education-result-document .report-summary th{width:64%}.education-result-document .report-receipts{text-align:center}.education-result-document .report-receipts td,.education-result-document .report-receipts th{text-align:center}.education-result-document .report-expenses{min-width:690px}.education-result-document .report-expenses th:nth-child(1){width:15%}.education-result-document .report-expenses th:nth-child(2){width:16%}.education-result-document .report-expenses th:nth-child(3){width:21%}.education-result-document .report-expenses th:nth-child(4){width:17%}.education-result-document .report-expenses th:nth-child(5){width:31%}.education-result-document .report-footer{border-top:1px solid var(--report-rule);margin-top:28px;padding-top:10px;font-size:12px;color:#526077}.education-report-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:1100px;margin:16px auto}.education-report-feedback{max-width:1100px;margin:8px auto}.education-result-document .report-balance{font-weight:600}
@media(max-width:720px){.education-result-document{padding:20px 16px}.education-result-document .report-grid{grid-template-columns:minmax(0,1fr)}.education-result-document h1{font-size:23px}.education-result-document .report-facts th{width:26%}.education-result-document th,.education-result-document td{padding:7px}}
.education-result-document .report-plan{border:1px solid #9baec5;background:#f3f7fc;padding:14px 16px;margin:12px 0}.education-result-document .report-plan-total{font-size:22px;font-weight:700;margin:0 0 4px}.education-result-document .report-status-note{font-size:11px;color:#526077;font-weight:400;display:block;line-height:1.55;margin-top:3px}.education-result-document .report-attendance-summary th:first-child{width:25%}.education-result-document .report-attendance-summary th:last-child{width:30%}.education-result-document .report-attendance-summary td{font-variant-numeric:tabular-nums}.education-result-document .report-attendance-detail th:nth-child(1){width:18%}.education-result-document .report-attendance-detail th:nth-child(2){width:17%}.education-result-document .report-attendance-detail th:nth-child(3){width:20%}.education-result-document .report-attendance-person{margin:22px 0}.education-result-document .report-attendance-person h3{border-bottom:1px solid #cbd5e1;padding-bottom:6px}.education-result-document .report-attendance-unavailable{padding:12px;border-left:3px solid #9baec5;background:#f7f9fc}.education-result-document .report-attendance-status-review,.education-result-document .report-attendance-status-pending{font-weight:700;color:#714b16}
@page{size:A4;margin:16mm 14mm}
@media print{body.education-result-print{background:#fff!important;color:#111!important;margin:0!important;padding:0!important}.education-result-document{max-width:none;margin:0;border:0;padding:0;box-shadow:none;font-size:10pt;line-height:1.5;color:#111}.education-result-document h1{font-size:21pt}.education-result-document .report-title{font-size:14pt}.education-result-document .report-header{margin-bottom:16px;padding-bottom:12px}.education-result-document .report-section{margin:18px 0;break-inside:auto}.education-result-document h2{font-size:13pt}.education-result-document h3{font-size:10pt}.education-result-document .report-grid{display:block}.education-result-document .report-field{background:#fff;border:0;border-bottom:1px solid #d7dee8;padding:6px 0;margin-bottom:7px;break-inside:auto}.education-result-document .report-field-title{break-after:avoid;margin-bottom:3px}.education-result-document p{orphans:3;widows:3}.education-result-document .report-table-wrap{overflow:visible}.education-result-document table{font-size:9pt}.education-result-document .report-expenses{min-width:0}.education-result-document th,.education-result-document td{padding:6px 7px}.education-result-document thead{display:table-header-group}.education-result-document tfoot{display:table-footer-group}.education-result-document tr{break-inside:avoid;page-break-inside:avoid}.education-result-document .report-appendix{break-before:page;page-break-before:always}.education-result-document .report-note,.education-result-document .report-footer{font-size:8.5pt;color:#333}.education-result-document .report-total th,.education-result-document .report-total td{border-top:2px solid #444}.education-report-actions,.education-report-feedback{display:none!important}}
@media print{.education-result-document .report-header{margin-bottom:12px;padding-bottom:8px}.education-result-document .report-section{margin:12px 0}.education-result-document .report-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 18px}.education-result-document .report-field{padding:3px 0;margin-bottom:4px}.education-result-document .report-plan{padding:9px 11px;background:#fff}.education-result-document .report-plan-total{font-size:15pt}.education-result-document .report-status-note{font-size:8pt;color:#333}.education-result-document .report-attendance-person{margin:16px 0;break-inside:avoid;page-break-inside:avoid}.education-result-document .report-attendance-summary{font-size:8.5pt}.education-result-document .report-attendance-summary th,.education-result-document .report-attendance-summary td{padding:5px}.education-result-document .report-attendance-unavailable{background:#fff}.education-result-document .report-attendance-detail{font-size:9pt}}

@media screen {
.education-result-document table{display:table}
.education-result-document caption{display:table-caption}
.education-result-document thead{display:table-header-group}
.education-result-document tbody{display:table-row-group;width:auto}
.education-result-document tr{display:table-row;padding:0}
.education-result-document th,.education-result-document td{display:table-cell}
.education-result-document td::before{display:none;content:none}
.education-result-document .report-table-wrap{max-width:100%;overflow-x:auto}
.education-result-document .report-table-wrap:focus-visible{outline:2px solid #285ca1;outline-offset:2px}
.education-result-document .report-field-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:7px}
.education-result-document .report-field-heading .report-field-title{margin:0}
.education-result-document .report-exclude-control{display:inline-flex;align-items:center;gap:6px;flex-direction:row;margin:0;font-size:12px;white-space:nowrap;cursor:pointer}
.education-result-document .report-exclude-control input{appearance:auto;display:inline-block;flex:0 0 auto;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:#285ca1}
.education-result-document .report-exclude-control input:focus-visible{outline:2px solid #285ca1;outline-offset:2px}
.education-result-document .report-field-excluded{border-style:dashed;background:#f0f3f6}
.education-result-document .report-facts th{min-width:76px}
}
@media print {
.education-result-document .report-attendance-compact{width:100%;min-width:0;table-layout:fixed;font-size:9pt}
.education-result-document .report-attendance-compact th,.education-result-document .report-attendance-compact td{padding:5px 4px}
.education-result-document .report-field-heading{break-after:avoid}
.education-result-document .report-field-title{font-weight:700}
.education-result-document .report-table-wrap{break-inside:auto}
.education-result-document caption{break-after:avoid}
.education-result-document .report-expenses td{overflow-wrap:anywhere}
}

@media print {
.education-result-document .report-header{margin-bottom:8px;padding-bottom:6px}
.education-result-document .report-section{margin:10px 0}
.education-result-document h2{margin-bottom:6px;padding-bottom:5px}
.education-result-document .report-table-wrap{margin:4px 0}
.education-result-document .report-plan{padding:7px 9px}
.education-result-document .report-section:not(.report-appendix) .report-table-wrap{break-inside:avoid;page-break-inside:avoid}
.education-result-document .report-appendix{break-before:auto;page-break-before:auto}
.education-result-document .report-footer{margin-top:12px;padding-top:6px}
.education-result-document .report-note{margin:4px 0}
.education-result-document div.report-note{break-inside:avoid}
.education-result-document .report-field p{margin:3px 0}
.education-result-document .report-summary th,.education-result-document .report-summary td,.education-result-document .report-expenses th,.education-result-document .report-expenses td{padding-top:5px;padding-bottom:5px}
}

/* Target roster and date notes: report scope only, no QR or global table selectors. */
.education-result-document .report-field-inline{margin:0;padding:0;border:0;background:transparent}
.education-result-document .report-field-inline .report-field-heading{margin-bottom:4px}
.education-result-document .report-field-inline .report-body-text{margin:0}
.education-result-document .report-attendance-simple{width:100%;table-layout:fixed}
.education-result-document .report-attendance-simple th:nth-child(1){width:24%}
.education-result-document .report-attendance-simple th:nth-child(2),.education-result-document .report-attendance-simple th:nth-child(3),.education-result-document .report-attendance-simple th:nth-child(4){width:18%}
.education-result-document .report-attendance-simple th:nth-child(5){width:22%}
.education-result-document .report-target-roster{width:100%;table-layout:fixed}
.education-result-document .report-target-roster th:nth-child(1){width:6%}
.education-result-document .report-target-roster th:nth-child(2){width:16%}
.education-result-document .report-target-roster th:nth-child(3){width:20%}
.education-result-document .report-target-roster th:nth-child(4),.education-result-document .report-target-roster th:nth-child(5){width:19%}
.education-result-document .report-target-roster th:nth-child(6){width:20%}
.education-result-document .report-day-note .report-body-text{white-space:pre-wrap;overflow-wrap:anywhere}
@media screen {
.education-result-document .report-attendance-simple,.education-result-document .report-target-roster{min-width:620px}
.education-result-document .report-day-note textarea{box-sizing:border-box;width:100%;min-height:38px;resize:vertical;font:inherit;line-height:1.4;margin:0}
.education-result-document .report-legacy-purpose{margin-top:8px}
.education-result-document .report-legacy-purpose summary{cursor:pointer;font-size:13px;color:#52637a}
.education-result-document .report-legacy-purpose textarea{box-sizing:border-box;width:100%;font:inherit}
.education-result-document .report-target-unavailable{padding:10px;border-left:3px solid #9fb2ce;background:#f5f7fa}
}
@media print {
.education-result-document .report-attendance-simple,.education-result-document .report-target-roster{min-width:0;font-size:9pt}
.education-result-document .report-attendance-simple th,.education-result-document .report-attendance-simple td{padding:5px 4px}
.education-result-document .report-section .report-table-wrap:has(.report-target-roster){break-inside:auto;page-break-inside:auto}
.education-result-document .report-legacy-purpose{display:none}
}

/* Center only the new target roster and attendance total cells. */
.education-result-document .report-target-roster th,.education-result-document .report-target-roster td,.education-result-document .report-attendance-simple th,.education-result-document .report-attendance-simple td{text-align:center}

/* Editor-only source management. Never included in the report document/popup. */
@media screen {
 .roster-source-admin{margin:1.25rem 0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#111827;font-size:inherit;}
 .roster-source-admin>summary{padding:12px 16px;cursor:pointer;font-weight:700;}
 .roster-source-admin .source-admin-body{padding:0 16px 16px;display:grid;gap:12px;min-width:0;}
 .roster-source-admin .source-admin-field{display:grid;gap:6px;min-width:0;}
 .roster-source-admin .source-admin-check{display:flex;align-items:flex-start;gap:8px;}
 .roster-source-admin .source-admin-check input{flex:none;width:auto;margin-top:4px;}
 .roster-source-admin input,.roster-source-admin select{font:inherit;max-width:100%;min-height:36px;}
 .roster-source-admin fieldset{padding:12px;border:1px solid #cbd5e1;min-width:0;}
 .roster-source-admin fieldset>div{display:grid;gap:10px;}
 .roster-source-admin .source-admin-hash,.roster-source-admin .source-admin-id{overflow-wrap:anywhere;}
 .roster-source-admin .source-admin-image{max-height:520px;max-width:100%;overflow:auto;border:1px solid #cbd5e1;}
 .roster-source-admin .source-admin-image img{display:block;max-width:none;width:auto;height:auto;}
 .roster-source-admin .source-admin-table-wrap{max-width:100%;overflow:auto;min-width:0;}
 .roster-source-admin table.source-admin-table{display:table!important;width:100%;min-width:830px;border-collapse:collapse;table-layout:auto;}
 .roster-source-admin .source-admin-table caption{display:table-caption!important;caption-side:top;width:auto;white-space:normal;text-align:left;padding:8px 0;}
 .roster-source-admin .source-admin-table thead{display:table-header-group!important;}
 .roster-source-admin .source-admin-table tbody{display:table-row-group!important;}
 .roster-source-admin .source-admin-table tr{display:table-row!important;}
 .roster-source-admin .source-admin-table th,.roster-source-admin .source-admin-table td{display:table-cell!important;border:1px solid #cbd5e1;padding:8px;text-align:center;vertical-align:middle;white-space:nowrap;}
 .roster-source-admin .source-admin-table td::before{display:none!important;}
 .roster-source-admin .source-admin-table input{width:160px;text-align:left;}
 .roster-source-admin .source-admin-preview{border:1px solid #94a3b8;padding:12px;display:grid;gap:10px;}
}
@media print{.roster-source-admin,.roster-source-admin-feedback{display:none!important;}}

@media screen{.roster-source-admin table.source-admin-table,.roster-source-admin .source-admin-table th,.roster-source-admin .source-admin-table td,.roster-source-admin .source-admin-table input,.roster-source-admin .source-admin-table select{font-size:inherit!important;}}

/* Responsible name only: one ordinary overview row, raw textarea value preserved. */
.education-result-document .report-field.report-responsible-single-line{display:flex;align-items:center;gap:8px;min-width:0}
.education-result-document .report-responsible-single-line .report-field-heading{flex:none;order:2;margin:0}
.education-result-document .report-responsible-single-line .report-field-heading:empty{display:none}
.education-result-document .report-responsible-single-line textarea{flex:1;min-width:0;width:auto;height:1.5em;min-height:1.5em;padding:0 6px;line-height:normal;resize:none;overflow:auto;white-space:pre}
.education-result-document .report-responsible-single-line .report-body-text{flex:1;min-width:0;margin:0;white-space:normal}

/* Attendee file roster: screen and report print only. */
.document-roster-inline{list-style:none;margin:8px 0;padding:0;line-height:1.7;max-width:100%;white-space:normal}.document-roster-inline>li{display:inline-block;vertical-align:top;max-width:calc(100% - 1em);margin:0 1em 0 0;padding:0;overflow-wrap:anywhere;white-space:normal;break-inside:avoid}
