// Feet-inches formatting and parsing -- the browser twin of // `panellift/src/panellift/units.py`. Same rules, same rounding, same // accepted input forms; kept as a byte-for-byte port on purpose so a value // typed on the page and the same value printed by the CPython report never // disagree. See units.py's own module docstring for the owner's ruling this // exists to satisfy (2026-09-05: every length on any front-end or results // page is feet-inches, rounded to the nearest 1/8", never a decimal). // // Plain ES2017, no modules -- loaded with a bare