@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,660 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles for the two aggregation surfaces.
|
|
3
|
+
*
|
|
4
|
+
* Two ideas drive this sheet:
|
|
5
|
+
*
|
|
6
|
+
* 1. **Aggregation is shown by containment, not by a heading.** A severity
|
|
7
|
+
* lane is a container with a colour rail down its left edge, so the lane's
|
|
8
|
+
* severity is legible from the shape of the block before any text is read.
|
|
9
|
+
* The lane header repeats the count and a share meter so the four lanes
|
|
10
|
+
* compare against each other at a glance, while the rows below stay
|
|
11
|
+
* individually scannable.
|
|
12
|
+
* 2. **A stream is read down a spine.** The timeline cards hang off a
|
|
13
|
+
* continuous vertical line with one node per entry, tinted by recognition
|
|
14
|
+
* state. Month dividers break the spine with a rule, which is what makes
|
|
15
|
+
* "nothing happened in September" visible without counting cards.
|
|
16
|
+
*
|
|
17
|
+
* Both surfaces are inside `.wd-shell`, so every rule is scoped there and
|
|
18
|
+
* nothing leaks into product DOM. Colour comes only from the shared `--wd-*`
|
|
19
|
+
* palette and the `--dsw-alias-*` theme tokens: a lane is red/amber/green/slate
|
|
20
|
+
* and nothing else, so the board can never introduce a sixth severity colour.
|
|
21
|
+
*
|
|
22
|
+
* Class prefixes: `.risk-*` for the board, `.tl-*` for the timeline. The
|
|
23
|
+
* timeline also reuses the shared `.status-pill` for the recognition badge, and
|
|
24
|
+
* the board reuses `.status-pill` for level pills — those are the shell's
|
|
25
|
+
* primitives, so this sheet only adds layout around them.
|
|
26
|
+
*/
|
|
27
|
+
export const INSIGHTS_CSS = `
|
|
28
|
+
/* =========================================================================
|
|
29
|
+
Risk board — severity lanes
|
|
30
|
+
========================================================================= */
|
|
31
|
+
|
|
32
|
+
.wd-shell .risk-board {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 18px;
|
|
36
|
+
padding: 18px 20px 24px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* ---------- page header (this surface owns it; the shell does not) ---------- */
|
|
40
|
+
.wd-shell .risk-head,
|
|
41
|
+
.wd-shell .tl-head {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
gap: 16px;
|
|
45
|
+
min-width: 0;
|
|
46
|
+
}
|
|
47
|
+
.wd-shell .risk-head-text,
|
|
48
|
+
.wd-shell .tl-head-text {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: 2px;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
flex: 1 1 auto;
|
|
54
|
+
}
|
|
55
|
+
.wd-shell .risk-head-title,
|
|
56
|
+
.wd-shell .tl-head-title {
|
|
57
|
+
margin: 0;
|
|
58
|
+
font-size: 17px;
|
|
59
|
+
line-height: 24px;
|
|
60
|
+
font-weight: 650;
|
|
61
|
+
letter-spacing: -.01em;
|
|
62
|
+
color: var(--dsw-alias-label-primary);
|
|
63
|
+
}
|
|
64
|
+
.wd-shell .risk-head-subtitle,
|
|
65
|
+
.wd-shell .tl-head-subtitle {
|
|
66
|
+
margin: 0;
|
|
67
|
+
font-size: 11.5px;
|
|
68
|
+
line-height: 17px;
|
|
69
|
+
color: var(--dsw-alias-label-secondary);
|
|
70
|
+
}
|
|
71
|
+
.wd-shell .risk-back,
|
|
72
|
+
.wd-shell .tl-back {
|
|
73
|
+
flex: none;
|
|
74
|
+
height: 28px;
|
|
75
|
+
padding: 0 12px;
|
|
76
|
+
border-radius: 7px;
|
|
77
|
+
border: 1px solid var(--wd-border);
|
|
78
|
+
background: var(--wd-surface);
|
|
79
|
+
color: var(--dsw-alias-label-secondary);
|
|
80
|
+
font-family: inherit;
|
|
81
|
+
font-size: 11.5px;
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
transition: background .12s ease, border-color .12s ease, color .12s ease;
|
|
84
|
+
}
|
|
85
|
+
.wd-shell .risk-back:hover,
|
|
86
|
+
.wd-shell .tl-back:hover {
|
|
87
|
+
background: var(--wd-inset);
|
|
88
|
+
border-color: var(--wd-primary-ring);
|
|
89
|
+
color: var(--wd-primary);
|
|
90
|
+
}
|
|
91
|
+
.wd-shell .risk-back:focus-visible,
|
|
92
|
+
.wd-shell .tl-back:focus-visible {
|
|
93
|
+
outline: 2px solid var(--wd-primary);
|
|
94
|
+
outline-offset: 1px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* ---------- severity distribution figure ---------- */
|
|
98
|
+
.wd-shell .risk-figure,
|
|
99
|
+
.wd-shell .risk-projects {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
gap: 8px;
|
|
103
|
+
padding: 13px 15px 14px;
|
|
104
|
+
border-radius: 11px;
|
|
105
|
+
background: var(--wd-surface);
|
|
106
|
+
border: 1px solid var(--wd-hairline);
|
|
107
|
+
box-shadow: var(--wd-shadow-1);
|
|
108
|
+
}
|
|
109
|
+
.wd-shell .risk-figure-head {
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: baseline;
|
|
112
|
+
gap: 9px;
|
|
113
|
+
min-width: 0;
|
|
114
|
+
}
|
|
115
|
+
.wd-shell .risk-figure-title {
|
|
116
|
+
margin: 0;
|
|
117
|
+
font-size: 11.5px;
|
|
118
|
+
line-height: 16px;
|
|
119
|
+
font-weight: 650;
|
|
120
|
+
letter-spacing: .01em;
|
|
121
|
+
color: var(--dsw-alias-label-primary);
|
|
122
|
+
}
|
|
123
|
+
.wd-shell .risk-figure-note {
|
|
124
|
+
margin-left: auto;
|
|
125
|
+
font-size: 10.5px;
|
|
126
|
+
line-height: 15px;
|
|
127
|
+
color: var(--dsw-alias-label-tertiary);
|
|
128
|
+
font-variant-numeric: tabular-nums;
|
|
129
|
+
text-align: right;
|
|
130
|
+
}
|
|
131
|
+
.wd-shell .risk-caption {
|
|
132
|
+
margin: 0;
|
|
133
|
+
font-size: 10.5px;
|
|
134
|
+
line-height: 15px;
|
|
135
|
+
color: var(--dsw-alias-label-tertiary);
|
|
136
|
+
font-variant-numeric: tabular-nums;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* ---------- lane stack ---------- */
|
|
140
|
+
.wd-shell .risk-lanes {
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
gap: 10px;
|
|
144
|
+
}
|
|
145
|
+
.wd-shell .risk-lane {
|
|
146
|
+
position: relative;
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
border-radius: 10px;
|
|
150
|
+
background: var(--wd-surface);
|
|
151
|
+
border: 1px solid var(--wd-hairline);
|
|
152
|
+
box-shadow: var(--wd-shadow-1);
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
/* The rail: severity as the left edge of the whole lane, not as a badge. */
|
|
155
|
+
border-left-width: 3px;
|
|
156
|
+
border-left-style: solid;
|
|
157
|
+
border-left-color: var(--wd-slate);
|
|
158
|
+
}
|
|
159
|
+
.wd-shell .risk-lane[data-level="high"] { border-left-color: var(--wd-red); }
|
|
160
|
+
.wd-shell .risk-lane[data-level="medium"] { border-left-color: var(--wd-amber); }
|
|
161
|
+
.wd-shell .risk-lane[data-level="low"] { border-left-color: var(--wd-green); }
|
|
162
|
+
.wd-shell .risk-lane[data-level="unset"] { border-left-color: var(--wd-slate); }
|
|
163
|
+
|
|
164
|
+
.wd-shell .risk-lane-head {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
gap: 9px;
|
|
168
|
+
padding: 8px 12px 7px;
|
|
169
|
+
background: var(--wd-inset);
|
|
170
|
+
border-bottom: 1px solid var(--wd-hairline);
|
|
171
|
+
}
|
|
172
|
+
.wd-shell .risk-lane-count {
|
|
173
|
+
font-size: 12px;
|
|
174
|
+
line-height: 16px;
|
|
175
|
+
font-weight: 700;
|
|
176
|
+
font-variant-numeric: tabular-nums;
|
|
177
|
+
color: var(--dsw-alias-label-primary);
|
|
178
|
+
}
|
|
179
|
+
.wd-shell .risk-lane[data-level="high"] .risk-lane-count { color: var(--wd-red); }
|
|
180
|
+
.wd-shell .risk-lane[data-level="medium"] .risk-lane-count { color: var(--wd-amber); }
|
|
181
|
+
.wd-shell .risk-lane[data-level="low"] .risk-lane-count { color: var(--wd-green); }
|
|
182
|
+
.wd-shell .risk-lane[data-level="unset"] .risk-lane-count { color: var(--wd-slate); }
|
|
183
|
+
/* The share meter compares lanes; it is deliberately thin and unfilled-chrome. */
|
|
184
|
+
.wd-shell .risk-lane-meter {
|
|
185
|
+
flex: 1 1 auto;
|
|
186
|
+
min-width: 40px;
|
|
187
|
+
max-width: 180px;
|
|
188
|
+
display: block;
|
|
189
|
+
}
|
|
190
|
+
.wd-shell .risk-lane-share {
|
|
191
|
+
margin-left: auto;
|
|
192
|
+
font-size: 10px;
|
|
193
|
+
line-height: 14px;
|
|
194
|
+
color: var(--dsw-alias-label-tertiary);
|
|
195
|
+
font-variant-numeric: tabular-nums;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* ---------- rows ---------- */
|
|
199
|
+
.wd-shell .risk-rows {
|
|
200
|
+
list-style: none;
|
|
201
|
+
margin: 0;
|
|
202
|
+
padding: 0;
|
|
203
|
+
}
|
|
204
|
+
.wd-shell .risk-row-item + .risk-row-item { border-top: 1px solid var(--wd-hairline); }
|
|
205
|
+
.wd-shell .risk-row {
|
|
206
|
+
position: relative;
|
|
207
|
+
display: grid;
|
|
208
|
+
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
|
|
209
|
+
gap: 14px;
|
|
210
|
+
align-items: start;
|
|
211
|
+
padding: 10px 13px 10px 12px;
|
|
212
|
+
color: inherit;
|
|
213
|
+
/* A severity tint on the row's own left edge, one step quieter than the rail. */
|
|
214
|
+
box-shadow: inset 3px 0 0 var(--wd-slate-soft);
|
|
215
|
+
transition: background .12s ease;
|
|
216
|
+
}
|
|
217
|
+
.wd-shell .risk-row[data-level="high"] { box-shadow: inset 3px 0 0 var(--wd-red-soft); }
|
|
218
|
+
.wd-shell .risk-row[data-level="medium"] { box-shadow: inset 3px 0 0 var(--wd-amber-soft); }
|
|
219
|
+
.wd-shell .risk-row[data-level="low"] { box-shadow: inset 3px 0 0 var(--wd-green-soft); }
|
|
220
|
+
.wd-shell .risk-row:hover { background: var(--wd-inset); }
|
|
221
|
+
/* The row itself is not focusable; the stretched project button is. Ring the
|
|
222
|
+
row so the keyboard user sees which whole row is about to open. */
|
|
223
|
+
.wd-shell .risk-row:focus-within {
|
|
224
|
+
background: var(--wd-inset);
|
|
225
|
+
box-shadow: inset 3px 0 0 var(--wd-primary), inset 0 0 0 1px var(--wd-primary-ring);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.wd-shell .risk-row-main {
|
|
229
|
+
display: flex;
|
|
230
|
+
flex-direction: column;
|
|
231
|
+
gap: 3px;
|
|
232
|
+
min-width: 0;
|
|
233
|
+
}
|
|
234
|
+
.wd-shell .risk-name {
|
|
235
|
+
font-size: 12.5px;
|
|
236
|
+
line-height: 18px;
|
|
237
|
+
font-weight: 650;
|
|
238
|
+
color: var(--dsw-alias-label-primary);
|
|
239
|
+
overflow-wrap: anywhere;
|
|
240
|
+
}
|
|
241
|
+
.wd-shell .risk-mitigation {
|
|
242
|
+
display: flex;
|
|
243
|
+
flex-wrap: wrap;
|
|
244
|
+
gap: 5px;
|
|
245
|
+
font-size: 11px;
|
|
246
|
+
line-height: 16px;
|
|
247
|
+
color: var(--dsw-alias-label-secondary);
|
|
248
|
+
overflow-wrap: anywhere;
|
|
249
|
+
}
|
|
250
|
+
.wd-shell .risk-mitigation-label {
|
|
251
|
+
flex: none;
|
|
252
|
+
font-size: 10px;
|
|
253
|
+
line-height: 15px;
|
|
254
|
+
padding: 0 5px;
|
|
255
|
+
border-radius: 4px;
|
|
256
|
+
background: var(--wd-slate-soft);
|
|
257
|
+
color: var(--dsw-alias-label-tertiary);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.wd-shell .risk-row-side {
|
|
261
|
+
display: flex;
|
|
262
|
+
flex-direction: column;
|
|
263
|
+
gap: 3px;
|
|
264
|
+
align-items: flex-end;
|
|
265
|
+
min-width: 0;
|
|
266
|
+
}
|
|
267
|
+
/* Stretched link: the button is the row's only control, and its overlay makes
|
|
268
|
+
the whole row clickable. The overlay sits above the row's own background but
|
|
269
|
+
below the gap note, so the note stays selectable. */
|
|
270
|
+
.wd-shell .risk-project {
|
|
271
|
+
display: inline-flex;
|
|
272
|
+
align-items: center;
|
|
273
|
+
gap: 4px;
|
|
274
|
+
max-width: 100%;
|
|
275
|
+
padding: 0;
|
|
276
|
+
border: 0;
|
|
277
|
+
background: transparent;
|
|
278
|
+
font-family: inherit;
|
|
279
|
+
font-size: 11px;
|
|
280
|
+
line-height: 16px;
|
|
281
|
+
color: var(--wd-primary);
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
text-align: right;
|
|
284
|
+
}
|
|
285
|
+
.wd-shell .risk-project::after {
|
|
286
|
+
content: '';
|
|
287
|
+
position: absolute;
|
|
288
|
+
inset: 0;
|
|
289
|
+
}
|
|
290
|
+
.wd-shell .risk-project:hover { text-decoration: underline; }
|
|
291
|
+
.wd-shell .risk-project:focus-visible { outline: none; }
|
|
292
|
+
.wd-shell .risk-project-arrow {
|
|
293
|
+
flex: none;
|
|
294
|
+
opacity: .65;
|
|
295
|
+
transition: transform .12s ease, opacity .12s ease;
|
|
296
|
+
}
|
|
297
|
+
.wd-shell .risk-row:hover .risk-project-arrow { transform: translateX(2px); opacity: 1; }
|
|
298
|
+
.wd-shell .risk-gap {
|
|
299
|
+
position: relative;
|
|
300
|
+
z-index: 1;
|
|
301
|
+
pointer-events: none;
|
|
302
|
+
font-size: 10.5px;
|
|
303
|
+
line-height: 15px;
|
|
304
|
+
color: var(--dsw-alias-label-tertiary);
|
|
305
|
+
font-variant-numeric: tabular-nums;
|
|
306
|
+
text-align: right;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* ---------- empty state ---------- */
|
|
310
|
+
.wd-shell .risk-empty,
|
|
311
|
+
.wd-shell .tl-empty {
|
|
312
|
+
display: flex;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
align-items: center;
|
|
315
|
+
justify-content: center;
|
|
316
|
+
gap: 6px;
|
|
317
|
+
padding: 34px 20px;
|
|
318
|
+
border-radius: 11px;
|
|
319
|
+
border: 1px dashed var(--wd-hairline);
|
|
320
|
+
background: var(--wd-surface);
|
|
321
|
+
}
|
|
322
|
+
.wd-shell .risk-empty-mark,
|
|
323
|
+
.wd-shell .tl-empty-mark {
|
|
324
|
+
font-size: 18px;
|
|
325
|
+
line-height: 22px;
|
|
326
|
+
color: var(--dsw-alias-label-tertiary);
|
|
327
|
+
}
|
|
328
|
+
.wd-shell .risk-empty-copy,
|
|
329
|
+
.wd-shell .tl-empty-copy {
|
|
330
|
+
margin: 0;
|
|
331
|
+
font-size: 12px;
|
|
332
|
+
line-height: 18px;
|
|
333
|
+
color: var(--dsw-alias-label-secondary);
|
|
334
|
+
text-align: center;
|
|
335
|
+
max-width: 42ch;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* =========================================================================
|
|
339
|
+
Timeline — distribution, silent projects, stream
|
|
340
|
+
========================================================================= */
|
|
341
|
+
|
|
342
|
+
.wd-shell .tl-page {
|
|
343
|
+
display: flex;
|
|
344
|
+
flex-direction: column;
|
|
345
|
+
gap: 16px;
|
|
346
|
+
padding: 18px 20px 24px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.wd-shell .tl-figure,
|
|
350
|
+
.wd-shell .tl-silent {
|
|
351
|
+
display: flex;
|
|
352
|
+
flex-direction: column;
|
|
353
|
+
gap: 8px;
|
|
354
|
+
padding: 13px 15px 14px;
|
|
355
|
+
border-radius: 11px;
|
|
356
|
+
background: var(--wd-surface);
|
|
357
|
+
border: 1px solid var(--wd-hairline);
|
|
358
|
+
box-shadow: var(--wd-shadow-1);
|
|
359
|
+
}
|
|
360
|
+
.wd-shell .tl-figure-head,
|
|
361
|
+
.wd-shell .tl-silent-head {
|
|
362
|
+
display: flex;
|
|
363
|
+
align-items: baseline;
|
|
364
|
+
gap: 9px;
|
|
365
|
+
min-width: 0;
|
|
366
|
+
}
|
|
367
|
+
.wd-shell .tl-figure-title,
|
|
368
|
+
.wd-shell .tl-silent-title {
|
|
369
|
+
margin: 0;
|
|
370
|
+
font-size: 11.5px;
|
|
371
|
+
line-height: 16px;
|
|
372
|
+
font-weight: 650;
|
|
373
|
+
letter-spacing: .01em;
|
|
374
|
+
color: var(--dsw-alias-label-primary);
|
|
375
|
+
}
|
|
376
|
+
.wd-shell .tl-figure-note,
|
|
377
|
+
.wd-shell .tl-silent-note {
|
|
378
|
+
margin-left: auto;
|
|
379
|
+
font-size: 10.5px;
|
|
380
|
+
line-height: 15px;
|
|
381
|
+
color: var(--dsw-alias-label-tertiary);
|
|
382
|
+
font-variant-numeric: tabular-nums;
|
|
383
|
+
text-align: right;
|
|
384
|
+
}
|
|
385
|
+
.wd-shell .tl-caption {
|
|
386
|
+
margin: 0;
|
|
387
|
+
font-size: 10.5px;
|
|
388
|
+
line-height: 15px;
|
|
389
|
+
color: var(--dsw-alias-label-tertiary);
|
|
390
|
+
font-variant-numeric: tabular-nums;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/* ---------- silent projects ---------- */
|
|
394
|
+
.wd-shell .tl-silent {
|
|
395
|
+
border-left: 3px solid var(--wd-amber);
|
|
396
|
+
}
|
|
397
|
+
.wd-shell .tl-silent-title { color: var(--wd-amber); }
|
|
398
|
+
.wd-shell .tl-silent-chips {
|
|
399
|
+
display: flex;
|
|
400
|
+
flex-wrap: wrap;
|
|
401
|
+
gap: 6px;
|
|
402
|
+
}
|
|
403
|
+
.wd-shell .tl-chip-button {
|
|
404
|
+
padding: 3px 10px;
|
|
405
|
+
border-radius: 20px;
|
|
406
|
+
border: 1px solid var(--wd-hairline);
|
|
407
|
+
background: var(--wd-inset);
|
|
408
|
+
color: var(--dsw-alias-label-secondary);
|
|
409
|
+
font-family: inherit;
|
|
410
|
+
font-size: 11.5px;
|
|
411
|
+
line-height: 17px;
|
|
412
|
+
cursor: pointer;
|
|
413
|
+
transition: background .12s ease, color .12s ease, border-color .12s ease;
|
|
414
|
+
}
|
|
415
|
+
.wd-shell .tl-chip-button:hover {
|
|
416
|
+
background: var(--wd-primary-soft);
|
|
417
|
+
border-color: var(--wd-primary-ring);
|
|
418
|
+
color: var(--wd-primary);
|
|
419
|
+
}
|
|
420
|
+
.wd-shell .tl-chip-button:focus-visible {
|
|
421
|
+
outline: 2px solid var(--wd-primary);
|
|
422
|
+
outline-offset: 1px;
|
|
423
|
+
}
|
|
424
|
+
.wd-shell .tl-silent-hint {
|
|
425
|
+
margin: 0;
|
|
426
|
+
font-size: 10.5px;
|
|
427
|
+
line-height: 15px;
|
|
428
|
+
color: var(--dsw-alias-label-tertiary);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/* ---------- the stream ---------- */
|
|
432
|
+
.wd-shell .tl-stream {
|
|
433
|
+
display: flex;
|
|
434
|
+
flex-direction: column;
|
|
435
|
+
gap: 14px;
|
|
436
|
+
}
|
|
437
|
+
/* One month section = divider + its cards. The group is the spacing unit, so
|
|
438
|
+
the stream never relies on a margin collapsing between sections. */
|
|
439
|
+
.wd-shell .tl-month-group {
|
|
440
|
+
display: flex;
|
|
441
|
+
flex-direction: column;
|
|
442
|
+
gap: 8px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* A month divider is a plain row, never sticky: the whole stream is one
|
|
446
|
+
scroll flow owned by the shell, and a sticky row inside it would fight that
|
|
447
|
+
scroll container instead of helping. */
|
|
448
|
+
.wd-shell .tl-month {
|
|
449
|
+
display: flex;
|
|
450
|
+
align-items: center;
|
|
451
|
+
gap: 9px;
|
|
452
|
+
padding: 2px 2px 0;
|
|
453
|
+
}
|
|
454
|
+
.wd-shell .tl-month-label {
|
|
455
|
+
font-size: 12px;
|
|
456
|
+
line-height: 16px;
|
|
457
|
+
font-weight: 700;
|
|
458
|
+
letter-spacing: .02em;
|
|
459
|
+
font-variant-numeric: tabular-nums;
|
|
460
|
+
color: var(--dsw-alias-label-primary);
|
|
461
|
+
}
|
|
462
|
+
.wd-shell .tl-month-count {
|
|
463
|
+
font-size: 10.5px;
|
|
464
|
+
line-height: 15px;
|
|
465
|
+
color: var(--dsw-alias-label-tertiary);
|
|
466
|
+
font-variant-numeric: tabular-nums;
|
|
467
|
+
}
|
|
468
|
+
.wd-shell .tl-month-rule {
|
|
469
|
+
flex: 1 1 auto;
|
|
470
|
+
height: 1px;
|
|
471
|
+
background: var(--wd-hairline);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.wd-shell .tl-entries {
|
|
475
|
+
list-style: none;
|
|
476
|
+
margin: 0;
|
|
477
|
+
padding: 0;
|
|
478
|
+
display: flex;
|
|
479
|
+
flex-direction: column;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* Each entry is a two-column row: the gutter owns the spine, the card owns
|
|
483
|
+
the content. The spine is drawn by the gutter's ::before and the node by
|
|
484
|
+
::after, so no extra DOM node is needed for the connector. */
|
|
485
|
+
.wd-shell .tl-entry {
|
|
486
|
+
display: grid;
|
|
487
|
+
grid-template-columns: 20px minmax(0, 1fr);
|
|
488
|
+
gap: 10px;
|
|
489
|
+
padding-bottom: 10px;
|
|
490
|
+
}
|
|
491
|
+
.wd-shell .tl-entry:last-child { padding-bottom: 0; }
|
|
492
|
+
|
|
493
|
+
.wd-shell .tl-gutter {
|
|
494
|
+
position: relative;
|
|
495
|
+
display: flex;
|
|
496
|
+
align-items: flex-start;
|
|
497
|
+
justify-content: center;
|
|
498
|
+
padding-top: 11px;
|
|
499
|
+
}
|
|
500
|
+
.wd-shell .tl-gutter::before {
|
|
501
|
+
content: '';
|
|
502
|
+
position: absolute;
|
|
503
|
+
top: 0;
|
|
504
|
+
bottom: -10px;
|
|
505
|
+
left: 50%;
|
|
506
|
+
width: 1px;
|
|
507
|
+
margin-left: -.5px;
|
|
508
|
+
background: var(--wd-hairline);
|
|
509
|
+
}
|
|
510
|
+
.wd-shell .tl-entry:last-child .tl-gutter::before { bottom: 50%; }
|
|
511
|
+
.wd-shell .tl-node {
|
|
512
|
+
position: relative;
|
|
513
|
+
z-index: 1;
|
|
514
|
+
width: 9px;
|
|
515
|
+
height: 9px;
|
|
516
|
+
border-radius: 50%;
|
|
517
|
+
background: var(--wd-slate);
|
|
518
|
+
box-shadow: 0 0 0 2px var(--wd-surface);
|
|
519
|
+
}
|
|
520
|
+
.wd-shell .tl-node[data-tone="green"] { background: var(--wd-green); }
|
|
521
|
+
.wd-shell .tl-node[data-tone="amber"] { background: var(--wd-amber); }
|
|
522
|
+
.wd-shell .tl-node[data-tone="red"] { background: var(--wd-red); }
|
|
523
|
+
|
|
524
|
+
.wd-shell .tl-card {
|
|
525
|
+
display: flex;
|
|
526
|
+
flex-direction: column;
|
|
527
|
+
gap: 7px;
|
|
528
|
+
min-width: 0;
|
|
529
|
+
padding: 10px 13px 11px;
|
|
530
|
+
border-radius: 10px;
|
|
531
|
+
background: var(--wd-surface);
|
|
532
|
+
border: 1px solid var(--wd-hairline);
|
|
533
|
+
box-shadow: var(--wd-shadow-1);
|
|
534
|
+
}
|
|
535
|
+
.wd-shell .tl-card-head {
|
|
536
|
+
display: flex;
|
|
537
|
+
align-items: center;
|
|
538
|
+
flex-wrap: wrap;
|
|
539
|
+
gap: 8px;
|
|
540
|
+
min-width: 0;
|
|
541
|
+
}
|
|
542
|
+
.wd-shell .tl-date {
|
|
543
|
+
font-size: 11.5px;
|
|
544
|
+
line-height: 16px;
|
|
545
|
+
font-weight: 700;
|
|
546
|
+
font-variant-numeric: tabular-nums;
|
|
547
|
+
color: var(--dsw-alias-label-primary);
|
|
548
|
+
}
|
|
549
|
+
.wd-shell .tl-type {
|
|
550
|
+
font-size: 10px;
|
|
551
|
+
line-height: 15px;
|
|
552
|
+
padding: 0 6px;
|
|
553
|
+
border-radius: 4px;
|
|
554
|
+
background: var(--wd-slate-soft);
|
|
555
|
+
color: var(--dsw-alias-label-secondary);
|
|
556
|
+
white-space: nowrap;
|
|
557
|
+
}
|
|
558
|
+
.wd-shell .tl-project {
|
|
559
|
+
padding: 0;
|
|
560
|
+
border: 0;
|
|
561
|
+
background: transparent;
|
|
562
|
+
font-family: inherit;
|
|
563
|
+
font-size: 11px;
|
|
564
|
+
line-height: 16px;
|
|
565
|
+
color: var(--wd-primary);
|
|
566
|
+
cursor: pointer;
|
|
567
|
+
text-align: left;
|
|
568
|
+
overflow-wrap: anywhere;
|
|
569
|
+
}
|
|
570
|
+
.wd-shell .tl-project:hover { text-decoration: underline; }
|
|
571
|
+
.wd-shell .tl-project:focus-visible {
|
|
572
|
+
outline: 2px solid var(--wd-primary);
|
|
573
|
+
outline-offset: 1px;
|
|
574
|
+
border-radius: 3px;
|
|
575
|
+
}
|
|
576
|
+
.wd-shell .tl-recog {
|
|
577
|
+
margin-left: auto;
|
|
578
|
+
font-size: 10.5px;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/* The body is a definition list: label above value, so a long goal wraps
|
|
582
|
+
under its own label instead of shoving the next field to the right. */
|
|
583
|
+
.wd-shell .tl-fields {
|
|
584
|
+
display: grid;
|
|
585
|
+
grid-template-columns: minmax(0, 1fr);
|
|
586
|
+
gap: 4px;
|
|
587
|
+
margin: 0;
|
|
588
|
+
}
|
|
589
|
+
.wd-shell .tl-field {
|
|
590
|
+
display: grid;
|
|
591
|
+
grid-template-columns: 54px minmax(0, 1fr);
|
|
592
|
+
gap: 9px;
|
|
593
|
+
align-items: baseline;
|
|
594
|
+
min-width: 0;
|
|
595
|
+
}
|
|
596
|
+
.wd-shell .tl-field-label {
|
|
597
|
+
font-size: 10.5px;
|
|
598
|
+
line-height: 16px;
|
|
599
|
+
color: var(--dsw-alias-label-tertiary);
|
|
600
|
+
white-space: nowrap;
|
|
601
|
+
}
|
|
602
|
+
.wd-shell .tl-field-value {
|
|
603
|
+
margin: 0;
|
|
604
|
+
font-size: 12px;
|
|
605
|
+
line-height: 17px;
|
|
606
|
+
color: var(--dsw-alias-label-secondary);
|
|
607
|
+
overflow-wrap: anywhere;
|
|
608
|
+
}
|
|
609
|
+
.wd-shell .tl-field-value[data-emphasis="strong"] {
|
|
610
|
+
color: var(--dsw-alias-label-primary);
|
|
611
|
+
font-weight: 600;
|
|
612
|
+
}
|
|
613
|
+
.wd-shell .tl-field-value[data-emphasis="muted"] { color: var(--dsw-alias-label-secondary); }
|
|
614
|
+
.wd-shell .tl-field-value[data-emphasis="missing"] {
|
|
615
|
+
color: var(--dsw-alias-label-tertiary);
|
|
616
|
+
font-style: italic;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/* ---------- footer chips ---------- */
|
|
620
|
+
.wd-shell .tl-chips {
|
|
621
|
+
display: flex;
|
|
622
|
+
flex-wrap: wrap;
|
|
623
|
+
gap: 5px;
|
|
624
|
+
padding-top: 7px;
|
|
625
|
+
border-top: 1px solid var(--wd-hairline);
|
|
626
|
+
margin-top: 1px;
|
|
627
|
+
}
|
|
628
|
+
.wd-shell .tl-chip {
|
|
629
|
+
display: inline-flex;
|
|
630
|
+
align-items: baseline;
|
|
631
|
+
gap: 5px;
|
|
632
|
+
padding: 1px 8px;
|
|
633
|
+
border-radius: 20px;
|
|
634
|
+
background: var(--wd-inset);
|
|
635
|
+
border: 1px solid var(--wd-hairline);
|
|
636
|
+
font-size: 10.5px;
|
|
637
|
+
line-height: 16px;
|
|
638
|
+
color: var(--dsw-alias-label-secondary);
|
|
639
|
+
font-variant-numeric: tabular-nums;
|
|
640
|
+
}
|
|
641
|
+
.wd-shell .tl-chip-label {
|
|
642
|
+
font-size: 9.5px;
|
|
643
|
+
color: var(--dsw-alias-label-tertiary);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/* ---------- narrow widths ---------- */
|
|
647
|
+
@media (max-width: 720px) {
|
|
648
|
+
.wd-shell .risk-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
|
|
649
|
+
.wd-shell .risk-row-side { align-items: flex-start; }
|
|
650
|
+
.wd-shell .risk-gap { text-align: left; }
|
|
651
|
+
.wd-shell .risk-lane-meter { display: none; }
|
|
652
|
+
.wd-shell .tl-field { grid-template-columns: minmax(0, 1fr); gap: 0; }
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
@media (prefers-reduced-motion: reduce) {
|
|
656
|
+
.wd-shell .risk-row,
|
|
657
|
+
.wd-shell .tl-chip-button,
|
|
658
|
+
.wd-shell .risk-project-arrow { transition: none; }
|
|
659
|
+
}
|
|
660
|
+
`;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Overview styles: the portfolio band and the three project readings.
|
|
3
|
+
*
|
|
4
|
+
* Three decisions drive this sheet:
|
|
5
|
+
*
|
|
6
|
+
* 1. **The band is one instrument, not six cards.** It gets one container with
|
|
7
|
+
* internal dividers, so the eye reads it as a single dashboard rather than
|
|
8
|
+
* six unrelated widgets. A card grid with gaps between every figure was the
|
|
9
|
+
* failure mode of the previous stat strip.
|
|
10
|
+
* 2. **Cards carry the reading order.** Name → stage → money → latest progress →
|
|
11
|
+
* four dimensions → gaps. The gap badge sits top-right because it is the
|
|
12
|
+
* reason to open the card at all; everything else is context for it.
|
|
13
|
+
* 3. **Selection is visible from the keyboard.** The shell moves a cursor with
|
|
14
|
+
* the arrow keys, so a selected card and a selected row both have to be
|
|
15
|
+
* unmistakable — a ring, not a background tint, because the background is
|
|
16
|
+
* already doing hover duty.
|
|
17
|
+
*
|
|
18
|
+
* Class prefixes owned here: `.pf-` (band), `.pcard-`, `.pboard-`, `.ptable-`,
|
|
19
|
+
* plus the shared `.panel` / `.workspace-grid` / `.project-row` atoms this
|
|
20
|
+
* surface defines because nothing else uses them. The blocker rail that used to
|
|
21
|
+
* live here moved to `css/blockers.ts` when it grew its own source filters.
|
|
22
|
+
*/
|
|
23
|
+
export declare const OVERVIEW_CSS = "\n/* ---------- layout ---------- */\n.wd-shell .workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }\n@media (max-width: 1180px) { .wd-shell .workspace-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .primary-column, .wd-shell .secondary-column { min-width: 0; display: flex; flex-direction: column; gap: 16px; }\n.wd-shell .panel {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); overflow: hidden;\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .panel-header {\n display: flex; align-items: baseline; gap: 9px;\n padding: 12px 18px 10px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .panel-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .panel-kicker {\n margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n padding: 1px 8px; border-radius: 20px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .panel-body { padding: 0; }\n.wd-shell .panel-body.padded { padding: 13px 18px; }\n/* A one-line caption between the panel header and its body: used by the blocker\n panel to state \"12 of 30 projects blocked\" before the list itself. */\n.wd-shell .panel-note {\n padding: 8px 18px 0;\n font-size: 11px; line-height: 16px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- portfolio band ---------- */\n.wd-shell .pf-band {\n margin-bottom: 14px;\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface);\n box-shadow: var(--wd-shadow-1);\n overflow: hidden;\n}\n.wd-shell .pf-band-head {\n display: flex; align-items: baseline; gap: 10px;\n padding: 9px 16px 8px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .pf-band-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }\n.wd-shell .pf-band-note { margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pf-grid {\n display: grid;\n grid-template-columns: repeat(8, minmax(0, 1fr));\n gap: 1px;\n background: var(--wd-hairline);\n}\n@media (max-width: 1280px) { .wd-shell .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }\n@media (max-width: 860px) { .wd-shell .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n@media (max-width: 560px) { .wd-shell .pf-grid { grid-template-columns: minmax(0, 1fr); } }\n/* Two strips, four blocks each. The band is context: it answers \"where does the\n money sit\" in about a third of the screen, then gets out of the way. An eight-column\n grid lets two wide figures and four list figures share exactly two rows. */\n.wd-shell .pf-block {\n padding: 8px 12px 9px;\n background: var(--wd-surface);\n min-height: 0;\n justify-content: flex-start;\n}\n.wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n.wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n@media (max-width: 1280px) {\n .wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 860px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 560px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 1; }\n}\n@media (max-width: 720px) { .wd-shell .pf-block-wide { grid-column: span 1; } }\n.wd-shell .pf-radials { display: flex; gap: 8px; justify-content: space-between; padding: 2px 2px 0; }\n/* Four rows fit exactly; the cap only protects against a deployment with many\n more orgs than this one, where the strip must not grow the band. */\n.wd-shell .pf-block[data-span=\"2\"] .barlist { max-height: 168px; overflow: auto; scrollbar-width: thin; }\n.wd-shell .pf-collapse {\n display: inline-flex; align-items: center; gap: 4px;\n padding: 1px 7px; border-radius: 6px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n cursor: pointer; font-family: inherit; white-space: nowrap;\n}\n.wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }\n.wd-shell .pf-band[data-collapsed=\"true\"] .pf-grid { display: none; }\n.wd-shell .pf-note {\n margin: 5px 0 0; font-size: 10px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pf-note[data-tone=\"amber\"] { color: var(--wd-amber); }\n\n/* A secondary figure nested inside a band block: same box, quieter rules, so it\n reads as a detail of the chart above it rather than a seventh figure. */\n.wd-shell .pf-subfigure {\n margin-top: 9px; padding-top: 9px;\n border-top: 1px dashed var(--wd-hairline);\n display: flex; flex-direction: column; gap: 6px;\n}\n.wd-shell .pf-subfigure-label {\n font-size: 10px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n\n/* ---------- project cards ---------- */\n.wd-shell .pcard-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));\n gap: 12px; padding: 14px;\n}\n.wd-shell .pcard {\n display: flex; flex-direction: column; gap: 9px;\n padding: 13px 14px 11px;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface);\n cursor: pointer; min-width: 0;\n transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;\n}\n.wd-shell .pcard:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); transform: translateY(-1px); }\n.wd-shell .pcard:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: 1px; }\n.wd-shell .pcard[data-selected=\"true\"] {\n border-color: var(--wd-primary);\n box-shadow: 0 0 0 3px var(--wd-primary-soft), var(--wd-shadow-2);\n}\n.wd-shell .pcard[data-closed=\"true\"] { opacity: .82; }\n.wd-shell .pcard-head { display: flex; align-items: flex-start; gap: 8px; }\n.wd-shell .pcard-title-block { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }\n.wd-shell .pcard-name {\n font-size: 13.5px; line-height: 19px; font-weight: 650;\n letter-spacing: -.005em; overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pcard-id {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .pcard-badge {\n flex: none; padding: 1px 7px; border-radius: 20px;\n font-size: 10px; line-height: 15px; font-weight: 650; white-space: nowrap;\n}\n.wd-shell .pcard-badge[data-tone=\"red\"] { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .pcard-badge[data-tone=\"amber\"] { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .pcard-stage { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.wd-shell .pcard-stage-pill { flex: none; }\n.wd-shell .pcard-stage .rail-mini { flex: 1 1 auto; }\n.wd-shell .pcard-meta { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .pcard-org {\n flex: 1 1 auto; min-width: 0;\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pcard-amount {\n flex: none; font-size: 12.5px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber);\n}\n.wd-shell .pcard-unit { margin-left: 2px; font-size: 9.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .pcard-progress {\n display: flex; flex-direction: column; gap: 1px;\n padding: 7px 9px; border-radius: 8px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pcard-progress-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .pcard-progress-copy {\n font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pcard-progress-meta {\n margin-top: 1px; font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pcard-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }\n.wd-shell .pcard-dim {\n display: flex; flex-direction: column; align-items: center; gap: 1px;\n padding: 3px 2px; border-radius: 6px; min-width: 0;\n background: var(--wd-red-soft);\n}\n.wd-shell .pcard-dim[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .pcard-dim-mark { font-size: 10.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pcard-dim[data-present=\"true\"] .pcard-dim-mark { color: var(--wd-green); }\n.wd-shell .pcard-dim-label {\n font-size: 8.5px; line-height: 12px; color: var(--dsw-alias-label-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;\n}\n.wd-shell .pcard-foot { display: flex; align-items: center; gap: 8px; }\n.wd-shell .pcard-since { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pcard-open { margin-left: auto; font-size: 10.5px; color: var(--wd-primary); font-weight: 600; }\n\n/* ---------- board ---------- */\n.wd-shell .pboard {\n display: flex; gap: 10px; padding: 14px;\n overflow-x: auto; overscroll-behavior-x: contain;\n align-items: stretch;\n}\n.wd-shell .pboard-column {\n flex: 1 1 0; min-width: 176px; max-width: 300px;\n display: flex; flex-direction: column; gap: 8px;\n padding: 10px 9px 12px; border-radius: 10px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pboard-column[data-empty=\"true\"] { background: transparent; border-style: dashed; }\n.wd-shell .pboard-column-head { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .pboard-column-label { font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-secondary); }\n.wd-shell .pboard-column-count {\n font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pboard-column-body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }\n.wd-shell .pboard-card {\n display: flex; flex-direction: column; gap: 3px;\n padding: 9px 10px; border-radius: 8px; width: 100%; text-align: left;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n cursor: pointer; font-family: inherit;\n box-shadow: var(--wd-shadow-1);\n transition: box-shadow .14s ease, border-color .14s ease;\n}\n.wd-shell .pboard-card:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); }\n.wd-shell .pboard-card[data-high=\"true\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .pboard-card-name {\n font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-primary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pboard-card-owner { font-variant-numeric: normal; }\n.wd-shell .pboard-card-progress {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pboard-empty {\n padding: 16px 8px; text-align: center;\n font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n border: 1px dashed var(--wd-hairline); border-radius: 8px;\n}\n\n/* ---------- table ---------- */\n.wd-shell .project-table { width: 100%; border-collapse: collapse; table-layout: fixed; }\n.wd-shell .table-head th {\n position: sticky; top: 0; z-index: 1;\n padding: 8px 12px; text-align: left; white-space: nowrap;\n font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;\n color: var(--dsw-alias-label-tertiary);\n border-bottom: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .table-head th:first-child { padding-left: 16px; }\n.wd-shell .table-head th:last-child { padding-right: 16px; }\n.wd-shell .ptable-sort {\n display: inline-flex; align-items: center; gap: 3px;\n padding: 0; border: 0; background: transparent; cursor: pointer;\n font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;\n text-transform: uppercase; color: inherit; white-space: nowrap;\n}\n.wd-shell .ptable-sort:hover { color: var(--wd-text); }\n.wd-shell .ptable-sort[data-active=\"true\"] { color: var(--wd-primary); }\n.wd-shell .ptable-sort-arrow { font-size: 9.5px; }\n.wd-shell .project-row { border-bottom: 1px solid var(--wd-hairline); cursor: pointer; transition: background .1s ease; }\n.wd-shell .project-row:last-child { border-bottom: 0; }\n.wd-shell .project-row:hover { background: var(--wd-inset); }\n.wd-shell .project-row[data-selected=\"true\"] { background: var(--wd-primary-soft); }\n.wd-shell .project-row:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: -2px; }\n.wd-shell .project-row td { padding: 10px 12px; vertical-align: middle; }\n.wd-shell .project-row td:first-child { padding-left: 16px; }\n.wd-shell .project-row td:last-child { padding-right: 16px; text-align: right; }\n.wd-shell .project-name {\n font-size: 12.5px; line-height: 18px; font-weight: 600;\n display: block; overflow-wrap: anywhere; letter-spacing: -.005em;\n}\n.wd-shell .project-id {\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .project-org { display: block; font-size: 11.5px; line-height: 17px; font-weight: 550; overflow-wrap: anywhere; }\n.wd-shell .project-meta { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .progress-summary {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .ptable-stage { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }\n.wd-shell .ptable-amount { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }\n.wd-shell .amount-cell { display: block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12px; }\n.wd-shell .gap-cell { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }\n.wd-shell .gap-count { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12.5px; }\n.wd-shell .gap-count[data-level=\"high\"] { color: var(--wd-red); }\n.wd-shell .gap-count[data-level=\"medium\"] { color: var(--wd-amber); }\n.wd-shell .gap-count[data-level=\"none\"] { color: var(--wd-green); }\n.wd-shell .row-actions { display: flex; gap: 5px; justify-content: flex-end; }\n.wd-shell .gap-copy { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .pcard, .wd-shell .pboard-card, .wd-shell .project-row { transition: none; }\n}\n";
|