/* Short, decorative motion only. Never delay values, validation, focus or saving. */
@media screen and (prefers-reduced-motion: no-preference) {
  html button:not(.dollar-arrows button),html .button {
    transition:background-color 150ms ease,border-color 150ms ease,
      color 150ms ease,box-shadow 150ms ease,filter 150ms ease;
  }
  html input,html select,html textarea {
    transition:border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease;
  }
  html .site-footer a,html .back-link,html .legal-document a,html .legal-page a {
    transition:color 150ms ease,text-decoration-color 150ms ease;
  }
  html .cm-item,html .cm-card,html .metric,html .trigger {
    transition:border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease;
  }
  /* Opacity only: moving the tab itself would interfere with sticky summaries. */
  html .tab.active {animation:nd-section-enter 180ms ease-out}
  html details.df-group[open]>:not(summary) {animation:nd-section-enter 150ms ease-out}
  html dialog[open] {animation:nd-dialog-enter 180ms ease-out}
  html dialog[open]::backdrop {animation:nd-section-enter 180ms ease-out}
  html .mac-decision-options:not([hidden]) {animation:nd-menu-enter 130ms ease-out}
  html .bar i {transition:width 220ms ease-out}
  @media (hover:hover) and (pointer:fine) {
    html button:not(:disabled):not(.dollar-arrows button):hover,
    html .button:hover {box-shadow:0 2px 7px #203a5614}
    html .cm-item:hover,html .cm-card:hover,html .metric:hover,html .trigger:hover {
      box-shadow:0 3px 12px #203a560d;
    }
  }
}
@keyframes nd-section-enter {
  from {opacity:.65}
  to {opacity:1}
}
@keyframes nd-dialog-enter {
  from {opacity:0;transform:translateY(5px) scale(.995)}
  to {opacity:1;transform:none}
}
@keyframes nd-menu-enter {
  from {opacity:0;transform:translateY(-3px)}
  to {opacity:1;transform:none}
}
/* Also stop inherited animations, including loading pulses, when requested. */
@media (prefers-reduced-motion:reduce) {
  html *,html *::before,html *::after,html dialog::backdrop {
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}
@media print {
  html *,html *::before,html *::after,html dialog::backdrop {
    animation:none!important;transition:none!important;
  }
}
