.learner-hero h1 { max-width: 11ch; }
.learner-studio { background: radial-gradient(ellipse at 91% 0%, #525a3d, transparent 75%), #252822; }
.learner-studio-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.learner-progress {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  appearance: none;
  accent-color: #648354;
  border: 0;
  border-radius: 20px;
  background: #e7dfc8;
}
.learner-progress::-webkit-progress-bar { background: #e7dfc8; }
.learner-progress::-webkit-progress-value { background: #648354; border-radius: 20px; }
.learner-progress::-moz-progress-bar { background: #648354; border-radius: 20px; }
.learner-preview-head {
  display: flex;
  min-height: clamp(119px, 12vw, 170px);
  flex-direction: column;
  justify-content: end;
  padding: clamp(10px, 1.7vw, 20px);
  border-radius: 10px;
  background: linear-gradient(135deg, #efe1b5, #f7efd8);
  color: #3c301c;
}
.learner-preview-head--task { background: linear-gradient(135deg, #f1d890, #f9eed2); }
.learner-preview-head--result { background: linear-gradient(135deg, #dce7cf, #f0f2de); color: #27382a; }
.learner-preview-head p, .learner-preview-head span { font-size: 12px; }
.learner-preview-head p { font-weight: 740; }
.learner-preview-head h2 { margin-block: 5px; font-size: clamp(25px, 3vw, 42px); text-wrap: initial; }
.learner-lesson-action {
  display: flex;
  min-height: 52px;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 8px;
}
.learner-lesson-action .button { min-height: 44px; }
.learner-lesson-action p { color: var(--muted); font-size: 12px; }
.learner-attempt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #eee6d4;
  font-size: 14px;
}
.learner-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.learner-path article { min-width: 0; padding: clamp(16px, 2.6vw, 29px); border-radius: 16px; background: #fffcf2; }
.learner-path h3 { margin-top: 12px; font-size: clamp(21px, 2.1vw, 29px); }
.learner-path p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.learner-results { background: radial-gradient(ellipse at 100% 0%, #515d3f, transparent 73%), #292e26; }
.learner-result-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.learner-result-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; padding-bottom: 9px; border-bottom: 1px solid #fff0ca31; }
.learner-result-list li:last-child { padding-bottom: 0; border: 0; }
.learner-result-list strong { color: #ffe19e; }
.learner-result-list p { margin-top: 4px; font-size: 14px; }

@media (max-width: 900px) {
  .learner-hero h1 { max-width: none; }
}
@media (max-width: 700px) {
  .learner-path { grid-template-columns: minmax(0, 1fr); }
  .learner-path p { max-width: 48ch; }
}
@media (max-width: 420px) {
  .learner-studio-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learner-lesson-action { min-height: 68px; }
}
