@skillre/dsh-plugin-work-dashboard 0.9.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,30 +19,90 @@
19
19
  * `.plan-`, `.out-`.
20
20
  */
21
21
  export const DETAIL_CSS = `
22
- /* ---------- two-pane layout ---------- */
23
- .wd-shell .dt-page {
24
- display: grid;
25
- grid-template-columns: 316px minmax(0, 1fr);
26
- align-items: start;
22
+ /* ---------- page shell: banner + fixed two columns ---------- */
23
+ .wd-shell .dt-shell {
24
+ display: flex; flex-direction: column;
25
+ gap: 16px;
26
+ padding: 20px 28px 44px;
27
27
  min-height: 100%;
28
28
  }
29
- @media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }
29
+ .wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }
30
30
 
31
- .wd-shell .dt-rail {
32
- position: sticky; top: 0;
33
- align-self: start;
34
- display: flex; flex-direction: column; gap: 14px;
35
- padding: 18px 18px 22px;
31
+ /* ---------- banner ---------- */
32
+ .wd-shell .dt-header {
33
+ display: grid;
34
+ grid-template-columns: minmax(0, 1fr) auto;
35
+ grid-template-areas: "main side" "nav nav";
36
+ gap: 10px 18px;
37
+ padding: 16px 20px;
36
38
  background: var(--wd-surface);
37
- border-right: 1px solid var(--wd-hairline);
38
- min-height: 100%;
39
+ border: 1px solid var(--wd-hairline);
40
+ border-radius: 10px;
41
+ }
42
+ .wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
43
+ .wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }
44
+ .wd-shell .dt-header-title {
45
+ margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;
46
+ letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;
47
+ }
48
+ .wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
49
+ .wd-shell .dt-header-id {
50
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
51
+ font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);
52
+ }
53
+ .wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
54
+ .wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }
55
+ .wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
56
+ .wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
57
+ .wd-shell .dt-header-amount-label {
58
+ font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
59
+ font-weight: 600; color: var(--wd-amber);
39
60
  }
40
- @media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }
41
- .wd-shell .dt-pane {
42
- display: flex; flex-direction: column; gap: 22px;
43
- padding: 20px 28px 44px;
44
- min-width: 0;
61
+ .wd-shell .dt-header-amount-value {
62
+ font-size: 22px; line-height: 28px; font-weight: 700;
63
+ font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;
64
+ }
65
+ .wd-shell .dt-header-amount-value[data-empty="true"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }
66
+ .wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
67
+ .wd-shell .dt-header-nav {
68
+ grid-area: nav; display: flex; align-items: center; gap: 10px;
69
+ padding-top: 10px; border-top: 1px solid var(--wd-hairline);
45
70
  }
71
+ .wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
72
+
73
+ /* ---------- the fixed two-column contract ---------- */
74
+ .wd-shell .dt-columns {
75
+ display: grid;
76
+ grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
77
+ gap: 18px;
78
+ align-items: start;
79
+ }
80
+ @media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }
81
+ .wd-shell .dt-col-main,
82
+ .wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
83
+
84
+ /* ---------- Gate 0 card grid ---------- */
85
+ .wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
86
+ .wd-shell .g0-card {
87
+ display: flex; flex-direction: column; gap: 5px;
88
+ padding: 10px 12px; border-radius: 8px;
89
+ background: var(--wd-surface); border: 1px solid var(--wd-hairline);
90
+ }
91
+ .wd-shell .g0-card[data-present="false"] { background: var(--wd-inset); border-style: dashed; }
92
+ .wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }
93
+ .wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
94
+ .wd-shell .g0-card-missing {
95
+ margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650;
96
+ color: var(--wd-amber); background: var(--wd-amber-soft);
97
+ padding: 1px 5px; border-radius: 4px; white-space: nowrap;
98
+ }
99
+ .wd-shell .g0-card-body {
100
+ margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);
101
+ overflow-wrap: anywhere;
102
+ }
103
+ .wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
104
+ .wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
105
+ .wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
46
106
 
47
107
  /* ---------- rail ---------- */
48
108
  .wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
@@ -376,13 +436,120 @@ export const DETAIL_CSS = `
376
436
  .wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
