:root{--ink:#17342c;--muted:#677971;--green:#176d54;--light:#edf5ef;--line:#dce6df;--bg:#f4f7f3;--danger:#b13939;--shadow:0 8px 30px #153a2510;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button{background:white;border:1px solid #ccdcd2;border-radius:7px;padding:9px 14px;color:var(--ink);cursor:pointer;white-space:nowrap}button:hover{background:var(--light);border-color:var(--green)}button:disabled{opacity:.55;cursor:wait}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{color:var(--danger);border-color:#ecc9c9}button.text-button{border:0;background:none;padding:0;color:var(--green)}button.small{padding:5px 9px;font-size:12px}.full{width:100%}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #ccdcd2;border-radius:6px;background:white;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #76a992;outline-offset:1px}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}label{display:block;line-height:1.5;font-weight:500;margin:0 0 14px}label input,label select,label textarea{display:block;margin-top:6px}small,.hint{font-size:12px;color:var(--muted);line-height:1.7}.hint{margin:8px 0 16px}.muted{color:var(--muted);font-weight:400;line-height:1.7}h1{font-size:28px;letter-spacing:.02em;margin:5px 0 9px}h2{font-size:18px;margin:0}h3{font-size:15px;margin:0}p{line-height:1.7}.eyebrow{color:var(--green);font-size:12px;letter-spacing:.12em;margin:0 0 5px}.brand-mark{display:flex;align-items:center;justify-content:center;width:45px;height:45px;background:var(--green);color:white;border-radius:10px;font-weight:700;font-size:17px;letter-spacing:.05em}.app-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 4vw;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink)}.brand strong{font-size:17px}.brand small{display:block;margin-top:4px}.account{display:flex;align-items:center;gap:18px;font-size:13px}.main-nav{display:flex;gap:8px;padding:12px 4vw;background:white;border-bottom:1px solid var(--line)}.main-nav button{border:0;background:transparent;color:var(--muted)}.main-nav button.active{background:var(--light);color:var(--green);font-weight:600}.workspace{max-width:1520px;margin:auto;padding:28px 4vw 45px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.page-heading p{margin:0}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.steps{display:flex;gap:15px;align-items:center;padding:15px 20px;background:#e9f1eb;border-radius:9px;margin-bottom:22px;color:var(--muted)}.steps .current{color:var(--green);font-weight:700}.arrange-layout{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(480px,1.3fr);gap:22px;align-items:start}.card{background:white;border:1px solid var(--line);padding:22px;border-radius:12px;box-shadow:var(--shadow);margin-bottom:18px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.divider{padding-top:20px;margin-top:18px;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid.triple{grid-template-columns:1fr 1fr 1fr}.task-row{border:1px solid var(--line);border-left:3px solid #82a78b;padding:14px;border-radius:7px;margin-bottom:12px}.task-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.task-bottom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.task-bottom .muted{font-size:12px}.special-block{border:1px solid #e5dfc3;background:#fcfbf4;padding:14px;border-radius:8px;margin-top:20px}.special-block .card-heading{margin-bottom:5px}.badge{display:inline-block;background:#edf3ef;color:#527b62;border-radius:5px;padding:3px 8px;font-size:12px}.badge.warn{background:#fff2d8;color:#906018}.badge.error{background:#fbeeee;color:#a34848}.notice{padding:12px 16px;border:1px solid #cee0d4;background:#eef6f0;color:#27553c;border-radius:7px;margin:12px 0;line-height:1.7}.notice.error{background:#fff1ef;border-color:#edccc8;color:#993d35}#message{position:sticky;top:8px;z-index:5;box-shadow:var(--shadow)}.empty{padding:50px 18px;line-height:2;text-align:center;color:var(--muted);background:#f9fbf8;border:1px dashed var(--line);border-radius:7px}.preview-card{min-height:400px}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}th{background:#f0f5f1;color:#5b7263;font-size:12px;font-weight:600}th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle}td.wrap{white-space:normal;min-width:150px;max-width:260px;line-height:1.6}tr:hover td{background:#fafcf9}td strong{color:var(--green)}.table-actions{display:flex;gap:5px;flex-wrap:wrap;min-width:180px;max-width:270px}.toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:16px}.toolbar label{min-width:140px;margin:0}.toolbar .search-field{flex:1;min-width:220px}.toolbar button{height:42px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.stat{padding:16px 18px;background:#edf4ee;border-radius:8px}.stat strong{display:block;font-size:25px;color:var(--green);margin-top:5px}.stat small{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:12px;padding:0;width:min(740px,94vw);max-height:88vh;color:var(--ink);box-shadow:0 20px 90px #001e2240}dialog::backdrop{background:#102b2860}.modal-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;background:#f3f7f2;border-bottom:1px solid var(--line)}.modal-heading button{font-size:23px;border:0;padding:0 7px;background:none}#modal-body{padding:22px;overflow:auto;max-height:calc(88vh - 75px)}.modal-error{position:sticky;top:0;z-index:1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.picker-list{max-height:42vh;overflow:auto;border:1px solid var(--line);border-radius:7px}.picker-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #edf1ed;margin:0;font-weight:400}.picker-item input{width:17px;height:17px;margin:0;flex-shrink:0}.picker-item small{margin-left:auto}.picker-summary{margin:10px 0;color:var(--green)}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:auto;margin:0}.log-json{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f3;padding:14px;font-size:12px;max-height:400px;overflow:auto}.app-footer{text-align:center;color:#87998e;font-size:12px;padding:20px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e8f1e8,#f7f9f2)}.login-card{width:min(440px,92vw);padding:36px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);margin:24px}.login-card .brand-mark{margin-bottom:20px}.login-card h1{font-size:24px}.login-card form{margin-top:24px}.login-card .full{margin-top:18px}.report-page{padding:35px;max-width:1000px;margin:auto;background:white}.report-page article{margin-top:25px}.report-page table{white-space:normal}.report-page th{color:#333}.money{font-variant-numeric:tabular-nums}button.linklike{border:0;background:none;padding:0;color:var(--green);text-align:left}.detail-title{margin-top:24px}.preview-summary{padding:13px;background:#f3f7f1;border-radius:8px;margin-bottom:14px;font-size:13px;line-height:1.9}.submit-panel{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.field-help{display:block;margin-top:-6px;margin-bottom:15px}.loading{opacity:.65}.batch-selected td{background:#edf5ef}#batch-details{scroll-margin-top:20px}.reason{overflow-wrap:anywhere;white-space:normal}.mobile-note{display:none}[hidden]{display:none!important}
@media(max-width:1100px){.arrange-layout{grid-template-columns:1fr}.preview-card{min-height:280px}.workspace{padding:22px 3vw}.form-grid.triple{grid-template-columns:1fr 1fr 1fr}.card{padding:18px}}
@media(max-width:650px){.app-header{padding:15px;align-items:start;gap:8px}.brand strong{font-size:14px}.brand small{font-size:11px}.account{gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:125px;font-size:11px}.main-nav{padding:8px;gap:2px;justify-content:space-between}.main-nav button{font-size:12px;padding:10px 8px}.page-heading{align-items:start;flex-direction:column;gap:12px}h1{font-size:24px}.steps{padding:12px;gap:10px;font-size:11px}.card{padding:15px}.form-grid{grid-template-columns:1fr}.form-grid.triple{grid-template-columns:1fr 1fr 1fr;gap:8px}.stat-grid{grid-template-columns:1fr 1fr}.stat{padding:12px}.toolbar label{flex:1}.toolbar .search-field{flex-basis:100%}.task-bottom{gap:7px}#modal-body{padding:16px}.report-page{padding:15px}.modal-heading{padding:14px 16px}.special-block .card-heading{align-items:start}.special-block h3{padding-top:9px}}
@media print{.no-print{display:none!important}.report-page{padding:0;max-width:none}.report-page table{font-size:12px}th,td{padding:9px;border:1px solid #999}thead{display:table-header-group}tr{break-inside:avoid}article{margin:0!important}body{color:#000;background:white}@page{size:A4;margin:18mm}}
.system-nav{flex-wrap:wrap}.system-nav a{padding:10px 14px;border-radius:7px;color:var(--muted)}.system-nav a.active{background:var(--light);color:var(--green);font-weight:600}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.module-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{display:block;color:var(--ink)}.module-card:hover{border-color:var(--green)}.module-icon{display:inline-block;background:var(--light);color:var(--green);border-radius:9px;padding:12px;margin-bottom:17px;font-weight:600}.module-card p{color:var(--muted);min-height:48px}.button-link{display:inline-block;border:1px solid #ccdcd2;background:white;padding:9px 14px;border-radius:7px;font-size:14px;white-space:nowrap}.button-link.small{font-size:12px;padding:5px 9px}.identity-strip{display:flex;gap:15px;flex-wrap:wrap;padding:14px;background:var(--light);border-radius:7px}.compact-stat{font-size:19px!important;overflow-wrap:anywhere}.stat strong{overflow-wrap:anywhere}.inline-manage{display:flex;gap:6px;flex-wrap:wrap;min-width:240px}.inline-manage input{max-width:180px;font-size:12px;padding:6px}.pagination{margin-top:16px}.workflow-list{line-height:2;padding-left:20px}#registry-import,#profile-form{scroll-margin-top:20px}#credential-output{font-family:monospace;font-size:13px}#copy-status{margin-left:10px;color:var(--green)}.module-grid form{margin-top:18px}
@media(max-width:800px){.module-grid,.module-grid.two{grid-template-columns:1fr}.system-nav{justify-content:flex-start}.system-nav a{font-size:12px;padding:8px 9px}}

/* Native checkboxes allow direct selection on desktop and touch screens. */
.profile-choices{min-width:0;border:0;padding:0;margin:0 0 14px}.profile-choices legend{padding:0;font-weight:500;line-height:1.5;margin-bottom:6px}.profile-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:2px 8px;padding:6px;border:1px solid #ccdcd2;border-radius:6px;max-height:232px;overflow:auto}.profile-choice-list label{display:flex;align-items:center;gap:8px;margin:0;padding:10px 6px;cursor:pointer;border-radius:4px;font-weight:400;overflow-wrap:anywhere}.profile-choice-list label:hover{background:var(--light)}.profile-choice-list label:has(input:checked){background:var(--light);color:var(--green)}.profile-choice-list input[type=checkbox]{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--green)}

.venue-choice-form{margin-top:8px;min-width:160px}.venue-choice-form button{min-height:44px}.venue-quota-fields{margin:8px 0}.venue-quota-fields>.hint{grid-column:1/-1}

.venue-demand-row{padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:7px}.venue-demand-row strong{display:block;margin-bottom:8px}.venue-demand-row label{margin-bottom:0}

.record-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:20px 0}.record-actions section,.record-actions details{padding:16px;border:1px solid var(--line,#dbe5df);border-radius:10px}.record-actions h3{margin:0 0 12px}.record-actions summary{cursor:pointer;font-weight:600}.record-actions details .actions{margin-top:12px}#venue-summary{margin:24px 0}#venue-summary h3{margin-bottom:12px}

.fee-uniform-controls{align-items:end}.fee-uniform-controls button{margin-bottom:14px}

/* Timetable: scroll inside each weekly grid; click selection also works on touch screens. */
.tt-weeks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:18px 0}
.tt-weeks .card{min-width:0;margin:0}.tt-grid{min-width:650px;table-layout:fixed;width:100%}.tt-grid th:first-child{width:80px}.tt-grid td{padding:4px;vertical-align:top}.tt-grid th{white-space:nowrap}
.tt-slot{width:100%;min-height:85px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:var(--surface,#fff);white-space:normal;border:1px solid #dfe4eb;touch-action:manipulation}
.tt-slot[draggable=true]{cursor:grab}.tt-slot:disabled{opacity:.5;cursor:default}.tt-selected{outline:3px solid #2563eb;outline-offset:-3px;background:#eff6ff!important}.tt-adjusted{border-color:#d97706;background:#fffbeb}.tt-slot small{font-size:11px;color:#a16207}#tt-import{margin-top:18px}#tt-import summary{font-weight:700;cursor:pointer;font-size:18px}#tt-modal{max-width:780px}
@media(max-width:1200px){.tt-weeks{grid-template-columns:1fr}}
@media print{.tt-weeks{display:block}.tt-slot{min-height:50px}}

.tt-weeks{grid-template-columns:minmax(0,1fr)}.tt-weeks>[hidden]{display:none!important}
.tt-school th{font-size:12px;text-align:center}.tt-school .tt-class-column{position:sticky;left:0;z-index:2;width:110px;background:#f4f7fb;box-shadow:2px 0 3px #e2e8f0}.tt-school td{padding:2px}.tt-school .tt-slot{min-height:58px;padding:4px 2px;font-size:12px}.tt-school .tt-slot span{font-size:11px}.tt-school .tt-slot small{font-size:10px}.tt-school .tt-profile-issue{border-color:#dc2626;background:#fef2f2}.tt-profile-issue small{color:#b91c1c}#tt-history-panel>summary{font-size:18px;font-weight:700;cursor:pointer}
.tt-daily{min-width:900px!important;table-layout:fixed}.tt-daily .tt-slot{min-height:65px}.tt-readonly .tt-slot:disabled{opacity:1;cursor:default}.matrix-editable{cursor:pointer}.matrix-editable:hover,.matrix-editable:focus{background:#eff6ff;outline:1px solid #93c5fd}.tt-slip{break-inside:avoid;margin:24px 0}

.tt-slip-highlight th,.tt-slip-highlight td{background:#fff1cf!important;font-weight:600}.tt-teacher-slip td{height:32px}.tt-slip h1{font-size:24px}.tt-slip .hint{font-size:12px}
@media print{.tt-slip{break-inside:avoid;break-after:page;margin:0}.tt-slip:last-child{break-after:auto}.tt-slip-highlight th,.tt-slip-highlight td{print-color-adjust:exact;-webkit-print-color-adjust:exact;background:#fff1cf!important}.tt-teacher-slip td{height:30px}}

.tt-compact-notice{table-layout:fixed;width:100%;font-size:12px}.tt-compact-notice th,.tt-compact-notice td{white-space:normal;overflow-wrap:anywhere;padding:9px 6px}.tt-compact-notice th:first-child{width:105px}.tt-compact-notice td{height:42px}.tt-compact-notice td.tt-slip-highlight{background:#fff1cf!important;font-weight:600}.tt-notice-page h1{font-size:22px}.tt-notice-page .tt-slip{margin:20px 0}
@media print{.tt-notice-page .tt-slip{break-after:auto;break-inside:avoid;margin:0 0 14mm}.tt-notice-page .table-wrap{overflow:visible}.tt-notice-page table{font-size:10px}.tt-notice-page th,.tt-notice-page td{padding:6px 4px}.tt-notice-page .tt-compact-notice th:first-child{width:85px}.tt-notice-page .tt-slip-highlight{print-color-adjust:exact;-webkit-print-color-adjust:exact}.tt-notice-page .tt-compact-notice{min-width:0}}

.tt-slot.tt-available{background:#dcfce7;border:2px solid #22c55e}.tt-slot.tt-leave-alert,.tt-compact-notice td.tt-leave-alert{background:#fee2e2!important;color:#991b1b;border:2px solid #ef4444}.tt-slot.tt-selected{outline:3px solid #2563eb}.tt-toast{position:fixed;z-index:60;bottom:18px;right:18px;max-width:min(42rem,calc(100vw - 36px));box-shadow:0 6px 24px #0002;margin:0}.tt-schedule-print .tt-print-sheet{margin:24px 0}.tt-schedule-print table{min-width:0}.tt-schedule-print .tt-print-sheet h1{font-size:24px}
@media print{.tt-print-sheet{break-after:page;break-inside:avoid;margin:0!important}.tt-print-sheet:last-child{break-after:auto}.tt-schedule-print table{font-size:10px}.tt-schedule-print td{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Compact school board and accessible searchable teacher selectors. */
.tt-school{width:100%;min-width:0!important;table-layout:fixed;font-size:10px}.tt-school .tt-class-column{width:76px;min-width:0}.tt-school th,.tt-school td{padding:1px!important;white-space:normal!important}.tt-school .tt-slot{min-height:28px;padding:2px 0;font-size:11px;width:100%;min-width:0}.tt-school .tt-slot strong{font-size:11px}.tt-school thead th{font-size:9px}.tt-focus-teacher{outline:3px solid #245dcc;outline-offset:-3px;background:#eaf1ff}.tt-section-start{border-left:4px double #394655!important}.tt-dispatched{text-align:right;font-size:12px;margin:8px 0}.tt-slip h1{text-align:center}.tt-slip table{table-layout:fixed;width:100%}.tt-slip td div{line-height:1.6}#tt-cover-report>summary,#tt-history-panel>summary,#tt-import>summary{font-size:18px;font-weight:700}
.teacher-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.teacher-combobox{position:relative;min-width:180px}.teacher-combobox input{width:100%}.teacher-combobox-menu{position:absolute;z-index:1000;top:100%;left:0;right:0;max-height:260px;overflow:auto;background:white;border:1px solid #b8c5d2;box-shadow:0 4px 12px #0002}.teacher-combobox-menu button{display:block;width:100%;border:0;border-radius:0;text-align:left;padding:8px 12px}.teacher-combobox-menu button:hover,.teacher-combobox-menu button.active{background:#e8f0ff}
.tt-school .tt-slot{overflow:hidden}.tt-school .tt-slot>*{pointer-events:none}.tt-school td{overflow:hidden}@media(max-width:800px){.tt-school{min-width:1050px!important}}
.tt-schedule-print .tt-compact-notice th,.tt-schedule-print .tt-compact-notice td,.tt-notice-page .tt-compact-notice th,.tt-notice-page .tt-compact-notice td{text-align:center;vertical-align:middle}
/* Printed slips remain readable and have room between recipients. */
.tt-notice-page .tt-slip{margin:24px 0 40px}.tt-notice-page .tt-slip h1{font-size:24px}.tt-notice-page .tt-compact-notice{font-size:16px}.tt-notice-page .tt-compact-notice td{height:58px}.tt-notice-page .tt-compact-notice td div{font-size:16px;line-height:1.6}.tt-notice-page .tt-dispatched{font-size:13px}
@media print{.tt-notice-page .tt-slip{margin:0 0 20mm;break-inside:avoid}.tt-notice-page .tt-slip h1{font-size:20px}.tt-notice-page table,.tt-notice-page th,.tt-notice-page td{font-size:13px}.tt-notice-page th,.tt-notice-page td{padding:9px 4px}.tt-notice-page .tt-compact-notice td div{font-size:14px;line-height:1.65}.tt-notice-page .tt-dispatched{font-size:11px}}

/* Keep the mobile timetable still between taps while the selection hint changes. */
@media(max-width:720px){#tt-selection{display:block;flex:1 1 100%;min-width:0;height:3em;line-height:1.5;overflow:auto}}

/* Adjustment labels share the course detail line, keeping ordinary cell heights stable. */
.tt-slot .tt-change-tag{display:inline-block;white-space:nowrap;vertical-align:baseline;margin-left:4px;font-size:11px;line-height:1;font-weight:normal;color:inherit}
.tt-slot .tt-slot-detail{display:flex;align-items:baseline;justify-content:center;max-width:100%;min-width:0;white-space:nowrap}.tt-slot-detail .tt-person-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tt-slot-detail .tt-change-tag{flex:0 0 auto}

.tt-related-week+.tt-related-week{margin-top:18px}
/* Extended service uses shared admin layout, with registration state kept in each cell. */
.sub-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.sub-nav .active{background:var(--primary,#196b56);color:white}.es-register-fieldset{border:0;padding:0;margin:0;min-width:0}.es-register-table{min-width:760px}.es-register-table td{min-width:205px;vertical-align:top}.es-register-table p{margin:0 0 6px}.es-register-table small{display:block;margin-top:4px}.es-no-class{background:#f2f4f5;color:#7b8481}.es-replaced{background:#fff1f1;color:#b42318}.es-missing{color:#a5681c;background:#fffbeb}.es-warning{color:#b42318;font-size:12px}.es-overview{min-width:880px;font-size:13px}.es-overview th,.es-overview td{padding:9px 6px;text-align:center}.es-overview small{display:block}.es-template-slot{width:100%;text-align:left;min-height:56px}.es-template-slot small{display:block}.es-day-count{display:inline-block;margin:4px 12px 4px 0}.inline-form{display:inline-block;margin:0 0 0 8px}#es-template-dialog{width:min(560px,94vw)}#es-template-dialog label{display:block;margin:12px 0}#es-template-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between}.es-register-table .teacher-combobox-menu{max-height:210px}

.es-register-table td{position:relative}@media(max-width:650px){.es-register-table{min-width:0}.es-register-table thead{display:none}.es-register-table tbody,.es-register-table tr,.es-register-table th,.es-register-table td{display:block;width:100%;min-width:0;white-space:normal}.es-register-table tr{border:1px solid var(--line);border-radius:8px;margin-bottom:14px;overflow:visible}.es-register-table td::before{content:attr(data-es-label);display:block;font-weight:600;margin-bottom:4px}.es-register-table .teacher-combobox{min-width:0}.es-register-table th{padding:10px}.es-register-table td:last-child{border-bottom:0}}
.es-overview-note{white-space:normal;overflow-wrap:anywhere;min-width:100px;max-width:300px;text-align:left!important}.es-template-matrix{font-size:12px}.es-delayed-matrix{min-width:1180px}.es-morning-matrix{min-width:760px}.es-template-matrix th,.es-template-matrix td{padding:5px}.es-template-matrix .es-template-slot{font-size:12px;padding:5px 6px;min-height:48px;white-space:normal}.es-template-slot+.es-template-slot{margin-top:4px}.es-template-week{display:inline-block;margin-right:5px;padding:0 4px;border-radius:3px;background:#e6eefb;color:#1d4e89}.es-template-week.es-even{background:#e7f3ec;color:#176d54}.es-stat-dates{white-space:normal;line-height:1.8;min-width:190px}.es-stat-date{cursor:help;color:var(--muted);white-space:nowrap}.es-stat-low{color:var(--danger);font-weight:700;border-bottom:1px dashed var(--danger)}
.es-template-matrix .es-template-slot{display:block}

.es-date-tooltip{position:fixed;z-index:10000;pointer-events:none;max-width:calc(100vw - 16px);padding:7px 11px;border-radius:6px;background:#17342c;color:#fff;box-shadow:0 3px 12px #0003;font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}

.es-overview-print-title{display:none}.es-overview-recorder{font-weight:400;color:var(--ink);white-space:normal;overflow-wrap:anywhere}.es-overview-notes td{background:#fffdf2;line-height:1.6}

.es-print-sheet-week{display:none}

/* Candidate teacher workload on the picked lesson's date/half-day, before swapping. */
.tt-slot .tt-teacher-load{display:block;color:#166534;font-size:11px;line-height:1.3;margin-top:2px;font-weight:500;white-space:normal}
.tt-teacher-load .tt-load-short{display:none}.tt-school .tt-teacher-load{font-size:9px;line-height:1.1;margin-top:1px}.tt-school .tt-load-full{display:none}.tt-school .tt-slot .tt-load-short{display:block;font-size:9px}
