/* Only the calculator and the magnitude graphic load this enhancement. */
.motion-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:var(--pale);color:var(--ink);font:inherit;font-size:12px;line-height:1.45;cursor:pointer}
.motion-toggle[hidden]{display:none}.motion-toggle[aria-pressed="true"]{border-color:var(--ink)}
.motion-toggle:focus-visible{outline:3px solid var(--orange-text);outline-offset:3px}
.motion-toggle:disabled{cursor:default;opacity:1}
/* Reserve the optional control before first paint; enabling JS must not move the chart. */
[data-visual-lab] .visual-controls{position:relative;padding-bottom:88px}
[data-visual-lab] .motion-toggle{position:absolute;bottom:20px;left:20px;max-width:calc(100% - 40px)}
[data-calculator] .heading-side .result-actions{position:relative;padding-bottom:58px}
[data-calculator] .heading-side .motion-toggle{position:absolute;bottom:0;left:0;max-width:100%}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 html:not(.mm-motion-off) .book-cover-window img{transition:transform .42s cubic-bezier(.2,.75,.25,1)}
 html:not(.mm-motion-off) .footer-logo-card{transition:transform .3s cubic-bezier(.2,.75,.25,1),box-shadow .3s ease}
}
html.mm-motion-off .book-cover-window img,html.mm-motion-off .footer-logo-card{transition:none}
@media print{.motion-toggle{display:none!important}[data-calculator] .heading-side .result-actions{padding-bottom:0}}
