diff --git a/home/home.go b/home/home.go
index d8f884ca..34eb4ea1 100644
--- a/home/home.go
+++ b/home/home.go
@@ -463,13 +463,15 @@ function fetchW(la,lo){
b.WriteString(fmt.Sprintf(`
`, stream.MaxContentLength, suggestHTML))
+`, suggestHTML, stream.MaxContentLength))
b.WriteString(consoleScript)
}
@@ -728,11 +730,13 @@ func htmlEsc(s string) string {
// no overlay. Question → POST /agent/run → response inline.
// consoleScript — AI prompt with persistent last response, contextual
// suggestions, and typing indicator.
+// consoleScript — AI prompt with flip layout (input moves below response),
+// persistent last response, typing dots, suggestion pills.
const consoleScript = `