.course-progress {
  display: grid;
  gap: 7px;
  width: min(100%, 30rem);
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px solid #d2e1d3;
  border-radius: 9px;
  background: #f2f6ef;
}

.course-progress--compact { margin-block: 0 12px; padding: 7px 9px; }
.course-progress-label {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 9px;
  color: #315344;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.course-progress progress {
  appearance: none;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 999px;
  accent-color: #216d56;
  background: #d9e7d8;
  overflow: hidden;
}

.course-progress progress::-webkit-progress-bar { border-radius: 999px; background: #d9e7d8; }
.course-progress progress::-webkit-progress-value { border-radius: 999px; background: #216d56; }
.course-progress progress::-moz-progress-bar { border-radius: 999px; background: #216d56; }

.lesson-completion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px 20px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid #cadfd1;
  border-radius: 12px;
  background: #edf5ea;
}

.lesson-pane .lesson-completion h2 {
  margin: 0 0 4px;
  color: #144e3c;
  font-size: 18px;
}

.lesson-completion p { color: var(--muted); font-size: 14px; }
.lesson-completion .button { width: 100%; }
.lesson-finish-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 17px;
  margin-top: 8px;
}
.lesson-finish-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

.outline a.outline-chapter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.chapter-row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.chapter-state {
  display: inline-block;
  flex: none;
  width: max-content;
  padding: 1px 6px;
  border: 1px solid #dce5da;
  border-radius: 999px;
  background: #f5f7f2;
  color: #4d6256;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.chapter-state--done { border-color: #c2dfca; background: #e5f3e6; color: #235945; }

.course-materials {
  margin-top: 27px;
  padding: 17px 18px;
  border: 1px solid #d7e5d7;
  border-radius: 14px;
  background: #f1f6ef;
}
.course-materials h2 { margin-bottom: 8px; scroll-margin-top: 18px; }
.course-materials p { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.course-materials .file-list { margin: 0; }
.course-materials .file-list li { align-items: center; }
.course-materials .file-list a { display: inline-flex; align-items: center; min-height: 42px; font-weight: 700; }

.study-completion { max-width: 22rem; margin-block: 8px 0; }
.study-card-copy .study-completion { max-width: none; margin-block: 12px 0; }
.study-completion-done { color: #216d56; font-weight: 750; }

.project-result {
  display: grid;
  gap: 6px 20px;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: baseline;
  padding: 17px 20px;
  margin-bottom: 23px;
  border: 1px solid #d7e5d7;
  border-left: 4px solid #6a9a75;
  border-radius: 12px;
  background: #eef6eb;
}
.project-result h2 { font-size: 18px; }
.project-result p,.project-topics p { color: var(--muted); font-size: 15px; }
.project-topics p { margin-top: 3px; }
.topic-parent { display: inline-block; margin-top: 10px; font-weight: 700; }

@media (max-width: 430px) {
  .project-result { grid-template-columns: 1fr; padding: 13px 15px; }
  .lesson-completion { grid-template-columns: 1fr; padding: 13px; }
  .course-materials { padding: 13px; }
  .course-materials .file-list li { padding: 8px 11px; }
}
