/* Bounded quality fixes. Preserve the approved page composition. */
.journey-inner .journey-human{width:35px;height:32px;display:block}
.journey-inner .journey-human img.delivery-portrait{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
:is(.journey-bar,.growth-strip)[data-qc-outside-story]{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
:is(.journey-bar,.growth-strip)[data-qc-outside-story] *{pointer-events:none!important}
.journey-pause{min-width:40px;min-height:40px;display:grid;place-items:center}
.story-step,.work-step{scroll-margin-top:150px}
@media(max-width:700px){.journey-inner .journey-human{width:28px;height:28px}.story-step,.work-step{scroll-margin-top:145px}}
@media(prefers-reduced-motion:reduce){.confetti,.journey-inner .confetti{display:none!important}:is(.journey-bar,.growth-strip){transition:none!important}}

/* Expanded galleries must not dictate the intrinsic width of story columns. */
.story-layout > .story-stage,.story-layout > .story-steps{min-width:0;max-width:100%}
.story-step>details,.story-detail,.story-detail .draft-gallery{min-width:0;max-width:100%;box-sizing:border-box}
.story-detail .draft-gallery{overscroll-behavior-x:contain}
.story-detail .draft-footer{display:flex!important;flex-wrap:wrap;gap:12px;align-items:center}

/* Keep the workflow identity rail in its chapter, without the old white mask. */
.ec-creative #creative-work .chapter-ribbon,.ec-creative #landing-work .chapter-ribbon{box-shadow:none}
.ec-creative .chapter-scroll-zone.is-pinned>.chapter-ribbon{box-shadow:0 6px 18px #30203e0a}
