.account-learning-dashboard {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 48px;
  color: #17213a;
}
.account-learning-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.account-learning-head .mono { font-size: 12px; letter-spacing: .08em; }
.account-learning-head .review-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  background: #168a72;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.account-learning-head h2 { font-size: clamp(28px, 2.2vw, 38px); line-height: 1.06; }
.account-learning-head p { max-width: 840px; margin-top: 5px; font-size: 16px; line-height: 1.5; color: #5d6880; }
.review-refresh { min-height: 44px; padding-inline: 18px; }
.learning-overview-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.learning-overview-metrics .review-filter { min-height: 96px; display: grid; align-content: center; gap: 4px; padding: 16px 18px; }
.learning-overview-metrics strong { font-size: 22px; }
.learning-overview-metrics small { color: #758096; font-size: 13px; }
.learning-group-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-neutral { border-color: #d8deea; background: #f8faff; }
.group-neutral .group-symbol { color: #64718a; background: #e9eef7; }
.account-learning-grid { grid-template-columns: minmax(0, 1.5fr) minmax(370px, .8fr); align-items: start; gap: 16px; }
.account-student-table .student-table-row {
  grid-template-columns: minmax(190px, 1.35fr) minmax(105px, .7fr) minmax(105px, .7fr) minmax(110px, .7fr) minmax(145px, 1fr);
  min-height: 74px;
  cursor: pointer;
}
.account-student-table .student-table-row:not(.head):hover,
.account-student-table .student-table-row:not(.head):focus-visible { background: #f1efff; outline: 2px solid #7565ee; outline-offset: -2px; }
.account-student-table .student-table-row > span { display: grid; align-content: center; gap: 3px; min-width: 0; }
.account-student-table .student-table-row > span:first-child { display: flex; align-items: center; gap: 11px; }
.account-student-table .student-table-row > span:first-child > span { display: grid; gap: 2px; min-width: 0; }
.account-student-table strong { font-size: 15px; color: #17213a; }
.account-student-table small { font-size: 12px; line-height: 1.25; color: #778197; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-learning-detail { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding: 18px; }
.student-detail-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e4e8f1; }
.student-detail-head > div:last-child { min-width: 0; }
.student-detail-head .review-section-title { font-size: 20px; }
.student-detail-head span { color: #6f7990; font-size: 13px; }
.student-detail-avatar { display: grid; width: 46px; height: 46px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #ebe8ff; color: #5e4fe2 !important; font-size: 16px !important; font-weight: 800; }
.student-detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0; border: 1px solid #e1e6ef; border-radius: 8px; overflow: hidden; }
.student-detail-stats div { display: grid; gap: 2px; padding: 11px; text-align: center; }
.student-detail-stats div + div { border-left: 1px solid #e1e6ef; }
.student-detail-stats strong { font-size: 20px; }
.student-detail-stats span { color: #737e94; font-size: 12px; }
.student-focus-callout { display: grid; gap: 5px; padding: 13px 14px; border-left: 3px solid #168a72; background: #edf9f6; }
.student-focus-callout span { color: #14735f; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.student-focus-callout strong { font-size: 15px; }
.student-focus-callout small { line-height: 1.45; color: #556176; }
.student-learning-detail .kc-mastery-list { margin-top: 16px; }
.student-learning-detail .kc-mastery-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 10px 0; }
.student-learning-detail .kc-mastery-row span { font-size: 13px; line-height: 1.3; }
.student-learning-detail .kc-mastery-row small { grid-column: 1 / -1; color: #7a8498; font-size: 12px; }
.student-learning-detail .kc-bar { grid-column: 1 / -1; }
.student-learning-disclosure { border-top: 1px solid #e3e8f0; margin-top: 14px; padding-top: 4px; }
.student-learning-disclosure summary { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; cursor: pointer; font-weight: 750; }
.student-learning-disclosure summary strong { color: #6959e8; }
.student-lesson-list,
.student-activity-list { display: grid; gap: 8px; padding-bottom: 8px; }
.student-lesson-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px; background: #f7f8fc; border-radius: 7px; }
.student-lesson-list span { display: grid; gap: 3px; min-width: 0; }
.student-lesson-list strong { font-size: 13px; }
.student-lesson-list small,
.student-lesson-list b { color: #6f7990; font-size: 12px; }
.student-activity { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 9px 0; }
.student-activity i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #6d5ee8; }
.student-activity.correct i { background: #159578; }
.student-activity.retry i { background: #c64865; }
.student-activity span { display: grid; gap: 3px; min-width: 0; }
.student-activity strong { font-size: 13px; }
.student-activity small { color: #6d7890; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-activity time { color: #80899b; font-size: 12px; white-space: nowrap; }
.learning-detail-empty,
.learning-empty-state { display: grid; gap: 7px; padding: 26px 18px; color: #6f7990; text-align: center; }
.learning-empty-state strong { color: #1a243c; font-size: 17px; }
@media (max-width: 1100px) {
  .account-learning-dashboard { width: min(100% - 24px, 1500px); }
  .learning-group-row { grid-template-columns: repeat(2, 1fr); }
  .account-learning-grid { grid-template-columns: 1fr; }
  .student-learning-detail { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .account-learning-dashboard { width: calc(100% - 16px); padding-top: 18px; }
  .account-learning-head { grid-template-columns: 44px minmax(0, 1fr); }
  .account-learning-head .review-icon { width: 44px; height: 44px; }
  .account-learning-head .review-refresh { grid-column: 1 / -1; width: 100%; }
  .learning-overview-metrics,
  .learning-group-row { grid-template-columns: 1fr; }
  .account-student-table { overflow-x: auto; }
  .account-student-table .student-table-row { min-width: 780px; }
}
