To prepare onions: Place the onions in a deep saucepan (or Dutch oven) and drizzle and toss with oil to coat, about 1/4 cup. Set over medium-high heat and, shimmying the pan occasionally, cook until the bottom layer of onions is slightly golden around the edges, about 3 minutes. Stir and repeat. Once the second layer of onions has colored, reduce heat to low and stir in garlic and a few pinches of salt. Stew, stirring occasionally, until the onions are a pale amber and tender but not mushy, about another 20 minutes. If at any point the onions dry, cover them to trap some moisture. Preheat the oven to 325°F. To prepare chard: Place a few handfuls of leaves in a large saute pan or skillet with a drizzle of oil, a sprinkling of water (if you've just washed the chard, it may have enough on the leaves), and a few pinches of salt. Set the pan over medium heat until the water begins to steam, then reduce the heat and stir and fold leaves until just wilted, 3 to 4 minutes. (Leaves should be uniformly bright green, the white veins pliable. To prepare bread: Toss and massage the cubed bread with a few tablespoons of olive oil, a generous 1/4 cup of the stock and a few pinches of salt, to taste. To prepare panade: Use a flameproof, 3-quart souffle dish or enameled cast-iron Dutch oven. Assemble the panade in layers, starting with a generous smear of onions, followed by a loose mosaic of bread cubes, a second layer of onions, a wrinkled blanket of chard, and a handful of the cheese. Repeat, starting with bread, the onions and so on, until the dish is brimming. Aim for 2 to 3 layers of each component, then make sure the top layer displays a little of everything. Irregularity in the layers makes the final product more interesting and lovely. Drizzle with any remaining olive oil. Bring the remaining 3 3/4 cups stock to a simmer and taste for salt. Add stock slowly, in doses, around the edge of the dish. For a very juicy, soft panade, best served on its own, like a soup or risotto, add stock nearly to the rim; for a firm but succulent panade, nice as a side dish, fill to about 1 inch below the rim. Wait a minute for stock to be absorbed, then add more to return to the desired depth. The panade may rise a little as the bread swells. Set panade over low heat and bring to a simmer; look for bubbles around the edges (heating it here saves at least 30 minutes of oven time). Cover the top of the panade with parchment paper, then very loosely wrap the top and sides with foil. Place a separate sheet of foil under the panade or on the rack below it, to catch drips. Bake until the panade is piping hot and bubbly. It will rise a little, lifting the foil with it. The top should be pale golden in the center and slightly darker on the edges. This usually takes about 1 1/2 hours, but varies according to shape and material of baking dish and oven. Browning and serving: Uncover panade, raise temperature to 375°F, and leave until golden brown on top, 10 to 20 minutes. Slide a knife down the side of the dish and check the consistency of the panade. Beneath the crust, it should be very satiny and it should ooze liquid as you press against it with the blade of the knife. If it seems dry, add a few tablespoons simmering stock and bake for 10 more minutes.