Civil society and local autonomy proved decisive in Poland's democratic revival—lessons Budapest must now learn.