/* Explicit SVG swimlanes preserve role ownership and orthogonal ports. */
#m5-s3 .case-swimlane,#m5-s11 .case-swimlane{margin:12px 0 0;max-width:none;width:100%;border:1px solid #ccd9eb;border-radius:10px;overflow:hidden;background:white}
.case-swimlane img{display:block;width:100%;height:auto}.case-swimlane figcaption{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:10px 14px;background:#f5f8fd;color:#36557d;font-size:14px;line-height:1.5}.case-swimlane figcaption a{flex-shrink:0;color:#1859d4;font-weight:700;text-decoration:none}
#fullscreenOverlay #fsSlideContent #m5-s3 .slide-body,#fullscreenOverlay #fsSlideContent #m5-s11 .slide-body{gap:8px;padding-top:12px!important}
#fullscreenOverlay #fsSlideContent .case-swimlane{margin-top:5px!important}
#fullscreenOverlay #fsSlideContent .case-swimlane figcaption{font-size:15px}
@media(max-width:760px){.case-swimlane figcaption{display:block;font-size:14px}.case-swimlane figcaption a{display:block;margin-top:8px}.case-swimlane{overflow-x:auto!important}.case-swimlane img{min-width:1250px}.case-swimlane figcaption{position:sticky;left:0;max-width:calc(100vw - 72px)}}

#m5-s8 .m5-diagnosis-report > section{display:grid!important;grid-template-rows:auto repeat(5,1fr);padding-bottom:0!important}#m5-s8 .m5-diagnosis-report > section > article{margin:0!important;border-bottom:1px solid #dfe7f2;padding-top:10px;padding-bottom:10px}#m5-s8 .m5-diagnosis-report > section > article:last-child{border-bottom:0}

/* Reserve readable title and navigation space when a detailed diagram is shown fullscreen. */
#fullscreenOverlay #fsSlideContent .case-swimlane img{max-height:calc(100vh - 230px);object-fit:contain}
/* Keep each business problem heading at least as readable as its explanation. */
#m5-s8 .m5-diagnosis-report article>b{display:block;font-size:20px!important;line-height:1.3!important;margin-bottom:5px}
