.wds-student-report-page {
  font-family: "proxima-nova", sans-serif;
}
.wds-student-report-page .container {
  padding-top: 50px;
}
@media (min-width: 1560px) {
  .wds-student-report-page .container {
    max-width: 1450px;
  }
}
@media (max-width: 1024px) {
  .wds-student-report-page .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.wds-student-report-page .group-management-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1;
}
.wds-student-report-page .group-management-links a {
  line-height: 1;
  font-size: 16px;
  font-weight: normal;
  color: #707070;
  text-decoration: underline;
}
.wds-student-report-page .group-management-links a:hover, .wds-student-report-page .group-management-links a:focus {
  color: #707070;
}
.wds-student-report-page .group-management-links .fa-icon-wrapper {
  font-size: 24px;
  margin-right: 12px;
}
.wds-student-report-page .ulg-manage-progress--manage-progress a.ulg-manage-progress-btn {
  color: #0066FF;
  -webkit-transition: 0.2s color ease;
  transition: 0.2s color ease;
  border: none;
}
.wds-student-report-page .ulg-manage-progress--manage-progress a.ulg-manage-progress-btn:hover {
  color: #3787FF;
  background: none;
}
.wds-student-report-page .ulg-manage-progress--manage-progress a.ulg-manage-progress-btn:focus {
  color: #0051CB;
  background: none;
}
/* .wds-student-report's old black-card styling (background/padding/
   radius) is gone on purpose — that div no longer exists in the PHP
   (see template_3_0() in wds-learn-dash-my-courses.php), it was
   boxing the whole report in a black card that fought the new
   full-width sticky bar + centered content layout below. */
