/* Keep the existing 186px Admin and 190px Teacher history viewports. */
.classHistoryRows{display:block;position:relative;text-align:left;overflow-anchor:none;scroll-behavior:auto}
.classHistoryDate{margin:0;padding:3px 2px;text-align:center;background:#f8fafc;color:#68778b;font:500 9px/1.3 Arial,sans-serif}
.classHistoryRow{display:block;padding:5px 0;border-bottom:1px solid #edf1f5;color:#10203d;text-align:left}
.classHistoryIdentity{display:flex;align-items:baseline;justify-content:space-between;gap:5px;min-width:0;font:500 10.5px/1.4 Arial,sans-serif}
.classHistoryPerson{min-width:0;overflow-wrap:anywhere}.classHistoryPerson strong{font-weight:600}.classHistoryIds{color:#526273}
.classHistoryTime{flex:none;color:#64748b;white-space:nowrap;font:400 9.5px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}
.classHistoryAction{margin-top:2px;color:#243548;font:400 10.5px/1.4 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;text-align:left}
.classHistoryEdge{padding:5px 2px;text-align:center;color:#64748b;font:400 9.5px/1.4 Arial,sans-serif}
button.classHistoryRetry{border:0;background:transparent;color:#195f74;padding:5px 8px;font:500 11px Arial,sans-serif;text-decoration:underline}
.classHistoryCurrentAlerts{border-top:1px solid #edf1f5}.classHistoryCurrentAlerts .classHistoryAction{padding:4px 0}
.historyScrollHost{position:relative!important}.historyScrollIndicator{position:absolute;right:2px;width:4px;border-radius:5px;background:#e7edf2;pointer-events:none;z-index:2}.historyScrollIndicator>span{display:block;position:absolute;width:4px;border-radius:5px;background:#7c9da8}
.historyScrollable{scrollbar-width:none!important;padding-right:10px!important}.historyScrollable::-webkit-scrollbar{display:none}
.studentManagerUi .studentClassUpdatesList.classHistoryRows{display:block;padding-left:7px;max-height:190px}
.feeAdminUi #feeMain .feeCashfreeNoticeList.classHistoryRows{max-height:186px;padding-left:0}
/* Only the Teacher Tasks tab shrinks; Records and every task/reward rule stay unchanged. */
#teacherTaskWindow.teacherBonusWindow:has(.teacherBonusWindowScroll.tasks){height:auto;max-height:313px}
#teacherTaskWindow.teacherBonusWindow .teacherBonusWindowScroll.tasks{flex:0 1 auto}
#teacherTaskWindow .teacherBonusWindowScroll.tasks .teacherBonusWindowEmpty{padding:8px 12px}
@media(max-width:380px){.classHistoryIdentity,.classHistoryAction{font-size:10px}.classHistoryTime{font-size:9px}}
