@my-life-buddies/cli 0.27.1-dev.2 → 0.28.0-dev.1

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/dist/web/app.css DELETED
@@ -1,758 +0,0 @@
1
- @layer reset, base, shell, debugger, simulator, overlays, responsive;
2
-
3
- @layer reset {
4
- *, *::before, *::after { box-sizing: border-box; }
5
- html, body { min-height: 100%; margin: 0; overflow-x: clip; }
6
- button, input, textarea, select { font: inherit; }
7
- button, select, textarea { border: 0; }
8
- button { color: inherit; cursor: pointer; }
9
- button:disabled { cursor: not-allowed; }
10
- [hidden] { display: none !important; }
11
- }
12
-
13
- @layer base {
14
- :root {
15
- background: var(--color-paper);
16
- color: var(--color-ink);
17
- font-family: var(--font-body);
18
- }
19
-
20
- body {
21
- min-width: 20rem;
22
- min-height: 100dvh;
23
- background: var(--color-paper);
24
- color: var(--color-ink);
25
- -webkit-font-smoothing: antialiased;
26
- text-rendering: optimizeLegibility;
27
- }
28
-
29
- h1, h2, h3, h4, p { min-width: 0; text-wrap: pretty; }
30
- h1, h2, h3, h4 { font-family: var(--font-display); }
31
- svg { display: block; }
32
- :focus { outline: none; }
33
- :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
34
-
35
- .sr-only {
36
- position: absolute;
37
- width: 1px;
38
- height: 1px;
39
- padding: 0;
40
- margin: -1px;
41
- overflow: hidden;
42
- clip: rect(0, 0, 0, 0);
43
- white-space: nowrap;
44
- border: 0;
45
- }
46
-
47
- .skip-link {
48
- position: fixed;
49
- inset: 0.5rem auto auto 0.5rem;
50
- z-index: var(--z-toast);
51
- transform: translateY(-160%);
52
- min-height: var(--control-height);
53
- display: flex;
54
- align-items: center;
55
- padding-inline: var(--space-md);
56
- border-radius: var(--radius-sm);
57
- background: var(--color-ink-strong);
58
- color: var(--color-paper-raised);
59
- text-decoration: none;
60
- }
61
-
62
- .skip-link:focus { transform: none; }
63
- }
64
-
65
- @layer shell {
66
- .app-shell { min-height: 100dvh; }
67
-
68
- .sidebar {
69
- position: fixed;
70
- inset: 0 auto 0 0;
71
- z-index: var(--z-sticky);
72
- width: 14.25rem;
73
- display: flex;
74
- flex-direction: column;
75
- padding: var(--space-md);
76
- border-inline-end: var(--rule-hair) solid var(--color-rule);
77
- background: var(--color-paper-raised);
78
- }
79
-
80
- .brand {
81
- min-height: 3.5rem;
82
- display: flex;
83
- align-items: center;
84
- gap: var(--space-sm);
85
- padding-inline: var(--space-xs);
86
- color: var(--color-ink-strong);
87
- }
88
-
89
- .brand-mark {
90
- width: 2.25rem;
91
- height: 2.25rem;
92
- display: block;
93
- flex: none;
94
- object-fit: contain;
95
- }
96
-
97
- .brand-name { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.02em; }
98
- .sidebar-section { margin-block-start: var(--space-xl); }
99
-
100
- .sidebar-label,
101
- .eyebrow {
102
- margin: 0;
103
- color: var(--color-muted);
104
- font-size: 0.6875rem;
105
- font-weight: 600;
106
- letter-spacing: 0.04em;
107
- }
108
-
109
- .sidebar-label { padding-inline: var(--space-sm); }
110
-
111
- .debug-tabs {
112
- display: grid;
113
- gap: var(--space-2xs);
114
- margin-block-start: var(--space-sm);
115
- }
116
-
117
- .debug-tabs button {
118
- min-height: 2.875rem;
119
- display: flex;
120
- align-items: center;
121
- gap: var(--space-sm);
122
- padding-inline: var(--space-sm);
123
- border-radius: var(--radius-sm);
124
- background: transparent;
125
- color: var(--color-ink-soft);
126
- font-size: var(--text-sm);
127
- font-weight: 500;
128
- text-align: start;
129
- transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
130
- }
131
-
132
- .debug-tabs button svg,
133
- .simulator-device svg {
134
- width: 1.125rem;
135
- height: 1.125rem;
136
- flex: none;
137
- fill: none;
138
- stroke: currentColor;
139
- stroke-width: 1.7;
140
- stroke-linecap: round;
141
- stroke-linejoin: round;
142
- }
143
-
144
- .debug-tabs button[aria-selected="true"] {
145
- background: var(--color-accent-soft);
146
- color: var(--color-accent);
147
- }
148
-
149
- .simulator-device {
150
- min-height: 2.875rem;
151
- display: flex;
152
- align-items: center;
153
- gap: var(--space-sm);
154
- padding-inline: var(--space-sm);
155
- border: var(--rule-hair) solid var(--color-rule);
156
- border-radius: var(--radius-sm);
157
- background: var(--color-paper-raised);
158
- color: var(--color-ink-soft);
159
- font-size: var(--text-sm);
160
- font-weight: 500;
161
- }
162
-
163
- .application { min-height: 100dvh; margin-inline-start: 14.25rem; }
164
-
165
- .topbar {
166
- position: sticky;
167
- inset-block-start: 0;
168
- z-index: var(--z-raised);
169
- min-height: 4.5rem;
170
- display: flex;
171
- align-items: center;
172
- justify-content: space-between;
173
- gap: var(--space-lg);
174
- padding: var(--space-sm) var(--page-gutter);
175
- border-block-end: var(--rule-hair) solid var(--color-rule);
176
- background: var(--color-paper-raised);
177
- }
178
-
179
- .project-heading { min-width: 0; display: flex; align-items: baseline; }
180
- .project-heading h1 {
181
- margin: 0;
182
- overflow: hidden;
183
- color: var(--color-ink-strong);
184
- font-size: var(--text-sm);
185
- font-weight: 600;
186
- text-overflow: ellipsis;
187
- white-space: nowrap;
188
- }
189
-
190
- .topbar-actions { display: flex; align-items: center; gap: var(--space-xs); }
191
- .connection-state {
192
- min-height: 2.5rem;
193
- display: inline-flex;
194
- align-items: center;
195
- gap: var(--space-xs);
196
- padding-inline: var(--space-sm);
197
- color: var(--color-ink-soft);
198
- font-size: var(--text-xs);
199
- white-space: nowrap;
200
- }
201
-
202
- .connection-dot { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--color-muted); }
203
- .connection-state[data-phase="ready"] .connection-dot { background: var(--color-success); }
204
- .connection-state[data-phase="starting"] .connection-dot,
205
- .connection-state[data-phase="stopping"] .connection-dot { background: var(--color-warning); }
206
- .connection-state[data-phase="failed"] .connection-dot { background: var(--color-error); }
207
-
208
- .button {
209
- min-height: var(--control-height);
210
- display: inline-flex;
211
- align-items: center;
212
- justify-content: center;
213
- padding-inline: var(--space-lg);
214
- border: var(--rule-hair) solid transparent;
215
- border-radius: var(--radius-sm);
216
- font-size: var(--text-sm);
217
- font-weight: 500;
218
- transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), opacity var(--dur-short) var(--ease-out);
219
- }
220
-
221
- .button-primary { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
222
- .button-primary[data-action="stop"] { border-color: var(--color-error); background: var(--color-error-soft); color: var(--color-error); }
223
- .button:disabled { opacity: 0.5; }
224
- .button[data-state="loading"] { opacity: 0.68; }
225
- .button[data-state="error"] { border-color: var(--color-error); }
226
- .button[data-state="success"] { border-color: var(--color-success); }
227
-
228
- .workspace {
229
- min-height: calc(100dvh - 4.5rem);
230
- display: grid;
231
- grid-template-columns: minmax(0, 1fr) minmax(26rem, 32rem);
232
- background: var(--color-paper);
233
- }
234
- }
235
-
236
- @layer debugger {
237
- .debugger { min-width: 0; min-height: 0; background: var(--color-paper); }
238
-
239
- .run-strip {
240
- padding: var(--space-xl) var(--page-gutter) 0;
241
- border-block-end: var(--rule-hair) solid var(--color-rule);
242
- }
243
-
244
- .run-heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: var(--space-lg); }
245
- .run-identity { min-width: 0; flex: 1 1 10rem; }
246
- .run-title-line { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-block-start: var(--space-xs); }
247
- .run-title-line h2 {
248
- margin: 0;
249
- overflow: hidden;
250
- color: var(--color-ink-strong);
251
- font-size: clamp(1.375rem, 1.8vw, 2rem);
252
- font-weight: 600;
253
- letter-spacing: -0.035em;
254
- text-overflow: ellipsis;
255
- white-space: nowrap;
256
- }
257
-
258
- .status-pill {
259
- flex: none;
260
- padding: 0.3125rem var(--space-sm);
261
- border-radius: var(--radius-pill);
262
- background: var(--color-paper-soft);
263
- color: var(--color-ink-soft);
264
- font-size: 0.6875rem;
265
- font-weight: 500;
266
- }
267
-
268
- .status-pill[data-status="running"],
269
- .status-pill[data-status="pending"],
270
- .status-pill[data-status="accepted"] { background: var(--color-warning-soft); color: var(--color-warning); }
271
- .status-pill[data-status="completed"] { background: var(--color-success-soft); color: var(--color-success); }
272
- .status-pill[data-status="failed"] { background: var(--color-error-soft); color: var(--color-error); }
273
-
274
- .run-reference { display: flex; align-items: center; gap: var(--space-xs); margin-block-start: var(--space-xs); color: var(--color-ink-soft); font-size: var(--text-xs); }
275
- #run-id { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
276
- #copy-run-id { flex: none; min-height: 2.75rem; font-size: var(--text-xs); }
277
- .run-controls { display: grid; gap: var(--space-xs); flex: 0 1 21rem; min-width: 0; }
278
- .run-picker-label { color: var(--color-ink-soft); font-size: var(--text-xs); }
279
- .run-navigation { display: flex; align-items: stretch; gap: var(--space-xs); }
280
- .run-step { flex: none; width: 2.75rem; min-height: 2.75rem; background: transparent; border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-sm); }
281
- .run-step:enabled:hover { background: var(--color-paper-soft); border-color: var(--color-ink); }
282
- .run-step:enabled:active { background: var(--color-rule); }
283
- .run-step:disabled { color: var(--color-muted); border-color: var(--color-rule); }
284
- .run-follow { justify-self: end; display: flex; align-items: center; gap: var(--space-xs); min-height: 2.75rem; color: var(--color-ink-soft); font-size: var(--text-xs); cursor: pointer; }
285
- .run-follow input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--color-ink); }
286
- .run-picker {
287
- flex: 1;
288
- width: 100%;
289
- min-width: 0;
290
- min-height: max(2.75rem, var(--control-height));
291
- padding: var(--space-sm) 2rem var(--space-sm) var(--space-sm);
292
- border: var(--rule-hair) solid var(--color-rule-strong);
293
- border-radius: var(--radius-sm);
294
- background: var(--color-paper-raised);
295
- color: var(--color-ink);
296
- font-size: var(--text-xs);
297
- }
298
-
299
- .run-picker:disabled { color: var(--color-muted); }
300
- .run-picker:enabled:hover { border-color: var(--color-ink); }
301
- .run-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-xl) 0 0; }
302
- .run-metrics div { min-width: 0; padding: var(--space-md) 0 var(--space-lg); border-block-start: var(--rule-hair) solid var(--color-rule); }
303
- .run-metrics dt { margin-block-end: var(--space-xs); color: var(--color-muted); font-size: var(--text-xs); }
304
- .run-metrics dd { margin: 0; overflow: hidden; color: var(--color-ink-strong); font-family: var(--font-mono); font-size: var(--text-sm); text-overflow: ellipsis; white-space: nowrap; }
305
-
306
- .debug-panels { min-width: 0; }
307
- .debug-panel { min-height: 31rem; padding: var(--space-xl) var(--page-gutter) var(--space-3xl); }
308
- .section-heading { display: flex; align-items: start; justify-content: space-between; gap: var(--space-xl); padding-block-end: var(--space-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
309
- .section-heading h3, .environment-note h3 { margin: 0; color: var(--color-ink-strong); font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.025em; }
310
- .section-heading p { max-width: 40rem; margin: var(--space-xs) 0 0; color: var(--color-ink-soft); font-size: var(--text-sm); line-height: 1.6; }
311
- .source-label { color: var(--color-muted); font-size: var(--text-xs); white-space: nowrap; }
312
- .panel-intro { max-width: 44rem; margin: var(--space-lg) 0; color: var(--color-ink-soft); font-size: var(--text-sm); line-height: 1.65; }
313
-
314
- .overview-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(13rem, 0.55fr); gap: var(--space-2xl); }
315
- .run-summary { min-width: 0; }
316
- .environment-note { padding-inline-start: var(--space-xl); border-inline-start: var(--rule-hair) solid var(--color-rule); }
317
- .environment-note h3 { margin-block: var(--space-xs) var(--space-lg); font-size: var(--text-lg); }
318
- .environment-note dl { margin: 0; }
319
- .environment-note dl div { display: grid; grid-template-columns: minmax(5rem, 0.55fr) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-block-end: var(--rule-hair) solid var(--color-rule); }
320
- .environment-note dt { color: var(--color-muted); font-size: var(--text-xs); }
321
- .environment-note dd { margin: 0; overflow-wrap: anywhere; font-size: var(--text-xs); text-align: end; }
322
-
323
- .empty-state { min-height: 18rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-xs); }
324
- .empty-glyph { width: 2rem; height: 2rem; display: grid; place-items: center; margin-block-end: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: 50%; color: var(--color-ink-soft); }
325
- .empty-state h4 { margin: 0; font-size: var(--text-md); font-weight: 600; }
326
- .empty-state p { max-width: 30rem; margin: 0; color: var(--color-ink-soft); font-size: var(--text-sm); line-height: 1.65; }
327
-
328
- .waterfall { display: grid; gap: var(--space-md); margin-block-start: var(--space-xl); padding-block-end: var(--space-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
329
- .timing-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; color:var(--color-muted); font-size:11px; line-height:1.7; }
330
- .waterfall-row { display: grid; grid-template-columns: 6rem minmax(2rem, 1fr) 8.5rem; align-items: center; gap: var(--space-md); font-size: var(--text-xs); }
331
- .waterfall-track { height: 0.375rem; overflow: hidden; border-radius: var(--radius-pill); background: var(--color-paper-soft); }
332
- .waterfall-fill { display: block; height: 100%; min-width: var(--space-2xs); transform-origin: left; border-radius: inherit; background: var(--color-ink); }
333
- .waterfall-row strong { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; text-align: end; }
334
- .run-summary-copy { margin: var(--space-lg) 0 0; color: var(--color-ink-soft); font-size: var(--text-sm); line-height: 1.65; }
335
-
336
- .timeline { max-width: 50rem; margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
337
- .timeline-item { position: relative; display: grid; grid-template-columns: 5.75rem 1rem minmax(0, 1fr); gap: var(--space-sm); min-height: 4.5rem; }
338
- .timeline-item:not(:last-child)::after { position: absolute; inset: 1.25rem auto 0 6.25rem; width: var(--rule-hair); background: var(--color-rule); content: ""; }
339
- .timeline-time { color: var(--color-muted); font-family: var(--font-mono); font-size: 0.6875rem; text-align: end; }
340
- .timeline-dot { position: relative; z-index: var(--z-base); width: 0.5rem; height: 0.5rem; margin: var(--space-2xs); border-radius: 50%; background: var(--color-paper-raised); box-shadow: 0 0 0 var(--rule-hair) var(--color-rule-strong); }
341
- .timeline-copy strong { display: block; margin-block-end: var(--space-2xs); font-size: var(--text-sm); font-weight: 600; }
342
- .timeline-copy p { margin: 0; color: var(--color-muted); font-size: var(--text-xs); }
343
- .timeline-empty { padding: var(--space-xl) 0; color: var(--color-muted); font-size: var(--text-sm); }
344
-
345
- .context-list, .protocol-log { max-width: 54rem; border-block-start: var(--rule-hair) solid var(--color-rule); }
346
- .context-row { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: var(--space-lg); padding-block: var(--space-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
347
- .context-role { color: var(--color-ink-strong); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; }
348
- .context-text { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: var(--text-sm); line-height: 1.65; }
349
- .context-time { color: var(--color-muted); font-family: var(--font-mono); font-size: 0.625rem; }
350
-
351
- .protocol-log { margin-block-start: var(--space-xl); font-family: var(--font-mono); }
352
- .protocol-row { display: grid; grid-template-columns: 5rem 6rem minmax(0, 1fr) auto; gap: var(--space-sm); padding-block: var(--space-sm); border-block-end: var(--rule-hair) solid var(--color-rule); font-size: 0.6875rem; line-height: 1.5; }
353
- .protocol-time, .protocol-channel { color: var(--color-muted); }
354
- .protocol-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
355
- .protocol-duration { color: var(--color-ink-soft); }
356
- .runtime-log-text { grid-column: 1 / -1; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--color-ink); }
357
- .text-button, .error-banner button { min-height: var(--control-height); padding: var(--space-xs); background: transparent; color: var(--color-ink); font-size: var(--text-xs); font-weight: 600; }
358
- }
359
-
360
- @layer simulator {
361
- .simulator-area {
362
- min-width: 0;
363
- min-height: calc(100dvh - 4.5rem);
364
- max-height: calc(100dvh - 4.5rem);
365
- position: sticky;
366
- inset-block-start: 4.5rem;
367
- display: grid;
368
- grid-template-rows: auto minmax(0, 1fr) auto;
369
- padding: var(--space-md) var(--space-md) var(--space-xs);
370
- border-inline-start: var(--rule-hair) solid var(--color-rule);
371
- background: var(--color-paper-soft);
372
- }
373
-
374
- .simulator-actions { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
375
- .simulator-caption { min-height: var(--control-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; }
376
- .simulator-caption h2 { margin: 0; color: var(--color-ink-strong); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
377
-
378
- .device-stage { min-height: 0; display: grid; place-items: center; padding-block: var(--space-sm) 0; container-type: size; }
379
- .phone { --phone-width: min(27rem, 96cqw, 48cqh); width: var(--phone-width); aspect-ratio: 415 / 843; container-type: inline-size; }
380
- .phone iphone-16-max { --width: var(--phone-width); display: block; width: 100%; filter: drop-shadow(var(--shadow-phone)); }
381
- .phone-screen { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 10.6024cqw minmax(0, 1fr) auto; padding: 11.0843cqw 0 0; overflow: clip; background: var(--color-phone-paper); color: var(--color-phone-ink); font-family: var(--font-body); }
382
-
383
- .chat-navigation { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 19.2771cqw; background: var(--color-phone-paper); color: var(--color-phone-ink); }
384
- .back-chevron, .chat-widgets, .chat-more { position: absolute; inset-block-start: 50%; width: 8.1928cqw; height: 8.1928cqw; display: grid; place-items: center; padding: 0; transform: translateY(-50%); background: transparent; }
385
- .back-chevron { inset-inline-start: 1.4458cqw; }
386
- .chat-navigation-actions { position: absolute; inset-block: 0; inset-inline-end: 1.4458cqw; display: flex; align-items: center; }
387
- .chat-navigation-actions .chat-widgets, .chat-navigation-actions .chat-more { position: relative; inset: auto; transform: none; }
388
- .back-chevron svg { width: 4.3373cqw; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
389
- .chat-widgets svg { width: 5.0602cqw; fill: none; stroke: currentColor; stroke-width: 2; }
390
- .chat-more svg { width: 5.0602cqw; fill: currentColor; stroke: none; }
391
- .buddy-identity { min-width: 0; }
392
- .chat-navigation h3 { margin: 0; overflow: hidden; font-size: 3.3735cqw; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
393
-
394
- .chat-messages { min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; padding: 2.8916cqw 3.8554cqw 4.8193cqw; background: var(--color-phone-paper); color: var(--color-phone-ink); scrollbar-width: none; }
395
- .latest-messages { position: absolute; z-index: 2; bottom: 19cqw; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2cqw 3cqw; border-radius: 5cqw; background: var(--color-phone-paper); color: var(--color-phone-ink); border: 1px solid var(--color-rule); box-shadow: var(--shadow-whisper); font-size: 3cqw; }
396
- .chat-messages::-webkit-scrollbar { display: none; }
397
- .chat-empty { min-height: 100%; display: block; }
398
- .chat-date { align-self: center; margin: 0 0 2.8916cqw; color: var(--color-phone-muted); font-size: 2.6506cqw; }
399
- .message-row { width: 100%; display: flex; align-items: flex-start; gap: 2.4096cqw; }
400
- .message-row + .message-row, .chat-date + .chat-date, .message-row + .chat-date { margin-block-start: 3.8554cqw; }
401
- .message-row[data-role="user"] { justify-content: flex-end; }
402
- .message-content { max-width: calc(100% - 17.8313cqw); }
403
- .message-row[data-role="user"] .message-content { max-width: 75%; }
404
- .message-bubble { padding: 2.6506cqw 3.8554cqw; border-radius: 3.8554cqw; background: var(--color-phone-surface); color: var(--color-phone-ink); white-space: pre-wrap; word-break: break-word; font-size: 3.3735cqw; line-height: 1.5; }
405
- .message-row[data-role="user"] .message-bubble { background: var(--color-phone-ink); color: var(--color-phone-paper); }
406
- .message-bubble strong { font-weight: 700; }
407
- .message-bubble em { font-style: italic; }
408
- .message-bubble s { text-decoration: line-through; }
409
- .message-bubble code { padding: 0.1em 0.25em; border-radius: 0.25em; background: color-mix(in srgb, currentColor 8%, transparent); font-family: var(--font-mono); font-size: 0.9em; }
410
- .message-bubble a[href] { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
411
- .message-avatar { width: 7.7108cqw; height: 7.7108cqw; display: grid; flex: none; place-items: center; border-radius: 50%; background: color-mix(in oklch, var(--color-phone-accent) 9%, var(--color-phone-surface)); color: color-mix(in oklch, var(--color-phone-ink) 64%, var(--color-phone-muted)); font-size: 2.4096cqw; font-weight: 700; }
412
- .replying-indicator { display: inline-flex; align-items: center; gap: 0.9639cqw; min-height: 4.3373cqw; padding: 2.1687cqw 3.3735cqw; border-radius: 3.8554cqw; background: var(--color-phone-surface); }
413
- .replying-indicator i { width: 1.4458cqw; height: 1.4458cqw; border-radius: 50%; background: color-mix(in oklch, var(--color-phone-ink) 65%, var(--color-phone-paper)); animation: breathe 1.1s var(--ease-in-out) infinite; }
414
- .replying-indicator i:nth-child(2) { animation-delay: 140ms; }
415
- .replying-indicator i:nth-child(3) { animation-delay: 280ms; }
416
-
417
- .composer { display: grid; grid-template-columns: 7.7108cqw minmax(0, 1fr) 7.7108cqw 7.7108cqw; align-items: center; gap: 0.4819cqw; margin: 1.9277cqw 2.8916cqw 5.7831cqw; padding: 0.9639cqw 1.2048cqw; border-radius: 3.8554cqw; background: var(--color-phone-surface); }
418
- .composer textarea { width: 100%; min-height: 7.7108cqw; max-height: 22.1687cqw; resize: none; padding: 1.9277cqw 0.9639cqw; outline: 2px solid transparent; background: transparent; color: var(--color-phone-ink); font-size: 3.1325cqw; line-height: 1.35; }
419
- .composer textarea::placeholder { color: var(--color-phone-muted); }
420
- .composer textarea:disabled { opacity: 0.55; }
421
- .composer textarea[aria-invalid="true"] { outline-color: var(--color-error); }
422
- .composer textarea[data-state="success"] { outline-color: var(--color-success); }
423
- .composer-tool { width: 7.7108cqw; height: 7.7108cqw; display: grid; place-items: center; padding: 0; background: transparent; color: var(--color-phone-ink); }
424
- .composer-tool svg { width: 5.0602cqw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
425
- .send-button, .stop-button { width: 7.7108cqw; height: 7.7108cqw; display: grid; place-items: center; border-radius: 50%; background: var(--color-phone-ink); color: var(--color-phone-paper); }
426
- .send-button:disabled { opacity: 0.18; }
427
- .send-button svg { width: 4.3373cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
428
- .stop-button span { width: 1.9277cqw; height: 1.9277cqw; border-radius: var(--radius-xs); background: var(--color-phone-paper); }
429
- .home-indicator { position: absolute; inset: auto 50% 1.6867cqw auto; width: 32.2892cqw; height: 0.9639cqw; transform: translateX(50%); border-radius: var(--radius-pill); background: var(--color-phone-ink); opacity: 0.88; }
430
- .keyboard-hint { margin: var(--space-xs) 0 0; color: var(--color-muted); font-size: 0.6875rem; text-align: center; }
431
- kbd { font-family: var(--font-body); font-size: 0.625rem; }
432
- }
433
-
434
- @layer overlays {
435
- .pairing-qr { width: min(16rem, 100%); height: auto; flex-shrink: 0; border-radius: var(--radius-sm); background: white; }
436
- .pairing-panel { position: fixed; z-index: var(--z-modal); inset: 5.25rem var(--space-lg) auto auto; width: min(24rem, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); background: var(--color-paper-raised); box-shadow: var(--shadow-whisper); animation: panel-in var(--dur-short) var(--ease-out) both; }
437
- .pairing-panel .eyebrow { margin-block-end: var(--space-xs); }
438
- .pairing-panel h2 { margin: 0; font-size: var(--text-md); font-weight: 600; }
439
- .icon-button { width: var(--control-height); height: var(--control-height); display: grid; place-items: center; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-sm); background: var(--color-paper-raised); }
440
- .icon-button svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
441
- .pairing-body { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; gap: var(--space-lg); }
442
- .pairing-placeholder { width: 5.5rem; height: 5.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); padding: var(--space-sm); border: var(--rule-hair) solid var(--color-rule-strong); background: var(--color-paper-raised); }
443
- .pairing-placeholder span { border: 0.375rem solid var(--color-ink-strong); }
444
- .pairing-placeholder span:nth-child(4) { border-width: 0.1875rem 0.4375rem 0.4375rem 0.1875rem; }
445
- .pairing-status { margin: 0 0 var(--space-xs); font-size: var(--text-sm); font-weight: 600; }
446
- .pairing-hint { margin: 0; color: var(--color-ink-soft); font-size: var(--text-xs); line-height: 1.55; }
447
- .pairing-code { margin: var(--space-xs) 0 0; font-family: var(--font-mono); font-size: var(--text-md); letter-spacing: 0.1em; }
448
- .pairing-link { display: block; max-width: 100%; margin-block-start: var(--space-xs); overflow: hidden; color: var(--color-ink-soft); font-size: var(--text-xs); text-overflow: ellipsis; white-space: nowrap; }
449
-
450
- .error-banner, .toast { position: fixed; z-index: var(--z-toast); inset-block-end: var(--space-lg); display: flex; align-items: center; gap: var(--space-lg); border-radius: var(--radius-sm); box-shadow: var(--shadow-whisper); }
451
- .error-banner { inset-inline-start: 50%; transform: translateX(-50%); width: min(35rem, calc(100% - 2rem)); justify-content: space-between; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-error); background: var(--color-paper-raised); font-size: var(--text-xs); }
452
- .toast { inset-inline-end: var(--space-lg); max-width: min(22rem, calc(100% - 2rem)); padding: var(--space-sm) var(--space-md); background: var(--color-ink-strong); color: var(--color-paper-raised); font-size: var(--text-xs); }
453
-
454
- @keyframes panel-in { from { opacity: 0; transform: translateY(-0.4rem); } to { opacity: 1; transform: none; } }
455
- @keyframes breathe { 0%, 100% { opacity: 0.28; transform: scale(0.78); } 50% { opacity: 1; transform: scale(1); } }
456
- }
457
-
458
- @layer responsive {
459
- @media (hover: hover) and (pointer: fine) {
460
- .debug-tabs button:not([aria-selected="true"]):hover, .simulator-device:hover { background: var(--color-paper-raised); color: var(--color-ink-strong); }
461
- .button-primary:hover:not(:disabled) { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
462
- .button:not(.button-primary):hover:not(:disabled) { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }
463
- .debug-tabs button:not([aria-selected="true"]):hover, .simulator-device:hover, .button:hover:not(:disabled), .icon-button:hover { transform: translateY(-1px); }
464
- }
465
-
466
- .debug-tabs button:active, .simulator-device:active, .button:active:not(:disabled), .icon-button:active { transform: translateY(1px); }
467
-
468
- @media (max-width: 95rem) {
469
- .overview-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
470
- .environment-note { padding-inline-start: 0; border-inline-start: 0; }
471
- }
472
-
473
- @media (max-width: 78rem) {
474
- .workspace { grid-template-columns: minmax(0, 1fr); }
475
- .simulator-area { min-height: 52rem; height: 90dvh; max-height: none; position: static; border-block-start: var(--rule-hair) solid var(--color-rule); border-inline-start: 0; }
476
- .phone { --phone-width: min(27rem, 94cqw, 48cqh); }
477
- }
478
-
479
- @media (max-width: 58rem) {
480
- .sidebar { position: sticky; inset: 0 0 auto; width: auto; height: auto; flex-direction: row; align-items: center; gap: var(--space-md); padding: var(--space-xs) var(--space-md); border-inline-end: 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
481
- .brand { min-height: 3rem; padding: 0; }
482
- .brand-mark { width: 2rem; height: 2rem; }
483
- .brand-name, .sidebar-label { display: none; }
484
- .sidebar-section { min-width: 0; margin: 0; flex: 1; }
485
- .debug-tabs { display: flex; gap: var(--space-2xs); margin: 0; overflow-x: auto; scrollbar-width: none; }
486
- .debug-tabs::-webkit-scrollbar { display: none; }
487
- .debug-tabs button { min-height: 2.5rem; flex: none; padding-inline: var(--space-sm); }
488
- .debug-tabs button svg { display: none; }
489
- .application { margin-inline-start: 0; }
490
- .topbar { inset-block-start: 4rem; }
491
- .overview-grid { grid-template-columns: minmax(0, 1fr); }
492
- .environment-note { padding-block-start: var(--space-lg); padding-inline-start: 0; border-block-start: var(--rule-hair) solid var(--color-rule); border-inline-start: 0; }
493
- }
494
-
495
- @media (max-width: 40rem) {
496
- .topbar { align-items: flex-start; padding-block: var(--space-md); }
497
- .project-heading { display: grid; }
498
- .topbar-actions { flex: none; }
499
- .connection-state { display: none; }
500
- .button { min-height: 2.5rem; padding-inline: var(--space-md); font-size: var(--text-xs); }
501
- .run-heading { align-items: stretch; flex-direction: column; }
502
- .run-identity, .run-controls { flex: auto; }
503
- .run-picker { width: 100%; }
504
- .run-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
505
- .debug-panel { padding-block-end: var(--space-2xl); }
506
- .section-heading { display: grid; gap: var(--space-sm); }
507
- .context-row { grid-template-columns: 4rem minmax(0, 1fr); }
508
- .context-time { grid-column: 2; }
509
- .protocol-row { grid-template-columns: 4rem minmax(0, 1fr) auto; }
510
- .protocol-channel { display: none; }
511
- .pairing-body { grid-template-columns: minmax(0, 1fr); }
512
- }
513
-
514
- @media (pointer: coarse) {
515
- .debug-tabs button, .simulator-device, .button, .icon-button, .text-button { min-height: 3rem; }
516
- }
517
-
518
- @media (prefers-reduced-motion: reduce) {
519
- *, *::before, *::after { animation-duration: 120ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; }
520
- }
521
- }
522
-
523
- .message-avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
524
- #buddy-profile-avatar { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
525
- #buddy-profile-avatar[hidden] { display: none; }
526
-
527
- /* Hosted debug workbench. DESIGN_VARIANCE 3 / MOTION_INTENSITY 3 / VISUAL_DENSITY 7.
528
- Brand system retained: 8px controls, 12px work surface, semantic status colors only. */
529
- body[data-hosted-preview] { --color-paper:#f8fafb; --color-paper-soft:#f1f4f6; --color-rule:#e2e8ec; --color-muted:#5a6c79; min-width:700px; height:100dvh; min-height:0; overflow:hidden; font-size:13px; }
530
- body[data-hosted-preview] :is(.app-shell,.application) { display:flex; flex-direction:column; height:100%; min-height:0; margin:0; }
531
- body[data-hosted-preview] .brand, body[data-hosted-preview] .sidebar-label, body[data-hosted-preview] .project-heading { display:none; }
532
- body[data-hosted-preview] .local-connection { flex:none; border-bottom:1px solid var(--color-rule); background:var(--color-paper-raised); }
533
- body[data-hosted-preview] .connection-toolbar { display:flex; align-items:center; gap:12px; min-height:68px; padding:12px 20px; }
534
- body[data-hosted-preview] .connection-project { min-width:0; margin-right:auto; }
535
- body[data-hosted-preview] .connection-project strong { display:block; overflow:hidden; max-width:42vw; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:600; }
536
- body[data-hosted-preview] .connection-project > span { display:block; margin-top:4px; color:var(--color-muted); font-size:12px; }
537
- body[data-hosted-preview] .topbar { display:contents; }
538
- body[data-hosted-preview] .topbar-actions { gap:10px; }
539
- body[data-hosted-preview] .connection-state { padding:0; font-size:12px; min-height:32px; }
540
- body[data-hosted-preview] .button { min-height:34px; padding:7px 12px; border-radius:8px; font-size:12px; white-space:nowrap; }
541
- body[data-hosted-preview] .button-secondary, body[data-hosted-preview] #dev-control[data-action="stop"] { background:var(--color-paper-raised); color:var(--color-ink); border:1px solid var(--color-rule-strong); }
542
- body[data-hosted-preview] .connection-details { position:relative; flex:none; }
543
- body[data-hosted-preview] .connection-details > summary { padding:9px 0 9px 4px; cursor:pointer; color:var(--color-muted); font-size:12px; white-space:nowrap; }
544
- body[data-hosted-preview] .connection-detail-body { position:absolute; top:40px; right:0; z-index:var(--z-dropdown); width:min(420px,70vw); padding:16px 20px; border:1px solid var(--color-rule); border-radius:10px; background:var(--color-paper-raised); box-shadow:var(--shadow-sheet); }
545
- body[data-hosted-preview] .connection-detail-body dl { margin:0; }
546
- body[data-hosted-preview] .connection-detail-body dl > div { display:grid; grid-template-columns:70px minmax(0,1fr); gap:12px; padding:7px 0; font-size:12px; border:0; }
547
- body[data-hosted-preview] .connection-detail-body dt { color:var(--color-muted); }
548
- body[data-hosted-preview] .connection-detail-body dd { margin:0; text-align:left; overflow-wrap:anywhere; }
549
- body[data-hosted-preview] .environment-note { padding:8px 0 0; margin-top:8px; border:0; border-top:1px solid var(--color-rule); }
550
- body[data-hosted-preview] :is(#connect-instructions, #disconnect-result) { padding:16px 20px; border-top:1px solid var(--color-rule); background:var(--color-paper); max-height:240px; overflow:auto; }
551
- body[data-hosted-preview] .command-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
552
- body[data-hosted-preview] .command-heading strong { font-size:13px; font-weight:600; }
553
- body[data-hosted-preview] :is(#connect-instructions, #disconnect-result) pre { padding:12px 14px; margin:12px 0 8px; white-space:pre-wrap; overflow-wrap:anywhere; border:1px solid var(--color-rule); border-radius:8px; background:var(--color-paper-raised); line-height:1.7; font-size:12px; }
554
- body[data-hosted-preview] :is(#connect-instructions, #disconnect-result) p { margin:0; color:var(--color-muted); font-size:12px; line-height:1.6; }
555
- body[data-hosted-preview] .workspace { flex:1; min-height:0; grid-template-columns:minmax(350px,1fr) clamp(380px,43%,580px); overflow:hidden; }
556
- body[data-hosted-preview] .debugger { display:flex; flex-direction:column; min-height:0; overflow:hidden; background:var(--color-paper-raised); }
557
- body[data-hosted-preview] .hosted-page-heading { flex:none; padding:0 20px 20px; }
558
- body[data-hosted-preview] .hosted-page-heading p { display:flex; align-items:center; gap:10px; color:var(--color-muted); font-size:12px; margin:0 0 8px; }
559
- body[data-hosted-preview] .hosted-page-heading p span:first-child { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:60%; }
560
- body[data-hosted-preview] .hosted-page-heading h1 { margin:0; font-size:26px; line-height:1.3; letter-spacing:-.035em; font-weight:650; }
561
- body[data-hosted-preview] .local-connection { border-top:1px solid var(--color-rule); }
562
- /* Hosted tabs are normal flex content, not the standalone sticky sidebar. */
563
- body[data-hosted-preview] .debugger > .sidebar { flex:none; position:static; z-index:auto; width:auto; padding:0 20px; border:0; border-bottom:1px solid var(--color-rule); }
564
- body[data-hosted-preview] .sidebar-section { margin:0; }
565
- body[data-hosted-preview] .debug-tabs { display:flex; flex-wrap:nowrap; gap:20px; margin:0; }
566
- body[data-hosted-preview] .debug-tabs button { width:auto; min-height:44px; padding:10px 0; font-size:13px; gap:7px; border-radius:0; white-space:nowrap; }
567
- body[data-hosted-preview] .debug-tabs button svg { width:15px; height:15px; }
568
- body[data-hosted-preview] .debug-tabs button[aria-selected="true"] { background:transparent; box-shadow:inset 0 -2px var(--color-accent); }
569
- body[data-hosted-preview] .run-strip { flex:none; padding:18px 20px 14px; border-bottom:1px solid var(--color-rule); }
570
- body[data-hosted-preview] .run-heading { align-items:center; flex-wrap:wrap; gap:16px; }
571
- body[data-hosted-preview] .run-identity { flex:1; }
572
- body[data-hosted-preview] .run-identity > .eyebrow { display:none; }
573
- body[data-hosted-preview] .run-title-line { margin:0; flex-wrap:nowrap; gap:8px; }
574
- body[data-hosted-preview] .run-title-line h2 { font-size:17px; letter-spacing:0; }
575
- body[data-hosted-preview] .status-pill { font-size:11px; padding:3px 7px; }
576
- body[data-hosted-preview] .run-controls { flex:0 1 340px; min-width:min(100%,340px); max-width:100%; gap:6px; }
577
- body[data-hosted-preview] .run-picker-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
578
- body[data-hosted-preview] :is(.run-picker,.run-step) { min-height:30px; border-radius:6px; font-size:11px; padding-block:4px; }
579
- body[data-hosted-preview] .run-step { width:30px; }
580
- body[data-hosted-preview] .run-follow { min-height:20px; font-size:11px; gap:6px; }
581
- body[data-hosted-preview] .run-follow input { width:12px; height:12px; accent-color:var(--color-accent); }
582
- body[data-hosted-preview] .run-reference { display:block; max-width:200px; font-size:11px; color:var(--color-muted); margin-top:6px; }
583
- body[data-hosted-preview] .run-reference summary { cursor:pointer; }
584
- body[data-hosted-preview] #run-id { display:block; margin-top:5px; overflow-wrap:anywhere; white-space:normal; font-family:var(--font-mono); }
585
- body[data-hosted-preview] #copy-run-id { min-height:24px; padding:4px 0; font-size:11px; }
586
- body[data-hosted-preview] .run-metrics { gap:20px; margin:14px 0 0; padding:0; }
587
- body[data-hosted-preview] .run-metrics > div { padding:0; border:0; }
588
- body[data-hosted-preview] .run-metrics dt { font-size:11px; margin-bottom:5px; }
589
- body[data-hosted-preview] .run-metrics dd { font-size:15px; font-weight:500; line-height:1.5; }
590
- body[data-hosted-preview] .debug-panels { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-gutter:stable; }
591
- body[data-hosted-preview] .debug-panel { min-height:0; padding:22px 20px; }
592
- body[data-hosted-preview] .overview-grid { display:block; }
593
- body[data-hosted-preview] .section-heading { border:0; padding:0; margin:0 0 16px; gap:16px; align-items:center; }
594
- body[data-hosted-preview] .section-heading h3 { font-size:14px; letter-spacing:0; }
595
- body[data-hosted-preview] .section-heading p { margin:6px 0 0; font-size:12px; color:var(--color-muted); }
596
- body[data-hosted-preview] .source-label { display:none; }
597
- body[data-hosted-preview] .run-summary-copy { margin:16px 0 0; font-size:13px; line-height:1.8; color:var(--color-ink-soft); }
598
- .run-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:18px 0 24px; padding:0; list-style:none; gap:8px; }
599
- .run-progress li { position:relative; padding-top:16px; border-top:2px solid var(--color-rule); color:var(--color-muted); font-size:12px; line-height:1.5; }
600
- .run-progress li[data-stage="done"] { border-color:var(--color-accent); color:var(--color-ink); }
601
- .run-progress li[data-stage="active"] { border-color:var(--color-accent); color:var(--color-accent); font-weight:600; }
602
- .run-progress li[data-stage="error"] { border-color:var(--color-error); color:var(--color-error); }
603
- body[data-hosted-preview] .waterfall { margin:0; padding:0; border:0; gap:12px; }
604
- body[data-hosted-preview] .waterfall-row { grid-template-columns:84px minmax(0,1fr) 132px; gap:12px; font-size:12px; }
605
- body[data-hosted-preview] .waterfall-track { height:3px; background:transparent; }
606
- body[data-hosted-preview] .waterfall-fill { min-width:0; background:var(--color-accent); opacity:.45; }
607
- body[data-hosted-preview] .workbench-state { flex:none; padding:26px 24px; border-bottom:1px solid var(--color-rule); }
608
- body[data-hosted-preview] .workbench-state h2 { font-size:18px; font-weight:600; margin:0 0 9px; letter-spacing:-.02em; }
609
- body[data-hosted-preview] .workbench-state p { max-width:480px; color:var(--color-muted); font-size:13px; line-height:1.8; margin:0; }
610
- body[data-hosted-preview] .state-mark { display:block; width:32px; height:3px; margin-bottom:20px; background:var(--color-accent); border-radius:2px; }
611
- body[data-hosted-preview][data-has-runs="false"] .run-strip { display:none; }
612
-
613
- body[data-hosted-preview][data-dev-phase="disconnected"][data-has-runs="false"] .workbench-state { padding-top:56px; padding-bottom:56px; }
614
- body[data-hosted-preview][data-dev-phase="disconnected"] .topbar-actions { display:none; }
615
- body[data-hosted-preview][data-dev-phase="disconnected"] :is(.run-progress li,.replying-indicator i) { animation-play-state:paused; }
616
- body[data-hosted-preview][data-dev-phase="failed"] .state-mark { background:var(--color-error); }
617
- body[data-hosted-preview] .empty-state { min-height:0; padding:24px 0; }
618
- body[data-hosted-preview] .timeline { margin:0; }
619
- body[data-hosted-preview] .timeline-item { grid-template-columns:62px 12px minmax(0,1fr); min-height:62px; gap:10px; }
620
- body[data-hosted-preview] .timeline-item:not(:last-child)::after { left:77px; }
621
- body[data-hosted-preview] .timeline-time { font-size:11px; padding-top:2px; }
622
- body[data-hosted-preview] .timeline-copy strong { font-size:13px; font-weight:500; line-height:1.65; overflow-wrap:anywhere; }
623
- body[data-hosted-preview] .timeline-copy p { font-size:11px; overflow-wrap:anywhere; }
624
- body[data-hosted-preview] .timeline-empty { padding:18px 0; font-size:13px; line-height:1.7; }
625
- body[data-hosted-preview] .context-row { grid-template-columns:36px minmax(0,1fr) 55px; gap:12px; padding:16px 0; }
626
- body[data-hosted-preview] .context-text { font-size:13px; line-height:1.8; }
627
- body[data-hosted-preview] .context-role { font-size:12px; }
628
- body[data-hosted-preview] .protocol-log { margin:0; }
629
- body[data-hosted-preview] .protocol-entry { border-bottom:1px solid var(--color-rule); }
630
- body[data-hosted-preview] .protocol-entry summary { display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:baseline; gap:12px; padding:12px 0; cursor:pointer; list-style:none; }
631
- body[data-hosted-preview] .protocol-entry summary::-webkit-details-marker { display:none; }
632
- body[data-hosted-preview] .protocol-entry time, body[data-hosted-preview] .log-channel { color:var(--color-muted); font-size:11px; }
633
- body[data-hosted-preview] .log-channel::after { content:""; display:inline-block; width:5px; height:5px; margin-left:12px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(-45deg); vertical-align:2px; }
634
- body[data-hosted-preview] .protocol-entry[open] .log-channel::after { transform:rotate(45deg); }
635
- body[data-hosted-preview] .log-summary { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-family:var(--font-body); }
636
- body[data-hosted-preview] .protocol-entry[data-level="error"] .log-summary { color:var(--color-error); }
637
- body[data-hosted-preview] .protocol-entry[open] .log-summary { white-space:normal; overflow-wrap:anywhere; }
638
- body[data-hosted-preview] .log-meta { margin:0 0 8px; color:var(--color-muted); font-size:11px; overflow-wrap:anywhere; }
639
- body[data-hosted-preview] .runtime-log-text { font-size:12px; line-height:1.7; padding:12px; margin:0 0 14px; border-radius:6px; background:var(--color-paper); }
640
- body[data-hosted-preview] .simulator-area { position:relative; inset:auto; height:100%; min-height:0; max-height:none; padding:10px 16px 8px; border:1px solid var(--color-rule); border-radius:12px; background:var(--color-paper); }
641
- body[data-hosted-preview] .simulator-caption { min-height:30px; flex-wrap:nowrap; }
642
- body[data-hosted-preview] .simulator-caption h2 { font-size:14px; font-weight:600; }
643
- body[data-hosted-preview] .simulator-device { min-height:30px; padding:5px 8px; font-size:11px; border-radius:6px; white-space:nowrap; }
644
- body[data-hosted-preview] .simulator-device svg { width:14px; height:14px; }
645
- body[data-hosted-preview] .simulator-actions { flex-wrap:nowrap; }
646
- body[data-hosted-preview] .device-stage { padding-top:6px; }
647
- body[data-hosted-preview] .phone { --phone-width:min(432px,100cqw,49.2cqh); }
648
- body[data-hosted-preview] .phone iphone-16-max { --width:100%; }
649
- body[data-hosted-preview] .keyboard-hint { margin-top:4px; min-height:16px; font-size:11px; }
650
- body[data-hosted-preview] .chat-empty { display:grid; place-items:center; min-height:100%; padding:24px; font-size:12px; line-height:1.8; text-align:center; color:var(--color-phone-muted); }
651
- body[data-hosted-preview] .error-banner { position:static; transform:none; inset:auto; width:100%; flex:none; margin:0; padding:12px 20px; font-size:13px; border:0; border-bottom:1px solid var(--color-rule); border-radius:0; box-shadow:none; }
652
- body[data-hosted-preview] .error-banner span { line-height:1.7; max-height:96px; overflow:auto; overflow-wrap:anywhere; }
653
- body[data-hosted-preview] .error-banner button { flex:none; min-height:28px; white-space:nowrap; }
654
- body[data-hosted-preview] .pairing-panel { top:80px; }
655
- @media (prefers-reduced-motion:no-preference) {
656
- body[data-hosted-preview][data-busy="true"] .state-mark { animation:debug-pulse 1.8s ease-in-out infinite; }
657
- .run-progress li[data-stage="active"] { animation:debug-pulse 1.8s ease-in-out infinite; }
658
- @keyframes debug-pulse { 50% { opacity:.4; } }
659
- }
660
- @media (prefers-color-scheme:dark) { body[data-hosted-preview] { --color-paper:#131f29; --color-paper-soft:#20303b; --color-rule:#2b3d4a; --color-muted:#a2b5c2; } }
661
- @media (max-width:900px) {
662
- body[data-hosted-preview] .workspace { grid-template-columns:minmax(350px,1fr) 320px; }
663
- body[data-hosted-preview] .connection-toolbar { padding-inline:16px; gap:8px; }
664
- body[data-hosted-preview] .connection-project strong { max-width:190px; }
665
- body[data-hosted-preview] .debug-tabs { gap:14px; }
666
- body[data-hosted-preview] .run-heading { align-items:start; flex-wrap:wrap; }
667
- body[data-hosted-preview] .run-controls { flex-basis:100%; }
668
- body[data-hosted-preview] .simulator-area { padding-inline:12px; }
669
- }
670
-
671
- /* Runtime diagnostics share the existing Preview typography and semantic colors. */
672
- .diagnostic-source { flex:none; color:var(--color-muted); font-size:11px; }
673
- .diagnostic-filters { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0 12px; }
674
- .diagnostic-filters label { display:flex; flex:1 1 130px; min-width:0; flex-direction:column; gap:6px; color:var(--color-ink-soft); font-size:11px; }
675
- .diagnostic-filters .diagnostic-search { flex:1.5 1 160px; }
676
- .diagnostic-filters :is(select,input) { width:100%; min-width:0; min-height:36px; padding:7px 10px; border:1px solid var(--color-rule-strong); border-radius:6px; background:var(--color-paper-raised); color:var(--color-ink); font:inherit; font-size:12px; }
677
- .diagnostic-filters :is(select,input):focus-visible { outline:2px solid var(--color-accent); outline-offset:2px; }
678
- .diagnostic-note { color:var(--color-muted); font-size:11px; line-height:1.8; margin:12px 0 16px; }
679
- .diagnostic-entry { border-bottom:1px solid var(--color-rule); min-width:0; }
680
- .diagnostic-entry > summary { display:flex; align-items:start; gap:10px; padding:16px 0; cursor:pointer; list-style:none; }
681
- .diagnostic-entry > summary::-webkit-details-marker { display:none; }
682
- .diagnostic-entry > summary::after { content:'›'; color:var(--color-muted); font-size:18px; line-height:20px; flex:none; }
683
- .diagnostic-entry[open] > summary::after { transform:rotate(90deg); }
684
- .diagnostic-entry > summary:hover .diagnostic-heading strong { color:var(--color-accent); }
685
- .diagnostic-entry > summary:focus-visible { outline:2px solid var(--color-accent); outline-offset:3px; border-radius:3px; }
686
- .diagnostic-heading { display:flex; flex-direction:column; gap:5px; min-width:0; flex:1; }
687
- .diagnostic-heading strong { font-size:13px; font-weight:550; line-height:1.5; overflow-wrap:anywhere; }
688
- .diagnostic-preview { color:var(--color-muted); font-size:12px; line-height:1.6; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
689
- .diagnostic-badge { flex:none; color:var(--color-ink-soft); background:var(--color-paper-soft); border-radius:4px; padding:3px 5px; min-width:36px; font:10px/1.4 var(--font-mono); text-align:center; }
690
- .diagnostic-badge[data-kind="response"] { color:var(--color-accent); background:var(--color-accent-soft, var(--color-paper-soft)); }
691
- .diagnostic-entry[data-level="error"] > summary .diagnostic-badge { color:var(--color-error); background:var(--color-error-soft); }
692
- .diagnostic-entry[data-level="warn"] > summary .diagnostic-badge { color:var(--color-warning); background:var(--color-warning-soft); }
693
- .diagnostic-entry time { color:var(--color-muted); font:11px/1.8 var(--font-mono); white-space:nowrap; }
694
- .diagnostic-body { padding:0 0 18px; }
695
- .diagnostic-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; color:var(--color-muted); font-size:11px; margin:0 0 12px; }
696
- .diagnostic-meta > span { overflow-wrap:anywhere; min-width:0; }
697
- .diagnostic-meta button { font-size:11px; }
698
- .diagnostic-section { border:1px solid var(--color-rule); border-radius:6px; margin:8px 0 0; overflow:hidden; }
699
- .diagnostic-section > summary { cursor:pointer; padding:10px 12px; font-size:12px; color:var(--color-ink-soft); }
700
- .diagnostic-section[open] > summary { border-bottom:1px solid var(--color-rule); }
701
- .diagnostic-section pre { margin:0; padding:14px; max-height:420px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:11px/1.85 var(--font-mono); background:var(--color-paper-soft); tab-size:2; }
702
- .diagnostic-metrics { display:flex; flex-wrap:wrap; gap:16px 24px; margin:18px 0; }
703
- .diagnostic-metrics div { min-width:70px; }
704
- .diagnostic-metrics dt { color:var(--color-muted); font-size:10px; margin-bottom:6px; }
705
- .diagnostic-metrics dd { margin:0; font:12px var(--font-mono); color:var(--color-ink); }
706
- .metric-help { max-width:220px; margin:6px 0 0; color:var(--color-muted); font:11px/1.7 var(--font-body); white-space:normal; overflow-wrap:anywhere; }
707
- .run-metrics dd:has(.metric-help) { overflow:visible; white-space:normal; }
708
- .diagnostic-warning { color:var(--color-error); background:var(--color-error-soft); padding:10px 12px; font-size:12px; line-height:1.8; border-radius:6px; overflow-wrap:anywhere; }
709
- .diagnostic-empty { padding:44px 0 52px; }
710
- .diagnostic-empty strong { font-size:15px; font-weight:550; }
711
- .diagnostic-empty p { max-width:420px; color:var(--color-muted); font-size:12px; line-height:1.9; }
712
- .diagnostic-explanation { margin-top:24px; color:var(--color-muted); font-size:11px; line-height:1.9; }
713
- .diagnostic-explanation summary { cursor:pointer; }
714
- .diagnostic-explanation p { margin:10px 0; }
715
- .diagnostic-history { margin-top:24px; padding-top:16px; border-top:1px solid var(--color-rule); }
716
- .diagnostic-history > summary { cursor:pointer; font-size:13px; color:var(--color-ink-soft); }
717
- .diagnostic-history #context-source { font-size:10px; margin-left:8px; color:var(--color-muted); }
718
- #panel-overview .run-strip, body[data-hosted-preview] #panel-overview .run-strip { padding:0 0 16px; }
719
- #panel-protocol .protocol-log { display:block; border:0; }
720
- @media (max-width:650px) {
721
- .diagnostic-filters { gap:10px; }
722
- .diagnostic-filters .diagnostic-search { flex-basis:100%; }
723
- .diagnostic-entry > summary { gap:7px; }
724
- .diagnostic-entry time { font-size:10px; }
725
- .diagnostic-source { display:none; }
726
- }
727
-
728
- body[data-hosted-preview] #disconnect-message { color:var(--color-ink); font-weight:600; margin-bottom:8px; }
729
- body[data-hosted-preview] #copy-stop-command { margin:8px 0; }
730
-
731
- /* Project inspection augments the existing workbench; simulator styles stay unchanged. */
732
- .inventory-read-state { color:var(--color-muted); font-size:11px; white-space:nowrap; }
733
- #tools-total { color:var(--color-muted); font-size:11px; margin-left:8px; font-weight:400; }
734
- .inventory-notice { margin:0 0 18px; padding:10px 12px; border:1px solid var(--color-rule); border-radius:6px; color:var(--color-muted); font-size:12px; line-height:1.8; }
735
- .inventory-tool { border-bottom:1px solid var(--color-rule); }
736
- .inventory-tool > summary { padding:16px 20px 16px 0; position:relative; cursor:pointer; list-style:none; }
737
- .inventory-tool > summary::-webkit-details-marker { display:none; }
738
- .inventory-tool > summary::after { content:""; position:absolute; right:4px; top:23px; width:5px; height:5px; border-right:1px solid var(--color-muted); border-bottom:1px solid var(--color-muted); transform:rotate(-45deg); }
739
- .inventory-tool[open] > summary::after { transform:rotate(45deg); }
740
- .inventory-tool-title { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; }
741
- .inventory-tool-title strong { font:500 13px var(--font-mono); overflow-wrap:anywhere; }
742
- .inventory-origin { color:var(--color-muted); font-size:10px; }
743
- .inventory-tool > summary > p { color:var(--color-muted); font-size:12px; line-height:1.8; margin:7px 0 0; }
744
- .inventory-tool-body { padding:0 0 18px; }
745
- .inventory-tool-body h4 { font-size:12px; font-weight:600; margin:0 0 10px; }
746
- .inventory-parameters { width:100%; table-layout:fixed; border-collapse:collapse; margin-bottom:16px; font-size:11px; line-height:1.8; }
747
- .inventory-parameters :is(th,td) { text-align:left; vertical-align:top; padding:8px; border-bottom:1px solid var(--color-rule); overflow-wrap:anywhere; }
748
- .inventory-parameters th { color:var(--color-muted); font-weight:500; }
749
- .inventory-parameters th:first-child { width:30%; }.inventory-parameters th:nth-child(2) { width:20%; }
750
- .inventory-model-note { margin:6px 0 0; font-size:11px; color:var(--color-muted); }
751
- .inventory-unresolved { padding:16px 0; color:var(--color-muted); border-bottom:1px solid var(--color-rule); font-size:12px; line-height:1.8; }
752
- .inventory-unresolved strong { font-weight:500; }.inventory-unresolved p { margin:6px 0 0; }
753
- @media (max-width:900px) {
754
- body[data-hosted-preview] .connection-toolbar { flex-wrap:wrap; }
755
- body[data-hosted-preview] .connection-project { flex-basis:100%; }
756
- body[data-hosted-preview] .connection-project strong { max-width:100%; }
757
- body[data-hosted-preview] .connection-details { margin-left:auto; }
758
- }