.student-lessons-layout {
  max-width: 56rem;
  margin: 0 auto;
}

.student-units {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.student-unit-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  background: var(--section-color, #5b8dbd);
  color: var(--section-on-color, #ffffff);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.student-unit-toggle:hover {
  filter: brightness(1.05);
}

.student-unit-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.student-unit.is-open .student-unit-chevron {
  transform: rotate(180deg);
}

.student-unit-panel {
  background: var(--white);
}

.student-lesson {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-bottom: 1px solid #d8dee6;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.student-lesson:last-child {
  border-bottom: none;
}

.student-lesson:hover {
  background: #f4f7fb;
}

.student-lesson--active {
  border-left: 3px solid var(--blue-accent, #2f80c0);
  padding-left: calc(0.85rem - 3px);
  background: #f7fafd;
}

.student-lesson-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #8a8a8a;
  border-radius: 50%;
  color: #8a8a8a;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  cursor: pointer;
}

.student-lesson-info:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.student-lesson-title {
  min-width: 0;
}

.student-lesson-progress {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.student-lesson-progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.student-lesson-progress-track,
.student-lesson-progress-fill {
  fill: none;
  stroke-width: 3;
}

.student-lesson-progress-track {
  stroke: #d8dee6;
}

.student-lesson-progress-fill {
  stroke: var(--section-color, #5b8dbd);
  stroke-linecap: round;
}

.student-lesson-progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--navy);
}

.student-lesson-progress.is-complete {
  width: 3.45rem;
}

.student-lesson-progress-fill-circle {
  fill: var(--section-color, #5b8dbd);
}

.student-lesson-progress.is-complete .student-lesson-progress-label {
  padding: 0 0.2rem;
  font-size: 0.44rem;
  line-height: 1.05;
  text-align: center;
  color: var(--section-on-color, #ffffff);
}
