/* Build 1235 — one way of scrolling for the whole app. The header stays put (it is pinned to the top of the page),
   nothing stretches past the ends (no rubber band on iPhone, iPad or a Mac trackpad; the iOS app also turns its web
   view bounce off), and each page's blocks click into place like the iOS picker: scroll-shell.js marks the blocks,
   opened up until each is shorter than most of the screen. Build 1236: where every block fits on the screen (and the
   page has a footer to land the bottom on) every flick comes to rest on a block ("mandatory", mc-snap-firm); a page
   with a block taller than the screen keeps "proximity", so that block can be read part-way down. Build 1235 used
   "proximity" everywhere and the snap barely showed. The footer snaps by its end so the bottom is always reachable.
   Snapping pauses while a field has focus and while a scroll the app asked for (scrollIntoView) runs, so the
   keyboard, typing and "jump to" never fight it. The page scrolls the root as before: window.scrollY,
   window.scrollTo and native focus scrolling are untouched. */
html.mc-shell,html.mc-shell body{overscroll-behavior:none}
html.mc-shell{scroll-padding-top:calc(var(--mc-head-h,0px) + 10px);scroll-padding-bottom:var(--mc-foot-h,0px)}
html.mc-shell.mc-snap{scroll-snap-type:y proximity}
html.mc-shell.mc-snap.mc-snap-firm{scroll-snap-type:y mandatory}
html.mc-shell.mc-snap .mc-snap-pt{scroll-snap-align:start;scroll-snap-stop:normal}
html.mc-shell.mc-snap .mc-snap-end{scroll-snap-align:end}
/* Hydraulics scrolls inside its own body (or, on a phone, the Analyze pane) under its own bars: same behaviour */
html.mc-shell #hwBody,html.mc-shell .hw-cockpit[data-anx-pane]{overscroll-behavior:none}
html.mc-shell .mc-snap-in{scroll-snap-type:y proximity}
html.mc-shell .mc-snap-in.mc-snap-firm{scroll-snap-type:y mandatory}
html.mc-shell .mc-snap-in .mc-snap-pt{scroll-snap-align:start;scroll-snap-stop:normal}
/* typing, and a scroll the app asked for (scrollIntoView): no snapping until it is done */
html.mc-shell.mc-typing,html.mc-shell.mc-typing .mc-snap-in,
html.mc-shell.mc-snap-hold,html.mc-shell.mc-snap-hold .mc-snap-in{scroll-snap-type:none!important}
