.as-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #806951;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.as-top a {
  color: inherit;
}
.as-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.as-modules article {
  border: 1px solid #e8ddce;
  border-radius: 18px;
  padding: 24px;
  background: #fffdf9;
  min-width: 0;
}
.as-modules h3 {
  font-size: 23px;
}
.as-note,
.as-passage,
.as-listen {
  padding: 24px;
  background: #f3ecdf;
  border-radius: 18px;
  line-height: 1.8;
  margin: 24px 0;
}
.as-passage {
  font-size: 19px;
  white-space: pre-wrap;
}
.as-options {
  border: 0;
  padding: 0;
  margin: 28px 0;
}
.as-options legend {
  margin-bottom: 14px;
  color: #806951;
}
.as-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8ddce;
  border-radius: 14px;
  padding: 18px;
  margin: 10px 0;
  cursor: pointer;
  background: #fffdf9;
}
.as-options label:has(input:checked) {
  border-color: #8d644f;
  background: #f3ecdf;
}
.as-options input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #8d644f;
}
.as-work {
  border-top: 1px solid #e8ddce;
  padding: 22px 0;
}
.as-work textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 200px;
  margin: 15px 0;
  padding: 18px;
  font: inherit;
  border: 1px solid #cabaac;
  border-radius: 14px;
  resize: vertical;
}
.as-storage {
  font-size: 12px;
  color: #806951;
  margin-top: 30px;
}
.as-details {
  margin: 28px 0;
}
.as-details details {
  padding: 12px 0;
  border-bottom: 1px solid #e8ddce;
}
.as-details summary {
  cursor: pointer;
  padding: 8px 0;
}
.as-work audio {
  width: 100%;
  max-width: 420px;
}
.as-listen [data-play-status] {
  display: block;
  margin-top: 14px;
}
.lt-runner button:disabled {
  opacity: 0.55;
  cursor: default;
}
.lt-runner .lt-actions {
  flex-wrap: wrap;
}
.as-work p,
.as-note p {
  overflow-wrap: anywhere;
}
textarea:focus-visible {
  outline: 3px solid #d4b894;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .as-modules {
    grid-template-columns: 1fr;
  }
  .as-modules article,
  .as-note,
  .as-passage,
  .as-listen {
    padding: 18px;
  }
  .as-passage {
    font-size: 17px;
  }
  .as-top {
    font-size: 12px;
  }
}

[data-assessment] h2[tabindex='-1']:focus {
  outline: none;
}
