.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.calendar-page>.page-head{align-items:flex-start;flex-wrap:wrap}.calendar-page>.page-head .actions{flex-wrap:wrap}
.calendar-toolbar{margin:18px 0}.calendar-sheet-viewport{overflow:auto;background:#fff;border:1px solid #d6dce4;padding:12px}
/* Keep the reference's single sheet and column order at every viewport width. */
.calendar-sheet{background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;padding:0;min-width:1047px;width:100%;font-size:10px}
.calendar-sheet table{border-collapse:collapse;table-layout:fixed;width:100%;text-align:center;color:#000}
.calendar-sheet th,.calendar-sheet td{border:1px solid #000;padding:0;letter-spacing:0;line-height:1.15;vertical-align:middle}
.calendar-sheet tbody tr:hover{background:transparent}.calendar-sheet tr:last-child td{border-bottom:1px solid #000}
.calendar-sheet-title{text-align:center;margin:0 0 14px}
.calendar-sheet-title h2{border:2px solid #000;font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,2.55vw,46px);font-weight:900;line-height:1.15;color:#000;letter-spacing:0;padding:7px 4px;margin:0 0 18px;white-space:nowrap}
.calendar-sheet-title p{border:2px solid #000;padding:2px 5px;margin:0;font-size:14px;font-weight:700;line-height:1.15}
.calendar-identity-grid th,.calendar-identity-grid td{height:18px;font-size:10px;text-align:left;text-transform:uppercase;font-weight:700;padding:1px 3px;white-space:normal;overflow-wrap:anywhere}
.calendar-identity-grid th{background:#315698;color:#fff}.calendar-identity-grid .calendar-address,.calendar-identity-grid .calendar-modular-value{background:#d9e2f3}
.calendar-identity-grid .calendar-modular-heading{text-align:center;font-size:9px}.calendar-identity-grid .calendar-shift-cell{padding:0}
.calendar-shift{display:grid;grid-template-columns:10% 40% 10% 40%;align-items:stretch;height:100%;min-height:17px}.calendar-shift>span{padding:1px 3px;display:flex;align-items:center}.calendar-shift-mark{justify-content:center;background:#d9e2f3;border-right:1px solid #000}.calendar-shift-mark:nth-child(3){border-left:1px solid #000}
.calendar-grid-wrap{overflow:visible;margin-top:28px}.calendar-grid th,.calendar-grid td{font-size:9px;height:17px}
.calendar-grid thead th{background:#315698;color:#fff;text-align:center;font-size:9px;font-weight:700}
.calendar-grid th:first-child{width:7.3%}.calendar-grid .calendar-sum{width:2.1%}
.calendar-grid tbody th{background:#315698;color:#fff;text-align:left;padding:0 3px;text-transform:uppercase;font-size:9px;font-weight:700;white-space:nowrap}
.calendar-grid .calendar-sum{background:white;color:#000;font-weight:400}.calendar-grid thead .calendar-sum,.calendar-grid tbody td:last-child{background:#315698;color:#fff;font-weight:700}
.calendar-grid .calendar-day{display:block;width:100%;height:17px;min-width:0;border:0;padding:0;border-radius:0;font-family:Arial,Helvetica,sans-serif;font-size:8px;line-height:1;font-weight:700;position:relative;cursor:pointer}
.calendar-day:focus-visible{outline:3px solid #000;outline-offset:-3px;z-index:1}.calendar-day:hover{box-shadow:inset 0 0 0 2px #111}.calendar-day:disabled{opacity:1;cursor:default}
.calendar-day.has-note:after{content:'';position:absolute;right:1px;top:1px;border-left:4px solid transparent;border-top:4px solid #a84d35}
.calendar-invalid{background:#000}
.calendar-grid tfoot th{border:0;padding:2px 5px;text-align:right;font-size:11px;background:#fff;color:#000;font-weight:700}.calendar-grid tfoot td{background:#315698;color:white;font-weight:700;font-size:10px}
.calendar-bottom{display:grid;grid-template-columns:41.4% 58.6%;align-items:stretch;gap:0;margin:0}
.calendar-reference-block{display:grid;grid-template-columns:17.63% 82.37%;min-width:0;border:1px solid #000;border-top:0}
.calendar-legend-title{display:flex;align-items:center;justify-content:center;text-transform:uppercase;font-size:11px;letter-spacing:0;font-weight:700;margin:0;border-right:1px solid #000}
.calendar-reference-content{min-width:0}.calendar-period-table th,.calendar-period-table td{font-size:8px;height:14px;padding:1px 0;white-space:nowrap}
.calendar-period-table thead th{background:#fff;color:#000;text-align:center;font-weight:800;font-size:7px}
.calendar-period-table tbody th{font-weight:700;color:inherit;background:transparent;font-size:8px}.calendar-period-table tbody tr:hover{background:inherit}
.calendar-period-table td.calendar-empty-periods{height:auto;padding:9px 6px;white-space:normal;line-height:1.5;color:#425670;background:#f4f7fb;text-align:center}
.calendar-period-table .calendar-period-hours{font-size:8px}.calendar-hours-total{font-weight:800}.calendar-period-table tfoot th,.calendar-period-table tfoot td{font-size:7px;background:#fff;color:#000;font-weight:700}
.calendar-format-key{display:grid;grid-template-columns:54% 46%;align-items:stretch}
.calendar-legend{display:grid;grid-template-columns:1fr}.calendar-legend>div{display:grid;grid-template-columns:14.8% 85.2%;align-items:stretch;min-height:14px}
.calendar-legend>div>span:first-child{display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;border-right:1px solid #000;border-bottom:1px solid #000}
.calendar-legend-label{text-transform:uppercase;font-size:8px;padding:1px 2px;line-height:1.2;display:flex;align-items:center;white-space:nowrap}
.calendar-hours-box{border-left:1px solid #000;min-width:0}.calendar-hours-box h3{margin:0;border-bottom:1px solid #000;padding:1px 0;font-size:8px;text-transform:uppercase;line-height:1.2;text-align:center;font-weight:400;white-space:nowrap}
.calendar-hours{margin:0;padding:1px 3px}.calendar-hours>div{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:8px;line-height:1.5;text-transform:uppercase}.calendar-hours dd{margin:0;min-width:22%;text-align:center}
.calendar-signature-section{display:flex;align-items:flex-end;min-width:0;padding:0 10% 2px;break-inside:avoid}
.calendar-signatures{display:grid;grid-template-columns:1fr 1fr;gap:25%;align-items:end;width:100%}
.calendar-signature{text-align:center;min-width:0;position:relative}.calendar-signature-image{height:80px;display:flex;align-items:center;justify-content:center;margin:0 0 5px}
.calendar-signature-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}.calendar-signature-placeholder{visibility:hidden}.calendar-signature-pending{font-size:9px;color:#886428}
.calendar-signature-line{border-top:1px dotted #333}.calendar-signer{font-size:9px;line-height:1.2;margin:5px 0 0;overflow-wrap:anywhere}
.calendar-signature-role{font-size:8px;margin:6px -12px 0;line-height:1.2;color:#000}.calendar-signature-actions{justify-content:center;margin-top:14px}.calendar-signature-stale{font-size:11px;line-height:1.5;color:#886428;background:#fff8e9;padding:8px;border-radius:4px}
.calendar-sheet-viewport.is-expanded .calendar-sheet{min-width:1600px}.calendar-sheet-viewport.is-expanded .calendar-day{height:24px;font-size:11px}.calendar-sheet-viewport.is-expanded .calendar-grid th,.calendar-sheet-viewport.is-expanded .calendar-grid td{font-size:11px}.calendar-sheet-viewport.is-expanded .calendar-period-table th,.calendar-sheet-viewport.is-expanded .calendar-period-table td{font-size:10px;height:20px}
.calendar-count-note{font-size:11px;color:#6a788c;line-height:1.6;margin:12px 0 18px}.calendar-warning{border:1px solid #ebd9a6;border-left:4px solid #b58b2e;background:#fff9e8;padding:11px 14px;font-size:12px;line-height:1.6;color:#775b21;border-radius:5px}
.calendar-signature-toolbar{margin-top:16px}.calendar-signature-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.calendar-maintenance-panel{margin-top:20px;border:1px solid #d6dce4;border-radius:8px;background:#fff;padding:16px}.calendar-maintenance-panel>summary{font-size:13px;font-weight:600;cursor:pointer}.calendar-maintenance-panel>.card-head{margin-top:22px}.calendar-maintenance-panel .calendar-period-maintenance{table-layout:auto;min-width:750px}.calendar-period-maintenance th,.calendar-period-maintenance td{padding:5px;font-size:11px;border:1px solid #777}.calendar-period-maintenance .calendar-period-hours{font-size:11px}.calendar-director-signature{max-width:320px;border:1px dashed #bfcbd9;padding:14px}.calendar-director-signature .calendar-signature-placeholder{visibility:visible;color:#8a97aa;font-size:11px}
.calendar-preview-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border-bottom:1px solid #dce4ec;padding:12px 24px;font-size:12px;position:sticky;top:0;z-index:10}
body.calendar-preview{background:#e8ebef!important}.calendar-preview .content{max-width:none!important;padding:20px 0!important;overflow:auto}.calendar-preview .calendar-sheet{box-sizing:border-box;width:277mm!important;min-height:190mm;min-width:0;max-width:none;margin:0 auto;background:white;box-shadow:0 3px 18px #0002;overflow:visible}
.calendar-preview #calendar-preview-controls .btn{display:inline-flex!important}.calendar-preview .calendar-sheet button.calendar-day{cursor:default}
@media(max-width:700px){.calendar-filters .actions{width:100%}.calendar-sheet-viewport{padding:6px}.calendar-signature-toolbar>div{width:100%}}
@page school-calendar{size:A4 landscape;margin:10mm}
@media print{
 .calendar-page{page:school-calendar}.calendar-page>.page-head,.calendar-toolbar,.calendar-review-notes,.calendar-maintenance-panel,.calendar-filters,.calendar-preview-controls{display:none!important}
 .calendar-sheet-viewport{border:0;padding:0;overflow:visible;background:#fff}.calendar-sheet,.calendar-sheet-viewport.is-expanded .calendar-sheet{min-width:0;width:100%;border:0;padding:0;font-size:9px;box-shadow:none;break-inside:avoid}
 .calendar-sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .calendar-sheet-title{margin-bottom:12px}.calendar-sheet-title h2{font-size:28px;line-height:1.15;padding:5px 2px;margin-bottom:16px}.calendar-sheet-title p{font-size:12px;padding:2px}
 .calendar-identity-grid th,.calendar-identity-grid td{height:16px;padding:1px 2px;font-size:9px}.calendar-identity-grid .calendar-modular-heading{font-size:8px}.calendar-identity-grid .calendar-shift-cell{padding:0}.calendar-shift{min-height:15px}
 .calendar-grid-wrap{margin-top:26px}.calendar-grid th,.calendar-grid td,.calendar-sheet-viewport.is-expanded .calendar-grid th,.calendar-sheet-viewport.is-expanded .calendar-grid td{height:16px;font-size:9px}
 .calendar-grid .calendar-day,.calendar-sheet-viewport.is-expanded .calendar-day{height:16px;font-size:8px}.calendar-grid tfoot th{font-size:11px;padding:2px 4px}
 .calendar-period-table th,.calendar-period-table td,.calendar-sheet-viewport.is-expanded .calendar-period-table th,.calendar-sheet-viewport.is-expanded .calendar-period-table td{height:14px;font-size:8px;padding:1px 0}.calendar-period-table thead th{font-size:7px}.calendar-period-table .calendar-period-hours{font-size:8px}
 .calendar-signature-actions,.calendar-signature-stale{display:none!important}.calendar-signature-image{height:80px}.calendar-signature-role{font-size:8px}
 .calendar-preview .content{padding:0!important;overflow:visible!important}.calendar-preview .calendar-sheet{box-shadow:none;margin:0;min-height:0;width:100%!important}body.calendar-preview{background:white!important}
}
