Repository navigation
Expand file tree
/
Copy pathos.css
More file actions
845 lines (823 loc) · 52.6 KB
/
Copy pathos.css
File metadata and controls
845 lines (823 loc) · 52.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
/* A theme is a block in this file. The default palette is :root; every
other theme is a [data-theme="<id>"] block on <html> with the same token
names, and the comment on the line before it — @theme <id>: <Title> —
<summary> — is what Settings > Design lists: the parser (Theme.list in
kernel/agent.js) refuses a header without a block and a block without a
header, naming the line. The default's header sits on :root itself.
Selecting a theme sets data-theme on <html> and stores the id in this
browser; the agent adds a theme by adding a block. */
/* @theme win95: Windows 95 — Square corners, bevelled grey, teal desktop. No shadows, no blur. */
:root {
--bg: #008080; --desk1: #008080; --desk2: #008080; --desk3: #008080;
--panel: #c0c0c0; --panel2: #ffffff;
--line: #808080; --line2: #404040;
--text: #000000; --dim: #404040; --dimmer: #808080;
--accent: #000080; --ok: #008000; --warn: #808000; --no: #800000;
--bar: #c0c0c0; --barline: #808080;
--btn: #c0c0c0; --btntext: #000000; --focus: #000080;
--sel: #000080; --seltext: #ffffff; --hover: #d4d0c8;
--title1: #000080; --title2: #1084d0; --titletext: #ffffff;
--pbtn: #c0c0c0; --pbtntext: #000000;
--winbg: #c0c0c0; --scroll: #808080;
--warnline: #808000; --up1: #c0c0c0; --up2: #c0c0c0; --upline: #808080;
--radius-win: 0px; --radius-ctl: 0px; --radius-sm: 0px; --radius-pill: 0px;
--shadow-win: 2px 2px 0 #000000;
--border-w: 2px; --blur: 0px;
--font-ui: "MS Sans Serif", "Pixelated MS Sans Serif", Tahoma, Arial, sans-serif;
--font-mono: "Fixedsys", "Lucida Console", monospace;
}
/* @theme vibeos-dark: vibeOS dark — The desktop’s own palette, inherited as CSS custom properties. */
[data-theme="vibeos-dark"] {
color-scheme: dark;
--bg: #0a0a0c; --panel: #101219; --panel2: #0c0e14; --line: #23262f;
--line2: #2a3244; --text: #f2f3f5; --dim: #8e93a0; --dimmer: #6b7181;
--accent: #9db4ff; --ok: #4ade80; --warn: #fbbf24; --no: #f87171;
--desk1: #c9b7d8; --desk2: #e8b9a8; --desk3: #d99f8e;
/* chrome tokens — these were hardcoded hexes until light mode needed them */
--bar: #161a23; --barline: #262b38; --btn: #161922; --btntext: #c9d3e6;
--focus: #3a4560; --sel: #1d2536; --seltext: #ffffff; --hover: #171b26;
--title1: #2b3146; --title2: #171b26; --titletext: #e8eaf0;
--pbtn: #f2f3f5; --pbtntext: #0a0a0c;
--winbg: rgba(16,18,25,.97); --scroll: rgba(255,255,255,.14);
--warnline: #4a3a1a; --up1: #141a2e; --up2: #101219; --upline: #2c3550;
--radius-win: 12px; --radius-ctl: 8px; --radius-sm: 5px; --radius-pill: 999px;
--shadow-win: 0 30px 70px -20px rgba(0,0,0,.75);
--border-w: 1px; --blur: 12px;
--font-ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
/* @theme vibeos-light: vibeOS light — The same desktop, inverted. Same token names, so nothing needs rewriting. */
[data-theme="vibeos-light"] {
color-scheme: light;
--bg: #eef0f4;
--desk1: #c9b7d8; --desk2: #e8b9a8; --desk3: #d99f8e;
--panel: #ffffff; --panel2: #f5f6fa;
--line: #e2e5ec; --line2: #ccd2de;
--text: #12151c; --dim: #5b6273; --dimmer: #868d9d;
--accent: #3355dd; --ok: #15803d; --warn: #a16207; --no: #dc2626;
--bar: #ffffff; --barline: #e2e5ec;
--btn: #ffffff; --btntext: #12151c; --focus: #9aa6c4;
--sel: #e4e9f7; --seltext: #12151c; --hover: #f0f2f7;
--title1: #f7f8fb; --title2: #eef0f5; --titletext: #12151c;
--pbtn: #1f2937; --pbtntext: #ffffff;
--winbg: rgba(255,255,255,.97); --scroll: rgba(0,0,0,.20);
--warnline: #e7cfa1; --up1: #eef2ff; --up2: #ffffff; --upline: #c7d2fe;
--radius-win: 12px; --radius-ctl: 8px; --radius-sm: 5px; --radius-pill: 999px;
--shadow-win: 0 30px 70px -20px rgba(0,0,0,.75);
--border-w: 1px; --blur: 12px;
--font-ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
/* @theme winxp: Windows XP — Luna blue, Bliss desktop, Tahoma. The look the first vibeOS demo wore. */
[data-theme="winxp"] {
--bg: #235cc4; --desk1: #4a8fd8; --desk2: #6fb0e0; --desk3: #7ab648;
--panel: #ece9d8; --panel2: #ffffff;
--line: #aca899; --line2: #0046d5;
--text: #000000; --dim: #3f3f3f; --dimmer: #7a7a70;
--accent: #0058ee; --ok: #2f8a2f; --warn: #d08b00; --no: #c02a2a;
--bar: #0058ee; --barline: #0046d5;
--btn: #ece9d8; --btntext: #000000; --focus: #ff9c00;
--sel: #316ac5; --seltext: #ffffff; --hover: #3f8cf3;
--title1: #0058ee; --title2: #3f8cf3; --titletext: #ffffff;
--pbtn: #ece9d8; --pbtntext: #000000;
--winbg: #ece9d8; --scroll: #b6c9e4;
--warnline: #d08b00; --up1: #eef3fb; --up2: #dce7f7; --upline: #9db8e0;
--radius-win: 8px; --radius-ctl: 3px; --radius-sm: 3px; --radius-pill: 999px;
--shadow-win: 0 10px 24px rgba(0, 0, 0, .35);
--border-w: 1px; --blur: 0px;
--font-ui: Tahoma, "Segoe UI", "DejaVu Sans", Verdana, sans-serif;
--font-mono: "Lucida Console", Consolas, "Courier New", monospace;
}
/* What the tokens cannot say. A compound selector is a theme's rules, not a
theme block: no header goes on these, and parseThemes skips them.
Luna, read off a stylised XP reel (title bars, the taskbar, a balloon,
dialogs): gradients with several stops, round tops over square bottoms,
glyphs on the caption buttons — none of it is one colour, so none of it
is a token. */
/* The frame: a 3 px blue border on three sides; the title bar is the top. */
[data-theme="winxp"] .win {
border: 3px solid #0054e3; border-top: 0;
border-radius: 8px 8px 0 0;
box-shadow: 0 0 0 1px #0831d9, var(--shadow-win);
}
/* Luna's title bar: a bright rim at the top, a long royal blue middle, a
dark lip at the bottom. */
[data-theme="winxp"] .titlebar {
background: linear-gradient(to bottom, #0997ff 0%, #0053ee 8%, #0050ee 40%, #0066ff 88%, #0066ff 93%, #005bff 95%, #003dd7 96%, #003dd7 100%);
border-bottom: 0; padding: 3px 5px 3px 7px; gap: 2px; min-height: 29px;
}
[data-theme="winxp"] .win .title {
color: var(--titletext); font: 700 13px/1.2 "Trebuchet MS", Tahoma, sans-serif;
letter-spacing: 0; text-shadow: 1px 1px 0 #0f1089;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
[data-theme="winxp"] .titlebar .badge { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .5); margin-left: 6px; }
/* XP's caption buttons sit at the right: minimise, maximise, close. Order
only — the desktop keeps the same three elements and the same handlers,
so a theme cannot break closing a window. */
[data-theme="winxp"] .titlebar .title { order: 1; margin-right: auto; }
[data-theme="winxp"] .titlebar .badge { order: 2; margin-right: 4px; }
[data-theme="winxp"] .titlebar .tl.y { order: 3; }
[data-theme="winxp"] .titlebar .tl.g { order: 4; }
[data-theme="winxp"] .titlebar .tl.r { order: 5; margin-left: 2px; }
/* Square, white-edged, a glossy radial; the glyph is an inline SVG layered
on top of it. */
[data-theme="winxp"] .tl {
width: 21px; height: 21px; flex: 0 0 auto; border-radius: 3px;
border: 1px solid #ffffff; box-shadow: 0 0 1px rgba(0, 0, 0, .35);
}
[data-theme="winxp"] .tl.y {
background:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Crect x='5' y='13' width='7' height='3' fill='white'/%3E%3C/svg%3E") center / 100% no-repeat,
radial-gradient(circle at 90% 90%, #0054e9 0%, #2263d5 55%, #4479e4 70%, #a3bbec 90%, #ffffff 100%);
}
[data-theme="winxp"] .tl.g {
background:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Crect x='5' y='5' width='10' height='10' fill='none' stroke='white' stroke-width='1.2'/%3E%3Crect x='5' y='5' width='10' height='2.6' fill='white'/%3E%3C/svg%3E") center / 100% no-repeat,
radial-gradient(circle at 90% 90%, #0054e9 0%, #2263d5 55%, #4479e4 70%, #a3bbec 90%, #ffffff 100%);
}
[data-theme="winxp"] .tl.r {
background:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' stroke='white' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / 100% no-repeat,
radial-gradient(circle at 90% 90%, #cc4600 0%, #dc6527 55%, #cd7546 70%, #ffccb2 90%, #ffffff 100%);
}
[data-theme="winxp"] .tl:hover { filter: brightness(1.15) saturate(1.1); }
[data-theme="winxp"] .tl:active { filter: brightness(.85); }
[data-theme="winxp"] .resize {
background: radial-gradient(circle, #aca899 1px, transparent 1.5px) 0 0 / 4px 4px;
clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Bliss, in gradients: a deep sky fading to haze, two soft clouds, and the
green hill — a wide ellipse under the left, a second slope on the right.
The base #desktop rule washes the palette purple-to-pink so the web and
docker builds read as one product; on Luna that fights the sky, so this
theme paints its own. */
[data-theme="winxp"] #desktop {
background:
radial-gradient(ellipse 22% 7% at 24% 18%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%),
radial-gradient(ellipse 16% 5% at 70% 28%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
radial-gradient(ellipse 125% 70% at 30% 104%, #82c83e 0%, #5ca826 36%, #3f8c19 54.6%, rgba(63, 140, 25, 0) 55%),
radial-gradient(ellipse 100% 50% at 104% 100%, #6fae2e 0%, #4f9420 50%, #3a7a14 58.6%, rgba(58, 122, 20, 0) 59%),
linear-gradient(to bottom, #1f5fcf 0%, #3d84e0 30%, #8cbeee 58%, #cfe4f6 70%, #e6f1f9 78%);
}
/* The taskbar: the dock stretched across the bottom. Its first button is
the green start button, apps are quick-launch icons between dotted
grips, and Settings sits at the right in the lighter notification area. */
[data-theme="winxp"] #dock {
left: 0; right: 0; bottom: 0; transform: none; width: auto; max-width: none;
height: 30px; padding: 0; gap: 2px; align-items: center; justify-content: flex-start;
border-radius: 0; backdrop-filter: none;
background: linear-gradient(to bottom, #1f2f86 0%, #3165c4 3%, #3682e5 6%, #4490e6 10%, #3883e5 12%, #2b71e0 15%, #2663da 18%, #235bd6 20%, #2258d5 23%, #2157d6 38%, #245ddb 54%, #2562df 86%, #245fdc 89%, #2158d4 92%, #1d4ec0 95%, #1941a5 98%);
}
[data-theme="winxp"] #dock button {
width: 26px; height: 26px; padding: 4px; border-radius: 3px; border: 1px solid transparent;
background: transparent; transition: none;
}
[data-theme="winxp"] #dock button:hover { transform: none; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
[data-theme="winxp"] #dock button:active { background: rgba(0, 0, 0, .18); border-color: rgba(0, 0, 0, .3); }
[data-theme="winxp"] #dock .dock-icon-img { object-fit: contain; border-radius: 2px; }
[data-theme="winxp"] #dock .dock-sep {
width: 0; align-self: stretch; margin: 5px 3px; background: none;
border-left: 2px dotted rgba(255, 255, 255, .55);
}
[data-theme="winxp"] #dock > button:first-child {
width: auto; height: 30px; padding: 0 18px 0 9px; margin-right: 6px; gap: 6px;
border: 0; border-radius: 0 12px 12px 0;
background: linear-gradient(to bottom, #3c8f3c 0%, #63bf63 6%, #4cac4c 14%, #3e9c3e 45%, #379237 75%, #2f822f 92%, #2a702a 100%);
box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), inset -3px 0 4px rgba(0, 0, 0, .25), 2px 0 3px rgba(0, 0, 0, .3);
}
[data-theme="winxp"] #dock > button:first-child::after {
content: 'start'; color: #ffffff; font: italic 700 17px/1 "Franklin Gothic Medium", "Trebuchet MS", Tahoma, sans-serif;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .6); padding-bottom: 2px;
}
[data-theme="winxp"] #dock > button:first-child .dock-icon-img { width: 20px; height: 20px; }
[data-theme="winxp"] #dock > button:first-child:hover { background: linear-gradient(to bottom, #48a348 0%, #76d076 6%, #5bbd5b 14%, #4aac4a 45%, #42a142 75%, #389238 92%, #307e30 100%); }
[data-theme="winxp"] #dock > button:last-child {
margin-left: auto; width: auto; height: 30px; padding: 0 12px; border: 0; border-radius: 0;
border-left: 1px solid #1042af;
background: linear-gradient(to bottom, #0c59b9 1%, #139ee9 6%, #18b5f2 10%, #139beb 14%, #1290e8 19%, #0d8dea 63%, #0d9ff1 81%, #0f9eed 88%, #119be9 91%, #1392e2 94%, #137ed7 97%, #095bc9 100%);
box-shadow: inset 1px 0 1px #18bbff;
}
[data-theme="winxp"] #dock > button:last-child .dock-icon-img { width: 18px; height: 18px; }
/* The menubar wears the taskbar too: pills are task buttons, the clock is
the notification area at the right. */
[data-theme="winxp"] #menubar {
background: linear-gradient(to bottom, #3168d5 0%, #4993e6 8%, #2157d6 20%, #2157d6 70%, #245ddb 86%, #1941a5 100%);
color: #ffffff; padding-top: 4px; padding-bottom: 4px;
}
[data-theme="winxp"] .pill {
border-radius: 3px; padding: 3px 9px; color: #ffffff;
background: linear-gradient(to bottom, #3c81f3, #3a7bec 50%, #2f6ee3);
box-shadow: inset -1px 0 rgba(0, 0, 0, .3), inset 1px 1px rgba(255, 255, 255, .25);
}
[data-theme="winxp"] #wsPill:hover, [data-theme="winxp"] #loginPill:hover, [data-theme="winxp"] #lxPill:hover { background: #53a3ff; }
[data-theme="winxp"] #menubar > #clock {
align-self: stretch; display: flex; align-items: center;
margin: -4px -12px -4px 0; padding: 0 12px 0 14px; font-weight: 400;
border-left: 1px solid #1042af; box-shadow: inset 1px 0 1px #18bbff;
background: linear-gradient(to bottom, #0c59b9 1%, #139ee9 6%, #18b5f2 10%, #139beb 14%, #1290e8 19%, #0d8dea 63%, #0d9ff1 81%, #0f9eed 88%, #119be9 91%, #1392e2 94%, #137ed7 97%, #095bc9 100%);
}
/* Push buttons: white fading to beige, a navy hairline, round corners; an
amber glow on hover and Luna's blue inner ring on the default button. */
[data-theme="winxp"] .btn,
[data-theme="winxp"] #analyticsBar .analytics-dismiss {
border: 1px solid #003c74; border-radius: 3px; color: #000000;
background: linear-gradient(to bottom, #ffffff 0%, #ecebe6 86%, #d6d0c5 100%);
}
[data-theme="winxp"] .btn.p {
color: #000000; border-color: #003c74;
box-shadow: inset -1px 1px #cee7ff, inset 1px 2px #98b8ea, inset -2px 2px #bcd4f6, inset 1px -1px #89ade4, inset 2px -2px #89ade4;
}
[data-theme="winxp"] .btn:not(.skip):not(:disabled):hover,
[data-theme="winxp"] #analyticsBar .analytics-dismiss:hover {
border-color: #003c74;
box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
}
[data-theme="winxp"] .btn:not(.skip):not(:disabled):active { background: linear-gradient(to bottom, #cdcac3 0%, #e3e3db 8%, #e5e5de 94%, #f2f2f1 100%); box-shadow: none; }
[data-theme="winxp"] .key-modal-actions .btn.skip { background: transparent; border-color: transparent; color: #0046d5; }
[data-theme="winxp"] .key-modal-actions .btn.skip:hover { text-decoration: underline; border-color: transparent; }
[data-theme="winxp"] .btn:focus-visible { outline: 1px dotted #000000; outline-offset: -4px; border-radius: 3px; }
/* Fields: white, a slate-blue hairline, square. */
[data-theme="winxp"] input[type=text],
[data-theme="winxp"] input[type=password],
[data-theme="winxp"] textarea,
[data-theme="winxp"] .chat-input {
background: #ffffff; border: 1px solid #7f9db9; border-radius: 0;
}
[data-theme="winxp"] input[type=password] { width: 100%; padding: 6px 8px; font: inherit; font-size: 13px; outline: none; }
[data-theme="winxp"] input:focus, [data-theme="winxp"] textarea:focus { border-color: #316ac5; }
[data-theme="winxp"] ::selection { background: #316ac5; color: #ffffff; }
/* Scrollbars: a pale track and a rounded light-blue thumb with a grip. */
[data-theme="winxp"] ::-webkit-scrollbar { width: 16px; height: 16px; }
[data-theme="winxp"] ::-webkit-scrollbar-track { background: linear-gradient(to right, #f3f1ec, #fefefb); }
[data-theme="winxp"] ::-webkit-scrollbar-thumb {
border: 1px solid #ffffff; border-radius: 3px; box-shadow: inset 0 0 0 1px #b8cbf6;
background: linear-gradient(to right, #c9d7fc, #b5c8f7 60%, #a8bdf3);
}
[data-theme="winxp"] ::-webkit-scrollbar-thumb:hover { background: linear-gradient(to right, #dbe5fd, #c6d6fb 60%, #b9cdf8); }
/* Dialogs are XP windows: the heading becomes the title bar. */
[data-theme="winxp"] .key-modal-overlay { background: rgba(0, 0, 0, .25); backdrop-filter: none; }
[data-theme="winxp"] .key-modal {
padding: 0 16px 16px; overflow: hidden auto;
border: 3px solid #0054e3; border-top: 0; border-radius: 8px 8px 0 0;
box-shadow: 0 0 0 1px #0831d9, var(--shadow-win);
}
[data-theme="winxp"] .key-modal h2 {
margin: 0 -16px 12px; padding: 6px 10px; color: #ffffff;
font: 700 13px/1.3 "Trebuchet MS", Tahoma, sans-serif; text-shadow: 1px 1px 0 #0f1089;
background: linear-gradient(to bottom, #0997ff 0%, #0053ee 8%, #0050ee 40%, #0066ff 88%, #0066ff 93%, #005bff 95%, #003dd7 96%, #003dd7 100%);
}
/* The analytics notice is a notification-area balloon: pale yellow, a black
hairline, an info glyph, and a tail pointing down at the taskbar. */
[data-theme="winxp"] #analyticsBar {
left: auto; right: 14px; bottom: calc(44px + env(safe-area-inset-bottom, 0px));
max-width: min(440px, calc(100vw - 28px));
background: #ffffe1; color: #000000; border: 1px solid #000000; border-radius: 8px;
box-shadow: 2px 3px 4px rgba(0, 0, 0, .3); font-size: 12px;
}
[data-theme="winxp"] #analyticsBar::before {
content: 'i'; flex: 0 0 auto; align-self: flex-start; width: 16px; height: 16px; border-radius: 50%;
display: grid; place-items: center; color: #ffffff; font: italic 700 12px/1 Georgia, serif;
background: radial-gradient(circle at 35% 30%, #8ec5ff, #1f6fe0 60%, #0d3f9e);
box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #2a5bb8;
}
[data-theme="winxp"] #analyticsBar::after {
content: ''; position: absolute; right: 36px; bottom: -8px; width: 14px; height: 14px;
background: #ffffe1; border-right: 1px solid #000000; border-bottom: 1px solid #000000;
transform: skewX(30deg) rotate(45deg);
}
[data-theme="winxp"] #analyticsBar a { color: #0000ff; }
/* Tray balloons wear the same yellow, the tail pointing down at the tray. */
[data-theme="winxp"] .balloon {
background: #ffffe1; color: #000000; border: 1px solid #000000; border-radius: 8px;
box-shadow: 2px 3px 4px rgba(0, 0, 0, .3); font-size: 12px;
}
[data-theme="winxp"] .balloon::after {
content: ''; position: absolute; right: 30px; bottom: -8px; width: 14px; height: 14px;
background: #ffffe1; border-right: 1px solid #000000; border-bottom: 1px solid #000000;
transform: skewX(30deg) rotate(45deg);
}
[data-theme="winxp"] .balloon-icon {
display: grid; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; place-items: center;
color: #ffffff; font: italic 700 12px/1 Georgia, serif;
background: radial-gradient(circle at 35% 30%, #8ec5ff, #1f6fe0 60%, #0d3f9e);
box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #2a5bb8;
}
[data-theme="winxp"] .balloon-title { font-weight: 700; }
[data-theme="winxp"] .balloon-text { color: #000000; }
[data-theme="winxp"] .balloon-x {
width: 15px; height: 15px; padding: 0; display: grid; place-items: center; font-size: 12px;
color: #4d4d4d; background: #ffffff; border: 1px solid #aca899; border-radius: 3px;
}
[data-theme="winxp"] .balloon-x:hover { color: #ffffff; background: #e34a1b; border-color: #a72d0c; }
/* The research ask is a balloon too, its tail pointing down at Start. */
[data-theme="winxp"] .ask-card, [data-theme="winxp"] .boot-card {
background: #ffffe1; color: #000000; border: 1px solid #000000; border-radius: 8px;
box-shadow: 2px 3px 4px rgba(0, 0, 0, .3); font: 12px/1.4 Tahoma, "Segoe UI", sans-serif;
}
[data-theme="winxp"] .ask-card::after {
content: ''; position: absolute; left: 30px; bottom: -8px; width: 14px; height: 14px;
background: #ffffe1; border-right: 1px solid #000000; border-bottom: 1px solid #000000;
transform: skewX(-30deg) rotate(45deg);
}
[data-theme="winxp"] .ask-email, [data-theme="winxp"] .ask-answer { background: #ffffff; color: #000000; border: 1px solid #7f9db9; border-radius: 0; padding: 3px 5px; }
[data-theme="winxp"] .ask-note { color: #000000; }
[data-theme="winxp"] .ask-note.err { color: #c00000; }
[data-theme="winxp"] .ask-book, [data-theme="winxp"] .ask-talk { color: #0000ff; font-weight: 400; text-decoration: underline; }
[data-theme="winxp"] .ask-x {
width: 15px; height: 15px; padding: 0; display: grid; place-items: center; font-size: 12px;
color: #4d4d4d; background: #ffffff; border: 1px solid #aca899; border-radius: 3px;
}
[data-theme="winxp"] .ask-x:hover { color: #ffffff; background: #e34a1b; border-color: #a72d0c; }
/* The boot screen while the machine boots, then "welcome back." — the
vibeOS mark where XP put its own, a marquee of three blue blocks. */
[data-theme="winxp"] .boot-splash { display: grid; place-items: center; font-family: Tahoma, "Segoe UI", sans-serif; user-select: none; }
[data-theme="winxp"] .bs-boot { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: -6vh; }
[data-theme="winxp"] .bs-mark { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
[data-theme="winxp"] .bs-logo { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; }
[data-theme="winxp"] .bs-word { font: italic 700 52px/1 "Franklin Gothic Medium", "Trebuchet MS", Tahoma, sans-serif; letter-spacing: -1px; }
[data-theme="winxp"] .bs-word b { color: #ff7a1a; font-size: .6em; vertical-align: super; margin-left: 2px; }
[data-theme="winxp"] .bs-bar {
position: relative; width: 164px; height: 18px; overflow: hidden;
border: 2px solid #b2b2b2; border-radius: 6px;
}
[data-theme="winxp"] .bs-bar i {
position: absolute; top: 3px; left: -40px; width: 9px; height: 8px; border-radius: 1px;
background: linear-gradient(to bottom, #2838c7, #3e6cf2 35%, #8db0ff 50%, #3e6cf2 65%, #2838c7);
animation: bs-marquee 2.2s linear infinite;
}
[data-theme="winxp"] .bs-bar i:nth-child(2) { left: -29px; }
[data-theme="winxp"] .bs-bar i:nth-child(3) { left: -18px; }
@keyframes bs-marquee { to { transform: translateX(212px); } }
[data-theme="winxp"] .bs-status { margin: 0; color: #9a9a9a; font-size: 12px; }
[data-theme="winxp"] .bs-hint { position: absolute; left: 16px; right: 16px; bottom: 28px; margin: 0; text-align: center; color: #b9b9b9; font-size: 13px; }
[data-theme="winxp"] .bs-skip { margin-left: 10px; padding: 3px 14px; font: inherit; font-weight: 600; color: #fff; background: transparent; border: 1px solid #8a8a8a; border-radius: 3px; cursor: pointer; }
[data-theme="winxp"] .bs-skip:hover, [data-theme="winxp"] .bs-skip:focus-visible { border-color: #fff; outline: none; }
[data-theme="winxp"] .bs-welcome { display: none; }
[data-theme="winxp"] .boot-splash.welcome .bs-boot,
[data-theme="winxp"] .boot-splash.welcome .bs-hint { display: none; }
[data-theme="winxp"] .boot-splash.welcome .bs-welcome { display: flex; flex-direction: column; position: absolute; inset: 0; }
[data-theme="winxp"] .bs-band {
height: 12vh; background: #00309c; border-bottom: 2px solid transparent;
border-image: linear-gradient(to right, #00309c, #ffffff 35%, #ffffff 65%, #00309c) 1;
}
[data-theme="winxp"] .bs-band.bs-low { border-bottom: 0; border-top: 2px solid transparent; border-image: linear-gradient(to right, #00309c, #f99736 40%, #f99736 60%, #00309c) 1; }
[data-theme="winxp"] .bs-mid {
flex: 1; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 0 16px;
background: radial-gradient(circle at 18% 22%, #8faeee, #5a7edc 42%);
}
[data-theme="winxp"] .bs-hello { margin: 0; color: #ffffff; font: italic 700 clamp(30px, 6vw, 52px)/1 "Franklin Gothic Medium", "Trebuchet MS", Tahoma, sans-serif; text-shadow: 1px 2px 3px rgba(0, 0, 50, .35); }
[data-theme="winxp"] .bs-pic { width: 96px; height: 96px; border-radius: 8px; border: 3px solid #ffffff; background: #ffffff; object-fit: cover; box-shadow: 0 0 0 2px #2c4fae; }
/* The pairing-link consent as Remote Assistance: the agent's tile, the
big friendly line, the question, Accept/Not now at the right. Focus
still starts on Not now; only the visual order changes. */
[data-theme="winxp"] .link-ra { display: flex; gap: 12px; align-items: center; }
[data-theme="winxp"] .link-avatar { width: 48px; height: 48px; flex: 0 0 auto; }
[data-theme="winxp"] .link-ra-who { margin: 0; font-size: 11px; color: #000000; }
[data-theme="winxp"] .link-ra-big { margin: 3px 0 0; font: 700 22px/1.15 "Trebuchet MS", Tahoma, sans-serif; color: #1c3fa5; }
[data-theme="winxp"] .link-modal .key-modal-actions { flex-direction: row; justify-content: flex-end; gap: 8px; margin-top: 6px; }
[data-theme="winxp"] .link-modal .key-modal-actions .btn { width: auto; min-width: 75px; padding: 4px 12px; font-size: 12px; }
[data-theme="winxp"] #linkAcceptBtn { order: 1; }
[data-theme="winxp"] #linkRefuseBtn { order: 2; }
/* Win95 chrome when the default palette is on (:root, no data-theme). Other
themes keep mac traffic lights and the floating dock. */
html:not([data-theme]) #desktop {
background: var(--desk1);
}
html:not([data-theme]) #menubar {
background: #c0c0c0; color: #000; border-bottom: 2px solid #808080;
backdrop-filter: none; font-weight: 600;
}
html:not([data-theme]) .pill {
background: #c0c0c0; border-radius: 0;
border: 1px solid; border-color: #fff #404040 #404040 #fff;
box-shadow: none;
}
html:not([data-theme]) #wsPill:hover, html:not([data-theme]) #loginPill:hover {
background: #d4d0c8;
}
html:not([data-theme]) .win {
border: 2px solid; border-color: #dfdfdf #404040 #404040 #dfdfdf;
box-shadow: 1px 1px 0 #000;
}
html:not([data-theme]) .titlebar {
background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
border-bottom: 1px solid #000; padding: 2px 3px 2px 4px; gap: 2px;
}
html:not([data-theme]) .titlebar .title {
order: 1; margin-right: auto; color: #fff; font-weight: 700; margin-left: 2px;
}
html:not([data-theme]) .titlebar .badge { display: none; }
html:not([data-theme]) .titlebar .tl {
order: 2; width: 16px; height: 14px; border-radius: 0; padding: 0;
background: #c0c0c0; color: #000; font-size: 10px; line-height: 12px;
border: 1px solid; border-color: #fff #404040 #404040 #fff;
display: grid; place-items: center; flex-shrink: 0;
}
html:not([data-theme]) .titlebar .tl.r::before { content: '×'; font-weight: 700; }
html:not([data-theme]) .titlebar .tl.y::before { content: '_'; margin-top: -4px; }
html:not([data-theme]) .titlebar .tl.g::before { content: '□'; font-size: 9px; }
html:not([data-theme]) .titlebar .tl.r { background: #c0c0c0; }
html:not([data-theme]) .titlebar .tl.y { background: #c0c0c0; }
html:not([data-theme]) .titlebar .tl.g { background: #c0c0c0; }
html:not([data-theme]) .titlebar .tl:active { border-color: #404040 #fff #fff #404040; }
html:not([data-theme]) #dock {
position: fixed; left: 0; right: 0; bottom: 0; transform: none;
width: auto; max-width: none; border-radius: 0;
background: #c0c0c0; border-top: 2px solid #dfdfdf;
box-shadow: inset 0 1px 0 #fff; padding: 3px 4px; gap: 4px;
justify-content: flex-start; backdrop-filter: none;
}
html:not([data-theme]) #dock button {
width: auto; min-width: 28px; height: 28px; padding: 0 10px;
border-radius: 0; font-size: 12px; font-weight: 600;
background: #c0c0c0; color: #000;
border: 2px outset #c0c0c0; transition: none;
display: inline-flex; align-items: center; justify-content: center;
}
html:not([data-theme]) #dock button .dock-icon-img {
width: 16px; height: 16px; object-fit: contain; margin-right: 4px; flex-shrink: 0;
}
html:not([data-theme]) #dock button .dock-label { line-height: 1; }
html:not([data-theme]) #dock button:hover { transform: none; border-style: outset; }
html:not([data-theme]) #dock button:active { border-style: inset; }
html:not([data-theme]) #dock button.dock-start {
font-weight: 700; padding: 0 14px; min-width: 64px;
}
html:not([data-theme]) #dock button.dock-start::before {
content: '⊞'; margin-right: 6px; font-size: 14px;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
background: var(--bg); color: var(--text); overflow: hidden;
font: 14px/1.5 ui-sans-serif, -apple-system, "SF Pro Text", system-ui, sans-serif;
-webkit-font-smoothing: antialiased; font-family: var(--font-ui);
}
button { font: inherit; color: inherit; cursor: pointer; }
code, pre, .mono, .win .title { font-family: var(--font-mono); }
.win .title { font-size: 11.5px; letter-spacing: -.01em; }
/* Same wallpaper treatment as the docker build: a purple-to-pink wash over
a photo, so the two versions read as the same product. A wallpaper is an
edit to this rule (an image url, a gradient, an inline SVG); nothing in
os.js sets one. */
#desktop {
position: fixed; inset: 0;
background:
linear-gradient(to bottom, rgba(147,112,219,.30), rgba(255,192,203,.30)),
linear-gradient(135deg, var(--desk1), var(--desk2) 55%, var(--desk3));
background-size: cover;
background-position: center;
}
/* Four pills and a clock do not fit a phone: the row is never allowed to
overflow (a menubar that scrolls sideways pushes the clock off the edge
and cannot be reached), so every pill shrinks and its text ellipsises,
and the clock and the brand keep their width. Add to Home Screen made
the phone the device this lands on. */
#menubar {
position: relative; z-index: 500; display: flex; align-items: center; gap: 14px;
padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: #2b2733;
background: rgba(255,255,255,.34); backdrop-filter: blur(var(--blur));
overflow: hidden;
}
#menubar .sp { flex: 1 1 0; min-width: 0; }
#menubar > strong, #menubar > #clock, #menubar > img { flex: 0 0 auto; }
.pill {
display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px;
border-radius: var(--radius-pill); background: rgba(0,0,0,.16); font-size: 11px;
flex: 0 1 auto; min-width: 0; overflow: hidden;
}
.pill > span:not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) { #menubar { gap: 8px; } }
@media (max-width: 480px) { #menubar > strong { display: none; } }
#wsPill, #loginPill { cursor: pointer; border: 0; color: inherit; font-weight: 600; }
#wsPill:hover, #loginPill:hover { background: rgba(0,0,0,.28); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.dot.warn { background: var(--warn); } .dot.off { background: var(--no); }
.win {
position: absolute; display: flex; flex-direction: column;
min-width: 300px; min-height: 180px;
background: var(--winbg); color: var(--text);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-win);
box-shadow: var(--shadow-win); overflow: hidden;
}
.win.min { display: none; }
.titlebar {
display: flex; align-items: center; gap: 8px; padding: 9px 12px;
background: var(--bar); border-bottom: 1px solid var(--barline);
cursor: grab; user-select: none; flex: 0 0 auto;
}
.titlebar:active { cursor: grabbing; }
.tl { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.win-icon {
width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; border-radius: 2px;
}
html:not([data-theme]) .win-icon { width: 14px; height: 14px; margin-left: 2px; }
.title { margin-left: 4px; font-weight: 600; color: var(--btntext); }
.badge {
margin-left: auto; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
color: var(--dimmer); border: var(--border-w) solid var(--line); border-radius: var(--radius-sm); padding: 1px 6px;
}
.body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px; }
/* Generated apps: fixed chrome, mount fills the pane — no host scrollbar. */
.body.app-shell {
display: flex; flex-direction: column;
overflow: hidden; padding: 0;
scrollbar-width: none;
}
.body.app-shell::-webkit-scrollbar { display: none; }
.app-mount {
flex: 1 1 auto; min-height: 0; min-width: 0;
width: 100%; height: 100%;
overflow: hidden; position: relative; box-sizing: border-box;
contain: layout style;
}
.app-scroll {
overflow: auto; min-height: 0;
scrollbar-width: thin;
scrollbar-color: var(--scroll) transparent;
}
.app-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.app-scroll::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: var(--radius-sm); }
.resize {
position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize;
background: linear-gradient(135deg, transparent 50%, var(--line2) 50%);
}
#dock {
position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
display: flex; gap: 8px; padding: 8px 10px; z-index: 400;
background: rgba(255,255,255,.3); border-radius: var(--radius-win); backdrop-filter: blur(var(--blur));
}
#dock button {
width: 46px; height: 46px; border: 0; border-radius: var(--radius-win); font-size: 19px;
overflow: hidden;
display: flex; align-items: center; justify-content: center; gap: 0; transition: transform .12s;
background: linear-gradient(160deg, var(--title1), var(--hover)); color: var(--titletext);
padding: 0;
}
#dock .dock-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#dock .dock-label { display: none; }
#dock .dock-sep { width: 1px; background: rgba(0,0,0,.18); margin: 4px 2px; align-self: stretch; }
#dock button:hover { transform: translateY(-5px) scale(1.06); }
.chat-app { padding: 0; display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.chat-log {
/* basis 0: the log takes what the composer leaves. With `auto` a long log
made the composer shrink too and squeezed the input row out of it. */
flex: 1 1 0; min-height: 0; overflow: auto; padding: 12px 14px;
display: flex; flex-direction: column; gap: 10px;
}
/* The composer may shrink, and only the connect card gives: with its
options and the Claude Code steps open it is ~600 px, taller than a
500 px chat window, and it ran off the window (up in headless Chromium,
down in Chrome). It scrolls inside the window; the input row never moves. */
.chat-composer { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid var(--barline); background: var(--panel); }
.chat-composer > * { flex: 0 0 auto; }
.chat-chips { flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.chat-first-note { padding: 0 12px 8px; margin-top: -4px; font-size: 11px; color: var(--dimmer); }
.chat-composer-row { gap: 8px; padding: 10px 12px; align-items: center; }
.chat-attach { flex: 0 0 auto; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; }
.chat-input {
flex: 1; min-width: 0; min-height: 0; margin: 0;
border: 1px solid var(--line); border-radius: var(--radius-ctl);
background: var(--panel2); padding: 8px 10px; font-size: 13px; line-height: 1.35; resize: none;
}
.chat-send { flex: 0 0 auto; align-self: center; }
.chat-bubble {
max-width: min(92%, 520px); padding: 9px 12px; font-size: 13px; line-height: 1.4;
border: 1px solid var(--line); border-radius: var(--radius-win) 10px 10px 2px;
background: var(--panel2);
}
.chat-bubble-you {
align-self: flex-end; max-width: min(85%, 480px);
background: var(--sel); color: var(--seltext); border-color: var(--line2);
border-radius: var(--radius-win) 10px 2px 10px;
}
.chat-bubble-vibeos { align-self: flex-start; }
.chat-bubble a { overflow-wrap: anywhere; }
.chat-restore, .chat-line-meta { align-self: center; max-width: 100%; background: transparent; border: 0; padding: 4px 8px; font-size: 11px; }
.chat-failure { border-color: var(--no); background: color-mix(in srgb, var(--panel2) 92%, var(--no)); }
.chat-failure-actions { margin-top: 10px; gap: 8px; }
.chat-card .chat-card-head { align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.chat-card-icon { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.chat-card-titles { flex: 1; min-width: 0; }
.chat-card-actions { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
.btn {
border: var(--border-w) solid var(--line2); background: var(--btn); color: var(--btntext);
border-radius: var(--radius-ctl); padding: 7px 13px; font-size: 13px; font-weight: 500;
}
.btn:hover { border-color: var(--focus); }
.btn.p { background: var(--pbtn); color: var(--pbtntext); border-color: var(--pbtn); font-weight: 600; }
/* win95 (the default): --pbtn is the panel grey, so a border in --pbtn left
a primary button as bare bold text on its dialog (the credit-out
paywall's Subscribe, tavc.16.28). Win95's default button: a black frame
around the raised bevel. */
:root:not([data-theme]) .btn.p { border-color: #000000; box-shadow: inset 1px 1px #ffffff, inset -1px -1px #808080; }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
input[type=text], textarea {
width: 100%; background: var(--panel2); color: var(--text);
border: var(--border-w) solid var(--line); border-radius: var(--radius-ctl); padding: 8px 10px;
font-size: 13px; outline: none; font-family: inherit;
}
input:focus, textarea:focus { border-color: var(--focus); }
.row { display: flex; gap: 8px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--dim); } .dimmer { color: var(--dimmer); }
.small { font-size: 12px; } .tiny { font-size: 11px; }
h3 { margin: 0 0 8px; font-size: 15px; }
h4 { margin: 14px 0 4px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dimmer); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.yes { color: var(--ok); } .no { color: var(--no); } .part { color: var(--warn); }
.file { display: flex; gap: 8px; padding: 5px 7px; border-radius: var(--radius-sm); cursor: pointer; align-items: center; }
.file:hover { background: var(--hover); }
pre.out {
background: var(--panel2); border: var(--border-w) solid var(--line); border-radius: var(--radius-ctl);
padding: 10px; font-size: 11.5px; overflow: auto; max-height: 240px; margin: 0;
white-space: pre-wrap; word-break: break-word;
}
.note { border-left: 2px solid var(--line2); padding: 2px 0 2px 10px; color: var(--dim); font-size: 12px; }
.card {
display: flex; align-items: center; gap: 10px; padding: 9px 11px;
border: var(--border-w) solid var(--line); border-radius: var(--radius-ctl); background: var(--panel2);
}
.app-list-icon { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.card.blocked { opacity: .55; }
.req { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius-sm); padding: 1px 5px; border: var(--border-w) solid var(--line2); color: var(--dimmer); }
.req.miss { color: var(--warn); border-color: var(--warnline); }
.chip { position: relative; display: inline-flex; border: var(--border-w) solid var(--line2); border-radius: var(--radius-sm); overflow: hidden; background: var(--panel2); }
.chip img { display: block; width: 56px; height: 42px; object-fit: cover; }
.chip .x { position: absolute; top: 0; right: 0; border: 0; padding: 0 5px; line-height: 16px; font-size: 13px; background: var(--panel); color: var(--text); border-radius: 0 0 0 var(--radius-sm); }
img.shot { display: block; max-width: 100%; max-height: 160px; margin-top: 6px; border-radius: var(--radius-sm); border: var(--border-w) solid var(--line2); }
.upsell { border: var(--border-w) solid var(--upline); background: linear-gradient(160deg,var(--up1),var(--up2)); border-radius: var(--radius-win); padding: 12px; }
.key-modal-overlay {
position: fixed; inset: 0; z-index: 9000;
display: flex; align-items: center; justify-content: center;
background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
}
.key-modal {
width: min(420px, calc(100vw - 32px));
background: var(--winbg); color: var(--text);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-win);
padding: 20px 22px; box-shadow: var(--shadow-win);
}
.key-modal h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.key-modal-actions { margin-top: 16px; }
.key-modal-actions .btn { width: 100%; }
.key-modal-actions .btn.skip { background: transparent; border-color: transparent; color: var(--dimmer); font-weight: 400; }
.key-modal-actions .btn.skip:hover { color: var(--dim); border-color: var(--line); }
.key-modal a { color: var(--accent); }
.key-modal { max-height: calc(100dvh - 32px); overflow-y: auto; }
.connect-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.connect-steps > li { position: relative; padding-left: 28px; counter-increment: step; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.connect-steps > li::before {
content: counter(step); position: absolute; left: 0; top: 0;
width: 20px; height: 20px; border-radius: 50%; text-align: center; line-height: 20px;
font-size: 11px; font-weight: 600; background: var(--accent); color: var(--winbg);
}
.connect-steps p { margin: 0; }
.connect-steps code { font-size: 11px; }
.copy-line, .prompt-card { display: flex; gap: 8px; align-items: center; }
.copy-line code { flex: 1; min-width: 0; white-space: pre-wrap; word-break: break-all; padding: 6px 8px; border: var(--border-w) solid var(--line); border-radius: var(--radius-sm); background: var(--panel2); }
.connect-prompts { gap: 6px; }
.prompt-card { padding: 6px 6px 6px 10px; border: var(--border-w) solid var(--line); border-radius: var(--radius-sm); background: var(--panel2); font-size: 12px; line-height: 1.35; }
.prompt-card span { flex: 1; min-width: 0; }
.key-modal-actions .copy-line .btn, .key-modal-actions .prompt-card .btn, .connect-steps .btn { width: auto; flex: none; }
.oauth-panel { margin-top: 4px; gap: 10px; }
.oauth-code {
font-size: 28px; font-weight: 600; letter-spacing: .12em; text-align: center;
padding: 12px; border: var(--border-w) solid var(--line2); border-radius: var(--radius-win); background: var(--panel2);
}
.oauth-status { min-height: 1.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; }
#dock button:hover { transform: none; }
}
/* Hosted-build disclosure: sits above the dock, uses theme tokens so win95
and xp do not get a foreign alert chrome. */
#analyticsBar {
position: fixed; left: 12px; right: 12px;
bottom: calc(76px + env(safe-area-inset-bottom, 0px));
z-index: 10001; display: flex; align-items: center; gap: 10px;
padding: 10px 12px; font-size: 13px; line-height: 1.45;
color: var(--text); background: var(--panel);
border: var(--border-w) solid var(--line); border-radius: var(--radius-win);
box-shadow: var(--shadow-win);
}
#analyticsBar .analytics-msg { flex: 1; min-width: 0; }
#analyticsBar a { color: var(--accent); text-decoration: underline; }
#analyticsBar a:hover { text-decoration: none; }
#analyticsBar .analytics-dismiss {
flex: 0 0 auto; border: var(--border-w) solid var(--line2);
background: var(--btn); color: var(--btntext);
border-radius: var(--radius-ctl); padding: 6px 12px;
font-size: 12px; font-weight: 600;
}
#analyticsBar .analytics-dismiss:hover { border-color: var(--focus); background: var(--hover); }
/* Tray balloons: a plain toast in the theme's own tokens (winxp dresses
it as a balloon above). Positioned by ui/dock.js above the dock. */
.balloon {
display: flex; gap: 10px; align-items: flex-start; width: min(320px, calc(100vw - 28px));
padding: 10px 12px; font-size: 12.5px; line-height: 1.4;
background: var(--panel); color: var(--text);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-ctl);
box-shadow: var(--shadow-win); animation: balloon-in .18s ease-out;
}
@keyframes balloon-in { from { opacity: 0; transform: translateY(6px); } }
.balloon-icon { display: none; }
.balloon-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.balloon-title { display: block; font-weight: 600; }
.balloon-text { color: var(--dim); margin-top: 2px; }
.balloon-x { flex: 0 0 auto; border: 0; background: transparent; padding: 0 2px; font-size: 15px; line-height: 1; color: var(--dim); }
/* The research ask (ui/dock.js startAsk): one line, an email field and
Send, bottom-left above the dock; winxp dresses it as a balloon. */
.ask-card, .boot-card {
display: flex; flex-direction: column; gap: 8px; width: min(340px, calc(100vw - 32px));
padding: 12px 12px 12px 14px; font-size: 12.5px; line-height: 1.45;
background: var(--panel); color: var(--text);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-ctl);
box-shadow: var(--shadow-win); animation: balloon-in .18s ease-out;
}
.ask-head { display: flex; gap: 8px; align-items: flex-start; }
.ask-line { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.ask-x { flex: 0 0 auto; border: 0; background: transparent; padding: 0 2px; font-size: 15px; line-height: 1; color: var(--dim); cursor: pointer; }
.ask-form { display: flex; gap: 6px; margin: 0; }
.ask-agent { flex-wrap: wrap; }
.ask-agent .ask-answer { flex: 1 1 100%; }
.ask-notice { margin: 0; color: var(--dim); font-size: 11.5px; }
.ask-email, .ask-answer {
flex: 1; min-width: 0; padding: 6px 8px; font: inherit; color: var(--text); background: var(--panel2);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-sm);
}
.ask-send { flex: 0 0 auto; }
.ask-note { margin: 0; color: var(--dim); overflow-wrap: anywhere; }
.ask-note.err { color: var(--no); }
.ask-book { color: var(--accent); font-weight: 600; }
.ask-talk { align-self: flex-start; color: var(--accent); font-weight: 600; text-decoration: none; }
.ask-talk:hover { text-decoration: underline; }
/* The boot card (ui/dock.js startBootCard): the research ask's box, top
right under the menubar, with the boot's progress as a bar. */
.boot-bar { height: 4px; border-radius: 2px; overflow: hidden; background: var(--panel2); }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s linear; }
.boot-now { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
/* The login flow (ui/chat.js connect card, ui/dock.js credits banner and
Pro pill; beads-tavc.16.11). */
.chat-composer > .connect-card { flex: 0 1 auto; min-height: 0; overflow: auto; }
.connect-card { gap: 8px; padding: 12px; margin: 0 0 8px; border: var(--border-w) solid var(--line2); border-radius: var(--radius-ctl); background: var(--panel); }
.connect-card .connect-title { font-size: 13px; }
.connect-card.pulse { animation: connect-pulse .6s ease-out 2; }
@keyframes connect-pulse { 0% { box-shadow: 0 0 0 0 var(--accent); } 100% { box-shadow: 0 0 0 8px transparent; } }
.connect-options { gap: 8px; }
.chat-zero { gap: 8px; align-items: center; margin: 0 0 8px; }
.credits-banner { position: fixed; left: 50%; transform: translateX(-50%); z-index: 7800; display: flex; gap: 10px; align-items: center;
max-width: calc(100vw - 32px); padding: 8px 10px 8px 14px; font-size: 12.5px; background: var(--panel); color: var(--text);
border: var(--border-w) solid var(--line2); border-radius: var(--radius-ctl); box-shadow: var(--shadow-win); animation: balloon-in .18s ease-out; }
.credits-banner-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-pill { cursor: pointer; }
@media (max-width: 480px) { .pro-pill .pro-long { display: none; } .credits-banner-text { display: none; } }
/* The pairing-link dialog: its Remote Assistance header is winxp's. */
.link-modal { display: flex; flex-direction: column; gap: 10px; }
.link-modal h2 { margin-bottom: 0; }
.link-ra { display: none; }
/* the Terminal: a vt100 grid over VM.tty; colours are the classic 16 */
.tty { position: relative; height: 100%; overflow: auto; background: #101012; color: #d6d6d6; padding: 6px 8px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.3; white-space: pre; cursor: text; outline: none; }
.tty div { min-height: 1.3em; }
.tty .cur { background: #d6d6d6; color: #101012; }
.tty .link { text-decoration: underline; text-decoration-color: #6af; cursor: pointer; }
.tty .bo { font-weight: 700; }
.tty .ul { text-decoration: underline; }
.tty .inv { background: #d6d6d6; color: #101012; }
.tty .f0 { color: #000 } .tty .f1 { color: #d24 } .tty .f2 { color: #4c2 } .tty .f3 { color: #cb2 } .tty .f4 { color: #48e } .tty .f5 { color: #c4c } .tty .f6 { color: #2bc } .tty .f7 { color: #ccc }
.tty .f8 { color: #666 } .tty .f9 { color: #f66 } .tty .f10 { color: #6f6 } .tty .f11 { color: #ff6 } .tty .f12 { color: #6af } .tty .f13 { color: #f6f } .tty .f14 { color: #6ff } .tty .f15 { color: #fff }
.tty .b0 { background: #000 } .tty .b1 { background: #d24 } .tty .b2 { background: #4c2 } .tty .b3 { background: #cb2 } .tty .b4 { background: #48e } .tty .b5 { background: #c4c } .tty .b6 { background: #2bc } .tty .b7 { background: #ccc }
.tty .b8 { background: #666 } .tty .b9 { background: #f66 } .tty .b10 { background: #6f6 } .tty .b11 { background: #ff6 } .tty .b12 { background: #6af } .tty .b13 { background: #f6f } .tty .b14 { background: #6ff } .tty .b15 { background: #fff }
.tty-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; resize: none; border: 0; padding: 0; }
.tty-note { position: absolute; left: 10px; right: 10px; bottom: 8px; padding: 6px 8px; border-radius: 6px; background: var(--panel); border: 1px solid var(--barline); }
.tty-note[hidden] { display: none; }
/* Portal (ui/portal.js): soft vignette, no document scroll */
.portal-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 8px; box-sizing: border-box; gap: 6px; background: var(--desktop, var(--panel2)); }
.portal-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.portal-topic { flex: 1 1 140px; min-width: 0; padding: 5px 8px; font: inherit; border: var(--border-w) solid var(--line2); border-radius: var(--radius-sm); background: var(--panel); color: var(--text); }
.portal-cost { flex: 0 0 auto; }
.portal-frame {
position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden;
box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.08);
-webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 62%, transparent 100%);
mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 62%, transparent 100%);
}
.portal-img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: crosshair; touch-action: manipulation; }
.portal-veil { position: absolute; inset: 0; background: rgba(0,0,0,.45); pointer-events: none; }
.portal-status { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #eee; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.portal-drawer { margin: 0; color: var(--dim); }
.portal-recent { margin: 4px 0 0; padding-left: 1.2em; }
.portal-recent .linkish { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-align: left; }
.portal-prompt-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.portal-prompt { width: min(400px, 100%); padding: 14px 16px; background: var(--panel); border: var(--border-w) solid var(--line2); border-radius: var(--radius-ctl); box-shadow: var(--shadow-win); }
.portal-prompt h2 { margin: 0 0 6px; font-size: 15px; }
.portal-ctx { position: fixed; z-index: 9500; background: var(--panel); border: var(--border-w) solid var(--line2); border-radius: var(--radius-sm); box-shadow: var(--shadow-win); padding: 4px; }
.portal-ctx button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 6px 10px; font: inherit; color: var(--text); cursor: pointer; border-radius: var(--radius-sm); }
.portal-ctx button:hover { background: var(--panel2); }