/* Student card shared by Find Students (search.html) and Favourites
   (friends.html); built by shared/studentHubCard.js. */
.student-hub-card { cursor:pointer; border-left:5px solid #7657c8; min-width:0; }
.student-hub-card__photo { flex:0 0 auto; width:4.25rem; height:4.25rem; border-radius:50%; object-fit:cover; background:var(--surface-muted); }
.student-hub-card__head { display:flex; gap:.8rem; align-items:center; min-width:0; }
.student-hub-card__head > div { min-width:0; }
.student-hub-card__head h2 { overflow-wrap:anywhere; }
.student-hub-card__status { display:block; color:var(--muted); font-size:.9rem; }
.student-hub-card__modes { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.5rem; }
.student-hub-card__modes span { padding:.2rem .55rem; border-radius:999px; background:color-mix(in srgb,#7657c8 16%,transparent); }
.student-hub-card__actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.75rem; }
.student-hub-card__actions .dt-link-button { white-space:normal; text-align:center; }
.friend-button.is-friends { opacity:.75; cursor:default; }
