/* A quiet, touch-first course map. */
.cleanJourney{--trail:#24b3be;--trailDepth:#167986;--trailSoft:#d9f5ef;max-width:580px;margin:0 auto;padding:0 18px 48px}.pathHome #main{max-width:1100px;padding-top:16px}.pathHome .workspace>footer{display:none}.pathSectionBanner{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:stretch;min-height:110px;background:#197b89;border-bottom:5px solid #125964;border-radius:20px;color:white;position:relative;z-index:3}.pathSectionSelect{background:none;border:0;text-align:left;color:inherit;padding:21px 23px}.pathSectionSelect small{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#b9eee7;letter-spacing:.6px}.pathSectionSelect small .uiIcon{width:13px;height:13px;transform:rotate(90deg)}.pathSectionSelect h1{font-size:24px;line-height:1.2;font-weight:750;margin:7px 0 0;letter-spacing:-.3px}.pathGuide{background:none;border:0;border-left:2px solid #ffffff1c;color:white;display:grid;place-items:center}.pathGuide .uiIcon{width:29px;height:29px;stroke-width:2.4}.learningTrail{position:relative;padding-top:48px;padding-bottom:10px}.trailStop{position:relative;min-height:148px;display:flex;flex-direction:column;align-items:center;padding-bottom:30px}.trailNode{--node-size:100px;--disc-size:76px;--disc-color:var(--surface);--disc-depth:var(--border);position:relative;z-index:1;margin-left:calc(var(--bend)*2);width:var(--node-size);height:var(--node-size);padding:0;border:0;border-radius:50%;display:block;background:none;color:var(--muted);box-shadow:none;flex-shrink:0;transition:transform .16s ease}.trailDisc{position:absolute;width:var(--disc-size);height:var(--disc-size);left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center;background:var(--disc-color);box-shadow:inset 0 -5px 0 var(--disc-depth);pointer-events:none}.trailDisc>.uiIcon{display:block;width:32px;height:32px;stroke-width:2.8;margin:0;transform:none}.trailNode:hover .trailDisc{filter:brightness(1.08)}.trailNode:active{transform:translateY(2px)}.trailNode:focus-visible{outline:3px solid var(--text);outline-offset:5px}.isDone>.trailNode{--disc-color:#69d5c7;--disc-depth:#389f9b;color:#12565e}.isCurrent>.trailNode{--disc-color:var(--trail);--disc-depth:var(--trailDepth);color:white}.isCurrent>.trailNode:before{content:'';position:absolute;inset:0;box-sizing:border-box;border-radius:50%;border:6px solid var(--border);border-top-color:var(--trail);border-right-color:var(--trail);transform:rotate(-35deg);pointer-events:none}.nodeStart{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);font:800 11px 'DM Sans',sans-serif;letter-spacing:.6px;border:2px solid var(--border);border-radius:11px;padding:9px 12px;background:var(--surface);color:var(--green);white-space:nowrap;box-shadow:0 2px 0 #00000009}.nodeStart:after{content:'';position:absolute;width:9px;height:9px;background:var(--surface);border-right:2px solid var(--border);border-bottom:2px solid var(--border);bottom:-7px;left:50%;transform:translateX(-50%) rotate(45deg)}.trailStop.isCurrent{margin-top:0}.trailChang{position:absolute;right:12px;top:-16px;width:145px;pointer-events:none;opacity:1}.trailChang>.heroArt{position:static;display:block;inset:auto;width:100%;height:auto;opacity:1;transform:none;animation:none!important;filter:none}.peekSlot{width:100%;position:relative;z-index:2}.peekSlot:empty{display:none}.pathPeek{margin:20px auto 3px;position:relative;background:var(--trail);color:#fff;border-radius:18px;padding:22px 21px 19px;max-width:390px;box-shadow:0 5px 0 var(--trailDepth);animation:pathReveal .2s ease-out}.pathPeek:before{content:'';width:18px;height:18px;background:var(--trail);position:absolute;top:-8px;left:clamp(25px,calc(50% + var(--bend) - 9px),calc(100% - 45px));transform:rotate(45deg)}.pathPeek small{display:block;color:#e0ffff;font-size:11px;line-height:1.5;padding-right:28px}.pathPeek h2{font-size:23px;line-height:1.2;margin:9px 0}.pathPeek p{font-size:14px;line-height:1.5;color:#ecffff;margin:0 0 17px}.pathPeek .primary{background:white;border:0;border-bottom:4px solid #b1ddd7;color:#116473;width:100%;justify-content:center;min-height:48px;gap:18px;font-size:12px}.peekClose{position:absolute;top:12px;right:9px;width:36px;height:36px;background:none;border:0;color:#fff;display:grid;place-items:center}.peekClose .uiIcon{width:18px;height:18px}.pathEnd{display:flex;align-items:center;justify-content:center;gap:18px;padding-top:10px}.pathEnd>span{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.pathEnd>span .uiIcon{width:16px;height:16px}.pathEnd .secondary{font-size:11px;min-height:44px;gap:10px}.pathMissionButton{display:grid;place-items:center;width:42px;height:42px;padding:8px;background:transparent;border:0;color:#f1bd69}.pathMissionButton>.uiIcon{width:25px;height:25px;stroke-width:2.2}.pathHome .workspace>header{border-bottom:0}.pathHome .breadcrumb{visibility:hidden}.cleanStories{margin-top:25px}.cleanStories .hubSectionHeading{display:none}
@keyframes pathReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:761px){.pathHome .workspace>header{max-width:1100px;margin:auto}.pathHome .cleanJourney{padding-top:12px}.learningTrail{padding-top:52px}.trailStop{min-height:148px}.trailChang{right:48px;width:155px;top:-21px}.pathMissionButton{display:grid}.pathHome .mobileSettings{display:none}}
@media(max-width:760px){.workspace>header .breadcrumb{display:none!important}.pathHome .workspace>header{min-height:70px;height:auto;padding:calc(8px + env(safe-area-inset-top)) 20px 8px!important;position:sticky;top:0;z-index:20;background:var(--bg)}.pathHome .stats{width:100%;display:flex;justify-content:space-between;gap:12px!important}.pathHome .stats>.avatar,.pathHome #themeToggle,.pathHome .mobileSettings,.pathHome .stats>[title="Experiência"],.pathHome .mobilePreviewButton{display:none!important}.pathHome .stats>span:has(#streak){display:flex!important;font-size:17px;gap:7px;color:var(--accent)}.pathHome .stats>span:has(#streak) em{display:none}.pathHome .stats>span:has(#streak) .uiIcon{width:24px;height:26px}.pathHome .compactLanguage{margin:0!important;order:-1}.pathHome .compactLanguage .languageSwitch{border:0!important;background:none!important;box-shadow:none!important;padding:5px!important;min-width:55px;gap:8px}.pathHome .compactLanguage .languageSwitch strong{display:none}.pathHome .wallet{border:0!important;background:none!important;box-shadow:none!important;font-size:16px;padding:4px!important;gap:7px}.pathHome .wallet>.uiIcon{width:25px;height:25px}.pathHome #main{padding:7px 0 95px!important}.cleanJourney{padding:0 20px 30px;max-width:460px}.pathSectionBanner{border-radius:16px;min-height:98px;grid-template-columns:minmax(0,1fr) 59px}.pathSectionSelect{padding:17px 18px}.pathSectionSelect small{font-size:11px}.pathSectionSelect h1{font-size:22px;margin-top:6px}.pathGuide .uiIcon{width:26px;height:26px}.learningTrail{padding-top:34px}.trailStop{min-height:148px;padding-bottom:34px}.trailNode{--node-size:96px;--disc-size:72px}.trailDisc>.uiIcon{width:30px;height:30px}.trailChang{width:126px;right:0;top:-10px}.pathPeek{padding:20px 18px 17px}.pathPeek h2{font-size:21px}.pathPeek p{font-size:13px}.pathMissionButton{width:38px;height:42px}.pathEnd{flex-wrap:wrap}.pathHome nav button{font-size:10px!important}.pathHome nav .uiIcon{width:25px;height:25px}}
@media(max-width:360px){.cleanJourney{padding-left:16px;padding-right:16px}.pathHome .workspace>header{padding-left:16px!important;padding-right:16px!important}.trailNode{margin-left:calc(var(--bend)*1.7)}.trailChang{width:104px;right:0;top:0}.pathSectionSelect h1{font-size:20px}.pathSectionSelect{padding:16px 15px}.pathPeek:before{left:clamp(25px,calc(50% + var(--bend)*.85 - 9px),calc(100% - 45px))}}
@media(prefers-reduced-motion:reduce){.pathPeek,.trailNode{animation:none;transition:none}}

.learningTrail:has(>.stop0.isCurrent){padding-top:72px}

/* The card floats over the map and never participates in its layout. */
.pathPopover{position:fixed;z-index:35;width:min(390px,calc(100vw - 32px));isolation:isolate}.pathPopover:before{content:'';position:absolute;top:-8px;left:calc(var(--tip-x) - 9px);width:18px;height:18px;background:var(--trail,#24b3be);transform:rotate(45deg);z-index:-1}.pathPopover[data-side=above]:before{top:auto;bottom:-8px}.pathPopover .pathPeek{margin:0;max-width:none;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;background:#24b3be;box-shadow:0 5px 0 #167986,0 12px 30px #00000026;animation:none}.pathPopover .pathPeek:before{display:none}.pathPopover .peekClose{width:44px;height:44px;right:5px;top:6px}.pathPopover .pathPeek small{padding-right:32px}.pathPopover .primary{flex:none}.pathPopover .primary:focus-visible{outline:3px solid #fff;outline-offset:4px}

.peekStoryPortrait{float:right;margin:8px 0 4px 12px;width:70px;height:78px}.peekStoryPortrait>.storyPerson{display:block;width:100%;height:100%;object-fit:contain}.pathPeek>.primary{clear:both}

/* Both bars remain visible while the lesson path scrolls underneath. */
.pathHome .workspace>header{position:sticky;top:0;z-index:20;background:var(--bg)}
.pathHome .pathSectionBanner{position:sticky;top:calc(var(--path-stats-height,70px) + 6px);z-index:18;isolation:isolate}
.pathHome .pathSectionBanner:before{content:'';position:absolute;inset:-7px -20px -7px;z-index:-1;background:var(--bg);pointer-events:none}
.pathHome .pathSectionBanner:after{content:'';position:absolute;inset:0;border-radius:inherit;background:#197b89;z-index:-1;pointer-events:none}

/* One dock prevents two independent sticky layers from separating in iOS. */
.pathHome .workspace>header{display:flex;flex-direction:column;align-items:stretch;gap:7px;height:auto;min-height:0;padding:8px 46px 7px;position:sticky;top:0;background:var(--bg);z-index:30}
.pathHome .workspace>header>.breadcrumb{display:none!important}.pathHome .workspace>header>.stats{min-height:52px;justify-content:flex-end}
.pathHome .workspace>header>.pathSectionBanner{position:relative;top:auto;flex-shrink:0;width:100%;max-width:544px;margin:0 auto;z-index:auto;box-sizing:border-box}
.pathHome .pathSectionBanner:before,.pathHome .pathSectionBanner:after{display:none}
@media(max-width:760px){.pathHome .workspace>header{position:fixed;left:0;right:0;top:0;max-width:none;width:100%;box-sizing:border-box;min-height:0;height:auto;padding:calc(8px + env(safe-area-inset-top)) 20px 7px!important;gap:7px}.pathHome .workspace>header>.stats{width:100%;min-height:47px;justify-content:space-between}.pathHome .workspace>header>.pathSectionBanner{max-width:420px}.pathHome #main{padding-top:calc(var(--path-dock-height,167px) + 7px)!important}.pathHome .cleanJourney{padding-top:0}.pathHome .learningTrail{padding-top:34px}}
nav .illustratedIcon{width:27px!important;height:27px!important;opacity:.78}nav [aria-current=page] .illustratedIcon{opacity:1}nav button:hover .illustratedIcon{opacity:1}.illustratedIcon .iconPracticeWeight{transform:none;transform-origin:16px 16px}

/* A compact, connected route rather than isolated buttons. */
.pathHome .learningTrail{padding-top:32px;padding-bottom:0;isolation:isolate}
.pathHome .learningTrail:has(>.stop0.isCurrent){padding-top:56px}
.pathHome .trailStop{min-height:112px;padding-bottom:0}
.trailRoute{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1}
.routeSegment{fill:none;stroke:var(--border);stroke-width:5;stroke-linecap:round;stroke-dasharray:2 9;opacity:.8}
.routeSegment.routeDone{stroke:#69bdb6;stroke-dasharray:none;opacity:.6}
.routeSegment.routeNext{stroke:#32bac4;opacity:.75}
.pathHome .trailChang{width:115px;top:-5px;right:9px}
@media(min-width:761px){.pathHome .trailChang{right:52px;width:132px;top:-10px}}
@media(max-width:360px){.pathHome .trailStop{min-height:108px}.pathHome .trailChang{width:96px;right:0;top:0}.routeSegment{stroke-width:4}}
/* Keep the start callout clear of the preceding completed node. */
.pathHome .trailStop.isCurrent:not(.stop0){margin-top:28px}
