.quiz-block fieldset {
  min-width: 0;
}

.choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 52px;
  text-align: left;
}

.choice input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  justify-self: center;
  box-shadow: none;
}

.choice > span {
  min-width: 0;
  line-height: 1.45;
}

.choice:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 111, 84, .12);
}

.answer-sheet {
  margin-top: 24px;
}

.review-question {
  border-top: 1px solid var(--line);
  padding: 25px 0 4px;
}

.review-question h3 {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
}

.review-question h3 > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.choice.review {
  grid-template-columns: 20px minmax(0, 1fr) auto;
  cursor: default;
  background: #fff;
}

.choice.review:hover {
  border-color: var(--line);
  background: #fff;
}

.choice.review i {
  display: block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #9ba59f;
  border-radius: 50%;
}

.choice.review.selected {
  border-color: #8bb8a5;
  background: #edf7f1;
}

.choice.review.selected i {
  border: 5px solid var(--green);
}

.choice.review b {
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}

.quiz-next {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

@media (max-width: 620px) {
  .choice.review {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .choice.review b {
    grid-column: 2;
  }

  .quiz-next {
    justify-content: stretch;
  }

  .quiz-next .primary {
    width: 100%;
  }
}

/* Long-form lessons for complete beginners. */
.lesson-copy p:first-child::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.lesson-intro {
  margin: 0 0 42px;
  padding: 22px 24px;
  border-left: 5px solid var(--yellow);
  background: #f5f6f2;
  font-size: 18px;
  line-height: 1.7;
}

.lesson-section {
  margin: 0 0 46px;
  scroll-margin-top: 100px;
}

.lesson-section h2 {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.lesson-section p {
  max-width: 740px;
  margin: 0 0 16px;
}

.lesson-section ul {
  max-width: 740px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.lesson-section > ul li,
.beginner-mistakes li {
  position: relative;
  padding: 10px 0 10px 29px;
  border-bottom: 1px solid var(--line);
}

.lesson-section > ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--green);
}
.lesson-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.lesson-links a{border:1px solid var(--line);border-left:4px solid var(--yellow);padding:9px 12px;font-size:13px;font-weight:800}.lesson-links a:hover{border-color:var(--green);color:var(--green)}

.learning-example,
.beginner-mistakes {
  max-width: 740px;
  margin: 25px 0;
  padding: 20px 22px;
}

.learning-example {
  border: 1px solid #cad8cf;
  background: #eef6f1;
}

.learning-example > b,
.beginner-mistakes > b {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}

.learning-example p {
  margin: 0;
}

.beginner-mistakes {
  border-left: 5px solid #c98342;
  background: #fbf3ea;
}

.beginner-mistakes ul {
  margin: 7px 0 0;
}

.beginner-mistakes li {
  border-bottom-color: #ead8c7;
}

.beginner-mistakes li:last-child,
.lesson-section > ul li:last-child {
  border-bottom: 0;
}

.work-task {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  margin: 50px 0 10px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: #fffdf3;
}

.work-task-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  font-size: 20px;
  font-weight: 800;
}

.work-task h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.work-task p:last-child {
  margin: 0;
}

@media (max-width: 620px) {
  .lesson-intro {
    padding: 18px;
    font-size: 16px;
  }

  .lesson-section h2 {
    font-size: 23px;
  }

  .work-task {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
