/* Screen components use the selected theme's paired foreground/surface colors. */
@media screen {
 html:root[data-site-theme] .left-rail .menu :is(button,a).menu-has-icon9317{display:flex!important;align-items:flex-start;gap:11px;padding:12px 14px!important}
 html:root[data-site-theme] .left-rail .menu .menu-has-icon9317::before{display:none!important}
 .menu-icon9317{width:20px;height:20px;min-width:20px;flex:none;vertical-align:middle;margin-top:.2em}
 .topnav .menu-has-icon9317,.school-tabs .menu-has-icon9317,.admin-tabs .menu-has-icon9317{display:inline-flex;align-items:center;gap:8px}.topnav .menu-icon9317,.school-tabs .menu-icon9317,.admin-tabs .menu-icon9317{margin-top:0;width:18px;height:18px;min-width:18px}
 .menu-label9317{display:block;min-width:0;overflow-wrap:anywhere}.menu-label9317 small{font-size:.85em}
 .score-editor9317>select{width:100%;margin-bottom:14px}.score-toolbar9317{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}
 #scoreSaveState9317{color:var(--theme-muted);font-size:14px}.score-toolbar9317>button{margin-inline-start:auto}
 #scoreFields9317{padding:0;margin:0;border:0;min-width:0}.score-editor9317 .table-wrap{max-width:100%;overflow:auto}
 #scoreTable9317{min-width:1100px;width:100%;font-size:15px}#scoreTable9317 td{padding:13px;vertical-align:top;line-height:1.7}
 #scoreTable9317 td:nth-child(2){min-width:190px}#scoreTable9317 td:nth-child(3){min-width:160px}#scoreTable9317 td:nth-child(5),#scoreTable9317 td:nth-child(6){min-width:190px}
 html:root #scoreTable9317 th button{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap;background:transparent!important;color:var(--theme-heading)!important;border-color:transparent;padding:8px 4px;font:inherit;font-weight:700}
 #scoreTable9317 th[aria-sort]:not([aria-sort=none]){box-shadow:inset 0 -3px var(--theme-primary)}
 #scoreTable9317 input.score-input{width:110px;min-height:44px;font-size:16px}#scoreTable9317 .score-note{min-width:180px;width:100%;min-height:44px}
 #scoreTable9317 select{display:block;max-width:100%;width:100%;min-height:44px;font-size:14px}#scoreTable9317 .rank-pick9317{margin-top:8px}
 .outcome-source9317{display:block;color:var(--theme-muted);margin-top:5px;font-size:12px}.score-actions9317{gap:10px;margin-top:18px;flex-wrap:wrap}.score-read-sort9317{display:flex;gap:10px;align-items:end;margin-top:12px}.score-read-sort9317[hidden]{display:none}
 .summary-intro9317{padding:25px;background:var(--theme-soft);color:var(--theme-heading)}.summary-intro9317 h3{font-size:23px;margin:0 0 7px}.summary-intro9317 p{margin:0;color:var(--theme-muted)}
 .summary-days9317{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.summary-days9317 button{min-height:44px}
 html:root .summary-days9317 button[aria-pressed=true]{background:var(--theme-primary)!important;color:var(--theme-on-primary)!important;border-color:var(--theme-primary)}
 .summary-filters9317{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:20px}.summary-filters9317 label{display:grid;gap:7px;flex:1 1 200px;min-width:0;margin:0}.summary-filters9317 :is(select,input){width:100%;min-height:44px}
 .summary-group9317{margin-bottom:26px}.summary-group9317>h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 13px;padding:12px 15px;border-left:4px solid var(--theme-accent);background:var(--theme-soft);color:var(--theme-heading);font-size:19px}
 .schedule-table9317{min-width:850px}.schedule-table9317 th{white-space:nowrap}.schedule-table9317 td:nth-child(3){min-width:240px}.schedule-table9317 td:nth-child(4){min-width:250px}.schedule-note9317{display:block;color:var(--theme-muted);margin-top:5px}
 .criteria-grid9317{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}.criteria-card9317{padding:20px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);color:var(--theme-text)}
 .criteria-card9317 h4{font-size:17px;line-height:1.7;margin:12px 0;color:var(--theme-heading)}.criteria-open9317{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--theme-link)}
 .gallery-home9317{margin-top:22px}.gallery-heading9317{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:15px;padding:22px 22px 0}
 .gallery-heading9317 h2,.gallery-heading9317 h3{display:flex;align-items:center;gap:10px;font-size:23px;margin:0 0 7px;color:var(--theme-heading)}.gallery-heading9317 p{margin:0 0 14px;color:var(--theme-muted)}
 .gallery-grid9317{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;padding:22px;align-items:start}
 .gallery-card9317{min-width:0;border:1px solid var(--theme-border);border-radius:15px;overflow:hidden;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 4px 18px #1531530b}
 html:root .gallery-image9317{display:block;width:100%;padding:0;border:0;border-radius:0;background:var(--theme-soft)!important;color:var(--theme-heading)!important}
 .gallery-image9317 img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:var(--theme-soft)}.gallery-empty-image9317{padding:60px;text-align:center;background:var(--theme-soft);color:var(--theme-muted)}
 .gallery-card-body9317{padding:20px;min-width:0}.gallery-card-body9317 h3{font-size:19px;line-height:1.7;overflow-wrap:anywhere;margin:14px 0 10px;color:var(--theme-heading)}.gallery-card-body9317 p{white-space:pre-line;overflow-wrap:anywhere;color:var(--theme-text);font-size:15px}.gallery-card-body9317 time{display:block;font-size:13px;color:var(--theme-muted)}.gallery-more9317{display:block;margin:12px 0;min-height:44px;color:var(--theme-link)}.gallery-card-body9317 .actions{margin-top:16px;gap:10px}
 .gallery-lightbox9317 img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.gallery-lightbox9317 p{white-space:pre-line;overflow-wrap:anywhere;margin-top:16px}
 .gallery-form9317 fieldset{padding:0;margin:0;border:0;min-width:0}.gallery-form9317 .form-grid{gap:16px}.gallery-form9317 label{display:grid;gap:7px;min-width:0}.gallery-form9317 :is(input:not([type=checkbox]),select,textarea){width:100%}.gallery-form9317 .check-option{display:flex;gap:12px}.gallery-form-preview9317{display:block;max-width:100%;max-height:300px;margin:16px auto;object-fit:contain}.gallery-form-preview9317[hidden]{display:none}
 @media(max-width:960px){.summary-days9317{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:8px}.summary-days9317 button{flex:none;white-space:nowrap}.summary-filters9317{display:grid;grid-template-columns:minmax(0,1fr)}.gallery-heading9317{padding:16px 16px 0}.gallery-heading9317 .actions{width:100%}.gallery-grid9317{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}.gallery-card-body9317{padding:18px}.gallery-card-body9317 h3{font-size:20px}.score-toolbar9317>button{margin-inline-start:0}.summary-intro9317{padding:20px 16px}}
}
@media print{
 .gallery-heading9317 .actions,.gallery-card-body9317 .actions,.summary-days9317,.summary-filters9317,.score-toolbar9317,.score-actions9317,.score-read-sort9317{display:none!important}
 .gallery-grid9317{display:block}.gallery-card9317{break-inside:avoid;margin-bottom:16px}.gallery-image9317 img{max-height:70mm;object-fit:contain}
 .schedule-table9317,#scoreTable9317{min-width:0!important;width:100%;font-size:10px}.schedule-table9317 td,#scoreTable9317 td{min-width:0!important;padding:5px}
 .summary-group9317>h3{break-after:avoid}.summary-group9317 tr{break-inside:avoid}
 .doc-score-legend9317{margin-top:18px;font-size:11px;line-height:1.8;color:#111}
}

/* Professional schedule report and paper layout. */
@media screen{
 .summary-print-heading9317{display:none}
 .summary-report-title9317{padding:18px 0 10px;text-align:center}
 .summary-report-title9317 h2{margin:0;color:var(--theme-heading);font-size:22px}
 .summary-report-title9317 p{margin:7px 0;color:var(--theme-muted)}
 .summary-report-toolbar9317{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--theme-border)}
 .summary-report-toolbar9317 p{margin:0;color:var(--theme-muted)}
 .summary-group9317>h3 small{margin-left:auto;color:var(--theme-muted);font-weight:500;font-size:13px}
 .summary-detail-button9317{min-height:34px;padding:5px 10px}
 .summary-detail9317 h3{color:var(--theme-heading)}
 .summary-detail9317 dl{display:grid;grid-template-columns:minmax(110px,180px) 1fr;gap:8px 16px}
 .summary-detail9317 dt{font-weight:700;color:var(--theme-heading)}
 .summary-detail9317 dd{margin:0;overflow-wrap:anywhere}
}
@media print{
 @page{size:A4 landscape;margin:12mm 10mm}
 body{background:#fff!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 body *{visibility:hidden!important}
 #main,#main *{visibility:visible!important}
 #main{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;margin:0!important;padding:0!important}
 #main>.panel{border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:0!important}
 #main>.panel>.section-head,.summary-intro9317,.summary-report-toolbar9317{display:none!important}
 .summary-print-heading9317{display:flex!important;justify-content:space-between;align-items:flex-start;gap:20px;padding:0 0 7mm;border-bottom:1px solid #888}
 .summary-print-heading9317 h2{font-size:16pt;line-height:1.35;margin:0 0 5px;text-align:center}
 .summary-print-heading9317 p{font-size:11pt;text-align:center;margin:0}
 .summary-print-stamp9317{font-size:9pt;text-align:right;color:#444;white-space:nowrap}
 .summary-report-title9317{display:block!important;text-align:center;padding:5mm 0 3mm}
 .summary-report-title9317 h2{font-size:14pt;color:#234c73;margin:0 0 2mm}
 .summary-report-title9317 p{font-size:10pt;margin:0;color:#333}
 .summary-group9317{margin:0 0 5mm;break-inside:auto}
 .summary-group9317.category-filtered>h3{display:none!important}
 .summary-group9317>h3{font-size:11pt;color:#713e63;background:#f4eef5!important;border-left:3px solid #713e63;padding:2mm 3mm;margin:4mm 0 2mm;break-after:avoid}
 .summary-group9317>h3 small{margin-left:auto;font-size:9pt;color:#444}
 .summary-table-wrap9317,.table-wrap{overflow:visible!important;max-width:none!important}
 .schedule-table9317{table-layout:fixed;width:100%!important;min-width:0!important;border-collapse:collapse;font-size:8.5pt;line-height:1.35}
 .schedule-table9317 th,.schedule-table9317 td{border:1px solid #89939b!important;padding:2mm 1.5mm!important;vertical-align:top;min-width:0!important;white-space:normal}
 .schedule-table9317 th{background:#eaf0f4!important;color:#172f43!important;text-align:center;font-weight:700}
 .schedule-table9317 th:nth-child(1),.schedule-table9317 td:nth-child(1){width:4%;text-align:center}
 .schedule-table9317 th:nth-child(2),.schedule-table9317 td:nth-child(2){width:28%}
 .schedule-table9317 th:nth-child(3),.schedule-table9317 td:nth-child(3){width:24%}
 .schedule-table9317 th:nth-child(4),.schedule-table9317 td:nth-child(4){width:11%;text-align:center}
 .schedule-table9317 th:nth-child(5),.schedule-table9317 td:nth-child(5){width:9%;text-align:center}
 .schedule-table9317 th:nth-child(6),.schedule-table9317 td:nth-child(6){width:12%}
 .schedule-table9317 th:nth-child(7),.schedule-table9317 td:nth-child(7){width:12%}
 .schedule-table9317 tr{break-inside:avoid;page-break-inside:avoid}
 .summary-report-title9317,.summary-group9317>h3{break-after:avoid;page-break-after:avoid}
}
@media screen{.summary-location-image9317{display:block;width:min(100%,720px);max-height:360px;object-fit:contain;margin:0 auto 18px;border:1px solid var(--theme-border);border-radius:10px}}

/* Category schedule report: clearer screen hierarchy and clean print header. */
.summary-intro9317{background:linear-gradient(120deg,#f4eff8,#eef5fa);border-bottom:1px solid var(--theme-border)}
.summary-report-title9317{border-bottom:1px solid var(--theme-border);margin-bottom:16px}
.summary-group9317 .table-wrap{border:1px solid var(--theme-border);border-radius:12px;overflow:auto;background:#fff}
@media print{
 .summary-print-brand9317{flex:1}
 .summary-print-heading9317 .summary-print-stamp9317{font-size:9pt;text-align:right;min-width:38mm}
 .summary-print-heading9317{color:#172b3b}
 .summary-report-title9317{border:0;padding:7mm 0 4mm}
 .summary-report-title9317 p{font-size:10pt}
 .summary-group9317>h3{background:#eef3f7!important;border-left-color:#235c79!important;color:#163c54!important;padding:3mm 4mm;font-size:12pt}
 .schedule-table9317{border-collapse:collapse;font-size:9pt}
}
@media print{
 .summary-group9317>h3 .menu-icon9317{display:inline-block!important;width:5mm!important;height:5mm!important;min-width:5mm!important;max-width:5mm!important;flex:0 0 5mm!important;vertical-align:middle!important}
 .summary-group9317>h3{display:flex!important;align-items:center!important;min-height:0!important;line-height:1.35!important}
}

/* Timetable add/edit form refinements */
.timetable-date-picker{display:grid;gap:6px}.timetable-date-picker input[type=date]{width:100%;min-height:46px;padding:9px 12px;border:1px solid #d8c9e2;border-radius:9px;background:#fff;color:#26374b;font-size:16px}.timetable-date-picker small{color:#718096;font-size:12px;line-height:1.5}.timetable-room-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(90px,.7fr) minmax(100px,1fr);gap:10px;margin:0;padding:15px;border:1px solid #d8c9e2;border-radius:11px;background:linear-gradient(135deg,#fff,#faf7fc)}.timetable-room-fields legend{padding:0 7px;color:#604878;font-size:13px;font-weight:700}.timetable-room-fields label{display:grid;gap:5px;color:#66788b;font-size:12px;font-weight:650}.timetable-room-fields input{width:100%;min-width:0;min-height:43px;padding:8px 10px;border:1px solid #d8c9e2;border-radius:8px;background:#fff;color:#26374b}.schedule-activity-code9317{display:block;margin-top:3px;color:#687b8d;font-size:8.5pt}.schedule-table9317 small.schedule-activity-code9317{font-size:8pt}@media(max-width:600px){.timetable-room-fields{grid-template-columns:1fr 1fr}.timetable-room-fields label:first-of-type{grid-column:1/-1}}@media print{.summary-group9317.category-filtered>h3{display:none!important}.schedule-table9317 small.schedule-activity-code9317{font-size:7.5pt;color:#444!important}}

/* Compact, consistent timetable layout on screen and in print. */
@media screen{
 .summary-group9317.category-filtered>h3{display:none!important}
 .summary-group9317{margin-bottom:20px}
 .summary-group9317>h3{font-size:17px;line-height:1.45;border-radius:0 10px 10px 0}
 .summary-group9317 .table-wrap{overflow:auto;max-width:100%;border:1px solid var(--theme-border);border-radius:10px;background:#fff}
 .schedule-table9317{width:100%;min-width:1040px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.55}
 .schedule-table9317 th,.schedule-table9317 td,.schedule-table9317 td:nth-child(n){min-width:0!important;padding:11px 10px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid var(--theme-border)}
 .schedule-table9317 th{white-space:normal;background:#f6f2f8;color:#59366f;font-size:12px;line-height:1.4;font-weight:700;text-align:left}
 .schedule-table9317 tbody tr:nth-child(even){background:#fcfafc}
 .schedule-table9317 tbody tr:hover{background:#f5f8fb}
 .schedule-table9317 tbody tr:last-child td{border-bottom:0}
 .schedule-table9317 td:first-child,.schedule-table9317 th:first-child{text-align:center}
 .schedule-col-number{width:4%}.schedule-col-activity{width:18%}.schedule-col-code{width:7%}.schedule-col-place{width:22%}.schedule-col-date{width:11%}.schedule-col-time{width:10%}.schedule-col-contact{width:13%}.schedule-col-note{width:9%}.schedule-col-detail{width:6%}
 .schedule-code-cell9317{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:700;white-space:nowrap;color:var(--theme-heading)}
 .schedule-place-cell9317{line-height:1.45}
 .schedule-place-cell9317 span{display:block;margin:0 0 3px}
 .schedule-place-cell9317 span:first-child{font-weight:600;color:var(--theme-text)}
 .schedule-place-cell9317 span:not(:first-child){font-size:12px;color:var(--theme-muted)}
 .summary-detail-button9317{white-space:normal;font-size:12px}
}
@media print{
 .summary-group9317.category-filtered>h3{display:none!important}
 .summary-report-title9317{padding:5mm 0 3mm;margin:0;border:0}
 .summary-report-title9317 h2{font-size:15pt;line-height:1.35;color:#183d56;margin:0 0 2mm}
 .summary-report-title9317 p{font-size:10pt;color:#394b59;margin:0}
 .summary-print-heading9317{gap:8mm;padding-bottom:5mm}
 .summary-print-heading9317 h2{font-size:14pt;line-height:1.35;color:#172b3b}
 .summary-print-heading9317 p{font-size:9pt;line-height:1.5;color:#465461}
 .summary-print-stamp9317{font-size:8pt;line-height:1.5}
 .summary-group9317 .table-wrap{overflow:visible!important;border:0;border-radius:0}
 .schedule-table9317{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:8.5pt;line-height:1.35}
 .schedule-table9317 th,.schedule-table9317 td{padding:2mm 1.5mm!important;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
 .schedule-table9317 th{font-size:8pt;line-height:1.25;text-align:center}
 .schedule-table9317 thead{display:table-header-group}
 .schedule-table9317 tbody tr:nth-child(even){background:#f4f6f8!important}
 .schedule-col-number{width:4%}.schedule-col-activity{width:23%}.schedule-col-code{width:8%}.schedule-col-place{width:25%}.schedule-col-date{width:10%}.schedule-col-time{width:9%}.schedule-col-contact{width:12%}.schedule-col-note{width:9%}
 .schedule-table9317 th:nth-child(1),.schedule-table9317 td:nth-child(1){width:4%!important;text-align:center}.schedule-table9317 th:nth-child(2),.schedule-table9317 td:nth-child(2){width:23%!important}.schedule-table9317 th:nth-child(3),.schedule-table9317 td:nth-child(3){width:8%!important}.schedule-table9317 th:nth-child(4),.schedule-table9317 td:nth-child(4){width:25%!important}.schedule-table9317 th:nth-child(5),.schedule-table9317 td:nth-child(5){width:10%!important}.schedule-table9317 th:nth-child(6),.schedule-table9317 td:nth-child(6){width:9%!important}.schedule-table9317 th:nth-child(7),.schedule-table9317 td:nth-child(7){width:12%!important}.schedule-table9317 th:nth-child(8),.schedule-table9317 td:nth-child(8){width:9%!important}
 .schedule-col-detail,.schedule-table9317 th.no-print,.schedule-table9317 td.no-print{display:none!important}
 .schedule-place-cell9317 span{display:block;margin-bottom:1mm}
 .schedule-place-cell9317 span:not(:first-child){font-size:7.5pt;color:#333!important}
}

/* Keep the last two timetable controls visible together in one clearly named group. */
.timetable-final-box{min-width:0;margin:0;padding:15px;border:1px solid #d8c9e2;border-radius:11px;background:linear-gradient(135deg,#fff,#faf7fc)}.timetable-final-box>legend{padding:0 7px;color:#604878;font-size:13px;font-weight:700}.timetable-final-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:12px;align-items:end}.timetable-final-grid .field{grid-column:auto!important;margin:0}.timetable-final-grid .field input[type=checkbox]{width:20px;min-height:20px}.timetable-final-grid .field:has(input[type=checkbox]){align-self:center}@media(max-width:600px){.timetable-final-grid{grid-template-columns:1fr}}


/* v9.4.55 | timetable editor: location/status is the true final group. */
#adminForm .timetable-room-field{grid-column:1/-1;min-width:0}
#adminForm .timetable-room-fields{min-width:0}
#adminForm .timetable-final-box{grid-column:1/-1;min-width:0}
#adminForm .timetable-final-grid{grid-template-columns:minmax(0,1.8fr) minmax(180px,.8fr);align-items:start}
#adminForm .timetable-final-grid .field{min-width:0}
#adminForm .timetable-final-grid .schedule-image-url-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#adminForm .timetable-final-grid .schedule-image-url-row input{flex:1 1 220px;min-width:0}
@media(max-width:720px){
 #adminForm .timetable-final-grid{grid-template-columns:minmax(0,1fr)}
 #adminForm .timetable-room-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #adminForm .timetable-room-fields label:first-of-type{grid-column:1/-1}
}

/* v9.4.55 | daily summary browser table: independent column sizes to avoid collisions. */
@media screen{
 .summary-group9317 .table-wrap{overflow-x:auto;max-width:100%}
 .summary-group9317 .schedule-table9317{table-layout:fixed;min-width:1250px;width:100%;font-size:13px;line-height:1.5}
 .schedule-table9317 col.schedule-col-number{width:4%}
 .schedule-table9317 col.schedule-col-code{width:8%}
 .schedule-table9317 col.schedule-col-activity{width:20%}
 .schedule-table9317 col.schedule-col-place{width:21%}
 .schedule-table9317 col.schedule-col-date{width:11%}
 .schedule-table9317 col.schedule-col-time{width:9%}
 .schedule-table9317 col.schedule-col-contact{width:12%}
 .schedule-table9317 col.schedule-col-note{width:9%}
 .schedule-table9317 col.schedule-col-detail{width:6%}
 .summary-group9317 .schedule-table9317 :is(th,td){box-sizing:border-box;min-width:0!important;padding:10px 9px;white-space:normal;overflow-wrap:break-word;word-break:normal;vertical-align:top}
 .summary-group9317 .schedule-table9317 th{font-size:12px;line-height:1.5;text-align:center;white-space:nowrap}
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(1),
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(2){text-align:center}
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(4){text-align:left}
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(5),
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(6){overflow-wrap:normal;word-break:normal}
 .summary-group9317 .schedule-table9317 td:nth-child(7){overflow-wrap:break-word;white-space:normal}
 .summary-group9317 .schedule-code-cell9317{overflow-wrap:anywhere;white-space:normal}
}

/* v9.4.55 | clean single print heading and A4 landscape column order:
   ที่ | ID | กิจกรรม | สถานที่ | วันที่ | เวลา | ผู้ประสานงาน | หมายเหตุ */
@media print{
 .summary-print-heading9317{display:flex!important;justify-content:space-between;align-items:flex-start;gap:7mm;padding:0 0 3mm!important;margin:0 0 3mm!important;border-bottom:1px solid #64748b}
 .summary-print-brand9317{flex:1;min-width:0;text-align:center}
 .summary-print-heading9317 h2{font-size:13pt!important;line-height:1.3!important;font-weight:700;margin:0 0 1mm!important}
 .summary-print-heading9317 p{font-size:8.5pt!important;line-height:1.3!important;margin:0!important}
 .summary-print-report-name9317{font-size:11pt;font-weight:700;line-height:1.3;margin:2mm 0 1mm}
 .summary-print-event-meta9317{font-size:8pt!important}
 .summary-print-heading9317 .summary-print-stamp9317{flex:0 0 35mm;min-width:0!important;font-size:7.5pt!important;line-height:1.35;text-align:right;white-space:normal}
 /* Prevent repeating report/category/activity in an oversized second heading. */
 .summary-report-title9317{display:none!important}
 .summary-group9317.category-filtered>h3{display:none!important}
 .summary-group9317>h3{font-size:9pt!important;line-height:1.25!important;padding:1.5mm 2mm!important;margin:2mm 0 1mm!important;break-after:avoid}
 .summary-group9317>h3 small{font-size:7.5pt!important}
 .summary-group9317 .schedule-table9317{table-layout:fixed;width:100%!important;min-width:0!important;border-collapse:collapse!important;font-size:8.5pt!important;line-height:1.3!important}
 .summary-group9317 .schedule-table9317 th,.summary-group9317 .schedule-table9317 td{box-sizing:border-box;min-width:0!important;overflow-wrap:break-word;word-break:normal;white-space:normal;padding:1.6mm 1.2mm!important;vertical-align:top}
 .summary-group9317 .schedule-table9317 th{font-size:8pt!important;line-height:1.25!important;text-align:center}
 .summary-group9317 .schedule-table9317 col.schedule-col-number{width:4%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-code{width:8%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-activity{width:24%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-place{width:23%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-date{width:11%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-time{width:10%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-contact{width:12%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-note{width:8%!important}
 .summary-group9317 .schedule-table9317 col.schedule-col-detail{width:0!important}
 .summary-group9317 .schedule-table9317 th:nth-child(1),.summary-group9317 .schedule-table9317 td:nth-child(1){width:4%!important;text-align:center}
 .summary-group9317 .schedule-table9317 th:nth-child(2),.summary-group9317 .schedule-table9317 td:nth-child(2){width:8%!important;text-align:center}
 .summary-group9317 .schedule-table9317 th:nth-child(3),.summary-group9317 .schedule-table9317 td:nth-child(3){width:24%!important}
 .summary-group9317 .schedule-table9317 th:nth-child(4),.summary-group9317 .schedule-table9317 td:nth-child(4){width:23%!important;text-align:left!important}
 .summary-group9317 .schedule-table9317 th:nth-child(5),.summary-group9317 .schedule-table9317 td:nth-child(5){width:11%!important}
 .summary-group9317 .schedule-table9317 th:nth-child(6),.summary-group9317 .schedule-table9317 td:nth-child(6){width:10%!important}
 .summary-group9317 .schedule-table9317 th:nth-child(7),.summary-group9317 .schedule-table9317 td:nth-child(7){width:12%!important}
 .summary-group9317 .schedule-table9317 th:nth-child(8),.summary-group9317 .schedule-table9317 td:nth-child(8){width:8%!important}
 .summary-group9317 .schedule-table9317 .schedule-code-cell9317{white-space:normal;overflow-wrap:anywhere;font-weight:700}
 .summary-group9317 .schedule-table9317 .schedule-place-cell9317{text-align:left!important}
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(5),
 .summary-group9317 .schedule-table9317 :is(th,td):nth-child(6){word-break:normal}
 .summary-group9317 .schedule-table9317 thead{display:table-header-group}
 .summary-group9317 .schedule-table9317 tr{break-inside:avoid;page-break-inside:avoid}
}


/* v9.4.58 — Activity selector and date share a responsive row. */
#adminForm .timetable-activity-date-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);align-items:start;gap:14px;min-width:0}
#adminForm .timetable-activity-date-row>.field{grid-column:auto!important;min-width:0;margin:0}
#adminForm .timetable-activity-date-row .timetable-date-picker{min-width:0}
/* v9.4.57 — Text based 24-hour clock is independent of browser locale. */
#adminForm .timetable-time-24 .time-range-endpoint{min-width:0}
#adminForm .timetable-time-24 .time-range-endpoint>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#adminForm .timetable-time-24 input.time-24-input{width:100%;min-width:0;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:.025em;text-align:left;background:#fff}
#adminForm .timetable-time-24 input.time-24-input::placeholder{font-weight:400;letter-spacing:0;color:#8490a0}
#adminForm .timetable-time-24 input.time-24-input:focus{outline:2px solid #9768b0;outline-offset:1px;border-color:#9768b0}
@media(max-width:760px){#adminForm .timetable-activity-date-row{grid-template-columns:minmax(0,1fr)}}
#adminForm .timetable-activity-date-row{grid-template-columns:minmax(0,1.2fr) minmax(360px,1fr)}
#adminForm .timetable-date-range-field{min-width:0;margin:0}
#adminForm .timetable-date-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#adminForm .timetable-date-range-inputs label{display:grid;gap:5px;color:#604878;font-size:12px;font-weight:700}
#adminForm .timetable-date-range-inputs input[type=date]{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d8c9e2;border-radius:9px;background:#fff;color:#26374b;font-size:14px}
#adminForm .timetable-date-range-field small{display:block;margin-top:6px;color:#718096;line-height:1.5}
#adminForm .timetable-clear-date-range{margin-top:5px;padding:3px 8px;font-size:12px}
@media(max-width:760px){#adminForm .timetable-activity-date-row{grid-template-columns:minmax(0,1fr)}#adminForm .timetable-date-range-inputs{grid-template-columns:minmax(0,1fr)}}

@media screen { #scoreTable9317 .score-outcome9317{display:block;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.45;font-weight:700;color:var(--theme-heading,#21344d);margin-bottom:6px} }

@media screen { #scoreTable9317 .score-absent-label{display:flex;align-items:center;gap:6px;white-space:normal;font-size:13px;margin-bottom:8px} #scoreTable9317 .score-absent-label input{width:auto;min-width:0!important;flex:none} }

@media screen {
 #scoreTable9317{min-width:1150px} #scoreTable9317 td{vertical-align:middle;padding:9px 10px;line-height:1.45}
 #scoreTable9317 .score-row-absent{background:rgba(100,116,139,.06);color:var(--theme-muted,#64748b)}
 #scoreTable9317 .score-status-select{min-width:118px;font-size:13px;min-height:38px}
 #scoreTable9317 .score-status-badge{display:inline-block;border-radius:999px;padding:4px 10px;font-size:13px;white-space:nowrap;background:#e9f5ed;color:#17603a}
 #scoreTable9317 .score-status-badge.is-absent{background:#eef0f3;color:#475569}
 #scoreTable9317 .score-empty{color:#64748b} #scoreTable9317 .score-outcome9317{margin:0;font-size:14px}
 #scoreTable9317 .score-adjust{margin-top:4px} #scoreTable9317 .score-adjust summary{cursor:pointer;color:var(--theme-link,#315e91);font-size:12px;width:max-content}
 #scoreTable9317 .score-adjust select{margin-top:5px;min-height:38px} #scoreTable9317 .score-note{min-width:130px}
}
