.vocabulary-review {
  margin-block: 1rem;
}

.vocabulary-review > summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

.vocabulary-review-body {
  display: grid;
  gap: .8rem;
  margin-top: .9rem;
}

.vocabulary-review-body > p {
  margin: 0;
}

.vocabulary-review-step {
  font-weight: 700;
}

.vocabulary-review-context {
  border-radius: .6rem;
  padding: .65rem .85rem;
  background: #e7f5ff;
  color: #153752;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.vocabulary-review-context mark {
  border-radius: .15rem;
  padding: .03em .15em;
  background: #ffe5a1;
  color: inherit;
  font-weight: 800;
}

.vocabulary-review fieldset {
  display: grid;
  gap: .5rem;
  min-inline-size: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.vocabulary-review legend {
  margin-bottom: .4rem;
  padding: 0;
  font-weight: 800;
}

.vocabulary-review-choice {
  min-height: 44px;
  padding: .55rem .75rem;
  border: 1px solid #86a9bd;
  border-radius: .55rem;
  background: #f5fbff;
  color: #153752;
  font: inherit;
  line-height: 1.45;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.vocabulary-review-choice:not(:disabled):hover {
  background: #e7f5ff;
}

.vocabulary-review-choice:disabled {
  cursor: default;
}

.vocabulary-review-choice.is-retry {
  background: #f6f2e9;
  border-color: #a89776;
  color: #554b3a;
  text-decoration: line-through;
}

.vocabulary-review-choice.is-correct {
  border: 2px solid #1e7453;
  background: #daf7e8;
  color: #154335;
  font-weight: 800;
}

.vocabulary-review-feedback {
  min-height: 1.5em;
  font-weight: 700;
  line-height: 1.5;
}

.vocabulary-review-body > .btn {
  justify-self: start;
}

.vocabulary-review [hidden] {
  display: none;
}
