/* One compact learning path; titles live in accessible hover/focus panels. */
#learning-path[data-landscape]{position:relative;isolation:isolate;min-width:0;height:var(--journey-height,740px);padding:0;background:none}
#learning-path[data-landscape]::before{display:none}
#learning-path[data-landscape] .unit-stop,#learning-path[data-landscape] .unit-stop:nth-of-type(even){position:absolute;top:var(--stop-y);left:30%;width:140px;max-width:none;transform:translateX(-50%);margin:0!important;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;z-index:3}
#learning-path[data-landscape] .unit-stop[data-direction=right]{left:68%;margin:0!important}
#learning-path[data-landscape] .unit-stop::before,#learning-path[data-landscape] .unit-stop::after{display:none}
#learning-path[data-landscape] .unit-heading,#learning-path[data-landscape] .unit-parts,#learning-path[data-landscape] .unit-status,#learning-path[data-landscape] .segmented-circle,#learning-path[data-landscape] .unit-launch-note,#learning-path[data-landscape] .orbit-caption{display:none}
#learning-path[data-landscape] .unit-body{display:block;padding:0;margin:0}
#learning-path[data-landscape] .unit-orbit{position:relative;display:block;width:140px;height:140px;min-height:0;flex-basis:auto}
#learning-path[data-landscape] .unit-launch{position:relative;display:block;width:140px;height:140px;padding:0;margin:0;border:0;background:transparent;color:#fff;cursor:pointer}
.unit-progress-ring{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.unit-launch-face{position:absolute;inset:20px 20px 25px;display:grid;place-items:center;background:#e60033;border-radius:50%;box-shadow:0 7px 0 #b5002b,inset 0 3px 0 #ff6385;transition:transform .15s,box-shadow .15s}
.unit-launch-face::before{content:'';position:absolute;inset:8px;border:2px solid #ff8aa440;border-radius:50%}
.unit-launch-face>svg{width:40px;height:40px}
.unit-launch:not(.is-locked):hover .unit-launch-face{transform:translateY(-2px)}
.unit-launch:not(.is-locked):active .unit-launch-face{transform:translateY(6px);box-shadow:0 1px 0 #b5002b,inset 0 3px 0 #ff6385}
.unit-launch.is-locked{cursor:default;color:#b4aab6!important}
.unit-launch.is-locked .unit-launch-face{background:#efebef;box-shadow:0 7px 0 #d7cfd9,inset 0 3px 0 #fff}
.unit-launch.is-golden .unit-launch-face{background:#f5c443;box-shadow:0 7px 0 #cc951e,inset 0 3px 0 #ffe9a2}
.unit-launch.is-golden:active .unit-launch-face{box-shadow:0 1px 0 #cc951e,inset 0 3px 0 #ffe9a2}
.journey-trail{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
#learning-path[data-landscape] .unit-star{display:block;width:100%;height:auto;min-height:38px;padding:10px;margin:14px 0 0;border:1px solid #ebcf8a;border-radius:12px;background:#fff6db;color:#926112;box-shadow:0 3px 0 #ecdbad;font:700 12px/1.4 Manrope,sans-serif;cursor:pointer}
#learning-path[data-landscape] .unit-star[hidden]{display:none!important}
#learning-path[data-landscape] .journey-bridge{position:absolute;inset:0;width:100%;height:100%;margin:0;pointer-events:none;overflow:hidden;z-index:1}
#learning-path[data-landscape] .journey-bridge::before,#learning-path[data-landscape] .journey-bridge::after{display:none}
.garden-sprite{display:block;position:absolute;background-image:url('/images/journey-garden-parts.png');background-repeat:no-repeat;pointer-events:none}
.garden-campus{aspect-ratio:630/1024;background-size:243.81% 100%;background-position:0% 50%;width:210px;right:2%;top:-30px}
.garden-mascot{aspect-ratio:460/1024;background-size:333.913% 100%;background-position:58.55% 50%;width:150px;left:3%;top:295px;animation:journey-idle 7s ease-in-out infinite}
.garden-trees{aspect-ratio:446/1024;background-size:344.395% 100%;background-position:100% 50%;width:120px;right:12%;bottom:0}
@keyframes journey-idle{50%{transform:translateY(-4px)}}
.learn-page .journey-intro{padding-bottom:8px}.learn-page .journey-intro p{display:none}
.learn-page .route-end{background:none;padding:22px;border:1px solid #eee7ea;border-radius:20px}
@media(max-width:1000px){.garden-campus{width:160px;right:0;top:0}.garden-mascot{width:120px;left:0;top:310px}.garden-trees{width:100px;right:10%}.journey-tooltip{width:220px}}
@media(max-width:600px){#learning-path[data-landscape] .unit-stop{left:28%}#learning-path[data-landscape] .unit-stop[data-direction=right]{left:67%}.garden-campus{width:125px;right:-2%;top:30px}.garden-mascot{width:100px;left:-2%;top:330px}.garden-trees{width:85px;right:8%}.journey-tooltip{width:210px}#learning-path[data-landscape] .unit-stop[data-direction=left] .journey-tooltip{left:30%;transform:translate(-30%,0)}#learning-path[data-landscape] .unit-stop[data-direction=right] .journey-tooltip{left:75%;transform:translate(-75%,0)}}
@media(prefers-reduced-motion:reduce){.unit-launch-face,.journey-tooltip{transition:none}.garden-mascot{animation:none}}
/* A softer trail and a compact panel that stays inside its own padding. */
.journey-trail{filter:drop-shadow(0 2px 0 #eecdd54d)}
#learning-path[data-landscape] .unit-launch{filter:drop-shadow(0 7px 7px #7021390a)}
.journey-tooltip{width:270px;padding:18px 20px;border-color:#eddee4;border-radius:20px;box-shadow:0 8px 28px #55233512;top:calc(100% + 12px)}
.journey-tooltip::before{height:20px;top:-20px}
.journey-tooltip::after{content:'';position:absolute;left:calc(50% - 6px);top:-7px;width:12px;height:12px;background:#fff;border-left:1px solid #eddee4;border-top:1px solid #eddee4;transform:rotate(45deg)}
.journey-tooltip strong{font-size:13px;font-weight:800;line-height:1.5}
.journey-tooltip ul{font-size:11px;line-height:1.6;margin-top:10px}
.journey-tooltip li{padding-left:10px;position:relative}
.journey-tooltip li::before{content:'';position:absolute;left:0;top:7px;width:3px;height:3px;border-radius:50%;background:#d5acb8}
#learning-path[data-landscape] .unit-star{box-sizing:border-box;max-width:100%;width:100%;margin:14px 0 0;padding:10px 12px;border-radius:11px;box-shadow:0 2px 0 #ecdbad;font-size:11px}
.garden-campus{width:190px;right:2%;top:-10px}
.garden-mascot{width:140px;left:4%;top:270px}
.garden-trees{width:105px;right:11%;bottom:-15px}
@media(max-width:1000px){.garden-campus{width:150px;right:0;top:8px}.garden-mascot{width:115px;left:0;top:290px}.garden-trees{width:90px;right:10%}}
@media(max-width:600px){.journey-tooltip{width:230px;padding:16px}.journey-tooltip::after{display:none}.garden-campus{width:120px;right:-2%;top:32px}.garden-mascot{width:100px;left:-2%;top:310px}.garden-trees{width:80px;right:8%}}
/* Closely spaced, staggered units without connecting paths. */
.journey-trail{display:none}
#learning-path[data-landscape] .unit-stop{left:38%}
#learning-path[data-landscape] .unit-stop[data-direction=right]{left:62%}
.garden-campus{width:150px;right:0;top:-10px}
.garden-mascot{width:115px;left:1%;top:155px}
.garden-trees{width:90px;right:4%;bottom:-10px}
@media(max-width:1000px){.garden-campus{width:120px;right:-1%;top:8px}.garden-mascot{width:95px;left:-2%;top:170px}.garden-trees{width:75px;right:2%}}
@media(max-width:600px){#learning-path[data-landscape] .unit-stop{left:34%}#learning-path[data-landscape] .unit-stop[data-direction=right]{left:64%}.garden-campus{width:95px;right:-3%;top:10px}.garden-mascot{width:80px;left:-4%;top:175px}.garden-trees{width:65px;right:0}}
#learning-path[data-landscape] .unit-stop{left:42%}
#learning-path[data-landscape] .unit-stop[data-direction=right]{left:58%}
.garden-campus{width:115px;top:-16px}.garden-mascot{width:95px;top:125px}.garden-trees{width:70px;bottom:-8px}
@media(max-width:600px){#learning-path[data-landscape] .unit-stop{left:38%}#learning-path[data-landscape] .unit-stop[data-direction=right]{left:62%}.garden-campus{width:85px;top:0}.garden-mascot{width:70px;top:125px}.garden-trees{width:55px}}

/* Click-to-open lesson card, matching the cherry-red learning circles. */
#learning-path[data-landscape] .unit-stop.is-expanded{z-index:20}
#learning-path[data-landscape] .journey-tooltip{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(calc(-50% + var(--tip-shift,0px)));box-sizing:border-box;width:296px;max-width:calc(100vw - 24px);padding:18px 16px 20px;background:var(--accent,#e60033);color:#fff;border:0;border-radius:16px;box-shadow:0 8px 22px #70213914;z-index:21;text-align:left;visibility:visible;opacity:1;pointer-events:auto}
#learning-path[data-landscape] .journey-tooltip[hidden]{display:none!important}
#learning-path[data-landscape] .journey-tooltip::before{display:none}
#learning-path[data-landscape] .journey-tooltip::after{display:block;content:'';position:absolute;left:calc(50% - var(--tip-shift,0px) - 7px);top:-7px;width:14px;height:14px;background:var(--accent,#e60033);border:0;transform:rotate(45deg);border-radius:2px}
#learning-path[data-landscape] .journey-tooltip strong{display:block;color:#fff;font-size:17px;font-weight:800;line-height:1.35}
#learning-path[data-landscape] .journey-progress{margin:6px 0 20px;color:#fff;font-size:14px;font-weight:500;line-height:1.4}
#learning-path[data-landscape] .journey-start{display:block;width:100%;min-height:48px;padding:13px 10px;background:#fff;color:var(--accent,#e60033);border:0;border-radius:14px;box-shadow:0 4px 0 #f0c9d2;font:800 13px/1.35 Manrope,sans-serif;text-transform:uppercase;letter-spacing:.3px;cursor:pointer}
#learning-path[data-landscape] .journey-start:hover{background:#fff8fa}
#learning-path[data-landscape] .journey-start:active{transform:translateY(3px);box-shadow:0 1px 0 #f0c9d2}
#learning-path[data-landscape] .journey-start:focus-visible{outline:3px solid #fff;outline-offset:6px}

/* Keep the card anchored to the circle on both staggered sides. */
#learning-path[data-landscape] .unit-stop[data-direction] .journey-tooltip{left:50%}

/* Starting cue, centered above the next available lesson. */
#learning-path[data-landscape]{margin-top:42px}
.journey-start-hint{position:absolute;bottom:calc(100% + 3px);left:50%;transform:translateX(-50%);box-sizing:border-box;padding:11px 15px;background:#fff;border:2px solid #eadfe3;border-radius:11px;color:var(--accent,#e60033);font:800 13px/1.2 Manrope,sans-serif;letter-spacing:.4px;white-space:nowrap;pointer-events:none;z-index:4}
.journey-start-hint::after{content:'';position:absolute;left:calc(50% - 6px);bottom:-7px;width:10px;height:10px;background:#fff;border-right:2px solid #eadfe3;border-bottom:2px solid #eadfe3;transform:rotate(45deg)}

/* The cue gently folds away while the lesson menu is open, then returns. */
.journey-start-hint{opacity:1;transform:translate(-50%,0) scale(1);transform-origin:50% 100%;transition:opacity .22s ease,transform .36s cubic-bezier(.2,.8,.25,1.2);will-change:opacity,transform}
.unit-stop.is-expanded .journey-start-hint{opacity:0;transform:translate(-50%,9px) scale(.88);transition:opacity .16s ease,transform .22s cubic-bezier(.4,0,.6,1)}
@media(prefers-reduced-motion:reduce){.journey-start-hint,.unit-stop.is-expanded .journey-start-hint{transition:none}}

/* Locked units show an explanatory card without enabling their lessons. */
#learning-path[data-landscape] .unit-launch.is-locked{cursor:pointer}
#learning-path[data-landscape] .journey-tooltip.is-locked{background:#f3f1f3;border:2px solid #e2dce1;box-shadow:none}
#learning-path[data-landscape] .journey-tooltip.is-locked::after{background:#f3f1f3;border-left:2px solid #e2dce1;border-top:2px solid #e2dce1;top:-9px}
#learning-path[data-landscape] .journey-tooltip.is-locked strong{color:#746a74}
#learning-path[data-landscape] .journey-tooltip.is-locked .journey-progress{color:#827782;line-height:1.55}
#learning-path[data-landscape] .journey-tooltip.is-locked .journey-start:disabled{background:#e2dce1;color:#948993;box-shadow:none;cursor:default;transform:none}

#learning-path[data-landscape] .journey-tooltip{transform-origin:50% 0;transition:none}
#learning-path[data-landscape] .unit-stop.is-menu-closing{z-index:19}
#learning-path[data-landscape] .unit-stop.is-menu-closing .journey-tooltip{pointer-events:none}
