a {
  display: flex;
}
body {
  display: flex;
  gap: 30px;
  max-width: 100vw;
  flex-wrap: wrap;
}
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 150px;
  flex-wrap: wrap;
  width: fit-content;
  order: 1;
}
.box:has(> .done):not(:has(> :not(.done))) {
  background-color: #e5e5e5;
  order: 2;
}
a {
  width: fit-content;
}
.done {
  text-decoration: line-through;
  color: #000 !important;
  opacity: 0.5;
  order: 1;
}

.single {
  order: 2;
}

mark {
  font-weight: bold;
}
