
/* The original cards, colours and progression rail are retained. This scope
   prevents historical per-slide layouts from shifting the restored content. */
#m7 .pod-page .slide-body { margin:0!important; }
#fsSlideContent .slide-card.pod-page { display:flex!important; flex-direction:column!important; justify-content:flex-start!important; padding-bottom:0!important; }
#fsSlideContent .slide-card.pod-page .slide-header { position:relative!important; flex:0 0 auto!important; height:auto!important; min-height:0!important; margin:0!important; }
#fsSlideContent .slide-card.pod-page .slide-body { display:block!important; flex:0 0 auto!important; margin:0!important; padding:24px 4.5% 24px!important; min-height:0!important; height:auto!important; align-self:stretch!important; }
#fsSlideContent .pod-page .delivery-board { font-size:clamp(19px,1.3vw,26px)!important; line-height:1.55; gap:22px; }
#fsSlideContent :is(#m7-s2,#m7-s4,#m7-s5,#m7-s6,#m7-s7,#m7-s8,#m7-s9,#m7-s10,#m7-s11,#m7-s12).pod-page .delivery-board h3 { font-size:clamp(23px,1.55vw,31px)!important; }
#fsSlideContent :is(#m7-s2,#m7-s4,#m7-s5,#m7-s6,#m7-s7,#m7-s8,#m7-s9,#m7-s10,#m7-s11,#m7-s12).pod-page .delivery-board :is(p,li,.delivery-card,.delivery-chain article) { font-size:inherit!important; }
#fsSlideContent .pod-page .delivery-note { font-size:clamp(18px,1.2vw,24px)!important; }
#fsSlideContent .pod-page .delivery-card,#fsSlideContent .pod-page .delivery-chain article { padding:24px!important; }
#fsSlideContent .pod-page .delivery-note { padding:18px 20px; grid-template-columns:210px minmax(0,1fr); }
#fsSlideContent .pod-page .delivery-rail { margin-bottom:26px; }
@media(max-width:760px){#m7 .pod-page .slide-body{padding:14px 16px 24px!important;}}


/* Reading mode follows content height; fullscreen keeps its separate canvas. */
.module-section > .slide-viewport > :is(#m2-s10,#m5-s8,#m5-s3,#m5-s11).slide-card.active {
 height:auto!important; min-height:0!important; max-height:none!important; flex:none!important; display:block!important;
}
/* Allocate the complete diagram and its caption inside the stage. */
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11).slide-card {
 display:flex!important; flex-direction:column!important; padding:0!important;
}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .slide-header {
 flex:0 0 auto!important; padding:24px 3% 12px!important; min-height:0!important;
}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .slide-body {
 display:flex!important; flex-direction:column!important; flex:1 1 0!important;
 min-height:0!important; height:0!important; padding:8px 3% 18px!important;
}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .chapter-path {flex:0 0 auto!important;}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .case-swimlane {
 display:flex!important; flex-direction:column!important; flex:1 1 0!important; min-height:0!important;
}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .case-swimlane img {
 flex:1 1 0!important; min-height:0!important; height:0!important; max-height:none!important; object-fit:contain!important;
}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .case-swimlane figcaption {flex:0 0 auto!important;}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .slide-title {font-size:48px!important;line-height:1.15!important;}
#fullscreenOverlay #fsSlideContent :is(#m5-s3,#m5-s11) .slide-subtitle {font-size:24px!important;line-height:1.4!important;}

.case-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-test-grid article{border:1px solid #d6e3f4;background:#f5f9ff;border-radius:12px;padding:20px}.case-test-grid em{font-style:normal;color:#3365a0}.case-test-grid h3{margin:8px 0;color:#173969;font-size:22px}.case-test-grid p{line-height:1.6}.case-test-grid a{display:inline-block;margin-top:8px;color:#225ac4}
@media(max-width:768px){.case-test-grid{grid-template-columns:1fr}.case-test-grid article{padding:16px}}
