import sys
path = r'c:\NeoZQYY\apps\miniprogram\miniprogram\pages\board-finance\board-finance.wxss'
with open(path, 'r', encoding='utf-8') as f:
    lines = f.readlines()
# lines 881-885: .rev-col--name block
# 881: .rev-col--name {
# 882: '  text-align: left;\n'
# 883: '  text-align: left;\n  align-items: flex-start;\n}\n'  <- bad
# Fix: replace 882+883 with clean version
lines[882] = '  text-align: left;\n'
lines[883] = '  align-items: flex-start;\n'
lines.insert(884, '}\n')
with open(path, 'w', encoding='utf-8') as f:
    f.writelines(lines)
print('OK')
sys.stdout.flush()
