.sttc-timetable{box-sizing:border-box;width:100%;max-width:100%;margin:24px 0;padding:24px;background:#fff;border:1px solid #cbd5e1;border-radius:18px;color:#102139;font-family:inherit;line-height:1.45;box-shadow:0 5px 20px #132b4310}.sttc-timetable *{box-sizing:border-box}.sttc-timetable h2{font-size:28px;line-height:1.2;margin:0 0 12px;color:#102447}.sttc-timetable h3{font-size:24px;line-height:1.2;margin:28px 0 16px;color:#102447}.sttc-tt-intro{margin:0 0 18px}.sttc-programme-key{padding:12px 16px;background:#f5f7fb;border-radius:10px;margin-bottom:16px}.sttc-programme-key ul{display:flex;flex-wrap:wrap;gap:10px 20px;list-style:none!important;margin:10px 0 0!important;padding:0!important}.sttc-programme-key li{display:flex;align-items:center;gap:8px;font-size:14px;padding:0!important}.sttc-colour-swatch{width:20px;height:20px;border:1px solid #0003;border-radius:4px;flex-shrink:0}.sttc-timetable table.sttc-tt-table{table-layout:fixed;border-collapse:separate;border-spacing:3px;width:100%;max-width:100%;border:0!important;margin:0!important}.sttc-timetable .sttc-tt-table th,.sttc-timetable .sttc-tt-table td{border:0!important;padding:0!important;vertical-align:top;overflow-wrap:anywhere}.sttc-timetable .sttc-tt-table thead th{background:#123e68;color:#fff;text-align:center;font-weight:700;font-size:15px;padding:12px 5px!important;border-radius:5px}.sttc-timetable .sttc-tt-table .sttc-tt-time{width:84px;text-align:center}.sttc-timetable .sttc-tt-table tbody th.sttc-tt-time{background:#f0f4f8;padding:14px 5px!important;font-weight:700;font-size:14px;border-radius:6px}.sttc-tt-time span{display:block;font-weight:400;font-size:12px}.sttc-tt-class{padding:13px 10px;border:1px solid #0002;border-radius:6px;margin:0 0 4px;min-height:90px;color:#142439;overflow-wrap:anywhere}.sttc-tt-class strong{display:block;font-size:14px;line-height:1.4;color:#142439}.sttc-tt-class small{display:block;font-size:12px;margin-top:5px;color:#24384b}.sttc-tt-dash{display:block;text-align:center;color:#7a8797;padding:14px}.sttc-booked{display:inline-block;border-left:5px solid var(--child);color:var(--child);background:white;border-radius:4px;padding:3px 6px;margin:7px 4px 0 0;font-size:13px;font-weight:700}.sttc-child-key{margin:16px 0}.sttc-child-key p{font-size:13px;margin:8px 0}.sttc-shortcode-help{background:#f1f6fc;padding:16px;margin:16px 0;border-radius:8px}.sttc-shortcode-help label{display:inline-block;margin:6px 0}.sttc-shortcode-help input{width:320px;max-width:100%;padding:7px;font-family:monospace}.sttc-shortcode-help button{margin:5px}.sttc-tt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.sttc-refresh-error{font-size:13px;color:#704c00}
@media(max-width:700px){.sttc-timetable{padding:15px}.sttc-timetable h2{font-size:24px}.sttc-timetable h3{font-size:21px}.sttc-timetable table.sttc-tt-table,.sttc-timetable .sttc-tt-table tbody,.sttc-timetable .sttc-tt-table tr,.sttc-timetable .sttc-tt-table td,.sttc-timetable .sttc-tt-table tbody th.sttc-tt-time{display:block;width:100%;max-width:100%}.sttc-timetable .sttc-tt-table thead{display:none}.sttc-timetable .sttc-tt-table tr{margin-bottom:18px}.sttc-timetable .sttc-tt-table tbody th.sttc-tt-time{text-align:left;padding:10px!important;margin-bottom:8px}.sttc-tt-time span{display:inline}.sttc-timetable .sttc-tt-table td:before{content:attr(data-day);display:block;font-weight:700;margin:10px 0 5px}.sttc-timetable .sttc-tt-table td.sttc-tt-empty{display:none}.sttc-tt-class{min-height:0}.sttc-shortcode-help input{width:100%}}
@media print{.sttc-shortcode-help,.sttc-refresh-error{display:none!important}.sttc-timetable{box-shadow:none;border:0;padding:0;print-color-adjust:exact}.sttc-tt-part{break-inside:avoid}body.wp-admin #adminmenumain,body.wp-admin #wpadminbar,body.wp-admin #wpfooter{display:none!important}body.wp-admin #wpcontent{margin:0!important}}

/* Holiday courses stay separate from the weekly timetable grid. */
.sttc-holidays{margin:28px 0;padding:26px;background:#f3f7fc;border:1px solid #c9dcef;border-radius:16px;color:#153250;text-align:left}
.sttc-holidays h2{color:#06356b;margin:0 0 12px;font-size:1.6rem;line-height:1.25}
.sttc-holiday-period{margin:0 0 20px;line-height:1.7}
.sttc-holiday-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}
.sttc-holiday-card{padding:22px;background:#fff;border:1px solid #d4e1ee;border-top:5px solid #e7b941;border-radius:12px;overflow-wrap:anywhere}
.sttc-holiday-card h3{font-size:1.25rem;line-height:1.4;margin:0 0 12px;color:#06356b}
.sttc-holiday-card p{margin:0 0 14px;line-height:1.6}.sttc-holiday-dates{font-weight:600}
.sttc-holiday-book{display:inline-block;background:#064b8e;color:#fff!important;padding:11px 16px;border-radius:7px;text-decoration:none!important;font-weight:600;line-height:1.4}
.sttc-holiday-book:hover{background:#073563}.sttc-holiday-book:focus-visible{outline:3px solid #b87400;outline-offset:3px}
@media(max-width:600px){.sttc-holidays{padding:18px}.sttc-holiday-card{padding:18px}}

/* Accessible teaching-date rows: colour plus explicit labels on every row. */
.sttc-teaching-dates{margin:28px 0;padding:28px;border:1px solid #d4e1ee;border-radius:18px;background:#fff;color:#17324f;text-align:left;box-sizing:border-box}
.sttc-teaching-dates h2{color:#06356b;font-size:1.65rem;line-height:1.3;margin:0 0 12px}
.sttc-dates-intro{line-height:1.65;margin:0 0 20px;max-width:85ch}
.sttc-dates-key{display:flex;flex-wrap:wrap;gap:12px 26px;list-style:none!important;margin:0 0 22px!important;padding:16px!important;background:#f4f7fb;border-radius:10px}
.sttc-dates-key li{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:15px;line-height:1.6;margin:0!important}
.sttc-date-term{background:#e0effc!important;color:#17324f!important}.sttc-date-holiday{background:#fff0c2!important;color:#473610!important}
.sttc-dates-swatch{display:inline-block;width:20px;height:20px;flex:none;border:1px solid #53677c;border-radius:4px;margin-right:3px}
.sttc-dates-table{width:100%;table-layout:fixed;border-collapse:separate!important;border-spacing:0 8px!important;border:0!important;margin:0!important;font-size:16px;line-height:1.55}
.sttc-dates-table thead th{background:#06356b!important;color:#fff!important;padding:14px 18px!important;text-align:left;font-weight:700;border:0!important}
.sttc-dates-table thead th:first-child{width:36%;border-radius:8px 0 0 8px}.sttc-dates-table thead th:nth-child(2){width:37%}.sttc-dates-table thead th:last-child{border-radius:0 8px 8px 0}
.sttc-dates-table tbody th,.sttc-dates-table tbody td{padding:17px 18px!important;text-align:left;vertical-align:middle;border:0!important;color:inherit!important;background:transparent!important;overflow-wrap:anywhere}
.sttc-dates-table tbody th{border-left:5px solid #3379b5!important;border-radius:8px 0 0 8px;font-weight:600}.sttc-dates-table tbody tr.sttc-date-holiday th{border-left-color:#a77b13!important}.sttc-dates-table tbody td:last-child{border-radius:0 8px 8px 0}
.sttc-date-type{display:block;font-weight:700}.sttc-date-detail{display:block;font-size:14px;margin-top:3px}.sttc-dates-to{white-space:pre}
.sttc-date-now{display:table;background:#06356b;color:#fff;font-size:12px;font-weight:700;padding:3px 9px;margin-top:8px;border-radius:5px}.sttc-dates-mobile-label{display:none}
@media(max-width:700px){.sttc-teaching-dates{padding:18px}.sttc-dates-table,.sttc-dates-table tbody{display:block}.sttc-dates-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sttc-dates-table tbody tr{display:block;border-radius:10px;margin:0 0 12px;padding:16px;border-left:5px solid #3379b5}.sttc-dates-table tbody tr.sttc-date-holiday{border-left-color:#a77b13}.sttc-dates-table tbody th,.sttc-dates-table tbody td{display:block;width:auto!important;padding:0!important;border:0!important;border-radius:0!important}.sttc-dates-table tbody td{margin-top:12px}.sttc-dates-mobile-label{display:block;font-size:13px;font-weight:700;margin-bottom:2px}.sttc-dates-key{display:block}.sttc-dates-key li+li{margin-top:10px!important}.sttc-dates-table tbody th{font-size:18px}}
.sttc-date-time-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #d4e1ee}.sttc-date-time-row>strong{min-width:230px}.sttc-date-time-row .sttc-field{margin:0!important;flex:1;min-width:135px}.sttc-course-times{margin:0 0 18px!important;padding:0!important}.sttc-course-times>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:9px 0;border-bottom:1px solid #d4e1ee}.sttc-course-times dt{font-weight:600}.sttc-course-times dd{margin:0!important;white-space:nowrap}
.sttc-continuation-period{padding:16px;margin:12px 0;border:1px solid #cedcea;border-radius:8px}.sttc-holiday-group{margin-top:26px;padding-top:20px;border-top:1px solid #c9dcef}.sttc-holiday-group>h3{color:#06356b;font-size:1.35rem;margin:0 0 10px}.sttc-holiday-card h4{font-size:1.2rem;color:#06356b;line-height:1.4;margin:0 0 12px}.sttc-holiday-cost{font-weight:700;font-size:.9rem;padding:7px 10px;background:#edf3fa;border-radius:6px}.sttc-continuation-period [hidden],[data-sttc-holiday-periods][hidden]{display:none!important}
