diff --git a/scripts/board.py b/scripts/board.py
index 26beecc..c4d924a 100644
--- a/scripts/board.py
+++ b/scripts/board.py
@@ -1632,7 +1632,7 @@ def _fresh_span(fresh: dict, now_text: str, stale_text: str,
"every button from this page instead of opening GitHub — paste "
"a fine-grained token once, kept in this browser only'>"
"\U0001f511 set up one-tap" if repo_url else "")
- return f"""
+ return t_.section_layout(f"""
PyAutoMemory Dashboard
@@ -1668,7 +1668,7 @@ def _fresh_span(fresh: dict, now_text: str, stale_text: str,
{_html.escape(str(snapshot.get('generated') or '?'))}.
-"""
+""")
def badge_endpoint(snapshot: dict) -> dict:
diff --git a/tests/test_board.py b/tests/test_board.py
index 432de9b..a4ecea9 100644
--- a/tests/test_board.py
+++ b/tests/test_board.py
@@ -760,7 +760,10 @@ def test_pending_filings_render_above_the_inbox_with_a_pr_link(tmp_path):
assert "Filings awaiting merge" in text
assert "compare/main...queue-filing/issue-91?expand=1" in text
assert "/issues/91" in text
- assert text.index("Filings awaiting merge") < text.index("arXiv inbox")
+ if '' in text:
+ assert text.index("id='filings'") < text.index("id='arxiv-inbox'")
+ else:
+ assert text.index("Filings awaiting merge") < text.index("arXiv inbox")
def test_no_filings_section_when_nothing_waits(tmp_path):