.map-wayfinding{min-width:0}
.map-wayfinding>a{display:inline-block;margin-bottom:4px;color:var(--blue);font-size:14px;font-weight:700}
.map-wayfinding>a[aria-current=page]{display:none}
.map-heading{margin:12px 0 22px}
.map-heading h1{margin:5px 0 8px}
.map-heading p,.map-resume p,.map-steps p,.map-case-grid p,.map-note{color:#4b6483}
.map-heading p{font-size:clamp(16px,2vw,19px);max-width:680px;margin:0}
.map-steps,.map-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.map-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.map-steps>li,.map-case-grid>article,.map-case,.map-resume{min-width:0;background:#fff;border:1px solid #d5e3f4;border-radius:16px;padding:18px}
.map-steps>li{display:flex;flex-direction:column;align-items:flex-start}
.map-steps>li:first-child{background:#edf5ff;border-color:#bfd7f6}
.map-steps h2,.map-resume h2,.map-case-grid h2{margin:5px 0;font-size:20px;line-height:1.24}
.map-steps p,.map-case-grid p{margin:5px 0 13px}
.map-steps a{margin-top:auto}
.map-num{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;background:#e5effe;color:#0752c5;font-weight:750;margin-bottom:10px}
.map-steps>li:first-child .map-num{background:#0752c5;color:#fff}
.map-resume{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}
.map-resume p{margin:0}
.map-note{margin:10px 0 0}
.map-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.map-case blockquote{margin:9px 0 14px;padding:10px 12px;border-left:3px solid #2673d8;background:#edf5ff;border-radius:4px}
.map-case h2{margin:6px 0 9px}
.map-options{display:grid;gap:8px;margin:12px 0}
.map-options button{text-align:left;white-space:normal}
.map-options button[aria-pressed=true]{opacity:1;border-color:#2673d8;background:#edf5ff}
.map-case-review{border-top:1px solid #d5e3f4;padding:10px 0}
.map-case-review h3,.map-case-review p{margin:0 0 5px}
.map-feedback{padding:8px 10px;background:#edf5ff;border-radius:8px}
.pf-position-details{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:10px}
.pf-position-details label,.pf-annual-grid label{display:grid;gap:5px;min-width:0}
.pf-position-details select,.pf-position-details input,.pf-annual-grid input{width:100%;min-width:0;padding:9px;font:inherit;border:1px solid #bccce0;border-radius:8px;color:#183453;background:white}
.pf-annual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}
.pf-annual-grid>div{min-width:0;background:#edf5ff;border-radius:9px;padding:8px;display:grid;gap:5px}
@media(max-width:760px){
 .map-steps,.map-case-grid,.pf-position-details{grid-template-columns:minmax(0,1fr)}
 .map-steps>li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 10px;padding:12px}
 .map-steps>li>*:not(.map-num){grid-column:2}
 .map-num{grid-row:1/span 4;margin:0}
 .map-steps h2,.map-steps p{margin:0}
 .map-steps a{justify-self:start;margin-top:4px}
 .map-heading{margin:5px 0 14px}
 .map-case,.map-resume,.map-case-grid>article{padding:12px}
 .map-steps a,.map-actions>a,.map-options button{min-height:44px}
 .pf-position-details select,.pf-position-details input,.pf-annual-grid input{font-size:16px}
}

/* Visible progress: stage completion and practice outcomes. */
.p5-stage-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.p5-stage-heading b{color:#0757b7;white-space:nowrap;font-variant-numeric:tabular-nums}
.p5-progress-card .bar{margin:0;height:8px;background:#d9e6f6}
.p5-progress-card .bar>span{background:#0757b7}
.p5-compact .p5-progress-card .bar{height:5px}
.p5-progress-note{margin:-8px 0 20px;color:#435a73;font-size:.9rem}
.p5-map-overview{margin-top:34px}
.p5-overview-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.p5-overview-heading h2{margin:0}
.p5-map-overview .p5-progress{margin-top:12px}
@media(min-width:701px) and (max-width:1050px){.p5-progress:not(.p5-compact){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* When a section is open, keep the workspace focused on that section. */
#section-return[hidden]{display:none}
.section-focus .sidebar{display:none}
body.section-focus #main{width:100%;max-width:1240px;margin-inline:auto;padding-inline:max(18px,env(safe-area-inset-left),env(safe-area-inset-right));box-sizing:border-box}
.section-focus #section-return:not([hidden]){display:inline-flex;align-items:center;min-height:44px;margin:0 0 10px;font-size:15px;font-weight:700}
.section-focus:has(#section-return:not([hidden])) .map-wayfinding>a[data-nav="start"]{display:none}
@media(max-width:700px){body.section-focus #main{padding-inline:max(14px,env(safe-area-inset-left),env(safe-area-inset-right))}}
