# -*- coding: utf-8 -*-
"""`tools/panelanalysis.py::build_analysis_page` -- the READ-ONLY results
page for the `panelanalysis/1` schema (2026-09, results-page redesign).
Guards the redesign's own hard rules, on two decks:
MINIMAL `schema.new_deck()` as-is -- two dunnage supports, two
straight strands, no in-place restraints/wind at all (the
Stage-0 default). Exercises the "not judged" path for
in-place strength/service.
IN-PLACE the same deck with lateral restraints and a manual wind zone
added, so the in-place strength/service models actually
solve and their own SVG envelope diagrams
(`panelanalysis._inplace_diagram`) render.
This does not repeat `test_panelanalysis_schema.py`'s coverage of the
engine/schema layer -- it only checks what the WRITTEN PAGE looks like:
- never an `` or `