/* Class Schedule colours, used by the home page. */
/* Grade-band colours (also used by the filter buttons) */
.band-afterschool { background:#fef3c7; color:#92400e; border-color:#fcd34d; }
.band-elementary  { background:#dbeafe; color:#1e40af; border-color:#93c5fd; }
.band-middle      { background:#ede9fe; color:#5b21b6; border-color:#c4b5fd; }
.band-high        { background:#dcfce7; color:#166534; border-color:#86efac; }
.slot { border-left-width:4px; }
.slot.dim { opacity:.18; }
.bandbtn[aria-pressed="true"], .tilebtn[aria-pressed="true"], .sessbtn[aria-pressed="true"], .fmtbtn[aria-pressed="true"] { box-shadow:0 0 0 2px #1e3a8a inset; }

/* Schedule table: plain light-gray headers and white cells holding the coloured
   grade-band blocks (.slot.band-*, defined above). Desktop/tablet grid = .sched;
   on phones it is scaled to fit (.sched-frame). */
.sched { border-collapse: separate; border-spacing: 0; }
.sched thead th { background:#f9fafb; color:#4b5563; }
.sched thead th.is-today { color:#1d4ed8; }
.sched tbody td { background:#fff; border-top:1px solid #f1f5f9; }
.sched tbody td:first-child { color:#374151; font-weight:600; }
.sched tbody tr:first-child td { border-top:0; }
/* Phones: the weekly grid is scaled down to fit (see fit() in schedule.js); pinch to zoom. */
.sched-frame.is-pic { touch-action: pan-x pan-y; }
.sched-frame.is-pic.is-zoomed { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Locked prices: blurred placeholder digits, not selectable */
.price-blur { filter: blur(6px); -webkit-user-select: none; user-select: none; pointer-events: none; }

/* Anchor links (#classOfferings, #classSchedule ...) stop below the sticky nav; --nav-h is set from the real nav height in schedule.js */
html { scroll-padding-top: var(--nav-h, 8rem); }
