// seatmap.jsx — top-down room layout with tables, chairs, and tutor notes panel // SeatMap — pure visual; takes assignments + selectedStudent + variant + onSeatClick function SeatMap({ assignments = SEAT_ASSIGN, selectedStudent, onSeatClick, hoveredSeat, setHoveredSeat, variant = "tutor", // "tutor" | "student" | "student-self" ownSeat, // for student view: which seat is "mine" scale = 1, }) { const W = ROOM.width, H = ROOM.height; const studentBy = (id) => STUDENTS.find((s) => s.id === id); return (