/* Only the approved teacher identity, degree controls and gallery. */
.studentClassHeroTop.tadTeacher{grid-template-columns:64px minmax(0,1fr) auto;border:0;box-shadow:none;background:transparent;padding:6px 2px;gap:10px}
.tadTeacher .studentClassTeacherAvatar{width:64px;height:64px;border-radius:16px;box-shadow:none}
.tadTeacher .studentClassTeacherTitle{font-size:clamp(17px,4.3vw,25px);line-height:1.15}
.tadTeacher .studentClassTeacherKicker{font-size:10px;margin-bottom:3px}
.tadDialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:none;max-height:92dvh;margin:auto;padding:16px;border:1px solid #f0b6d1;border-radius:20px;background:#fffafb;color:#17213b;overflow:auto;overscroll-behavior:contain;box-shadow:0 15px 55px #12213b26}
.tadDialog::backdrop{background:#15213b80}.tadDialog.tadFallback{position:fixed;inset:0;z-index:2147483000}
.tadFallbackBackdrop{position:fixed;inset:0;z-index:2147482999;background:#15213b80}
.tadDialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.tadDialog h2{display:flex;align-items:center;gap:7px;font:700 20px system-ui;margin:0}.tadTeacherName{font:500 14px system-ui;margin:5px 0 0;color:#53617c}
.tadClose{flex:none;width:32px;height:32px;border:1px solid #f2c6da;border-radius:50%;background:#fff8fb;color:#9d1457;font:24px system-ui;cursor:pointer}.tadGalleryBody{min-width:0}
.tadTrack{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pinch-zoom;scrollbar-width:thin;width:100%;border-radius:12px;background:#f7f3ef}
.tadSlide{box-sizing:border-box;position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;height:min(62dvh,650px);padding:6px;display:grid;place-items:center}
.tadSlide img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain}.tadSlide img[hidden]{display:none}
.tadStage{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:2px}
.tadArrow{display:grid;place-items:center;width:28px;height:36px;padding:0;border:1px solid #efbed6;border-radius:9px;background:#fff3f7;color:#8e1c53;cursor:pointer}
.tadArrow:disabled{opacity:.35;cursor:default}
.tadArrow svg{width:18px;height:18px}
.tadQualification .tadNavigation{display:grid;grid-template-columns:40px minmax(0,1fr) 40px}
.tadQualification .tadDots{grid-column:2;justify-content:center;gap:2px}
.tadQualification .tadDots button{width:16px}
.tadQualification .tadCount{grid-column:3;justify-self:end}
.tadNavigation{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:10px}.tadDots{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.tadDots button{width:20px;height:24px;padding:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}.tadDots button:after{content:'';width:7px;height:7px;border-radius:50%;background:#f2c0d7}.tadDots button[aria-current=true]:after{background:#a71f60}.tadCount{font:12px system-ui;color:#58647c;white-space:nowrap}
.tadMessage{font:12px/1.5 system-ui;color:#78445f;overflow-wrap:anywhere;margin:8px 0}.tadMessage:empty{display:none}.tadUploadActions{margin-top:10px}.tadUpload,.tadView,.tadToggle,.tadRetry{border:1px solid #d5deeb;border-radius:8px;background:#fff;color:#173650;font:12px system-ui;padding:8px 11px;cursor:pointer}.tadUpload:disabled,.tadView:disabled,.tadToggle:disabled{opacity:.5;cursor:default}
@media(max-width:360px){.studentClassHeroTop.tadTeacher{grid-template-columns:48px minmax(0,1fr) auto;gap:7px}.tadTeacher .studentClassTeacherAvatar{width:48px;height:48px;border-radius:12px}.tadTeacher .studentClassTeacherKicker{font-size:9px}}
@supports not (height:1dvh){.tadDialog{max-height:92vh}.tadSlide{height:min(62vh,650px)}}
@media(prefers-reduced-motion:reduce){.tadTrack{scroll-behavior:auto}}

/* Student classroom actions use the profile menu's cream and rose treatment. */
.classroomTeacherCard{padding:10px;border:1px solid #efc7d9;border-radius:15px;background:#fffafb}
.classroomTeacherCard .tadTeacher{grid-template-columns:76px minmax(0,1fr);padding:0;align-items:center}
.classroomTeacherCard .tadTeacher .studentClassTeacherAvatar{width:76px;height:76px}
.classroomTeacherCard .studentClassTeacherIdentity{min-width:0}
.classroomTeacherCard .studentClassTeacherTitle{overflow-wrap:anywhere}
.classroomActionIcon{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:7px;color:#84234f;background:#ffe7e4}
.classroomActionIcon svg{width:17px;height:17px;display:block}
.classroomTeacherCard .classroomActionGrid{margin-top:9px;gap:7px}
.classroomTeacherCard .classroomAction[hidden]{display:none}
.classroomActionGrid .tadDegreeButton[hidden]+button{grid-column:1/-1}
.classroomTeacherCard .classroomAction,.classroomMeetingDialog .studentClassMeetingQuickBtn{
 display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:42px;padding:5px 7px;
 border:1px solid #efbed6;border-radius:11px;background:linear-gradient(160deg,#fffafa,#fff2e6);
 box-shadow:0 2px 3px #76245120,inset 0 1px #fff;color:#10203d;text-align:left;
 font-size:clamp(11px,2.7vw,13px);font-weight:800;line-height:1.25
}
/* Keep the shared tile proportions at phone widths without squeezing labels. */
@media(min-width:361px){
 .classroomTeacherCard .classroomAction{min-height:46px;font-size:clamp(12px,3.05vw,14px);font-weight:650}
 .classroomTeacherCard .classroomAction .classroomActionIcon{width:clamp(26px,7vw,32px);height:clamp(26px,7vw,32px)}
 .classroomTeacherCard .classroomAction .classroomActionIcon svg{width:21px;height:21px}
}
.classroomTeacherCard .classroomAction span:last-child,.classroomMeetingDialog .studentClassMeetingQuickBtn span:last-child{min-width:0;overflow-wrap:anywhere}
.classroomMeeting.studentClassMeetingGroup{padding:8px;border:1px solid #e3d6ee;border-radius:15px;background:#fffafb;box-shadow:none}
.classroomMeeting .studentClassTeamsBanner{
 grid-template-columns:30px minmax(0,1fr) min(29%,112px);min-height:46px;gap:7px;padding:4px 7px;
 border:1px solid #e4d9f6;border-radius:10px;background:#f0e9fc;box-shadow:none
}
.classroomMeeting .studentClassTeamsBanner:before{content:none}
.classroomMeeting .studentClassTeamsBannerLogo{width:30px;height:30px;filter:none}
.classroomMeeting .studentClassTeamsBannerText{font-size:11px;line-height:1.15;color:#262448}
.classroomMeeting .studentClassTeamsBannerText strong{font-size:13px}
.classroomMeeting .studentClassTeamsBannerGrid{width:100%;height:36px;border:0;border-radius:6px;box-shadow:none}
.classroomMeeting .studentClassMeetingHelp{
 margin:0;padding:2px 1px;border:0;background:none;color:#54445a;font-size:11px;font-weight:500;line-height:1.5
}
.classroomMeetingEntry{
 width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;
 padding:7px 9px;border:1px solid #d7c4ec;border-radius:11px;background:#fffafd;color:#10203d;
 box-shadow:0 2px 3px #76245114;text-align:left;min-height:45px
}
.classroomMeetingEntry .classroomActionIcon{width:clamp(36px,10vw,46px);height:clamp(34px,9.5vw,44px);background:#eed9f3;color:#781778}
.classroomMeetingEntry .classroomActionIcon svg{width:clamp(22px,6vw,27px);height:clamp(22px,6vw,27px)}
.classroomMeetingEntry strong,.classroomMeetingEntry small{display:block}
.classroomMeetingEntry small{font-size:11px;color:#63465e}
.classroomMeetingEntry:disabled{opacity:.55;cursor:default}
.classroomMeetingChevron{font-size:21px;color:#762451;line-height:1}
.classroomMeetingDialog{
 box-sizing:border-box;width:min(450px,calc(100% - 24px));max-height:88vh;max-height:88dvh;margin:auto;
 padding:14px;border:1px solid #efbed6;border-radius:17px;background:#fffafd;color:#10203d;
 box-shadow:0 12px 30px #39263a40;overflow:auto;overscroll-behavior:contain
}
.classroomMeetingDialog:not([open]){display:none}
.classroomMeetingDialog::backdrop{background:#23172980}
.classroomMeetingDialog[open]:not(:modal){position:fixed;inset:0;z-index:10070}
.classroomMeetingDialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.classroomMeetingDialog header small{font-size:10px;font-weight:800;color:#762451;letter-spacing:.06em}
.classroomMeetingDialog h2{margin:2px 0 0;font-size:19px}
.classroomMeetingDialog dl{display:grid;gap:7px;margin:12px 0}
.classroomMeetingField{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;padding:8px;
 border:1px solid #f2d4e3;border-radius:10px;background:#fff
}
.classroomMeetingField dt{grid-column:1;color:#762451;font-size:11px;font-weight:800}
.classroomMeetingField dd{grid-column:1;margin:0;font-size:13px;overflow-wrap:anywhere;user-select:text}
.classroomMeetingClose,.classroomMeetingAction{
 border:1px solid #efbed6;border-radius:8px;background:#fff2ed;color:#762451;padding:5px 8px;min-height:32px;font-weight:800
}
.classroomMeetingClose{width:34px;font-size:20px;line-height:1}
.classroomMeetingAction{grid-column:2;grid-row:1/3;font-size:11px}
.classroomJoinTeams{
 display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:10px;
 background:#762451;color:#fff;text-decoration:none;font-size:13px;font-weight:800
}
@media(max-width:360px){
 .classroomTeacherCard{padding:8px}
 .classroomTeacherCard .tadTeacher{grid-template-columns:58px minmax(0,1fr)}
 .classroomTeacherCard .tadTeacher .studentClassTeacherAvatar{width:58px;height:58px}
 .classroomTeacherCard .classroomAction,.classroomMeetingDialog .studentClassMeetingQuickBtn{gap:4px;padding-inline:4px}
 .classroomTeacherCard .classroomAction .classroomActionIcon,.classroomMeetingDialog .studentClassMeetingQuickBtn .classroomActionIcon{width:22px;height:22px}
}

.classroomMeetingDialog .studentClassMeetingActions{margin-top:9px}

.tpdActions .tpdBadge{display:inline-grid;place-items:center;min-width:15px;height:15px;margin-left:4px;padding:0 3px;border-radius:999px;background:#e9edf5;color:#173650;font:700 10px system-ui}
.tpdActions .tpdBadge[hidden],.tadExpand[hidden]{display:none}
.tadDialog.tadFull{width:100vw;height:100dvh;max-height:none;border-radius:0;border:0;padding:clamp(12px,3vw,28px)}
.tadFull .tadSlide{height:min(75dvh,1000px)}
.tadExpand{width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;cursor:zoom-in}
.tadFull .tadExpand{cursor:zoom-out}
.tadUploadActions{display:flex;gap:8px}
