/* BioIDz motion uses the existing palette and leaves content visible without JavaScript. */
:root { --motion-ease:cubic-bezier(.22,1,.36,1); --motion-quick:cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion:no-preference) {
 .motion-ready :is(.home-start,.home-account-button,.home-theme-toggle,.icon-button,.nav-link,.home-shortcut,.dictionary-entry,.provider-button,.cloud-record,.toggle button,.actions button,.result-link) {
  transition:transform .18s var(--motion-quick),border-color .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease;
 }
 .motion-ready :is(.home-start,.home-account-button,.home-theme-toggle,.icon-button,.nav-link,.home-shortcut,.dictionary-entry,.provider-button,.cloud-record,.toggle button,.actions button):active:not(:disabled) { transform:scale(.97); }
 .motion-ready .home-start:active { transform:scale(.985); }
 .motion-ready .search-field { transition:border-color .18s ease,box-shadow .18s ease; }
 .motion-ready .search-field:focus-within { box-shadow:0 0 0 3px var(--brand-tint); }
 .motion-ready .rail-step { transition:color .2s ease,background-color .2s ease,border-color .2s ease; }
 .motion-ready .nav-dialog[open] { animation:bioid-dialog-in .24s var(--motion-ease); }
 .motion-ready dialog::backdrop { animation:bioid-backdrop-in .2s ease-out; }
 .motion-ready details > summary { transition:color .18s ease; }
 @keyframes bioid-dialog-in { from { opacity:.35; transform:translateY(14px) scale(.985); } to { opacity:1; transform:none; } }
 @keyframes bioid-backdrop-in { from { opacity:0; } to { opacity:1; } }
 @media (max-width:860px) {
  .motion-ready #quickActions[open] { animation-name:bioid-sheet-in; }
  @keyframes bioid-sheet-in { from { opacity:.5; transform:translateY(32px); } to { opacity:1; transform:none; } }
 }
 @media (hover:hover) and (pointer:fine) {
  .motion-ready :is(.home-shortcut,.dictionary-entry,.cloud-record):hover { transform:translateY(-3px); box-shadow:0 8px 24px var(--card-hover-glow); }
  .motion-ready .home-start:hover { transform:translateY(-2px); box-shadow:0 8px 22px var(--top-glow); }
  .motion-ready .home-shortcut-icon { transition:transform .24s var(--motion-ease); }
  .motion-ready .home-shortcut:hover .home-shortcut-icon { transform:rotate(-6deg); }
 }
}
/* Stop CSS motion immediately alongside the JavaScript animation cancellation. */
.motion-suspended *, .motion-suspended *::before, .motion-suspended *::after { animation:none !important; transition:none !important; }
@media (prefers-reduced-motion:reduce) {
 *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
