dsh-lite 0.0.0-stage → 0.6.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.
@@ -0,0 +1,3198 @@
1
+ :root {
2
+ color-scheme: dark;
3
+ --bg: #0a0c10;
4
+ --bg-elevated: #0e1117;
5
+ --panel: #11151c;
6
+ --panel-2: #161b24;
7
+ --panel-3: #1b2130;
8
+ --border: #232a36;
9
+ --border-strong: #303a4b;
10
+ --text: #e8ebf1;
11
+ --text-soft: #c6cdda;
12
+ --muted: #8b94a4;
13
+ --faint: #667082;
14
+ --accent: #5b7cfa;
15
+ --accent-2: #8aa0ff;
16
+ --accent-soft: rgba(91, 124, 250, 0.14);
17
+ --user: #22315a;
18
+ --user-2: #2a3c6e;
19
+ --ok: #3ddc97;
20
+ --warn: #e8b45f;
21
+ --danger: #ff8f8f;
22
+ --radius-sm: 8px;
23
+ --radius-md: 12px;
24
+ --radius-lg: 16px;
25
+ --radius-xl: 20px;
26
+ --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
27
+ --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.45);
28
+ --topbar-bg: rgba(10, 12, 16, 0.88);
29
+ --composer-bg: rgba(10, 12, 16, 0.96);
30
+ --user-border: #374a7d;
31
+ --user-text: #f0f3fb;
32
+ --assistant-edge: #35415c;
33
+ --command-border: rgba(57, 69, 98, 0.44);
34
+ --command-bg: #131824;
35
+ --command-text: #b9c4da;
36
+ --system-bg: #12161d;
37
+ --system-border: #262e3b;
38
+ --error-bg: rgba(58, 24, 24, 0.55);
39
+ --error-border: rgba(255, 143, 143, 0.32);
40
+ --error-text: #ffb3b3;
41
+ --heading: #f2f5fb;
42
+ --code-bg: #0b0e13;
43
+ --code-border: #202632;
44
+ --strong: #fff;
45
+ --waiting-bg: #2a2111;
46
+ --waiting-border: #5a4826;
47
+ --spinner-track: #2b3342;
48
+ --menu-bg: rgba(16, 20, 26, 0.98);
49
+ --menu-sep: #1b212b;
50
+ --queue-bg: #121822;
51
+ --queue-border: #2a3342;
52
+ --focus-border: #3c4f86;
53
+ --active-border: #2c3a5e;
54
+ --scroll-bg: rgba(22, 27, 36, 0.94);
55
+ --goal-tint: rgba(232, 180, 95, 0.05);
56
+ --goal-tint-2: rgba(21, 26, 34, 0.35);
57
+ --backdrop: rgba(0, 0, 0, 0.72);
58
+ --sheet-shadow: rgba(0, 0, 0, 0.45);
59
+ --bubble-shadow: rgba(0, 0, 0, 0.35);
60
+ --tab-bg: rgba(22, 27, 36, 0.7);
61
+ --surface-tint: rgba(255, 255, 255, 0.03);
62
+ --success-bg: rgba(61, 220, 151, 0.1);
63
+ --success-border: rgba(61, 220, 151, 0.32);
64
+ --danger-fill: #c23f4a;
65
+ --danger-fill-2: #e0656e;
66
+ --accent-glow: rgba(91, 124, 250, 0.35);
67
+ --desk-dot: rgba(255, 255, 255, 0.035);
68
+ --desk-glow: rgba(91, 124, 250, 0.1);
69
+ --desk-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
70
+ }
71
+
72
+ @media (prefers-color-scheme: light) {
73
+ :root:not([data-theme="dark"]) {
74
+ color-scheme: light;
75
+ --bg: #f4f6fb;
76
+ --bg-elevated: #ffffff;
77
+ --panel: #ffffff;
78
+ --panel-2: #f8fafd;
79
+ --panel-3: #eef2f9;
80
+ --border: #e1e7f1;
81
+ --border-strong: #c9d3e3;
82
+ --text: #182235;
83
+ --text-soft: #3a475e;
84
+ --muted: #667289;
85
+ --faint: #98a3b5;
86
+ --accent: #3d5fe0;
87
+ --accent-2: #4d6bf0;
88
+ --accent-soft: rgba(61, 95, 224, 0.12);
89
+ --user: #e4ebff;
90
+ --user-2: #eef3ff;
91
+ --ok: #0e8a5b;
92
+ --warn: #a66f16;
93
+ --danger: #c03942;
94
+ --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.08);
95
+ --shadow-2: 0 10px 30px rgba(15, 23, 42, 0.14);
96
+ --topbar-bg: rgba(255, 255, 255, 0.9);
97
+ --composer-bg: rgba(255, 255, 255, 0.96);
98
+ --user-border: #c6d4f7;
99
+ --user-text: #172854;
100
+ --assistant-edge: #d4ddec;
101
+ --command-border: #dfe6f0;
102
+ --command-bg: #f2f5fa;
103
+ --command-text: #4a5872;
104
+ --system-bg: #f4f6fa;
105
+ --system-border: #e3e8f0;
106
+ --error-bg: #fff0f1;
107
+ --error-border: #f2c1c5;
108
+ --error-text: #a92e38;
109
+ --heading: #1b2740;
110
+ --code-bg: #f6f8fc;
111
+ --code-border: #dfe5ef;
112
+ --strong: #0f1728;
113
+ --waiting-bg: #fff7e8;
114
+ --waiting-border: #ecd3a4;
115
+ --spinner-track: #dbe2ee;
116
+ --menu-bg: rgba(255, 255, 255, 0.99);
117
+ --menu-sep: #edf1f7;
118
+ --queue-bg: #f7f9fd;
119
+ --queue-border: #dde4ef;
120
+ --focus-border: #8ba2e8;
121
+ --active-border: #b9c8f2;
122
+ --scroll-bg: rgba(255, 255, 255, 0.95);
123
+ --goal-tint: rgba(166, 111, 22, 0.05);
124
+ --goal-tint-2: rgba(255, 255, 255, 0.4);
125
+ --backdrop: rgba(15, 23, 42, 0.38);
126
+ --sheet-shadow: rgba(15, 23, 42, 0.22);
127
+ --bubble-shadow: rgba(15, 23, 42, 0.08);
128
+ --tab-bg: rgba(235, 240, 248, 0.8);
129
+ --surface-tint: rgba(15, 23, 42, 0.02);
130
+ --success-bg: rgba(14, 138, 91, 0.1);
131
+ --success-border: rgba(14, 138, 91, 0.28);
132
+ --danger-fill: #b3313b;
133
+ --danger-fill-2: #cf5963;
134
+ --accent-glow: rgba(61, 95, 224, 0.22);
135
+ }
136
+ }
137
+
138
+ :root[data-theme="light"] {
139
+ color-scheme: light;
140
+ --bg: #f4f6fb;
141
+ --bg-elevated: #ffffff;
142
+ --panel: #ffffff;
143
+ --panel-2: #f8fafd;
144
+ --panel-3: #eef2f9;
145
+ --border: #e1e7f1;
146
+ --border-strong: #c9d3e3;
147
+ --text: #182235;
148
+ --text-soft: #3a475e;
149
+ --muted: #667289;
150
+ --faint: #98a3b5;
151
+ --accent: #3d5fe0;
152
+ --accent-2: #4d6bf0;
153
+ --accent-soft: rgba(61, 95, 224, 0.12);
154
+ --user: #e4ebff;
155
+ --user-2: #eef3ff;
156
+ --ok: #0e8a5b;
157
+ --warn: #a66f16;
158
+ --danger: #c03942;
159
+ --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.08);
160
+ --shadow-2: 0 10px 30px rgba(15, 23, 42, 0.14);
161
+ --topbar-bg: rgba(255, 255, 255, 0.9);
162
+ --composer-bg: rgba(255, 255, 255, 0.96);
163
+ --user-border: #c6d4f7;
164
+ --user-text: #172854;
165
+ --assistant-edge: #d4ddec;
166
+ --command-border: #dfe6f0;
167
+ --command-bg: #f2f5fa;
168
+ --command-text: #4a5872;
169
+ --system-bg: #f4f6fa;
170
+ --system-border: #e3e8f0;
171
+ --error-bg: #fff0f1;
172
+ --error-border: #f2c1c5;
173
+ --error-text: #a92e38;
174
+ --heading: #1b2740;
175
+ --code-bg: #f6f8fc;
176
+ --code-border: #dfe5ef;
177
+ --strong: #0f1728;
178
+ --waiting-bg: #fff7e8;
179
+ --waiting-border: #ecd3a4;
180
+ --spinner-track: #dbe2ee;
181
+ --menu-bg: rgba(255, 255, 255, 0.99);
182
+ --menu-sep: #edf1f7;
183
+ --queue-bg: #f7f9fd;
184
+ --queue-border: #dde4ef;
185
+ --focus-border: #8ba2e8;
186
+ --active-border: #b9c8f2;
187
+ --scroll-bg: rgba(255, 255, 255, 0.95);
188
+ --goal-tint: rgba(166, 111, 22, 0.05);
189
+ --goal-tint-2: rgba(255, 255, 255, 0.4);
190
+ --backdrop: rgba(15, 23, 42, 0.38);
191
+ --sheet-shadow: rgba(15, 23, 42, 0.22);
192
+ --bubble-shadow: rgba(15, 23, 42, 0.08);
193
+ --tab-bg: rgba(235, 240, 248, 0.8);
194
+ --surface-tint: rgba(15, 23, 42, 0.02);
195
+ --success-bg: rgba(14, 138, 91, 0.1);
196
+ --success-border: rgba(14, 138, 91, 0.28);
197
+ --danger-fill: #b3313b;
198
+ --danger-fill-2: #cf5963;
199
+ --accent-glow: rgba(61, 95, 224, 0.22);
200
+ --desk-dot: rgba(24, 34, 53, 0.05);
201
+ --desk-glow: rgba(61, 95, 224, 0.09);
202
+ --desk-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
203
+ }
204
+
205
+ * {
206
+ box-sizing: border-box;
207
+ -webkit-tap-highlight-color: transparent;
208
+ }
209
+
210
+ [hidden] {
211
+ display: none !important;
212
+ }
213
+
214
+ html,
215
+ body {
216
+ height: 100%;
217
+ }
218
+
219
+ body {
220
+ margin: 0;
221
+ background:
222
+ radial-gradient(120% 60% at 50% -10%, rgba(91, 124, 250, 0.08), transparent 60%),
223
+ var(--bg);
224
+ color: var(--text);
225
+ font: 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
226
+ "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
227
+ letter-spacing: 0.01em;
228
+ overscroll-behavior: none;
229
+ }
230
+
231
+ button,
232
+ select,
233
+ textarea {
234
+ font: inherit;
235
+ color: inherit;
236
+ letter-spacing: inherit;
237
+ }
238
+
239
+ button {
240
+ cursor: pointer;
241
+ touch-action: manipulation;
242
+ }
243
+
244
+ button:focus-visible,
245
+ select:focus-visible,
246
+ textarea:focus-visible,
247
+ a:focus-visible {
248
+ outline: 2px solid var(--accent-2);
249
+ outline-offset: 2px;
250
+ }
251
+
252
+ #app {
253
+ position: relative;
254
+ display: flex;
255
+ flex-direction: column;
256
+ height: 100vh;
257
+ height: 100dvh;
258
+ width: 100%;
259
+ max-width: 720px;
260
+ margin: 0 auto;
261
+ padding-top: env(safe-area-inset-top);
262
+ }
263
+
264
+ /* ── top bar ─────────────────────────────────────────────── */
265
+
266
+ .topbar {
267
+ position: relative;
268
+ display: flex;
269
+ align-items: center;
270
+ gap: 10px;
271
+ padding: 8px 12px;
272
+ border-bottom: 1px solid var(--border);
273
+ background: var(--topbar-bg);
274
+ backdrop-filter: blur(14px);
275
+ -webkit-backdrop-filter: blur(14px);
276
+ z-index: 6;
277
+ }
278
+
279
+ .topbar::after {
280
+ content: "";
281
+ position: absolute;
282
+ left: 8%;
283
+ right: 8%;
284
+ bottom: -1px;
285
+ height: 1px;
286
+ background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
287
+ pointer-events: none;
288
+ }
289
+
290
+ .title-block {
291
+ flex: 1;
292
+ min-width: 0;
293
+ }
294
+
295
+ .session-title {
296
+ font-size: 15.5px;
297
+ font-weight: 600;
298
+ letter-spacing: 0.012em;
299
+ white-space: nowrap;
300
+ overflow: hidden;
301
+ text-overflow: ellipsis;
302
+ }
303
+
304
+ .session-subtitle {
305
+ position: relative;
306
+ margin-top: 1px;
307
+ padding-left: 10px;
308
+ font-size: 11.5px;
309
+ color: var(--muted);
310
+ white-space: nowrap;
311
+ overflow: hidden;
312
+ text-overflow: ellipsis;
313
+ }
314
+
315
+ .session-subtitle::before {
316
+ content: "";
317
+ position: absolute;
318
+ left: 0;
319
+ top: 50%;
320
+ width: 5px;
321
+ height: 5px;
322
+ margin-top: -2.5px;
323
+ border-radius: 50%;
324
+ background: var(--faint);
325
+ }
326
+
327
+ .session-subtitle[data-state="live"]::before {
328
+ background: var(--accent);
329
+ }
330
+
331
+ .session-subtitle[data-state="running"]::before {
332
+ background: var(--ok);
333
+ box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
334
+ }
335
+
336
+ .session-subtitle[data-state="archived"]::before {
337
+ background: var(--warn);
338
+ }
339
+
340
+ .session-subtitle[data-state="idle"]::before {
341
+ background: transparent;
342
+ border: 1px solid var(--faint);
343
+ }
344
+
345
+ .icon-button {
346
+ flex: none;
347
+ width: 36px;
348
+ height: 36px;
349
+ border: 1px solid var(--border);
350
+ border-radius: 11px;
351
+ background: var(--panel);
352
+ color: var(--text-soft);
353
+ font-size: 17px;
354
+ line-height: 1;
355
+ display: grid;
356
+ place-items: center;
357
+ transition: background 0.15s ease, border-color 0.15s ease;
358
+ }
359
+
360
+ .icon-button:active {
361
+ background: var(--panel-3);
362
+ border-color: var(--border-strong);
363
+ }
364
+
365
+ .context-meter {
366
+ flex: none;
367
+ padding: 2px 7px;
368
+ border: 1px solid var(--border);
369
+ border-radius: 999px;
370
+ background: var(--panel);
371
+ color: var(--muted);
372
+ font: inherit;
373
+ font-size: 10.5px;
374
+ font-variant-numeric: tabular-nums;
375
+ line-height: 16px;
376
+ cursor: pointer;
377
+ }
378
+
379
+ .context-meter:active {
380
+ background: var(--panel-3);
381
+ }
382
+
383
+ .plan-chip {
384
+ flex: none;
385
+ padding: 2px 8px;
386
+ border: 1px solid rgba(61, 95, 224, 0.38);
387
+ border-radius: 999px;
388
+ background: var(--accent-soft);
389
+ color: var(--accent);
390
+ font: inherit;
391
+ font-size: 10.5px;
392
+ font-weight: 650;
393
+ line-height: 16px;
394
+ cursor: pointer;
395
+ }
396
+
397
+ .plan-chip:disabled {
398
+ opacity: 0.65;
399
+ cursor: default;
400
+ }
401
+
402
+ .context-meter[data-level="warn"] {
403
+ color: var(--warn);
404
+ border-color: rgba(232, 180, 95, 0.35);
405
+ background: rgba(232, 180, 95, 0.08);
406
+ }
407
+
408
+ .context-meter[data-level="danger"] {
409
+ color: var(--danger);
410
+ border-color: rgba(255, 143, 143, 0.4);
411
+ background: rgba(255, 143, 143, 0.1);
412
+ }
413
+
414
+ /* ── goal bar ────────────────────────────────────────────── */
415
+
416
+ .goal-bar {
417
+ flex: none;
418
+ padding: 0 12px;
419
+ border-bottom: 1px solid var(--border);
420
+ background: linear-gradient(180deg, var(--goal-tint), var(--goal-tint-2));
421
+ }
422
+
423
+ .goal-line {
424
+ display: flex;
425
+ align-items: flex-start;
426
+ gap: 8px;
427
+ }
428
+
429
+ .goal-toggle {
430
+ display: block;
431
+ flex: 1;
432
+ min-width: 0;
433
+ border: 0;
434
+ background: none;
435
+ color: var(--text);
436
+ text-align: left;
437
+ padding: 8px 0;
438
+ }
439
+
440
+ .goal-label {
441
+ display: inline-block;
442
+ margin-right: 6px;
443
+ color: var(--warn);
444
+ font-size: 11.5px;
445
+ font-weight: 600;
446
+ letter-spacing: 0.06em;
447
+ }
448
+
449
+ .goal-phase {
450
+ display: inline-block;
451
+ margin-right: 7px;
452
+ padding: 0 6px;
453
+ border: 1px solid rgba(232, 180, 95, 0.32);
454
+ border-radius: 999px;
455
+ color: var(--warn);
456
+ font-size: 10px;
457
+ line-height: 16px;
458
+ font-variant-numeric: tabular-nums;
459
+ vertical-align: 1px;
460
+ }
461
+
462
+ .goal-phase[data-phase="paused"] {
463
+ color: var(--muted);
464
+ border-color: var(--border-strong);
465
+ }
466
+
467
+ .goal-phase[data-phase="blocked"] {
468
+ color: var(--danger);
469
+ border-color: rgba(255, 143, 143, 0.4);
470
+ }
471
+
472
+ .goal-phase[data-phase="complete"] {
473
+ color: var(--ok);
474
+ border-color: rgba(61, 220, 151, 0.35);
475
+ }
476
+
477
+ .goal-summary {
478
+ display: -webkit-box;
479
+ margin-top: 1px;
480
+ color: var(--text-soft);
481
+ font-size: 12.5px;
482
+ line-height: 1.5;
483
+ white-space: pre-wrap;
484
+ -webkit-line-clamp: 2;
485
+ -webkit-box-orient: vertical;
486
+ overflow: hidden;
487
+ }
488
+
489
+ .goal-bar.expanded .goal-summary {
490
+ display: block;
491
+ -webkit-line-clamp: unset;
492
+ max-height: 38vh;
493
+ overflow-y: auto;
494
+ }
495
+
496
+ .goal-actions {
497
+ display: flex;
498
+ flex: none;
499
+ gap: 4px;
500
+ padding-top: 6px;
501
+ }
502
+
503
+ .goal-action {
504
+ border: 1px solid var(--border);
505
+ border-radius: 8px;
506
+ background: var(--panel);
507
+ color: var(--muted);
508
+ font-size: 11px;
509
+ padding: 4px 8px;
510
+ transition: background 0.15s ease;
511
+ }
512
+
513
+ .goal-action:active {
514
+ background: var(--panel-3);
515
+ }
516
+
517
+ .goal-editor {
518
+ padding: 0 0 9px;
519
+ }
520
+
521
+ .goal-editor textarea {
522
+ width: 100%;
523
+ min-height: 70px;
524
+ max-height: 32vh;
525
+ resize: vertical;
526
+ border: 1px solid var(--border);
527
+ border-radius: var(--radius-sm);
528
+ background: var(--panel);
529
+ color: var(--text);
530
+ padding: 8px 10px;
531
+ font-size: 13px;
532
+ line-height: 1.5;
533
+ }
534
+
535
+ .goal-editor-actions {
536
+ display: flex;
537
+ justify-content: flex-end;
538
+ gap: 4px;
539
+ padding-top: 5px;
540
+ }
541
+
542
+ /* ── conversation ────────────────────────────────────────── */
543
+
544
+ .conversation {
545
+ flex: 1;
546
+ min-height: 0;
547
+ overflow-y: auto;
548
+ overscroll-behavior: contain;
549
+ padding: 16px 14px 8px;
550
+ -webkit-overflow-scrolling: touch;
551
+ scroll-behavior: smooth;
552
+ }
553
+
554
+ .history-bar {
555
+ display: flex;
556
+ justify-content: center;
557
+ padding: 2px 0 12px;
558
+ }
559
+
560
+ .history-button {
561
+ border: 1px solid var(--border);
562
+ border-radius: 999px;
563
+ background: var(--panel);
564
+ color: var(--muted);
565
+ font-size: 12px;
566
+ padding: 5px 14px;
567
+ }
568
+
569
+ .history-button:disabled {
570
+ opacity: 0.5;
571
+ }
572
+
573
+ .messages {
574
+ display: flex;
575
+ flex-direction: column;
576
+ gap: 13px;
577
+ }
578
+
579
+ .bubble {
580
+ max-width: 92%;
581
+ border: 1px solid var(--border);
582
+ border-radius: var(--radius-lg);
583
+ padding: 10px 13px;
584
+ font-size: 15px;
585
+ line-height: 1.65;
586
+ overflow-wrap: anywhere;
587
+ }
588
+
589
+ .bubble:last-child {
590
+ animation: bubble-in 0.18s ease-out;
591
+ }
592
+
593
+ @keyframes bubble-in {
594
+ from {
595
+ transform: translateY(3px);
596
+ opacity: 0.6;
597
+ }
598
+ }
599
+
600
+ .bubble.user {
601
+ align-self: flex-end;
602
+ background: linear-gradient(180deg, var(--user-2), var(--user));
603
+ border-color: var(--user-border);
604
+ border-bottom-right-radius: 6px;
605
+ color: var(--user-text);
606
+ box-shadow: var(--shadow-1);
607
+ }
608
+
609
+ .bubble.assistant {
610
+ align-self: flex-start;
611
+ background: var(--panel-2);
612
+ border-color: var(--border);
613
+ border-left: 2px solid var(--assistant-edge);
614
+ border-bottom-left-radius: 6px;
615
+ }
616
+
617
+ .bubble.command {
618
+ align-self: flex-end;
619
+ max-width: 94%;
620
+ border-style: dashed;
621
+ border-color: var(--command-border);
622
+ background: var(--command-bg);
623
+ color: var(--command-text);
624
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
625
+ font-size: 12px;
626
+ line-height: 1.5;
627
+ padding: 7px 11px;
628
+ }
629
+
630
+ .bubble.system {
631
+ align-self: center;
632
+ max-width: 96%;
633
+ background: var(--system-bg);
634
+ border-color: var(--system-border);
635
+ color: var(--muted);
636
+ font-size: 12px;
637
+ line-height: 1.55;
638
+ white-space: pre-wrap;
639
+ padding: 7px 11px;
640
+ }
641
+
642
+ .bubble.error {
643
+ align-self: stretch;
644
+ max-width: 100%;
645
+ position: relative;
646
+ background: var(--error-bg);
647
+ border-color: var(--error-border);
648
+ border-left: 3px solid var(--danger);
649
+ color: var(--error-text);
650
+ font-size: 12.5px;
651
+ white-space: pre-wrap;
652
+ padding-left: 12px;
653
+ }
654
+
655
+ .gap-note {
656
+ align-self: center;
657
+ color: var(--faint);
658
+ font-size: 11.5px;
659
+ padding: 2px 8px;
660
+ }
661
+
662
+ /* markdown inside assistant bubbles */
663
+
664
+ .bubble p {
665
+ margin: 0 0 8px;
666
+ }
667
+
668
+ .bubble p:last-child {
669
+ margin-bottom: 0;
670
+ }
671
+
672
+ .bubble h3,
673
+ .bubble h4,
674
+ .bubble h5,
675
+ .bubble h6 {
676
+ margin: 12px 0 6px;
677
+ font-size: 15px;
678
+ font-weight: 650;
679
+ line-height: 1.4;
680
+ color: var(--heading);
681
+ }
682
+
683
+ .bubble h3:first-child,
684
+ .bubble h4:first-child,
685
+ .bubble h5:first-child,
686
+ .bubble h6:first-child {
687
+ margin-top: 0;
688
+ }
689
+
690
+ .bubble h4 {
691
+ font-size: 14.5px;
692
+ }
693
+
694
+ .bubble h5,
695
+ .bubble h6 {
696
+ font-size: 14px;
697
+ color: var(--text);
698
+ }
699
+
700
+ .bubble ul,
701
+ .bubble ol {
702
+ margin: 6px 0;
703
+ padding-left: 22px;
704
+ }
705
+
706
+ .bubble li {
707
+ margin: 3px 0;
708
+ }
709
+
710
+ .bubble li::marker {
711
+ color: var(--accent-2);
712
+ }
713
+
714
+ .bubble blockquote {
715
+ margin: 8px 0;
716
+ padding: 2px 10px;
717
+ border-left: 2px solid var(--border-strong);
718
+ color: var(--text-soft);
719
+ }
720
+
721
+ .bubble hr {
722
+ margin: 12px 0;
723
+ border: 0;
724
+ border-top: 1px solid var(--border);
725
+ }
726
+
727
+ .bubble a {
728
+ color: var(--accent-2);
729
+ text-decoration: underline;
730
+ text-decoration-color: rgba(138, 160, 255, 0.4);
731
+ text-underline-offset: 2px;
732
+ }
733
+
734
+ .bubble code {
735
+ border: 1px solid var(--code-border);
736
+ border-radius: 5px;
737
+ background: var(--code-bg);
738
+ padding: 1px 5px;
739
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
740
+ font-size: 0.88em;
741
+ }
742
+
743
+ .bubble pre {
744
+ margin: 9px 0;
745
+ padding: 11px 12px;
746
+ border: 1px solid var(--code-border);
747
+ border-radius: var(--radius-sm);
748
+ background: var(--code-bg);
749
+ overflow-x: auto;
750
+ white-space: pre;
751
+ -webkit-overflow-scrolling: touch;
752
+ }
753
+
754
+ .bubble pre code {
755
+ border: 0;
756
+ padding: 0;
757
+ background: none;
758
+ font-size: 12.5px;
759
+ line-height: 1.55;
760
+ }
761
+
762
+ .bubble strong {
763
+ color: var(--strong);
764
+ font-weight: 650;
765
+ }
766
+
767
+ .bubble del {
768
+ color: var(--faint);
769
+ }
770
+
771
+ .bubble .table-wrap {
772
+ margin: 9px 0;
773
+ border: 1px solid var(--border);
774
+ border-radius: 10px;
775
+ overflow-x: auto;
776
+ -webkit-overflow-scrolling: touch;
777
+ }
778
+
779
+ .bubble table {
780
+ width: 100%;
781
+ border-collapse: collapse;
782
+ font-size: 12.5px;
783
+ line-height: 1.5;
784
+ }
785
+
786
+ .bubble th,
787
+ .bubble td {
788
+ padding: 6px 9px;
789
+ border-bottom: 1px solid var(--border);
790
+ text-align: left;
791
+ white-space: nowrap;
792
+ }
793
+
794
+ .bubble th {
795
+ background: var(--surface-tint);
796
+ color: var(--heading);
797
+ font-weight: 650;
798
+ }
799
+
800
+ .bubble tbody tr:last-child td {
801
+ border-bottom: 0;
802
+ }
803
+
804
+ /* ── answerable questions ────────────────────────────────── */
805
+
806
+ .question-card {
807
+ flex: none;
808
+ max-height: 44vh;
809
+ overflow-y: auto;
810
+ overscroll-behavior: contain;
811
+ padding: 12px 14px 14px;
812
+ border-top: 1px solid var(--waiting-border);
813
+ background: linear-gradient(180deg, var(--waiting-bg), var(--panel-2));
814
+ -webkit-overflow-scrolling: touch;
815
+ }
816
+
817
+ .question-head {
818
+ display: flex;
819
+ align-items: baseline;
820
+ justify-content: space-between;
821
+ gap: 8px;
822
+ margin-bottom: 6px;
823
+ }
824
+
825
+ .question-kicker {
826
+ color: var(--warn);
827
+ font-size: 11px;
828
+ font-weight: 650;
829
+ letter-spacing: 0.08em;
830
+ }
831
+
832
+ .question-note {
833
+ color: var(--faint);
834
+ font-size: 11px;
835
+ text-align: right;
836
+ }
837
+
838
+ .question-call + .question-call {
839
+ margin-top: 10px;
840
+ padding-top: 10px;
841
+ border-top: 1px solid var(--border);
842
+ }
843
+
844
+ .question-item + .question-item {
845
+ margin-top: 10px;
846
+ padding-top: 10px;
847
+ border-top: 1px dashed var(--border);
848
+ }
849
+
850
+ .question-item-header {
851
+ margin-bottom: 3px;
852
+ color: var(--muted);
853
+ font-size: 10.5px;
854
+ font-weight: 600;
855
+ letter-spacing: 0.04em;
856
+ text-transform: uppercase;
857
+ }
858
+
859
+ .question-text {
860
+ color: var(--text);
861
+ font-size: 13.5px;
862
+ line-height: 1.55;
863
+ white-space: pre-wrap;
864
+ overflow-wrap: anywhere;
865
+ }
866
+
867
+ .question-detail {
868
+ margin-top: 5px;
869
+ color: var(--muted);
870
+ font-size: 11.5px;
871
+ }
872
+
873
+ .question-detail summary {
874
+ cursor: pointer;
875
+ color: var(--accent-2);
876
+ }
877
+
878
+ .question-detail-body {
879
+ margin-top: 5px;
880
+ max-height: 20vh;
881
+ overflow-y: auto;
882
+ white-space: pre-wrap;
883
+ line-height: 1.55;
884
+ overflow-wrap: anywhere;
885
+ }
886
+
887
+ .question-options {
888
+ display: flex;
889
+ flex-direction: column;
890
+ gap: 6px;
891
+ margin-top: 7px;
892
+ }
893
+
894
+ .question-option {
895
+ display: flex;
896
+ flex-direction: column;
897
+ gap: 2px;
898
+ width: 100%;
899
+ border: 1px solid var(--border);
900
+ border-radius: 10px;
901
+ background: var(--panel);
902
+ color: var(--text-soft);
903
+ padding: 8px 10px;
904
+ text-align: left;
905
+ transition: border-color 0.15s ease, background 0.15s ease;
906
+ }
907
+
908
+ .question-option.selected {
909
+ border-color: var(--accent);
910
+ background: var(--accent-soft);
911
+ color: var(--text);
912
+ box-shadow: inset 0 0 0 1px var(--accent-glow);
913
+ }
914
+
915
+ .question-option-label {
916
+ font-size: 13px;
917
+ line-height: 1.4;
918
+ }
919
+
920
+ .question-option-desc {
921
+ color: var(--muted);
922
+ font-size: 11px;
923
+ line-height: 1.45;
924
+ }
925
+
926
+ .question-custom {
927
+ width: 100%;
928
+ margin-top: 7px;
929
+ border: 1px solid var(--border);
930
+ border-radius: 9px;
931
+ background: var(--panel);
932
+ color: var(--text);
933
+ padding: 7px 9px;
934
+ font-size: 12.5px;
935
+ outline: none;
936
+ }
937
+
938
+ .question-custom:focus {
939
+ border-color: var(--focus-border);
940
+ box-shadow: 0 0 0 3px var(--accent-soft);
941
+ }
942
+
943
+ .question-actions {
944
+ display: flex;
945
+ gap: 8px;
946
+ margin-top: 9px;
947
+ }
948
+
949
+ .question-submit {
950
+ flex: 1;
951
+ border: 0;
952
+ border-radius: 10px;
953
+ background: linear-gradient(160deg, var(--accent-2), var(--accent));
954
+ color: #fff;
955
+ padding: 9px 12px;
956
+ font-size: 13px;
957
+ font-weight: 600;
958
+ }
959
+
960
+ .question-submit:disabled {
961
+ opacity: 0.55;
962
+ }
963
+
964
+ .question-skip {
965
+ flex: none;
966
+ border: 1px solid var(--border);
967
+ border-radius: 10px;
968
+ background: var(--panel);
969
+ color: var(--muted);
970
+ padding: 0 14px;
971
+ font-size: 13px;
972
+ }
973
+
974
+ .question-skip:disabled {
975
+ opacity: 0.55;
976
+ }
977
+
978
+ /* per-question skip: a quiet text toggle; the skipped block dims its inputs */
979
+ .question-item-skip {
980
+ margin-top: 6px;
981
+ border: none;
982
+ background: none;
983
+ color: var(--muted);
984
+ font-size: 11.5px;
985
+ padding: 0;
986
+ text-decoration: underline dotted;
987
+ cursor: pointer;
988
+ }
989
+
990
+ .question-item-skip[aria-pressed="true"] {
991
+ color: var(--accent);
992
+ font-weight: 600;
993
+ text-decoration: none;
994
+ }
995
+
996
+ .question-item.skipped .question-options,
997
+ .question-item.skipped .question-custom {
998
+ opacity: 0.5;
999
+ }
1000
+
1001
+ /* ── approval card ───────────────────────────────────────── */
1002
+
1003
+ .approval-card {
1004
+ max-height: 40vh;
1005
+ }
1006
+
1007
+ .approval-head {
1008
+ margin-bottom: 8px;
1009
+ }
1010
+
1011
+ .approval-kicker {
1012
+ color: var(--warn);
1013
+ }
1014
+
1015
+ .approval-title {
1016
+ display: flex;
1017
+ align-items: center;
1018
+ flex-wrap: wrap;
1019
+ gap: 7px;
1020
+ margin-bottom: 6px;
1021
+ }
1022
+
1023
+ .approval-title-label {
1024
+ color: var(--muted);
1025
+ font-size: 12px;
1026
+ }
1027
+
1028
+ .approval-tool {
1029
+ border: 1px solid var(--waiting-border);
1030
+ border-radius: 6px;
1031
+ background: var(--panel);
1032
+ color: var(--warn);
1033
+ padding: 1px 6px;
1034
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1035
+ font-size: 11.5px;
1036
+ overflow-wrap: anywhere;
1037
+ }
1038
+
1039
+ .approval-reason {
1040
+ color: var(--text-soft);
1041
+ }
1042
+
1043
+ .approval-detail {
1044
+ margin-top: 6px;
1045
+ }
1046
+
1047
+ .approval-actions {
1048
+ margin-top: 10px;
1049
+ }
1050
+
1051
+ .approval-reject {
1052
+ min-width: 76px;
1053
+ color: var(--danger);
1054
+ border-color: var(--error-border);
1055
+ }
1056
+
1057
+ .approval-allow {
1058
+ flex: 1;
1059
+ }
1060
+
1061
+ .approval-reject:focus-visible,
1062
+ .approval-allow:focus-visible {
1063
+ outline: 2px solid var(--focus-border);
1064
+ outline-offset: 2px;
1065
+ }
1066
+
1067
+ /* ── session paging ──────────────────────────────────────── */
1068
+
1069
+ .list-more {
1070
+ flex: none;
1071
+ display: flex;
1072
+ align-items: center;
1073
+ justify-content: center;
1074
+ gap: 8px;
1075
+ padding: 8px 14px;
1076
+ border-top: 1px solid var(--border);
1077
+ background: var(--panel);
1078
+ }
1079
+
1080
+ .load-more-button {
1081
+ border: 1px solid var(--border);
1082
+ border-radius: 999px;
1083
+ background: var(--panel-2);
1084
+ color: var(--text-soft);
1085
+ font-size: 12px;
1086
+ padding: 6px 16px;
1087
+ }
1088
+
1089
+ .load-more-button:disabled {
1090
+ opacity: 0.55;
1091
+ }
1092
+
1093
+ .list-more-hint {
1094
+ color: var(--faint);
1095
+ font-size: 10.5px;
1096
+ font-variant-numeric: tabular-nums;
1097
+ }
1098
+
1099
+ ::selection {
1100
+ background: var(--accent-soft);
1101
+ color: var(--text);
1102
+ }
1103
+
1104
+ :focus-visible {
1105
+ outline: 2px solid var(--accent);
1106
+ outline-offset: 2px;
1107
+ }
1108
+
1109
+ .empty-state {
1110
+ color: var(--muted);
1111
+ text-align: center;
1112
+ padding: 48px 20px 60px;
1113
+ font-size: 13.5px;
1114
+ display: flex;
1115
+ flex-direction: column;
1116
+ align-items: center;
1117
+ gap: 14px;
1118
+ }
1119
+
1120
+ .empty-state p {
1121
+ margin: 0;
1122
+ max-width: 280px;
1123
+ line-height: 1.65;
1124
+ }
1125
+
1126
+ .empty-art {
1127
+ position: relative;
1128
+ width: 64px;
1129
+ height: 64px;
1130
+ }
1131
+
1132
+ .empty-art-core {
1133
+ position: absolute;
1134
+ inset: 8px;
1135
+ border: 1px solid var(--active-border);
1136
+ border-radius: 20px;
1137
+ background: linear-gradient(145deg, var(--accent-soft), transparent 72%);
1138
+ box-shadow: inset 0 1px 0 var(--surface-tint);
1139
+ animation: empty-float 5s ease-in-out infinite;
1140
+ }
1141
+
1142
+ .empty-art-core::after {
1143
+ content: "";
1144
+ position: absolute;
1145
+ inset: 14px;
1146
+ border: 2px solid var(--accent);
1147
+ border-radius: 9px;
1148
+ opacity: 0.5;
1149
+ }
1150
+
1151
+ .empty-art-dot {
1152
+ position: absolute;
1153
+ width: 6px;
1154
+ height: 6px;
1155
+ border-radius: 50%;
1156
+ background: var(--accent-2);
1157
+ opacity: 0.55;
1158
+ }
1159
+
1160
+ .empty-art-dot-a {
1161
+ top: 6px;
1162
+ right: 4px;
1163
+ }
1164
+
1165
+ .empty-art-dot-b {
1166
+ left: 2px;
1167
+ bottom: 8px;
1168
+ width: 4px;
1169
+ height: 4px;
1170
+ }
1171
+
1172
+ @keyframes empty-float {
1173
+ 50% {
1174
+ transform: translateY(-4px);
1175
+ }
1176
+ }
1177
+
1178
+ .running-bar {
1179
+ display: flex;
1180
+ align-items: center;
1181
+ gap: 8px;
1182
+ color: var(--muted);
1183
+ font-size: 12.5px;
1184
+ padding: 12px 4px 8px;
1185
+ }
1186
+
1187
+ #runningText {
1188
+ flex: 1;
1189
+ min-width: 0;
1190
+ overflow: hidden;
1191
+ text-overflow: ellipsis;
1192
+ white-space: nowrap;
1193
+ }
1194
+
1195
+ .running-bar .text-button {
1196
+ flex: none;
1197
+ }
1198
+
1199
+ .waiting-bar {
1200
+ margin-top: 10px;
1201
+ padding: 9px 11px;
1202
+ border: 1px solid var(--waiting-border);
1203
+ border-radius: 10px;
1204
+ background: var(--waiting-bg);
1205
+ color: var(--warn);
1206
+ font-size: 12.5px;
1207
+ }
1208
+
1209
+ .waiting-bar a {
1210
+ color: var(--accent-2);
1211
+ text-decoration: underline;
1212
+ text-decoration-color: rgba(138, 160, 255, 0.4);
1213
+ text-underline-offset: 2px;
1214
+ }
1215
+
1216
+ .spinner {
1217
+ width: 13px;
1218
+ height: 13px;
1219
+ flex: none;
1220
+ border: 2px solid var(--spinner-track);
1221
+ border-top-color: var(--accent);
1222
+ border-radius: 50%;
1223
+ animation: spin 0.8s linear infinite;
1224
+ }
1225
+
1226
+ @keyframes spin {
1227
+ to {
1228
+ transform: rotate(360deg);
1229
+ }
1230
+ }
1231
+
1232
+ .text-button {
1233
+ border: 0;
1234
+ background: none;
1235
+ color: var(--accent-2);
1236
+ padding: 4px 6px;
1237
+ font-size: 13px;
1238
+ }
1239
+
1240
+ /* floating jump-to-latest */
1241
+
1242
+ .scroll-bottom-wrap {
1243
+ position: sticky;
1244
+ bottom: 4px;
1245
+ z-index: 4;
1246
+ height: 34px;
1247
+ display: flex;
1248
+ align-items: flex-end;
1249
+ justify-content: center;
1250
+ pointer-events: none;
1251
+ }
1252
+
1253
+ .scroll-bottom {
1254
+ pointer-events: auto;
1255
+ height: 30px;
1256
+ padding: 0 12px;
1257
+ border: 1px solid var(--border-strong);
1258
+ border-radius: 999px;
1259
+ background: var(--scroll-bg);
1260
+ color: var(--text-soft);
1261
+ font-size: 12px;
1262
+ box-shadow: var(--shadow-2);
1263
+ backdrop-filter: blur(8px);
1264
+ }
1265
+
1266
+ /* ── composer ────────────────────────────────────────────── */
1267
+
1268
+ .composer {
1269
+ position: relative;
1270
+ border-top: 1px solid var(--border);
1271
+ background: linear-gradient(180deg, var(--composer-bg), var(--composer-bg) 30%);
1272
+ backdrop-filter: blur(12px);
1273
+ -webkit-backdrop-filter: blur(12px);
1274
+ padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
1275
+ }
1276
+
1277
+ .composer::before {
1278
+ content: "";
1279
+ position: absolute;
1280
+ top: -1px;
1281
+ left: 12%;
1282
+ right: 12%;
1283
+ height: 1px;
1284
+ background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
1285
+ pointer-events: none;
1286
+ }
1287
+
1288
+ .command-menu {
1289
+ position: absolute;
1290
+ left: 12px;
1291
+ right: 12px;
1292
+ bottom: calc(100% + 6px);
1293
+ max-height: 46vh;
1294
+ overflow-y: auto;
1295
+ border: 1px solid var(--border-strong);
1296
+ border-radius: 14px;
1297
+ background: var(--menu-bg);
1298
+ box-shadow: var(--shadow-2);
1299
+ }
1300
+
1301
+ .command-item {
1302
+ display: flex;
1303
+ align-items: baseline;
1304
+ gap: 10px;
1305
+ width: 100%;
1306
+ border: 0;
1307
+ border-bottom: 1px solid var(--menu-sep);
1308
+ background: none;
1309
+ color: var(--text);
1310
+ text-align: left;
1311
+ padding: 10px 13px;
1312
+ }
1313
+
1314
+ .command-item:last-child {
1315
+ border-bottom: 0;
1316
+ }
1317
+
1318
+ .command-item:active {
1319
+ background: var(--panel-3);
1320
+ }
1321
+
1322
+ .command-name {
1323
+ flex: none;
1324
+ color: var(--accent-2);
1325
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1326
+ font-size: 12.5px;
1327
+ }
1328
+
1329
+ .command-desc {
1330
+ flex: 1;
1331
+ min-width: 0;
1332
+ color: var(--muted);
1333
+ font-size: 11.5px;
1334
+ overflow: hidden;
1335
+ text-overflow: ellipsis;
1336
+ white-space: nowrap;
1337
+ }
1338
+
1339
+ .queue-bar {
1340
+ display: flex;
1341
+ flex-direction: column;
1342
+ gap: 6px;
1343
+ margin-bottom: 8px;
1344
+ max-height: 34vh;
1345
+ overflow-y: auto;
1346
+ }
1347
+
1348
+ .queue-item {
1349
+ display: flex;
1350
+ flex-wrap: wrap;
1351
+ align-items: flex-start;
1352
+ gap: 4px 8px;
1353
+ border: 1px solid var(--queue-border);
1354
+ border-radius: 10px;
1355
+ background: var(--queue-bg);
1356
+ padding: 7px 9px;
1357
+ }
1358
+
1359
+ .queue-item textarea {
1360
+ flex: 1 1 100%;
1361
+ min-height: 46px;
1362
+ max-height: 24vh;
1363
+ resize: vertical;
1364
+ border: 1px solid var(--border);
1365
+ border-radius: 7px;
1366
+ background: var(--panel);
1367
+ color: var(--text);
1368
+ padding: 6px 8px;
1369
+ font-size: 13px;
1370
+ line-height: 1.45;
1371
+ }
1372
+
1373
+ .queue-text {
1374
+ flex: 1 1 100%;
1375
+ min-width: 0;
1376
+ color: var(--text-soft);
1377
+ font-size: 12.5px;
1378
+ line-height: 1.5;
1379
+ white-space: pre-wrap;
1380
+ display: -webkit-box;
1381
+ -webkit-line-clamp: 2;
1382
+ -webkit-box-orient: vertical;
1383
+ overflow: hidden;
1384
+ }
1385
+
1386
+ .queue-actions {
1387
+ display: flex;
1388
+ flex: none;
1389
+ gap: 4px;
1390
+ margin-left: auto;
1391
+ }
1392
+
1393
+ .queue-action {
1394
+ border: 1px solid var(--border);
1395
+ border-radius: 6px;
1396
+ background: var(--panel);
1397
+ color: var(--muted);
1398
+ font-size: 11px;
1399
+ padding: 2px 8px;
1400
+ }
1401
+
1402
+ .queue-action:active {
1403
+ background: var(--panel-3);
1404
+ }
1405
+
1406
+ .banner {
1407
+ margin-bottom: 8px;
1408
+ padding: 8px 11px;
1409
+ border: 1px solid var(--error-border);
1410
+ border-radius: 10px;
1411
+ background: var(--error-bg);
1412
+ color: var(--error-text);
1413
+ font-size: 12.5px;
1414
+ line-height: 1.5;
1415
+ }
1416
+
1417
+ .banner[data-tone="ok"] {
1418
+ border-color: var(--success-border);
1419
+ background: var(--success-bg);
1420
+ color: var(--ok);
1421
+ }
1422
+
1423
+ .composer-row {
1424
+ display: flex;
1425
+ align-items: flex-end;
1426
+ gap: 9px;
1427
+ }
1428
+
1429
+ #promptInput {
1430
+ flex: 1;
1431
+ min-height: 58px;
1432
+ max-height: 180px;
1433
+ resize: none;
1434
+ border: 1px solid var(--border);
1435
+ border-radius: 14px;
1436
+ background: var(--panel);
1437
+ padding: 9px 12px;
1438
+ outline: none;
1439
+ line-height: 1.5;
1440
+ transition: border-color 0.15s ease, box-shadow 0.15s ease;
1441
+ }
1442
+
1443
+ #promptInput::placeholder {
1444
+ color: var(--faint);
1445
+ }
1446
+
1447
+ #promptInput:focus {
1448
+ border-color: var(--focus-border);
1449
+ box-shadow: 0 0 0 3px var(--accent-soft);
1450
+ }
1451
+
1452
+ .send-button {
1453
+ flex: none;
1454
+ width: 44px;
1455
+ height: 44px;
1456
+ border: 0;
1457
+ border-radius: 50%;
1458
+ background: linear-gradient(160deg, var(--accent-2), var(--accent));
1459
+ color: #fff;
1460
+ font-size: 20px;
1461
+ line-height: 1;
1462
+ display: grid;
1463
+ place-items: center;
1464
+ box-shadow: 0 4px 14px var(--accent-glow);
1465
+ transition: transform 0.12s ease, opacity 0.15s ease;
1466
+ }
1467
+
1468
+ .send-button:active {
1469
+ transform: scale(0.94);
1470
+ }
1471
+
1472
+ .send-button:disabled {
1473
+ opacity: 0.4;
1474
+ box-shadow: none;
1475
+ }
1476
+
1477
+ .image-button {
1478
+ flex: none;
1479
+ width: 44px;
1480
+ height: 44px;
1481
+ border: 1px solid var(--border);
1482
+ border-radius: 50%;
1483
+ background: var(--panel);
1484
+ color: var(--text-soft);
1485
+ font-size: 15px;
1486
+ font-weight: 600;
1487
+ display: grid;
1488
+ place-items: center;
1489
+ transition: transform 0.12s ease, opacity 0.15s ease;
1490
+ }
1491
+
1492
+ .image-button:active {
1493
+ transform: scale(0.94);
1494
+ }
1495
+
1496
+ .image-button:disabled {
1497
+ opacity: 0.4;
1498
+ }
1499
+
1500
+ .image-tray {
1501
+ display: flex;
1502
+ gap: 8px;
1503
+ overflow-x: auto;
1504
+ padding: 2px 2px 8px;
1505
+ scrollbar-width: thin;
1506
+ }
1507
+
1508
+ .image-tray[hidden] {
1509
+ display: none;
1510
+ }
1511
+
1512
+ .image-chip {
1513
+ position: relative;
1514
+ flex: none;
1515
+ width: 64px;
1516
+ height: 64px;
1517
+ border: 1px solid var(--border);
1518
+ border-radius: 10px;
1519
+ background: var(--panel-2);
1520
+ overflow: hidden;
1521
+ }
1522
+
1523
+ .image-chip img {
1524
+ display: block;
1525
+ width: 100%;
1526
+ height: 100%;
1527
+ object-fit: cover;
1528
+ }
1529
+
1530
+ .image-chip-remove {
1531
+ position: absolute;
1532
+ top: 2px;
1533
+ right: 2px;
1534
+ width: 20px;
1535
+ height: 20px;
1536
+ border: 0;
1537
+ border-radius: 50%;
1538
+ background: rgba(0, 0, 0, 0.65);
1539
+ color: #fff;
1540
+ font-size: 13px;
1541
+ line-height: 1;
1542
+ display: grid;
1543
+ place-items: center;
1544
+ padding: 0;
1545
+ }
1546
+
1547
+ .image-chip-remove:focus-visible {
1548
+ outline: 2px solid var(--focus-border);
1549
+ outline-offset: 1px;
1550
+ }
1551
+
1552
+ .model-bar {
1553
+ display: flex;
1554
+ align-items: center;
1555
+ flex-wrap: wrap;
1556
+ gap: 6px 8px;
1557
+ padding: 7px 2px 0;
1558
+ font-size: 11.5px;
1559
+ color: var(--muted);
1560
+ }
1561
+
1562
+ .model-label {
1563
+ flex: none;
1564
+ }
1565
+
1566
+ .model-select {
1567
+ flex: 1;
1568
+ min-width: 0;
1569
+ border: 1px solid var(--border);
1570
+ border-radius: 8px;
1571
+ background: var(--panel);
1572
+ color: var(--text-soft);
1573
+ padding: 4px 7px;
1574
+ font-size: 11.5px;
1575
+ }
1576
+
1577
+ .effort-select {
1578
+ flex: none;
1579
+ width: auto;
1580
+ max-width: 96px;
1581
+ }
1582
+
1583
+ .model-status {
1584
+ flex: none;
1585
+ min-width: 0;
1586
+ color: var(--muted);
1587
+ }
1588
+
1589
+ .model-refresh {
1590
+ flex: none;
1591
+ width: 24px;
1592
+ height: 24px;
1593
+ border: 1px solid var(--border);
1594
+ border-radius: 8px;
1595
+ background: var(--panel);
1596
+ color: var(--muted);
1597
+ font-size: 12px;
1598
+ line-height: 1;
1599
+ }
1600
+
1601
+ .model-refresh:active {
1602
+ background: var(--panel-3);
1603
+ }
1604
+
1605
+ .model-refresh:disabled {
1606
+ opacity: 0.5;
1607
+ }
1608
+
1609
+ /* ── session sheet ───────────────────────────────────────── */
1610
+
1611
+ .sheet {
1612
+ position: fixed;
1613
+ inset: 0;
1614
+ z-index: 20;
1615
+ }
1616
+
1617
+ .sheet-backdrop {
1618
+ position: absolute;
1619
+ inset: 0;
1620
+ background: var(--backdrop);
1621
+ backdrop-filter: blur(6px);
1622
+ -webkit-backdrop-filter: blur(6px);
1623
+ }
1624
+
1625
+ .sheet-panel {
1626
+ position: absolute;
1627
+ top: 0;
1628
+ bottom: 0;
1629
+ left: 0;
1630
+ width: min(88vw, 400px);
1631
+ display: flex;
1632
+ flex-direction: column;
1633
+ background: linear-gradient(180deg, var(--bg-elevated), var(--bg) 140%);
1634
+ border-right: 1px solid var(--border);
1635
+ border-radius: 0 20px 20px 0;
1636
+ padding-top: env(safe-area-inset-top);
1637
+ box-shadow: 16px 0 48px var(--sheet-shadow);
1638
+ animation: slide-in 0.18s ease-out;
1639
+ }
1640
+
1641
+ @keyframes slide-in {
1642
+ from {
1643
+ transform: translateX(-16px);
1644
+ opacity: 0.5;
1645
+ }
1646
+ }
1647
+
1648
+ .sheet-header {
1649
+ display: flex;
1650
+ align-items: flex-start;
1651
+ justify-content: space-between;
1652
+ flex-wrap: wrap;
1653
+ gap: 10px;
1654
+ padding: 15px 14px 11px;
1655
+ border-bottom: 1px solid var(--border);
1656
+ }
1657
+
1658
+ .sheet-heading {
1659
+ flex: 1 1 0;
1660
+ min-width: 0;
1661
+ }
1662
+
1663
+ .sheet-title {
1664
+ overflow: hidden;
1665
+ font-size: 16px;
1666
+ font-weight: 650;
1667
+ letter-spacing: 0.02em;
1668
+ text-overflow: ellipsis;
1669
+ white-space: nowrap;
1670
+ }
1671
+
1672
+ .sheet-subtitle {
1673
+ margin-top: 2px;
1674
+ color: var(--muted);
1675
+ font-size: 11.5px;
1676
+ overflow: hidden;
1677
+ text-overflow: ellipsis;
1678
+ white-space: nowrap;
1679
+ }
1680
+
1681
+ .sheet-actions {
1682
+ display: flex;
1683
+ align-items: center;
1684
+ justify-content: flex-end;
1685
+ flex: 0 0 auto;
1686
+ flex-wrap: nowrap;
1687
+ gap: 6px;
1688
+ margin-left: auto;
1689
+ }
1690
+
1691
+ .sheet-actions .text-button {
1692
+ padding: 6px 10px;
1693
+ border: 1px solid var(--active-border);
1694
+ border-radius: 10px;
1695
+ background: var(--accent-soft);
1696
+ font-size: 12.5px;
1697
+ font-weight: 600;
1698
+ white-space: nowrap;
1699
+ }
1700
+
1701
+ .notify-toggle {
1702
+ display: inline-flex;
1703
+ align-items: center;
1704
+ gap: 5px;
1705
+ }
1706
+
1707
+ .notify-icon {
1708
+ flex: none;
1709
+ width: 15px;
1710
+ height: 15px;
1711
+ }
1712
+
1713
+ .notify-toggle[aria-pressed="true"] {
1714
+ border-color: var(--success-border);
1715
+ background: var(--success-bg);
1716
+ color: var(--ok);
1717
+ }
1718
+
1719
+ .list-toolbar {
1720
+ position: relative;
1721
+ display: flex;
1722
+ align-items: center;
1723
+ gap: 8px;
1724
+ padding: 8px 12px 2px;
1725
+ }
1726
+
1727
+ .list-toolbar .session-search-bar {
1728
+ flex: 1;
1729
+ min-width: 0;
1730
+ padding: 0;
1731
+ }
1732
+
1733
+ .view-menu-button {
1734
+ flex: none;
1735
+ display: inline-flex;
1736
+ align-items: center;
1737
+ gap: 5px;
1738
+ padding: 6px 8px;
1739
+ border: 1px solid var(--border);
1740
+ border-radius: 10px;
1741
+ background: var(--panel);
1742
+ color: var(--muted);
1743
+ font-size: 11px;
1744
+ line-height: 18px;
1745
+ white-space: nowrap;
1746
+ transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
1747
+ }
1748
+
1749
+ .view-menu-button[aria-expanded="true"] {
1750
+ border-color: var(--active-border);
1751
+ background: var(--accent-soft);
1752
+ color: var(--text-soft);
1753
+ }
1754
+
1755
+ .view-menu-icon {
1756
+ flex: none;
1757
+ width: 15px;
1758
+ height: 15px;
1759
+ color: var(--faint);
1760
+ }
1761
+
1762
+ .view-summary {
1763
+ position: absolute;
1764
+ width: 1px;
1765
+ height: 1px;
1766
+ overflow: hidden;
1767
+ clip-path: inset(50%);
1768
+ white-space: nowrap;
1769
+ }
1770
+
1771
+ .view-chevron {
1772
+ flex: none;
1773
+ width: 6px;
1774
+ height: 6px;
1775
+ margin-bottom: 3px;
1776
+ border-right: 1.5px solid currentColor;
1777
+ border-bottom: 1.5px solid currentColor;
1778
+ transform: rotate(45deg);
1779
+ opacity: 0.6;
1780
+ }
1781
+
1782
+ .view-menu {
1783
+ position: absolute;
1784
+ top: calc(100% + 4px);
1785
+ right: 12px;
1786
+ z-index: 20;
1787
+ width: min(250px, calc(100% - 24px));
1788
+ max-height: min(420px, calc(100dvh - 180px));
1789
+ overflow-y: auto;
1790
+ overscroll-behavior: contain;
1791
+ padding: 6px;
1792
+ border: 1px solid var(--border);
1793
+ border-radius: 14px;
1794
+ background: var(--bg-elevated);
1795
+ box-shadow: var(--shadow-2);
1796
+ }
1797
+
1798
+ .view-menu-group + .view-menu-group {
1799
+ margin-top: 2px;
1800
+ padding-top: 4px;
1801
+ border-top: 1px solid var(--border);
1802
+ }
1803
+
1804
+ .view-menu-label {
1805
+ padding: 5px 9px 3px;
1806
+ color: var(--faint);
1807
+ font-size: 10px;
1808
+ letter-spacing: 0.06em;
1809
+ text-transform: uppercase;
1810
+ }
1811
+
1812
+ .view-menu-option {
1813
+ display: flex;
1814
+ align-items: center;
1815
+ justify-content: flex-start;
1816
+ gap: 8px;
1817
+ width: 100%;
1818
+ padding: 7px 9px;
1819
+ border: 0;
1820
+ border-radius: 8px;
1821
+ background: transparent;
1822
+ color: var(--text-soft);
1823
+ font-size: 12.5px;
1824
+ text-align: left;
1825
+ }
1826
+
1827
+ .view-menu-option::after {
1828
+ content: "";
1829
+ flex: none;
1830
+ width: 5px;
1831
+ height: 9px;
1832
+ margin-right: 3px;
1833
+ margin-left: auto;
1834
+ border-right: 1.6px solid transparent;
1835
+ border-bottom: 1.6px solid transparent;
1836
+ transform: rotate(45deg) translateY(-1px);
1837
+ }
1838
+
1839
+ .view-menu-option.is-selected {
1840
+ background: var(--accent-soft);
1841
+ color: var(--accent);
1842
+ font-weight: 600;
1843
+ }
1844
+
1845
+ .view-menu-option.is-selected::after {
1846
+ border-color: currentColor;
1847
+ }
1848
+
1849
+ .view-menu-option.is-selected:hover {
1850
+ background: var(--accent-soft);
1851
+ }
1852
+
1853
+ .view-menu-option:active {
1854
+ background: var(--panel-3);
1855
+ }
1856
+
1857
+ .view-menu-count {
1858
+ color: var(--faint);
1859
+ font-size: 10.5px;
1860
+ font-variant-numeric: tabular-nums;
1861
+ }
1862
+
1863
+ .new-session-plus {
1864
+ display: none;
1865
+ font-size: 17px;
1866
+ line-height: 1;
1867
+ }
1868
+
1869
+ .sheet-foot {
1870
+ flex: none;
1871
+ display: flex;
1872
+ align-items: center;
1873
+ justify-content: center;
1874
+ gap: 9px;
1875
+ padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
1876
+ border-top: 1px solid var(--border);
1877
+ color: var(--faint);
1878
+ font-size: 10.5px;
1879
+ letter-spacing: 0.04em;
1880
+ text-align: center;
1881
+ }
1882
+
1883
+ .lang-toggle {
1884
+ flex: none;
1885
+ border: 1px solid var(--border);
1886
+ border-radius: 999px;
1887
+ background: var(--panel);
1888
+ color: var(--muted);
1889
+ font-size: 9.5px;
1890
+ line-height: 1;
1891
+ letter-spacing: 0.02em;
1892
+ padding: 4px 7px;
1893
+ }
1894
+
1895
+ .lang-toggle:active {
1896
+ transform: scale(0.97);
1897
+ }
1898
+
1899
+ .appearance-button {
1900
+ padding-inline: 8px;
1901
+ }
1902
+
1903
+ .appearance-panel {
1904
+ position: absolute;
1905
+ left: 12px;
1906
+ right: 12px;
1907
+ bottom: 48px;
1908
+ z-index: 30;
1909
+ max-height: calc(100dvh - 90px);
1910
+ overflow-y: auto;
1911
+ overscroll-behavior: contain;
1912
+ padding: 10px 10px 12px;
1913
+ border: 1px solid var(--border);
1914
+ border-radius: 16px;
1915
+ background: var(--bg-elevated);
1916
+ box-shadow: var(--shadow-2);
1917
+ }
1918
+
1919
+ .appearance-head {
1920
+ display: flex;
1921
+ align-items: center;
1922
+ justify-content: space-between;
1923
+ padding: 2px 4px 8px;
1924
+ font-size: 13px;
1925
+ font-weight: 650;
1926
+ }
1927
+
1928
+ .appearance-close {
1929
+ border: 0;
1930
+ border-radius: 8px;
1931
+ background: transparent;
1932
+ color: var(--muted);
1933
+ font-size: 18px;
1934
+ line-height: 1;
1935
+ padding: 3px 8px;
1936
+ }
1937
+
1938
+ .appearance-label {
1939
+ padding: 8px 4px 4px;
1940
+ color: var(--faint);
1941
+ font-size: 10px;
1942
+ letter-spacing: 0.06em;
1943
+ text-transform: uppercase;
1944
+ }
1945
+
1946
+ .appearance-options {
1947
+ display: flex;
1948
+ flex-direction: column;
1949
+ gap: 2px;
1950
+ }
1951
+
1952
+ .appearance-option {
1953
+ display: flex;
1954
+ align-items: center;
1955
+ gap: 10px;
1956
+ width: 100%;
1957
+ padding: 8px;
1958
+ border: 0;
1959
+ border-radius: 10px;
1960
+ background: transparent;
1961
+ color: var(--text-soft);
1962
+ font-size: 12.5px;
1963
+ text-align: left;
1964
+ }
1965
+
1966
+ .appearance-option.is-selected {
1967
+ background: var(--accent-soft);
1968
+ color: var(--accent);
1969
+ }
1970
+
1971
+ .appearance-swatch {
1972
+ flex: none;
1973
+ width: 22px;
1974
+ height: 22px;
1975
+ border: 1px solid var(--border);
1976
+ border-radius: 50%;
1977
+ }
1978
+
1979
+ .appearance-swatch[data-family="claude"] {
1980
+ background: linear-gradient(135deg, #faf9f5 48%, #b05630 52%);
1981
+ }
1982
+
1983
+ .appearance-swatch[data-family="codex"] {
1984
+ background: linear-gradient(135deg, #0b0c0e 48%, #2fd6a2 52%);
1985
+ }
1986
+
1987
+ .appearance-swatch[data-family="mac"] {
1988
+ background: linear-gradient(135deg, #f2f2f7 48%, #0a84ff 52%);
1989
+ }
1990
+
1991
+ .appearance-option-label {
1992
+ min-width: 0;
1993
+ overflow: hidden;
1994
+ text-overflow: ellipsis;
1995
+ white-space: nowrap;
1996
+ font-weight: 600;
1997
+ }
1998
+
1999
+ .appearance-hint {
2000
+ margin-left: auto;
2001
+ color: var(--muted);
2002
+ font-size: 10.5px;
2003
+ }
2004
+
2005
+ .appearance-option.is-selected .appearance-hint {
2006
+ color: var(--accent);
2007
+ opacity: 0.8;
2008
+ }
2009
+
2010
+ .appearance-modes {
2011
+ display: flex;
2012
+ gap: 6px;
2013
+ padding: 2px;
2014
+ }
2015
+
2016
+ .appearance-mode {
2017
+ flex: 1;
2018
+ min-width: 0;
2019
+ padding: 7px 4px;
2020
+ border: 1px solid var(--border);
2021
+ border-radius: 9px;
2022
+ background: var(--panel);
2023
+ color: var(--muted);
2024
+ font-size: 11.5px;
2025
+ white-space: nowrap;
2026
+ }
2027
+
2028
+ .appearance-mode.is-selected {
2029
+ border-color: var(--active-border);
2030
+ background: var(--accent-soft);
2031
+ color: var(--accent);
2032
+ font-weight: 600;
2033
+ }
2034
+
2035
+ .new-session-options {
2036
+ display: flex;
2037
+ flex-direction: column;
2038
+ }
2039
+
2040
+ .preset-bar {
2041
+ display: flex;
2042
+ align-items: center;
2043
+ gap: 8px;
2044
+ padding: 9px 14px;
2045
+ border-bottom: 1px solid var(--border);
2046
+ background: var(--surface-tint);
2047
+ }
2048
+
2049
+ @media (max-width: 899px) {
2050
+ .new-session-options {
2051
+ flex-direction: row;
2052
+ gap: 8px;
2053
+ padding: 8px 12px;
2054
+ border-bottom: 1px solid var(--border);
2055
+ background: var(--surface-tint);
2056
+ }
2057
+
2058
+ .new-session-options:not(:has(.preset-bar:not([hidden]))) {
2059
+ display: none;
2060
+ }
2061
+
2062
+ .new-session-options .preset-bar {
2063
+ flex: 1;
2064
+ min-width: 0;
2065
+ padding: 0;
2066
+ border-bottom: 0;
2067
+ background: transparent;
2068
+ }
2069
+
2070
+ .new-session-options .preset-label {
2071
+ position: absolute;
2072
+ width: 1px;
2073
+ height: 1px;
2074
+ overflow: hidden;
2075
+ clip-path: inset(50%);
2076
+ white-space: nowrap;
2077
+ }
2078
+
2079
+ .new-session-options .preset-select {
2080
+ width: 100%;
2081
+ }
2082
+ }
2083
+
2084
+ .preset-label {
2085
+ flex: none;
2086
+ color: var(--muted);
2087
+ font-size: 11.5px;
2088
+ }
2089
+
2090
+ .preset-select {
2091
+ flex: 1;
2092
+ min-width: 0;
2093
+ border: 1px solid var(--border);
2094
+ border-radius: 7px;
2095
+ background: var(--panel);
2096
+ color: var(--text-soft);
2097
+ padding: 4px 7px;
2098
+ font-size: 11.5px;
2099
+ }
2100
+
2101
+ .session-search-bar {
2102
+ padding: 9px 14px 2px;
2103
+ }
2104
+
2105
+ .session-search {
2106
+ width: 100%;
2107
+ border: 1px solid var(--border);
2108
+ border-radius: 8px;
2109
+ background: var(--panel);
2110
+ color: var(--text);
2111
+ padding: 6px 9px;
2112
+ font-size: 12px;
2113
+ outline: none;
2114
+ }
2115
+
2116
+ .session-search:focus {
2117
+ border-color: var(--focus-border);
2118
+ box-shadow: 0 0 0 3px var(--accent-soft);
2119
+ }
2120
+
2121
+ .session-search::placeholder {
2122
+ color: var(--faint);
2123
+ }
2124
+
2125
+ .session-list {
2126
+ flex: 1;
2127
+ min-height: 0;
2128
+ overflow-y: auto;
2129
+ overscroll-behavior: contain;
2130
+ padding: 6px 10px 10px;
2131
+ }
2132
+
2133
+ .session-row {
2134
+ position: relative;
2135
+ display: flex;
2136
+ align-items: stretch;
2137
+ gap: 2px;
2138
+ border: 1px solid transparent;
2139
+ border-radius: 14px;
2140
+ margin-top: 3px;
2141
+ transition: background 0.15s ease, border-color 0.15s ease;
2142
+ }
2143
+
2144
+ .session-row:hover {
2145
+ background: var(--surface-tint);
2146
+ }
2147
+
2148
+ .session-row.active {
2149
+ border-color: var(--active-border);
2150
+ background: linear-gradient(100deg, var(--accent-soft), transparent 82%);
2151
+ box-shadow: inset 3px 0 0 var(--accent);
2152
+ }
2153
+
2154
+ .session-row.archived {
2155
+ opacity: 0.74;
2156
+ }
2157
+
2158
+ .session-open {
2159
+ flex: 1;
2160
+ min-width: 0;
2161
+ display: flex;
2162
+ align-items: center;
2163
+ gap: 10px;
2164
+ border: 0;
2165
+ border-radius: 14px;
2166
+ background: none;
2167
+ color: inherit;
2168
+ text-align: left;
2169
+ padding: 10px 2px 10px 10px;
2170
+ }
2171
+
2172
+ .session-open:active {
2173
+ transform: scale(0.995);
2174
+ }
2175
+
2176
+ .session-avatar {
2177
+ position: relative;
2178
+ flex: none;
2179
+ width: 36px;
2180
+ height: 36px;
2181
+ border-radius: 12px;
2182
+ display: grid;
2183
+ place-items: center;
2184
+ color: #fff;
2185
+ font-size: 14px;
2186
+ font-weight: 650;
2187
+ line-height: 1;
2188
+ background: linear-gradient(145deg, var(--avatar-a, #5b7cfa), var(--avatar-b, #3146a3));
2189
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
2190
+ }
2191
+
2192
+ .session-avatar[data-tone="0"] {
2193
+ --avatar-a: #6b86ff;
2194
+ --avatar-b: #3146a3;
2195
+ }
2196
+
2197
+ .session-avatar[data-tone="1"] {
2198
+ --avatar-a: #31c4a4;
2199
+ --avatar-b: #146b63;
2200
+ }
2201
+
2202
+ .session-avatar[data-tone="2"] {
2203
+ --avatar-a: #e7a85a;
2204
+ --avatar-b: #9a5a24;
2205
+ }
2206
+
2207
+ .session-avatar[data-tone="3"] {
2208
+ --avatar-a: #b084f5;
2209
+ --avatar-b: #63389e;
2210
+ }
2211
+
2212
+ .session-avatar[data-tone="4"] {
2213
+ --avatar-a: #ef7f9b;
2214
+ --avatar-b: #983b58;
2215
+ }
2216
+
2217
+ .session-avatar[data-tone="5"] {
2218
+ --avatar-a: #56a8e8;
2219
+ --avatar-b: #245b91;
2220
+ }
2221
+
2222
+ .session-row.archived .session-avatar {
2223
+ filter: grayscale(0.55);
2224
+ opacity: 0.82;
2225
+ }
2226
+
2227
+ .session-status {
2228
+ position: absolute;
2229
+ right: -1px;
2230
+ bottom: -1px;
2231
+ width: 9px;
2232
+ height: 9px;
2233
+ border: 2px solid var(--bg-elevated);
2234
+ border-radius: 50%;
2235
+ background: var(--faint);
2236
+ }
2237
+
2238
+ .session-status.live {
2239
+ background: var(--accent);
2240
+ }
2241
+
2242
+ .session-status.running {
2243
+ background: var(--ok);
2244
+ box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.14);
2245
+ animation: status-pulse 1.8s ease-in-out infinite;
2246
+ }
2247
+
2248
+ @keyframes status-pulse {
2249
+ 50% {
2250
+ box-shadow: 0 0 0 5px rgba(61, 220, 151, 0.04);
2251
+ }
2252
+ }
2253
+
2254
+ .session-body {
2255
+ flex: 1;
2256
+ min-width: 0;
2257
+ display: flex;
2258
+ flex-direction: column;
2259
+ gap: 3px;
2260
+ }
2261
+
2262
+ .session-title-row {
2263
+ display: flex;
2264
+ align-items: baseline;
2265
+ gap: 8px;
2266
+ min-width: 0;
2267
+ }
2268
+
2269
+ .session-name {
2270
+ flex: 1;
2271
+ min-width: 0;
2272
+ color: var(--text);
2273
+ font-size: 13.5px;
2274
+ font-weight: 600;
2275
+ white-space: nowrap;
2276
+ overflow: hidden;
2277
+ text-overflow: ellipsis;
2278
+ }
2279
+
2280
+ .session-row.archived .session-name {
2281
+ color: var(--text-soft);
2282
+ }
2283
+
2284
+ .session-time {
2285
+ flex: none;
2286
+ color: var(--faint);
2287
+ font-size: 10.5px;
2288
+ font-variant-numeric: tabular-nums;
2289
+ }
2290
+
2291
+ .session-meta {
2292
+ color: var(--muted);
2293
+ font-size: 11px;
2294
+ white-space: nowrap;
2295
+ overflow: hidden;
2296
+ text-overflow: ellipsis;
2297
+ }
2298
+
2299
+ .session-more {
2300
+ flex: none;
2301
+ width: 38px;
2302
+ border: 0;
2303
+ border-radius: 12px;
2304
+ background: none;
2305
+ color: var(--faint);
2306
+ font-size: 18px;
2307
+ line-height: 1;
2308
+ display: grid;
2309
+ place-items: center;
2310
+ }
2311
+
2312
+ .session-more:active {
2313
+ background: var(--panel-3);
2314
+ color: var(--text);
2315
+ }
2316
+
2317
+ .session-list.is-grouped {
2318
+ padding: 4px 8px 12px;
2319
+ }
2320
+
2321
+ .session-group-header {
2322
+ position: sticky;
2323
+ top: 0;
2324
+ z-index: 2;
2325
+ display: flex;
2326
+ align-items: center;
2327
+ gap: 8px;
2328
+ width: 100%;
2329
+ margin: 10px 0 3px;
2330
+ padding: 7px 8px;
2331
+ border: 1px solid transparent;
2332
+ border-radius: 10px;
2333
+ background: var(--bg-elevated);
2334
+ color: var(--muted);
2335
+ text-align: left;
2336
+ }
2337
+
2338
+ .session-group-header:first-child {
2339
+ margin-top: 1px;
2340
+ }
2341
+
2342
+ .session-group-header.is-current {
2343
+ border-color: var(--active-border);
2344
+ background: linear-gradient(100deg, var(--accent-soft), var(--bg-elevated) 82%);
2345
+ color: var(--text-soft);
2346
+ }
2347
+
2348
+ .group-icon {
2349
+ position: relative;
2350
+ flex: none;
2351
+ width: 15px;
2352
+ height: 11px;
2353
+ border: 1px solid currentColor;
2354
+ border-radius: 3px;
2355
+ color: var(--faint);
2356
+ opacity: 0.9;
2357
+ }
2358
+
2359
+ .group-icon::before {
2360
+ content: "";
2361
+ position: absolute;
2362
+ left: 1px;
2363
+ top: -4px;
2364
+ width: 6px;
2365
+ height: 4px;
2366
+ border: 1px solid currentColor;
2367
+ border-bottom: 0;
2368
+ border-radius: 3px 3px 0 0;
2369
+ background: var(--bg-elevated);
2370
+ }
2371
+
2372
+ .session-group-header.is-current .group-icon {
2373
+ color: var(--accent);
2374
+ }
2375
+
2376
+ .group-title {
2377
+ flex: 1;
2378
+ min-width: 0;
2379
+ overflow: hidden;
2380
+ text-overflow: ellipsis;
2381
+ white-space: nowrap;
2382
+ font-size: 12px;
2383
+ font-weight: 650;
2384
+ letter-spacing: 0.025em;
2385
+ }
2386
+
2387
+ .group-count {
2388
+ flex: none;
2389
+ min-width: 18px;
2390
+ padding: 0 5px;
2391
+ border-radius: 999px;
2392
+ background: var(--panel-3);
2393
+ color: var(--muted);
2394
+ font-size: 10px;
2395
+ line-height: 16px;
2396
+ text-align: center;
2397
+ font-variant-numeric: tabular-nums;
2398
+ }
2399
+
2400
+ .group-chevron {
2401
+ flex: none;
2402
+ width: 7px;
2403
+ height: 7px;
2404
+ margin: 0 2px 2px 1px;
2405
+ border-right: 1.5px solid currentColor;
2406
+ border-bottom: 1.5px solid currentColor;
2407
+ transform: rotate(45deg);
2408
+ transition: transform 0.15s ease;
2409
+ opacity: 0.65;
2410
+ }
2411
+
2412
+ .session-group-header.is-collapsed .group-chevron {
2413
+ margin-bottom: 0;
2414
+ transform: rotate(-45deg);
2415
+ }
2416
+
2417
+ .group-more {
2418
+ display: block;
2419
+ width: calc(100% - 8px);
2420
+ margin: 3px 4px 7px;
2421
+ padding: 6px 10px;
2422
+ border: 1px dashed var(--border);
2423
+ border-radius: 9px;
2424
+ background: transparent;
2425
+ color: var(--muted);
2426
+ font-size: 11.5px;
2427
+ line-height: 18px;
2428
+ }
2429
+
2430
+ .group-more:active {
2431
+ background: var(--accent-soft);
2432
+ color: var(--accent);
2433
+ }
2434
+
2435
+ .session-list.is-grouped .session-row {
2436
+ margin-top: 2px;
2437
+ }
2438
+
2439
+ .session-list.is-grouped .session-open {
2440
+ padding-top: 9px;
2441
+ padding-bottom: 9px;
2442
+ }
2443
+
2444
+ .session-empty {
2445
+ padding: 28px 14px;
2446
+ color: var(--muted);
2447
+ font-size: 13px;
2448
+ line-height: 1.6;
2449
+ }
2450
+
2451
+ .session-skeleton {
2452
+ display: flex;
2453
+ align-items: center;
2454
+ gap: 10px;
2455
+ padding: 12px 10px;
2456
+ }
2457
+
2458
+ .skeleton-avatar {
2459
+ flex: none;
2460
+ width: 36px;
2461
+ height: 36px;
2462
+ border-radius: 12px;
2463
+ background: linear-gradient(90deg, var(--panel-2) 25%, var(--panel-3) 37%, var(--panel-2) 63%);
2464
+ background-size: 400% 100%;
2465
+ animation: shimmer 1.4s ease infinite;
2466
+ }
2467
+
2468
+ .skeleton-lines {
2469
+ flex: 1;
2470
+ display: flex;
2471
+ flex-direction: column;
2472
+ gap: 7px;
2473
+ }
2474
+
2475
+ .skeleton-lines span {
2476
+ display: block;
2477
+ height: 9px;
2478
+ border-radius: 999px;
2479
+ background: linear-gradient(90deg, var(--panel-2) 25%, var(--panel-3) 37%, var(--panel-2) 63%);
2480
+ background-size: 400% 100%;
2481
+ animation: shimmer 1.4s ease infinite;
2482
+ }
2483
+
2484
+ .skeleton-lines span:first-child {
2485
+ width: 62%;
2486
+ }
2487
+
2488
+ .skeleton-lines span:last-child {
2489
+ width: 38%;
2490
+ }
2491
+
2492
+ @keyframes shimmer {
2493
+ from {
2494
+ background-position: 100% 0;
2495
+ }
2496
+ to {
2497
+ background-position: 0 0;
2498
+ }
2499
+ }
2500
+
2501
+ .session-row.active .session-avatar {
2502
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 0 2px var(--accent-soft);
2503
+ }
2504
+
2505
+ /* code blocks keep their copy affordance inside the loaded page */
2506
+
2507
+ .code-block {
2508
+ position: relative;
2509
+ margin: 9px 0;
2510
+ }
2511
+
2512
+ .code-block pre {
2513
+ margin: 0;
2514
+ padding-top: 28px;
2515
+ }
2516
+
2517
+ .code-lang {
2518
+ position: absolute;
2519
+ top: 8px;
2520
+ left: 12px;
2521
+ color: var(--faint);
2522
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2523
+ font-size: 10px;
2524
+ letter-spacing: 0.06em;
2525
+ text-transform: uppercase;
2526
+ pointer-events: none;
2527
+ }
2528
+
2529
+ .code-copy {
2530
+ position: absolute;
2531
+ top: 5px;
2532
+ right: 6px;
2533
+ z-index: 1;
2534
+ border: 1px solid var(--border);
2535
+ border-radius: 7px;
2536
+ background: var(--panel-2);
2537
+ color: var(--muted);
2538
+ font-size: 10.5px;
2539
+ padding: 2px 7px;
2540
+ }
2541
+
2542
+ .code-copy:active {
2543
+ background: var(--panel-3);
2544
+ color: var(--text);
2545
+ }
2546
+
2547
+ .copy-area {
2548
+ position: fixed;
2549
+ left: -9999px;
2550
+ top: 0;
2551
+ opacity: 0;
2552
+ }
2553
+
2554
+ /* dialog: an in-page sheet instead of a native confirm */
2555
+
2556
+ .dialog {
2557
+ position: fixed;
2558
+ inset: 0;
2559
+ z-index: 40;
2560
+ display: flex;
2561
+ align-items: flex-end;
2562
+ justify-content: center;
2563
+ }
2564
+
2565
+ .dialog-backdrop {
2566
+ position: absolute;
2567
+ inset: 0;
2568
+ background: var(--backdrop);
2569
+ backdrop-filter: blur(8px);
2570
+ -webkit-backdrop-filter: blur(8px);
2571
+ animation: fade-in 0.15s ease-out;
2572
+ }
2573
+
2574
+ .dialog-card {
2575
+ position: relative;
2576
+ width: min(100%, 440px);
2577
+ max-height: calc(100dvh - 16px);
2578
+ overflow-y: auto;
2579
+ overscroll-behavior: contain;
2580
+ margin: 0 8px calc(8px + env(safe-area-inset-bottom));
2581
+ padding: 8px 18px 16px;
2582
+ border: 1px solid var(--border-strong);
2583
+ border-radius: 22px;
2584
+ background: var(--bg-elevated);
2585
+ box-shadow: 0 24px 80px var(--sheet-shadow);
2586
+ animation: dialog-up 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
2587
+ }
2588
+
2589
+ .dialog-grip {
2590
+ width: 36px;
2591
+ height: 4px;
2592
+ margin: 2px auto 10px;
2593
+ border-radius: 999px;
2594
+ background: var(--border-strong);
2595
+ }
2596
+
2597
+ .dialog-title {
2598
+ margin: 0 0 6px;
2599
+ color: var(--text);
2600
+ font-size: 16px;
2601
+ font-weight: 650;
2602
+ letter-spacing: 0.01em;
2603
+ text-align: center;
2604
+ }
2605
+
2606
+ .dialog-message {
2607
+ margin: 0 0 14px;
2608
+ color: var(--muted);
2609
+ font-size: 12.5px;
2610
+ line-height: 1.55;
2611
+ text-align: center;
2612
+ overflow-wrap: anywhere;
2613
+ }
2614
+
2615
+ .dialog-message[data-kind="details"] {
2616
+ text-align: left;
2617
+ white-space: pre-line;
2618
+ font-variant-numeric: tabular-nums;
2619
+ }
2620
+
2621
+ .dialog-input {
2622
+ width: 100%;
2623
+ margin-bottom: 14px;
2624
+ border: 1px solid var(--border);
2625
+ border-radius: 12px;
2626
+ background: var(--panel);
2627
+ color: var(--text);
2628
+ padding: 10px 12px;
2629
+ font-size: 14px;
2630
+ outline: none;
2631
+ }
2632
+
2633
+ .dialog-input:focus {
2634
+ border-color: var(--focus-border);
2635
+ box-shadow: 0 0 0 3px var(--accent-soft);
2636
+ }
2637
+
2638
+ .dialog-actions[data-layout="row"] {
2639
+ display: flex;
2640
+ gap: 8px;
2641
+ }
2642
+
2643
+ .dialog-actions[data-layout="stack"] {
2644
+ display: flex;
2645
+ flex-direction: column;
2646
+ gap: 6px;
2647
+ }
2648
+
2649
+ .dialog-action {
2650
+ border: 1px solid var(--border);
2651
+ border-radius: 12px;
2652
+ background: var(--panel);
2653
+ color: var(--text-soft);
2654
+ font-size: 14px;
2655
+ padding: 11px 12px;
2656
+ transition: transform 0.12s ease, background 0.15s ease;
2657
+ }
2658
+
2659
+ .dialog-actions[data-layout="row"] .dialog-action {
2660
+ flex: 1;
2661
+ }
2662
+
2663
+ .dialog-action.primary {
2664
+ border-color: transparent;
2665
+ background: linear-gradient(160deg, var(--accent-2), var(--accent));
2666
+ color: #fff;
2667
+ }
2668
+
2669
+ .dialog-action.danger {
2670
+ border-color: var(--error-border);
2671
+ background: var(--error-bg);
2672
+ color: var(--danger);
2673
+ }
2674
+
2675
+ .dialog-action.primary.danger {
2676
+ border-color: transparent;
2677
+ background: linear-gradient(160deg, var(--danger-fill-2), var(--danger-fill));
2678
+ color: #fff;
2679
+ }
2680
+
2681
+ .dialog-action.cancel {
2682
+ border-color: transparent;
2683
+ background: transparent;
2684
+ color: var(--muted);
2685
+ }
2686
+
2687
+ .dialog-action:active {
2688
+ transform: scale(0.985);
2689
+ }
2690
+
2691
+ body.dialog-open {
2692
+ overflow: hidden;
2693
+ }
2694
+
2695
+ body.dialog-open .sheet-foot {
2696
+ visibility: hidden;
2697
+ }
2698
+
2699
+ @keyframes fade-in {
2700
+ from {
2701
+ opacity: 0;
2702
+ }
2703
+ }
2704
+
2705
+ @keyframes dialog-up {
2706
+ from {
2707
+ transform: translateY(14px);
2708
+ opacity: 0.5;
2709
+ }
2710
+ }
2711
+
2712
+ @media (min-width: 640px) {
2713
+ .dialog {
2714
+ align-items: center;
2715
+ }
2716
+
2717
+ .dialog-card {
2718
+ margin: 0 16px;
2719
+ }
2720
+ }
2721
+
2722
+ @media (max-width: 899px) {
2723
+ .new-session-button {
2724
+ width: 36px;
2725
+ height: 36px;
2726
+ padding: 0;
2727
+ justify-content: center;
2728
+ border-radius: 11px;
2729
+ }
2730
+
2731
+ .new-session-label {
2732
+ display: none;
2733
+ }
2734
+
2735
+ .new-session-plus {
2736
+ display: inline;
2737
+ }
2738
+
2739
+ .notify-toggle {
2740
+ width: 36px;
2741
+ height: 36px;
2742
+ padding: 0;
2743
+ justify-content: center;
2744
+ border-radius: 11px;
2745
+ }
2746
+
2747
+ #notifyLabel {
2748
+ display: none;
2749
+ }
2750
+
2751
+ .list-toolbar {
2752
+ padding-inline: 12px;
2753
+ }
2754
+
2755
+ .sheet-header {
2756
+ padding-inline: 12px;
2757
+ }
2758
+ }
2759
+
2760
+ @media (max-width: 360px) {
2761
+ .context-meter {
2762
+ display: none;
2763
+ }
2764
+
2765
+ .goal-actions {
2766
+ flex-wrap: wrap;
2767
+ justify-content: flex-end;
2768
+ }
2769
+
2770
+ .session-title {
2771
+ font-size: 14.5px;
2772
+ }
2773
+
2774
+ .session-subtitle {
2775
+ font-size: 11px;
2776
+ }
2777
+
2778
+ .view-menu-button {
2779
+ padding-inline: 8px;
2780
+ }
2781
+ }
2782
+
2783
+ /* ── landscape phones and small tablets ──────────────────── */
2784
+
2785
+ @media (min-width: 640px) and (max-width: 719px) {
2786
+ body {
2787
+ padding: 12px;
2788
+ background:
2789
+ radial-gradient(80% 60% at 50% -8%, var(--desk-glow), transparent 65%),
2790
+ var(--bg);
2791
+ }
2792
+
2793
+ #app {
2794
+ height: calc(100dvh - 24px);
2795
+ max-width: 680px;
2796
+ border: 1px solid var(--border);
2797
+ border-radius: 20px;
2798
+ overflow: hidden;
2799
+ box-shadow: var(--shadow-2);
2800
+ }
2801
+
2802
+ .sheet-panel {
2803
+ border-radius: 0 18px 18px 0;
2804
+ }
2805
+
2806
+ .sheet-backdrop {
2807
+ backdrop-filter: blur(4px);
2808
+ -webkit-backdrop-filter: blur(4px);
2809
+ }
2810
+ }
2811
+
2812
+ /* Foldables and small tablets: a real two-pane layout while the drawer is open. */
2813
+ @media (min-width: 720px) and (max-width: 899px) {
2814
+ body {
2815
+ display: grid;
2816
+ grid-template-columns: 0 minmax(0, 1fr);
2817
+ transition: grid-template-columns 0.18s ease;
2818
+ }
2819
+
2820
+ body.sheet-open {
2821
+ grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
2822
+ }
2823
+
2824
+ #app {
2825
+ grid-column: 2;
2826
+ grid-row: 1;
2827
+ width: 100%;
2828
+ max-width: 820px;
2829
+ height: 100dvh;
2830
+ margin: 0 auto;
2831
+ padding-top: 0;
2832
+ }
2833
+
2834
+ body.sheet-open #app {
2835
+ max-width: none;
2836
+ margin: 0;
2837
+ border-left: 1px solid var(--border);
2838
+ }
2839
+
2840
+ #sessionSheet {
2841
+ position: sticky;
2842
+ inset: auto;
2843
+ top: 0;
2844
+ left: 0;
2845
+ grid-column: 1;
2846
+ grid-row: 1;
2847
+ width: 100%;
2848
+ height: 100dvh;
2849
+ z-index: 10;
2850
+ }
2851
+
2852
+ #sessionSheet .sheet-backdrop {
2853
+ display: none;
2854
+ }
2855
+
2856
+ #sessionSheet .sheet-panel {
2857
+ position: relative;
2858
+ inset: auto;
2859
+ width: 100%;
2860
+ height: 100%;
2861
+ border-right: 1px solid var(--border);
2862
+ border-radius: 0;
2863
+ box-shadow: none;
2864
+ animation: none;
2865
+ }
2866
+
2867
+ #sessionSheet .sheet-foot {
2868
+ padding-bottom: 10px;
2869
+ }
2870
+ }
2871
+
2872
+ @media (orientation: landscape) and (max-height: 560px) {
2873
+ .topbar {
2874
+ gap: 8px;
2875
+ padding: 6px 10px;
2876
+ }
2877
+
2878
+ .topbar .session-subtitle {
2879
+ display: none;
2880
+ }
2881
+
2882
+ .icon-button {
2883
+ width: 32px;
2884
+ height: 32px;
2885
+ border-radius: 9px;
2886
+ font-size: 15px;
2887
+ }
2888
+
2889
+ .plan-chip,
2890
+ .context-meter {
2891
+ font-size: 10px;
2892
+ line-height: 15px;
2893
+ }
2894
+
2895
+ .goal-bar {
2896
+ padding-inline: 10px;
2897
+ }
2898
+
2899
+ .goal-toggle {
2900
+ padding: 5px 0;
2901
+ }
2902
+
2903
+ .goal-summary {
2904
+ -webkit-line-clamp: 1;
2905
+ }
2906
+
2907
+ .goal-actions {
2908
+ padding-top: 4px;
2909
+ }
2910
+
2911
+ .goal-action {
2912
+ padding: 3px 6px;
2913
+ font-size: 10.5px;
2914
+ }
2915
+
2916
+ .conversation {
2917
+ padding: 10px 12px 6px;
2918
+ }
2919
+
2920
+ .composer {
2921
+ padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
2922
+ }
2923
+
2924
+ #promptInput {
2925
+ min-height: 40px;
2926
+ max-height: 26vh;
2927
+ padding: 8px 10px;
2928
+ border-radius: 12px;
2929
+ }
2930
+
2931
+ .image-button,
2932
+ .send-button {
2933
+ width: 40px;
2934
+ height: 40px;
2935
+ }
2936
+
2937
+ .model-bar {
2938
+ margin-top: 3px;
2939
+ padding-top: 4px;
2940
+ }
2941
+
2942
+ .sheet-header {
2943
+ padding: 8px 12px 6px;
2944
+ }
2945
+
2946
+ .sheet-subtitle {
2947
+ display: none;
2948
+ }
2949
+
2950
+ .preset-bar {
2951
+ padding: 4px 12px;
2952
+ }
2953
+
2954
+ .preset-label {
2955
+ font-size: 10.5px;
2956
+ }
2957
+
2958
+ .preset-select {
2959
+ padding-block: 3px;
2960
+ font-size: 11.5px;
2961
+ }
2962
+
2963
+ .list-toolbar {
2964
+ padding: 4px 12px 0;
2965
+ }
2966
+
2967
+ .session-search {
2968
+ padding: 4px 8px;
2969
+ font-size: 11.5px;
2970
+ }
2971
+
2972
+ .view-menu-button {
2973
+ padding-block: 4px;
2974
+ font-size: 10.5px;
2975
+ }
2976
+
2977
+ .session-list {
2978
+ padding-top: 2px;
2979
+ }
2980
+
2981
+ .session-group-header {
2982
+ margin: 4px 0 2px;
2983
+ padding: 5px 8px;
2984
+ }
2985
+
2986
+ .sheet-panel {
2987
+ width: min(92vw, 360px);
2988
+ border-radius: 0 18px 18px 0;
2989
+ }
2990
+
2991
+ .sheet-foot {
2992
+ padding-top: 3px;
2993
+ padding-bottom: calc(3px + env(safe-area-inset-bottom));
2994
+ font-size: 9.5px;
2995
+ }
2996
+
2997
+ .question-card {
2998
+ max-height: 46vh;
2999
+ }
3000
+ }
3001
+
3002
+ /* ── desktop console ─────────────────────────────────────── */
3003
+
3004
+ @media (min-width: 900px) {
3005
+ body {
3006
+ overflow: hidden;
3007
+ background:
3008
+ radial-gradient(70% 50% at 50% -12%, var(--desk-glow), transparent 62%),
3009
+ var(--bg);
3010
+ }
3011
+
3012
+ body::before {
3013
+ content: "";
3014
+ position: fixed;
3015
+ inset: 0;
3016
+ z-index: 0;
3017
+ background-image: radial-gradient(var(--desk-dot) 1px, transparent 1.2px);
3018
+ background-size: 26px 26px;
3019
+ -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 18%, transparent 80%);
3020
+ mask-image: radial-gradient(70% 70% at 50% 45%, #000 18%, transparent 80%);
3021
+ pointer-events: none;
3022
+ }
3023
+
3024
+ #app {
3025
+ z-index: 1;
3026
+ --desk-gutter: max(28px, calc((100% - 800px) / 2));
3027
+ width: min(1024px, calc(100% - 48px));
3028
+ max-width: none;
3029
+ height: calc(100vh - 40px);
3030
+ height: calc(100dvh - 40px);
3031
+ margin: 20px auto;
3032
+ border: 1px solid var(--border);
3033
+ border-radius: 24px;
3034
+ background: var(--bg-elevated);
3035
+ box-shadow: var(--desk-shadow);
3036
+ overflow: hidden;
3037
+ }
3038
+
3039
+ .topbar {
3040
+ padding: 11px var(--desk-gutter);
3041
+ }
3042
+
3043
+ .goal-bar {
3044
+ padding-inline: var(--desk-gutter);
3045
+ }
3046
+
3047
+ .conversation {
3048
+ scrollbar-gutter: stable;
3049
+ padding: 22px var(--desk-gutter) 10px;
3050
+ }
3051
+
3052
+ .composer {
3053
+ padding: 12px var(--desk-gutter) 14px;
3054
+ }
3055
+
3056
+ .command-menu {
3057
+ left: var(--desk-gutter);
3058
+ right: var(--desk-gutter);
3059
+ }
3060
+
3061
+ .question-card {
3062
+ max-height: 50vh;
3063
+ padding: 14px var(--desk-gutter);
3064
+ }
3065
+
3066
+ .messages {
3067
+ gap: 15px;
3068
+ }
3069
+
3070
+ .bubble {
3071
+ max-width: 82%;
3072
+ font-size: 15.5px;
3073
+ line-height: 1.7;
3074
+ }
3075
+
3076
+ .bubble.user {
3077
+ max-width: 72%;
3078
+ }
3079
+
3080
+ .bubble.command,
3081
+ .bubble.system {
3082
+ max-width: 88%;
3083
+ }
3084
+
3085
+ .session-title {
3086
+ font-size: 17px;
3087
+ }
3088
+
3089
+ .session-subtitle {
3090
+ font-size: 12px;
3091
+ }
3092
+
3093
+ .icon-button {
3094
+ width: 38px;
3095
+ height: 38px;
3096
+ }
3097
+
3098
+ .sheet-panel {
3099
+ top: 20px;
3100
+ bottom: 20px;
3101
+ left: 20px;
3102
+ width: min(380px, 36vw);
3103
+ border: 1px solid var(--border);
3104
+ border-radius: 22px;
3105
+ }
3106
+
3107
+ .sheet-backdrop {
3108
+ backdrop-filter: blur(4px);
3109
+ -webkit-backdrop-filter: blur(4px);
3110
+ }
3111
+
3112
+ .dialog-card {
3113
+ width: min(100%, 460px);
3114
+ }
3115
+ }
3116
+
3117
+ @media (hover: hover) and (pointer: fine) {
3118
+ .icon-button:hover {
3119
+ border-color: var(--border-strong);
3120
+ background: var(--panel-3);
3121
+ }
3122
+
3123
+ .model-refresh:hover,
3124
+ .goal-action:hover,
3125
+ .load-more-button:hover,
3126
+ .text-button:hover,
3127
+ .view-menu-button:hover,
3128
+ .view-menu-option:hover,
3129
+ .session-group-header:hover,
3130
+ .group-more:hover {
3131
+ background: var(--panel-3);
3132
+ }
3133
+
3134
+ .session-group-header:hover {
3135
+ background: var(--panel);
3136
+ color: var(--text-soft);
3137
+ }
3138
+
3139
+ .group-more:hover {
3140
+ border-color: var(--border-strong);
3141
+ color: var(--text-soft);
3142
+ }
3143
+
3144
+ .question-option:not(.selected):hover {
3145
+ border-color: var(--border-strong);
3146
+ background: var(--panel-3);
3147
+ }
3148
+
3149
+ .send-button:hover:not(:disabled) {
3150
+ transform: translateY(-1px);
3151
+ }
3152
+
3153
+ .conversation,
3154
+ .session-list,
3155
+ .question-card,
3156
+ .command-menu,
3157
+ .queue-bar,
3158
+ .goal-bar.expanded .goal-summary {
3159
+ scrollbar-width: thin;
3160
+ scrollbar-color: var(--border-strong) transparent;
3161
+ }
3162
+
3163
+ .conversation::-webkit-scrollbar,
3164
+ .session-list::-webkit-scrollbar,
3165
+ .question-card::-webkit-scrollbar,
3166
+ .command-menu::-webkit-scrollbar,
3167
+ .queue-bar::-webkit-scrollbar,
3168
+ .goal-bar.expanded .goal-summary::-webkit-scrollbar {
3169
+ width: 10px;
3170
+ height: 10px;
3171
+ }
3172
+
3173
+ .conversation::-webkit-scrollbar-thumb,
3174
+ .session-list::-webkit-scrollbar-thumb,
3175
+ .question-card::-webkit-scrollbar-thumb,
3176
+ .command-menu::-webkit-scrollbar-thumb,
3177
+ .queue-bar::-webkit-scrollbar-thumb,
3178
+ .goal-bar.expanded .goal-summary::-webkit-scrollbar-thumb {
3179
+ border: 3px solid transparent;
3180
+ border-radius: 999px;
3181
+ background: var(--border-strong);
3182
+ background-clip: content-box;
3183
+ }
3184
+ }
3185
+
3186
+ @media (prefers-reduced-motion: reduce) {
3187
+ *,
3188
+ *::before,
3189
+ *::after {
3190
+ animation-duration: 0.001ms !important;
3191
+ animation-iteration-count: 1 !important;
3192
+ transition-duration: 0.001ms !important;
3193
+ }
3194
+
3195
+ .conversation {
3196
+ scroll-behavior: auto;
3197
+ }
3198
+ }