/* Guided white product preview for the four lesson stages. */
body.sterling-refresh .inside-pipeline{max-width:1100px;margin-inline:auto;background:#fff;border:1px solid #e2e8ed;border-radius:22px;box-shadow:0 18px 46px #173d640c;overflow:hidden}
.inside-pipeline-top,.inside-pipeline-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:#fff}
.inside-pipeline-top{border-bottom:1px solid #e8edf1}.inside-pipeline-foot{border-top:1px solid #e8edf1;color:#647b8d;font-size:13px}
.inside-pipeline-title{display:inline-flex;align-items:center;gap:9px;color:#1d3549;font-size:16px;font-weight:800}
.inside-pipeline-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e9f2f8;color:#327ba8;font-size:17px}
.inside-progress-control:focus-visible,.inside-step-button:focus-visible,.inside-replay:focus-visible{outline:3px solid #397eae;outline-offset:2px}
.inside-showcase{display:grid;grid-template-columns:266px minmax(0,1fr);align-items:stretch;padding:18px;background:#fbfcfd}
.inside-step-rail{position:relative;list-style:none;margin:0;padding:12px 12px 12px 4px;display:grid;align-content:center;gap:11px}
.inside-step-rail:before,.inside-step-rail:after{content:"";position:absolute;left:29px;top:64px;width:2px;border-radius:3px;pointer-events:none}
.inside-step-rail:before{bottom:64px;background:#dce7ed}.inside-step-rail:after{height:calc((100% - 128px)*var(--journey-progress,0));background:#3b82af;transition:height .65s ease}
.inside-step{position:relative;z-index:1;min-width:0}
.inside-step-button{width:100%;display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px;min-height:77px;padding:10px 10px 10px 7px;border:1px solid transparent;border-radius:14px;background:transparent;color:#223a50;text-align:left;font:inherit;cursor:pointer;transition:background .3s,border-color .3s,box-shadow .3s}
.inside-step-button:hover{background:#f2f7fa}.inside-step[data-state="active"] .inside-step-button{background:#fff;border-color:#dce8ef;box-shadow:0 7px 20px #1e506e0c}
.inside-step-marker{position:relative;z-index:2;display:grid;place-items:center;width:25px;height:25px;margin:auto;border:2px solid #b7cbd7;border-radius:50%;background:#fff;color:#fff;box-shadow:0 0 0 4px #fbfcfd;transition:background .3s,border-color .3s,transform .3s}
.inside-step-marker svg{display:none;width:15px;height:15px}.inside-step[data-state="active"] .inside-step-marker{border-color:#397eae;background:#397eae;transform:scale(1.1)}
.inside-step[data-state="active"] .inside-step-marker:after{content:"";width:7px;height:7px;border-radius:50%;background:#fff}
.inside-step[data-state="complete"] .inside-step-marker{border-color:#27827a;background:#27827a}.inside-step[data-state="complete"] .inside-step-marker svg{display:block}
.inside-step-heading{display:grid;gap:3px;min-width:0}.inside-step-heading strong{font-size:17px;line-height:1.15;color:#20394e}.inside-step-heading small{font-size:12px;line-height:1.3;color:#697f90}
.inside-step-index{font-size:11px;font-weight:800;letter-spacing:.07em;color:#8a9daa}.inside-step[data-state="active"] .inside-step-index{color:#347bad}.inside-step-chevron{display:none}
.inside-stage{min-width:0;min-height:410px;padding:18px 20px 20px;border:1px solid #e0e9ee;border-radius:17px;background:#fff;box-shadow:0 8px 26px #1e506e08}
.inside-stage-meta{display:flex;justify-content:space-between;gap:8px;padding:0 2px 14px;margin-bottom:15px;border-bottom:1px solid #ebeff2;color:#7c91a0;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.inside-stage-meta [data-stage-kicker]{color:#3378a6}
body.sterling-refresh .inside-pipeline .inside-panel{display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);align-items:start;gap:22px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;animation:inside-stage-rise .48s cubic-bezier(.2,.8,.2,1)}
body.sterling-refresh .inside-pipeline .inside-panel[hidden]{display:none!important}
@keyframes inside-stage-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
body.sterling-refresh .inside-pipeline .inside-copy h3{font-size:clamp(24px,2.4vw,30px);line-height:1.16!important;margin:4px 0 13px}
body.sterling-refresh .inside-pipeline .inside-copy p{font-size:15px;line-height:1.52;margin:0;color:#597185}
body.sterling-refresh .inside-pipeline .inside-board{padding:17px 19px;border:1px solid #e0e8ee;border-radius:13px;box-shadow:none;background:#fdfefe}
body.sterling-refresh .inside-pipeline .inside-board h4{display:block;font-size:17px;margin:0 0 10px}
body.sterling-refresh .inside-pipeline .inside-board-top{margin-bottom:10px}
body.sterling-refresh .inside-pipeline .inside-feature-list>div{padding:8px 10px}
body.sterling-refresh .inside-pipeline .inside-feature-list p{font-size:13px}
body.sterling-refresh .inside-pipeline .inside-diagnosis-row{padding:7px 9px}
body.sterling-refresh .inside-pipeline .inside-response{margin-top:9px;padding:9px 11px}
.inside-replay{border:0;background:none;color:#386f98;font:inherit;font-size:13px;font-weight:700;min-height:32px;cursor:pointer}.inside-replay:hover{text-decoration:underline}
@media(max-width:850px){.inside-showcase{grid-template-columns:218px minmax(0,1fr)}.inside-step-button{padding-right:5px}.inside-step-heading small{font-size:11px}body.sterling-refresh .inside-pipeline .inside-panel{grid-template-columns:1fr;gap:14px}.inside-stage{min-height:0}}
@media(max-width:690px){
 body.sterling-refresh .inside-pipeline{border-radius:17px}
 .inside-pipeline-top,.inside-pipeline-foot{padding:11px 13px}
 .inside-pipeline-top{flex-wrap:wrap;gap:8px}.inside-pipeline-title{font-size:14px}.inside-pipeline-symbol{width:25px;height:25px;font-size:15px} .inside-pipeline-label{font-size:10px;padding:5px 8px} .inside-showcase{display:block;padding:9px;background:#fff}
 .inside-step-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:2px 0 10px}
 .inside-step-rail:before,.inside-step-rail:after{top:auto;bottom:3px;left:4px;height:3px;width:calc(100% - 8px);border-radius:3px}
 .inside-step-rail:after{width:calc((100% - 8px)*var(--journey-progress,0));height:3px;transition:width .65s ease}
 .inside-step-button{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:5px 1px;text-align:center;border-radius:9px}
 .inside-step-marker{width:17px;height:17px;box-shadow:none;border-width:1.5px}.inside-step-marker svg{width:11px;height:11px}.inside-step[data-state="active"] .inside-step-marker:after{width:5px;height:5px}
 .inside-step-heading strong{font-size:12px}.inside-step-heading small,.inside-step-index{display:none}
 .inside-stage{padding:13px 12px 15px;border-radius:12px;min-height:0;box-shadow:0 5px 16px #1e506e08}
 .inside-stage-meta{font-size:10px;margin-bottom:12px;padding-bottom:9px}
 body.sterling-refresh .inside-pipeline .inside-panel{gap:12px}
 body.sterling-refresh .inside-pipeline .inside-copy h3{font-size:21px;margin:0 0 6px}
 body.sterling-refresh .inside-pipeline .inside-copy p{font-size:13px;line-height:1.45}
 body.sterling-refresh .inside-pipeline .inside-board{padding:12px;border-radius:10px}
 body.sterling-refresh .inside-pipeline .inside-board h4{font-size:16px;margin-bottom:7px}
 body.sterling-refresh .inside-pipeline .inside-board-top{margin-bottom:7px}
 .inside-pipeline-foot{font-size:11px}.inside-replay{font-size:11px}
}
@media(max-width:370px){.inside-stage-meta>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.inside-step-rail:after,.inside-step-button,.inside-step-marker,body.sterling-refresh .inside-pipeline .inside-panel{animation:none!important;transition:none!important}}


/* Compact status stepper, following the supplied pipeline recording. */
.inside-demo-label{color:#73818c;font-size:11px;font-weight:600}
.inside-showcase{grid-template-columns:300px minmax(0,1fr)}
.inside-step-rail{display:grid;grid-template-columns:1fr;gap:12px;padding:12px 14px 12px 0;align-content:center}
.inside-step-rail:before,.inside-step-rail:after{display:none}
.inside-step{position:relative}
.inside-step:not(:last-child):after,.inside-step:not(:last-child):before{content:"";position:absolute;left:24px;top:calc(50% + 18px);width:2px;height:calc(100% + 12px - 36px);background:#e0e2e5;z-index:0;pointer-events:none}
.inside-step:not(:last-child):before{z-index:1;background:#17191b;transform-origin:top;transform:scaleY(var(--step-progress,0))}
.inside-step-button{position:relative;z-index:2;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;min-height:74px;padding:12px 10px;border:0;border-radius:11px;background:transparent;box-shadow:none!important;text-align:left}
.inside-step-button:hover{background:#f1f3f4}.inside-step[data-state="active"] .inside-step-button{background:#fff;border:0;box-shadow:none}
.inside-step-marker{width:28px;height:28px;margin:0;border:2px solid #9ba0a5;background:#fff;box-shadow:0 0 0 5px #fbfcfd;transform:none!important}
.inside-step[data-state="active"] .inside-step-marker,.inside-step[data-state="complete"] .inside-step-marker{background:#17191b;border-color:#17191b;color:#fff;box-shadow:0 0 0 5px #fbfcfd}
.inside-step-marker svg{width:15px;height:15px;display:none}
.inside-step[data-state="complete"] .inside-step-marker svg{display:block}
.inside-step[data-state="active"] .inside-step-marker:after{content:"";width:13px;height:13px;border:2px solid #ffffff55;border-top-color:#fff;border-right-color:#fff;border-radius:50%;background:transparent;animation:inside-step-spin .85s linear infinite;animation-play-state:paused}
[data-playback="playing"] .inside-step[data-state="active"] .inside-step-marker:after{animation-play-state:running}
@keyframes inside-step-spin{to{transform:rotate(360deg)}}
.inside-step-heading{min-width:0;display:block}
.inside-step-title{display:flex;align-items:center;gap:7px;min-width:0}
.inside-step-heading strong{font-size:16px;line-height:1.3;flex:1;color:#17232d}
.inside-step-status{flex-shrink:0;padding:4px 6px;border-radius:5px;background:#fff1c9;color:#735816;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap}
[data-status="running"] .inside-step-status{background:#deebfb;color:#2b527b}
[data-status="completed"] .inside-step-status{background:#ddf2e7;color:#2a6750}
[data-status="paused"] .inside-step-status,[data-status="selected"] .inside-step-status{background:#e9edf0;color:#52636e}
.inside-step-time{flex-shrink:0;color:#6c7c86;font-size:10px;font-weight:500;line-height:1.3;white-space:nowrap}
.inside-step-button:focus-visible{outline:3px solid #397eae;outline-offset:2px}
@media(max-width:900px){.inside-showcase{display:block}.inside-step-rail{grid-template-columns:1fr;padding:4px 0 18px;gap:8px}.inside-step-button{min-height:59px;padding:10px;gap:12px}.inside-step:not(:last-child):after,.inside-step:not(:last-child):before{height:calc(100% + 8px - 36px)}.inside-step-title{gap:10px}.inside-step-heading strong{font-size:16px}.inside-step-status{font-size:11px;padding:4px 8px}.inside-step-time{font-size:11px}.inside-stage{min-height:0}.inside-step-heading{width:100%}.inside-step-marker{width:28px;height:28px}.inside-step[data-state="active"] .inside-step-marker:after{width:13px;height:13px}.inside-step-marker svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.inside-step[data-state="active"] .inside-step-marker:after{animation:none!important}.inside-step:not(:last-child):before{transition:none!important}}

/* Phone trial: compact stage rail beside the lesson card. */
@media(max-width:690px){
 .inside-showcase{display:grid;grid-template-columns:clamp(96px,26vw,118px) minmax(0,1fr);gap:8px;padding:6px;align-items:start}
 .inside-step-rail{min-width:0;align-content:start;gap:10px;padding:5px 0}
 .inside-step-button{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:6px;min-height:88px;padding:8px 4px;border-radius:8px}
 .inside-step-marker{width:22px;height:22px;margin:1px 0 0;box-shadow:0 0 0 3px #fff}
 .inside-step[data-state="active"] .inside-step-marker,.inside-step[data-state="complete"] .inside-step-marker{box-shadow:0 0 0 3px #fff}
 .inside-step[data-state="active"] .inside-step-marker:after{width:10px;height:10px}
 .inside-step-marker svg{width:13px;height:13px}
 .inside-step:not(:last-child):after,.inside-step:not(:last-child):before{left:14px;top:34px;height:calc(100% + 10px - 26px)}
 .inside-step-title{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
 .inside-step-heading strong{font-size:13px;line-height:1.4;flex:none}
 .inside-step-status{font-size:10px;line-height:1.4;padding:3px 4px}
 .inside-step-time{font-size:11px;line-height:1.4}
 .inside-stage{padding:10px 8px 12px;border-radius:10px;overflow-wrap:anywhere}
 .inside-stage-meta{font-size:10px;letter-spacing:.04em;padding:0 0 8px;margin-bottom:10px}
 .inside-stage-meta>span:last-child{display:none}
 body.sterling-refresh .inside-pipeline .inside-copy h3{font-size:18px;line-height:1.23!important}
 body.sterling-refresh .inside-pipeline .inside-copy p{font-size:13px;line-height:1.5}
 body.sterling-refresh .inside-pipeline .inside-board{padding:8px 6px;border-radius:8px}
 .inside-board-top{flex-direction:column;align-items:flex-start;gap:6px}
 .inside-overline{font-size:10px;letter-spacing:.04em;line-height:1.5}
 .inside-board-badge{white-space:normal;font-size:10px;padding:4px 6px;line-height:1.4}
 body.sterling-refresh .inside-pipeline .inside-board h4{font-size:15px;line-height:1.35}
 body.sterling-refresh .inside-pipeline .inside-feature-list>div{grid-template-columns:1fr;gap:5px;padding:8px}
 .inside-feature-icon{width:22px;height:22px;font-size:13px;border-radius:6px}
 .inside-feature-list strong{font-size:13px}
 .inside-topic-options,.inside-ask-options{display:grid;grid-template-columns:minmax(0,1fr)}
 .inside-topic-options button,.inside-ask-options button{min-width:0;min-height:44px;padding:6px;font-size:12px}
 .inside-variation-heading{flex-direction:column;align-items:flex-start;gap:3px}
 .inside-variation-heading strong,.inside-focus strong{font-size:15px}
 .inside-variation-grid,.inside-quiz-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .inside-variation{min-width:0;height:44px;padding:0;font-size:13px}
 .inside-quiz-map span{height:35px;font-size:13px}
 .inside-focus{padding:8px}
 body.sterling-refresh .inside-pipeline .inside-diagnosis-row{padding:8px 6px}
 body.sterling-refresh .inside-pipeline .inside-response{padding:8px 6px}
 .inside-review-grid{grid-template-columns:minmax(0,1fr)}
 .inside-review-grid>div{padding:8px 6px}
 .inside-review-grid strong,.inside-diagnosis-row strong{font-size:13px}
 .inside-flow{gap:5px}
 .inside-flow span{font-size:11px;padding:5px 6px;line-height:1.4}
 .inside-flow span+span:before{margin-right:4px}
}
@media(max-width:370px){.inside-variation-grid,.inside-quiz-map{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Edge-to-edge tracks sit above button backgrounds; only their black fill scales. */
.inside-step{z-index:auto}
.inside-step:not(:last-child):after,.inside-step:not(:last-child):before{left:var(--connector-left,23px);top:var(--connector-top,calc(50% + 14px));height:var(--connector-length,calc(100% + 12px - 28px));z-index:3;transition:none}
.inside-step:not(:last-child):before{z-index:4;transform-origin:50% 0;transform:scaleY(var(--step-progress,0))}
@media(max-width:900px){.inside-step:not(:last-child):after,.inside-step:not(:last-child):before{height:var(--connector-length,calc(100% + 8px - 28px))}}
@media(max-width:690px){.inside-step:not(:last-child):after,.inside-step:not(:last-child):before{left:var(--connector-left,14px);top:var(--connector-top,31px);height:var(--connector-length,calc(100% + 10px - 22px))}}
