/* Content stays visible if animations are disabled or interrupted. */
@media (prefers-reduced-motion: no-preference) {
    .topbar { animation: entry-fade 280ms ease-out; }
    .lookup-shell:not(.front-enter-left):not(.front-enter-right) .query-panel,
    .login-shell .login-panel { animation: entry-rise 360ms cubic-bezier(.22,1,.36,1) 50ms backwards; }
    .lookup-shell:not(.front-enter-left):not(.front-enter-right) .query-heading,
    .lookup-shell:not(.front-enter-left):not(.front-enter-right) .lookup-form,
    .login-panel .stack-form { animation: entry-fade 300ms ease-out 130ms backwards; }
    .admin-sidebar .sidebar-brand,
    .admin-sidebar .sidebar-nav,
    .admin-sidebar .sidebar-footer,
    .admin-mobile-bar { animation: entry-fade 320ms ease-out backwards; }
    .admin-sidebar .sidebar-nav { animation-delay: 55ms; }
    .admin-sidebar .sidebar-footer { animation-delay: 100ms; }
    .admin-shell { animation: none; }
    .admin-shell > .section-heading { animation: entry-rise 300ms cubic-bezier(.22,1,.36,1) backwards; }
    .admin-shell > .overview-strip,
    .admin-shell > .admin-panel,
    .admin-shell > .key-grid,
    .admin-shell > .progress-workspace,
    .admin-shell > .appearance-layout { animation: entry-rise 340ms cubic-bezier(.22,1,.36,1) 55ms backwards; }
    .admin-shell > .workspace-list { animation: entry-rise 360ms cubic-bezier(.22,1,.36,1) 105ms backwards; }
}
@keyframes entry-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes entry-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .topbar, .query-panel, .query-heading, .lookup-form, .login-panel .stack-form,
    .admin-sidebar .sidebar-brand, .admin-sidebar .sidebar-nav, .admin-sidebar .sidebar-footer,
    .admin-mobile-bar, .admin-shell, .admin-shell > * { animation: none !important; }
}