.wds-student-report-page .student-name-container {
  border-radius: 10px;
  background: #fff;
  padding: 8px 15px;
  margin-bottom: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 645px) {
  .wds-student-report-page .student-name-container {
    padding: 8px 50px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media (max-width: 645px) {
  .wds-student-report-page .student-name {
    display: table;
    text-align: center;
    margin-bottom: 20px;
  }
}
.wds-student-report-page .student-name__name {
  font-weight: bold;
  color: #000;
  margin-right: 16px;
  font-size: 35px;
  line-height: 1.2;
}
.wds-student-report-page .student-name__edit {
  font-family: "proxima-nova", sans-serif;
  color: #707070;
  text-decoration: underline;
  line-height: 1.2;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-weight: normal;
}
.wds-student-report-page .printable-link .fa-icon-wrapper {
  font-size: 24px;
  margin-right: 16px;
  color: #707070;
}
.wds-student-report-page .printable-link a {
  color: #707070;
  text-decoration: underline;
  line-height: 1.2;
  font-size: 16px;
  cursor: pointer;
}
.wds-student-report-page .printable-link .link {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
  font-family: "proxima-nova", sans-serif;
}
.wds-student-report-page .student-info {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .wds-student-report-page .student-info {
    margin-bottom: 0;
    padding: 30px;
  }
}
@media (min-width: 992px) {
  .wds-student-report-page .student-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.wds-student-report-page .student-info__item {
  margin-bottom: 15px;
}
@media (min-width: 992px) {
  .wds-student-report-page .student-info__item {
    margin-bottom: 0;
    width: 50%;
  }
  .wds-student-report-page .student-info__item:nth-child(odd) {
    padding-right: 6%;
  }
  .wds-student-report-page .student-info__item:nth-child(even) {
    padding-left: 6%;
  }
}
.wds-student-report-page .student-info a {
  font-weight: bold;
  text-decoration: underline;
}
.wds-student-report-page .student-info__email {
  margin-bottom: 32px;
}
.wds-student-report-page .student-info__email .link {
  font-family: "proxima-nova", sans-serif;
  min-width: 1px;
  padding: 0;
  line-height: 1.2;
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
}
.wds-student-report-page .student-info__classrooms {
  margin-bottom: 12px;
}
.wds-student-report-page .student-info__classrooms .student-info__classroom {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 4px;
}
.wds-student-report-page .student-info__manager-edit {
  color: #707070;
}
.wds-student-report-page .student-info__roster {
  color: #707070;
}
.wds-student-report-page .student-info__roster a {
  font-weight: bold;
}
.wds-student-report-page .empty-container-diagram {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.wds-student-report-page .ulg-manage-progress-empty {
  width: 100%;
  border: 1px dashed #ABABAB;
  background: #fff;
  font-family: "proxima-nova", sans-serif;
  color: #ABABAB;
  font-size: 16px;
  line-height: 1.3;
  padding: 17px;
  text-align: center;
}
.wds-student-report-page #flotcontainer {
  width: 100%;
  max-width: 300px;
  height: 300px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.wds-student-report-page .container_diagram {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.wds-student-report-page .container_diagram .col-5 {
  width: 100%;
  float: none;
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 1216px) {
  .wds-student-report-page .container_diagram .col-5 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 41.6666666667%;
            flex: 0 0 41.6666666667%;
    float: left;
    width: 41.6666666667%;
    max-width: 41.6666666667%;
  }
}
.wds-student-report-page .container_diagram .col-7 {
  width: 100%;
  float: none;
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 1216px) {
  .wds-student-report-page .container_diagram .col-7 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 58.3333333333%;
            flex: 0 0 58.3333333333%;
    float: left;
    width: 58.3333333333%;
    max-width: 58.3333333333%;
  }
}
.wds-student-report-page #flotcontainer .jqplot-table-legend {
  width: auto;
}
.wds-student-report-page #flotcontainer .jqplot-donut-series.jqplot-data-label {
  color: #fff;
  text-shadow: 0 0 5px #000000;
}
.wds-student-report-page #flotcontainer .jqplot-data-label {
  color: #000;
}
.wds-student-report-page #chartLegend {
  margin-top: 10px;
  margin-bottom: 30px;
}
@media (min-width: 500px) and (max-width: 768px) {
  .wds-student-report-page #chartLegend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media (min-width: 768px) {
  .wds-student-report-page #chartLegend {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
.wds-student-report-page #chartLegend .legend_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: 25px;
  width: 100%;
  position: relative;
}
@media (min-width: 500px) and (max-width: 768px) {
  .wds-student-report-page #chartLegend .legend_item {
    width: 45%;
  }
}
@media (min-width: 1216px) and (max-width: 1408px) {
  .wds-student-report-page #chartLegend .legend_item {
    margin-left: 10px;
  }
}
.wds-student-report-page #chartLegend .legend_item .legend_color {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 2px;
}
.wds-student-report-page #chartLegend .legend_item .legend_title {
  width: 100%;
  color: #000;
  position: relative;
  padding-right: 25px;
}
.wds-student-report-page #chartLegend .legend_item .legend_title .time_spent_hr {
  position: absolute;
  font-weight: bold;
  right: 0;
  top: 0;
}
.wds-student-report-page .label_time_spent {
  font-size: 21px;
  font-weight: bold;
  color: #000;
  text-align: right;
  margin-top: 2%;
}
.wds-student-report-page .show_view {
  clear: both;
  text-align: center;
}
.wds-student-report-page .ulg-manage-progress__title {
  font-weight: bold;
  font-size: 21px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
  text-align: center;
}
@media (min-width: 992px) {
  .wds-student-report-page .ulg-manage-progress__title {
    text-align: left;
  }
}
.wds-student-report-page .ulg-manage-progress .ulg-manage-progress-courses {
  background: var(--mc-surface);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  overflow: hidden;
}
.wds-student-report-page .ulg-manage-progress__box {
  padding-top: 28px;
}
.wds-student-report-page .ulg-manage-progress__box .col-lg-6 {
  margin-bottom: 20px;
}
.wds-student-report-page .ulg-manage-progress .ulg-manage-progress-course__content {
  padding-left: 0;
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress .ulg-manage-progress-course__content {
    padding-left: 0;
  }
}
.wds-student-report-page .ulg-manage-progress .ulg-manage-progress-lesson__content {
  padding-left: 0;
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress .ulg-manage-progress-lesson__content {
    padding-left: 0;
  }
}
.wds-student-report-page .ulg-manage-progress-course__lessons,
.wds-student-report-page .ulg-manage-progress-lesson__topics {
  border-left: none;
}
.wds-student-report-page .ulg-manage-progress-course__row {
  border-top-color: #ABABAB;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details {
  font-family: "proxima-nova", sans-serif;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__name {
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  padding: 18px 0;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress {
  color: #000;
  font-size: 16px;
  line-height: 1.3;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress-holder {
  background-color: #000;
  height: 5px;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress-bar {
  background: #219168;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn {
  width: 60px;
  border-right-color: #ABABAB;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn:before {
  font-size: 20px;
  color: #707070;
}
.wds-student-report-page .ulg-manage-progress-course--expanded .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn,
.wds-student-report-page .ulg-manage-progress-course--expanding .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn {
  background: #0066FF;
  border-right-color: #0066FF;
}
.wds-student-report-page .ulg-manage-progress-course--expanded .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn:before,
.wds-student-report-page .ulg-manage-progress-course--expanding .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn:before {
  color: #fff;
}
.wds-student-report-page .ulg-manage-progress-lesson__row {
  border-top-color: var(--mc-border);
  padding-left: 59px;
  background: var(--mc-surface);
  font-family: "proxima-nova", sans-serif;
  transition: background 0.12s;
}
.wds-student-report-page .ulg-manage-progress-lesson__row:hover {
  background: rgba(237, 28, 36, 0.03);
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-lesson__row {
    padding-left: 39px;
  }
}
.wds-student-report-page .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__details .ulg-manage-progress-lesson__name {
  color: var(--mc-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 18px 0;
}
.wds-student-report-page .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn {
  width: 60px;
  border-right-color: var(--mc-border);
  border-left: 1px solid var(--mc-border);
}
.wds-student-report-page .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn:before {
  font-size: 20px;
  color: var(--mc-text-muted);
}
.wds-student-report-page .ulg-manage-progress-lesson--expanded .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn,
.wds-student-report-page .ulg-manage-progress-lesson--expanding .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn {
  background: var(--mc-red);
  border-right-color: var(--mc-red);
  border-left-color: var(--mc-red);
}
.wds-student-report-page .ulg-manage-progress-lesson--expanded .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn:before,
.wds-student-report-page .ulg-manage-progress-lesson--expanding .ulg-manage-progress-lesson__row .ulg-manage-progress-lesson__toggle-btn:before {
  color: #fff;
}
/* Module (lesson) progress bar — mirrors the course row's progress
   chrome one level down, at a smaller footprint since it sits in the
   narrower lesson row. */
.wds-student-report-page .ulg-manage-progress-lesson__right .ulg-manage-progress-lesson__progress {
  width: 100px;
}
.wds-student-report-page .ulg-manage-progress-lesson__progress-percentage {
  color: var(--mc-text-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  margin-bottom: 4px;
  white-space: nowrap;
}
.wds-student-report-page .ulg-manage-progress-lesson__progress-holder {
  background-color: var(--mc-border);
  height: 4px;
  border-radius: 3px;
  overflow: hidden;
}
.wds-student-report-page .ulg-manage-progress-lesson__progress-bar {
  height: 100%;
  background: var(--mc-red);
  border-radius: 3px;
}
.wds-student-report-page .ulg-manage-progress-lesson--completed .ulg-manage-progress-lesson__progress-percentage {
  color: var(--mc-green);
}
.wds-student-report-page .ulg-manage-progress-lesson--completed .ulg-manage-progress-lesson__progress-bar {
  background: var(--mc-green);
}
.wds-student-report-page .ulg-manage-progress-topic__row {
  border-top-color: var(--mc-border);
  /* 99px = the lesson row's own 59px padding + its 40px toggle-btn
     column, so topic names line up with lesson names above them,
     leaving the status dot (see below) room in the gutter. */
  padding-left: 99px;
  background: var(--mc-surface);
  font-family: "proxima-nova", sans-serif;
  transition: background 0.12s;
  position: relative;
}
.wds-student-report-page .ulg-manage-progress-topic__row:hover {
  background: rgba(237, 28, 36, 0.04);
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-topic__row {
    padding-left: 79px;
  }
}
/* Completion dot, aligned with the module (lesson) row's expand
   arrow above it — both rows share the same left edge, so the
   arrow's own center (its row's 59px/39px padding + half its 40px
   width) is reused here rather than guessed independently. */
.wds-student-report-page .ulg-manage-progress-topic__status {
  position: absolute;
  left: 79px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mc-surface);
  border: 1.5px solid var(--mc-text-muted);
}
.wds-student-report-page .ulg-manage-progress-topic--completed .ulg-manage-progress-topic__status {
  background: var(--mc-green);
  border-color: var(--mc-green);
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-topic__status {
    left: 59px;
  }
}
.wds-student-report-page .ulg-manage-progress-topic__row .ulg-manage-progress-topic__details .ulg-manage-progress-topic__name {
  color: var(--mc-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 18px 15px;
}
.wds-student-report-page .ulg-manage-progress-topic__row .ulg-manage-progress-lesson__toggle-btn {
  width: 60px;
  border-right-color: var(--mc-border);
}
.wds-student-report-page .ulg-manage-progress-topic__row .ulg-manage-progress-lesson__toggle-btn:before {
  font-size: 20px;
}
.wds-student-report-page .ulg-manage-progress-topic__row .ulg-manage-progress-topic__toggle-btn {
  border: none;
}
/* Real per-topic engagement info (minutes watched / quiz attempts),
   replacing the old manage-progress checkbox — see dashboard-template
   -3_0.php's topic__right markup. */
.wds-student-report-page .ulg-manage-progress-topic__row .ulg-manage-progress-topic__details .ulg-manage-progress-topic__right {
  padding: 0 15px;
  flex-shrink: 0;
}
.wds-student-report-page .ulg-manage-progress-topic__info {
  font-size: 12px;
  color: var(--mc-text-muted);
  white-space: nowrap;
}
.wds-student-report-page .ulg-manage-progress-topic--completed .ulg-manage-progress-topic__info {
  color: var(--mc-green);
  font-weight: 600;
}
.wds-student-report-page .ulg-manage-progress-course:first-child .ulg-manage-progress-course__row {
  border-top: none;
}
.wds-student-report-page .ulg-manage-progress-quiz:first-child .ulg-manage-progress-quiz__row:first-child {
  border-top-width: 0;
}
.wds-student-report-page .ulg-manage-progress-quiz:first-child .ulg-manage-progress-quiz__row-hidden .ulg-manage-progress-quiz__row:first-child {
  border-top-width: 1px;
}
.wds-student-report-page .ulg-manage-progress-quiz .ulg-manage-progress-quiz__row {
  font-family: "proxima-nova", sans-serif;
}
.wds-student-report-page .ulg-manage-progress-course__quizzes {
  border-left: none;
}
.wds-student-report-page .ulg-manage-progress-quiz__row {
  border-top-color: var(--mc-border);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  transition: background 0.12s;
}
.wds-student-report-page .ulg-manage-progress-quiz > .ulg-manage-progress-quiz__row:hover {
  background: rgba(237, 28, 36, 0.03);
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details {
  color: var(--mc-text);
  font-size: 13px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-bottom: 15px;
  }
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__name,
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__date {
  line-height: 1.2;
  padding: 18px 15px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__correct {
  padding: 0 15px;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__attempt {
  width: 100px;
  box-sizing: border-box;
  padding: 0 15px;
  text-align: right;
  flex: 0 0 auto;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__info {
  text-align: right;
  padding: 0 15px;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__info .table-quiz-details {
  text-decoration: underline;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__score {
  width: 90px;
  box-sizing: border-box;
  text-align: right;
  padding: 0 15px;
  flex: 0 0 auto;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn {
  border-right: 1px solid var(--mc-border);
  width: 60px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  position: relative;
  -webkit-transition: background, color 0.15s ease-in-out;
  transition: background, color 0.15s ease-in-out;
  cursor: pointer;
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn {
    width: 39px;
  }
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn::before {
  font-size: 20px;
  color: var(--mc-text-muted);
  font-family: Uncanny LearnDash Groups Icons !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e900";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn_open {
  background: var(--mc-red);
  border-right-color: var(--mc-red);
  border-left-color: var(--mc-red);
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn_open:before {
  color: #fff;
  content: "\e903";
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__toggle-btn-empty:before {
  content: none;
}

#teacherCourse {
  padding: 5%;
  border: 1px solid lightgrey;
}
#teacherCourse a {
  color: #000;
}

.mini-course-card-body .text-box {
  padding-left: 10px;
}

.mini-course-card .text-box .head {
  color: #000;
  font-weight: 800;
  font-size: 20px;
  height: 40px;
  display: table-cell;
  vertical-align: middle;
}

.is-one-quarter-widescreen .mini-course-card {
  background: #F6F6F6;
  border-radius: 10px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* Was .page-id-667032 — that's WP core's own body class for the
   literal numeric page ID, which isn't stable across environments
   (see the sr-fixed-header comment lower in this file for why).
   body.sr-fixed-header is added dynamically for the correct page on
   whatever install this runs on, so reusing it here instead avoids
   the same "silently stops matching" trap. */
body.sr-fixed-header {
  background: #fff;
}
body.sr-fixed-header .ast-container,
body.sr-fixed-header #primary,
body.sr-fixed-header article,
body.sr-fixed-header .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
/* Astra's default page template (this page isn't a custom template
   file like My Class, so it goes through Astra's full content-page.php)
   renders its own breadcrumb nav between the header and entry-content.
   Nothing else in the theme targets it, so it was sitting there as
   unaccounted-for height above .sr-identity-bar. */
body.sr-fixed-header .ast-breadcrumbs-wrapper {
  display: none;
}

.courses-cards {
  display: none;
}
.courses-cards .columns {
  margin-top: 30px;
}
.courses-cards.is-active {
  display: block;
  width: 100%;
}

/* ============================================================
   REDESIGN — brings this page in line with the "mc-" design
   system already established on the My Class page (same token
   names, reused rather than a new prefix, since both pages share
   the same vendored .ulg-manage-progress-* markup and this keeps
   rules portable between the two stylesheets). Restyles the
   existing structure in place; --sr-header-h stays separately
   named since it's a per-page layout measurement, not a color
   token, and is emitted server-side in wds_handle_shortcode().
   ============================================================ */
.wds-student-report-page {
  --mc-red: var(--brainbuffet-red);
  --mc-red-dark: var(--brainbuffet-danger);
  --mc-green: var(--brainbuffet-green);
  --mc-green-dark: var(--brainbuffet-green-dark);
  --mc-blue: var(--brainbuffet-blue);
  --mc-blue-dark: var(--brainbuffet-blue-dark);
  --mc-warn: var(--brainbuffet-warning);
  --mc-bg: #F3F1EB;
  --mc-surface: #ffffff;
  --mc-text: #151515;
  --mc-text-muted: #666666;
  --mc-border: #DEDCD7;
  --mc-radius: 10px;
  --mc-radius-sm: 6px;
  --mc-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --mc-shadow-md: 0 4px 18px rgba(0, 0, 0, 0.10);
}
body.sr-fixed-header {
  background: var(--mc-bg) !important;
}
/* The sticky bar now provides the visual separation from the header
   that this padding used to (see .container rule at the top of this
   file) — keeping both would double the gap. */
.wds-student-report-page .container {
  padding-top: 0;
}

/* ---- Sticky Astra header (mirrors My Class's PASS 10 exactly, with
   this page's own body class since it's a shortcode-rendered plain
   page, not a custom template) ---- */
@media (min-width: 769px) {
  body.sr-fixed-header #masthead {
    position: sticky;
    top: 0;
    z-index: 300;
  }
  body.sr-fixed-header.admin-bar #masthead {
    z-index: 100000;
  }
}

/* ---- Student identity bar (not sticky — scrolls with the page) ---- */
.sr-identity-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--mc-blue);
  padding: 14px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* This div sits inside Bulma's .container (max-width + auto margins,
     loaded site-wide) — the "boxed in" look the bar had. Breaking out
     to the full viewport width regardless of how many constrained
     ancestors it's nested in is the standard trick for this: size it
     to the viewport and pull it back to the left edge with a negative
     margin, rather than trying to strip every ancestor's own width
     rules (Bulma's included) one by one. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.sr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sr-identity-info h1 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sr-identity-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 1px 0 0;
}
.sr-identity-stats {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.sr-identity-stat {
  text-align: center;
}
.sr-identity-stat__val {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.sr-identity-stat__lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.sr-identity-actions {
  display: flex;
  gap: 8px;
  margin-left: 24px;
  flex-wrap: wrap;
}
.sr-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.sr-action {
  padding: 7px 14px;
  border-radius: var(--mc-radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: "proxima-nova", sans-serif;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: background 0.15s;
}
.sr-action--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.sr-action--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.sr-action--danger {
  background: rgba(237, 28, 36, 0.8);
  color: #fff;
}
.sr-action--danger:hover {
  background: var(--mc-red);
  color: #fff;
}
@media (max-width: 768px) {
  .sr-identity-stats {
    display: none;
  }
  .sr-identity-actions {
    margin-left: auto;
  }
}

/* ---- Page content wrapper ---- */
.sr-page-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}
.sr-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mc-red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
}
.sr-back-link:hover {
  color: var(--mc-red-dark);
}
.sr-warning-bar {
  background: #fff8e1;
  border: 1px solid #f5c518;
  border-left: 4px solid #f5c518;
  border-radius: var(--mc-radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #7a5800;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Stats row ---- */
.sr-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .sr-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sr-stat-tile {
  background: var(--mc-surface);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow-sm);
  padding: 16px 18px;
}
.sr-stat-tile__num {
  font-size: 26px;
  font-weight: 700;
  color: var(--mc-text);
  line-height: 1;
}
.sr-stat-tile__num--red { color: var(--mc-red); }
.sr-stat-tile__num--green { color: var(--mc-green); }
.sr-stat-tile__num--blue { color: var(--mc-blue); }
.sr-stat-tile__num--warn { color: var(--mc-warn); }
.sr-stat-tile__lbl {
  font-size: 12px;
  color: var(--mc-text-muted);
  margin-top: 4px;
}
.sr-stat-tile__sub {
  font-size: 11px;
  color: var(--mc-text-muted);
  margin-top: 2px;
}

/* ---- Two-column layout (donut + student info) ---- */
.sr-two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .sr-two-col {
    grid-template-columns: 1fr;
  }
}
.sr-card {
  background: var(--mc-surface);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow-sm);
}
.sr-card__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--mc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: var(--mc-text);
}
.sr-card__header i {
  color: var(--mc-red);
  margin-right: 8px;
}
.sr-card__body {
  padding: 20px;
}
.sr-roster-link {
  font-size: 12px;
  color: var(--mc-red);
  font-weight: 600;
  text-decoration: none;
}

/* ---- Inline-editable Student Info card ---- */
.sr-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .sr-edit-grid {
    grid-template-columns: 1fr;
  }
}
.sr-edit-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mc-text-muted);
  margin-bottom: 5px;
}
.sr-edit-field input {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--mc-radius-sm);
  border: 1px solid var(--mc-border);
  font-size: 14px;
  font-family: "proxima-nova", sans-serif;
  color: var(--mc-text);
  background: var(--mc-bg);
  transition: border-color 0.15s;
}
.sr-edit-field input:focus {
  outline: none;
  border-color: var(--mc-blue);
  background: var(--mc-surface);
}
.sr-edit-field input[readonly] {
  opacity: 0.7;
  cursor: default;
}
.sr-hint {
  font-size: 11px;
  color: var(--mc-text-muted);
  margin-top: 4px;
}
.sr-hint a {
  color: var(--mc-red);
}
.sr-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.sr-edit-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--mc-radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: "proxima-nova", sans-serif;
  cursor: pointer;
  border: 1px solid var(--mc-border);
  background: var(--mc-surface);
  color: var(--mc-text);
  transition: background 0.15s, border-color 0.15s;
}
.sr-save-student {
  background: var(--mc-red) !important;
  color: #fff !important;
  border-color: var(--mc-red) !important;
}
.sr-save-student:hover {
  background: var(--mc-red-dark) !important;
  border-color: var(--mc-red-dark) !important;
}
.sr-cancel-student:hover {
  background: var(--mc-bg);
}
.wds-student-report-page .result-message {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}
.wds-student-report-page .result-message.success {
  color: var(--mc-green);
}
.wds-student-report-page .result-message.error {
  color: var(--mc-red-dark);
}

/* ---- Donut card chrome ---- */
/* .col-5/.col-7 (the chart/legend split above) were built for the old,
   full page-width layout and switch to a 41.66%/58.33% side-by-side
   split at >=1216px. Inside the narrow 340px .sr-card that split left
   the chart squeezed into ~125px — override back to a stacked, full-
   width layout so the chart can actually use the card's real width. */
.wds-student-report-page .sr-card .container_diagram .col-5,
.wds-student-report-page .sr-card .container_diagram .col-7 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  float: none;
}
.wds-student-report-page #flotcontainer {
  max-width: 280px;
  height: 280px;
}
.wds-student-report-page #chartLegend .legend_title {
  color: var(--mc-text);
  font-size: 13px;
}

/* ---- Course Progression rows — restyled to read as a flat list at
   the top level (per the brief, the nested lesson/topic drill-down
   underneath is untouched functionally, just lightly recolored so it
   still reads as part of the same system when expanded). ---- */
.wds-student-report-page .ulg-manage-progress-courses {
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  background: var(--mc-surface);
  box-shadow: var(--mc-shadow-sm);
}
.wds-student-report-page .ulg-manage-progress-course__row {
  transition: background 0.12s;
}
.wds-student-report-page .ulg-manage-progress-course__row:hover {
  background: rgba(237, 28, 36, 0.03);
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__name {
  color: var(--mc-text);
  font-size: 13px;
  font-weight: 600;
}
.wds-student-report-page .ulg-manage-progress-course--completed .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__name {
  color: var(--mc-green);
  font-weight: 700;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress-holder {
  background-color: var(--mc-border);
  height: 5px;
  border-radius: 3px;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress-bar {
  background: var(--mc-red);
  border-radius: 3px;
}
.wds-student-report-page .ulg-manage-progress-course--completed .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress-bar {
  background: var(--mc-green);
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__details .ulg-manage-progress-course__right .ulg-manage-progress-course__progress {
  color: var(--mc-text-muted);
  font-size: 13px;
  font-weight: 700;
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn {
  border-right-color: var(--mc-border);
}
.wds-student-report-page .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn:before {
  color: var(--mc-text-muted);
}
.wds-student-report-page .ulg-manage-progress-course--expanded .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn,
.wds-student-report-page .ulg-manage-progress-course--expanding .ulg-manage-progress-course__row .ulg-manage-progress-course__toggle-btn {
  background: var(--mc-red);
  border-right-color: var(--mc-red);
}

/* ---- Quiz Activity — CSS-only "table" treatment over the existing
   flex-row markup (no DOM restructure, .quizToggle keeps working). ---- */
.wds-student-report-page .ulg-manage-progress-course__quizzes {
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  background: var(--mc-surface);
  box-shadow: var(--mc-shadow-sm);
  overflow: hidden;
}
/* Column widths/padding below are duplicated from the real data row's
   .quiz__name/.quiz__attempt/.quiz__score (further down this file) on
   purpose, including the .head-spacer matching .quiz__toggle-btn's
   60px — so the header lines up with the row exactly instead of being
   hand-tuned to approximate it. */
.wds-student-report-page .ulg-manage-progress-quiz__head {
  display: flex;
  padding: 9px 0;
  background: var(--mc-bg);
  border-bottom: 2px solid var(--mc-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mc-text-muted);
}
.wds-student-report-page .ulg-manage-progress-quiz__head-spacer {
  width: 60px;
  flex: 0 0 auto;
}
@media (max-width: 590px) {
  .wds-student-report-page .ulg-manage-progress-quiz__head-spacer {
    width: 39px;
  }
}
.wds-student-report-page .ulg-manage-progress-quiz__head-name {
  flex: 1 1 0;
  padding: 0 15px;
}
.wds-student-report-page .ulg-manage-progress-quiz__head-attempt {
  width: 100px;
  box-sizing: border-box;
  padding: 0 15px;
  text-align: right;
  flex: 0 0 auto;
}
.wds-student-report-page .ulg-manage-progress-quiz__head-score {
  width: 90px;
  box-sizing: border-box;
  padding: 0 15px;
  text-align: right;
  flex: 0 0 auto;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__name {
  color: var(--mc-text);
  font-size: 13px;
}
.wds-student-report-page .ulg-manage-progress-quiz__row .ulg-manage-progress-quiz__details .ulg-manage-progress-quiz__score {
  font-weight: 700;
}
.sr-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.sr-pill--pass {
  background: rgba(20, 106, 68, 0.1);
  color: var(--mc-green);
}
.sr-pill--mid {
  background: rgba(196, 116, 0, 0.1);
  color: var(--mc-warn);
}
.sr-pill--fail {
  background: rgba(237, 28, 36, 0.08);
  color: var(--mc-red);
}