$ErrorActionPreference = 'Stop' $root = Split-Path $PSScriptRoot -Parent $page = [System.IO.File]::ReadAllText((Join-Path $root 'pages/records/r01-people-list.vue'), [System.Text.Encoding]::UTF8) foreach ($expected in @( 'grid-template-columns: minmax(0, 1fr) 126rpx', 'class="people-state-card__copy"', 'background: url("/static/assets/modules/records/transparent/r01-search-input-frame.png") center / 100% 100% no-repeat', 'background: url("/static/assets/modules/records/transparent/r01-person-name-card.png") center / 100% 100% no-repeat' )) { if (-not $page.Contains($expected)) { throw "R01 document-flow contract missing: $expected" } } if ($page -match ']*\s)?class="person-card__skin"|people-search\s*>\s*\s*\s*