377
437
  .wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }
378
438
  .wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }
379
- .wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
380
- .wd-shell .plan-scenario { display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset); }
439
+ .wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
440
+ /* A scenario row carries its derived state as a left edge: the row's colour is
441
+ the finding, so it has to survive a glance down the list. */
442
+ .wd-shell .plan-scenario {
443
+ display: flex; align-items: flex-start; gap: 10px;
444
+ padding: 8px 10px 8px 9px; border-radius: 8px;
445
+ background: var(--wd-surface); border: 1px solid var(--wd-hairline);
446
+ border-left: 3px solid var(--wd-slate);
447
+ }
448
+ .wd-shell .plan-scenario[data-tone="green"] { border-left-color: var(--wd-green); }
449
+ .wd-shell .plan-scenario[data-tone="amber"] { border-left-color: var(--wd-amber); }
450
+ .wd-shell .plan-scenario[data-tone="red"] { border-left-color: var(--wd-red); }
381
451
  .wd-shell .plan-scenario-no {
382
- flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
452
+ flex: none; margin-top: 1px;
453
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
383
454
  font-size: 9.5px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);
384
455
  }
385
- .wd-shell .plan-scenario-text { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
456
+ .wd-shell .plan-scenario[data-tone="green"] .plan-scenario-no { color: var(--wd-green); }
457
+ .wd-shell .plan-scenario[data-tone="amber"] .plan-scenario-no { color: var(--wd-amber); }
458
+ .wd-shell .plan-scenario[data-tone="red"] .plan-scenario-no { color: var(--wd-red); }
459
+ .wd-shell .plan-scenario-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
460
+ .wd-shell .plan-scenario-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
461
+ .wd-shell .plan-scenario-goal { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }
462
+ .wd-shell .plan-scenario-goal-label { margin-right: 5px; color: var(--dsw-alias-label-tertiary); }
463
+ .wd-shell .plan-scenario-tail { flex: none; display: flex; align-items: center; gap: 6px; }
464
+ .wd-shell .plan-scenario-glyph { font-size: 10px; line-height: 14px; }
465
+ .wd-shell .plan-scenario[data-tone="green"] .plan-scenario-glyph { color: var(--wd-green); }
466
+ .wd-shell .plan-scenario[data-tone="amber"] .plan-scenario-glyph { color: var(--wd-amber); }
467
+ .wd-shell .plan-scenario[data-tone="red"] .plan-scenario-glyph { color: var(--wd-red); }
468
+ .wd-shell .plan-scenario[data-tone="slate"] .plan-scenario-glyph { color: var(--wd-slate); }
469
+ .wd-shell .plan-scenario-evidence {
470
+ font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary);
471
+ font-variant-numeric: tabular-nums; white-space: nowrap;
472
+ }
473
+ .wd-shell .plan-criterion-status { white-space: nowrap; }
474
+
475
+ /* ---------- scenario legend ---------- */
476
+ .wd-shell .plan-scenario-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2px; }
477
+ .wd-shell .plan-scenario-legend-item { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
478
+ .wd-shell .plan-scenario-legend-item[data-tone="green"] { color: var(--wd-green); }
479
+ .wd-shell .plan-scenario-legend-item[data-tone="amber"] { color: var(--wd-amber); }
480
+ .wd-shell .plan-scenario-legend-item[data-tone="red"] { color: var(--wd-red); }
481
+
482
+ /* ---------- next actions ---------- */
483
+ .wd-shell .next-table {
484
+ width: 100%; border-collapse: collapse;
485
+ border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;
486
+ background: var(--wd-surface);
487
+ }
488
+ .wd-shell .next-table th {
489
+ padding: 7px 10px; text-align: left;
490
+ font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
491
+ font-weight: 600; color: var(--dsw-alias-label-tertiary);
492
+ background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);
493
+ }
494
+ .wd-shell .next-table td {
495
+ padding: 8px 10px; font-size: 11.5px; line-height: 17px;
496
+ color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);
497
+ vertical-align: top;
498
+ }
499
+ .wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }
500
+ .wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
501
+ .wd-shell .next-deadline { font-variant-numeric: tabular-nums; }
502
+
503
+ /* ---------- scenario detail (layer two) ---------- */
504
+ .wd-shell .plan-scenario-open {
505
+ flex: none; margin-left: 2px; padding: 2px 6px;
506
+ border: 0; border-radius: 5px; background: transparent; cursor: pointer;
507
+ font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600;
508
+ color: var(--wd-primary);
509
+ }
510
+ .wd-shell .plan-scenario-open:hover { background: var(--wd-primary-soft); }
511
+ .wd-shell .plan-scenario-open:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }
512
+ .wd-shell .sd-back {
513
+ align-self: flex-start; margin-bottom: 2px; padding: 3px 8px;
514
+ border: 1px solid var(--wd-hairline); border-radius: 6px; background: var(--wd-surface); cursor: pointer;
515
+ font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600; color: var(--wd-primary);
516
+ }
517
+ .wd-shell .sd-back:hover { background: var(--wd-primary-soft); }
518
+ .wd-shell .sd-back:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }
519
+ .wd-shell .sd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 9px; border-bottom: 1px solid var(--wd-hairline); }
520
+ .wd-shell .sd-head-no {
521
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
522
+ font-size: 10px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);
523
+ }
524
+ .wd-shell .sd-head-name { font-size: 14px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
525
+ .wd-shell .sd-evidence { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
526
+ .wd-shell .sd-evidence-row {
527
+ display: flex; align-items: baseline; gap: 9px; padding: 7px 10px;
528
+ border-radius: 7px; background: var(--wd-inset);
529
+ }
530
+ .wd-shell .sd-evidence-type { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
531
+ .wd-shell .sd-evidence-title { flex: 1; min-width: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
532
+ .wd-shell .sd-evidence-date { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
533
+ .wd-shell .sd-evidence-link { flex: none; font-size: 10.5px; color: var(--wd-primary); text-decoration: none; }
534
+ .wd-shell .sd-evidence-link:hover { text-decoration: underline; }
535
+ .wd-shell .sd-customer { display: flex; flex-direction: column; gap: 4px; padding: 9px 11px; border-radius: 8px; background: var(--wd-inset); }
536
+ .wd-shell .sd-customer-sync { display: flex; align-items: baseline; gap: 8px; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
537
+ .wd-shell .sd-customer-date { font-variant-numeric: tabular-nums; }
538
+ .wd-shell .sd-customer-feedback { margin: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); }
539
+ .wd-shell .sd-gate3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
540
+ .wd-shell .sd-gate3-note {
541
+ font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red);
542
+ padding: 1px 5px; border-radius: 4px; background: var(--wd-red-soft);
543
+ }
544
+ .wd-shell .sd-linked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
545
+ .wd-shell .sd-linked-row {
546
+ display: grid; grid-template-columns: 82px 34px 76px minmax(0, 1fr); gap: 8px;
547
+ align-items: baseline; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset);
548
+ }
549
+ .wd-shell .sd-linked-date { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
550
+ .wd-shell .sd-linked-seq { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
551
+ .wd-shell .sd-linked-change { font-size: 9.5px; line-height: 14px; font-weight: 600; color: var(--wd-primary); }
552
+ .wd-shell .sd-linked-actual { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
386
553
  .wd-shell .plan-risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
387
554
  .wd-shell .plan-risk { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--wd-inset); }
388
555
  .wd-shell .plan-risk-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--wd-slate); }
@@ -420,4 +587,88 @@ export const DETAIL_CSS = `
420
587
  @media (prefers-reduced-motion: reduce) {
421
588
  .wd-shell .dim-card, .wd-shell .prog-card { transition: none; }
422
589
  }
590
+
591
+ /* ================= v3.1 layout: banner + fixed two columns ================= */
592
+ .wd-shell .dt-shell { display: flex; flex-direction: column; gap: 16px; padding: 20px 28px 44px; min-height: 100%; }
593
+ .wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }
594
+
595
+ .wd-shell .dt-header {
596
+ display: grid; grid-template-columns: minmax(0, 1fr) auto;
597
+ grid-template-areas: "main side" "nav nav"; gap: 10px 18px;
598
+ padding: 16px 20px; background: var(--wd-surface);
599
+ border: 1px solid var(--wd-hairline); border-radius: 10px;
600
+ }
601
+ .wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
602
+ .wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }
603
+ .wd-shell .dt-header-title {
604
+ margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;
605
+ letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;
606
+ }
607
+ .wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
608
+ .wd-shell .dt-header-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
609
+ .wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
610
+ .wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }
611
+ .wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
612
+ .wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; }
613
+ .wd-shell .dt-header-amount-label { font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--wd-amber); }
614
+ .wd-shell .dt-header-amount-value { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em; }
615
+ .wd-shell .dt-header-amount-value[data-empty="true"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }
616
+ .wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
617
+ .wd-shell .dt-header-nav { grid-area: nav; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--wd-hairline); }
618
+ .wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
619
+
620
+ .wd-shell .dt-columns { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 18px; align-items: start; }
621
+ @media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }
622
+ .wd-shell .dt-col-main,
623
+ .wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
624
+
625
+ .wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
626
+ .wd-shell .g0-card { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 8px; background: var(--wd-surface); border: 1px solid var(--wd-hairline); }
627
+ .wd-shell .g0-card[data-present="false"] { background: var(--wd-inset); border-style: dashed; }
628
+ .wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }
629
+ .wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
630
+ .wd-shell .g0-card-missing { margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650; color: var(--wd-amber); background: var(--wd-amber-soft); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
631
+ .wd-shell .g0-card-body { margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
632
+ .wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
633
+ .wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
634
+ .wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
635
+
636
+ .wd-shell .next-table { width: 100%; border-collapse: collapse; border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden; background: var(--wd-surface); }
637
+ .wd-shell .next-table th { padding: 7px 10px; text-align: left; font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary); background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline); }
638
+ .wd-shell .next-table td { padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline); vertical-align: top; }
639
+ .wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }
640
+ .wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
641
+ .wd-shell .next-deadline { font-variant-numeric: tabular-nums; }
642
+
643
+ /*
644
+ * Balance the columns.
645
+ *
646
+ * The progress stream grows without limit (one card per round), while the left
647
+ * column holds a fixed set of commitments. Left alone, a project with ten rounds
648
+ * leaves the commitments column looking half-empty. Capping the stream keeps the
649
+ * two columns visually comparable and gives the reader an obvious scroll target,
650
+ * while every round stays reachable.
651
+ */
652
+ .wd-shell .dt-col-side .prog-stream {
653
+ max-height: none; overflow-y: visible;
654
+ padding-right: 4px;
655
+ scrollbar-width: thin;
656
+ }
657
+ .wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }
658
+ .wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }
659
+
660
+ /* ---------- compact timeline row ---------- */
661
+ .wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }
662
+ .wd-shell .prog-card-compact .prog-head { gap: 8px; }
663
+ .wd-shell .prog-change {
664
+ font-size: 9px; line-height: 13px; font-weight: 650;
665
+ color: var(--wd-primary); background: var(--wd-primary-soft);
666
+ padding: 1px 5px; border-radius: 4px; white-space: nowrap;
667
+ }
668
+ .wd-shell .prog-actual-line {
669
+ margin: 0; font-size: 11.5px; line-height: 17px;
670
+ color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
671
+ }
672
+ .wd-shell .prog-actual-line[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
673
+ .wd-shell .prog-scope-row { margin-top: 1px; }
423
674
  `;
@@ -125,6 +125,12 @@ export const zh = {
125
125
  scenariosLimitHint: '要求 3–5 个',
126
126
  risksLimitHint: '上限 3 个',
127
127
  emptyField: '(空)',
128
+ // The ledger's `priority` is an English enum (strategic/high/normal). Rendering
129
+ // it raw would read as a code fragment inside a Chinese page.
130
+ priorityStrategic: '战略',
131
+ priorityHigh: '高',
132
+ priorityNormal: '常规',
133
+ priorityUnknown: '未定',
128
134
  riskLevel: '等级',
129
135
  riskMitigation: '应对',
130
136
  round: '第 {round} 轮',
@@ -507,16 +513,53 @@ export const zh = {
507
513
  dtG0Unreviewed: '还没有评审结论',
508
514
  dtPlanTitle: '计划(G1 / G2)',
509
515
  dtPlanCriteria: '成功指标',
510
- dtPlanCriteriaNone: '还没有定义成功指标',
516
+ dtPlanCriteriaStatus: '状态',
517
+ dtPlanScenarioGoal: '目标',
518
+ dtPlanScenarioEvidence: '{count} 项证据',
519
+ dtProgressCountLabel: '{count} 条',
520
+ dtPlanScenarioDetail: '详情',
521
+ dtG0GridTitle: 'Gate 0 · 关键信息区',
522
+ dtG0ReviewTitle: 'G0 Review',
523
+ dtG0Answered: '{answered} / {total} 已填',
524
+ dtG0MissingNote: '还有 {count} 项必填没写。G0 不齐,后面所有判断都不可信。',
525
+ dtNextActionsTitle: '下一步工作目标及计划',
526
+ dtNextActionsKicker: '承接 outcome.business.milestone / progress[].next',
527
+ dtNextActionsNone: '还没有下一步。POC 做成了却没有下一步,是最容易漏掉、商业价值最高的缺口。',
528
+ dtNextGoal: '目标',
529
+ dtNextOwner: '负责人',
530
+ dtNextDeadline: '截止',
531
+ dtNextStatus: '状态',
532
+ dtScenarioBack: '返回总览',
533
+ dtScenarioTitle: '场景详情',
534
+ dtScenarioGoal: '成功目标',
535
+ dtScenarioEvidence: '证据',
536
+ dtScenarioEvidenceNone: '这个场景还没有任何证据。没有证据的场景,在任何讨论里都等于没做过。',
537
+ dtScenarioCustomer: '客户反馈',
538
+ dtScenarioSyncedWith: '同步对象',
539
+ dtScenarioFeedbackEmpty: '还没有记录客户反馈。客户怎么说,比我们怎么测更重要。',
540
+ dtScenarioGate3: 'G3 判定',
541
+ dtScenarioLinked: '关联进展',
542
+ dtScenarioLinkedNone: '还没有进展关联到这个场景。新增进展时用 scenario_ids 引用它。',
543
+ dtScenarioNotFound: '找不到这个场景',
544
+ dtStatusProven: '已证明',
545
+ dtStatusAwaiting: '待客户确认',
546
+ dtStatusNoEvidence: '无证据',
547
+ dtStatusNotStarted: '未开始',
548
+ dtCritProven: '已达成',
549
+ dtCritPartial: '部分达成',
550
+ dtCritFailed: '未达成',
551
+ dtCritUnverified: '未验证',
552
+ dtCriteriaStatusNone: '未验证',
553
+ dtPlanCriteriaNone: '还没有成功指标。至少写 2 项可验收的指标,否则 POC 结束后无法判定成没成。',
511
554
  dtPlanCriteriaCount: '{count} 项(要求 2–3)',
512
555
  dtPlanMetric: '指标',
513
556
  dtPlanBaseline: '基线',
514
557
  dtPlanTarget: '目标',
515
558
  dtPlanScenarios: '验证场景',
516
- dtPlanScenariosNone: '还没有定义验证场景',
559
+ dtPlanScenariosNone: '还没有验证场景。写 3–5 个具体场景,每个都要能对应到证据。',
517
560
  dtPlanScenariosCount: '{count} 个(要求 3–5)',
518
561
  dtPlanRisks: '风险',
519
- dtPlanRisksNone: '没有登记风险',
562
+ dtPlanRisksNone: '没有登记风险。至少写下最可能让这次 POC 失败的那一条。',
520
563
  dtPlanRisksCount: '{count} 个(上限 3)',
521
564
  dtPlanMitigation: '应对',
522
565
  dtPlanPain: '客户痛点',
@@ -661,6 +704,10 @@ export const en = {
661
704
  scenariosLimitHint: '3–5 required',
662
705
  risksLimitHint: 'At most 3',
663
706
  emptyField: '(empty)',
707
+ priorityStrategic: 'Strategic',
708
+ priorityHigh: 'High',
709
+ priorityNormal: 'Normal',
710
+ priorityUnknown: 'Unset',
664
711
  riskLevel: 'Level',
665
712
  riskMitigation: 'Mitigation',
666
713
  round: 'Round {round}',
@@ -1042,16 +1089,53 @@ export const en = {
1042
1089
  dtG0Unreviewed: 'No review conclusion yet',
1043
1090
  dtPlanTitle: 'Plan (G1 / G2)',
1044
1091
  dtPlanCriteria: 'Success criteria',
1045
- dtPlanCriteriaNone: 'No success criterion defined yet',
1092
+ dtPlanCriteriaStatus: 'Status',
1093
+ dtPlanScenarioGoal: 'Goal',
1094
+ dtPlanScenarioEvidence: '{count} evidence',
1095
+ dtProgressCountLabel: '{count} entries',
1096
+ dtPlanScenarioDetail: 'Detail',
1097
+ dtG0GridTitle: 'Gate 0 · key information',
1098
+ dtG0ReviewTitle: 'G0 review',
1099
+ dtG0Answered: '{answered} / {total} answered',
1100
+ dtG0MissingNote: '{count} required answer(s) still missing. Until G0 is complete, nothing downstream is trustworthy.',
1101
+ dtNextActionsTitle: 'Next steps',
1102
+ dtNextActionsKicker: 'outcome.business.milestone / progress[].next',
1103
+ dtNextActionsNone: 'No next step yet. A pilot that worked with nothing following is the most expensive gap.',
1104
+ dtNextGoal: 'Goal',
1105
+ dtNextOwner: 'Owner',
1106
+ dtNextDeadline: 'Due',
1107
+ dtNextStatus: 'Status',
1108
+ dtScenarioBack: 'Back to overview',
1109
+ dtScenarioTitle: 'Scenario detail',
1110
+ dtScenarioGoal: 'Success goal',
1111
+ dtScenarioEvidence: 'Evidence',
1112
+ dtScenarioEvidenceNone: 'No evidence for this scenario yet. An unbacked scenario counts as not done.',
1113
+ dtScenarioCustomer: 'Customer feedback',
1114
+ dtScenarioSyncedWith: 'Synced with',
1115
+ dtScenarioFeedbackEmpty: 'No customer feedback yet. What the customer says matters more than what we tested.',
1116
+ dtScenarioGate3: 'G3 verdict',
1117
+ dtScenarioLinked: 'Linked progress',
1118
+ dtScenarioLinkedNone: 'No progress entry references this scenario yet. Cite its id in scenario_ids.',
1119
+ dtScenarioNotFound: 'Scenario not found',
1120
+ dtStatusProven: 'Proven',
1121
+ dtStatusAwaiting: 'Awaiting customer',
1122
+ dtStatusNoEvidence: 'No evidence',
1123
+ dtStatusNotStarted: 'Not started',
1124
+ dtCritProven: 'Met',
1125
+ dtCritPartial: 'Partially met',
1126
+ dtCritFailed: 'Not met',
1127
+ dtCritUnverified: 'Unverified',
1128
+ dtCriteriaStatusNone: 'Unverified',
1129
+ dtPlanCriteriaNone: 'No success criterion yet. Write at least 2 so the pilot can be judged when it ends.',
1046
1130
  dtPlanCriteriaCount: '{count} (2–3 required)',
1047
1131
  dtPlanMetric: 'Metric',
1048
1132
  dtPlanBaseline: 'Baseline',
1049
1133
  dtPlanTarget: 'Target',
1050
1134
  dtPlanScenarios: 'Validation scenarios',
1051
- dtPlanScenariosNone: 'No validation scenario defined yet',
1135
+ dtPlanScenariosNone: 'No validation scenario yet. Write 3–5 concrete ones, each able to point at evidence.',
1052
1136
  dtPlanScenariosCount: '{count} (3–5 required)',
1053
1137
  dtPlanRisks: 'Risks',
1054
- dtPlanRisksNone: 'No risk registered',
1138
+ dtPlanRisksNone: 'No risk registered. Name at least the one most likely to sink this pilot.',
1055
1139
  dtPlanRisksCount: '{count} (max 3)',
1056
1140
  dtPlanMitigation: 'Mitigation',
1057
1141
  dtPlanPain: 'Customer pain',