@nandoblanco/opencode-local-tokens 0.0.0-stage → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/gui.css ADDED
@@ -0,0 +1,1007 @@
1
+ @scope (.olt-scope) {
2
+ :scope.olu-root {
3
+ display: flex;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ box-sizing: border-box;
7
+ color: var(--v2-text-text-base);
8
+ font-family: var(--v2-font-family-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
9
+ }
10
+
11
+ :scope.olu-root--modal {
12
+ height: min(74vh, 660px);
13
+ max-height: 100%;
14
+ overflow: hidden;
15
+ }
16
+
17
+ :scope.olu-root--panel {
18
+ height: 100%;
19
+ min-height: 420px;
20
+ container-type: inline-size;
21
+ }
22
+
23
+ .olu-top-bar {
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: space-between;
27
+ gap: 8px;
28
+ padding-bottom: 10px;
29
+ border-bottom: 1px solid var(--v2-border-border-muted);
30
+ flex-shrink: 0;
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ :scope.olu-root--panel .olu-top-bar {
35
+ padding: 10px 12px;
36
+ }
37
+
38
+ .olu-top-left,
39
+ .olu-top-right {
40
+ display: flex;
41
+ align-items: center;
42
+ gap: 8px;
43
+ flex-wrap: wrap;
44
+ }
45
+
46
+ .olu-segmented {
47
+ display: inline-flex;
48
+ align-items: center;
49
+ padding: 2px;
50
+ border-radius: 6px;
51
+ background: var(--v2-background-bg-base);
52
+ border: 1px solid var(--v2-border-border-muted);
53
+ }
54
+
55
+ .olu-segment {
56
+ appearance: none;
57
+ border: none;
58
+ background: transparent;
59
+ color: var(--v2-text-text-muted);
60
+ font-family: inherit;
61
+ font-size: 12px;
62
+ font-weight: 500;
63
+ line-height: 16px;
64
+ padding: 3px 10px;
65
+ border-radius: 4px;
66
+ cursor: pointer;
67
+ transition: background-color 120ms ease, color 120ms ease;
68
+ white-space: nowrap;
69
+ }
70
+
71
+ .olu-segment:hover {
72
+ color: var(--v2-text-text-base);
73
+ }
74
+
75
+ .olu-segment:focus-visible {
76
+ outline: none;
77
+ box-shadow: 0 0 0 2px var(--v2-border-border-focus);
78
+ }
79
+
80
+ .olu-segment--active {
81
+ background: var(--v2-background-bg-layer-02);
82
+ color: var(--v2-text-text-base);
83
+ box-shadow: var(--v2-elevation-button-neutral, 0 1px 2px rgba(0, 0, 0, 0.08));
84
+ }
85
+
86
+ .olu-updated-label {
87
+ font-size: 11px;
88
+ color: var(--v2-text-text-muted);
89
+ font-variant-numeric: tabular-nums;
90
+ }
91
+
92
+ .olu-body-scroll {
93
+ flex: 1;
94
+ min-height: 0;
95
+ overflow-y: auto;
96
+ overflow-x: hidden;
97
+ padding-top: 10px;
98
+ display: flex;
99
+ flex-direction: column;
100
+ gap: 12px;
101
+ }
102
+
103
+ :scope.olu-root--panel .olu-body-scroll {
104
+ padding: 10px 12px;
105
+ }
106
+
107
+ .olu-cards-grid {
108
+ display: grid;
109
+ grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
110
+ gap: 8px;
111
+ }
112
+
113
+ .olu-provider-card {
114
+ display: flex;
115
+ flex-direction: column;
116
+ gap: 6px;
117
+ padding: 10px 12px;
118
+ border-radius: 8px;
119
+ background: var(--v2-background-bg-base);
120
+ border: 1px solid var(--v2-border-border-muted);
121
+ }
122
+
123
+ .olu-card-head {
124
+ display: flex;
125
+ align-items: center;
126
+ justify-content: space-between;
127
+ gap: 8px;
128
+ }
129
+
130
+ .olu-card-title {
131
+ font-size: 13px;
132
+ font-weight: 600;
133
+ color: var(--v2-text-text-base);
134
+ display: flex;
135
+ align-items: center;
136
+ gap: 6px;
137
+ }
138
+
139
+ .olu-card-subtitle {
140
+ font-size: 11px;
141
+ color: var(--v2-text-text-muted);
142
+ }
143
+
144
+ .olu-card-primary {
145
+ display: flex;
146
+ align-items: baseline;
147
+ justify-content: space-between;
148
+ gap: 8px;
149
+ }
150
+
151
+ .olu-card-value {
152
+ font-size: 16px;
153
+ font-weight: 600;
154
+ font-variant-numeric: tabular-nums;
155
+ }
156
+
157
+ .olu-status--good {
158
+ color: var(--v2-state-fg-success, #22c55e);
159
+ }
160
+
161
+ .olu-status--warn {
162
+ color: var(--v2-state-fg-warning, #f59e0b);
163
+ }
164
+
165
+ .olu-status--bad {
166
+ color: var(--v2-state-fg-error, #ef4444);
167
+ }
168
+
169
+ .olu-status--neutral {
170
+ color: var(--v2-text-text-base);
171
+ }
172
+
173
+ .olu-progress-wrap {
174
+ display: flex;
175
+ align-items: center;
176
+ gap: 8px;
177
+ }
178
+
179
+ .olu-progress-track {
180
+ flex: 1;
181
+ height: 6px;
182
+ border-radius: 999px;
183
+ background: var(--v2-background-bg-layer-02);
184
+ overflow: hidden;
185
+ }
186
+
187
+ .olu-progress-fill {
188
+ height: 100%;
189
+ border-radius: 999px;
190
+ transition: width 180ms ease;
191
+ }
192
+
193
+ .olu-progress-fill--good {
194
+ background: var(--v2-state-fg-success, #22c55e);
195
+ }
196
+
197
+ .olu-progress-fill--warn {
198
+ background: var(--v2-state-fg-warning, #f59e0b);
199
+ }
200
+
201
+ .olu-progress-fill--bad {
202
+ background: var(--v2-state-fg-error, #ef4444);
203
+ }
204
+
205
+ .olu-progress-fill--neutral {
206
+ background: var(--v2-border-border-focus, #3b82f6);
207
+ }
208
+
209
+ .olu-progress-pct {
210
+ font-size: 11px;
211
+ font-weight: 600;
212
+ font-variant-numeric: tabular-nums;
213
+ white-space: nowrap;
214
+ }
215
+
216
+ .olu-card-meta {
217
+ display: flex;
218
+ flex-direction: column;
219
+ gap: 3px;
220
+ font-size: 11px;
221
+ color: var(--v2-text-text-muted);
222
+ }
223
+
224
+ .olu-info-banner {
225
+ display: flex;
226
+ align-items: center;
227
+ justify-content: space-between;
228
+ gap: 12px;
229
+ padding: 10px 14px;
230
+ border-radius: 8px;
231
+ background: var(--v2-background-bg-base);
232
+ border: 1px solid var(--v2-border-border-muted);
233
+ font-size: 12px;
234
+ color: var(--v2-text-text-muted);
235
+ flex-wrap: wrap;
236
+ }
237
+
238
+ .olu-section-card {
239
+ display: flex;
240
+ flex-direction: column;
241
+ gap: 10px;
242
+ padding: 12px 14px;
243
+ border-radius: 8px;
244
+ background: var(--v2-background-bg-base);
245
+ border: 1px solid var(--v2-border-border-muted);
246
+ }
247
+
248
+ .olu-section-header {
249
+ display: flex;
250
+ align-items: center;
251
+ justify-content: space-between;
252
+ gap: 8px;
253
+ flex-wrap: wrap;
254
+ }
255
+
256
+ .olu-section-title {
257
+ font-size: 12px;
258
+ font-weight: 600;
259
+ text-transform: uppercase;
260
+ letter-spacing: 0.04em;
261
+ color: var(--v2-text-text-muted);
262
+ }
263
+
264
+ .olu-kpi-row {
265
+ display: grid;
266
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
267
+ gap: 8px;
268
+ }
269
+
270
+ .olu-kpi-card {
271
+ padding: 8px 10px;
272
+ border-radius: 6px;
273
+ background: var(--v2-background-bg-layer-02);
274
+ border: 1px solid var(--v2-border-border-muted);
275
+ display: flex;
276
+ flex-direction: column;
277
+ gap: 2px;
278
+ }
279
+
280
+ .olu-kpi-label {
281
+ font-size: 10px;
282
+ font-weight: 600;
283
+ text-transform: uppercase;
284
+ letter-spacing: 0.04em;
285
+ color: var(--v2-text-text-faint);
286
+ }
287
+
288
+ .olu-kpi-value {
289
+ font-size: 14px;
290
+ font-weight: 600;
291
+ color: var(--v2-text-text-base);
292
+ font-variant-numeric: tabular-nums;
293
+ }
294
+
295
+ .olu-table-wrap {
296
+ width: 100%;
297
+ overflow-x: auto;
298
+ }
299
+
300
+ .olu-table {
301
+ width: 100%;
302
+ border-collapse: collapse;
303
+ font-size: 12px;
304
+ font-variant-numeric: tabular-nums;
305
+ }
306
+
307
+ .olu-table th {
308
+ text-align: right;
309
+ font-size: 11px;
310
+ font-weight: 600;
311
+ color: var(--v2-text-text-muted);
312
+ padding: 6px 8px;
313
+ border-bottom: 1px solid var(--v2-border-border-muted);
314
+ white-space: nowrap;
315
+ }
316
+
317
+ .olu-table th:first-child,
318
+ .olu-table td:first-child {
319
+ text-align: left;
320
+ padding-left: 0;
321
+ }
322
+
323
+ .olu-table th:last-child,
324
+ .olu-table td:last-child {
325
+ padding-right: 0;
326
+ }
327
+
328
+ .olu-table td {
329
+ text-align: right;
330
+ padding: 6px 8px;
331
+ border-bottom: 1px solid var(--v2-border-border-muted);
332
+ color: var(--v2-text-text-base);
333
+ white-space: nowrap;
334
+ }
335
+
336
+ .olu-table tr:last-child td {
337
+ border-bottom: none;
338
+ }
339
+
340
+ .olu-model-cell {
341
+ max-width: 240px;
342
+ overflow: hidden;
343
+ text-overflow: ellipsis;
344
+ font-weight: 500;
345
+ }
346
+
347
+ .olu-tokens-layout {
348
+ display: flex;
349
+ flex-direction: column;
350
+ flex: 1;
351
+ min-height: 0;
352
+ gap: 10px;
353
+ padding-top: 10px;
354
+ overflow: hidden;
355
+ }
356
+
357
+ :scope.olu-root--panel .olu-tokens-layout {
358
+ padding: 10px 12px;
359
+ }
360
+
361
+ .olu-filter-bar {
362
+ display: flex;
363
+ align-items: center;
364
+ gap: 8px;
365
+ flex-shrink: 0;
366
+ flex-wrap: wrap;
367
+ }
368
+
369
+ .olu-filter-input {
370
+ flex: 1;
371
+ min-width: 200px;
372
+ display: flex;
373
+ }
374
+
375
+ .olu-filter-input > [data-component="text-input-v2"] {
376
+ width: 100%;
377
+ max-width: none;
378
+ }
379
+
380
+ .olu-chip-row {
381
+ display: flex;
382
+ align-items: center;
383
+ justify-content: space-between;
384
+ gap: 8px;
385
+ flex-wrap: wrap;
386
+ flex-shrink: 0;
387
+ }
388
+
389
+ .olu-chips {
390
+ display: flex;
391
+ align-items: center;
392
+ gap: 6px;
393
+ flex-wrap: wrap;
394
+ }
395
+
396
+ .olu-chip {
397
+ appearance: none;
398
+ display: inline-flex;
399
+ align-items: center;
400
+ gap: 4px;
401
+ height: 22px;
402
+ padding: 0 8px;
403
+ border-radius: 5px;
404
+ border: 1px solid var(--v2-border-border-muted);
405
+ background: var(--v2-background-bg-layer-02);
406
+ color: var(--v2-text-text-muted);
407
+ font-family: inherit;
408
+ font-size: 11px;
409
+ font-weight: 500;
410
+ cursor: pointer;
411
+ }
412
+
413
+ .olu-chip:hover {
414
+ color: var(--v2-text-text-base);
415
+ border-color: var(--v2-border-border-strong);
416
+ }
417
+
418
+ .olu-chip--active {
419
+ background: var(--v2-overlay-simple-overlay-pressed);
420
+ color: var(--v2-text-text-base);
421
+ border-color: var(--v2-border-border-strong);
422
+ }
423
+
424
+ .olu-lower-tabs-right {
425
+ display: inline-flex;
426
+ align-items: center;
427
+ gap: 0.625rem;
428
+ flex-wrap: wrap;
429
+ }
430
+
431
+ .olu-session-tags-bar {
432
+ display: flex;
433
+ align-items: center;
434
+ justify-content: space-between;
435
+ gap: 0.5rem;
436
+ flex-wrap: wrap;
437
+ }
438
+
439
+ .olu-tag-pill {
440
+ display: inline-flex;
441
+ align-items: center;
442
+ height: 1.375rem;
443
+ border-radius: 0.3125rem;
444
+ border: 1px solid var(--v2-border-border-muted);
445
+ background: var(--v2-background-bg-layer-02);
446
+ overflow: hidden;
447
+ }
448
+
449
+ .olu-tag-pill-label {
450
+ appearance: none;
451
+ border: none;
452
+ background: transparent;
453
+ color: var(--v2-text-text-muted);
454
+ padding: 0 0.375rem 0 0.5rem;
455
+ font-family: inherit;
456
+ font-size: 0.6875rem;
457
+ font-weight: 500;
458
+ cursor: pointer;
459
+ height: 100%;
460
+ }
461
+
462
+ .olu-tag-pill-label:hover {
463
+ color: var(--v2-text-text-base);
464
+ }
465
+
466
+ .olu-tag-pill-label:focus-visible,
467
+ .olu-tag-pill-remove:focus-visible {
468
+ outline: 2px solid var(--v2-border-border-focus, var(--v2-border-border-strong));
469
+ outline-offset: -2px;
470
+ }
471
+
472
+ .olu-tag-pill-remove {
473
+ appearance: none;
474
+ border: none;
475
+ border-left: 1px solid var(--v2-border-border-muted);
476
+ background: transparent;
477
+ color: var(--v2-text-text-faint);
478
+ padding: 0 0.375rem;
479
+ font-family: inherit;
480
+ font-size: 0.75rem;
481
+ line-height: 1;
482
+ cursor: pointer;
483
+ height: 100%;
484
+ }
485
+
486
+ .olu-tag-pill-remove:hover {
487
+ color: var(--v2-syntax-syntax-critical, #f87171);
488
+ background: var(--v2-overlay-simple-overlay-hover);
489
+ }
490
+
491
+ .olu-tag-add-form {
492
+ display: inline-flex;
493
+ align-items: center;
494
+ gap: 0.375rem;
495
+ }
496
+
497
+ .olu-tag-add-input {
498
+ appearance: none;
499
+ height: 1.625rem;
500
+ width: 9rem;
501
+ padding: 0 0.5rem;
502
+ border-radius: 0.3125rem;
503
+ border: 1px solid var(--v2-border-border-strong);
504
+ background: var(--v2-background-bg-layer-02);
505
+ color: var(--v2-text-text-base);
506
+ font-family: inherit;
507
+ font-size: 0.75rem;
508
+ }
509
+
510
+ .olu-tag-add-input:hover {
511
+ border-color: var(--v2-border-border-strong);
512
+ }
513
+
514
+ .olu-tag-add-input:focus-visible {
515
+ outline: 2px solid var(--v2-border-border-focus, var(--v2-border-border-strong));
516
+ outline-offset: -1px;
517
+ }
518
+
519
+ .olu-tag-add-btn:disabled {
520
+ opacity: 0.45;
521
+ cursor: default;
522
+ }
523
+
524
+ .olu-clickable-row {
525
+ cursor: pointer;
526
+ }
527
+
528
+ .olu-clickable-row:hover td {
529
+ background: var(--v2-overlay-simple-overlay-hover);
530
+ }
531
+
532
+ .olu-split {
533
+ display: grid;
534
+ grid-template-columns: minmax(270px, 46%) minmax(0, 1fr);
535
+ flex: 1;
536
+ min-height: 0;
537
+ overflow: hidden;
538
+ border-top: 1px solid var(--v2-border-border-muted);
539
+ }
540
+
541
+ :scope.olu-root--panel .olu-split {
542
+ grid-template-columns: minmax(0, 1fr);
543
+ grid-template-rows: minmax(0, 1fr);
544
+ }
545
+
546
+ .olu-split > .olu-col {
547
+ min-width: 0;
548
+ }
549
+
550
+ :scope.olu-root--panel .olu-split > .olu-col:not(.olu-col--list) {
551
+ display: none;
552
+ }
553
+
554
+ :scope.olu-root--panel.is-detail .olu-split > .olu-col--list {
555
+ display: none;
556
+ }
557
+
558
+ :scope.olu-root--panel.is-detail .olu-split > .olu-col:not(.olu-col--list) {
559
+ display: flex;
560
+ }
561
+
562
+ .olu-back {
563
+ display: none;
564
+ }
565
+
566
+ :scope.olu-root--panel .olu-back {
567
+ appearance: none;
568
+ display: inline-flex;
569
+ align-items: center;
570
+ flex-basis: 100%;
571
+ width: fit-content;
572
+ padding: 2px 6px;
573
+ margin-left: -6px;
574
+ border: none;
575
+ border-radius: 4px;
576
+ background: transparent;
577
+ color: var(--v2-text-text-muted);
578
+ font-family: inherit;
579
+ font-size: 12px;
580
+ cursor: pointer;
581
+ }
582
+
583
+ :scope.olu-root--panel .olu-back:hover {
584
+ color: var(--v2-text-text-base);
585
+ background: var(--v2-overlay-simple-overlay-hover);
586
+ }
587
+
588
+ :scope.olu-root--panel .olu-back:focus-visible {
589
+ outline: none;
590
+ box-shadow: 0 0 0 2px var(--v2-border-border-focus);
591
+ }
592
+
593
+ @container (min-width: 640px) {
594
+ :scope.olu-root.olu-root--panel .olu-split {
595
+ grid-template-columns: minmax(14rem, 38%) minmax(0, 1fr);
596
+ }
597
+
598
+ :scope.olu-root.olu-root--panel .olu-split > .olu-col,
599
+ :scope.olu-root.olu-root--panel.is-detail .olu-split > .olu-col {
600
+ display: flex;
601
+ }
602
+
603
+ :scope.olu-root.olu-root--panel .olu-col--list {
604
+ border-bottom: none;
605
+ border-right: 1px solid var(--v2-border-border-muted);
606
+ }
607
+
608
+ :scope.olu-root.olu-root--panel .olu-session-list {
609
+ padding: 6px 8px 6px 0;
610
+ }
611
+
612
+ :scope.olu-root.olu-root--panel .olu-detail-pane {
613
+ padding: 10px 0 10px 14px;
614
+ }
615
+
616
+ :scope.olu-root--panel .olu-back {
617
+ display: none;
618
+ }
619
+ }
620
+
621
+ .olu-col {
622
+ display: flex;
623
+ flex-direction: column;
624
+ min-height: 0;
625
+ overflow: hidden;
626
+ }
627
+
628
+ .olu-col--list {
629
+ border-right: 1px solid var(--v2-border-border-muted);
630
+ }
631
+
632
+ :scope.olu-root--panel .olu-col--list {
633
+ border-right: none;
634
+ border-bottom: 1px solid var(--v2-border-border-muted);
635
+ }
636
+
637
+ .olu-scroll {
638
+ flex: 1;
639
+ min-height: 0;
640
+ overflow-y: auto;
641
+ overflow-x: hidden;
642
+ }
643
+
644
+ .olu-session-list {
645
+ display: flex;
646
+ flex-direction: column;
647
+ padding: 6px 8px 6px 0;
648
+ gap: 2px;
649
+ }
650
+
651
+ :scope.olu-root--panel .olu-session-list {
652
+ padding: 6px 0;
653
+ }
654
+
655
+ .olu-session-row {
656
+ appearance: none;
657
+ width: 100%;
658
+ text-align: left;
659
+ background: transparent;
660
+ border: none;
661
+ border-radius: 6px;
662
+ padding: 8px 10px;
663
+ cursor: pointer;
664
+ display: flex;
665
+ flex-direction: column;
666
+ gap: 4px;
667
+ color: var(--v2-text-text-base);
668
+ }
669
+
670
+ .olu-session-row:hover {
671
+ background: var(--v2-overlay-simple-overlay-hover);
672
+ }
673
+
674
+ .olu-session-row--selected {
675
+ background: var(--v2-overlay-simple-overlay-pressed);
676
+ }
677
+
678
+ .olu-session-top {
679
+ display: flex;
680
+ align-items: center;
681
+ justify-content: space-between;
682
+ gap: 8px;
683
+ min-width: 0;
684
+ }
685
+
686
+ .olu-session-title-wrap {
687
+ display: flex;
688
+ align-items: center;
689
+ gap: 6px;
690
+ min-width: 0;
691
+ flex: 1;
692
+ }
693
+
694
+ .olu-star {
695
+ color: var(--v2-state-fg-warning, #f59e0b);
696
+ flex-shrink: 0;
697
+ }
698
+
699
+ .olu-session-title {
700
+ font-size: 12px;
701
+ font-weight: 600;
702
+ overflow: hidden;
703
+ text-overflow: ellipsis;
704
+ white-space: nowrap;
705
+ }
706
+
707
+ .olu-session-billed {
708
+ font-size: 11px;
709
+ font-weight: 600;
710
+ font-variant-numeric: tabular-nums;
711
+ color: var(--v2-text-text-base);
712
+ flex-shrink: 0;
713
+ }
714
+
715
+ .olu-session-sub {
716
+ display: flex;
717
+ align-items: center;
718
+ justify-content: space-between;
719
+ gap: 8px;
720
+ font-size: 11px;
721
+ color: var(--v2-text-text-muted);
722
+ }
723
+
724
+ .olu-badge {
725
+ display: inline-flex;
726
+ align-items: center;
727
+ height: 18px;
728
+ padding: 0 6px;
729
+ border-radius: 4px;
730
+ font-size: 10px;
731
+ font-weight: 500;
732
+ background: var(--v2-background-bg-layer-02);
733
+ border: 1px solid var(--v2-border-border-muted);
734
+ color: var(--v2-text-text-muted);
735
+ white-space: nowrap;
736
+ }
737
+
738
+ .olu-detail-pane {
739
+ padding: 10px 0 10px 14px;
740
+ display: flex;
741
+ flex-direction: column;
742
+ gap: 12px;
743
+ }
744
+
745
+ :scope.olu-root--panel .olu-detail-pane {
746
+ padding: 10px 0;
747
+ }
748
+
749
+ .olu-detail-header {
750
+ display: flex;
751
+ align-items: flex-start;
752
+ justify-content: space-between;
753
+ gap: 10px;
754
+ flex-wrap: wrap;
755
+ }
756
+
757
+ .olu-detail-title {
758
+ font-size: 13px;
759
+ font-weight: 600;
760
+ margin: 0;
761
+ color: var(--v2-text-text-base);
762
+ }
763
+
764
+ .olu-detail-meta {
765
+ font-size: 11px;
766
+ color: var(--v2-text-text-muted);
767
+ margin-top: 2px;
768
+ }
769
+
770
+ .olu-detail-actions {
771
+ display: flex;
772
+ align-items: center;
773
+ gap: 6px;
774
+ flex-wrap: wrap;
775
+ }
776
+
777
+ .olu-dialog-footer {
778
+ display: flex;
779
+ align-items: center;
780
+ justify-content: space-between;
781
+ width: 100%;
782
+ gap: 12px;
783
+ }
784
+
785
+ .olu-shortcuts {
786
+ display: flex;
787
+ align-items: center;
788
+ gap: 14px;
789
+ flex-wrap: wrap;
790
+ }
791
+
792
+ .olu-shortcut-item {
793
+ display: inline-flex;
794
+ align-items: center;
795
+ gap: 5px;
796
+ font-size: 11px;
797
+ color: var(--v2-text-text-muted);
798
+ }
799
+
800
+ .olu-empty {
801
+ display: flex;
802
+ flex-direction: column;
803
+ align-items: center;
804
+ justify-content: center;
805
+ text-align: center;
806
+ padding: 28px 16px;
807
+ gap: 6px;
808
+ color: var(--v2-text-text-muted);
809
+ font-size: 12px;
810
+ }
811
+
812
+ :scope.olu-titlebar-quick-btn {
813
+ appearance: none;
814
+ border: none;
815
+ background: transparent;
816
+ color: var(--v2-icon-icon-muted, var(--v2-text-text-muted));
817
+ width: 36px;
818
+ height: 28px;
819
+ border-radius: 6px;
820
+ display: inline-flex;
821
+ align-items: center;
822
+ justify-content: center;
823
+ flex-shrink: 0;
824
+ cursor: pointer;
825
+ -webkit-app-region: no-drag;
826
+ transition: background-color 120ms ease, color 120ms ease;
827
+ }
828
+
829
+ :scope.olu-titlebar-quick-btn:hover {
830
+ background: var(--v2-overlay-simple-overlay-hover);
831
+ color: var(--v2-icon-icon-base, var(--v2-text-text-base));
832
+ }
833
+
834
+ :scope.olu-titlebar-quick-btn:focus-visible {
835
+ outline: 2px solid var(--v2-border-border-focus);
836
+ outline-offset: -2px;
837
+ }
838
+
839
+ :scope.olu-header-slot-group {
840
+ display: inline-flex;
841
+ align-items: center;
842
+ gap: 0.375rem;
843
+ }
844
+
845
+ .olu-step-pill {
846
+ appearance: none;
847
+ border: 1px solid var(--v2-border-border-base);
848
+ background: var(--v2-surface-surface-secondary);
849
+ color: var(--v2-text-text-muted);
850
+ border-radius: 999px;
851
+ padding: 0.1875rem 0.5625rem;
852
+ font-size: 0.6875rem;
853
+ font-weight: 600;
854
+ line-height: 1.2;
855
+ cursor: pointer;
856
+ display: inline-flex;
857
+ align-items: center;
858
+ gap: 0.25rem;
859
+ transition: transform 120ms ease, opacity 120ms ease;
860
+ }
861
+
862
+ .olu-step-pill:hover {
863
+ opacity: 0.9;
864
+ }
865
+
866
+ .olu-step-pill:focus-visible {
867
+ outline: 2px solid var(--v2-border-border-focus);
868
+ outline-offset: 1px;
869
+ }
870
+
871
+ .olu-step-pill--good {
872
+ color: var(--v2-syntax-syntax-success, #34d399);
873
+ border-color: var(--v2-border-border-base);
874
+ }
875
+
876
+ .olu-step-pill--warn {
877
+ color: var(--v2-syntax-syntax-warning, #fbbf24);
878
+ border-color: var(--v2-syntax-syntax-warning, #fbbf24);
879
+ }
880
+
881
+ .olu-step-pill--bad {
882
+ color: var(--v2-syntax-syntax-critical, #f87171);
883
+ border-color: var(--v2-syntax-syntax-critical, #f87171);
884
+ }
885
+
886
+ .olu-usage-pill {
887
+ gap: 0.375rem;
888
+ }
889
+
890
+ .olu-usage-pill-pct {
891
+ font-variant-numeric: tabular-nums;
892
+ }
893
+
894
+ .olu-usage-pill-bar {
895
+ display: inline-block;
896
+ width: 2.5rem;
897
+ height: 0.25rem;
898
+ border-radius: 999px;
899
+ background: color-mix(in srgb, currentColor 20%, transparent);
900
+ overflow: hidden;
901
+ }
902
+
903
+ .olu-usage-pill-bar-fill {
904
+ display: block;
905
+ height: 100%;
906
+ border-radius: 999px;
907
+ background: currentColor;
908
+ }
909
+
910
+
911
+ :scope.olu-composer-alert {
912
+ display: flex;
913
+ align-items: center;
914
+ justify-content: space-between;
915
+ gap: 0.75rem;
916
+ padding: 0.5rem 0.75rem;
917
+ margin-bottom: 0.375rem;
918
+ border-radius: 0.5rem;
919
+ border: 1px solid var(--v2-border-border-base);
920
+ background: var(--v2-surface-surface-secondary);
921
+ font-size: 0.75rem;
922
+ }
923
+
924
+ :scope.olu-composer-alert--warn {
925
+ border-color: var(--v2-syntax-syntax-warning, #fbbf24);
926
+ }
927
+
928
+ :scope.olu-composer-alert--bad {
929
+ border-color: var(--v2-syntax-syntax-critical, #f87171);
930
+ }
931
+
932
+ .olu-composer-alert-text {
933
+ display: flex;
934
+ flex-direction: column;
935
+ gap: 0.125rem;
936
+ color: var(--v2-text-text-base);
937
+ }
938
+
939
+ :scope.olu-composer-alert--warn .olu-composer-alert-text strong {
940
+ color: var(--v2-syntax-syntax-warning, #fbbf24);
941
+ }
942
+
943
+ :scope.olu-composer-alert--bad .olu-composer-alert-text strong {
944
+ color: var(--v2-syntax-syntax-critical, #f87171);
945
+ }
946
+
947
+ .olu-composer-alert-text span {
948
+ color: var(--v2-text-text-muted);
949
+ font-size: 0.6875rem;
950
+ }
951
+
952
+ .olu-composer-alert-actions {
953
+ display: inline-flex;
954
+ align-items: center;
955
+ gap: 0.375rem;
956
+ flex-shrink: 0;
957
+ }
958
+
959
+ .olu-composer-alert-btn {
960
+ appearance: none;
961
+ border: 1px solid var(--v2-border-border-base);
962
+ background: var(--v2-surface-surface-base);
963
+ color: var(--v2-text-text-base);
964
+ border-radius: 0.375rem;
965
+ padding: 0.3125rem 0.625rem;
966
+ font-size: 0.6875rem;
967
+ font-weight: 600;
968
+ white-space: nowrap;
969
+ cursor: pointer;
970
+ transition: transform 120ms ease, opacity 120ms ease;
971
+ }
972
+
973
+ .olu-composer-alert-btn:hover {
974
+ opacity: 0.9;
975
+ }
976
+
977
+ .olu-composer-alert-btn:focus-visible {
978
+ outline: 2px solid var(--v2-border-border-focus);
979
+ outline-offset: 1px;
980
+ }
981
+
982
+ .olu-composer-alert-dismiss {
983
+ appearance: none;
984
+ border: 1px solid transparent;
985
+ background: transparent;
986
+ color: var(--v2-text-text-muted);
987
+ border-radius: 0.375rem;
988
+ width: 1.5rem;
989
+ height: 1.5rem;
990
+ display: inline-flex;
991
+ align-items: center;
992
+ justify-content: center;
993
+ font-size: 0.875rem;
994
+ line-height: 1;
995
+ cursor: pointer;
996
+ transition: opacity 120ms ease, color 120ms ease;
997
+ }
998
+
999
+ .olu-composer-alert-dismiss:hover {
1000
+ color: var(--v2-text-text-base);
1001
+ }
1002
+
1003
+ .olu-composer-alert-dismiss:focus-visible {
1004
+ outline: 2px solid var(--v2-border-border-focus);
1005
+ outline-offset: 1px;
1006
+ }
1007
+ }