.repere-parcours-dialog {
  width: min(38rem, calc(100% - 1rem));
  max-height: calc(100dvh - 1rem);
  padding: 0;
  border: 1px solid #aabbd0;
  border-radius: 1rem;
  color: var(--text, #142941);
  background: var(--paper, #fff);
}
.repere-parcours-dialog::backdrop { background: rgb(20 41 65 / .57); }
.repere-parcours-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1rem;
  background: inherit;
  border-bottom: 1px solid #aabbd0;
}
.repere-parcours-header h2,
.repere-aide-choices h3,
.repere-etape h3 { margin: 0; }
.repere-parcours-content,
.repere-aide-choices,
.repere-activity-list,
.repere-etape { display: grid; gap: .7rem; }
.repere-parcours-content { padding: 1rem; }
.repere-aide-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.repere-aide-grid > button { text-align: start; }
.repere-parcours-dialog button,
.repere-parcours-dialog .button-link,
#help-shortcut, #offline-help { min-block-size: 44px; }
.repere-action-icon { margin-inline-end: .4em; flex: none; }
.repere-aide-choices a { justify-self: start; color: inherit; }
.repere-etape { padding: .9rem; border: 1px solid #aabbd0; border-inline-start-width: 4px; border-radius: .7rem; }
.repere-etape ul, .repere-etape dl { margin: 0; }
.repere-etape p { margin: 0; }
.repere-etape img { max-width: min(100%, 28rem); max-height: 18rem; object-fit: contain; border-radius: .5rem; }
.repere-etape .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.repere-activity-caption { font-size: .9em; }
.repere-path-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
#help-shortcut { display: inline-flex; align-items: center; gap: .3em; }
@media (max-width: 445px) {
  .top-line { flex-wrap: wrap; }
  .top-actions { margin-inline-start: auto; }
}
html[data-contrast="high"] .repere-parcours-dialog,
html[data-contrast="high"] .repere-etape { border-color: currentColor; }
