/* 3RDI-234 — THE FRAME SYSTEM. One file, two rungs, every page links it.
   Ruled 2026-09-06 from the operator's Pez references (3rdi/style sheets/Pez/):
   pez.family's explore page is a FIXED 1080px content frame at every viewport,
   its token page a second 1480px frame — measured headless at 2560/1900/1440.
   narrow = 1080 content + 2×24 padding (the Pons/Pez launchpad number 3RDI-206
            first measured): market, analytics, profile, deploy, connect, api,
            index, origins.
   wide   = 1480 + 48: agent (the token page) and docs (a rail layout).
   A page declares ONLY which rung it takes — `--framew:var(--frame-narrow)` or
   `var(--frame-wide)` — never a literal px. check-frame.mjs asserts it, because
   ten pages inlining their own width is exactly how five different frames came
   to exist. Published FIRST by deploy-site.sh as a STYLES prerequisite (3RDI-120
   pattern), so a page can never reference a rung the webroot lacks. */
:root{--frame-narrow:1128px; --frame-wide:1528px}

/* 3RDI-236: the nav's CONTENT aligns to the page's frame. The bar itself stays
   full-bleed (its background and hairline span the viewport); its inner edges
   land on the frame's CONTENT edges: (100% − framew)/2 + edge, never less than
   the edge. --nav-edge equals the frame's own padding: 24px, 14px on phones. */
:root{--nav-edge:24px}
@media(max-width:700px){:root{--nav-edge:14px}}
.nav,.gnav,.ticker{--nav-pad:max(var(--nav-edge), calc((100% - var(--framew)) / 2 + var(--nav-edge)))}   /* 3RDI-237: the market's live ticker strip takes the same inset as the bar */
