:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172333; background: #fff; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
main, .table-shell { width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-controls { width: 100%; margin: 0; padding: .7rem; background: #861f41; }
.search-controls input { display: block; width: 100%; min-width: 0; padding: .6rem .75rem; border: 1px solid #fff; border-radius: 0; background: #fff; color: #172333; font: inherit; }
.search-controls input::placeholder { color: #555; opacity: 1; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .65rem .7rem; border-bottom: 1px solid #bbc5d0; vertical-align: top; }
th { background: #861f41; color: #fff; white-space: nowrap; }
tbody tr:nth-child(even) { background: #f5f7fa; }
.sort-button { display: inline-flex; align-items: center; gap: .4rem; width: 100%; padding: .2rem; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.sort-button:hover { text-decoration: underline; }
.sort-indicator { color: #fff; font-size: .8em; }
a { color: #075eab; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #172333; outline-offset: 2px; }
.sort-button:focus-visible { outline-color: #fff; }
#message:not(.sr-only) { margin: 0; padding: .75rem; }
[hidden] { display: none !important; }
th:nth-child(4), td:nth-child(4) { min-width: 25rem; } /* Book Title */
th:nth-child(3), td:nth-child(3) { min-width: 10rem; } /* Instructor */