diff --git a/.github/workflows/ui-smoke.yml b/.github/workflows/ui-smoke.yml
index b12686b57..3d2884c28 100644
--- a/.github/workflows/ui-smoke.yml
+++ b/.github/workflows/ui-smoke.yml
@@ -80,6 +80,8 @@ jobs:
node --test tests/gui_workflow_contract_test.mjs tests/plugin_ui_contract_test.mjs tests/ci_workflow_efficiency_test.mjs tests/fx_drag_reorder_contract_test.mjs tests/mixer_io_operator_contract_test.mjs tests/mixer_shell_contract_test.mjs
- name: Validate approved GUI checkpoint and single publisher
run: python tests/gui_baseline_lock_test.py
+ - name: CSS V28 zero-regression source-order recovery (every GUI CI run)
+ run: python tests/css_v28_restore.py
- name: Verify ONLY approved public GUI /preview/ with PNG hardware keys
run: |
python scripts/build_pages.py --out dist-pages --sha "${{ github.sha }}" --branch main
@@ -295,6 +297,9 @@ jobs:
cp "$backup/$path" "$path"
done
git diff --exit-code -- site/preview-v2/index.html site/preview-v2/assets/mixer-chrome-material.css site/preview-v2/assets/mixer-plugin-browser.css site/preview-v2/assets/mixer-pan-controls.css site/preview-v2/assets/mixer-fader-assembly.css site/preview-v2/assets/mixer-meter-display.css site/preview-v2/assets/mixer-utility-controls.css
+ - name: Verify V28 exact approved /preview/ source and interactive browser parity
+ if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (startsWith(github.head_ref, 'css/v28-') || startsWith(github.head_ref, 'integration/product-'))) }}
+ run: python tests/pages_css_architecture_v28_smoke.py
- name: Verify embedded Inter font and contextual V7 micro-controls
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && startsWith(github.head_ref, 'integration/product-')) }}
run: python tests/pages_inter_utility_v7_smoke.py
@@ -369,5 +374,6 @@ jobs:
mixer-shell-*.png
pages-v54-*.png
pages-v55-*.png
+ pages-v28-physical-console-owner-v59-*.png
if-no-files-found: ignore
retention-days: 3
diff --git a/docs/gui-css-ownership-mixer-v28.md b/docs/gui-css-ownership-mixer-v28.md
new file mode 100644
index 000000000..d4c50505e
--- /dev/null
+++ b/docs/gui-css-ownership-mixer-v28.md
@@ -0,0 +1,27 @@
+# CSS V28 — Remove 13,043 inline CSS characters without modifying the approved /preview/ GUI
+
+**Real authoritative baseline:** `main@46f600b143c8ef000a717ccb79a9c841a2589766`, exact previously accepted [single /preview/](https://masarray.github.io/arsonmix/preview/) GUI. **/preview-v2/ is an internal source, not an independent public preview.** `scripts/build_pages.py` deterministically assembles /preview/ from this internal HTML plus accepted PNG button materials. This refactor preserves that pipeline and its authority.
+
+## Root cause and exact owner migration
+
+The internal HTML still held three inline `
-
-
-
+
diff --git a/tests/css_v28_restore.py b/tests/css_v28_restore.py
new file mode 100644
index 000000000..5f827a058
--- /dev/null
+++ b/tests/css_v28_restore.py
@@ -0,0 +1,95 @@
+"""CSS V28: recover exact current-main approved /preview/ source and CSS before migration.
+
+The full 13 KB late inline stylesheet moved to the END of the immediately
+preceding existing physical console owner. CSS declaration byte stream is
+unchanged and there are no relative URLs/imports/layers inside the moved CSS.
+No GUI/ENGINE hooks, Javascript, stylesheet order, or design state is edited.
+"""
+import json,re,tempfile
+from pathlib import Path
+
+ROOT=Path(__file__).resolve().parents[1]
+HTML=ROOT/"site/preview-v2/index.html"
+OWNER=HTML.parent/"assets/mixer-chrome-material.css"
+LEDGER=ROOT/"tests/fixtures/css-v28-inline-chrome-owner.json"
+
+def meta(s):
+ v=2166136261
+ for cp in s:
+ v=((v^ord(cp))*16777619)&0xffffffff
+ return {"length":len(s),"fnv":f"{v:08x}","important":s.count("!important")}
+
+def manifest():
+ record=json.loads(LEDGER.read_text(encoding="utf-8"))
+ assert record["milestone"]=="CSS V28"
+ assert record["baseline"]=="46f600b143c8ef000a717ccb79a9c841a2589766"
+ assert record["removedStyleNodes"]==3
+ assert record["removedDeclarations"]==record["addedDeclarations"]==0
+ assert record["addedImportant"]==record["addedStylesheets"]==0
+ assert record["changedJs"]==record["changedEngine"]==0
+ return record
+
+def reconstruct():
+ """Return byte-exact internal source HTML and Chrome material, with CSS order."""
+ d=manifest()
+ html=HTML.read_text(encoding="utf-8")
+ chrome=OWNER.read_text(encoding="utf-8")
+ assert meta(html)==d["current"]["html"],"V28 HTML changed after checkpoint"
+ assert meta(chrome)==d["current"]["chrome"],"V28 Chrome CSS changed after checkpoint"
+ moved=d["movedCss"]
+ assert meta(moved)==d["prior"]["inline"]
+ assert len(moved)==13043
+ assert not re.search(r"url\s*\(|@import\b|@charset\b|@font-face\b|@layer\b",moved,re.I)
+ assert chrome.endswith(moved),"Migrated CSS must be Chrome owner's exact tail"
+ old_chrome=chrome[:-len(moved)]
+ assert meta(old_chrome)==d["prior"]["chrome"]
+ assert old_chrome.endswith("\n")
+ assert meta(old_chrome+moved)["fnv"]==d["cssSequenceFNV"]
+ assert old_chrome+moved==chrome,"CSS cascade source stream changed"
+ assert html.count(d["newHref"])==1
+ assert html.count("")==0
+ original_html=html.replace(d["newHref"],d["oldHref"],1)
+ marker=d["oldHref"]+"\n"
+ # Pre-V28 three style nodes are anchored uniquely by the approved
+ # V59 head order. Recover via known historical fixed positions.
+ original_html=original_html.replace(
+ '\n',
+ '\n\n',1)
+ original_html=original_html.replace(
+ '\n',
+ '\n\n',1)
+ assert original_html.count('\n')==1
+ original_html=original_html.replace(
+ '\n',
+ '\n\n',1)
+ assert meta(original_html)==d["prior"]["html"],"Cannot restore byte-exact V59 baseline"
+ assert len(re.findall(r"