/* Palette and shadow match the catalogue card hover. */
:root{--jf-hover-surface:#fff;--jf-hover-border:#9db8e7;--jf-hover-shadow:0 4px 14px rgb(38 76 136 / 6.3%)}
html[data-theme=dark]{--jf-hover-surface:#192435;--jf-hover-border:#9db8e7;--jf-hover-shadow:0 4px 14px rgb(38 76 136 / 6.3%)}
:is(.jf-hover-card){transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s}
@media(hover:hover) and (pointer:fine){
 .jf-hover-card:hover:not(.active,.current,.selected,.is-selected,[aria-current="page"],[aria-selected="true"],[aria-pressed="true"],[aria-disabled="true"]){
  background-color:var(--jf-hover-surface)!important;
  border-color:var(--jf-hover-border)!important;
  box-shadow:var(--jf-hover-shadow)!important;
 }
 .jf-hover-card:hover:not(.active,.current,.selected,.is-selected,[aria-current="page"],[aria-selected="true"],[aria-pressed="true"],[aria-disabled="true"]){transform:translateY(-1px)!important}

}
@media(prefers-reduced-motion:reduce){:is(.jf-hover-card){transition:none!important}}


/* Consistent, background-only feedback for data lists and nested list dialogs. */
:root{--jf-list-hover:#f9fbfd}
html[data-theme=dark]{--jf-list-hover:#1b273a}
:is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr,:is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr>td,:is(.customer-detail-records>.customer-history-entry,.push-settings .push-channel,.customer-passkey-list>.customer-passkey-item){transition:background-color 120ms ease}
@media(hover:hover) and (pointer:fine){
 :is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr:hover:not(.history-batch-detail,.active,.current,.selected,.is-selected,[aria-selected="true"],[data-selected="true"]):not(:has(>td[colspan])):not(:has(input[type="checkbox"]:checked)),:is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr:hover:not(.history-batch-detail,.active,.current,.selected,.is-selected,[aria-selected="true"],[data-selected="true"]):not(:has(>td[colspan])):not(:has(input[type="checkbox"]:checked))>td,:is(.customer-detail-records>.customer-history-entry,.push-settings .push-channel,.customer-passkey-list>.customer-passkey-item):hover:not(.active,.selected,.is-selected,[aria-selected="true"],[data-selected="true"]){background-color:var(--jf-list-hover)!important}
}
@media(prefers-reduced-motion:reduce){:is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr,:is(#historyRows table,.admin-main table,.admin-modal table,.admin-detail-dialog table,table.ph-table,table.portal-table,table.catalog-browser-table):not(:where(#paymentBill table,.ph-bill table,.ph-invoice table))>tbody>tr>td,:is(.customer-detail-records>.customer-history-entry,.push-settings .push-channel,.customer-passkey-list>.customer-passkey-item){transition:none!important}}
