scdashboard 0.0.0-stage → 1.0.0

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,1115 @@
1
+ * {
2
+ box-sizing: border-box
3
+ }
4
+
5
+ body {
6
+ margin: 0
7
+ }
8
+
9
+ [hidden] {
10
+ display: none !important
11
+ }
12
+
13
+ :root {
14
+ --bg: #f5f7f6;
15
+ --panel: #ffffff;
16
+ --fg: #17201d;
17
+ --muted: #5d6b66;
18
+ --line: #dde3e0;
19
+ --accent: #0b6b4f;
20
+ --accent-soft: #e3f1ec;
21
+ --ok: #1d7a45;
22
+ --ok-bg: #e2f3e8;
23
+ --warn: #9a6200;
24
+ --warn-bg: #fbefd6;
25
+ --bad: #b42318;
26
+ --bad-bg: #fbe4e1;
27
+ --na: #6b7280;
28
+ --na-bg: #eceff1;
29
+ --f-display: "Bricolage Grotesque", Georgia, serif;
30
+ --f-body: "IBM Plex Sans", system-ui, sans-serif;
31
+ --f-mono: "IBM Plex Mono", ui-monospace, monospace;
32
+ }
33
+
34
+ @media (prefers-color-scheme:dark) {
35
+ :root:not([data-theme="light"]) {
36
+ --bg: #0f1513;
37
+ --panel: #161e1b;
38
+ --fg: #e4ebe8;
39
+ --muted: #94a39d;
40
+ --line: #26322e;
41
+ --accent: #4cc79a;
42
+ --accent-soft: #163329;
43
+ --ok: #5fd28e;
44
+ --ok-bg: #14301f;
45
+ --warn: #f0b65a;
46
+ --warn-bg: #33270f;
47
+ --bad: #ff8a7a;
48
+ --bad-bg: #3a1a16;
49
+ --na: #9aa3ad;
50
+ --na-bg: #22292d;
51
+ color-scheme: dark
52
+ }
53
+ }
54
+
55
+ :root[data-theme="dark"] {
56
+ --bg: #0f1513;
57
+ --panel: #161e1b;
58
+ --fg: #e4ebe8;
59
+ --muted: #94a39d;
60
+ --line: #26322e;
61
+ --accent: #4cc79a;
62
+ --accent-soft: #163329;
63
+ --ok: #5fd28e;
64
+ --ok-bg: #14301f;
65
+ --warn: #f0b65a;
66
+ --warn-bg: #33270f;
67
+ --bad: #ff8a7a;
68
+ --bad-bg: #3a1a16;
69
+ --na: #9aa3ad;
70
+ --na-bg: #22292d;
71
+ color-scheme: dark
72
+ }
73
+
74
+ body {
75
+ background: var(--bg);
76
+ color: var(--fg);
77
+ font-family: var(--f-body);
78
+ font-size: 14px;
79
+ line-height: 1.45
80
+ }
81
+
82
+ .wrap {
83
+ max-width: 1320px;
84
+ margin: 0 auto;
85
+ padding-block: 24px 48px;
86
+ padding-left: max(16px, env(safe-area-inset-left, 0px));
87
+ padding-right: max(16px, env(safe-area-inset-right, 0px));
88
+ display: grid;
89
+ gap: 18px
90
+ }
91
+
92
+ header {
93
+ display: flex;
94
+ flex-wrap: wrap;
95
+ gap: 12px 24px;
96
+ align-items: end;
97
+ justify-content: space-between
98
+ }
99
+
100
+ h1 {
101
+ font-family: var(--f-display);
102
+ font-size: 28px;
103
+ margin: 0;
104
+ text-wrap: balance;
105
+ letter-spacing: -.01em
106
+ }
107
+
108
+ .sub {
109
+ color: var(--muted);
110
+ margin: 4px 0 0
111
+ }
112
+
113
+ .mono {
114
+ font-family: var(--f-mono);
115
+ font-size: 12px
116
+ }
117
+
118
+ label.lbl {
119
+ font-size: 11px;
120
+ text-transform: uppercase;
121
+ letter-spacing: .06em;
122
+ color: var(--muted);
123
+ display: block;
124
+ margin-bottom: 4px
125
+ }
126
+
127
+ select,
128
+ input[type=search] {
129
+ font: inherit;
130
+ padding: 7px 10px;
131
+ border: 1px solid var(--line);
132
+ border-radius: 6px;
133
+ background: var(--panel);
134
+ color: var(--fg)
135
+ }
136
+
137
+ .controls {
138
+ display: flex;
139
+ flex-wrap: wrap;
140
+ gap: 12px;
141
+ align-items: end
142
+ }
143
+
144
+ .tabs {
145
+ display: flex;
146
+ gap: 4px;
147
+ border-bottom: 1px solid var(--line);
148
+ overflow-x: auto
149
+ }
150
+
151
+ .tab {
152
+ font: inherit;
153
+ font-weight: 500;
154
+ background: none;
155
+ border: 0;
156
+ border-bottom: 2px solid transparent;
157
+ padding: 8px 14px;
158
+ color: var(--muted);
159
+ cursor: pointer;
160
+ white-space: nowrap
161
+ }
162
+
163
+ .tab[aria-selected=true] {
164
+ color: var(--fg);
165
+ border-color: var(--accent)
166
+ }
167
+
168
+ .tab.add {
169
+ color: var(--accent)
170
+ }
171
+
172
+ button:focus-visible,
173
+ select:focus-visible,
174
+ input:focus-visible,
175
+ summary:focus-visible {
176
+ outline: 2px solid var(--accent);
177
+ outline-offset: 2px
178
+ }
179
+
180
+ .summary {
181
+ display: grid;
182
+ grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
183
+ gap: 10px
184
+ }
185
+
186
+ .tile {
187
+ background: var(--panel);
188
+ border: 1px solid var(--line);
189
+ border-radius: 8px;
190
+ padding: 12px 14px;
191
+ cursor: pointer;
192
+ text-align: left;
193
+ font: inherit;
194
+ color: inherit
195
+ }
196
+
197
+ .tile[aria-pressed=true] {
198
+ border-color: var(--accent);
199
+ box-shadow: inset 0 0 0 1px var(--accent)
200
+ }
201
+
202
+ .tile .k {
203
+ font-size: 11px;
204
+ text-transform: uppercase;
205
+ letter-spacing: .06em;
206
+ color: var(--muted)
207
+ }
208
+
209
+ .tile .v {
210
+ font-family: var(--f-display);
211
+ font-size: 26px;
212
+ font-variant-numeric: tabular-nums;
213
+ margin-top: 2px
214
+ }
215
+
216
+ .tile .bar {
217
+ display: flex;
218
+ height: 5px;
219
+ border-radius: 3px;
220
+ overflow: hidden;
221
+ margin-top: 8px;
222
+ background: var(--na-bg)
223
+ }
224
+
225
+ .tile .bar i {
226
+ display: block
227
+ }
228
+
229
+ .filters {
230
+ display: flex;
231
+ flex-wrap: wrap;
232
+ gap: 8px;
233
+ align-items: center
234
+ }
235
+
236
+ .chip {
237
+ font: inherit;
238
+ font-size: 12px;
239
+ border: 1px solid var(--line);
240
+ background: var(--panel);
241
+ color: var(--fg);
242
+ border-radius: 999px;
243
+ padding: 4px 11px;
244
+ cursor: pointer
245
+ }
246
+
247
+ .chip[aria-pressed=true] {
248
+ background: var(--accent-soft);
249
+ border-color: var(--accent);
250
+ color: var(--accent)
251
+ }
252
+
253
+ .tablebox {
254
+ overflow-x: auto;
255
+ background: var(--panel);
256
+ border: 1px solid var(--line);
257
+ border-radius: 8px
258
+ }
259
+
260
+ table {
261
+ border-collapse: collapse;
262
+ width: 100%;
263
+ min-width: 1460px
264
+ }
265
+
266
+ th,
267
+ td {
268
+ padding: 9px 10px;
269
+ border-bottom: 1px solid var(--line);
270
+ vertical-align: top;
271
+ text-align: left
272
+ }
273
+
274
+ th {
275
+ font-size: 11px;
276
+ text-transform: uppercase;
277
+ letter-spacing: .06em;
278
+ color: var(--muted);
279
+ font-weight: 500;
280
+ background: var(--panel);
281
+ position: sticky;
282
+ top: 0
283
+ }
284
+
285
+ tr.row {
286
+ cursor: pointer
287
+ }
288
+
289
+ tr.row:hover td {
290
+ background: var(--accent-soft)
291
+ }
292
+
293
+ td.name a {
294
+ color: var(--fg);
295
+ font-weight: 600;
296
+ text-decoration: none
297
+ }
298
+
299
+ td.name a:hover {
300
+ text-decoration: underline
301
+ }
302
+
303
+ .meta {
304
+ color: var(--muted);
305
+ font-size: 12px
306
+ }
307
+
308
+ .pill {
309
+ display: inline-flex;
310
+ gap: 5px;
311
+ align-items: center;
312
+ font-size: 12px;
313
+ padding: 2px 8px;
314
+ border-radius: 999px;
315
+ white-space: nowrap;
316
+ font-weight: 500
317
+ }
318
+
319
+ .pill::before {
320
+ content: "";
321
+ width: 6px;
322
+ height: 6px;
323
+ border-radius: 50%;
324
+ background: currentColor
325
+ }
326
+
327
+ .pass {
328
+ color: var(--ok);
329
+ background: var(--ok-bg)
330
+ }
331
+
332
+ .warn {
333
+ color: var(--warn);
334
+ background: var(--warn-bg)
335
+ }
336
+
337
+ .fail {
338
+ color: var(--bad);
339
+ background: var(--bad-bg)
340
+ }
341
+
342
+ .na {
343
+ color: var(--na);
344
+ background: var(--na-bg)
345
+ }
346
+
347
+ .cell-msg {
348
+ font-size: 12px;
349
+ color: var(--muted);
350
+ margin-top: 3px;
351
+ max-width: 200px
352
+ }
353
+
354
+ .score {
355
+ font-family: var(--f-mono);
356
+ font-variant-numeric: tabular-nums
357
+ }
358
+
359
+ tr.detail td {
360
+ background: var(--bg);
361
+ padding: 14px 16px
362
+ }
363
+
364
+ .dgrid {
365
+ display: grid;
366
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
367
+ gap: 14px
368
+ }
369
+
370
+ .dgrid h4 {
371
+ margin: 0 0 4px;
372
+ font-size: 11px;
373
+ text-transform: uppercase;
374
+ letter-spacing: .06em;
375
+ color: var(--muted);
376
+ font-weight: 500
377
+ }
378
+
379
+ .dgrid pre {
380
+ white-space: pre-wrap;
381
+ font-family: var(--f-body);
382
+ margin: 0;
383
+ font-size: 13px;
384
+ max-height: 420px;
385
+ overflow: auto;
386
+ min-width: 0
387
+ }
388
+
389
+ .dgrid a {
390
+ color: var(--accent);
391
+ word-break: break-all
392
+ }
393
+
394
+ details.soql {
395
+ background: var(--panel);
396
+ border: 1px solid var(--line);
397
+ border-radius: 8px;
398
+ padding: 10px 14px
399
+ }
400
+
401
+ details.soql summary {
402
+ cursor: pointer;
403
+ color: var(--muted);
404
+ font-size: 12px
405
+ }
406
+
407
+ details.soql pre {
408
+ white-space: pre-wrap;
409
+ font-family: var(--f-mono);
410
+ font-size: 12px;
411
+ margin: 8px 0 0
412
+ }
413
+
414
+ .rules {
415
+ display: grid;
416
+ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
417
+ gap: 8px 18px;
418
+ margin-top: 10px;
419
+ font-size: 12px;
420
+ color: var(--muted)
421
+ }
422
+
423
+ .rules b {
424
+ color: var(--fg)
425
+ }
426
+
427
+ .fgroups {
428
+ display: grid;
429
+ gap: 8px;
430
+ margin: 14px 0 10px
431
+ }
432
+
433
+ .flbl {
434
+ font-size: 11px;
435
+ text-transform: uppercase;
436
+ letter-spacing: .06em;
437
+ color: var(--muted);
438
+ min-width: 130px
439
+ }
440
+
441
+ .st-Green {
442
+ color: var(--ok);
443
+ background: var(--ok-bg)
444
+ }
445
+
446
+ .st-Amber {
447
+ color: var(--warn);
448
+ background: var(--warn-bg)
449
+ }
450
+
451
+ .st-Red {
452
+ color: var(--bad);
453
+ background: var(--bad-bg)
454
+ }
455
+
456
+ .opplink {
457
+ color: var(--accent);
458
+ font-size: 12px;
459
+ text-decoration: underline;
460
+ text-underline-offset: 2px
461
+ }
462
+
463
+ tr.gap td {
464
+ background: color-mix(in srgb, var(--bad-bg) 35%, transparent)
465
+ }
466
+
467
+ .btn {
468
+ font: inherit;
469
+ font-weight: 600;
470
+ background: var(--accent);
471
+ color: var(--bg);
472
+ border: 0;
473
+ border-radius: 6px;
474
+ padding: 8px 14px;
475
+ cursor: pointer
476
+ }
477
+
478
+ .btn:disabled {
479
+ opacity: .6;
480
+ cursor: progress
481
+ }
482
+
483
+ .empty-state {
484
+ background: var(--panel);
485
+ border: 1px dashed var(--line);
486
+ border-radius: 8px;
487
+ padding: 32px;
488
+ text-align: center
489
+ }
490
+
491
+ .empty-state p {
492
+ max-width: 60ch;
493
+ margin: 8px auto 0
494
+ }
495
+
496
+ .sec {
497
+ font-family: var(--f-display);
498
+ font-size: 19px;
499
+ margin: 28px 0 4px;
500
+ display: flex;
501
+ gap: 10px;
502
+ align-items: baseline;
503
+ flex-wrap: wrap
504
+ }
505
+
506
+ table.opps {
507
+ min-width: 900px
508
+ }
509
+
510
+ .pill.fail+.cell-msg,
511
+ .pill.warn+.cell-msg {
512
+ color: var(--fg);
513
+ font-weight: 500
514
+ }
515
+
516
+ .cell-val {
517
+ font-size: 13px;
518
+ max-width: 200px
519
+ }
520
+
521
+ .src {
522
+ display: inline-block;
523
+ font-size: 11px;
524
+ font-weight: 600;
525
+ padding: 1px 7px;
526
+ border-radius: 4px;
527
+ border: 1px solid;
528
+ white-space: nowrap
529
+ }
530
+
531
+ .src.acct {
532
+ color: var(--accent);
533
+ border-color: var(--accent)
534
+ }
535
+
536
+ .src.team {
537
+ color: var(--warn);
538
+ border-color: var(--warn)
539
+ }
540
+
541
+ .src.both {
542
+ color: var(--bg);
543
+ background: var(--accent);
544
+ border-color: var(--accent)
545
+ }
546
+
547
+ .src.rec {
548
+ color: var(--muted);
549
+ border-color: var(--line)
550
+ }
551
+
552
+ .empty {
553
+ padding: 28px;
554
+ text-align: center;
555
+ color: var(--muted)
556
+ }
557
+
558
+ @media (prefers-reduced-motion:reduce) {
559
+ * {
560
+ transition: none !important
561
+ }
562
+ }
563
+
564
+ .toolbar {
565
+ display: flex;
566
+ flex-wrap: wrap;
567
+ gap: 10px;
568
+ align-items: center
569
+ }
570
+
571
+ .message {
572
+ background: var(--panel);
573
+ border: 1px solid var(--line);
574
+ border-radius: 8px;
575
+ padding: 10px 14px;
576
+ white-space: pre-wrap;
577
+ font-size: 13px
578
+ }
579
+
580
+ .message.error {
581
+ background: var(--bad-bg);
582
+ color: var(--bad);
583
+ border-color: var(--bad)
584
+ }
585
+
586
+ .card {
587
+ background: var(--panel);
588
+ border: 1px solid var(--line);
589
+ border-radius: 8px;
590
+ padding: 16px;
591
+ max-width: 560px;
592
+ display: grid;
593
+ gap: 12px
594
+ }
595
+
596
+ .card input:not([type=checkbox]) {
597
+ font: inherit;
598
+ padding: 7px 10px;
599
+ border: 1px solid var(--line);
600
+ border-radius: 6px;
601
+ background: var(--bg);
602
+ color: var(--fg);
603
+ width: 100%
604
+ }
605
+
606
+ .card summary {
607
+ cursor: pointer;
608
+ color: var(--muted);
609
+ font-size: 12px
610
+ }
611
+
612
+ .card details[open] {
613
+ display: grid;
614
+ gap: 10px
615
+ }
616
+
617
+ .btn.ghost {
618
+ background: none;
619
+ color: var(--bad);
620
+ border: 1px solid var(--line)
621
+ }
622
+
623
+ .btn.secondary {
624
+ background: var(--accent-soft);
625
+ color: var(--accent)
626
+ }
627
+
628
+ .roster {
629
+ list-style: none;
630
+ margin: 0;
631
+ padding: 0;
632
+ display: grid;
633
+ gap: 6px
634
+ }
635
+
636
+ .roster li {
637
+ display: flex;
638
+ justify-content: space-between;
639
+ align-items: center;
640
+ gap: 10px;
641
+ padding: 7px 10px;
642
+ border: 1px solid var(--line);
643
+ border-radius: 6px;
644
+ background: var(--bg)
645
+ }
646
+
647
+ .roster li.none {
648
+ color: var(--muted);
649
+ justify-content: center;
650
+ border-style: dashed
651
+ }
652
+
653
+ .roster button {
654
+ font: inherit;
655
+ font-size: 12px;
656
+ background: none;
657
+ border: 1px solid var(--line);
658
+ color: var(--bad);
659
+ border-radius: 6px;
660
+ padding: 3px 9px;
661
+ cursor: pointer
662
+ }
663
+
664
+ .lookup {
665
+ position: relative
666
+ }
667
+
668
+ .suggest {
669
+ list-style: none;
670
+ margin: 4px 0 0;
671
+ padding: 4px;
672
+ position: absolute;
673
+ left: 0;
674
+ right: 0;
675
+ z-index: 5;
676
+ background: var(--panel);
677
+ border: 1px solid var(--line);
678
+ border-radius: 6px;
679
+ box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
680
+ max-height: 260px;
681
+ overflow: auto
682
+ }
683
+
684
+ .suggest li {
685
+ padding: 7px 10px;
686
+ border-radius: 4px;
687
+ cursor: pointer;
688
+ display: flex;
689
+ justify-content: space-between;
690
+ gap: 10px
691
+ }
692
+
693
+ .suggest li[aria-selected=true],
694
+ .suggest li:hover {
695
+ background: var(--accent-soft)
696
+ }
697
+
698
+ .suggest li.info {
699
+ color: var(--muted);
700
+ cursor: default;
701
+ background: none
702
+ }
703
+
704
+ .suggest li.added {
705
+ color: var(--muted);
706
+ cursor: default
707
+ }
708
+
709
+ tr.stale td {
710
+ background: color-mix(in srgb, var(--bad-bg) 55%, transparent)
711
+ }
712
+
713
+ tr.stale td:first-child {
714
+ box-shadow: inset 4px 0 0 var(--bad)
715
+ }
716
+
717
+ .stale-badge {
718
+ display: inline-block;
719
+ margin-bottom: 5px;
720
+ font-size: 11px;
721
+ font-weight: 700;
722
+ letter-spacing: .05em;
723
+ color: #fff;
724
+ background: var(--bad);
725
+ border-radius: 4px;
726
+ padding: 2px 8px;
727
+ white-space: nowrap
728
+ }
729
+
730
+ th.rv,
731
+ td.rv {
732
+ width: 34px;
733
+ text-align: center;
734
+ padding-left: 8px;
735
+ padding-right: 4px
736
+ }
737
+
738
+ td.rv input {
739
+ width: 16px;
740
+ height: 16px;
741
+ cursor: pointer;
742
+ accent-color: var(--accent)
743
+ }
744
+
745
+ tr.marked td {
746
+ background: color-mix(in srgb, var(--accent-soft) 70%, transparent)
747
+ }
748
+
749
+ .reviewbar {
750
+ display: flex;
751
+ flex-wrap: wrap;
752
+ gap: 10px;
753
+ align-items: center;
754
+ margin: 0 0 10px;
755
+ padding: 10px 14px;
756
+ background: var(--panel);
757
+ border: 1px solid var(--line);
758
+ border-radius: 8px
759
+ }
760
+
761
+ .btn:disabled {
762
+ opacity: .45;
763
+ cursor: not-allowed
764
+ }
765
+
766
+ .email-dlg {
767
+ width: min(760px, calc(100vw - 32px));
768
+ border: 1px solid var(--line);
769
+ border-radius: 10px;
770
+ background: var(--panel);
771
+ color: var(--fg);
772
+ padding: 18px;
773
+ display: none
774
+ }
775
+
776
+ .email-dlg[open] {
777
+ display: grid;
778
+ gap: 10px
779
+ }
780
+
781
+ .email-dlg::backdrop {
782
+ background: rgba(0, 0, 0, .4)
783
+ }
784
+
785
+ .email-dlg input,
786
+ .email-dlg textarea {
787
+ font: inherit;
788
+ width: 100%;
789
+ padding: 7px 10px;
790
+ border: 1px solid var(--line);
791
+ border-radius: 6px;
792
+ background: var(--bg);
793
+ color: var(--fg)
794
+ }
795
+
796
+ .email-dlg textarea {
797
+ font-family: var(--f-mono);
798
+ font-size: 12px;
799
+ resize: vertical
800
+ }
801
+
802
+ .peek-dlg {
803
+ width: 80vw;
804
+ height: 80vh;
805
+ max-width: none;
806
+ max-height: none;
807
+ padding: 0;
808
+ border: 1px solid var(--line);
809
+ border-radius: 10px;
810
+ background: var(--panel);
811
+ color: var(--fg);
812
+ overflow: hidden
813
+ }
814
+
815
+ .peek-dlg[open] {
816
+ display: flex;
817
+ flex-direction: column
818
+ }
819
+
820
+ .peek-dlg::backdrop {
821
+ background: rgba(0, 0, 0, .4)
822
+ }
823
+
824
+ .peek-head {
825
+ display: flex;
826
+ justify-content: space-between;
827
+ align-items: center;
828
+ gap: 12px;
829
+ padding: 10px 14px;
830
+ border-bottom: 1px solid var(--line)
831
+ }
832
+
833
+ .peek-head .btn {
834
+ text-decoration: none;
835
+ display: inline-block
836
+ }
837
+
838
+ .peek-body {
839
+ flex: 1;
840
+ overflow: auto;
841
+ padding: 14px 16px
842
+ }
843
+
844
+ .peek-note {
845
+ margin: 0;
846
+ padding: 8px 14px;
847
+ background: var(--warn-bg);
848
+ color: var(--warn)
849
+ }
850
+
851
+ .peek-btn {
852
+ display: inline-flex;
853
+ align-items: center;
854
+ justify-content: center;
855
+ vertical-align: middle;
856
+ margin-left: 5px;
857
+ width: 22px;
858
+ height: 22px;
859
+ padding: 0;
860
+ border: 1px solid var(--line);
861
+ border-radius: 5px;
862
+ background: var(--panel);
863
+ color: var(--accent);
864
+ cursor: pointer
865
+ }
866
+
867
+ .peek-btn:hover {
868
+ background: var(--accent-soft);
869
+ border-color: var(--accent)
870
+ }
871
+
872
+ .rv-all-lbl {
873
+ display: inline-flex;
874
+ flex-direction: column;
875
+ align-items: center;
876
+ gap: 2px;
877
+ cursor: pointer
878
+ }
879
+
880
+ .rv-all-lbl input {
881
+ width: 16px;
882
+ height: 16px;
883
+ cursor: pointer;
884
+ accent-color: var(--accent)
885
+ }
886
+
887
+ .rv-all-lbl span {
888
+ font-size: 10px
889
+ }
890
+
891
+ .brand {
892
+ display: flex;
893
+ align-items: center;
894
+ gap: 10px
895
+ }
896
+
897
+ .brand img {
898
+ width: 34px;
899
+ height: 34px;
900
+ object-fit: contain
901
+ }
902
+
903
+ .lead-flag {
904
+ display: inline-block;
905
+ margin-left: 4px;
906
+ padding: 0 6px;
907
+ border-radius: 4px;
908
+ font-size: 11px;
909
+ color: var(--warn);
910
+ background: var(--warn-bg);
911
+ border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
912
+ white-space: nowrap
913
+ }
914
+
915
+ .notes-src {
916
+ display: inline-block;
917
+ margin-top: 4px;
918
+ padding: 1px 6px;
919
+ border-radius: 4px;
920
+ font-size: 11px;
921
+ color: var(--warn);
922
+ background: var(--warn-bg);
923
+ border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent)
924
+ }
925
+
926
+ .rule-i {
927
+ position: relative;
928
+ display: inline-block;
929
+ margin-left: 3px;
930
+ color: var(--accent);
931
+ cursor: help;
932
+ font-size: 12px;
933
+ text-transform: none;
934
+ letter-spacing: 0
935
+ }
936
+
937
+ .rule-i .rule-pop {
938
+ display: none;
939
+ position: absolute;
940
+ z-index: 20;
941
+ top: calc(100% + 6px);
942
+ left: 50%;
943
+ transform: translateX(-50%);
944
+ width: 270px;
945
+ padding: 9px 11px;
946
+ border-radius: 8px;
947
+ background: var(--panel);
948
+ color: var(--fg);
949
+ border: 1px solid var(--line);
950
+ box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
951
+ font-size: 12px;
952
+ font-weight: 400;
953
+ line-height: 1.45;
954
+ white-space: normal;
955
+ text-align: left
956
+ }
957
+
958
+ .rule-i:hover .rule-pop,
959
+ .rule-i:focus .rule-pop {
960
+ display: block
961
+ }
962
+
963
+ th:first-child .rule-pop,
964
+ th:nth-child(2) .rule-pop {
965
+ left: 0;
966
+ transform: none
967
+ }
968
+
969
+ th:last-child .rule-pop,
970
+ th:nth-last-child(2) .rule-pop,
971
+ th:nth-last-child(3) .rule-pop {
972
+ left: auto;
973
+ right: 0;
974
+ transform: none
975
+ }
976
+
977
+ th:has(.rule-i:hover),
978
+ th:has(.rule-i:focus) {
979
+ z-index: 30
980
+ }
981
+
982
+ .changes-dlg {
983
+ width: min(860px, calc(100vw - 32px));
984
+ max-height: 80vh;
985
+ padding: 0;
986
+ border: 1px solid var(--line);
987
+ border-radius: 10px;
988
+ background: var(--panel);
989
+ color: var(--fg);
990
+ overflow: hidden
991
+ }
992
+
993
+ .changes-dlg[open] {
994
+ display: flex;
995
+ flex-direction: column
996
+ }
997
+
998
+ .changes-dlg::backdrop {
999
+ background: rgba(0, 0, 0, .4)
1000
+ }
1001
+
1002
+ .changes-body {
1003
+ padding: 12px 16px 16px;
1004
+ overflow: auto
1005
+ }
1006
+
1007
+ .changes-body table.opps {
1008
+ min-width: 0
1009
+ }
1010
+
1011
+ .changes-body .tablebox {
1012
+ max-height: 55vh;
1013
+ overflow: auto
1014
+ }
1015
+
1016
+ .risk-preview {
1017
+ margin-top: 5px;
1018
+ max-width: 210px;
1019
+ font-size: 12px;
1020
+ line-height: 1.35;
1021
+ color: var(--fg);
1022
+ border-left: 3px solid var(--warn);
1023
+ padding-left: 6px
1024
+ }
1025
+
1026
+ .risk-preview.none {
1027
+ color: var(--muted);
1028
+ border-left-color: var(--line)
1029
+ }
1030
+
1031
+ .snap-age {
1032
+ padding: 1px 6px;
1033
+ border-radius: 4px;
1034
+ white-space: nowrap
1035
+ }
1036
+
1037
+ .snap-age.aging {
1038
+ color: var(--warn);
1039
+ background: var(--warn-bg)
1040
+ }
1041
+
1042
+ .snap-age.old {
1043
+ color: #fff;
1044
+ background: var(--bad);
1045
+ font-weight: 600
1046
+ }
1047
+
1048
+ .asof-wrap {
1049
+ align-self: center;
1050
+ flex: 0 1 240px;
1051
+ min-width: 240px;
1052
+ font-size: 12px;
1053
+ color: var(--muted);
1054
+ line-height: 1.5
1055
+ }
1056
+
1057
+ .asof-wrap .snap-age {
1058
+ white-space: normal
1059
+ }
1060
+
1061
+ .wrap {
1062
+ grid-template-columns: minmax(0, 1fr)
1063
+ }
1064
+
1065
+ .nw {
1066
+ white-space: nowrap
1067
+ }
1068
+
1069
+ .asof-wrap .snap-age {
1070
+ white-space: nowrap
1071
+ }
1072
+
1073
+ /* Validation Plan column: short values, keep it narrow */
1074
+ th.ck-vp,
1075
+ td.ck-vp {
1076
+ width: 110px;
1077
+ max-width: 130px
1078
+ }
1079
+
1080
+ td.ck-vp .cell-msg,
1081
+ td.ck-vp .cell-val {
1082
+ max-width: 130px
1083
+ }
1084
+
1085
+ /* Long words / URLs in check messages wrap instead of widening the column */
1086
+ .cell-msg,
1087
+ .cell-val {
1088
+ overflow-wrap: anywhere
1089
+ }
1090
+
1091
+ /* Pills holding free text (Closed Reason, Opp stage) wrap like a tag block */
1092
+ .pill.pill-wrap {
1093
+ white-space: normal;
1094
+ overflow-wrap: anywhere;
1095
+ border-radius: 10px;
1096
+ align-items: baseline
1097
+ }
1098
+
1099
+ .pill.pill-wrap::before {
1100
+ flex: none;
1101
+ transform: translateY(-1px)
1102
+ }
1103
+
1104
+ /* SC stage · Opp stage: ~2ch wider than its natural share so reason pills wrap cleanly */
1105
+ th.stage-col,
1106
+ td.stage-col {
1107
+ min-width: 216px
1108
+ }
1109
+ .site-foot {
1110
+ margin-top: 28px;
1111
+ padding: 14px 0 6px;
1112
+ border-top: 1px solid var(--line);
1113
+ font-size: 12px;
1114
+ text-align: center
1115
+ }