/* L0 is a full project-planning stage, not a footnote to acceptance testing. */
.cx-story .cx-level-walkthrough{margin:32px 0 40px;padding:30px;background:#172127;color:#fff;border-top:4px solid #e92135;scroll-margin-top:100px}
.cx-story .cx-level-walkthrough h3{font-size:clamp(27px,3vw,38px);line-height:1.15;margin:8px 0 15px;color:#fff}
.cx-story .cx-level-walkthrough-heading>p:not(.eyebrow){max-width:950px;font-size:18px;line-height:1.65;margin:0;color:#e0e5e7}
.cx-story .cx-level-walkthrough .eyebrow{color:var(--sla-red-on-dark);font-size:12px;letter-spacing:.055em;margin:0 0 8px}
.cx-story .cx-level-walkthrough-note{font-size:14px;line-height:1.6;color:#c4cfd4;margin:18px 0 0}
.cx-story .cx-level-selectors{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.cx-story .cx-level-selectors[hidden]{display:none!important}
.cx-story .cx-level-selectors button{border:1px solid #8b989f;background:#26343d;color:white;padding:12px;text-align:left;cursor:pointer;font:inherit;font-size:14px}
.cx-story .cx-level-selectors button[aria-pressed=true]{background:#c6152d;border-color:#fff}
.cx-story .cx-level-selectors button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cx-story .cx-level-motion-host .sla-sequence-toolbar{margin:22px 0 0;padding:0;border:0;color:#e0e5e7;background:transparent}
.cx-story .cx-level-motion-host .sla-sequence-track{min-width:0!important}
.cx-story .cx-level-motion-host .sla-sequence-label{font-size:13px;line-height:1.35;color:#e0e5e7;white-space:normal}
.cx-story .cx-level-motion-host .sla-sequence-marker[aria-pressed=true] .sla-sequence-label{color:white}
.cx-story .cx-level-motion-host .sla-sequence-marker[aria-pressed=true] .sla-sequence-number{background:#e82136;color:white;border-color:#fff}
.cx-story .cx-level-motion-host .sla-sequence-marker:focus-visible{outline-color:#fff}
.cx-story .cx-level-motion-host .sla-sequence-status{color:#c4cfd4}
.cx-story .cx-level-motion-host .sla-sequence-controls button{color:#fff;border-color:#8b989f;background:#26343d}
.cx-story .cx-level-motion-host .sla-sequence-controls button:hover{background:#b6142c}
.cx-story .cx-level-motion-panel{position:relative;margin-top:22px;border-top:3px solid #ee263b;padding:25px;background:#ffffff;color:#172127}
.cx-story .cx-level-motion-heading{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.cx-story .cx-level-motion-badge{display:inline-grid;place-items:center;flex:0 0 57px;height:57px;background:#d81c32;color:white;font-size:25px;font-weight:850;border:2px solid #d81c32}
.cx-story .cx-level-motion-panel h4{font-size:clamp(23px,2.3vw,30px);line-height:1.25;margin:0;color:#172127}
.cx-story .cx-level-motion-evidence{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.cx-story .cx-level-motion-evidence p:not(.eyebrow){font-size:17px;line-height:1.65;margin:0;color:#33444e}
.cx-story .cx-level-motion-panel .eyebrow{color:var(--sla-red-ink)}
.cx-story .cx-level-detail-link{display:inline-block;margin-top:20px;font-size:15px;line-height:1.6;font-weight:750;color:#a50d22;text-underline-offset:4px}
.cx-story .cx-level-row{scroll-margin-top:110px}
.cx-story .cx-level-row.cx-level-planning{border:1px solid #bac5ca;border-top:4px solid #bb172e;background:#ffffff;padding:30px;margin-bottom:8px}
.cx-story .cx-level-planning-badge{background:#172127;color:white}
.cx-story .cx-level-planning .cx-level-content>.eyebrow{font-size:12px;color:var(--sla-red-ink);margin:0 0 8px}
.cx-story .cx-level-planning-intro{font-size:17px;line-height:1.7;margin:0 0 25px;color:#35474f}
.cx-story .cx-planning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:30px}
.cx-story .cx-planning-grid>div{border-top:1px solid #b8c3c7;padding-top:17px;min-width:0}
.cx-story .cx-planning-grid h4{font-size:19px;line-height:1.35;margin:0 0 9px;color:#172127}
.cx-story .cx-planning-grid p{font-size:16px;line-height:1.65;margin:0;color:#35474f}
.cx-story .cx-level-planning-note{font-size:14px;line-height:1.65;margin:17px 0 0;color:#46555e}
.cx-story .cx-level-reference-active .cx-level-key h3{text-decoration:underline;text-decoration-color:var(--sla-red);text-underline-offset:7px;text-decoration-thickness:2px}
@media(max-width:780px){
 .cx-story .cx-level-walkthrough{padding:22px 18px}
 .cx-story .cx-level-row.cx-level-planning{padding:24px 20px}
 .cx-story .cx-level-motion-panel{padding:20px}
 .cx-story .cx-level-motion-evidence{gap:20px}
 .cx-story .cx-level-motion-host .sla-sequence-label{font-size:11px}
}
@media(max-width:520px){
 .cx-story .cx-level-walkthrough{padding:22px 12px}
 .cx-story .cx-level-walkthrough-heading>p:not(.eyebrow){font-size:16px}
 .cx-story .cx-level-motion-panel{padding:18px 15px}
 .cx-story .cx-level-motion-evidence,.cx-story .cx-planning-grid{grid-template-columns:1fr;gap:20px}
 .cx-story .cx-level-motion-heading{align-items:flex-start;gap:13px}
 .cx-story .cx-level-motion-badge{flex-basis:43px;height:43px;font-size:21px}
 .cx-story .cx-level-motion-panel h4{font-size:23px}
 .cx-story .cx-level-motion-host .sla-sequence-marker{padding-inline:1px;min-width:0}
 .cx-story .cx-level-motion-host .sla-sequence-number{width:34px;height:34px;min-width:34px;font-size:14px}
 .cx-story .cx-level-motion-host .sla-sequence-label{font-size:10px;overflow-wrap:anywhere}
 .cx-story .cx-level-row.cx-level-planning{padding:23px 15px}
}

@media(max-width:520px){.cx-story .cx-level-motion-host .sla-sequence-track:before,.cx-story .cx-level-motion-host .sla-sequence-signal{top:17px}}
