/* Public full-time week: controls above a self-contained horizontal table. */
.ukb-schedule{min-width:0}
.ukb-schedule-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem;align-items:end}
.ukb-schedule-filters label{display:grid;gap:.3rem;min-width:0;color:#264d69;font-size:.875rem;font-weight:700}
.ukb-schedule-filters select,.ukb-schedule-filters input{width:100%;min-width:0;min-height:42px;padding:.48rem .6rem;border:1px solid #afc5d6;border-radius:.4rem;background:#fff;color:#193f5d;font:inherit;font-weight:400}
.ukb-schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem 1rem;flex-wrap:wrap;margin:1rem 0 .75rem}
.ukb-schedule-period,.ukb-schedule-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.ukb-schedule-period strong{font-size:.93rem;color:#153d5d;white-space:normal}
.ukb-schedule-toolbar button{min-height:40px;border:1px solid #176092;border-radius:.45rem;background:#fff;color:#134c74;padding:.45rem .7rem;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.ukb-schedule-toolbar button:hover,.ukb-schedule-toolbar button:focus-visible{background:#e8f5ff}
.ukb-schedule-period button{min-width:40px;font-size:1.1rem}
.ukb-schedule-scroll{overflow:auto;max-width:100%;border:1px solid #d7e2eb;border-radius:.5rem;scrollbar-gutter:stable}
.ukb-schedule-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:0;font-size:.86rem}
.ukb-schedule-table>thead th{position:sticky;top:0;z-index:3;background:#e8f1f8;white-space:nowrap}
.ukb-schedule-table>tbody>tr>th,.ukb-schedule-table>tbody>tr>td,.ukb-schedule-table>thead th{border-right:1px solid #d7e2eb;border-bottom:1px solid #d7e2eb;padding:.4rem;vertical-align:top}
.ukb-schedule-table>thead th:not(.ukb-schedule-sticky),.ukb-schedule-table>tbody>tr>td{min-width:550px;width:550px;max-width:550px}
.ukb-schedule-sticky{position:sticky;left:0;z-index:2;background:#fff;min-width:130px;width:130px;max-width:130px;text-align:left;box-shadow:2px 0 5px rgba(30,70,100,.08)}
.ukb-schedule-table>thead .ukb-schedule-sticky{z-index:4}
.ukb-schedule-table .selected{background:#f2f8d8}
.ukb-schedule-inner{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.8rem}
.ukb-schedule-inner th,.ukb-schedule-inner td{border:1px solid #e3e8ed;padding:.22rem .3rem;text-align:left;vertical-align:top;word-break:normal;overflow-wrap:break-word}
.ukb-schedule-inner th{background:#f4f7fa;font-weight:700}
.ukb-schedule-inner th:nth-child(1),.ukb-schedule-inner td:nth-child(1){width:92px;white-space:nowrap}
.ukb-schedule-inner th:nth-child(2),.ukb-schedule-inner td:nth-child(2){width:185px}
.ukb-schedule-inner th:nth-child(3),.ukb-schedule-inner td:nth-child(3){width:170px}
.ukb-schedule-inner th:nth-child(4),.ukb-schedule-inner td:nth-child(4){width:88px}
.ukb-schedule-empty{color:#7a8791}
.ukb-schedule-filter-note{min-height:1.2em;margin:.35rem 0 0;color:#305e7b;font-size:.83rem}
.ukb-schedule-print-head,.ukb-schedule-print-table{display:none}
@media(max-width:1100px){.ukb-schedule-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ukb-schedule-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.ukb-schedule-toolbar{align-items:stretch}.ukb-schedule-period{width:100%;justify-content:space-between}.ukb-schedule-period strong{text-align:center;flex:1;font-size:.82rem}.ukb-schedule-actions{width:100%}.ukb-schedule-actions button{flex:1;min-width:0}}
@media(max-width:420px){.ukb-schedule-filters{grid-template-columns:1fr}.ukb-schedule-actions{display:grid;grid-template-columns:1fr 1fr}}
@media print{@page{size:A4 portrait;margin:12mm}html,body{width:auto!important;min-width:0!important;margin:0!important;padding:0!important}header,nav,footer,.site-header,.topbar,.site-search,.access-panel,.page-header,.site-footer,.ukb-schedule-filters,.ukb-schedule-filter-note,.ukb-schedule-toolbar,.ukb-schedule-scroll,.ukb-schedule>p[role=status]{display:none!important}main.page-main,main.ukb-inner,.ukb-inner__body{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}.ukb-schedule{width:100%!important;margin:0!important;padding:0!important}.ukb-schedule-print-head{display:block}.ukb-schedule-print-head h2{font-size:14pt;margin:0 0 3mm}.ukb-schedule-print-head p{font-size:9pt;margin:0 0 2mm}.ukb-schedule-print-table{display:table;width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed;font-size:8pt}.ukb-schedule-print-table th,.ukb-schedule-print-table td{border:1px solid #555;padding:2mm 1.5mm;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;word-break:normal}.ukb-schedule-print-table tr{break-inside:avoid;page-break-inside:avoid}.ukb-schedule-print-table thead{display:table-header-group}.ukb-schedule-print-table th:nth-child(1),.ukb-schedule-print-table td:nth-child(1){width:16%}.ukb-schedule-print-table th:nth-child(2),.ukb-schedule-print-table td:nth-child(2){width:13%}.ukb-schedule-print-table th:last-child,.ukb-schedule-print-table td:last-child{width:11%}}


.ukb-schedule-scroll[hidden]{display:none}
.ukb-schedule-toolbar button:disabled{opacity:.5;cursor:not-allowed}
.ukb-schedule-view{display:flex;gap:.25rem;padding:.2rem;border:1px solid #bfd2e1;border-radius:.5rem;background:#f3f8fc}
.ukb-schedule-view button{min-width:5rem;border:0;background:transparent}
.ukb-schedule-view button.active{background:#176092;color:#fff}
.ukb-schedule-pair-head th{background:#e8f1f8;font-weight:700;text-align:left}
.ukb-schedule-pair-separator td{height:1rem;padding:0!important;border:0!important;background:#f3f8fc}
@media(max-width:600px){.ukb-schedule-view{width:100%}.ukb-schedule-view button{flex:1}}
