@skillre/dsh-plugin-work-dashboard 0.0.0-stage → 0.9.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.
- package/LICENSE +21 -0
- package/README.en.md +259 -0
- package/README.md +371 -2
- package/UNINSTALL.md +7 -0
- package/compatibility.json +195 -0
- package/cordis.patch.yml +24 -0
- package/docs/DESIGN-0.3.md +122 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/PLAN-0.7-0.9.md +230 -0
- package/docs/preview.svg +254 -0
- package/docs/preview.zh.svg +254 -0
- package/icon.svg +17 -0
- package/lib/blockers.d.ts +45 -0
- package/lib/blockers.js +160 -0
- package/lib/client/api.d.ts +42 -0
- package/lib/client/api.js +45 -0
- package/lib/client/contracts.d.ts +94 -0
- package/lib/client/contracts.js +21 -0
- package/lib/client/css/base.d.ts +31 -0
- package/lib/client/css/base.js +461 -0
- package/lib/client/css/blockers.d.ts +18 -0
- package/lib/client/css/blockers.js +196 -0
- package/lib/client/css/charts.d.ts +14 -0
- package/lib/client/css/charts.js +191 -0
- package/lib/client/css/detail.d.ts +21 -0
- package/lib/client/css/detail.js +423 -0
- package/lib/client/css/insights.d.ts +27 -0
- package/lib/client/css/insights.js +660 -0
- package/lib/client/css/overview.d.ts +23 -0
- package/lib/client/css/overview.js +327 -0
- package/lib/client/css/summary.d.ts +13 -0
- package/lib/client/css/summary.js +187 -0
- package/lib/client/format.d.ts +57 -0
- package/lib/client/format.js +96 -0
- package/lib/client/preferences.d.ts +56 -0
- package/lib/client/preferences.js +118 -0
- package/lib/client/styles.d.ts +17 -0
- package/lib/client/styles.js +24 -0
- package/lib/client/text.d.ts +32 -0
- package/lib/client/text.js +1112 -0
- package/lib/client/view-contract.d.ts +118 -0
- package/lib/client/view-contract.js +28 -0
- package/lib/client.js +6599 -0
- package/lib/config.d.ts +61 -0
- package/lib/config.js +67 -0
- package/lib/form.d.ts +218 -0
- package/lib/form.js +1075 -0
- package/lib/gap.d.ts +60 -0
- package/lib/gap.js +227 -0
- package/lib/index.d.ts +40 -0
- package/lib/index.js +159 -0
- package/lib/repo.d.ts +124 -0
- package/lib/repo.js +407 -0
- package/lib/risks.d.ts +24 -0
- package/lib/risks.js +85 -0
- package/lib/skill.d.ts +94 -0
- package/lib/skill.js +220 -0
- package/lib/store.d.ts +63 -0
- package/lib/store.js +505 -0
- package/lib/timeline.d.ts +23 -0
- package/lib/timeline.js +93 -0
- package/lib/transport.d.ts +67 -0
- package/lib/transport.js +131 -0
- package/lib/types.d.ts +701 -0
- package/lib/types.js +78 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +117 -4
- package/skills/poc-export/SKILL.md +81 -0
- package/skills/poc-export/scripts/export-form.mjs +654 -0
- package/skills/poc-ledger/SKILL.md +171 -0
- package/skills/poc-submit/SKILL.md +186 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blocker panel + worklist styles.
|
|
3
|
+
*
|
|
4
|
+
* Both surfaces live in the same module, so they share a sheet. The rules follow
|
|
5
|
+
* the two constraints the rest of the console set:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Scoped under `.wd-shell`.** Nothing here may leak into product DOM; the
|
|
8
|
+
* sheet is unmounted with the page.
|
|
9
|
+
* 2. **Judgement tones only.** Red/amber mark severity, never chrome. A blocker
|
|
10
|
+
* group's left border is the only colour on the row, because the list is
|
|
11
|
+
* already dense and a second colour axis (per source) would make the severity
|
|
12
|
+
* unreadable.
|
|
13
|
+
*
|
|
14
|
+
* Body text is 11.5–12px rather than the 9.5px the older surfaces used: this is
|
|
15
|
+
* the reading surface that is meant to be acted on, and CJK at 9.5px is a
|
|
16
|
+
* legibility problem, not a density win.
|
|
17
|
+
*/
|
|
18
|
+
export declare const BLOCKERS_CSS = "\n/* ---------- blocker chips ---------- */\n.wd-shell .blocker-chips {\n display: flex; align-items: center; gap: 6px; flex-wrap: wrap;\n padding: 0 0 10px;\n}\n.wd-shell .blocker-chip {\n display: inline-flex; align-items: center; gap: 6px;\n height: 26px; padding: 0 10px;\n border: 1px solid var(--wd-hairline); border-radius: 20px;\n background: var(--wd-surface); color: var(--dsw-alias-label-secondary);\n font-size: 11.5px; line-height: 16px; cursor: pointer; white-space: nowrap;\n transition: background .12s ease, border-color .12s ease, color .12s ease;\n}\n.wd-shell .blocker-chip:hover { background: var(--wd-inset); color: var(--wd-text); }\n.wd-shell .blocker-chip[data-active=\"true\"] {\n background: var(--wd-primary-soft); border-color: var(--wd-primary);\n color: var(--wd-primary); font-weight: 600;\n}\n.wd-shell .blocker-chip-count {\n font-size: 10.5px; font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-tertiary); font-weight: 500;\n}\n.wd-shell .blocker-chip[data-active=\"true\"] .blocker-chip-count { color: var(--wd-primary); }\n\n/* ---------- blocker groups ---------- */\n.wd-shell .blocker-list { display: flex; flex-direction: column; gap: 10px; }\n.wd-shell .blocker-group {\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); overflow: hidden;\n}\n.wd-shell .blocker-group[data-level=\"high\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .blocker-group[data-level=\"medium\"] { border-left: 3px solid var(--wd-amber); }\n.wd-shell .blocker-group-head {\n display: flex; align-items: center; gap: 8px;\n padding: 9px 12px; border-bottom: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .blocker-project {\n display: inline-flex; align-items: baseline; gap: 7px;\n padding: 0; border: 0; background: none; cursor: pointer;\n font-size: 12.5px; line-height: 18px; font-weight: 650; color: var(--wd-text);\n text-align: left; min-width: 0; overflow-wrap: anywhere;\n}\n.wd-shell .blocker-project:hover { color: var(--wd-primary); }\n.wd-shell .blocker-project-id {\n font-size: 10.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n}\n.wd-shell .blocker-stage {\n flex: none; font-size: 10.5px; line-height: 16px;\n padding: 1px 7px; border-radius: 10px;\n background: var(--wd-primary-soft); color: var(--wd-primary);\n}\n.wd-shell .blocker-group-count {\n margin-left: auto; flex: none;\n font-size: 10.5px; font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .blocker-rows { list-style: none; margin: 0; padding: 0; }\n.wd-shell .blocker-row {\n display: flex; flex-direction: column; gap: 2px;\n padding: 8px 12px; border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .blocker-row:last-child { border-bottom: 0; }\n.wd-shell .blocker-row-headline {\n font-size: 12px; line-height: 17px; font-weight: 600; color: var(--wd-text);\n overflow-wrap: anywhere;\n}\n.wd-shell .blocker-row[data-source=\"missing-amount\"] .blocker-row-headline,\n.wd-shell .blocker-row[data-source=\"no-stage-since\"] .blocker-row-headline { color: var(--wd-amber); }\n.wd-shell .blocker-row[data-source=\"stalled\"] .blocker-row-headline,\n.wd-shell .blocker-row[data-source=\"no-progress\"] .blocker-row-headline { color: var(--wd-red); }\n.wd-shell .blocker-row-copy {\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary);\n overflow-wrap: anywhere;\n}\n.wd-shell .blocker-empty {\n margin: 0; padding: 22px 12px; text-align: center;\n font-size: 12px; color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- worklist ---------- */\n.wd-shell .worklist { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .worklist-items {\n list-style: none; margin: 0; padding: 0;\n display: flex; flex-direction: column; gap: 6px;\n}\n.wd-shell .worklist-item {\n display: flex; align-items: flex-start; gap: 9px;\n padding: 9px 12px;\n border: 1px solid var(--wd-hairline); border-radius: 9px;\n background: var(--wd-inset);\n}\n.wd-shell .worklist-mark {\n flex: none; font-size: 13px; line-height: 17px;\n color: var(--wd-amber);\n}\n.wd-shell .worklist-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .worklist-label {\n font-size: 12px; line-height: 17px; font-weight: 600; color: var(--wd-text);\n overflow-wrap: anywhere;\n}\n.wd-shell .worklist-copy {\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary);\n overflow-wrap: anywhere;\n}\n.wd-shell .worklist-action {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n overflow-wrap: anywhere;\n}\n.wd-shell .worklist-done {\n margin: 0; padding: 14px 12px; text-align: center;\n font-size: 12px; color: var(--wd-green);\n}\n.wd-shell .worklist[data-empty=\"true\"] {\n border: 1px dashed var(--wd-hairline); border-radius: 9px;\n background: var(--wd-inset);\n}\n\n/* ---------- detail: worklist section ---------- */\n.wd-shell .dt-worklist { margin-bottom: 14px; }\n.wd-shell .dt-stage-context {\n display: flex; flex-direction: column; gap: 3px;\n padding: 12px 14px; margin-bottom: 14px;\n border: 1px solid var(--wd-hairline); border-left: 3px solid var(--wd-primary);\n border-radius: 10px; background: var(--wd-surface);\n}\n.wd-shell .dt-stage-context-head {\n display: flex; align-items: baseline; gap: 8px;\n}\n.wd-shell .dt-stage-context-title {\n margin: 0; font-size: 13px; line-height: 19px; font-weight: 650; color: var(--wd-text);\n}\n.wd-shell .dt-stage-context-kicker {\n font-size: 10.5px; line-height: 15px; letter-spacing: .04em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage-context-copy {\n margin: 0; font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-secondary);\n}\n.wd-shell .dt-stage-context-next {\n margin: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage-context-state {\n align-self: flex-start; margin-top: 2px;\n font-size: 10.5px; line-height: 16px; padding: 1px 8px; border-radius: 10px;\n}\n.wd-shell .dt-stage-context[data-done=\"true\"] .dt-stage-context-state {\n background: var(--wd-green-soft); color: var(--wd-green);\n}\n.wd-shell .dt-stage-context[data-done=\"false\"] .dt-stage-context-state {\n background: var(--wd-amber-soft); color: var(--wd-amber);\n}\n\n/* ---------- detail: collapsed \"other sections\" ---------- */\n.wd-shell .dt-fold {\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); margin-bottom: 14px; overflow: hidden;\n}\n.wd-shell .dt-fold-head {\n display: flex; align-items: center; gap: 8px;\n padding: 10px 14px; cursor: pointer;\n background: var(--wd-inset); border: 0; width: 100%; text-align: left;\n}\n.wd-shell .dt-fold-head:hover { background: var(--wd-canvas); }\n.wd-shell .dt-fold-title {\n margin: 0; font-size: 12.5px; line-height: 18px; font-weight: 650; color: var(--wd-text);\n}\n.wd-shell .dt-fold-hint {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-fold-arrow {\n margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-fold[data-open=\"true\"] .dt-fold-body { display: block; }\n.wd-shell .dt-fold[data-open=\"false\"] .dt-fold-body { display: none; }\n.wd-shell .dt-fold-body { padding: 12px 14px; border-top: 1px solid var(--wd-hairline); }\n";
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blocker panel + worklist styles.
|
|
3
|
+
*
|
|
4
|
+
* Both surfaces live in the same module, so they share a sheet. The rules follow
|
|
5
|
+
* the two constraints the rest of the console set:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Scoped under `.wd-shell`.** Nothing here may leak into product DOM; the
|
|
8
|
+
* sheet is unmounted with the page.
|
|
9
|
+
* 2. **Judgement tones only.** Red/amber mark severity, never chrome. A blocker
|
|
10
|
+
* group's left border is the only colour on the row, because the list is
|
|
11
|
+
* already dense and a second colour axis (per source) would make the severity
|
|
12
|
+
* unreadable.
|
|
13
|
+
*
|
|
14
|
+
* Body text is 11.5–12px rather than the 9.5px the older surfaces used: this is
|
|
15
|
+
* the reading surface that is meant to be acted on, and CJK at 9.5px is a
|
|
16
|
+
* legibility problem, not a density win.
|
|
17
|
+
*/
|
|
18
|
+
export const BLOCKERS_CSS = `
|
|
19
|
+
/* ---------- blocker chips ---------- */
|
|
20
|
+
.wd-shell .blocker-chips {
|
|
21
|
+
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
|
|
22
|
+
padding: 0 0 10px;
|
|
23
|
+
}
|
|
24
|
+
.wd-shell .blocker-chip {
|
|
25
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
26
|
+
height: 26px; padding: 0 10px;
|
|
27
|
+
border: 1px solid var(--wd-hairline); border-radius: 20px;
|
|
28
|
+
background: var(--wd-surface); color: var(--dsw-alias-label-secondary);
|
|
29
|
+
font-size: 11.5px; line-height: 16px; cursor: pointer; white-space: nowrap;
|
|
30
|
+
transition: background .12s ease, border-color .12s ease, color .12s ease;
|
|
31
|
+
}
|
|
32
|
+
.wd-shell .blocker-chip:hover { background: var(--wd-inset); color: var(--wd-text); }
|
|
33
|
+
.wd-shell .blocker-chip[data-active="true"] {
|
|
34
|
+
background: var(--wd-primary-soft); border-color: var(--wd-primary);
|
|
35
|
+
color: var(--wd-primary); font-weight: 600;
|
|
36
|
+
}
|
|
37
|
+
.wd-shell .blocker-chip-count {
|
|
38
|
+
font-size: 10.5px; font-variant-numeric: tabular-nums;
|
|
39
|
+
color: var(--dsw-alias-label-tertiary); font-weight: 500;
|
|
40
|
+
}
|
|
41
|
+
.wd-shell .blocker-chip[data-active="true"] .blocker-chip-count { color: var(--wd-primary); }
|
|
42
|
+
|
|
43
|
+
/* ---------- blocker groups ---------- */
|
|
44
|
+
.wd-shell .blocker-list { display: flex; flex-direction: column; gap: 10px; }
|
|
45
|
+
.wd-shell .blocker-group {
|
|
46
|
+
border: 1px solid var(--wd-hairline); border-radius: 10px;
|
|
47
|
+
background: var(--wd-surface); overflow: hidden;
|
|
48
|
+
}
|
|
49
|
+
.wd-shell .blocker-group[data-level="high"] { border-left: 3px solid var(--wd-red); }
|
|
50
|
+
.wd-shell .blocker-group[data-level="medium"] { border-left: 3px solid var(--wd-amber); }
|
|
51
|
+
.wd-shell .blocker-group-head {
|
|
52
|
+
display: flex; align-items: center; gap: 8px;
|
|
53
|
+
padding: 9px 12px; border-bottom: 1px solid var(--wd-hairline);
|
|
54
|
+
background: var(--wd-inset);
|
|
55
|
+
}
|
|
56
|
+
.wd-shell .blocker-project {
|
|
57
|
+
display: inline-flex; align-items: baseline; gap: 7px;
|
|
58
|
+
padding: 0; border: 0; background: none; cursor: pointer;
|
|
59
|
+
font-size: 12.5px; line-height: 18px; font-weight: 650; color: var(--wd-text);
|
|
60
|
+
text-align: left; min-width: 0; overflow-wrap: anywhere;
|
|
61
|
+
}
|
|
62
|
+
.wd-shell .blocker-project:hover { color: var(--wd-primary); }
|
|
63
|
+
.wd-shell .blocker-project-id {
|
|
64
|
+
font-size: 10.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary);
|
|
65
|
+
font-variant-numeric: tabular-nums;
|
|
66
|
+
}
|
|
67
|
+
.wd-shell .blocker-stage {
|
|
68
|
+
flex: none; font-size: 10.5px; line-height: 16px;
|
|
69
|
+
padding: 1px 7px; border-radius: 10px;
|
|
70
|
+
background: var(--wd-primary-soft); color: var(--wd-primary);
|
|
71
|
+
}
|
|
72
|
+
.wd-shell .blocker-group-count {
|
|
73
|
+
margin-left: auto; flex: none;
|
|
74
|
+
font-size: 10.5px; font-variant-numeric: tabular-nums;
|
|
75
|
+
color: var(--dsw-alias-label-tertiary);
|
|
76
|
+
}
|
|
77
|
+
.wd-shell .blocker-rows { list-style: none; margin: 0; padding: 0; }
|
|
78
|
+
.wd-shell .blocker-row {
|
|
79
|
+
display: flex; flex-direction: column; gap: 2px;
|
|
80
|
+
padding: 8px 12px; border-bottom: 1px solid var(--wd-hairline);
|
|
81
|
+
}
|
|
82
|
+
.wd-shell .blocker-row:last-child { border-bottom: 0; }
|
|
83
|
+
.wd-shell .blocker-row-headline {
|
|
84
|
+
font-size: 12px; line-height: 17px; font-weight: 600; color: var(--wd-text);
|
|
85
|
+
overflow-wrap: anywhere;
|
|
86
|
+
}
|
|
87
|
+
.wd-shell .blocker-row[data-source="missing-amount"] .blocker-row-headline,
|
|
88
|
+
.wd-shell .blocker-row[data-source="no-stage-since"] .blocker-row-headline { color: var(--wd-amber); }
|
|
89
|
+
.wd-shell .blocker-row[data-source="stalled"] .blocker-row-headline,
|
|
90
|
+
.wd-shell .blocker-row[data-source="no-progress"] .blocker-row-headline { color: var(--wd-red); }
|
|
91
|
+
.wd-shell .blocker-row-copy {
|
|
92
|
+
font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary);
|
|
93
|
+
overflow-wrap: anywhere;
|
|
94
|
+
}
|
|
95
|
+
.wd-shell .blocker-empty {
|
|
96
|
+
margin: 0; padding: 22px 12px; text-align: center;
|
|
97
|
+
font-size: 12px; color: var(--dsw-alias-label-tertiary);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* ---------- worklist ---------- */
|
|
101
|
+
.wd-shell .worklist { display: flex; flex-direction: column; gap: 8px; }
|
|
102
|
+
.wd-shell .worklist-items {
|
|
103
|
+
list-style: none; margin: 0; padding: 0;
|
|
104
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
105
|
+
}
|
|
106
|
+
.wd-shell .worklist-item {
|
|
107
|
+
display: flex; align-items: flex-start; gap: 9px;
|
|
108
|
+
padding: 9px 12px;
|
|
109
|
+
border: 1px solid var(--wd-hairline); border-radius: 9px;
|
|
110
|
+
background: var(--wd-inset);
|
|
111
|
+
}
|
|
112
|
+
.wd-shell .worklist-mark {
|
|
113
|
+
flex: none; font-size: 13px; line-height: 17px;
|
|
114
|
+
color: var(--wd-amber);
|
|
115
|
+
}
|
|
116
|
+
.wd-shell .worklist-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
117
|
+
.wd-shell .worklist-label {
|
|
118
|
+
font-size: 12px; line-height: 17px; font-weight: 600; color: var(--wd-text);
|
|
119
|
+
overflow-wrap: anywhere;
|
|
120
|
+
}
|
|
121
|
+
.wd-shell .worklist-copy {
|
|
122
|
+
font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary);
|
|
123
|
+
overflow-wrap: anywhere;
|
|
124
|
+
}
|
|
125
|
+
.wd-shell .worklist-action {
|
|
126
|
+
font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-tertiary);
|
|
127
|
+
overflow-wrap: anywhere;
|
|
128
|
+
}
|
|
129
|
+
.wd-shell .worklist-done {
|
|
130
|
+
margin: 0; padding: 14px 12px; text-align: center;
|
|
131
|
+
font-size: 12px; color: var(--wd-green);
|
|
132
|
+
}
|
|
133
|
+
.wd-shell .worklist[data-empty="true"] {
|
|
134
|
+
border: 1px dashed var(--wd-hairline); border-radius: 9px;
|
|
135
|
+
background: var(--wd-inset);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* ---------- detail: worklist section ---------- */
|
|
139
|
+
.wd-shell .dt-worklist { margin-bottom: 14px; }
|
|
140
|
+
.wd-shell .dt-stage-context {
|
|
141
|
+
display: flex; flex-direction: column; gap: 3px;
|
|
142
|
+
padding: 12px 14px; margin-bottom: 14px;
|
|
143
|
+
border: 1px solid var(--wd-hairline); border-left: 3px solid var(--wd-primary);
|
|
144
|
+
border-radius: 10px; background: var(--wd-surface);
|
|
145
|
+
}
|
|
146
|
+
.wd-shell .dt-stage-context-head {
|
|
147
|
+
display: flex; align-items: baseline; gap: 8px;
|
|
148
|
+
}
|
|
149
|
+
.wd-shell .dt-stage-context-title {
|
|
150
|
+
margin: 0; font-size: 13px; line-height: 19px; font-weight: 650; color: var(--wd-text);
|
|
151
|
+
}
|
|
152
|
+
.wd-shell .dt-stage-context-kicker {
|
|
153
|
+
font-size: 10.5px; line-height: 15px; letter-spacing: .04em;
|
|
154
|
+
text-transform: uppercase; color: var(--dsw-alias-label-tertiary);
|
|
155
|
+
}
|
|
156
|
+
.wd-shell .dt-stage-context-copy {
|
|
157
|
+
margin: 0; font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-secondary);
|
|
158
|
+
}
|
|
159
|
+
.wd-shell .dt-stage-context-next {
|
|
160
|
+
margin: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);
|
|
161
|
+
}
|
|
162
|
+
.wd-shell .dt-stage-context-state {
|
|
163
|
+
align-self: flex-start; margin-top: 2px;
|
|
164
|
+
font-size: 10.5px; line-height: 16px; padding: 1px 8px; border-radius: 10px;
|
|
165
|
+
}
|
|
166
|
+
.wd-shell .dt-stage-context[data-done="true"] .dt-stage-context-state {
|
|
167
|
+
background: var(--wd-green-soft); color: var(--wd-green);
|
|
168
|
+
}
|
|
169
|
+
.wd-shell .dt-stage-context[data-done="false"] .dt-stage-context-state {
|
|
170
|
+
background: var(--wd-amber-soft); color: var(--wd-amber);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* ---------- detail: collapsed "other sections" ---------- */
|
|
174
|
+
.wd-shell .dt-fold {
|
|
175
|
+
border: 1px solid var(--wd-hairline); border-radius: 10px;
|
|
176
|
+
background: var(--wd-surface); margin-bottom: 14px; overflow: hidden;
|
|
177
|
+
}
|
|
178
|
+
.wd-shell .dt-fold-head {
|
|
179
|
+
display: flex; align-items: center; gap: 8px;
|
|
180
|
+
padding: 10px 14px; cursor: pointer;
|
|
181
|
+
background: var(--wd-inset); border: 0; width: 100%; text-align: left;
|
|
182
|
+
}
|
|
183
|
+
.wd-shell .dt-fold-head:hover { background: var(--wd-canvas); }
|
|
184
|
+
.wd-shell .dt-fold-title {
|
|
185
|
+
margin: 0; font-size: 12.5px; line-height: 18px; font-weight: 650; color: var(--wd-text);
|
|
186
|
+
}
|
|
187
|
+
.wd-shell .dt-fold-hint {
|
|
188
|
+
font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-tertiary);
|
|
189
|
+
}
|
|
190
|
+
.wd-shell .dt-fold-arrow {
|
|
191
|
+
margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);
|
|
192
|
+
}
|
|
193
|
+
.wd-shell .dt-fold[data-open="true"] .dt-fold-body { display: block; }
|
|
194
|
+
.wd-shell .dt-fold[data-open="false"] .dt-fold-body { display: none; }
|
|
195
|
+
.wd-shell .dt-fold-body { padding: 12px 14px; border-top: 1px solid var(--wd-hairline); }
|
|
196
|
+
`;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart styles.
|
|
3
|
+
*
|
|
4
|
+
* Kept beside `charts.tsx` rather than in the page sheet so a chart's geometry
|
|
5
|
+
* and its paint rules stay one unit: the primitives read CSS custom properties
|
|
6
|
+
* for colour and set `flex-grow` / `width` inline for magnitude, so there is
|
|
7
|
+
* exactly one place per figure where size is decided.
|
|
8
|
+
*
|
|
9
|
+
* Every tone maps onto the shared `--wd-*` palette. Nothing here introduces a
|
|
10
|
+
* new semantic colour; a chart may only use primary / green / amber / red /
|
|
11
|
+
* slate and their soft variants, which is what keeps charts and badges
|
|
12
|
+
* speaking the same language.
|
|
13
|
+
*/
|
|
14
|
+
export declare const CHARTS_CSS = "\n/* ---------- shared chart chrome ---------- */\n.wd-shell .chart-sr {\n position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;\n overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;\n}\n.wd-shell .chart-empty {\n display: flex; align-items: center; justify-content: center;\n min-height: 44px; border-radius: 8px;\n border: 1px dashed var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary); font-size: 11.5px;\n}\n.wd-shell .chart-block { display: flex; flex-direction: column; gap: 9px; min-width: 0; }\n.wd-shell .chart-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .chart-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .chart-block-note { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- stacked segment bar ---------- */\n.wd-shell .segbar { display: flex; flex-direction: column; gap: 6px; }\n.wd-shell .segbar-track {\n display: flex; width: 100%; height: 26px; overflow: hidden;\n border-radius: 7px; border: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .segbar-seg {\n display: flex; align-items: center; justify-content: center; gap: 5px;\n min-width: 3px; padding: 0 6px; overflow: hidden;\n font-size: 10.5px; font-weight: 600; white-space: nowrap;\n color: var(--dsw-alias-label-primary);\n background: var(--wd-slate-soft);\n border: 0; border-right: 1px solid rgba(255, 255, 255, .35);\n transition: filter .12s ease;\n}\n.wd-shell .segbar-seg:last-child { border-right: 0; }\n.wd-shell .segbar-seg[data-tone=\"blue\"] { background: var(--wd-primary-soft); color: var(--wd-primary-deep); }\n.wd-shell .segbar-seg[data-tone=\"green\"] { background: var(--wd-green-soft); color: var(--wd-green); }\n.wd-shell .segbar-seg[data-tone=\"amber\"] { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .segbar-seg[data-tone=\"red\"] { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .segbar-button { cursor: pointer; font-family: inherit; }\n.wd-shell .segbar-button:hover { filter: brightness(.96); }\n.wd-shell .segbar-seg[data-active=\"true\"] { box-shadow: inset 0 0 0 2px var(--wd-primary); }\n.wd-shell .segbar-label { overflow: hidden; text-overflow: ellipsis; }\n.wd-shell .segbar-value { font-variant-numeric: tabular-nums; font-weight: 650; }\n\n/* ---------- vertical columns ---------- */\n.wd-shell .columns { display: flex; align-items: flex-end; gap: 7px; }\n.wd-shell .columns-cell {\n flex: 1 1 0; min-width: 0;\n display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px;\n padding: 0; border: 0; background: transparent; font-family: inherit;\n cursor: default;\n}\n.wd-shell .columns-cell[data-empty=\"true\"] { opacity: .42; }\n.wd-shell .columns-cell[data-active=\"true\"] .columns-fill { box-shadow: 0 0 0 2px var(--wd-primary-ring); }\n.wd-shell .columns-value { font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n.wd-shell .columns-fill {\n width: 100%; max-width: 40px; border-radius: 5px 5px 2px 2px;\n background: var(--wd-slate-soft); min-height: 3px;\n transition: filter .12s ease;\n}\n.wd-shell .columns-fill[data-tone=\"blue\"] { background: var(--wd-primary); opacity: .82; }\n.wd-shell .columns-fill[data-tone=\"green\"] { background: var(--wd-green); opacity: .82; }\n.wd-shell .columns-fill[data-tone=\"amber\"] { background: var(--wd-amber); opacity: .82; }\n.wd-shell .columns-fill[data-tone=\"red\"] { background: var(--wd-red); opacity: .82; }\n.wd-shell .columns-fill[data-tone=\"slate\"] { background: var(--wd-slate); opacity: .55; }\n.wd-shell .columns-label { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); white-space: nowrap; }\n\n/* ---------- donut ---------- */\n.wd-shell .donut { display: flex; align-items: center; gap: 14px; }\n.wd-shell .donut-figure { position: relative; flex: none; width: 84px; height: 84px; }\n.wd-shell .donut-svg { width: 84px; height: 84px; display: block; }\n.wd-shell .donut-ring { fill: none; stroke: var(--wd-hairline); stroke-width: 11; }\n.wd-shell .donut-slice { fill: none; stroke-width: 11; stroke-linecap: butt; }\n.wd-shell .donut-slice[data-tone=\"blue\"] { stroke: var(--wd-primary); }\n.wd-shell .donut-slice[data-tone=\"green\"] { stroke: var(--wd-green); }\n.wd-shell .donut-slice[data-tone=\"amber\"] { stroke: var(--wd-amber); }\n.wd-shell .donut-slice[data-tone=\"red\"] { stroke: var(--wd-red); }\n.wd-shell .donut-slice[data-tone=\"slate\"] { stroke: var(--wd-slate); }\n.wd-shell .donut-center {\n position: absolute; inset: 0; display: flex; flex-direction: column;\n align-items: center; justify-content: center; gap: 1px; pointer-events: none;\n}\n.wd-shell .donut-center-value { font-size: 16px; line-height: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .donut-center-label { font-size: 9.5px; line-height: 13px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .donut-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }\n.wd-shell .donut-legend-row {\n display: flex; align-items: center; gap: 7px; width: 100%;\n padding: 2px 5px; border: 0; border-radius: 6px; background: transparent;\n font-family: inherit; font-size: 11px; color: var(--dsw-alias-label-secondary);\n text-align: left; cursor: default;\n}\n.wd-shell .donut-legend-button { cursor: pointer; }\n.wd-shell .donut-legend-button:hover { background: var(--wd-inset); }\n.wd-shell .donut-legend-row[data-active=\"true\"] { background: var(--wd-primary-soft); color: var(--wd-primary-deep); }\n.wd-shell .donut-dot { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--wd-slate); }\n.wd-shell .donut-dot[data-tone=\"blue\"] { background: var(--wd-primary); }\n.wd-shell .donut-dot[data-tone=\"green\"] { background: var(--wd-green); }\n.wd-shell .donut-dot[data-tone=\"amber\"] { background: var(--wd-amber); }\n.wd-shell .donut-dot[data-tone=\"red\"] { background: var(--wd-red); }\n.wd-shell .donut-legend-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.wd-shell .donut-legend-value { flex: none; font-variant-numeric: tabular-nums; font-weight: 650; }\n\n/* ---------- horizontal bar list ---------- */\n.wd-shell .barlist { display: flex; flex-direction: column; gap: 2px; }\n.wd-shell .barlist-row {\n display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(40px, 1fr) 46px;\n align-items: center; gap: 9px; width: 100%;\n padding: 4px 6px; border: 0; border-radius: 6px; background: transparent;\n font-family: inherit; text-align: left; cursor: default;\n}\n.wd-shell .barlist-button { cursor: pointer; }\n.wd-shell .barlist-button:hover { background: var(--wd-inset); }\n.wd-shell .barlist-row[data-active=\"true\"] { background: var(--wd-primary-soft); }\n.wd-shell .barlist-text { display: flex; flex-direction: column; min-width: 0; }\n.wd-shell .barlist-label { font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.wd-shell .barlist-note { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.wd-shell .barlist-track { height: 7px; border-radius: 4px; background: var(--wd-inset); overflow: hidden; }\n.wd-shell .barlist-fill { display: block; height: 100%; border-radius: 4px; background: var(--wd-slate); opacity: .7; }\n.wd-shell .barlist-fill[data-tone=\"blue\"] { background: var(--wd-primary); opacity: .9; }\n.wd-shell .barlist-fill[data-tone=\"green\"] { background: var(--wd-green); opacity: .9; }\n.wd-shell .barlist-fill[data-tone=\"amber\"] { background: var(--wd-amber); opacity: .9; }\n.wd-shell .barlist-fill[data-tone=\"red\"] { background: var(--wd-red); opacity: .9; }\n.wd-shell .barlist-value { font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- radial meter ---------- */\n.wd-shell .radial { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }\n.wd-shell .radial-figure { position: relative; width: 58px; height: 58px; }\n.wd-shell .radial-figure svg { width: 58px; height: 58px; display: block; }\n.wd-shell .radial-track { fill: none; stroke: var(--wd-hairline); stroke-width: 6; }\n.wd-shell .radial-fill { fill: none; stroke-width: 6; stroke-linecap: round; }\n.wd-shell .radial-fill[data-tone=\"blue\"] { stroke: var(--wd-primary); }\n.wd-shell .radial-fill[data-tone=\"green\"] { stroke: var(--wd-green); }\n.wd-shell .radial-fill[data-tone=\"amber\"] { stroke: var(--wd-amber); }\n.wd-shell .radial-fill[data-tone=\"red\"] { stroke: var(--wd-red); }\n.wd-shell .radial-fill[data-tone=\"slate\"] { stroke: var(--wd-slate); }\n.wd-shell .radial-value {\n position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;\n font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;\n}\n.wd-shell .radial-label { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); white-space: nowrap; }\n.wd-shell .radial-note { font-size: 9.5px; line-height: 13px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- spark bars ---------- */\n.wd-shell .spark { display: flex; align-items: flex-end; gap: 3px; height: 46px; }\n.wd-shell .spark-cell { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; height: 100%; }\n.wd-shell .spark-bar { width: 100%; max-width: 16px; border-radius: 3px 3px 1px 1px; background: var(--wd-primary); opacity: .78; min-height: 3px; }\n.wd-shell .spark-bar[data-empty=\"true\"] { background: var(--wd-hairline); opacity: 1; }\n.wd-shell .spark-month { font-size: 9px; line-height: 12px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- mini stage rail ---------- */\n.wd-shell .rail-mini { display: flex; align-items: center; gap: 3px; }\n.wd-shell .rail-mini-tick { width: 100%; max-width: 18px; height: 4px; border-radius: 2px; background: var(--wd-hairline); }\n.wd-shell .rail-mini-tick[data-done=\"true\"] { background: var(--wd-green); }\n.wd-shell .rail-mini-tick[data-current=\"true\"] { background: var(--wd-primary); box-shadow: 0 0 0 2px var(--wd-primary-ring); }\n\n/* ---------- inline meter ---------- */\n.wd-shell .inline-meter { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--wd-hairline); overflow: hidden; }\n.wd-shell .inline-meter-fill { display: block; height: 100%; border-radius: 2px; background: var(--wd-primary); }\n.wd-shell .inline-meter-fill[data-tone=\"green\"] { background: var(--wd-green); }\n.wd-shell .inline-meter-fill[data-tone=\"amber\"] { background: var(--wd-amber); }\n.wd-shell .inline-meter-fill[data-tone=\"red\"] { background: var(--wd-red); }\n.wd-shell .inline-meter-fill[data-tone=\"slate\"] { background: var(--wd-slate); }\n\n/* ---------- legend ---------- */\n.wd-shell .legend { display: flex; flex-wrap: wrap; gap: 4px 12px; }\n.wd-shell .legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .legend-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--wd-slate); }\n.wd-shell .legend-dot[data-tone=\"blue\"] { background: var(--wd-primary); }\n.wd-shell .legend-dot[data-tone=\"green\"] { background: var(--wd-green); }\n.wd-shell .legend-dot[data-tone=\"amber\"] { background: var(--wd-amber); }\n.wd-shell .legend-dot[data-tone=\"red\"] { background: var(--wd-red); }\n.wd-shell .legend-label { color: var(--dsw-alias-label-secondary); }\n.wd-shell .legend-value { font-variant-numeric: tabular-nums; font-weight: 600; }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .segbar-seg, .wd-shell .columns-fill { transition: none; }\n}\n";
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart styles.
|
|
3
|
+
*
|
|
4
|
+
* Kept beside `charts.tsx` rather than in the page sheet so a chart's geometry
|
|
5
|
+
* and its paint rules stay one unit: the primitives read CSS custom properties
|
|
6
|
+
* for colour and set `flex-grow` / `width` inline for magnitude, so there is
|
|
7
|
+
* exactly one place per figure where size is decided.
|
|
8
|
+
*
|
|
9
|
+
* Every tone maps onto the shared `--wd-*` palette. Nothing here introduces a
|
|
10
|
+
* new semantic colour; a chart may only use primary / green / amber / red /
|
|
11
|
+
* slate and their soft variants, which is what keeps charts and badges
|
|
12
|
+
* speaking the same language.
|
|
13
|
+
*/
|
|
14
|
+
export const CHARTS_CSS = `
|
|
15
|
+
/* ---------- shared chart chrome ---------- */
|
|
16
|
+
.wd-shell .chart-sr {
|
|
17
|
+
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
18
|
+
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
|
|
19
|
+
}
|
|
20
|
+
.wd-shell .chart-empty {
|
|
21
|
+
display: flex; align-items: center; justify-content: center;
|
|
22
|
+
min-height: 44px; border-radius: 8px;
|
|
23
|
+
border: 1px dashed var(--wd-hairline);
|
|
24
|
+
color: var(--dsw-alias-label-tertiary); font-size: 11.5px;
|
|
25
|
+
}
|
|
26
|
+
.wd-shell .chart-block { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
|
|
27
|
+
.wd-shell .chart-block-head { display: flex; align-items: baseline; gap: 8px; }
|
|
28
|
+
.wd-shell .chart-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }
|
|
29
|
+
.wd-shell .chart-block-note { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
30
|
+
|
|
31
|
+
/* ---------- stacked segment bar ---------- */
|
|
32
|
+
.wd-shell .segbar { display: flex; flex-direction: column; gap: 6px; }
|
|
33
|
+
.wd-shell .segbar-track {
|
|
34
|
+
display: flex; width: 100%; height: 26px; overflow: hidden;
|
|
35
|
+
border-radius: 7px; border: 1px solid var(--wd-hairline);
|
|
36
|
+
background: var(--wd-inset);
|
|
37
|
+
}
|
|
38
|
+
.wd-shell .segbar-seg {
|
|
39
|
+
display: flex; align-items: center; justify-content: center; gap: 5px;
|
|
40
|
+
min-width: 3px; padding: 0 6px; overflow: hidden;
|
|
41
|
+
font-size: 10.5px; font-weight: 600; white-space: nowrap;
|
|
42
|
+
color: var(--dsw-alias-label-primary);
|
|
43
|
+
background: var(--wd-slate-soft);
|
|
44
|
+
border: 0; border-right: 1px solid rgba(255, 255, 255, .35);
|
|
45
|
+
transition: filter .12s ease;
|
|
46
|
+
}
|
|
47
|
+
.wd-shell .segbar-seg:last-child { border-right: 0; }
|
|
48
|
+
.wd-shell .segbar-seg[data-tone="blue"] { background: var(--wd-primary-soft); color: var(--wd-primary-deep); }
|
|
49
|
+
.wd-shell .segbar-seg[data-tone="green"] { background: var(--wd-green-soft); color: var(--wd-green); }
|
|
50
|
+
.wd-shell .segbar-seg[data-tone="amber"] { background: var(--wd-amber-soft); color: var(--wd-amber); }
|
|
51
|
+
.wd-shell .segbar-seg[data-tone="red"] { background: var(--wd-red-soft); color: var(--wd-red); }
|
|
52
|
+
.wd-shell .segbar-button { cursor: pointer; font-family: inherit; }
|
|
53
|
+
.wd-shell .segbar-button:hover { filter: brightness(.96); }
|
|
54
|
+
.wd-shell .segbar-seg[data-active="true"] { box-shadow: inset 0 0 0 2px var(--wd-primary); }
|
|
55
|
+
.wd-shell .segbar-label { overflow: hidden; text-overflow: ellipsis; }
|
|
56
|
+
.wd-shell .segbar-value { font-variant-numeric: tabular-nums; font-weight: 650; }
|
|
57
|
+
|
|
58
|
+
/* ---------- vertical columns ---------- */
|
|
59
|
+
.wd-shell .columns { display: flex; align-items: flex-end; gap: 7px; }
|
|
60
|
+
.wd-shell .columns-cell {
|
|
61
|
+
flex: 1 1 0; min-width: 0;
|
|
62
|
+
display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px;
|
|
63
|
+
padding: 0; border: 0; background: transparent; font-family: inherit;
|
|
64
|
+
cursor: default;
|
|
65
|
+
}
|
|
66
|
+
.wd-shell .columns-cell[data-empty="true"] { opacity: .42; }
|
|
67
|
+
.wd-shell .columns-cell[data-active="true"] .columns-fill { box-shadow: 0 0 0 2px var(--wd-primary-ring); }
|
|
68
|
+
.wd-shell .columns-value { font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }
|
|
69
|
+
.wd-shell .columns-fill {
|
|
70
|
+
width: 100%; max-width: 40px; border-radius: 5px 5px 2px 2px;
|
|
71
|
+
background: var(--wd-slate-soft); min-height: 3px;
|
|
72
|
+
transition: filter .12s ease;
|
|
73
|
+
}
|
|
74
|
+
.wd-shell .columns-fill[data-tone="blue"] { background: var(--wd-primary); opacity: .82; }
|
|
75
|
+
.wd-shell .columns-fill[data-tone="green"] { background: var(--wd-green); opacity: .82; }
|
|
76
|
+
.wd-shell .columns-fill[data-tone="amber"] { background: var(--wd-amber); opacity: .82; }
|
|
77
|
+
.wd-shell .columns-fill[data-tone="red"] { background: var(--wd-red); opacity: .82; }
|
|
78
|
+
.wd-shell .columns-fill[data-tone="slate"] { background: var(--wd-slate); opacity: .55; }
|
|
79
|
+
.wd-shell .columns-label { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); white-space: nowrap; }
|
|
80
|
+
|
|
81
|
+
/* ---------- donut ---------- */
|
|
82
|
+
.wd-shell .donut { display: flex; align-items: center; gap: 14px; }
|
|
83
|
+
.wd-shell .donut-figure { position: relative; flex: none; width: 84px; height: 84px; }
|
|
84
|
+
.wd-shell .donut-svg { width: 84px; height: 84px; display: block; }
|
|
85
|
+
.wd-shell .donut-ring { fill: none; stroke: var(--wd-hairline); stroke-width: 11; }
|
|
86
|
+
.wd-shell .donut-slice { fill: none; stroke-width: 11; stroke-linecap: butt; }
|
|
87
|
+
.wd-shell .donut-slice[data-tone="blue"] { stroke: var(--wd-primary); }
|
|
88
|
+
.wd-shell .donut-slice[data-tone="green"] { stroke: var(--wd-green); }
|
|
89
|
+
.wd-shell .donut-slice[data-tone="amber"] { stroke: var(--wd-amber); }
|
|
90
|
+
.wd-shell .donut-slice[data-tone="red"] { stroke: var(--wd-red); }
|
|
91
|
+
.wd-shell .donut-slice[data-tone="slate"] { stroke: var(--wd-slate); }
|
|
92
|
+
.wd-shell .donut-center {
|
|
93
|
+
position: absolute; inset: 0; display: flex; flex-direction: column;
|
|
94
|
+
align-items: center; justify-content: center; gap: 1px; pointer-events: none;
|
|
95
|
+
}
|
|
96
|
+
.wd-shell .donut-center-value { font-size: 16px; line-height: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
97
|
+
.wd-shell .donut-center-label { font-size: 9.5px; line-height: 13px; color: var(--dsw-alias-label-tertiary); }
|
|
98
|
+
.wd-shell .donut-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
|
|
99
|
+
.wd-shell .donut-legend-row {
|
|
100
|
+
display: flex; align-items: center; gap: 7px; width: 100%;
|
|
101
|
+
padding: 2px 5px; border: 0; border-radius: 6px; background: transparent;
|
|
102
|
+
font-family: inherit; font-size: 11px; color: var(--dsw-alias-label-secondary);
|
|
103
|
+
text-align: left; cursor: default;
|
|
104
|
+
}
|
|
105
|
+
.wd-shell .donut-legend-button { cursor: pointer; }
|
|
106
|
+
.wd-shell .donut-legend-button:hover { background: var(--wd-inset); }
|
|
107
|
+
.wd-shell .donut-legend-row[data-active="true"] { background: var(--wd-primary-soft); color: var(--wd-primary-deep); }
|
|
108
|
+
.wd-shell .donut-dot { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--wd-slate); }
|
|
109
|
+
.wd-shell .donut-dot[data-tone="blue"] { background: var(--wd-primary); }
|
|
110
|
+
.wd-shell .donut-dot[data-tone="green"] { background: var(--wd-green); }
|
|
111
|
+
.wd-shell .donut-dot[data-tone="amber"] { background: var(--wd-amber); }
|
|
112
|
+
.wd-shell .donut-dot[data-tone="red"] { background: var(--wd-red); }
|
|
113
|
+
.wd-shell .donut-legend-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
114
|
+
.wd-shell .donut-legend-value { flex: none; font-variant-numeric: tabular-nums; font-weight: 650; }
|
|
115
|
+
|
|
116
|
+
/* ---------- horizontal bar list ---------- */
|
|
117
|
+
.wd-shell .barlist { display: flex; flex-direction: column; gap: 2px; }
|
|
118
|
+
.wd-shell .barlist-row {
|
|
119
|
+
display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(40px, 1fr) 46px;
|
|
120
|
+
align-items: center; gap: 9px; width: 100%;
|
|
121
|
+
padding: 4px 6px; border: 0; border-radius: 6px; background: transparent;
|
|
122
|
+
font-family: inherit; text-align: left; cursor: default;
|
|
123
|
+
}
|
|
124
|
+
.wd-shell .barlist-button { cursor: pointer; }
|
|
125
|
+
.wd-shell .barlist-button:hover { background: var(--wd-inset); }
|
|
126
|
+
.wd-shell .barlist-row[data-active="true"] { background: var(--wd-primary-soft); }
|
|
127
|
+
.wd-shell .barlist-text { display: flex; flex-direction: column; min-width: 0; }
|
|
128
|
+
.wd-shell .barlist-label { font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
129
|
+
.wd-shell .barlist-note { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
130
|
+
.wd-shell .barlist-track { height: 7px; border-radius: 4px; background: var(--wd-inset); overflow: hidden; }
|
|
131
|
+
.wd-shell .barlist-fill { display: block; height: 100%; border-radius: 4px; background: var(--wd-slate); opacity: .7; }
|
|
132
|
+
.wd-shell .barlist-fill[data-tone="blue"] { background: var(--wd-primary); opacity: .9; }
|
|
133
|
+
.wd-shell .barlist-fill[data-tone="green"] { background: var(--wd-green); opacity: .9; }
|
|
134
|
+
.wd-shell .barlist-fill[data-tone="amber"] { background: var(--wd-amber); opacity: .9; }
|
|
135
|
+
.wd-shell .barlist-fill[data-tone="red"] { background: var(--wd-red); opacity: .9; }
|
|
136
|
+
.wd-shell .barlist-value { font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; color: var(--dsw-alias-label-secondary); }
|
|
137
|
+
|
|
138
|
+
/* ---------- radial meter ---------- */
|
|
139
|
+
.wd-shell .radial { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
|
|
140
|
+
.wd-shell .radial-figure { position: relative; width: 58px; height: 58px; }
|
|
141
|
+
.wd-shell .radial-figure svg { width: 58px; height: 58px; display: block; }
|
|
142
|
+
.wd-shell .radial-track { fill: none; stroke: var(--wd-hairline); stroke-width: 6; }
|
|
143
|
+
.wd-shell .radial-fill { fill: none; stroke-width: 6; stroke-linecap: round; }
|
|
144
|
+
.wd-shell .radial-fill[data-tone="blue"] { stroke: var(--wd-primary); }
|
|
145
|
+
.wd-shell .radial-fill[data-tone="green"] { stroke: var(--wd-green); }
|
|
146
|
+
.wd-shell .radial-fill[data-tone="amber"] { stroke: var(--wd-amber); }
|
|
147
|
+
.wd-shell .radial-fill[data-tone="red"] { stroke: var(--wd-red); }
|
|
148
|
+
.wd-shell .radial-fill[data-tone="slate"] { stroke: var(--wd-slate); }
|
|
149
|
+
.wd-shell .radial-value {
|
|
150
|
+
position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
|
|
151
|
+
font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
|
|
152
|
+
}
|
|
153
|
+
.wd-shell .radial-label { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); white-space: nowrap; }
|
|
154
|
+
.wd-shell .radial-note { font-size: 9.5px; line-height: 13px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
155
|
+
|
|
156
|
+
/* ---------- spark bars ---------- */
|
|
157
|
+
.wd-shell .spark { display: flex; align-items: flex-end; gap: 3px; height: 46px; }
|
|
158
|
+
.wd-shell .spark-cell { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; height: 100%; }
|
|
159
|
+
.wd-shell .spark-bar { width: 100%; max-width: 16px; border-radius: 3px 3px 1px 1px; background: var(--wd-primary); opacity: .78; min-height: 3px; }
|
|
160
|
+
.wd-shell .spark-bar[data-empty="true"] { background: var(--wd-hairline); opacity: 1; }
|
|
161
|
+
.wd-shell .spark-month { font-size: 9px; line-height: 12px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
162
|
+
|
|
163
|
+
/* ---------- mini stage rail ---------- */
|
|
164
|
+
.wd-shell .rail-mini { display: flex; align-items: center; gap: 3px; }
|
|
165
|
+
.wd-shell .rail-mini-tick { width: 100%; max-width: 18px; height: 4px; border-radius: 2px; background: var(--wd-hairline); }
|
|
166
|
+
.wd-shell .rail-mini-tick[data-done="true"] { background: var(--wd-green); }
|
|
167
|
+
.wd-shell .rail-mini-tick[data-current="true"] { background: var(--wd-primary); box-shadow: 0 0 0 2px var(--wd-primary-ring); }
|
|
168
|
+
|
|
169
|
+
/* ---------- inline meter ---------- */
|
|
170
|
+
.wd-shell .inline-meter { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--wd-hairline); overflow: hidden; }
|
|
171
|
+
.wd-shell .inline-meter-fill { display: block; height: 100%; border-radius: 2px; background: var(--wd-primary); }
|
|
172
|
+
.wd-shell .inline-meter-fill[data-tone="green"] { background: var(--wd-green); }
|
|
173
|
+
.wd-shell .inline-meter-fill[data-tone="amber"] { background: var(--wd-amber); }
|
|
174
|
+
.wd-shell .inline-meter-fill[data-tone="red"] { background: var(--wd-red); }
|
|
175
|
+
.wd-shell .inline-meter-fill[data-tone="slate"] { background: var(--wd-slate); }
|
|
176
|
+
|
|
177
|
+
/* ---------- legend ---------- */
|
|
178
|
+
.wd-shell .legend { display: flex; flex-wrap: wrap; gap: 4px 12px; }
|
|
179
|
+
.wd-shell .legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); }
|
|
180
|
+
.wd-shell .legend-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--wd-slate); }
|
|
181
|
+
.wd-shell .legend-dot[data-tone="blue"] { background: var(--wd-primary); }
|
|
182
|
+
.wd-shell .legend-dot[data-tone="green"] { background: var(--wd-green); }
|
|
183
|
+
.wd-shell .legend-dot[data-tone="amber"] { background: var(--wd-amber); }
|
|
184
|
+
.wd-shell .legend-dot[data-tone="red"] { background: var(--wd-red); }
|
|
185
|
+
.wd-shell .legend-label { color: var(--dsw-alias-label-secondary); }
|
|
186
|
+
.wd-shell .legend-value { font-variant-numeric: tabular-nums; font-weight: 600; }
|
|
187
|
+
|
|
188
|
+
@media (prefers-reduced-motion: reduce) {
|
|
189
|
+
.wd-shell .segbar-seg, .wd-shell .columns-fill { transition: none; }
|
|
190
|
+
}
|
|
191
|
+
`;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Detail styles: the sticky rail and the layered reading pane.
|
|
3
|
+
*
|
|
4
|
+
* The layout is the design. Two panes with different scroll behaviour is what
|
|
5
|
+
* turns thirteen stacked field rows into a document you can read:
|
|
6
|
+
*
|
|
7
|
+
* - the **rail** is `position: sticky` inside the page's own scroll container,
|
|
8
|
+
* so the project's identity stays in view while the evidence scrolls past it;
|
|
9
|
+
* - the **pane** is a single column with one section rhythm, so the reading order
|
|
10
|
+
* is the model's order: progress → dimensions → G0 → plan → outcome.
|
|
11
|
+
*
|
|
12
|
+
* Each section then picks its own shape, and the shapes are what carry meaning:
|
|
13
|
+
* a stream (history), four cards (the invariant), a five-cell meter
|
|
14
|
+
* (completeness), a table (criteria), a numbered list (scenarios), severity rows
|
|
15
|
+
* (risks), and a callout (the next milestone — the one thing the ledger most
|
|
16
|
+
* often forgets).
|
|
17
|
+
*
|
|
18
|
+
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.dim-card`, `.g0-`,
|
|
19
|
+
* `.plan-`, `.out-`.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DETAIL_CSS = "\n/* ---------- two-pane layout ---------- */\n.wd-shell .dt-page {\n display: grid;\n grid-template-columns: 316px minmax(0, 1fr);\n align-items: start;\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }\n\n.wd-shell .dt-rail {\n position: sticky; top: 0;\n align-self: start;\n display: flex; flex-direction: column; gap: 14px;\n padding: 18px 18px 22px;\n background: var(--wd-surface);\n border-right: 1px solid var(--wd-hairline);\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }\n.wd-shell .dt-pane {\n display: flex; flex-direction: column; gap: 22px;\n padding: 20px 28px 44px;\n min-width: 0;\n}\n\n/* ---------- rail ---------- */\n.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }\n.wd-shell .dt-rail-back { margin-bottom: 4px; }\n.wd-shell .dt-rail-title {\n margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;\n letter-spacing: -.01em; overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-id { display: block; }\n.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }\n.wd-shell .dt-rail-amount {\n display: flex; flex-direction: column; gap: 1px;\n padding: 10px 12px; border-radius: 9px;\n background: var(--wd-amber-soft); border: 1px solid transparent;\n}\n.wd-shell .dt-rail-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-rail-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-rail-amount-value[data-empty=\"true\"] {\n font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .dt-rail-block-title {\n margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;\n text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* vertical stage track */\n.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }\n.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }\n.wd-shell .dt-stage:not(:last-child)::after {\n content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;\n width: 1px; background: var(--wd-hairline);\n}\n.wd-shell .dt-stage[data-done=\"true\"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }\n.wd-shell .dt-stage-marker {\n position: relative; z-index: 1; flex: none;\n width: 19px; height: 19px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n font-size: 9px; font-weight: 650;\n border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage[data-done=\"true\"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-marker {\n border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;\n box-shadow: 0 0 0 3px var(--wd-primary-soft);\n}\n.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }\n.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-label { color: var(--wd-primary); }\n.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-state { color: var(--wd-primary); }\n\n/* rail dimension summary: four compact marks, never merged into one score.\n The full cards with their origin tags live in the reading pane; the rail only\n needs to say \"which of the four exist\", because the rail is scanned, not read. */\n.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }\n.wd-shell .dim-mini {\n display: flex; align-items: center; gap: 5px; min-width: 0;\n padding: 4px 7px; border-radius: 6px;\n background: var(--wd-red-soft);\n}\n.wd-shell .dim-mini[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .dim-mini[data-present=\"true\"] .dim-mini-mark { color: var(--wd-green); }\n.wd-shell .dim-mini-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .dim-card {\n display: flex; flex-direction: column; gap: 1px; min-width: 0;\n padding: 7px 8px; border-radius: 8px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n}\n.wd-shell .dim-card[data-present=\"true\"] { border-color: transparent; background: var(--wd-green-soft); }\n.wd-shell .dim-card[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }\n.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }\n.wd-shell .dim-card[data-present=\"true\"] .dim-card-mark { color: var(--wd-green); }\n.wd-shell .dim-card[data-present=\"false\"] .dim-card-mark { color: var(--wd-red); }\n.wd-shell .dim-card-value {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .dim-card-origin {\n margin-top: 1px; font-size: 8.5px; line-height: 12px;\n color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;\n}\n.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }\n\n/* rail gaps */\n.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }\n.wd-shell .dt-rail-gap-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9px; line-height: 14px; font-weight: 650;\n padding: 0 4px; border-radius: 3px;\n}\n.wd-shell .dt-rail-gap[data-level=\"high\"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .dt-rail-gap[data-level=\"medium\"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* rail meta */\n.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-rail-meta-value {\n flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-meta-value[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* rail navigation */\n.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }\n.wd-shell .dt-rail-position { flex: 1 1 auto; text-align: center; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- section frame ---------- */\n.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .dsec-blank {\n padding: 14px; border-radius: 9px;\n border: 1px dashed var(--wd-hairline);\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n text-align: center;\n}\n.wd-shell .dsec-empty {\n display: flex; flex-direction: column; align-items: center; gap: 5px;\n padding: 30px 20px; border-radius: 10px;\n border: 1px dashed var(--wd-hairline);\n text-align: center;\n}\n.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }\n.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- prose blocks ---------- */\n.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .dt-prose-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-prose[data-empty=\"true\"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- basic information ---------- */\n.wd-shell .dt-basic-grid {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 7px 18px; margin: 0 0 12px;\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-basic-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }\n.wd-shell .dt-basic-label {\n flex: none; width: 108px;\n font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-basic-value {\n margin: 0; font-size: 12px; line-height: 17px; font-weight: 500;\n color: var(--wd-text); overflow-wrap: anywhere;\n}\n.wd-shell .dt-basic-row[data-empty=\"true\"] .dt-basic-value {\n font-weight: 400; color: var(--dsw-alias-label-tertiary); font-style: italic;\n}\n.wd-shell .dt-basic-decisions {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px; padding-top: 11px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-decisions { grid-template-columns: minmax(0, 1fr); } }\n\n/* ---------- progress stream ---------- */\n.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }\n.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }\n.wd-shell .prog-item:last-child { padding-bottom: 0; }\n.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }\n.wd-shell .prog-node {\n position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;\n background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);\n}\n.wd-shell .prog-node[data-tone=\"green\"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }\n.wd-shell .prog-node[data-tone=\"amber\"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }\n.wd-shell .prog-node[data-tone=\"red\"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }\n.wd-shell .prog-item:not(:last-child) .prog-gutter::after {\n content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;\n background: var(--wd-hairline);\n}\n.wd-shell .prog-card {\n display: flex; flex-direction: column; gap: 8px;\n padding: 12px 14px 11px; min-width: 0;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .prog-item[data-latest=\"true\"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }\n.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .prog-type { font-size: 10.5px; line-height: 16px; padding: 0 7px; border-radius: 20px; background: var(--wd-inset); border: 1px solid var(--wd-hairline); color: var(--dsw-alias-label-secondary); }\n.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }\n.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }\n.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n\n.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-pair-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .prog-actual .prog-pair-value { font-size: 12.5px; line-height: 19px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .prog-scope-label, .wd-shell .prog-block-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }\n.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }\n.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }\n.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }\n.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }\n.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }\n.wd-shell .prog-next {\n display: flex; flex-direction: column; gap: 3px;\n padding: 7px 10px; border-radius: 8px;\n border-left: 3px solid var(--wd-primary);\n background: var(--wd-primary-soft);\n}\n.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }\n.wd-shell .prog-next-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-primary);\n}\n.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }\n\n/* ---------- dimension grid (detail) ---------- */\n.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }\n@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .dim-grid-detail .dim-card {\n padding: 11px 12px; border-radius: 10px; gap: 3px;\n border-left: 3px solid var(--wd-red);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .dim-grid-detail .dim-card[data-present=\"true\"] { border-left-color: var(--wd-green); }\n.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }\n.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }\n.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }\n.wd-shell .dim-grid-detail .dim-card-origin {\n display: inline-flex; align-self: flex-start; margin-top: 2px;\n padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- G0 meter ---------- */\n.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }\n@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .g0-cell {\n display: flex; flex-direction: column; align-items: center; gap: 2px;\n padding: 8px 6px; border-radius: 8px; min-width: 0;\n background: var(--wd-red-soft); border: 1px solid transparent;\n}\n.wd-shell .g0-cell[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .g0-cell[data-present=\"true\"] .g0-cell-mark { color: var(--wd-green); }\n.wd-shell .g0-cell-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n text-align: center; overflow-wrap: anywhere;\n}\n.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .g0-field {\n display: flex; flex-direction: column; gap: 2px;\n padding: 9px 11px; border-radius: 9px;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n}\n.wd-shell .g0-field[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .g0-field-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-field[data-prose=\"true\"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }\n.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-review[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- plan ---------- */\n.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .plan-strip {\n display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\n padding: 9px 12px; border-radius: 9px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }\n.wd-shell .plan-strip-label { font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600; }\n.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-criteria {\n width: 100%; border-collapse: collapse;\n border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;\n background: var(--wd-surface);\n}\n.wd-shell .plan-criteria th {\n padding: 7px 10px; text-align: left;\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--dsw-alias-label-tertiary);\n background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-criteria td {\n padding: 8px 10px; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);\n vertical-align: top;\n}\n.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }\n.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .plan-scenario { display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset); }\n.wd-shell .plan-scenario-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9.5px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .plan-scenario-text { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .plan-risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }\n.wd-shell .plan-risk { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--wd-inset); }\n.wd-shell .plan-risk-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--wd-slate); }\n.wd-shell .plan-risk[data-tone=\"red\"] .plan-risk-dot { background: var(--wd-red); }\n.wd-shell .plan-risk[data-tone=\"amber\"] .plan-risk-dot { background: var(--wd-amber); }\n.wd-shell .plan-risk[data-tone=\"green\"] .plan-risk-dot { background: var(--wd-green); }\n.wd-shell .plan-risk-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }\n.wd-shell .plan-risk-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-risk-level { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* ---------- outcome ---------- */\n.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .out-milestone {\n display: flex; flex-direction: column; gap: 4px;\n padding: 12px 14px; border-radius: 10px;\n border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);\n}\n.wd-shell .out-milestone[data-present=\"true\"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }\n.wd-shell .out-milestone-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-red);\n}\n.wd-shell .out-milestone[data-present=\"true\"] .out-milestone-label { color: var(--wd-green); }\n.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }\n.wd-shell .out-meta {\n display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;\n padding-top: 10px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .dim-card, .wd-shell .prog-card { transition: none; }\n}\n";
|