/* ===== ALT WCAG 2.2 fixes - stage 1 (CSS) v1, 25 Oct 2026. To roll back, delete from this line to the END marker. ===== */
/* Placed at the top deliberately: a curly quote in the existing .icon-user rule below stops every later rule from loading. */
/* 1.4.3 "Disable new UI" text in sidebar */
.twui-switch-ui, .twui-switch-ui .text, .twui-switch-ui i { color:#fff7ed !important; }
/* 1.4.3 Calendar day headers */
.fc .fc-col-header-cell { background-color:#2471a3 !important; }
/* 1.4.11 Drop-down (selectize) borders */
.selectize-input { border-color:#6b7280 !important; }
/* 2.4.7 Visible focus on buttons, including buttons wrapping a hidden file input (Home Folder upload) */
.btn:focus-visible, [role="button"]:focus-visible, *:has(> input[type="file"]:focus) { outline:3px solid #1f3a5f !important; outline-offset:2px; }
/* 2.5.8 Target size: pagination and row action icons */
.tabulator-page { min-width:24px; min-height:24px; }
button.ef-handle.fa-chevron-left, button.ef-handle.fa-chevron-right { min-width:24px; }
.tabulizedElement > a { display:inline-block; min-height:24px; line-height:18px; padding-top:3px; padding-bottom:3px; }   /* report and admin tab bars */
button[aria-label="Previous page"], button[aria-label^="Next page"] { min-width:24px; justify-content:center; }
.operations--trigger a, .operations--trigger button { display:inline-flex !important; align-items:center; justify-content:center; min-width:24px; min-height:24px; }
/* 1.4.10 Reflow: My Courses list view at narrow widths */
@media (max-width:640px) { main .tw-flex.tw-gap-4.tw-rounded > .tw-flex.tw-w-full.tw-justify-between { min-width:0; } main .tw-flex.tw-gap-4.tw-rounded { flex-wrap:wrap; } }
/* 1.4.10 Reflow: keep the "Accessible version" and certificate links inside the card at narrow widths */
*:has(> a.alt-cert-a11y:not([style*="absolute"])) { flex-wrap:wrap !important; height:auto !important; }   /* grid view only (list view positions the link absolutely) */
@media (max-width:640px) { a.alt-cert-a11y, a.alt-cert-a11y + a { position:static !important; display:inline-flex !important; align-items:center; vertical-align:middle; margin:0 8px 6px 0 !important; line-height:1.5 !important; } }
/* ===== END ALT WCAG 2.2 fixes - stage 1 ===== */
