$ErrorActionPreference = 'Stop' $root = Split-Path -Parent $PSScriptRoot foreach ($relative in @('pages/tree/t07-member-directory.vue', 'pages/tree/t08-member-states.vue')) { $page = Get-Content -LiteralPath (Join-Path $root $relative) -Raw -Encoding utf8 $style = [regex]::Match($page, '(?s)]*>(.*?)').Groups[1].Value if ([regex]::IsMatch($style, '(?m)\bposition\s*:')) { throw "$relative must use document flow throughout" } } $t07 = Get-Content -LiteralPath (Join-Path $root 'pages/tree/t07-member-directory.vue') -Raw -Encoding utf8 if ($t07 -match '(?s)\.directory-card\s*\{[^}]*(?