Caramelize onions for 40 minutes, layer with Gruyere over flaky puff pastry, then bake until deep golden for a rich weeknight tart....