File size: 6,259 Bytes
6c9f944
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/* ---------------------------------------------------------------------------
   ai-agent/aiAgent.css β€” the AI agent module's own stylesheet
   (WAVE 33, owner item 7, ruling R3).

   Shipped BESIDE its component, following `query/query.css` and the
   `FormInterface.css` / `SwipeView.css` precedent, rather than added to
   `index.css` β€” which is B's file this wave (contract C4). Vite carries the
   import; the node shim in `verify_ui` already stubs a CSS require for exactly
   this shape.

   Deliberately shaped like the Query page it sits beside: same page padding,
   same card surfaces, same title scale. The two are the same kind of thing β€”
   describe something in words, read what came back before it is committed β€” and
   a person should not have to learn two layouts to do it.

   β›” EVERY FONT SIZE IS A `--lp-fs-*` TOKEN AND EVERY COLOUR A `--lp-*` TOKEN.
   Wave-21 R5 is gated over every stylesheet under src, not just index.css, and
   one literal here reds `web_ui` for the whole tree.

   β›” NO EMOJIS AND NO ALL-CAPS CHROME (DESIGN.md R6).

   β›”β›” AND NOTHING IN THIS COMMENT MAY CONTAIN THE TWO CHARACTERS THAT CLOSE IT.
   A path glob written out in a sibling stylesheet's header spelled the
   terminator, the comment ended mid-sentence, and `lightningcss` then died on
   the first backtick after it. `tsc` passed and vite transformed every module;
   the failure surfaced in the MINIFIER, nowhere near its cause.
--------------------------------------------------------------------------- */

.aiagent {
  height: 100%;
  overflow-y: auto;
  padding: 34px 44px 56px;
  box-sizing: border-box;
  background: var(--lp-wash);
}

.aiagent-h {
  margin: 0 0 6px;
  font-size: var(--lp-fs-lg);
  font-weight: 650;
  color: var(--lp-ink);
}

.aiagent-sub {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: var(--lp-fs-sm);
  line-height: var(--lp-lh);
  color: var(--lp-muted);
}

.aiagent-box {
  display: block;
  width: 100%;
  max-width: 74ch;
  padding: 12px 14px;
  box-sizing: border-box;
  font: inherit;
  font-size: var(--lp-fs-sm);
  line-height: var(--lp-lh);
  color: var(--lp-ink);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  resize: vertical;
}

.aiagent-box:focus {
  outline: none;
  border-color: var(--lp-blue-solid);
}

.aiagent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  flex-wrap: wrap;
}

.aiagent-go {
  padding: 8px 16px;
  font: inherit;
  font-size: var(--lp-fs-sm);
  font-weight: 600;
  color: var(--lp-surface);
  background: var(--lp-blue-solid);
  border: 1px solid var(--lp-blue-solid);
  border-radius: var(--lp-r-md);
  cursor: pointer;
}

.aiagent-go:disabled {
  opacity: 0.5;
  cursor: default;
}

.aiagent-again {
  padding: 8px 16px;
  font: inherit;
  font-size: var(--lp-fs-sm);
  color: var(--lp-ink);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  cursor: pointer;
}

.aiagent-again:disabled {
  opacity: 0.5;
  cursor: default;
}

.aiagent-note {
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}

.aiagent-eg {
  margin: 26px 0 0;
  max-width: 74ch;
}

.aiagent-eg-h {
  margin: 0 0 8px;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}

.aiagent-eg-row {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 14px;
  text-align: left;
  font: inherit;
  font-size: var(--lp-fs-sm);
  color: var(--lp-ink);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  cursor: pointer;
}

.aiagent-eg-row:disabled {
  opacity: 0.5;
  cursor: default;
}

.aiagent-problem {
  margin: 18px 0 0;
  max-width: 74ch;
  padding: 10px 14px;
  font-size: var(--lp-fs-sm);
  line-height: var(--lp-lh);
  color: var(--lp-red-deep);
  background: var(--lp-surface);
  border: 1px solid var(--lp-red-deep);
  border-radius: var(--lp-r-md);
}

.aiagent-draft {
  margin: 26px 0 0;
  max-width: 74ch;
  padding: 18px 20px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
}

.aiagent-draft-h {
  margin: 0 0 4px;
  font-size: var(--lp-fs-md);
  font-weight: 650;
  color: var(--lp-ink);
}

.aiagent-draft-sub {
  margin: 0 0 16px;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}

.aiagent-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aiagent-step {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line);
}

.aiagent-step-n {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--lp-fs-2xs);
  font-weight: 600;
  color: var(--lp-muted);
  background: var(--lp-surface-2);
  border-radius: 999px;
}

.aiagent-step-body {
  min-width: 0;
}

.aiagent-step-kind {
  margin: 0;
  font-size: var(--lp-fs-sm);
  font-weight: 600;
  color: var(--lp-ink);
}

.aiagent-step-why {
  margin: 2px 0 6px;
  font-size: var(--lp-fs-2xs);
  line-height: var(--lp-lh);
  color: var(--lp-muted);
}

.aiagent-step-cfg {
  margin: 0;
  font-size: var(--lp-fs-2xs);
  line-height: var(--lp-lh);
  color: var(--lp-ink);
  overflow-wrap: anywhere;
}

.aiagent-step-key {
  display: inline-block;
  min-width: 84px;
  color: var(--lp-muted);
}

.aiagent-dropped {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: var(--lp-surface-2);
  border-left: 3px solid var(--lp-yellow-deep);
  border-radius: var(--lp-r-md);
}

.aiagent-dropped-h {
  margin: 0 0 4px;
  font-size: var(--lp-fs-2xs);
  font-weight: 600;
  color: var(--lp-ink);
}

.aiagent-dropped-row {
  margin: 0;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}

.aiagent-saved {
  margin: 16px 0 0;
  font-size: var(--lp-fs-sm);
  line-height: var(--lp-lh);
  color: var(--lp-ink);
}

/* The per-step disclosures: a required setting the assistant left blank (it was told to leave one
   blank rather than invent it), and a column the target database does not have. Toned like a
   warning rather than an error, because neither stops the draft being accepted and fixed. */
.aiagent-step-needs {
  margin: 4px 0 0;
  font-size: var(--lp-fs-2xs);
  line-height: var(--lp-lh);
  color: var(--lp-yellow-deep);
}