/* Shared, optional motion. Content stays visible without JavaScript. */
:root {
 --p-motion-fast:160ms;
 --p-motion-enter:220ms;
 --p-motion-ease:cubic-bezier(.2,.7,.3,1);
}
@keyframes padhnus-enter {
 from {opacity:.6;translate:0 5px}
 to {opacity:1;translate:0 0}
}
@keyframes padhnus-drawer-enter {
 from {opacity:.8;translate:12px 0}
 to {opacity:1;translate:0 0}
}
@media(prefers-reduced-motion:no-preference) {
 :where(#padhnus-public,.p-portal-student,.p-admin-body) :where(.pw-button,.pw-icon-button,.p-btn,.s196-btn,.s196-icon-button,.pa198-icon-button) {
  transition:background-color var(--p-motion-fast),border-color var(--p-motion-fast),box-shadow var(--p-motion-fast);
 }
 :where(#padhnus-public,.p-portal-student,.p-admin-body) :where(dialog[open],.pw-account[open]>.pw-account-popup,.w210-nav-dropdown[open]>.w210-mega) {
  animation:padhnus-enter var(--p-motion-enter) var(--p-motion-ease);
 }
 #padhnus-public .pw-mobile-menu[open]>.pw-mobile-panel,
 #padhnus-public.pw-filters-open .w200-filter-sheet {
  animation:padhnus-drawer-enter var(--p-motion-enter) var(--p-motion-ease);
 }
 :where(#padhnus-public:not(.p200-reader)) #p-main-content>:first-child,
 :where(.p-portal-student) .s196-main>:is(.s196-page-head,.s263-page-heading),
 :where(.p-admin-body) .pa8-content>:is(.pa-page-head,.pa198-page-head) {
  animation:padhnus-enter var(--p-motion-enter) var(--p-motion-ease);
 }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 :where(#padhnus-public) :is(.pw-resource,.w200-institution,.p165-program-card,.p166-card) {
  transition:border-color var(--p-motion-fast),background-color var(--p-motion-fast),box-shadow var(--p-motion-fast);
 }
 :where(#padhnus-public) :is(.pw-resource,.w200-institution,.p165-program-card,.p166-card):hover {
  box-shadow:0 4px 14px #142f3a09;
 }
}
@media(prefers-reduced-motion:reduce) {
 :where(#padhnus-public,.p-portal-student,.p-admin-body),
 :where(#padhnus-public,.p-portal-student,.p-admin-body) *,
 :where(#padhnus-public,.p-portal-student,.p-admin-body) *::before,
 :where(#padhnus-public,.p-portal-student,.p-admin-body) *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
 }
}
@media print {
 :where(#padhnus-public,.p-portal-student,.p-admin-body) * {animation:none!important;translate:none!important;}
}
