.checklist-flow {
  background:
    linear-gradient(105deg, rgba(30, 32, 29, 0.98) 65%, rgba(30, 32, 29, 0.68)),
    url("/couverture.jpg") right top/auto 230px no-repeat #20221f;
}
.checklist-flow [hidden] {
  display: none !important;
}
.checklist-flow > h2 {
  font-size: 1.45rem;
}
.checklist-flow [data-checklist-step] > section {
  border: 0;
  background: none;
  padding: 0;
  margin: 18px 0;
}
.checklist-flow #checklistRace,
.checklist-flow #checklistReuse,
.checklist-flow #checklistSelect {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  background: #272b27;
  border: 1px solid #606a5c;
  border-radius: 10px;
  color: #eee;
}
.checklist-flow [data-checklist-step="0"] > div {
  margin: 16px 0;
}
.checklist-flow label {
  display: block;
  margin-bottom: 6px;
}
.checklist-flow .category {
  border: 1px solid #4b624b;
  background: #242724;
  border-radius: 14px;
  margin: 16px 0;
}
.checklist-flow #checklistLibrary {
  margin-top: 24px;
}
.checklist-flow #checklistLibrary > summary {
  color: #c5d0c2;
  cursor: pointer;
}
.checklist-flow #checklistLibraryActions {
  margin-top: 16px;
}
.checklist-flow #checklistLibraryLoad {
  margin-top: 0;
}
.checklist-flow #checklistFlowMessage {
  color: #ffcd0a;
  line-height: 1.5;
}
.checklist-flow .template-card[aria-pressed="true"] {
  border: 2px solid #ffcd0a;
}
.checklist-flow .template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checklist-flow .template-card:focus-visible {
  outline: 2px solid #ffcd0a;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .checklist-flow .template-grid {
    grid-template-columns: 1fr;
  }
  .checklist-flow .item {
    flex-wrap: wrap;
  }
  .checklist-flow .item-label {
    min-width: 0;
    flex: 1;
  }
  .checklist-flow .category-header {
    flex-wrap: wrap;
  }
  .checklist-flow .category-title {
    min-width: 0;
    width: 100%;
  }
  .checklist-flow #checklistLibraryActions > button {
    flex: 1;
  }
}
#checklistSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}
#checklistSteps > span {
  padding: 10px 8px;
  border: 1px solid #555;
  border-radius: 10px;
  color: #bcc6be;
  font-size: 0.85rem;
  line-height: 1.4;
}
#checklistSteps > [aria-current="step"] {
  border-color: #6eeb83;
  color: #6eeb83;
  background: #25342a;
}
#checklistCourseSummary {
  margin: 8px 0 16px;
  font-size: 0.9rem;
}
