:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0b1824;color:#e2edf7}
*{box-sizing:border-box}body{margin:0}main{max-width:1600px;margin:auto;padding:20px;min-width:0}header,.controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}header{justify-content:space-between;color:#a9bfd3}a{color:#86bfff}h1{margin-bottom:4px}.muted,#status,.table-hint{color:#a9bfd3}button{font:inherit;padding:10px 14px;border:1px solid #426587;border-radius:8px;background:#142b3e;color:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:default}#period{min-width:170px;text-align:center}.table-hint{font-size:13px;margin:12px 0}.unpublished-cell{background:#151f29;text-align:center}.roster-table{min-width:1080px}.roster-table .roster-corner,.roster-employee{width:210px}
@media(max-width:600px){main{padding:12px}.roster-table .roster-corner,.roster-employee{width:145px;padding:9px}.roster-table{min-width:900px}.controls{gap:6px}#period{font-size:14px}}
@media print{@page{size:A4 landscape;margin:8mm}:root{color-scheme:light;background:white;color:#111}body,main{background:white!important;color:#111!important;display:block!important;max-width:none!important;width:100%!important;padding:0!important}header,.controls button,#status,.table-hint{display:none!important}#period{display:block;text-align:left;color:#111}.muted{color:#333}#schedule,.roster-table-shell{display:block!important;width:100%!important;max-width:none!important;overflow:visible!important;border:0!important}.roster-table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse!important}.roster-table th,.roster-table td{position:static!important;background:white!important;border:1px solid #666!important;color:#111!important;padding:3px!important;height:auto!important}.roster-table .roster-corner,.roster-employee{width:22%!important}.roster-table strong,.roster-table span,.department-shape{color:#111!important}.workplace-chip{background:white!important;border:1px solid #777!important;padding:1px!important}.workplace-chip strong,.roster-employee strong{font-size:9pt!important}.roster-table tr{break-inside:avoid}.roster-table thead{display:table-header-group}}
