/* MENUVANCE dashboard, sign-in pages and menus: the motion of the home page (tasteskill's motion layer: one ease-out
   curve, 150ms in, 120ms out, a 90ms press; a button steps 1px up and presses 1px down; nothing bounces). Colours still
   change under reduced motion; nothing moves. */
:root { --mv-ease: cubic-bezier(.2, .8, .2, 1); --mv-settle: cubic-bezier(.22, 1, .36, 1); --mv-in: 150ms; --mv-out: 120ms; --mv-press: 90ms; }
.btn, .nav-item, .bn-item, .demo-btn, .lp-nav a, .public-nav a, .tabs button, .seg button, .chip {
  transition: background-color var(--mv-out) var(--mv-ease), border-color var(--mv-out) var(--mv-ease), color var(--mv-out) var(--mv-ease),
              box-shadow var(--mv-out) var(--mv-ease), transform var(--mv-out) var(--mv-ease), opacity var(--mv-out) var(--mv-ease);
}
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) and (pointer: fine) {
    .btn:not(:disabled):not([aria-disabled="true"]):hover { transform: translateY(-1px); transition-duration: var(--mv-in); }
  }
  .btn:not(:disabled):not([aria-disabled="true"]):active { transform: translateY(1px) scale(.985); transition-duration: var(--mv-press); }
  /* a dashboard tab arrives: its content rises 6px and settles (app.js adds .tab-in on each change of tab) */
  #content.tab-in { animation: mvTabIn 240ms var(--mv-settle) backwards; }
  /* dialogs open from where they are: the ground fades, the sheet settles */
  .modal-backdrop { animation: mvFade 200ms var(--mv-ease) both; }
  .modal-backdrop > .modal { animation: mvSheet 260ms var(--mv-settle) both; }
  #toast { transition: opacity 200ms var(--mv-ease), transform 240ms var(--mv-settle); }
}
@keyframes mvFade { from { opacity: 0; } }
@keyframes mvSheet { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@media (max-width: 640px) { @keyframes mvSheet { from { transform: translateY(24px); } } }
