/* ETOP motion rhythm. The site's chosen effects also run with reduced-motion enabled. */
:root { --etop-motion-fast:140ms; --etop-motion-base:220ms; --etop-motion-panel:280ms; --etop-motion-ease:cubic-bezier(.22,.75,.25,1); }
:is(.etop-public-shell,.etop-admin-shell,.student-portal) :is(button,.button,.btn,.sp-btn,.es-btn,.student-button,.ea-work-tabs a,.pagination a,.paging a,.etop-branch-links a,.etop-book-filter-reset) {
    transition:transform var(--etop-motion-fast) var(--etop-motion-ease),border-color var(--etop-motion-base) ease,background-color var(--etop-motion-base) ease,color var(--etop-motion-base) ease;
    -webkit-tap-highlight-color:transparent;
}
:is(.etop-public-shell,.etop-admin-shell,.student-portal) :is(button,.button,.btn,.sp-btn,.es-btn,.student-button,.ea-work-tabs a,.pagination a,.paging a,.etop-branch-links a):active:not(:disabled):not([aria-disabled=true]):not([data-ea-disabled-reason]):not(.ea-order-handle) { transform:translateY(1px) scale(.975); }
:is(.etop-public-shell,.etop-admin-shell,.student-portal) :is(input,select,textarea):focus-visible { transition:border-color var(--etop-motion-base) ease,box-shadow var(--etop-motion-base) ease; }
.ea-sidebar { transition:transform var(--etop-motion-panel) var(--etop-motion-ease); }
.ea-nav-group-toggle,.ea-order-fold:before,.ea-tree-group>summary:before,.ea-tree-node>details>summary:before,.etop-listening-chevron { transition:transform var(--etop-motion-base) var(--etop-motion-ease); }
/* Entry is owned by etop-motion.js; avoid stacking an older CSS entry on top. */
:is(.etop-public-shell,.etop-admin-shell,.student-portal) :is(.etop-notice-dialog,.ea-account-dropdown,.es-dialog,.ea-staff-dialog,.sp-dialog,.sp-modal,[data-etop-fc-settings-panel],.etop-app-update,.etop-device-dialog,.ui-dialog,.tox-dialog) { animation:none; }
::view-transition-new(root),::view-transition-old(root) { animation:none; mix-blend-mode:normal; }
@media(hover:hover) and (pointer:fine) {
    :is(.etop-public-shell,.etop-admin-shell,.student-portal) :is(.student-button,.sp-btn,.es-btn,.etop-branch-links a):hover:not(:disabled):not([aria-disabled=true]) { transform:translateY(-1px); }
    .etop-public-shell .etop-artwork-image { transition:transform var(--etop-motion-base) var(--etop-motion-ease); }
}
/* Pause decoration only while a document is invisible; no OS motion preference changes the effects. */
html.etop-document-hidden *,html.etop-document-hidden *:before,html.etop-document-hidden *:after { animation-play-state:paused!important; }
