e.stopPropagation()}
+ onMouseDown={(e) => e.stopPropagation()}
+ onPointerDown={(e) => e.stopPropagation()}
+ >
+
+
setQuery(e.currentTarget.value)}
+ onKeyDown={handleKeyDown}
+ />
+
+
+ {matchCount() > 0 ? `${currentIndex() + 1}/${matchCount()}` : "0/0"}
+
+
+
+
+
+
+ )
+}
diff --git a/apps/desktop/src/index.css b/apps/desktop/src/index.css
index c26a0f4..cb42a91 100644
--- a/apps/desktop/src/index.css
+++ b/apps/desktop/src/index.css
@@ -4329,4 +4329,22 @@ html[data-color-scheme="dark"] .agent-terminal-composer-region {
transition: none !important;
}
+/* ═══════════════════════════════════════════════════
+ CHAT SEARCH HIGHLIGHT
+ ═══════════════════════════════════════════════════ */
+mark.chat-search-word-highlight {
+ background-color: color-mix(in srgb, var(--ring) 25%, transparent);
+ color: inherit;
+ border-radius: 2px;
+ padding: 1px 0;
+}
+
+mark.chat-search-word-active {
+ background-color: color-mix(in srgb, var(--ring) 55%, transparent);
+ color: var(--text-strong);
+ border-radius: 2px;
+ padding: 1px 0;
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 30%, transparent);
+}
+