/* Keep the study path a short, readable list instead of a wide dependency graph. */
#map .mapPath{margin-block:1rem;padding:clamp(.85rem,3vw,1.25rem);scroll-margin-top:1rem}
#map .mapPath h3{margin:0 0 .65rem}
#map .mapPath h3:focus-visible{outline:2px solid var(--green,#256143);outline-offset:.25rem}
#map .mapPathPresets,#map .mapPathTitle,#map .mapLessonActions,#map .mapPathStepState{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .55rem}
#map .mapPathPresets button[aria-pressed=true]{background:var(--green,#256143);color:#fff}
#map .mapPathTitle{justify-content:space-between;margin-top:.55rem}
#map .mapPathTitle p{margin-block:.35rem}
#map .mapPathSteps{margin:.5rem 0 0;padding:0;list-style:none;display:grid;gap:.5rem}
#map .mapPathSteps li{padding:.55rem .65rem;border:1px solid #c9d7cc;border-radius:.65rem;min-width:0}
#map .mapPathStepHead{display:grid;grid-template-columns:1.55rem minmax(0,1fr);align-items:center;gap:.5rem}
#map .mapPathNumber{font-weight:700;text-align:center;color:var(--green,#256143);background:#edf5ed;border-radius:1rem}
#map .mapPathStepState{padding-left:2.05rem;margin-top:.3rem}
#map .mapPathSteps [aria-current=step]{border-color:#467559}
#map .mapPathSteps .mapPathWeak{border-color:#a86731;background:#fff6e9}
#map .mapWeakTag{font-size:.86rem;font-weight:700;color:#764215}
#map .mapLessonActions{justify-content:flex-end}
#map .mapRouteLink{background:transparent;color:var(--green,#256143);font:inherit;font-size:.85rem;text-decoration:underline;padding:.25rem .4rem;min-height:2.25rem}
#map .mapEmpty{margin-top:1rem}
@media(max-width:520px){
 #map .mapPathTitle{align-items:flex-start}
 #map .lessonRows li{flex-wrap:wrap}
 #map .mapLessonActions{justify-content:flex-start}
 #map .mapPath button{min-height:2.5rem}
}
