/* Scoped audit improvements. Approved hero and original theme remain untouched. */
.journey-step legend { scroll-margin-top: 1rem; }
.pathway-page .pathway-result__header { gap: .5rem; }
.pathway-page .pathway-result__header > * { margin-block: 0; max-width: 72ch; }
.pathway-page .pathway-result__summary, .journey-result-destination { font: .9375rem/1.6 var(--ui); }
.pathway-page .journey-task p { max-width: 75ch; }
.pathway-page .pathway-result > section > h3 { padding-inline: 1.25rem; }
.journey-details summary { min-height: 44px; line-height: 1.5; }
.guide-coverage-summary { max-width: 72ch; line-height: 1.65; }
.guide-result-types { margin-block: 2rem; max-width: 72ch; }
.guide-result-types dt { font-weight: 700; margin-top: 1.25rem; }
.guide-result-types dd { margin: .35rem 0 0; line-height: 1.65; }
.authority-index { margin-block: 2rem; padding: 1.25rem; }
.authority-index ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: .5rem 1.5rem; list-style: none; padding: 0; }
.authority-index a { display: flex; align-items: center; min-height: 44px; line-height: 1.5; }
.institution-card[id] { scroll-margin-top: 1.5rem; }
.provider-full-application > summary { padding: 1.25rem; min-height: 44px; font-weight: 700; cursor: pointer; }
#provider-first-contact p { max-width: 72ch; }
#provider-first-contact a { display: inline-flex; min-height: 44px; align-items: center; }
.not-found { max-width: 64rem; margin: 6vh auto; padding: 2rem; }
.not-found nav { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.not-found nav a { min-height: 44px; display: flex; align-items: center; }
