agent-knowledge 1.9.8 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/README.md +53 -52
- package/dist/events.d.ts +16 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +31 -0
- package/dist/events.js.map +1 -0
- package/dist/index.js +31 -13
- package/dist/index.js.map +1 -1
- package/dist/knowledge/analyze.d.ts.map +1 -1
- package/dist/knowledge/analyze.js +18 -11
- package/dist/knowledge/analyze.js.map +1 -1
- package/dist/knowledge/consolidate.d.ts +2 -2
- package/dist/knowledge/consolidate.js +2 -2
- package/dist/knowledge/distill.d.ts.map +1 -1
- package/dist/knowledge/distill.js +28 -16
- package/dist/knowledge/distill.js.map +1 -1
- package/dist/knowledge/freshness.js +1 -1
- package/dist/knowledge/freshness.js.map +1 -1
- package/dist/knowledge/git.d.ts +3 -4
- package/dist/knowledge/git.d.ts.map +1 -1
- package/dist/knowledge/git.js +62 -49
- package/dist/knowledge/git.js.map +1 -1
- package/dist/knowledge/graph.d.ts +2 -0
- package/dist/knowledge/graph.d.ts.map +1 -1
- package/dist/knowledge/graph.js +8 -0
- package/dist/knowledge/graph.js.map +1 -1
- package/dist/knowledge/ingest-freshness.d.ts +22 -0
- package/dist/knowledge/ingest-freshness.d.ts.map +1 -0
- package/dist/knowledge/ingest-freshness.js +93 -0
- package/dist/knowledge/ingest-freshness.js.map +1 -0
- package/dist/knowledge/promote.js +1 -1
- package/dist/knowledge/promote.js.map +1 -1
- package/dist/knowledge/reflect.js +2 -2
- package/dist/knowledge/reflect.js.map +1 -1
- package/dist/knowledge/remove.d.ts +11 -0
- package/dist/knowledge/remove.d.ts.map +1 -0
- package/dist/knowledge/remove.js +24 -0
- package/dist/knowledge/remove.js.map +1 -0
- package/dist/knowledge/search.d.ts +76 -4
- package/dist/knowledge/search.d.ts.map +1 -1
- package/dist/knowledge/search.js +364 -37
- package/dist/knowledge/search.js.map +1 -1
- package/dist/knowledge/similar.d.ts +7 -0
- package/dist/knowledge/similar.d.ts.map +1 -0
- package/dist/knowledge/similar.js +51 -0
- package/dist/knowledge/similar.js.map +1 -0
- package/dist/knowledge/store.d.ts +20 -1
- package/dist/knowledge/store.d.ts.map +1 -1
- package/dist/knowledge/store.js +119 -84
- package/dist/knowledge/store.js.map +1 -1
- package/dist/lib.d.ts +1 -1
- package/dist/lib.d.ts.map +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/package-meta.d.ts +4 -1
- package/dist/package-meta.d.ts.map +1 -1
- package/dist/package-meta.js +18 -9
- package/dist/package-meta.js.map +1 -1
- package/dist/rest-server.d.ts +31 -0
- package/dist/rest-server.d.ts.map +1 -0
- package/dist/rest-server.js +142 -0
- package/dist/rest-server.js.map +1 -0
- package/dist/search/bm25.d.ts +8 -0
- package/dist/search/bm25.d.ts.map +1 -1
- package/dist/search/bm25.js +32 -20
- package/dist/search/bm25.js.map +1 -1
- package/dist/search/excerpt.d.ts +1 -1
- package/dist/search/excerpt.d.ts.map +1 -1
- package/dist/search/excerpt.js +19 -1
- package/dist/search/excerpt.js.map +1 -1
- package/dist/search/lexicon.d.ts +37 -0
- package/dist/search/lexicon.d.ts.map +1 -0
- package/dist/search/lexicon.js +83 -0
- package/dist/search/lexicon.js.map +1 -0
- package/dist/search/mmr.d.ts +9 -3
- package/dist/search/mmr.d.ts.map +1 -1
- package/dist/search/mmr.js +21 -7
- package/dist/search/mmr.js.map +1 -1
- package/dist/search/types.d.ts +2 -0
- package/dist/search/types.d.ts.map +1 -1
- package/dist/server.d.ts +1 -5
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -13
- package/dist/server.js.map +1 -1
- package/dist/sessions/human.d.ts +12 -0
- package/dist/sessions/human.d.ts.map +1 -0
- package/dist/sessions/human.js +52 -0
- package/dist/sessions/human.js.map +1 -0
- package/dist/sessions/indexer.d.ts +4 -0
- package/dist/sessions/indexer.d.ts.map +1 -1
- package/dist/sessions/indexer.js +6 -1
- package/dist/sessions/indexer.js.map +1 -1
- package/dist/sessions/parser.d.ts +39 -0
- package/dist/sessions/parser.d.ts.map +1 -1
- package/dist/sessions/parser.js +169 -15
- package/dist/sessions/parser.js.map +1 -1
- package/dist/sessions/search.d.ts +2 -0
- package/dist/sessions/search.d.ts.map +1 -1
- package/dist/sessions/search.js +147 -67
- package/dist/sessions/search.js.map +1 -1
- package/dist/sessions/snapshot.d.ts +19 -0
- package/dist/sessions/snapshot.d.ts.map +1 -0
- package/dist/sessions/snapshot.js +118 -0
- package/dist/sessions/snapshot.js.map +1 -0
- package/dist/sessions/summary.d.ts +24 -5
- package/dist/sessions/summary.d.ts.map +1 -1
- package/dist/sessions/summary.js +122 -146
- package/dist/sessions/summary.js.map +1 -1
- package/dist/slice.d.ts +5 -0
- package/dist/slice.d.ts.map +1 -0
- package/dist/slice.js +28 -0
- package/dist/slice.js.map +1 -0
- package/dist/text.d.ts +9 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/text.js +16 -0
- package/dist/text.js.map +1 -0
- package/dist/tool-handlers.d.ts.map +1 -1
- package/dist/tool-handlers.js +6 -10
- package/dist/tool-handlers.js.map +1 -1
- package/dist/transport/guard.d.ts +5 -0
- package/dist/transport/guard.d.ts.map +1 -0
- package/dist/transport/guard.js +51 -0
- package/dist/transport/guard.js.map +1 -0
- package/dist/transport/http.d.ts +17 -0
- package/dist/transport/http.d.ts.map +1 -0
- package/dist/transport/http.js +97 -0
- package/dist/transport/http.js.map +1 -0
- package/dist/transport/rest.d.ts +4 -0
- package/dist/transport/rest.d.ts.map +1 -0
- package/dist/transport/rest.js +424 -0
- package/dist/transport/rest.js.map +1 -0
- package/dist/vectorstore/store.d.ts +9 -0
- package/dist/vectorstore/store.d.ts.map +1 -1
- package/dist/vectorstore/store.js +23 -0
- package/dist/vectorstore/store.js.map +1 -1
- package/dist/wakeup.d.ts +5 -0
- package/dist/wakeup.d.ts.map +1 -1
- package/dist/wakeup.js +10 -1
- package/dist/wakeup.js.map +1 -1
- package/docs/ARCHITECTURE.md +25 -39
- package/docs/HOOKS.md +138 -237
- package/docs/INGEST.md +1 -1
- package/docs/SETUP.md +87 -143
- package/docs/USER-MANUAL.md +169 -100
- package/package.json +20 -17
- package/{skills → plugin/skills}/knowledge-ingest/SKILL.md +1 -1
- package/{skills → plugin/skills}/knowledge-ingest/scripts/validate.mjs +2 -2
- package/scripts/plugins/opencode/agent-knowledge.ts +37 -86
- package/scripts/setup.js +80 -146
- package/scripts/source-walk.d.mts +12 -0
- package/scripts/source-walk.mjs +94 -0
- package/scripts/tree-sitter-extract.mjs +10 -76
- package/.claude-plugin/marketplace.json +0 -19
- package/.claude-plugin/plugin.json +0 -12
- package/.mcp.json +0 -8
- package/agent-desk-plugin.json +0 -20
- package/dist/dashboard.d.ts +0 -5
- package/dist/dashboard.d.ts.map +0 -1
- package/dist/dashboard.js +0 -666
- package/dist/dashboard.js.map +0 -1
- package/dist/ui/app.js +0 -1013
- package/dist/ui/index.html +0 -460
- package/dist/ui/morphdom.min.js +0 -1
- package/dist/ui/render-graph.js +0 -482
- package/dist/ui/render-knowledge.js +0 -288
- package/dist/ui/render-panel.js +0 -475
- package/dist/ui/render-search.js +0 -105
- package/dist/ui/render-sessions.js +0 -237
- package/dist/ui/styles.css +0 -2322
- package/dist/ui/template.js +0 -173
- package/dist/ui/ui-utils.js +0 -217
- package/dist/ui/vis-network.min.js +0 -34
- package/docs/DASHBOARD.md +0 -191
- package/scripts/copy-ui.js +0 -14
- package/scripts/hooks/first-prompt-inject.mjs +0 -242
- package/scripts/hooks/precompact-distill.mjs +0 -105
- package/scripts/hooks/precompact-flush.mjs +0 -192
- package/scripts/hooks/session-start-ingest.mjs +0 -238
- package/scripts/hooks/session-start.js +0 -212
- package/scripts/hooks/sessionend-distill.mjs +0 -198
package/dist/ui/styles.css
DELETED
|
@@ -1,2322 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
-
agent-knowledge — Dashboard Styles (MD3 Design Language)
|
|
3
|
-
Matches agent-comm and agent-tasks design tokens exactly.
|
|
4
|
-
═══════════════════════════════════════════════════════════════════════════ */
|
|
5
|
-
|
|
6
|
-
/* ── Reset ─────────────────────────────────────────────────────────────── */
|
|
7
|
-
*,
|
|
8
|
-
*::before,
|
|
9
|
-
*::after {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* ── Design Tokens (Light) ─────────────────────────────────────────────── */
|
|
16
|
-
:root {
|
|
17
|
-
--bg: #ffffff;
|
|
18
|
-
--bg-surface: #f5f7f9;
|
|
19
|
-
--bg-elevated: #edf0f4;
|
|
20
|
-
--bg-hover: #e4e8ed;
|
|
21
|
-
--bg-inset: #dde3e9;
|
|
22
|
-
--border: #c8d1da;
|
|
23
|
-
--border-light: #dde3e9;
|
|
24
|
-
--text: #1c2a33;
|
|
25
|
-
--text-secondary: #3d5263;
|
|
26
|
-
--text-muted: #5a6b78;
|
|
27
|
-
--text-dim: #8895a0;
|
|
28
|
-
--accent: #5d8da8;
|
|
29
|
-
--accent-hover: #4e7a93;
|
|
30
|
-
--accent-dim: rgba(93, 141, 168, 0.15);
|
|
31
|
-
--accent-solid: #243742;
|
|
32
|
-
--accent-glow: rgba(93, 141, 168, 0.35);
|
|
33
|
-
--green: #1a7f37;
|
|
34
|
-
--green-dim: rgba(26, 127, 55, 0.12);
|
|
35
|
-
--yellow: #9a6700;
|
|
36
|
-
--yellow-dim: rgba(154, 103, 0, 0.12);
|
|
37
|
-
--orange: #bc4c00;
|
|
38
|
-
--orange-dim: rgba(188, 76, 0, 0.12);
|
|
39
|
-
--red: #cf222e;
|
|
40
|
-
--red-dim: rgba(207, 34, 46, 0.12);
|
|
41
|
-
--purple: #6e78a8;
|
|
42
|
-
--purple-dim: rgba(110, 120, 168, 0.12);
|
|
43
|
-
--blue: #0969da;
|
|
44
|
-
--blue-dim: rgba(9, 105, 218, 0.12);
|
|
45
|
-
--warning: #9a6700;
|
|
46
|
-
--warning-dim: rgba(154, 103, 0, 0.12);
|
|
47
|
-
--radius: 12px;
|
|
48
|
-
--radius-sm: 8px;
|
|
49
|
-
--radius-lg: 16px;
|
|
50
|
-
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
51
|
-
--font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
52
|
-
--shadow-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
|
53
|
-
--shadow-2: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
54
|
-
--shadow-3: 0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
|
|
55
|
-
--shadow-hover: 0px 2px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 12px 4px rgba(0, 0, 0, 0.15);
|
|
56
|
-
--shadow-panel: -2px 0px 8px 0px rgba(0, 0, 0, 0.3), -4px 0px 16px 2px rgba(0, 0, 0, 0.15);
|
|
57
|
-
--focus-ring: rgba(93, 141, 168, 0.35);
|
|
58
|
-
--transition-fast: 0.15s ease;
|
|
59
|
-
--transition-normal: 0.2s ease;
|
|
60
|
-
--transition-slow: 0.3s ease;
|
|
61
|
-
--panel-width: 560px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/* ── Dark Theme ────────────────────────────────────────────────────────── */
|
|
65
|
-
[data-theme='dark'] {
|
|
66
|
-
--bg: #0d1117;
|
|
67
|
-
--bg-surface: #161b22;
|
|
68
|
-
--bg-elevated: #1c2128;
|
|
69
|
-
--bg-hover: #262c36;
|
|
70
|
-
--bg-inset: #2d333b;
|
|
71
|
-
--border: #373e47;
|
|
72
|
-
--border-light: #2d333b;
|
|
73
|
-
--text: #e6edf3;
|
|
74
|
-
--text-secondary: #b1bac4;
|
|
75
|
-
--text-muted: #8b949e;
|
|
76
|
-
--text-dim: #6e7681;
|
|
77
|
-
--accent: #5d8da8;
|
|
78
|
-
--accent-hover: #79a8c0;
|
|
79
|
-
--accent-dim: rgba(93, 141, 168, 0.2);
|
|
80
|
-
--accent-solid: #a8c8d8;
|
|
81
|
-
--accent-glow: rgba(93, 141, 168, 0.4);
|
|
82
|
-
--green: #3fb950;
|
|
83
|
-
--green-dim: rgba(63, 185, 80, 0.15);
|
|
84
|
-
--yellow: #d29922;
|
|
85
|
-
--yellow-dim: rgba(210, 153, 34, 0.15);
|
|
86
|
-
--orange: #db6d28;
|
|
87
|
-
--orange-dim: rgba(219, 109, 40, 0.15);
|
|
88
|
-
--red: #f85149;
|
|
89
|
-
--red-dim: rgba(248, 81, 73, 0.15);
|
|
90
|
-
--purple: #8e9ad0;
|
|
91
|
-
--purple-dim: rgba(142, 154, 208, 0.15);
|
|
92
|
-
--blue: #58a6ff;
|
|
93
|
-
--blue-dim: rgba(88, 166, 255, 0.15);
|
|
94
|
-
--warning: #d29922;
|
|
95
|
-
--warning-dim: rgba(210, 153, 34, 0.15);
|
|
96
|
-
--shadow-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.6), 0px 1px 3px 1px rgba(0, 0, 0, 0.3);
|
|
97
|
-
--shadow-2: 0px 1px 2px 0px rgba(0, 0, 0, 0.6), 0px 2px 6px 2px rgba(0, 0, 0, 0.3);
|
|
98
|
-
--shadow-3: 0px 1px 3px 0px rgba(0, 0, 0, 0.6), 0px 4px 8px 3px rgba(0, 0, 0, 0.3);
|
|
99
|
-
--shadow-hover: 0px 2px 4px 0px rgba(0, 0, 0, 0.5), 0px 4px 12px 4px rgba(0, 0, 0, 0.3);
|
|
100
|
-
--shadow-panel: -2px 0px 8px 0px rgba(0, 0, 0, 0.6), -4px 0px 16px 2px rgba(0, 0, 0, 0.3);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* ── Base ──────────────────────────────────────────────────────────────── */
|
|
104
|
-
html {
|
|
105
|
-
height: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
body {
|
|
109
|
-
font-family: var(--font-sans);
|
|
110
|
-
font-size: 14px;
|
|
111
|
-
line-height: 1.5;
|
|
112
|
-
color: var(--text);
|
|
113
|
-
background: var(--bg);
|
|
114
|
-
height: 100%;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
-webkit-font-smoothing: antialiased;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.material-symbols-outlined {
|
|
122
|
-
font-variation-settings:
|
|
123
|
-
'FILL' 0,
|
|
124
|
-
'wght' 400,
|
|
125
|
-
'GRAD' 0,
|
|
126
|
-
'opsz' 24;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* ── Scrollbar ─────────────────────────────────────────────────────────── */
|
|
130
|
-
::-webkit-scrollbar {
|
|
131
|
-
width: 6px;
|
|
132
|
-
height: 6px;
|
|
133
|
-
}
|
|
134
|
-
::-webkit-scrollbar-track {
|
|
135
|
-
background: transparent;
|
|
136
|
-
}
|
|
137
|
-
::-webkit-scrollbar-thumb {
|
|
138
|
-
background: var(--border);
|
|
139
|
-
border-radius: 3px;
|
|
140
|
-
}
|
|
141
|
-
::-webkit-scrollbar-thumb:hover {
|
|
142
|
-
background: var(--accent);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/* ── Header ────────────────────────────────────────────────────────────── */
|
|
146
|
-
header {
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
justify-content: space-between;
|
|
150
|
-
padding: 8px 16px;
|
|
151
|
-
background: var(--bg-surface);
|
|
152
|
-
border-bottom: 1px solid var(--border);
|
|
153
|
-
flex-shrink: 0;
|
|
154
|
-
z-index: 10;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.header-left {
|
|
158
|
-
display: flex;
|
|
159
|
-
align-items: center;
|
|
160
|
-
gap: 8px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.header-right {
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
gap: 12px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.brand-icon {
|
|
170
|
-
font-size: 24px;
|
|
171
|
-
color: var(--accent);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
h1 {
|
|
175
|
-
font-family: var(--font-mono);
|
|
176
|
-
font-size: 17px;
|
|
177
|
-
font-weight: 700;
|
|
178
|
-
color: var(--accent-solid);
|
|
179
|
-
letter-spacing: -0.3px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.version {
|
|
183
|
-
font-family: var(--font-mono);
|
|
184
|
-
font-size: 10px;
|
|
185
|
-
font-weight: 500;
|
|
186
|
-
color: var(--text-dim);
|
|
187
|
-
background: var(--bg-elevated);
|
|
188
|
-
padding: 2px 6px;
|
|
189
|
-
border-radius: 10px;
|
|
190
|
-
letter-spacing: 0.3px;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/* ── Connection Status ─────────────────────────────────────────────────── */
|
|
194
|
-
.status-badge {
|
|
195
|
-
display: inline-flex;
|
|
196
|
-
align-items: center;
|
|
197
|
-
gap: 4px;
|
|
198
|
-
font-size: 11px;
|
|
199
|
-
font-weight: 500;
|
|
200
|
-
padding: 2px 8px;
|
|
201
|
-
border-radius: 10px;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.status-badge::before {
|
|
205
|
-
content: '';
|
|
206
|
-
width: 6px;
|
|
207
|
-
height: 6px;
|
|
208
|
-
border-radius: 50%;
|
|
209
|
-
flex-shrink: 0;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.status-badge.connected {
|
|
213
|
-
color: var(--green);
|
|
214
|
-
}
|
|
215
|
-
.status-badge.connected::before {
|
|
216
|
-
background: var(--green);
|
|
217
|
-
}
|
|
218
|
-
.status-badge.disconnected {
|
|
219
|
-
color: var(--red);
|
|
220
|
-
}
|
|
221
|
-
.status-badge.disconnected::before {
|
|
222
|
-
background: var(--red);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/* ── Stats ─────────────────────────────────────────────────────────────── */
|
|
226
|
-
.stats {
|
|
227
|
-
display: flex;
|
|
228
|
-
gap: 8px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.stat-badge {
|
|
232
|
-
display: inline-flex;
|
|
233
|
-
align-items: center;
|
|
234
|
-
gap: 4px;
|
|
235
|
-
font-size: 12px;
|
|
236
|
-
font-weight: 500;
|
|
237
|
-
color: var(--text-muted);
|
|
238
|
-
background: var(--bg-elevated);
|
|
239
|
-
padding: 4px 10px;
|
|
240
|
-
border-radius: var(--radius-sm);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.stat-badge .stat-icon {
|
|
244
|
-
font-size: 16px;
|
|
245
|
-
color: var(--accent);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.stat-badge .stat-value {
|
|
249
|
-
font-family: var(--font-mono);
|
|
250
|
-
font-weight: 600;
|
|
251
|
-
color: var(--text);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/* ── Icon Button ───────────────────────────────────────────────────────── */
|
|
255
|
-
.icon-btn {
|
|
256
|
-
display: inline-flex;
|
|
257
|
-
align-items: center;
|
|
258
|
-
justify-content: center;
|
|
259
|
-
width: 32px;
|
|
260
|
-
height: 32px;
|
|
261
|
-
border: none;
|
|
262
|
-
background: transparent;
|
|
263
|
-
color: var(--text-muted);
|
|
264
|
-
border-radius: var(--radius-sm);
|
|
265
|
-
cursor: pointer;
|
|
266
|
-
transition:
|
|
267
|
-
background var(--transition-fast),
|
|
268
|
-
color var(--transition-fast);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.icon-btn:hover {
|
|
272
|
-
background: var(--bg-hover);
|
|
273
|
-
color: var(--text);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.icon-btn:focus-visible {
|
|
277
|
-
outline: 2px solid var(--accent);
|
|
278
|
-
outline-offset: 1px;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/* ── Tab Bar ───────────────────────────────────────────────────────────── */
|
|
282
|
-
.tab-bar {
|
|
283
|
-
display: flex;
|
|
284
|
-
background: var(--bg-surface);
|
|
285
|
-
border-bottom: 1px solid var(--border);
|
|
286
|
-
padding: 0 16px;
|
|
287
|
-
gap: 0;
|
|
288
|
-
flex-shrink: 0;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.tab {
|
|
292
|
-
display: inline-flex;
|
|
293
|
-
align-items: center;
|
|
294
|
-
gap: 6px;
|
|
295
|
-
padding: 10px 16px;
|
|
296
|
-
font-size: 13px;
|
|
297
|
-
font-weight: 500;
|
|
298
|
-
color: var(--text-muted);
|
|
299
|
-
background: none;
|
|
300
|
-
border: none;
|
|
301
|
-
border-bottom: 2px solid transparent;
|
|
302
|
-
cursor: pointer;
|
|
303
|
-
transition:
|
|
304
|
-
color var(--transition-fast),
|
|
305
|
-
border-color var(--transition-fast);
|
|
306
|
-
white-space: nowrap;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.tab:hover {
|
|
310
|
-
color: var(--text);
|
|
311
|
-
background: var(--bg-hover);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.tab.active {
|
|
315
|
-
color: var(--accent);
|
|
316
|
-
border-bottom-color: var(--accent);
|
|
317
|
-
font-weight: 600;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.tab-icon {
|
|
321
|
-
font-size: 20px;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/* ── Content Layout ────────────────────────────────────────────────────── */
|
|
325
|
-
.content-wrapper {
|
|
326
|
-
display: flex;
|
|
327
|
-
flex: 1;
|
|
328
|
-
overflow: hidden;
|
|
329
|
-
min-height: 0;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
#content {
|
|
333
|
-
flex: 1;
|
|
334
|
-
overflow-y: auto;
|
|
335
|
-
padding: 20px 24px;
|
|
336
|
-
min-width: 0;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.view {
|
|
340
|
-
display: none;
|
|
341
|
-
}
|
|
342
|
-
.view.active {
|
|
343
|
-
display: block;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.view-header {
|
|
347
|
-
display: flex;
|
|
348
|
-
align-items: center;
|
|
349
|
-
justify-content: space-between;
|
|
350
|
-
margin-bottom: 16px;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.view-header h2 {
|
|
354
|
-
display: flex;
|
|
355
|
-
align-items: center;
|
|
356
|
-
gap: 8px;
|
|
357
|
-
font-size: 17px;
|
|
358
|
-
font-weight: 700;
|
|
359
|
-
color: var(--accent-solid);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.view-icon {
|
|
363
|
-
font-size: 22px;
|
|
364
|
-
color: var(--accent);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.view-actions {
|
|
368
|
-
display: flex;
|
|
369
|
-
gap: 8px;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
/* ── Filter Chips ──────────────────────────────────────────────────────── */
|
|
373
|
-
.filter-chips {
|
|
374
|
-
display: flex;
|
|
375
|
-
flex-wrap: wrap;
|
|
376
|
-
gap: 6px;
|
|
377
|
-
margin-bottom: 16px;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.chip {
|
|
381
|
-
display: inline-flex;
|
|
382
|
-
align-items: center;
|
|
383
|
-
gap: 4px;
|
|
384
|
-
padding: 5px 12px;
|
|
385
|
-
font-size: 12px;
|
|
386
|
-
font-weight: 500;
|
|
387
|
-
color: var(--text-muted);
|
|
388
|
-
background: var(--bg-elevated);
|
|
389
|
-
border: 1px solid transparent;
|
|
390
|
-
border-radius: var(--radius-sm);
|
|
391
|
-
cursor: pointer;
|
|
392
|
-
transition: all var(--transition-fast);
|
|
393
|
-
white-space: nowrap;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.chip:hover {
|
|
397
|
-
background: var(--bg-hover);
|
|
398
|
-
color: var(--text);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.chip.active {
|
|
402
|
-
background: var(--accent-dim);
|
|
403
|
-
color: var(--accent);
|
|
404
|
-
border-color: var(--accent);
|
|
405
|
-
font-weight: 600;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.chip-icon {
|
|
409
|
-
font-size: 16px;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/* ── Search Input ──────────────────────────────────────────────────────── */
|
|
413
|
-
.search-bar {
|
|
414
|
-
position: relative;
|
|
415
|
-
margin-bottom: 16px;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.search-input-icon {
|
|
419
|
-
position: absolute;
|
|
420
|
-
left: 12px;
|
|
421
|
-
top: 50%;
|
|
422
|
-
transform: translateY(-50%);
|
|
423
|
-
font-size: 20px;
|
|
424
|
-
color: var(--text-dim);
|
|
425
|
-
pointer-events: none;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.search-input {
|
|
429
|
-
width: 100%;
|
|
430
|
-
height: 40px;
|
|
431
|
-
padding: 0 12px 0 40px;
|
|
432
|
-
font-size: 14px;
|
|
433
|
-
font-family: var(--font-sans);
|
|
434
|
-
color: var(--text);
|
|
435
|
-
background: var(--bg-elevated);
|
|
436
|
-
border: 1px solid var(--border-light);
|
|
437
|
-
border-radius: var(--radius-sm);
|
|
438
|
-
outline: none;
|
|
439
|
-
transition:
|
|
440
|
-
border-color var(--transition-fast),
|
|
441
|
-
box-shadow var(--transition-fast);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.search-input::placeholder {
|
|
445
|
-
color: var(--text-dim);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.search-input:focus {
|
|
449
|
-
border-color: var(--accent);
|
|
450
|
-
box-shadow: 0 0 0 3px var(--focus-ring);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
/* ── Search Controls ───────────────────────────────────────────────────── */
|
|
454
|
-
.search-controls {
|
|
455
|
-
display: flex;
|
|
456
|
-
align-items: center;
|
|
457
|
-
margin-bottom: 16px;
|
|
458
|
-
gap: 8px;
|
|
459
|
-
}
|
|
460
|
-
.search-controls .filter-chips {
|
|
461
|
-
margin-bottom: 0;
|
|
462
|
-
}
|
|
463
|
-
.search-controls .filter-chips:first-child {
|
|
464
|
-
flex: 1;
|
|
465
|
-
}
|
|
466
|
-
.search-controls .mode-toggle {
|
|
467
|
-
flex: 0 0 auto;
|
|
468
|
-
}
|
|
469
|
-
.search-controls .filter-chips:last-child {
|
|
470
|
-
flex: 1;
|
|
471
|
-
justify-content: flex-end;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.mode-toggle {
|
|
475
|
-
display: flex;
|
|
476
|
-
gap: 0;
|
|
477
|
-
border: 1px solid var(--border);
|
|
478
|
-
border-radius: var(--radius-sm);
|
|
479
|
-
overflow: hidden;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.mode-btn {
|
|
483
|
-
display: inline-flex;
|
|
484
|
-
align-items: center;
|
|
485
|
-
gap: 4px;
|
|
486
|
-
padding: 5px 12px;
|
|
487
|
-
font-size: 12px;
|
|
488
|
-
font-weight: 500;
|
|
489
|
-
color: var(--text-muted);
|
|
490
|
-
background: var(--bg-elevated);
|
|
491
|
-
border: none;
|
|
492
|
-
cursor: pointer;
|
|
493
|
-
transition: all var(--transition-fast);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.mode-btn:hover {
|
|
497
|
-
background: var(--bg-hover);
|
|
498
|
-
color: var(--text);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.mode-btn.active {
|
|
502
|
-
background: var(--accent-dim);
|
|
503
|
-
color: var(--accent);
|
|
504
|
-
font-weight: 600;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.mode-btn .material-symbols-outlined {
|
|
508
|
-
font-size: 16px;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
/* ── Card Grid ─────────────────────────────────────────────────────────── */
|
|
512
|
-
.card-grid {
|
|
513
|
-
display: grid;
|
|
514
|
-
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
515
|
-
gap: 12px;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/* ── Knowledge Card ────────────────────────────────────────────────────── */
|
|
519
|
-
.knowledge-card {
|
|
520
|
-
background: var(--bg-elevated);
|
|
521
|
-
border: 1px solid transparent;
|
|
522
|
-
border-radius: var(--radius);
|
|
523
|
-
padding: 14px 16px;
|
|
524
|
-
cursor: pointer;
|
|
525
|
-
box-shadow: var(--shadow-1);
|
|
526
|
-
transition:
|
|
527
|
-
transform var(--transition-fast),
|
|
528
|
-
box-shadow var(--transition-fast),
|
|
529
|
-
border-color var(--transition-fast);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
.knowledge-card:hover {
|
|
533
|
-
transform: translateY(-1px);
|
|
534
|
-
box-shadow: var(--shadow-hover);
|
|
535
|
-
border-color: var(--accent);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.knowledge-card .card-title {
|
|
539
|
-
font-size: 14px;
|
|
540
|
-
font-weight: 600;
|
|
541
|
-
color: var(--text);
|
|
542
|
-
margin-bottom: 6px;
|
|
543
|
-
line-height: 1.3;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.knowledge-card .card-category {
|
|
547
|
-
display: inline-flex;
|
|
548
|
-
align-items: center;
|
|
549
|
-
gap: 3px;
|
|
550
|
-
font-size: 11px;
|
|
551
|
-
font-weight: 500;
|
|
552
|
-
padding: 2px 8px;
|
|
553
|
-
border-radius: 10px;
|
|
554
|
-
margin-bottom: 8px;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.card-category[data-cat='projects'] {
|
|
558
|
-
background: var(--blue-dim);
|
|
559
|
-
color: var(--blue);
|
|
560
|
-
}
|
|
561
|
-
.card-category[data-cat='people'] {
|
|
562
|
-
background: var(--purple-dim);
|
|
563
|
-
color: var(--purple);
|
|
564
|
-
}
|
|
565
|
-
.card-category[data-cat='decisions'] {
|
|
566
|
-
background: var(--orange-dim);
|
|
567
|
-
color: var(--orange);
|
|
568
|
-
}
|
|
569
|
-
.card-category[data-cat='workflows'] {
|
|
570
|
-
background: var(--green-dim);
|
|
571
|
-
color: var(--green);
|
|
572
|
-
}
|
|
573
|
-
.card-category[data-cat='notes'] {
|
|
574
|
-
background: var(--yellow-dim);
|
|
575
|
-
color: var(--yellow);
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
.knowledge-card .card-tags {
|
|
579
|
-
display: flex;
|
|
580
|
-
flex-wrap: wrap;
|
|
581
|
-
gap: 4px;
|
|
582
|
-
margin-bottom: 6px;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.card-tag {
|
|
586
|
-
font-size: 10px;
|
|
587
|
-
font-weight: 500;
|
|
588
|
-
padding: 1px 6px;
|
|
589
|
-
border-radius: 6px;
|
|
590
|
-
background: var(--bg-hover);
|
|
591
|
-
color: var(--text-muted);
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.knowledge-card .card-date {
|
|
595
|
-
font-size: 11px;
|
|
596
|
-
color: var(--text-dim);
|
|
597
|
-
font-family: var(--font-mono);
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/* ── Results List ──────────────────────────────────────────────────────── */
|
|
601
|
-
.results-list {
|
|
602
|
-
display: flex;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
gap: 0;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.result-item {
|
|
608
|
-
padding: 12px 16px;
|
|
609
|
-
border-bottom: 1px solid var(--border-light);
|
|
610
|
-
cursor: pointer;
|
|
611
|
-
transition: background var(--transition-fast);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
.result-item:hover {
|
|
615
|
-
background: var(--bg-hover);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
.result-item:last-child {
|
|
619
|
-
border-bottom: none;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.result-meta {
|
|
623
|
-
display: flex;
|
|
624
|
-
align-items: center;
|
|
625
|
-
gap: 8px;
|
|
626
|
-
margin-bottom: 6px;
|
|
627
|
-
flex-wrap: wrap;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.result-project {
|
|
631
|
-
font-size: 11px;
|
|
632
|
-
font-weight: 600;
|
|
633
|
-
font-family: var(--font-mono);
|
|
634
|
-
color: var(--accent);
|
|
635
|
-
background: var(--accent-dim);
|
|
636
|
-
padding: 1px 6px;
|
|
637
|
-
border-radius: 6px;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.result-date {
|
|
641
|
-
font-size: 11px;
|
|
642
|
-
color: var(--text-dim);
|
|
643
|
-
font-family: var(--font-mono);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/* ── Role Badge ────────────────────────────────────────────────────────── */
|
|
647
|
-
.role-badge {
|
|
648
|
-
display: inline-flex;
|
|
649
|
-
align-items: center;
|
|
650
|
-
gap: 2px;
|
|
651
|
-
font-size: 10px;
|
|
652
|
-
font-weight: 600;
|
|
653
|
-
padding: 1px 6px;
|
|
654
|
-
border-radius: 6px;
|
|
655
|
-
text-transform: uppercase;
|
|
656
|
-
letter-spacing: 0.3px;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.role-badge[data-role='user'] {
|
|
660
|
-
background: var(--accent-dim);
|
|
661
|
-
color: var(--accent);
|
|
662
|
-
}
|
|
663
|
-
.role-badge[data-role='assistant'] {
|
|
664
|
-
background: var(--purple-dim);
|
|
665
|
-
color: var(--purple);
|
|
666
|
-
}
|
|
667
|
-
.role-badge[data-role='tool_use'] {
|
|
668
|
-
background: var(--orange-dim);
|
|
669
|
-
color: var(--orange);
|
|
670
|
-
}
|
|
671
|
-
.role-badge[data-role='tool_result'] {
|
|
672
|
-
background: var(--orange-dim);
|
|
673
|
-
color: var(--orange);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
/* ── Score Bar ─────────────────────────────────────────────────────────── */
|
|
677
|
-
.score-container {
|
|
678
|
-
display: flex;
|
|
679
|
-
align-items: center;
|
|
680
|
-
gap: 6px;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
.score-bar {
|
|
684
|
-
width: 60px;
|
|
685
|
-
height: 4px;
|
|
686
|
-
background: var(--bg-inset);
|
|
687
|
-
border-radius: 2px;
|
|
688
|
-
overflow: hidden;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.score-bar-fill {
|
|
692
|
-
height: 100%;
|
|
693
|
-
background: var(--green);
|
|
694
|
-
border-radius: 2px;
|
|
695
|
-
transition: width var(--transition-normal);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.score-value {
|
|
699
|
-
font-size: 10px;
|
|
700
|
-
font-weight: 600;
|
|
701
|
-
font-family: var(--font-mono);
|
|
702
|
-
color: var(--text-dim);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
/* ── Recency Tag ──────────────────────────────────────────────────────── */
|
|
706
|
-
.recency-tag {
|
|
707
|
-
font-size: 9px;
|
|
708
|
-
font-weight: 500;
|
|
709
|
-
margin-left: 4px;
|
|
710
|
-
padding: 0 3px;
|
|
711
|
-
border-radius: 3px;
|
|
712
|
-
background: var(--orange-dim);
|
|
713
|
-
color: var(--orange);
|
|
714
|
-
vertical-align: middle;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/* ── Scope Badge ───────────────────────────────────────────────────────── */
|
|
718
|
-
.scope-badge {
|
|
719
|
-
font-size: 10px;
|
|
720
|
-
font-weight: 600;
|
|
721
|
-
padding: 1px 6px;
|
|
722
|
-
border-radius: 6px;
|
|
723
|
-
text-transform: uppercase;
|
|
724
|
-
letter-spacing: 0.3px;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
.scope-badge[data-scope='errors'] {
|
|
728
|
-
background: var(--red-dim);
|
|
729
|
-
color: var(--red);
|
|
730
|
-
}
|
|
731
|
-
.scope-badge[data-scope='plans'] {
|
|
732
|
-
background: var(--blue-dim);
|
|
733
|
-
color: var(--blue);
|
|
734
|
-
}
|
|
735
|
-
.scope-badge[data-scope='configs'] {
|
|
736
|
-
background: var(--orange-dim);
|
|
737
|
-
color: var(--orange);
|
|
738
|
-
}
|
|
739
|
-
.scope-badge[data-scope='tools'] {
|
|
740
|
-
background: var(--purple-dim);
|
|
741
|
-
color: var(--purple);
|
|
742
|
-
}
|
|
743
|
-
.scope-badge[data-scope='files'] {
|
|
744
|
-
background: var(--green-dim);
|
|
745
|
-
color: var(--green);
|
|
746
|
-
}
|
|
747
|
-
.scope-badge[data-scope='decisions'] {
|
|
748
|
-
background: var(--yellow-dim);
|
|
749
|
-
color: var(--yellow);
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
/* ── Excerpt ───────────────────────────────────────────────────────────── */
|
|
753
|
-
.result-excerpt {
|
|
754
|
-
font-size: 13px;
|
|
755
|
-
font-family: var(--font-mono);
|
|
756
|
-
color: var(--text-secondary);
|
|
757
|
-
line-height: 1.5;
|
|
758
|
-
white-space: pre-wrap;
|
|
759
|
-
word-break: break-word;
|
|
760
|
-
background: var(--bg-surface);
|
|
761
|
-
padding: 8px 12px;
|
|
762
|
-
border-radius: var(--radius-sm);
|
|
763
|
-
margin-top: 6px;
|
|
764
|
-
border-left: 3px solid var(--accent);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.result-excerpt mark {
|
|
768
|
-
background: var(--yellow-dim);
|
|
769
|
-
color: var(--yellow);
|
|
770
|
-
padding: 0 2px;
|
|
771
|
-
border-radius: 2px;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/* ── Session Cards ─────────────────────────────────────────────────────── */
|
|
775
|
-
.sessions-list {
|
|
776
|
-
display: flex;
|
|
777
|
-
flex-direction: column;
|
|
778
|
-
gap: 8px;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.session-card {
|
|
782
|
-
background: var(--bg-elevated);
|
|
783
|
-
border: 1px solid transparent;
|
|
784
|
-
border-radius: var(--radius);
|
|
785
|
-
padding: 12px 16px;
|
|
786
|
-
cursor: pointer;
|
|
787
|
-
box-shadow: var(--shadow-1);
|
|
788
|
-
transition:
|
|
789
|
-
transform var(--transition-fast),
|
|
790
|
-
box-shadow var(--transition-fast),
|
|
791
|
-
border-color var(--transition-fast);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
.session-card:hover {
|
|
795
|
-
transform: translateY(-1px);
|
|
796
|
-
box-shadow: var(--shadow-hover);
|
|
797
|
-
border-color: var(--accent);
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
.session-card .session-header {
|
|
801
|
-
display: flex;
|
|
802
|
-
align-items: center;
|
|
803
|
-
justify-content: space-between;
|
|
804
|
-
margin-bottom: 6px;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.session-card .session-title {
|
|
808
|
-
font-size: 13px;
|
|
809
|
-
font-weight: 600;
|
|
810
|
-
color: var(--fg);
|
|
811
|
-
overflow: hidden;
|
|
812
|
-
text-overflow: ellipsis;
|
|
813
|
-
white-space: nowrap;
|
|
814
|
-
flex: 1;
|
|
815
|
-
min-width: 0;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.session-card .session-project {
|
|
819
|
-
font-size: 12px;
|
|
820
|
-
font-weight: 600;
|
|
821
|
-
font-family: var(--font-mono);
|
|
822
|
-
color: var(--accent);
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.session-card .session-date {
|
|
826
|
-
font-size: 11px;
|
|
827
|
-
color: var(--text-dim);
|
|
828
|
-
font-family: var(--font-mono);
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.session-card .session-meta {
|
|
832
|
-
display: flex;
|
|
833
|
-
gap: 12px;
|
|
834
|
-
margin-bottom: 6px;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
.session-card .session-meta-item {
|
|
838
|
-
display: flex;
|
|
839
|
-
align-items: center;
|
|
840
|
-
gap: 4px;
|
|
841
|
-
font-size: 11px;
|
|
842
|
-
color: var(--text-muted);
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
.session-card .session-meta-item .material-symbols-outlined {
|
|
846
|
-
font-size: 14px;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
.session-card .session-preview {
|
|
850
|
-
font-size: 12px;
|
|
851
|
-
color: var(--text-secondary);
|
|
852
|
-
line-height: 1.4;
|
|
853
|
-
overflow: hidden;
|
|
854
|
-
text-overflow: ellipsis;
|
|
855
|
-
white-space: nowrap;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
/* ── Sessions Load More ───────────────────────────────────────────────── */
|
|
859
|
-
.sessions-load-more {
|
|
860
|
-
display: flex;
|
|
861
|
-
align-items: center;
|
|
862
|
-
justify-content: center;
|
|
863
|
-
gap: 8px;
|
|
864
|
-
padding: 16px;
|
|
865
|
-
color: var(--text-muted);
|
|
866
|
-
font-size: 13px;
|
|
867
|
-
}
|
|
868
|
-
.sessions-load-more.hidden {
|
|
869
|
-
display: none;
|
|
870
|
-
}
|
|
871
|
-
.sessions-spinner {
|
|
872
|
-
width: 16px;
|
|
873
|
-
height: 16px;
|
|
874
|
-
border: 2px solid var(--border);
|
|
875
|
-
border-top-color: var(--accent);
|
|
876
|
-
border-radius: 50%;
|
|
877
|
-
animation: spin 0.6s linear infinite;
|
|
878
|
-
}
|
|
879
|
-
@keyframes spin {
|
|
880
|
-
to {
|
|
881
|
-
transform: rotate(360deg);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/* ── Filter Select ─────────────────────────────────────────────────────── */
|
|
886
|
-
.filter-select {
|
|
887
|
-
height: 32px;
|
|
888
|
-
padding: 0 28px 0 10px;
|
|
889
|
-
font-size: 12px;
|
|
890
|
-
font-family: var(--font-sans);
|
|
891
|
-
color: var(--text);
|
|
892
|
-
background: var(--bg-elevated);
|
|
893
|
-
border: 1px solid var(--border-light);
|
|
894
|
-
border-radius: var(--radius-sm);
|
|
895
|
-
outline: none;
|
|
896
|
-
cursor: pointer;
|
|
897
|
-
appearance: none;
|
|
898
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%235a6b78' stroke-width='1.5'/%3E%3C/svg%3E");
|
|
899
|
-
background-repeat: no-repeat;
|
|
900
|
-
background-position: right 8px center;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
.filter-select:focus {
|
|
904
|
-
border-color: var(--accent);
|
|
905
|
-
box-shadow: 0 0 0 3px var(--focus-ring);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
/* ── Side Panel ────────────────────────────────────────────────────────── */
|
|
909
|
-
.side-panel {
|
|
910
|
-
width: 0;
|
|
911
|
-
min-width: 0;
|
|
912
|
-
overflow: hidden;
|
|
913
|
-
background: var(--bg-surface);
|
|
914
|
-
border-left: 1px solid var(--border);
|
|
915
|
-
box-shadow: var(--shadow-panel);
|
|
916
|
-
transition:
|
|
917
|
-
width var(--transition-slow),
|
|
918
|
-
min-width var(--transition-slow);
|
|
919
|
-
flex-shrink: 0;
|
|
920
|
-
display: flex;
|
|
921
|
-
flex-direction: column;
|
|
922
|
-
position: relative;
|
|
923
|
-
height: 100%;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.side-panel.open {
|
|
927
|
-
width: var(--panel-width);
|
|
928
|
-
min-width: 320px;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
.panel-body {
|
|
932
|
-
flex: 1;
|
|
933
|
-
overflow-y: auto;
|
|
934
|
-
min-height: 0;
|
|
935
|
-
padding: 16px;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/* ── Panel Resize Handle ───────────────────────────────────────────────── */
|
|
939
|
-
.panel-resize-handle {
|
|
940
|
-
position: absolute;
|
|
941
|
-
top: 0;
|
|
942
|
-
left: -4px;
|
|
943
|
-
width: 8px;
|
|
944
|
-
height: 100%;
|
|
945
|
-
cursor: col-resize;
|
|
946
|
-
z-index: 10;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
.panel-resize-handle::after {
|
|
950
|
-
content: '';
|
|
951
|
-
position: absolute;
|
|
952
|
-
top: 50%;
|
|
953
|
-
left: 2px;
|
|
954
|
-
transform: translateY(-50%);
|
|
955
|
-
width: 4px;
|
|
956
|
-
height: 40px;
|
|
957
|
-
border-radius: 2px;
|
|
958
|
-
background: var(--border);
|
|
959
|
-
opacity: 0;
|
|
960
|
-
transition: opacity 0.2s;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
.panel-resize-handle:hover::after,
|
|
964
|
-
.panel-resize-handle:active::after {
|
|
965
|
-
opacity: 1;
|
|
966
|
-
background: var(--accent);
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
.panel-header {
|
|
970
|
-
display: flex;
|
|
971
|
-
align-items: center;
|
|
972
|
-
justify-content: space-between;
|
|
973
|
-
padding: 12px 16px;
|
|
974
|
-
border-bottom: 1px solid var(--border);
|
|
975
|
-
flex-shrink: 0;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
.panel-title {
|
|
979
|
-
font-size: 14px;
|
|
980
|
-
font-weight: 600;
|
|
981
|
-
color: var(--text);
|
|
982
|
-
overflow: hidden;
|
|
983
|
-
text-overflow: ellipsis;
|
|
984
|
-
white-space: nowrap;
|
|
985
|
-
flex: 1;
|
|
986
|
-
margin-right: 8px;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
/* ── Chat Bubbles ──────────────────────────────────────────────────────── */
|
|
990
|
-
.chat-messages {
|
|
991
|
-
display: flex;
|
|
992
|
-
flex-direction: column;
|
|
993
|
-
gap: 12px;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.chat-msg {
|
|
997
|
-
max-width: 85%;
|
|
998
|
-
padding: 10px 14px;
|
|
999
|
-
border-radius: var(--radius);
|
|
1000
|
-
font-size: 13px;
|
|
1001
|
-
line-height: 1.5;
|
|
1002
|
-
word-break: break-word;
|
|
1003
|
-
overflow: hidden;
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
.chat-msg ol,
|
|
1007
|
-
.chat-msg ul {
|
|
1008
|
-
margin: 4px 0;
|
|
1009
|
-
padding-left: 1.4em;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
.chat-msg p {
|
|
1013
|
-
margin: 4px 0;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
.chat-msg.user {
|
|
1017
|
-
align-self: flex-end;
|
|
1018
|
-
background: var(--accent);
|
|
1019
|
-
color: #ffffff;
|
|
1020
|
-
border-bottom-right-radius: 4px;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
.chat-msg.assistant {
|
|
1024
|
-
align-self: flex-start;
|
|
1025
|
-
background: var(--bg-elevated);
|
|
1026
|
-
color: var(--text);
|
|
1027
|
-
border-bottom-left-radius: 4px;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
.chat-msg.tool {
|
|
1031
|
-
align-self: flex-start;
|
|
1032
|
-
background: var(--bg-inset);
|
|
1033
|
-
color: var(--text-muted);
|
|
1034
|
-
font-family: var(--font-mono);
|
|
1035
|
-
font-size: 11px;
|
|
1036
|
-
border-bottom-left-radius: 4px;
|
|
1037
|
-
max-height: 100px;
|
|
1038
|
-
overflow: hidden;
|
|
1039
|
-
position: relative;
|
|
1040
|
-
cursor: pointer;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.chat-msg.tool.expanded {
|
|
1044
|
-
max-height: none;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
.chat-msg.tool::after {
|
|
1048
|
-
content: 'Click to expand';
|
|
1049
|
-
position: absolute;
|
|
1050
|
-
bottom: 0;
|
|
1051
|
-
left: 0;
|
|
1052
|
-
right: 0;
|
|
1053
|
-
padding: 4px;
|
|
1054
|
-
text-align: center;
|
|
1055
|
-
font-size: 10px;
|
|
1056
|
-
background: linear-gradient(transparent, var(--bg-inset));
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
.chat-msg.tool.expanded::after {
|
|
1060
|
-
display: none;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
.chat-msg-role {
|
|
1064
|
-
font-size: 10px;
|
|
1065
|
-
font-weight: 600;
|
|
1066
|
-
text-transform: uppercase;
|
|
1067
|
-
letter-spacing: 0.3px;
|
|
1068
|
-
margin-bottom: 4px;
|
|
1069
|
-
opacity: 0.7;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
.chat-msg-time {
|
|
1073
|
-
font-size: 10px;
|
|
1074
|
-
opacity: 0.5;
|
|
1075
|
-
margin-top: 4px;
|
|
1076
|
-
font-family: var(--font-mono);
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.chat-msg-highlight {
|
|
1080
|
-
outline: 2px solid var(--accent);
|
|
1081
|
-
outline-offset: 2px;
|
|
1082
|
-
border-radius: 8px;
|
|
1083
|
-
animation: highlight-fade 4s ease-out forwards;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
/* Don't override user message background — white text becomes unreadable */
|
|
1087
|
-
.chat-msg.user.chat-msg-highlight {
|
|
1088
|
-
animation: highlight-outline-fade 4s ease-out forwards;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
@keyframes highlight-outline-fade {
|
|
1092
|
-
0% {
|
|
1093
|
-
outline-color: var(--accent);
|
|
1094
|
-
box-shadow: 0 0 8px var(--accent);
|
|
1095
|
-
}
|
|
1096
|
-
70% {
|
|
1097
|
-
outline-color: var(--accent);
|
|
1098
|
-
box-shadow: 0 0 8px var(--accent);
|
|
1099
|
-
}
|
|
1100
|
-
100% {
|
|
1101
|
-
outline-color: transparent;
|
|
1102
|
-
box-shadow: none;
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
@keyframes highlight-fade {
|
|
1107
|
-
0% {
|
|
1108
|
-
background: color-mix(in srgb, var(--accent) 20%, transparent);
|
|
1109
|
-
}
|
|
1110
|
-
70% {
|
|
1111
|
-
background: color-mix(in srgb, var(--accent) 20%, transparent);
|
|
1112
|
-
}
|
|
1113
|
-
100% {
|
|
1114
|
-
background: transparent;
|
|
1115
|
-
outline-color: transparent;
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
/* ── Markdown / Prose ──────────────────────────────────────────────────── */
|
|
1120
|
-
.prose h1,
|
|
1121
|
-
.prose h2,
|
|
1122
|
-
.prose h3 {
|
|
1123
|
-
color: var(--text);
|
|
1124
|
-
margin: 16px 0 8px;
|
|
1125
|
-
line-height: 1.3;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
.prose h1 {
|
|
1129
|
-
font-size: 20px;
|
|
1130
|
-
font-weight: 700;
|
|
1131
|
-
}
|
|
1132
|
-
.prose h2 {
|
|
1133
|
-
font-size: 16px;
|
|
1134
|
-
font-weight: 600;
|
|
1135
|
-
}
|
|
1136
|
-
.prose h3 {
|
|
1137
|
-
font-size: 14px;
|
|
1138
|
-
font-weight: 600;
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
.prose p {
|
|
1142
|
-
margin: 8px 0;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
.prose code {
|
|
1146
|
-
font-family: var(--font-mono);
|
|
1147
|
-
font-size: 12px;
|
|
1148
|
-
background: var(--bg-inset);
|
|
1149
|
-
padding: 1px 4px;
|
|
1150
|
-
border-radius: 4px;
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
.prose pre {
|
|
1154
|
-
background: var(--bg-inset);
|
|
1155
|
-
padding: 12px;
|
|
1156
|
-
border-radius: var(--radius-sm);
|
|
1157
|
-
overflow-x: auto;
|
|
1158
|
-
margin: 12px 0;
|
|
1159
|
-
font-size: 12px;
|
|
1160
|
-
line-height: 1.5;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
.prose pre code {
|
|
1164
|
-
background: none;
|
|
1165
|
-
padding: 0;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
.prose a {
|
|
1169
|
-
color: var(--accent);
|
|
1170
|
-
text-decoration: underline;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
.prose ul,
|
|
1174
|
-
.prose ol {
|
|
1175
|
-
padding-left: 20px;
|
|
1176
|
-
margin: 8px 0;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
.prose li {
|
|
1180
|
-
margin: 2px 0;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
.prose blockquote {
|
|
1184
|
-
border-left: 3px solid var(--accent);
|
|
1185
|
-
margin: 12px 0;
|
|
1186
|
-
padding: 4px 12px;
|
|
1187
|
-
background: var(--bg-elevated);
|
|
1188
|
-
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
1189
|
-
color: var(--text-secondary);
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
.prose table {
|
|
1193
|
-
width: 100%;
|
|
1194
|
-
border-collapse: collapse;
|
|
1195
|
-
margin: 12px 0;
|
|
1196
|
-
font-size: 13px;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
.prose th,
|
|
1200
|
-
.prose td {
|
|
1201
|
-
padding: 6px 10px;
|
|
1202
|
-
border: 1px solid var(--border-light);
|
|
1203
|
-
text-align: left;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
.prose th {
|
|
1207
|
-
background: var(--bg-elevated);
|
|
1208
|
-
font-weight: 600;
|
|
1209
|
-
font-size: 11px;
|
|
1210
|
-
text-transform: uppercase;
|
|
1211
|
-
letter-spacing: 0.3px;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
.prose hr {
|
|
1215
|
-
border: none;
|
|
1216
|
-
border-top: 1px solid var(--border-light);
|
|
1217
|
-
margin: 16px 0;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
/* ── Empty State ───────────────────────────────────────────────────────── */
|
|
1221
|
-
.empty-state {
|
|
1222
|
-
display: flex;
|
|
1223
|
-
flex-direction: column;
|
|
1224
|
-
align-items: center;
|
|
1225
|
-
justify-content: center;
|
|
1226
|
-
padding: 48px 24px;
|
|
1227
|
-
text-align: center;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
.empty-state.hidden {
|
|
1231
|
-
display: none;
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
.empty-icon {
|
|
1235
|
-
font-size: 48px;
|
|
1236
|
-
color: var(--text-dim);
|
|
1237
|
-
margin-bottom: 12px;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
.empty-text {
|
|
1241
|
-
font-size: 15px;
|
|
1242
|
-
font-weight: 600;
|
|
1243
|
-
color: var(--text-muted);
|
|
1244
|
-
margin-bottom: 4px;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
.empty-hint {
|
|
1248
|
-
font-size: 12px;
|
|
1249
|
-
color: var(--text-dim);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
/* ── Loading Overlay ───────────────────────────────────────────────────── */
|
|
1253
|
-
.loading-overlay {
|
|
1254
|
-
position: fixed;
|
|
1255
|
-
inset: 0;
|
|
1256
|
-
display: flex;
|
|
1257
|
-
flex-direction: column;
|
|
1258
|
-
align-items: center;
|
|
1259
|
-
justify-content: center;
|
|
1260
|
-
background: var(--bg);
|
|
1261
|
-
z-index: 100;
|
|
1262
|
-
gap: 16px;
|
|
1263
|
-
transition: opacity var(--transition-slow);
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
.loading-overlay.hidden {
|
|
1267
|
-
opacity: 0;
|
|
1268
|
-
pointer-events: none;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
.loading-spinner {
|
|
1272
|
-
width: 32px;
|
|
1273
|
-
height: 32px;
|
|
1274
|
-
border: 3px solid var(--border);
|
|
1275
|
-
border-top-color: var(--accent);
|
|
1276
|
-
border-radius: 50%;
|
|
1277
|
-
animation: spin 0.8s linear infinite;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
.loading-text {
|
|
1281
|
-
font-size: 13px;
|
|
1282
|
-
color: var(--text-muted);
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
/* ── Toast ─────────────────────────────────────────────────────────────── */
|
|
1286
|
-
.toast-container {
|
|
1287
|
-
position: fixed;
|
|
1288
|
-
top: 16px;
|
|
1289
|
-
right: 16px;
|
|
1290
|
-
z-index: 200;
|
|
1291
|
-
display: flex;
|
|
1292
|
-
flex-direction: column;
|
|
1293
|
-
gap: 8px;
|
|
1294
|
-
max-width: 340px;
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
.toast {
|
|
1298
|
-
display: flex;
|
|
1299
|
-
align-items: flex-start;
|
|
1300
|
-
gap: 8px;
|
|
1301
|
-
padding: 10px 14px;
|
|
1302
|
-
background: var(--bg-surface);
|
|
1303
|
-
border: 1px solid var(--border);
|
|
1304
|
-
border-radius: var(--radius-sm);
|
|
1305
|
-
box-shadow: var(--shadow-2);
|
|
1306
|
-
animation: toastIn 0.3s ease;
|
|
1307
|
-
font-size: 13px;
|
|
1308
|
-
color: var(--text);
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
.toast.fade-out {
|
|
1312
|
-
animation: toastOut 0.3s ease forwards;
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
.toast-icon {
|
|
1316
|
-
font-size: 18px;
|
|
1317
|
-
flex-shrink: 0;
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
.toast.success .toast-icon {
|
|
1321
|
-
color: var(--green);
|
|
1322
|
-
}
|
|
1323
|
-
.toast.error .toast-icon {
|
|
1324
|
-
color: var(--red);
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/* ── Skeleton Loading ──────────────────────────────────────────────────── */
|
|
1328
|
-
.skeleton-line {
|
|
1329
|
-
height: 12px;
|
|
1330
|
-
background: var(--bg-hover);
|
|
1331
|
-
border-radius: 6px;
|
|
1332
|
-
animation: pulse 1.5s ease-in-out infinite;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
.skeleton-line + .skeleton-line {
|
|
1336
|
-
margin-top: 8px;
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
.skeleton-line.w-75 {
|
|
1340
|
-
width: 75%;
|
|
1341
|
-
}
|
|
1342
|
-
.skeleton-line.w-50 {
|
|
1343
|
-
width: 50%;
|
|
1344
|
-
}
|
|
1345
|
-
.skeleton-line.w-25 {
|
|
1346
|
-
width: 25%;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
/* ── Animations ────────────────────────────────────────────────────────── */
|
|
1350
|
-
@keyframes spin {
|
|
1351
|
-
to {
|
|
1352
|
-
transform: rotate(360deg);
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
@keyframes toastIn {
|
|
1357
|
-
from {
|
|
1358
|
-
opacity: 0;
|
|
1359
|
-
transform: translateX(30px);
|
|
1360
|
-
}
|
|
1361
|
-
to {
|
|
1362
|
-
opacity: 1;
|
|
1363
|
-
transform: translateX(0);
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
@keyframes toastOut {
|
|
1368
|
-
from {
|
|
1369
|
-
opacity: 1;
|
|
1370
|
-
transform: translateX(0);
|
|
1371
|
-
}
|
|
1372
|
-
to {
|
|
1373
|
-
opacity: 0;
|
|
1374
|
-
transform: translateX(30px);
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
@keyframes pulse {
|
|
1379
|
-
0%,
|
|
1380
|
-
100% {
|
|
1381
|
-
opacity: 0.4;
|
|
1382
|
-
}
|
|
1383
|
-
50% {
|
|
1384
|
-
opacity: 0.8;
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
@keyframes fadeInUp {
|
|
1389
|
-
from {
|
|
1390
|
-
opacity: 0;
|
|
1391
|
-
transform: translateY(8px);
|
|
1392
|
-
}
|
|
1393
|
-
to {
|
|
1394
|
-
opacity: 1;
|
|
1395
|
-
transform: translateY(0);
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
/* ── Panel Metadata ────────────────────────────────────────────────────── */
|
|
1400
|
-
.panel-meta {
|
|
1401
|
-
display: flex;
|
|
1402
|
-
flex-wrap: wrap;
|
|
1403
|
-
align-items: center;
|
|
1404
|
-
gap: 8px;
|
|
1405
|
-
padding: 0 0 12px;
|
|
1406
|
-
border-bottom: 1px solid var(--border-light);
|
|
1407
|
-
margin-bottom: 16px;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
.panel-meta-item {
|
|
1411
|
-
display: inline-flex;
|
|
1412
|
-
align-items: center;
|
|
1413
|
-
gap: 4px;
|
|
1414
|
-
font-size: 12px;
|
|
1415
|
-
color: var(--text-muted);
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
.panel-meta-date {
|
|
1419
|
-
font-size: 11px;
|
|
1420
|
-
font-family: var(--font-mono);
|
|
1421
|
-
color: var(--text-dim);
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
.panel-icon {
|
|
1425
|
-
font-size: 18px;
|
|
1426
|
-
color: var(--accent);
|
|
1427
|
-
vertical-align: middle;
|
|
1428
|
-
margin-right: 4px;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
.panel-section {
|
|
1432
|
-
margin-bottom: 16px;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
.panel-section-title {
|
|
1436
|
-
font-size: 12px;
|
|
1437
|
-
font-weight: 600;
|
|
1438
|
-
text-transform: uppercase;
|
|
1439
|
-
letter-spacing: 0.5px;
|
|
1440
|
-
color: var(--text-muted);
|
|
1441
|
-
margin-bottom: 8px;
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
.panel-topics {
|
|
1445
|
-
padding-left: 16px;
|
|
1446
|
-
font-size: 12px;
|
|
1447
|
-
color: var(--text-secondary);
|
|
1448
|
-
line-height: 1.6;
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
.panel-topics li {
|
|
1452
|
-
margin-bottom: 4px;
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
.panel-visible .side-panel {
|
|
1456
|
-
width: var(--panel-width);
|
|
1457
|
-
min-width: var(--panel-width);
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
/* ── Loading Inline ────────────────────────────────────────────────────── */
|
|
1461
|
-
.loading-inline {
|
|
1462
|
-
display: flex;
|
|
1463
|
-
align-items: center;
|
|
1464
|
-
justify-content: center;
|
|
1465
|
-
gap: 8px;
|
|
1466
|
-
padding: 24px;
|
|
1467
|
-
color: var(--text-muted);
|
|
1468
|
-
font-size: 13px;
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
.loading-spinner.small {
|
|
1472
|
-
width: 18px;
|
|
1473
|
-
height: 18px;
|
|
1474
|
-
border-width: 2px;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
/* ── Semantic Toggle ───────────────────────────────────────────────────── */
|
|
1478
|
-
.semantic-toggle {
|
|
1479
|
-
display: inline-flex;
|
|
1480
|
-
align-items: center;
|
|
1481
|
-
gap: 4px;
|
|
1482
|
-
font-size: 0.8rem;
|
|
1483
|
-
cursor: pointer;
|
|
1484
|
-
color: var(--text-secondary);
|
|
1485
|
-
user-select: none;
|
|
1486
|
-
margin-bottom: 16px;
|
|
1487
|
-
}
|
|
1488
|
-
.semantic-toggle input[type='checkbox'] {
|
|
1489
|
-
accent-color: var(--accent);
|
|
1490
|
-
}
|
|
1491
|
-
.semantic-toggle .toggle-icon {
|
|
1492
|
-
font-size: 16px;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
/* ── Embeddings Dashboard ─────────────────────────────────────────────── */
|
|
1496
|
-
.embeddings-dashboard {
|
|
1497
|
-
padding: 1rem 0;
|
|
1498
|
-
}
|
|
1499
|
-
.embedding-stats-grid {
|
|
1500
|
-
display: grid;
|
|
1501
|
-
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
1502
|
-
gap: 1rem;
|
|
1503
|
-
}
|
|
1504
|
-
.embedding-stat-card {
|
|
1505
|
-
background: var(--bg-elevated);
|
|
1506
|
-
border: 1px solid var(--border-light);
|
|
1507
|
-
border-radius: var(--radius-sm);
|
|
1508
|
-
padding: 1rem;
|
|
1509
|
-
display: flex;
|
|
1510
|
-
flex-direction: column;
|
|
1511
|
-
gap: 0.25rem;
|
|
1512
|
-
}
|
|
1513
|
-
.embedding-stat-card .stat-label {
|
|
1514
|
-
font-size: 0.75rem;
|
|
1515
|
-
color: var(--text-secondary);
|
|
1516
|
-
text-transform: uppercase;
|
|
1517
|
-
letter-spacing: 0.5px;
|
|
1518
|
-
}
|
|
1519
|
-
.embedding-stat-card .stat-number {
|
|
1520
|
-
font-size: 1.5rem;
|
|
1521
|
-
font-weight: 600;
|
|
1522
|
-
color: var(--text);
|
|
1523
|
-
font-family: var(--font-mono);
|
|
1524
|
-
}
|
|
1525
|
-
.embedding-stat-card .stat-detail {
|
|
1526
|
-
font-size: 0.8rem;
|
|
1527
|
-
color: var(--text-muted);
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
/* ── Score Type Indicator ─────────────────────────────────────────────── */
|
|
1531
|
-
.score-type {
|
|
1532
|
-
font-size: 0.65rem;
|
|
1533
|
-
padding: 1px 4px;
|
|
1534
|
-
border-radius: 3px;
|
|
1535
|
-
margin-left: 4px;
|
|
1536
|
-
font-weight: 500;
|
|
1537
|
-
}
|
|
1538
|
-
.score-type.hybrid {
|
|
1539
|
-
background: var(--accent-dim);
|
|
1540
|
-
color: var(--accent);
|
|
1541
|
-
}
|
|
1542
|
-
.score-type.tfidf {
|
|
1543
|
-
background: rgba(128, 128, 128, 0.15);
|
|
1544
|
-
color: var(--text-secondary);
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
/* ── Maturity Badge ───────────────────────────────────────────────────── */
|
|
1548
|
-
.maturity-badge {
|
|
1549
|
-
display: inline-flex;
|
|
1550
|
-
align-items: center;
|
|
1551
|
-
gap: 2px;
|
|
1552
|
-
font-size: 10px;
|
|
1553
|
-
font-weight: 600;
|
|
1554
|
-
padding: 2px 8px;
|
|
1555
|
-
border-radius: 10px;
|
|
1556
|
-
text-transform: uppercase;
|
|
1557
|
-
letter-spacing: 0.3px;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
.maturity-badge[data-maturity='candidate'] {
|
|
1561
|
-
background: var(--bg-hover);
|
|
1562
|
-
color: var(--text-muted);
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
.maturity-badge[data-maturity='established'] {
|
|
1566
|
-
background: var(--blue-dim);
|
|
1567
|
-
color: var(--blue);
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
.maturity-badge[data-maturity='proven'] {
|
|
1571
|
-
background: var(--green-dim);
|
|
1572
|
-
color: var(--green);
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
.maturity-reads {
|
|
1576
|
-
font-weight: 500;
|
|
1577
|
-
font-size: 10px;
|
|
1578
|
-
opacity: 0.8;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
.card-header-row {
|
|
1582
|
-
display: flex;
|
|
1583
|
-
align-items: center;
|
|
1584
|
-
justify-content: space-between;
|
|
1585
|
-
gap: 6px;
|
|
1586
|
-
margin-bottom: 8px;
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
/* ── v1.8.1 Pin Badge (evergreen entries) ─────────────────────────────── */
|
|
1590
|
-
.pin-badge {
|
|
1591
|
-
display: inline-flex;
|
|
1592
|
-
align-items: center;
|
|
1593
|
-
justify-content: center;
|
|
1594
|
-
color: var(--accent);
|
|
1595
|
-
font-size: 16px;
|
|
1596
|
-
line-height: 1;
|
|
1597
|
-
cursor: help;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
.pin-badge .material-symbols-outlined {
|
|
1601
|
-
font-size: 16px;
|
|
1602
|
-
font-variation-settings:
|
|
1603
|
-
'FILL' 1,
|
|
1604
|
-
'wght' 500,
|
|
1605
|
-
'GRAD' 0,
|
|
1606
|
-
'opsz' 20;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
/* ── v1.8.1 Author Footer Tag ─────────────────────────────────────────── */
|
|
1610
|
-
.card-author {
|
|
1611
|
-
display: inline-flex;
|
|
1612
|
-
align-items: center;
|
|
1613
|
-
gap: 3px;
|
|
1614
|
-
font-size: 10px;
|
|
1615
|
-
font-family: var(--font-mono);
|
|
1616
|
-
font-weight: 500;
|
|
1617
|
-
color: var(--text-dim);
|
|
1618
|
-
background: var(--bg-hover);
|
|
1619
|
-
padding: 1px 6px;
|
|
1620
|
-
border-radius: 6px;
|
|
1621
|
-
margin-top: 4px;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
.card-author::before {
|
|
1625
|
-
content: 'by';
|
|
1626
|
-
font-family: var(--font-sans);
|
|
1627
|
-
color: var(--text-muted);
|
|
1628
|
-
opacity: 0.7;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
/* ── v1.8.1 Unused Filter Button ──────────────────────────────────────── */
|
|
1632
|
-
.unused-filter-btn {
|
|
1633
|
-
display: inline-flex;
|
|
1634
|
-
align-items: center;
|
|
1635
|
-
gap: 4px;
|
|
1636
|
-
padding: 5px 12px;
|
|
1637
|
-
font-size: 12px;
|
|
1638
|
-
font-weight: 500;
|
|
1639
|
-
color: var(--orange);
|
|
1640
|
-
background: var(--orange-dim);
|
|
1641
|
-
border: 1px solid transparent;
|
|
1642
|
-
border-radius: var(--radius-sm);
|
|
1643
|
-
cursor: pointer;
|
|
1644
|
-
transition: all var(--transition-fast);
|
|
1645
|
-
white-space: nowrap;
|
|
1646
|
-
margin-left: auto;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
.unused-filter-btn:hover {
|
|
1650
|
-
background: var(--orange-dim);
|
|
1651
|
-
border-color: var(--orange);
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
.unused-filter-btn.active {
|
|
1655
|
-
background: var(--orange);
|
|
1656
|
-
color: #ffffff;
|
|
1657
|
-
border-color: var(--orange);
|
|
1658
|
-
font-weight: 600;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
.unused-filter-btn .material-symbols-outlined {
|
|
1662
|
-
font-size: 14px;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.unused-filter-btn[hidden] {
|
|
1666
|
-
display: none;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
/* ── v1.8.1 By-Type Access Bar Chart ──────────────────────────────────── */
|
|
1670
|
-
.bytype-panel {
|
|
1671
|
-
background: var(--bg-surface);
|
|
1672
|
-
border: 1px solid var(--border-light);
|
|
1673
|
-
border-radius: var(--radius-lg);
|
|
1674
|
-
padding: 12px 16px;
|
|
1675
|
-
margin-bottom: 16px;
|
|
1676
|
-
box-shadow: var(--shadow-1);
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
.bytype-panel-header {
|
|
1680
|
-
display: flex;
|
|
1681
|
-
align-items: center;
|
|
1682
|
-
justify-content: space-between;
|
|
1683
|
-
margin-bottom: 10px;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
.bytype-title {
|
|
1687
|
-
font-size: 13px;
|
|
1688
|
-
font-weight: 600;
|
|
1689
|
-
text-transform: uppercase;
|
|
1690
|
-
letter-spacing: 0.5px;
|
|
1691
|
-
color: var(--text-muted);
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
.bytype-legend {
|
|
1695
|
-
display: inline-flex;
|
|
1696
|
-
align-items: center;
|
|
1697
|
-
gap: 12px;
|
|
1698
|
-
font-size: 11px;
|
|
1699
|
-
color: var(--text-dim);
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
.bytype-legend-item {
|
|
1703
|
-
display: inline-flex;
|
|
1704
|
-
align-items: center;
|
|
1705
|
-
gap: 4px;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
.bytype-legend-swatch {
|
|
1709
|
-
width: 10px;
|
|
1710
|
-
height: 10px;
|
|
1711
|
-
border-radius: 2px;
|
|
1712
|
-
flex-shrink: 0;
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
.bytype-legend-swatch.recent {
|
|
1716
|
-
background: var(--green);
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
.bytype-legend-swatch.unused {
|
|
1720
|
-
background: var(--orange);
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
.bytype-rows {
|
|
1724
|
-
display: grid;
|
|
1725
|
-
grid-template-columns: max-content 1fr max-content;
|
|
1726
|
-
column-gap: 12px;
|
|
1727
|
-
row-gap: 6px;
|
|
1728
|
-
align-items: center;
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
.bytype-row-label {
|
|
1732
|
-
display: inline-flex;
|
|
1733
|
-
align-items: center;
|
|
1734
|
-
gap: 4px;
|
|
1735
|
-
font-size: 11px;
|
|
1736
|
-
font-weight: 500;
|
|
1737
|
-
color: var(--text-secondary);
|
|
1738
|
-
text-transform: capitalize;
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
.bytype-row-label .material-symbols-outlined {
|
|
1742
|
-
font-size: 14px;
|
|
1743
|
-
color: var(--text-dim);
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
.bytype-bar {
|
|
1747
|
-
position: relative;
|
|
1748
|
-
display: flex;
|
|
1749
|
-
height: 10px;
|
|
1750
|
-
width: 100%;
|
|
1751
|
-
background: var(--bg-inset);
|
|
1752
|
-
border-radius: 5px;
|
|
1753
|
-
overflow: hidden;
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
.bytype-bar-recent {
|
|
1757
|
-
background: var(--green);
|
|
1758
|
-
height: 100%;
|
|
1759
|
-
transition: width var(--transition-normal);
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
.bytype-bar-unused {
|
|
1763
|
-
background: var(--orange);
|
|
1764
|
-
height: 100%;
|
|
1765
|
-
transition: width var(--transition-normal);
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
.bytype-bar-empty {
|
|
1769
|
-
background: var(--bg-hover);
|
|
1770
|
-
height: 100%;
|
|
1771
|
-
width: 100%;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
.bytype-row-count {
|
|
1775
|
-
font-family: var(--font-mono);
|
|
1776
|
-
font-size: 11px;
|
|
1777
|
-
font-weight: 500;
|
|
1778
|
-
color: var(--text-muted);
|
|
1779
|
-
white-space: nowrap;
|
|
1780
|
-
min-width: 48px;
|
|
1781
|
-
text-align: right;
|
|
1782
|
-
}
|
|
1783
|
-
|
|
1784
|
-
.bytype-row-count .count-recent {
|
|
1785
|
-
color: var(--green);
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
|
-
.bytype-row-count .count-unused {
|
|
1789
|
-
color: var(--orange);
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
|
-
.bytype-row-count .count-sep {
|
|
1793
|
-
color: var(--text-dim);
|
|
1794
|
-
opacity: 0.5;
|
|
1795
|
-
margin: 0 2px;
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
/* ── Related Entries ──────────────────────────────────────────────────── */
|
|
1799
|
-
.related-section {
|
|
1800
|
-
margin-top: 20px;
|
|
1801
|
-
border-top: 1px solid var(--border-light);
|
|
1802
|
-
padding-top: 16px;
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
.related-entries {
|
|
1806
|
-
display: flex;
|
|
1807
|
-
flex-direction: column;
|
|
1808
|
-
gap: 6px;
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
.related-entry {
|
|
1812
|
-
display: flex;
|
|
1813
|
-
align-items: center;
|
|
1814
|
-
gap: 8px;
|
|
1815
|
-
padding: 8px 12px;
|
|
1816
|
-
background: var(--bg-elevated);
|
|
1817
|
-
border: 1px solid transparent;
|
|
1818
|
-
border-radius: var(--radius-sm);
|
|
1819
|
-
cursor: pointer;
|
|
1820
|
-
transition:
|
|
1821
|
-
background var(--transition-fast),
|
|
1822
|
-
border-color var(--transition-fast);
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
.related-entry:hover {
|
|
1826
|
-
background: var(--bg-hover);
|
|
1827
|
-
border-color: var(--accent);
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
.related-entry:focus-visible {
|
|
1831
|
-
outline: 2px solid var(--accent);
|
|
1832
|
-
outline-offset: 1px;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
.rel-type-pill {
|
|
1836
|
-
display: inline-flex;
|
|
1837
|
-
align-items: center;
|
|
1838
|
-
font-size: 10px;
|
|
1839
|
-
font-weight: 600;
|
|
1840
|
-
padding: 2px 8px;
|
|
1841
|
-
border-radius: 10px;
|
|
1842
|
-
text-transform: uppercase;
|
|
1843
|
-
letter-spacing: 0.3px;
|
|
1844
|
-
white-space: nowrap;
|
|
1845
|
-
flex-shrink: 0;
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
.rel-type-pill[data-rel='related_to'] {
|
|
1849
|
-
background: var(--accent-dim);
|
|
1850
|
-
color: var(--accent);
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
.rel-type-pill[data-rel='depends_on'] {
|
|
1854
|
-
background: var(--orange-dim);
|
|
1855
|
-
color: var(--orange);
|
|
1856
|
-
}
|
|
1857
|
-
|
|
1858
|
-
.rel-type-pill[data-rel='supersedes'] {
|
|
1859
|
-
background: var(--red-dim);
|
|
1860
|
-
color: var(--red);
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
.rel-type-pill[data-rel='contradicts'] {
|
|
1864
|
-
background: var(--red-dim);
|
|
1865
|
-
color: var(--red);
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
.rel-type-pill[data-rel='specializes'] {
|
|
1869
|
-
background: var(--purple-dim);
|
|
1870
|
-
color: var(--purple);
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
.rel-type-pill[data-rel='part_of'] {
|
|
1874
|
-
background: var(--blue-dim);
|
|
1875
|
-
color: var(--blue);
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
.rel-type-pill[data-rel='alternative_to'] {
|
|
1879
|
-
background: var(--yellow-dim);
|
|
1880
|
-
color: var(--yellow);
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
.rel-type-pill[data-rel='builds_on'] {
|
|
1884
|
-
background: var(--green-dim);
|
|
1885
|
-
color: var(--green);
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
.related-entry-title {
|
|
1889
|
-
font-size: 13px;
|
|
1890
|
-
font-weight: 500;
|
|
1891
|
-
color: var(--text);
|
|
1892
|
-
flex: 1;
|
|
1893
|
-
overflow: hidden;
|
|
1894
|
-
text-overflow: ellipsis;
|
|
1895
|
-
white-space: nowrap;
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
.related-entry-strength {
|
|
1899
|
-
font-size: 10px;
|
|
1900
|
-
font-weight: 600;
|
|
1901
|
-
font-family: var(--font-mono);
|
|
1902
|
-
color: var(--text-dim);
|
|
1903
|
-
flex-shrink: 0;
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
/* ── Score Breakdown ──────────────────────────────────────────────────── */
|
|
1907
|
-
.score-breakdown {
|
|
1908
|
-
font-size: 11px;
|
|
1909
|
-
font-family: var(--font-mono);
|
|
1910
|
-
color: var(--text-dim);
|
|
1911
|
-
margin-top: 4px;
|
|
1912
|
-
padding: 2px 0;
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
.result-entry-title {
|
|
1916
|
-
font-size: 13px;
|
|
1917
|
-
font-weight: 600;
|
|
1918
|
-
color: var(--text);
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
/* ── Knowledge Search Bar ─────────────────────────────────────────────── */
|
|
1922
|
-
.knowledge-search-bar {
|
|
1923
|
-
margin-bottom: 16px;
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
/* ── Responsive ────────────────────────────────────────────────────────── */
|
|
1927
|
-
@media (max-width: 1024px) {
|
|
1928
|
-
.side-panel.open {
|
|
1929
|
-
position: fixed;
|
|
1930
|
-
right: 0;
|
|
1931
|
-
top: 0;
|
|
1932
|
-
bottom: 0;
|
|
1933
|
-
z-index: 50;
|
|
1934
|
-
}
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
@media (max-width: 768px) {
|
|
1938
|
-
#content {
|
|
1939
|
-
padding: 12px 16px;
|
|
1940
|
-
}
|
|
1941
|
-
.card-grid {
|
|
1942
|
-
grid-template-columns: 1fr;
|
|
1943
|
-
}
|
|
1944
|
-
.tab {
|
|
1945
|
-
padding: 8px 12px;
|
|
1946
|
-
font-size: 12px;
|
|
1947
|
-
}
|
|
1948
|
-
.tab-icon {
|
|
1949
|
-
font-size: 18px;
|
|
1950
|
-
}
|
|
1951
|
-
.side-panel.open {
|
|
1952
|
-
width: 100vw;
|
|
1953
|
-
min-width: 100vw;
|
|
1954
|
-
}
|
|
1955
|
-
.search-controls {
|
|
1956
|
-
flex-direction: column;
|
|
1957
|
-
align-items: stretch;
|
|
1958
|
-
}
|
|
1959
|
-
header {
|
|
1960
|
-
padding: 6px 12px;
|
|
1961
|
-
}
|
|
1962
|
-
.stats {
|
|
1963
|
-
display: none;
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
|
|
1967
|
-
@media (max-width: 480px) {
|
|
1968
|
-
.tab {
|
|
1969
|
-
padding: 8px 10px;
|
|
1970
|
-
gap: 4px;
|
|
1971
|
-
}
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
/* ── Reduced Motion ────────────────────────────────────────────────────── */
|
|
1975
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1976
|
-
*,
|
|
1977
|
-
*::before,
|
|
1978
|
-
*::after {
|
|
1979
|
-
animation-duration: 0.01ms !important;
|
|
1980
|
-
transition-duration: 0.01ms !important;
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
/* ── Focus Visible ─────────────────────────────────────────────────────── */
|
|
1985
|
-
:focus-visible {
|
|
1986
|
-
outline: 2px solid var(--accent);
|
|
1987
|
-
outline-offset: 1px;
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
/* ── Selection ─────────────────────────────────────────────────────────── */
|
|
1991
|
-
::selection {
|
|
1992
|
-
background: var(--accent-dim);
|
|
1993
|
-
color: var(--text);
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
/* ── Header Action Buttons ────────────────────────────────────────────── */
|
|
1997
|
-
.header-action-btn {
|
|
1998
|
-
display: inline-flex;
|
|
1999
|
-
align-items: center;
|
|
2000
|
-
gap: 4px;
|
|
2001
|
-
padding: 5px 12px;
|
|
2002
|
-
font-size: 12px;
|
|
2003
|
-
font-family: var(--font-sans);
|
|
2004
|
-
font-weight: 500;
|
|
2005
|
-
color: var(--text-secondary);
|
|
2006
|
-
background: var(--bg-elevated);
|
|
2007
|
-
border: 1px solid var(--border-light);
|
|
2008
|
-
border-radius: var(--radius-sm);
|
|
2009
|
-
cursor: pointer;
|
|
2010
|
-
transition:
|
|
2011
|
-
background var(--transition),
|
|
2012
|
-
color var(--transition),
|
|
2013
|
-
border-color var(--transition);
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
.header-action-btn:hover {
|
|
2017
|
-
background: var(--bg-hover);
|
|
2018
|
-
color: var(--accent);
|
|
2019
|
-
border-color: var(--accent-dim);
|
|
2020
|
-
}
|
|
2021
|
-
|
|
2022
|
-
.header-action-btn .material-symbols-outlined {
|
|
2023
|
-
font-size: 16px;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
/* ── Duplicate Warning ────────────────────────────────────────────────── */
|
|
2027
|
-
.knowledge-card.has-duplicates {
|
|
2028
|
-
border-color: var(--warning);
|
|
2029
|
-
box-shadow: 0 0 0 1px var(--warning-dim);
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
.duplicate-warn {
|
|
2033
|
-
cursor: help;
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
|
-
/* ── Graph Tab ──────────────────────────────────────────────────────────── */
|
|
2037
|
-
|
|
2038
|
-
.header-action-btn.active {
|
|
2039
|
-
background: var(--accent);
|
|
2040
|
-
color: #fff;
|
|
2041
|
-
border-color: var(--accent);
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
.header-action-btn.active .material-symbols-outlined {
|
|
2045
|
-
color: #fff;
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
.graph-stats {
|
|
2049
|
-
font-size: 0.78rem;
|
|
2050
|
-
color: var(--text-dim);
|
|
2051
|
-
padding: 4px 0;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
.graph-legend {
|
|
2055
|
-
display: flex;
|
|
2056
|
-
flex-wrap: wrap;
|
|
2057
|
-
gap: 12px;
|
|
2058
|
-
padding: 4px 0 8px 0;
|
|
2059
|
-
font-size: 0.78rem;
|
|
2060
|
-
color: var(--text-dim);
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
.legend-item {
|
|
2064
|
-
display: inline-flex;
|
|
2065
|
-
align-items: center;
|
|
2066
|
-
gap: 5px;
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
.legend-dot {
|
|
2070
|
-
display: inline-block;
|
|
2071
|
-
width: 10px;
|
|
2072
|
-
height: 10px;
|
|
2073
|
-
border-radius: 50%;
|
|
2074
|
-
flex-shrink: 0;
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
.legend-line {
|
|
2078
|
-
display: inline-block;
|
|
2079
|
-
width: 16px;
|
|
2080
|
-
height: 3px;
|
|
2081
|
-
border-radius: 2px;
|
|
2082
|
-
flex-shrink: 0;
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
.legend-count {
|
|
2086
|
-
opacity: 0.6;
|
|
2087
|
-
font-size: 0.72rem;
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
.legend-separator {
|
|
2091
|
-
display: inline-block;
|
|
2092
|
-
width: 1px;
|
|
2093
|
-
height: 14px;
|
|
2094
|
-
background: var(--border);
|
|
2095
|
-
margin: 0 4px;
|
|
2096
|
-
align-self: center;
|
|
2097
|
-
}
|
|
2098
|
-
|
|
2099
|
-
#graph-container {
|
|
2100
|
-
width: 100%;
|
|
2101
|
-
height: calc(100vh - 320px);
|
|
2102
|
-
min-height: 300px;
|
|
2103
|
-
border-radius: 8px;
|
|
2104
|
-
border: 1px solid var(--border);
|
|
2105
|
-
background: var(--bg);
|
|
2106
|
-
}
|
|
2107
|
-
|
|
2108
|
-
/* --------------------------------------------------------------------------
|
|
2109
|
-
Mobile Responsive (768px)
|
|
2110
|
-
-------------------------------------------------------------------------- */
|
|
2111
|
-
|
|
2112
|
-
@media (max-width: 768px) {
|
|
2113
|
-
header {
|
|
2114
|
-
flex-wrap: wrap;
|
|
2115
|
-
padding: 8px 12px;
|
|
2116
|
-
gap: 6px;
|
|
2117
|
-
}
|
|
2118
|
-
.header-left {
|
|
2119
|
-
width: 100%;
|
|
2120
|
-
justify-content: space-between;
|
|
2121
|
-
}
|
|
2122
|
-
.header-left h1 {
|
|
2123
|
-
font-size: 14px;
|
|
2124
|
-
}
|
|
2125
|
-
.header-right {
|
|
2126
|
-
width: 100%;
|
|
2127
|
-
justify-content: flex-end;
|
|
2128
|
-
flex-wrap: wrap;
|
|
2129
|
-
gap: 4px;
|
|
2130
|
-
}
|
|
2131
|
-
.stats {
|
|
2132
|
-
gap: 4px;
|
|
2133
|
-
}
|
|
2134
|
-
.stat-badge {
|
|
2135
|
-
padding: 2px 6px;
|
|
2136
|
-
font-size: 11px;
|
|
2137
|
-
}
|
|
2138
|
-
.tab-bar {
|
|
2139
|
-
overflow-x: auto;
|
|
2140
|
-
-webkit-overflow-scrolling: touch;
|
|
2141
|
-
white-space: nowrap;
|
|
2142
|
-
scrollbar-width: none;
|
|
2143
|
-
gap: 0;
|
|
2144
|
-
padding: 0 8px;
|
|
2145
|
-
position: relative;
|
|
2146
|
-
mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
|
|
2147
|
-
-webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
|
|
2148
|
-
}
|
|
2149
|
-
.tab-bar::-webkit-scrollbar {
|
|
2150
|
-
display: none;
|
|
2151
|
-
}
|
|
2152
|
-
.tab {
|
|
2153
|
-
flex-shrink: 0;
|
|
2154
|
-
padding: 8px 12px;
|
|
2155
|
-
font-size: 12px;
|
|
2156
|
-
}
|
|
2157
|
-
.view-header {
|
|
2158
|
-
flex-direction: column;
|
|
2159
|
-
align-items: flex-start;
|
|
2160
|
-
gap: 8px;
|
|
2161
|
-
}
|
|
2162
|
-
.view-actions {
|
|
2163
|
-
flex-wrap: wrap;
|
|
2164
|
-
gap: 4px;
|
|
2165
|
-
width: 100%;
|
|
2166
|
-
}
|
|
2167
|
-
.header-action-btn {
|
|
2168
|
-
font-size: 11px;
|
|
2169
|
-
padding: 4px 8px;
|
|
2170
|
-
}
|
|
2171
|
-
.filter-chips {
|
|
2172
|
-
flex-wrap: wrap;
|
|
2173
|
-
gap: 4px;
|
|
2174
|
-
}
|
|
2175
|
-
.chip {
|
|
2176
|
-
font-size: 11px;
|
|
2177
|
-
padding: 4px 8px;
|
|
2178
|
-
}
|
|
2179
|
-
.search-controls {
|
|
2180
|
-
gap: 8px;
|
|
2181
|
-
}
|
|
2182
|
-
.mode-toggle {
|
|
2183
|
-
flex-wrap: wrap;
|
|
2184
|
-
gap: 4px;
|
|
2185
|
-
}
|
|
2186
|
-
.card-grid {
|
|
2187
|
-
grid-template-columns: 1fr;
|
|
2188
|
-
}
|
|
2189
|
-
.content-wrapper.panel-open #side-panel {
|
|
2190
|
-
position: fixed;
|
|
2191
|
-
inset: 0;
|
|
2192
|
-
width: 100%;
|
|
2193
|
-
z-index: 200;
|
|
2194
|
-
border-left: none;
|
|
2195
|
-
box-shadow: none;
|
|
2196
|
-
}
|
|
2197
|
-
.content-wrapper.panel-open #content {
|
|
2198
|
-
display: none;
|
|
2199
|
-
}
|
|
2200
|
-
.panel-body {
|
|
2201
|
-
padding: 12px;
|
|
2202
|
-
}
|
|
2203
|
-
#graph-container {
|
|
2204
|
-
height: calc(100vh - 380px);
|
|
2205
|
-
min-height: 250px;
|
|
2206
|
-
}
|
|
2207
|
-
.graph-legend {
|
|
2208
|
-
flex-wrap: wrap;
|
|
2209
|
-
gap: 4px;
|
|
2210
|
-
font-size: 11px;
|
|
2211
|
-
}
|
|
2212
|
-
.embedding-stats-grid {
|
|
2213
|
-
grid-template-columns: 1fr;
|
|
2214
|
-
}
|
|
2215
|
-
.sessions-list .session-card {
|
|
2216
|
-
padding: 10px 12px;
|
|
2217
|
-
}
|
|
2218
|
-
.session-card .session-meta {
|
|
2219
|
-
flex-wrap: wrap;
|
|
2220
|
-
gap: 6px;
|
|
2221
|
-
}
|
|
2222
|
-
.session-card .session-meta-item {
|
|
2223
|
-
white-space: nowrap;
|
|
2224
|
-
}
|
|
2225
|
-
.session-card .session-header {
|
|
2226
|
-
flex-wrap: wrap;
|
|
2227
|
-
gap: 4px;
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
/* -- Icon buttons: touch-friendly -- */
|
|
2231
|
-
.icon-btn {
|
|
2232
|
-
min-width: 36px;
|
|
2233
|
-
min-height: 36px;
|
|
2234
|
-
display: inline-flex;
|
|
2235
|
-
align-items: center;
|
|
2236
|
-
justify-content: center;
|
|
2237
|
-
}
|
|
2238
|
-
.search-bar {
|
|
2239
|
-
max-width: 100%;
|
|
2240
|
-
}
|
|
2241
|
-
.search-input {
|
|
2242
|
-
max-width: 100%;
|
|
2243
|
-
}
|
|
2244
|
-
.view {
|
|
2245
|
-
padding: 12px 8px;
|
|
2246
|
-
}
|
|
2247
|
-
.empty-state {
|
|
2248
|
-
padding: 32px 16px;
|
|
2249
|
-
}
|
|
2250
|
-
.results-list {
|
|
2251
|
-
gap: 6px;
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
@media (max-width: 480px) {
|
|
2256
|
-
.header-action-btn span:not(.material-symbols-outlined) {
|
|
2257
|
-
display: none;
|
|
2258
|
-
}
|
|
2259
|
-
.stats {
|
|
2260
|
-
display: none;
|
|
2261
|
-
}
|
|
2262
|
-
.tab {
|
|
2263
|
-
padding: 6px 10px;
|
|
2264
|
-
font-size: 11px;
|
|
2265
|
-
}
|
|
2266
|
-
.view-header h2 {
|
|
2267
|
-
font-size: 16px;
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
2270
|
-
|
|
2271
|
-
/* Toast notifications — fed by POST /api/events → WS state.events */
|
|
2272
|
-
|
|
2273
|
-
#toast-container {
|
|
2274
|
-
position: fixed;
|
|
2275
|
-
top: 16px;
|
|
2276
|
-
right: 16px;
|
|
2277
|
-
z-index: 10000;
|
|
2278
|
-
display: flex;
|
|
2279
|
-
flex-direction: column;
|
|
2280
|
-
gap: 8px;
|
|
2281
|
-
pointer-events: none;
|
|
2282
|
-
max-width: 380px;
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
.toast {
|
|
2286
|
-
pointer-events: auto;
|
|
2287
|
-
background: var(--bg-elevated);
|
|
2288
|
-
border: 1px solid var(--border);
|
|
2289
|
-
border-left: 3px solid var(--accent);
|
|
2290
|
-
box-shadow: var(--shadow-2);
|
|
2291
|
-
border-radius: 6px;
|
|
2292
|
-
padding: 10px 12px;
|
|
2293
|
-
cursor: pointer;
|
|
2294
|
-
opacity: 0;
|
|
2295
|
-
transform: translateX(24px);
|
|
2296
|
-
transition:
|
|
2297
|
-
opacity 0.2s ease,
|
|
2298
|
-
transform 0.2s ease;
|
|
2299
|
-
font-size: 12px;
|
|
2300
|
-
line-height: 1.4;
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
.toast--visible {
|
|
2304
|
-
opacity: 1;
|
|
2305
|
-
transform: translateX(0);
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
.toast__kind {
|
|
2309
|
-
color: var(--accent);
|
|
2310
|
-
font-weight: 600;
|
|
2311
|
-
font-size: 10px;
|
|
2312
|
-
text-transform: uppercase;
|
|
2313
|
-
letter-spacing: 0.04em;
|
|
2314
|
-
margin-bottom: 2px;
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
.toast__message {
|
|
2318
|
-
color: var(--fg, inherit);
|
|
2319
|
-
word-break: break-word;
|
|
2320
|
-
font-family: 'JetBrains Mono', ui-monospace, monospace;
|
|
2321
|
-
font-size: 11px;
|
|
2322
|
-
}
|