/* CMH Scientific corrective interaction layer v3.1
   Phone portrait: natural document flow; primary figures never pin over text.
   Phone landscape: cmh-patch.js requests a desktop-width viewport.
*/
html,body{max-width:100%;overflow-x:hidden}
.cmh-sticky{position:static!important;inset:auto!important;height:auto!important;max-height:none!important;min-height:0!important;box-shadow:none!important;border-bottom:0!important}
.cmh-spacer{display:none!important;height:0!important}
@media(max-width:900px) and (orientation:portrait){
  html,body{height:auto!important;min-height:100%!important;overflow-y:auto!important}
  .cmh-report-dock{position:relative!important;z-index:2!important}
}
.cmh-vidfail{
  position:absolute;inset:0;display:none;place-items:center;text-align:center;
  background:repeating-linear-gradient(45deg,#0a1620,#0a1620 12px,#0c1a26 12px,#0c1a26 24px);
  color:#8aa4b6;font:13px/1.5 Inter,system-ui,sans-serif;padding:22px;z-index:3;
}
.cmh-vidfail b{display:block;color:#ffc857;margin-bottom:5px;font-size:14px}
.cmh-vidfail code{color:#cfe0e8}
.cmh-vidfail.on{display:grid}
