Contract template builder (v2.9.0)
1) Edit ctext1.js / ctext2.js (articles) or build.js (header, parties, preamble).
2) npm i docx   (Node 18+)   then:  node build.js
3) python3 mkdata.py   -> regenerates ../../contract-data.php and out/sample-contract.docx
4) IMPORTANT: bump VERSION in mkdata.py (and keep it equal everywhere) whenever the text changes in a way users must re-accept.
   A new version makes every verified user accept again (the gate re-opens for them).
Tokens inside the template: @@NAME@@ @@DOB@@ @@NID@@ @@TGID@@ @@USERNAME@@ @@DATE@@ @@TIME@@ @@VERSION@@ @@DOCID@@ @@STATUS@@
