[hidden] { display: none !important; }
section { scroll-margin-top: 1rem; }
.index ol {
  columns: 2 16rem;
  column-gap: 2rem;
  margin-bottom: .5rem;
}
.index li { break-inside: avoid; margin-bottom: .35rem; }
.index p { margin: .5rem 0; }
.example p { margin: .35rem 0 0; }
article + article { margin-top: 1.5rem; }
h3 { margin-bottom: .25rem; }
h3 + p { margin-top: 0; }
.exercise { overflow-wrap: anywhere; }
.exercise p { margin: .4rem 0; }
.exercise details[open] > p, #examen details[open] > p {
  padding: .75rem;
  border-radius: .5rem;
  background: #e4f1e8;
}
figure img { width: auto; max-width: 100%; }
sup { line-height: 0; }
fieldset {
  min-width: 0;
  margin: 1.25rem 0;
  padding: .75rem 1rem;
  border: 1px solid #c9dbd2;
  border-radius: .6rem;
}
legend { font-weight: 700; }
#exam-form label { display: flex; align-items: baseline; }
#exam-form input[type="radio"] { width: 1rem; height: 1rem; accent-color: #215b46; flex: 0 0 auto; }
.exam-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.secondary { color: #183f35; background: white; }
.exam-result, #exam-score { font-weight: 700; }
.exam-result[data-correct="false"] { color: #8c3417; }
@media print {
  header, .index, .exam-actions, details { display: none; }
  section { border: 0; }
  .exercise, fieldset { break-inside: avoid; }
}
