@skillre/dsh-plugin-work-dashboard 0.0.0-stage → 0.6.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 +253 -0
- package/README.md +347 -2
- package/UNINSTALL.md +7 -0
- package/compatibility.json +155 -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/preview.svg +254 -0
- package/docs/preview.zh.svg +254 -0
- package/icon.svg +17 -0
- package/lib/client/api.d.ts +35 -0
- package/lib/client/api.js +44 -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 +422 -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 +399 -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 +22 -0
- package/lib/client/css/overview.js +338 -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 +22 -0
- package/lib/client/text.d.ts +32 -0
- package/lib/client/text.js +934 -0
- package/lib/client/view-contract.d.ts +110 -0
- package/lib/client/view-contract.js +28 -0
- package/lib/client.js +5389 -0
- package/lib/config.d.ts +61 -0
- package/lib/config.js +67 -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 +130 -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 +494 -0
- package/lib/timeline.d.ts +23 -0
- package/lib/timeline.js +93 -0
- package/lib/transport.d.ts +61 -0
- package/lib/transport.js +121 -0
- package/lib/types.d.ts +612 -0
- package/lib/types.js +62 -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,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/* ---------- 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";
|
|
@@ -0,0 +1,399 @@
|
|
|
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 const DETAIL_CSS = `
|
|
22
|
+
/* ---------- two-pane layout ---------- */
|
|
23
|
+
.wd-shell .dt-page {
|
|
24
|
+
display: grid;
|
|
25
|
+
grid-template-columns: 316px minmax(0, 1fr);
|
|
26
|
+
align-items: start;
|
|
27
|
+
min-height: 100%;
|
|
28
|
+
}
|
|
29
|
+
@media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }
|
|
30
|
+
|
|
31
|
+
.wd-shell .dt-rail {
|
|
32
|
+
position: sticky; top: 0;
|
|
33
|
+
align-self: start;
|
|
34
|
+
display: flex; flex-direction: column; gap: 14px;
|
|
35
|
+
padding: 18px 18px 22px;
|
|
36
|
+
background: var(--wd-surface);
|
|
37
|
+
border-right: 1px solid var(--wd-hairline);
|
|
38
|
+
min-height: 100%;
|
|
39
|
+
}
|
|
40
|
+
@media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }
|
|
41
|
+
.wd-shell .dt-pane {
|
|
42
|
+
display: flex; flex-direction: column; gap: 22px;
|
|
43
|
+
padding: 20px 28px 44px;
|
|
44
|
+
min-width: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* ---------- rail ---------- */
|
|
48
|
+
.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
|
|
49
|
+
.wd-shell .dt-rail-back { margin-bottom: 4px; }
|
|
50
|
+
.wd-shell .dt-rail-title {
|
|
51
|
+
margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;
|
|
52
|
+
letter-spacing: -.01em; overflow-wrap: anywhere;
|
|
53
|
+
}
|
|
54
|
+
.wd-shell .dt-rail-id { display: block; }
|
|
55
|
+
.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
|
|
56
|
+
.wd-shell .dt-rail-amount {
|
|
57
|
+
display: flex; flex-direction: column; gap: 1px;
|
|
58
|
+
padding: 10px 12px; border-radius: 9px;
|
|
59
|
+
background: var(--wd-amber-soft); border: 1px solid transparent;
|
|
60
|
+
}
|
|
61
|
+
.wd-shell .dt-rail-amount-label {
|
|
62
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
63
|
+
text-transform: uppercase; font-weight: 600; color: var(--wd-amber);
|
|
64
|
+
}
|
|
65
|
+
.wd-shell .dt-rail-amount-value {
|
|
66
|
+
font-size: 22px; line-height: 28px; font-weight: 650;
|
|
67
|
+
font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;
|
|
68
|
+
}
|
|
69
|
+
.wd-shell .dt-rail-amount-value[data-empty="true"] {
|
|
70
|
+
font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);
|
|
71
|
+
}
|
|
72
|
+
.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
73
|
+
.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }
|
|
74
|
+
.wd-shell .dt-rail-block-title {
|
|
75
|
+
margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;
|
|
76
|
+
text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);
|
|
77
|
+
}
|
|
78
|
+
.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
79
|
+
|
|
80
|
+
/* vertical stage track */
|
|
81
|
+
.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }
|
|
82
|
+
.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }
|
|
83
|
+
.wd-shell .dt-stage:not(:last-child)::after {
|
|
84
|
+
content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;
|
|
85
|
+
width: 1px; background: var(--wd-hairline);
|
|
86
|
+
}
|
|
87
|
+
.wd-shell .dt-stage[data-done="true"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }
|
|
88
|
+
.wd-shell .dt-stage-marker {
|
|
89
|
+
position: relative; z-index: 1; flex: none;
|
|
90
|
+
width: 19px; height: 19px; border-radius: 50%;
|
|
91
|
+
display: flex; align-items: center; justify-content: center;
|
|
92
|
+
font-size: 9px; font-weight: 650;
|
|
93
|
+
border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);
|
|
94
|
+
color: var(--dsw-alias-label-tertiary);
|
|
95
|
+
}
|
|
96
|
+
.wd-shell .dt-stage[data-done="true"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }
|
|
97
|
+
.wd-shell .dt-stage[data-current="true"] .dt-stage-marker {
|
|
98
|
+
border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;
|
|
99
|
+
box-shadow: 0 0 0 3px var(--wd-primary-soft);
|
|
100
|
+
}
|
|
101
|
+
.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
|
|
102
|
+
.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }
|
|
103
|
+
.wd-shell .dt-stage[data-current="true"] .dt-stage-label { color: var(--wd-primary); }
|
|
104
|
+
.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
105
|
+
.wd-shell .dt-stage[data-current="true"] .dt-stage-state { color: var(--wd-primary); }
|
|
106
|
+
|
|
107
|
+
/* rail dimension summary: four compact marks, never merged into one score.
|
|
108
|
+
The full cards with their origin tags live in the reading pane; the rail only
|
|
109
|
+
needs to say "which of the four exist", because the rail is scanned, not read. */
|
|
110
|
+
.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
|
|
111
|
+
.wd-shell .dim-mini {
|
|
112
|
+
display: flex; align-items: center; gap: 5px; min-width: 0;
|
|
113
|
+
padding: 4px 7px; border-radius: 6px;
|
|
114
|
+
background: var(--wd-red-soft);
|
|
115
|
+
}
|
|
116
|
+
.wd-shell .dim-mini[data-present="true"] { background: var(--wd-green-soft); }
|
|
117
|
+
.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }
|
|
118
|
+
.wd-shell .dim-mini[data-present="true"] .dim-mini-mark { color: var(--wd-green); }
|
|
119
|
+
.wd-shell .dim-mini-label {
|
|
120
|
+
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
121
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
122
|
+
}
|
|
123
|
+
.wd-shell .dim-card {
|
|
124
|
+
display: flex; flex-direction: column; gap: 1px; min-width: 0;
|
|
125
|
+
padding: 7px 8px; border-radius: 8px;
|
|
126
|
+
border: 1px solid var(--wd-hairline); background: var(--wd-inset);
|
|
127
|
+
}
|
|
128
|
+
.wd-shell .dim-card[data-present="true"] { border-color: transparent; background: var(--wd-green-soft); }
|
|
129
|
+
.wd-shell .dim-card[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
130
|
+
.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }
|
|
131
|
+
.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }
|
|
132
|
+
.wd-shell .dim-card[data-present="true"] .dim-card-mark { color: var(--wd-green); }
|
|
133
|
+
.wd-shell .dim-card[data-present="false"] .dim-card-mark { color: var(--wd-red); }
|
|
134
|
+
.wd-shell .dim-card-value {
|
|
135
|
+
font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
136
|
+
overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
|
137
|
+
}
|
|
138
|
+
.wd-shell .dim-card-origin {
|
|
139
|
+
margin-top: 1px; font-size: 8.5px; line-height: 12px;
|
|
140
|
+
color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;
|
|
141
|
+
}
|
|
142
|
+
.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }
|
|
143
|
+
|
|
144
|
+
/* rail gaps */
|
|
145
|
+
.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
146
|
+
.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }
|
|
147
|
+
.wd-shell .dt-rail-gap-no {
|
|
148
|
+
flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
149
|
+
font-size: 9px; line-height: 14px; font-weight: 650;
|
|
150
|
+
padding: 0 4px; border-radius: 3px;
|
|
151
|
+
}
|
|
152
|
+
.wd-shell .dt-rail-gap[data-level="high"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }
|
|
153
|
+
.wd-shell .dt-rail-gap[data-level="medium"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }
|
|
154
|
+
.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
155
|
+
|
|
156
|
+
/* rail meta */
|
|
157
|
+
.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }
|
|
158
|
+
.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }
|
|
159
|
+
.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
160
|
+
.wd-shell .dt-rail-meta-value {
|
|
161
|
+
flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;
|
|
162
|
+
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
163
|
+
}
|
|
164
|
+
.wd-shell .dt-rail-meta-value[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
165
|
+
|
|
166
|
+
/* rail navigation */
|
|
167
|
+
.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
|
|
168
|
+
.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; }
|
|
169
|
+
|
|
170
|
+
/* ---------- section frame ---------- */
|
|
171
|
+
.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
172
|
+
.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }
|
|
173
|
+
.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }
|
|
174
|
+
.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
175
|
+
.wd-shell .dsec-blank {
|
|
176
|
+
padding: 14px; border-radius: 9px;
|
|
177
|
+
border: 1px dashed var(--wd-hairline);
|
|
178
|
+
font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);
|
|
179
|
+
text-align: center;
|
|
180
|
+
}
|
|
181
|
+
.wd-shell .dsec-empty {
|
|
182
|
+
display: flex; flex-direction: column; align-items: center; gap: 5px;
|
|
183
|
+
padding: 30px 20px; border-radius: 10px;
|
|
184
|
+
border: 1px dashed var(--wd-hairline);
|
|
185
|
+
text-align: center;
|
|
186
|
+
}
|
|
187
|
+
.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }
|
|
188
|
+
.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }
|
|
189
|
+
|
|
190
|
+
/* ---------- prose blocks ---------- */
|
|
191
|
+
.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
192
|
+
.wd-shell .dt-prose-label {
|
|
193
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
194
|
+
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
195
|
+
}
|
|
196
|
+
.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }
|
|
197
|
+
.wd-shell .dt-prose[data-empty="true"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
198
|
+
|
|
199
|
+
/* ---------- progress stream ---------- */
|
|
200
|
+
.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
|
201
|
+
.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
|
|
202
|
+
.wd-shell .prog-item:last-child { padding-bottom: 0; }
|
|
203
|
+
.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }
|
|
204
|
+
.wd-shell .prog-node {
|
|
205
|
+
position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;
|
|
206
|
+
background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);
|
|
207
|
+
}
|
|
208
|
+
.wd-shell .prog-node[data-tone="green"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }
|
|
209
|
+
.wd-shell .prog-node[data-tone="amber"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }
|
|
210
|
+
.wd-shell .prog-node[data-tone="red"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }
|
|
211
|
+
.wd-shell .prog-item:not(:last-child) .prog-gutter::after {
|
|
212
|
+
content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;
|
|
213
|
+
background: var(--wd-hairline);
|
|
214
|
+
}
|
|
215
|
+
.wd-shell .prog-card {
|
|
216
|
+
display: flex; flex-direction: column; gap: 8px;
|
|
217
|
+
padding: 12px 14px 11px; min-width: 0;
|
|
218
|
+
border: 1px solid var(--wd-hairline); border-radius: 10px;
|
|
219
|
+
background: var(--wd-surface); box-shadow: var(--wd-shadow-1);
|
|
220
|
+
}
|
|
221
|
+
.wd-shell .prog-item[data-latest="true"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }
|
|
222
|
+
.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
223
|
+
.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
224
|
+
.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); }
|
|
225
|
+
.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
226
|
+
.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }
|
|
227
|
+
.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }
|
|
228
|
+
.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }
|
|
229
|
+
.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }
|
|
230
|
+
.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }
|
|
231
|
+
|
|
232
|
+
.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }
|
|
233
|
+
.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }
|
|
234
|
+
.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }
|
|
235
|
+
.wd-shell .prog-pair-label {
|
|
236
|
+
font-size: 9px; line-height: 13px; letter-spacing: .05em;
|
|
237
|
+
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
238
|
+
}
|
|
239
|
+
.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }
|
|
240
|
+
.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; }
|
|
241
|
+
.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }
|
|
242
|
+
.wd-shell .prog-scope-label, .wd-shell .prog-block-label {
|
|
243
|
+
font-size: 9px; line-height: 13px; letter-spacing: .05em;
|
|
244
|
+
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
245
|
+
}
|
|
246
|
+
.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
247
|
+
.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }
|
|
248
|
+
.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }
|
|
249
|
+
.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }
|
|
250
|
+
.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }
|
|
251
|
+
.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }
|
|
252
|
+
.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }
|
|
253
|
+
.wd-shell .prog-next {
|
|
254
|
+
display: flex; flex-direction: column; gap: 3px;
|
|
255
|
+
padding: 7px 10px; border-radius: 8px;
|
|
256
|
+
border-left: 3px solid var(--wd-primary);
|
|
257
|
+
background: var(--wd-primary-soft);
|
|
258
|
+
}
|
|
259
|
+
.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }
|
|
260
|
+
.wd-shell .prog-next-label {
|
|
261
|
+
font-size: 9px; line-height: 13px; letter-spacing: .05em;
|
|
262
|
+
text-transform: uppercase; font-weight: 650; color: var(--wd-primary);
|
|
263
|
+
}
|
|
264
|
+
.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }
|
|
265
|
+
.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
266
|
+
.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }
|
|
267
|
+
|
|
268
|
+
/* ---------- dimension grid (detail) ---------- */
|
|
269
|
+
.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
|
|
270
|
+
@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
271
|
+
.wd-shell .dim-grid-detail .dim-card {
|
|
272
|
+
padding: 11px 12px; border-radius: 10px; gap: 3px;
|
|
273
|
+
border-left: 3px solid var(--wd-red);
|
|
274
|
+
box-shadow: var(--wd-shadow-1);
|
|
275
|
+
}
|
|
276
|
+
.wd-shell .dim-grid-detail .dim-card[data-present="true"] { border-left-color: var(--wd-green); }
|
|
277
|
+
.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }
|
|
278
|
+
.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }
|
|
279
|
+
.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }
|
|
280
|
+
.wd-shell .dim-grid-detail .dim-card-origin {
|
|
281
|
+
display: inline-flex; align-self: flex-start; margin-top: 2px;
|
|
282
|
+
padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;
|
|
283
|
+
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
284
|
+
color: var(--dsw-alias-label-tertiary);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* ---------- G0 meter ---------- */
|
|
288
|
+
.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
|
|
289
|
+
@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
290
|
+
.wd-shell .g0-cell {
|
|
291
|
+
display: flex; flex-direction: column; align-items: center; gap: 2px;
|
|
292
|
+
padding: 8px 6px; border-radius: 8px; min-width: 0;
|
|
293
|
+
background: var(--wd-red-soft); border: 1px solid transparent;
|
|
294
|
+
}
|
|
295
|
+
.wd-shell .g0-cell[data-present="true"] { background: var(--wd-green-soft); }
|
|
296
|
+
.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }
|
|
297
|
+
.wd-shell .g0-cell[data-present="true"] .g0-cell-mark { color: var(--wd-green); }
|
|
298
|
+
.wd-shell .g0-cell-label {
|
|
299
|
+
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
300
|
+
text-align: center; overflow-wrap: anywhere;
|
|
301
|
+
}
|
|
302
|
+
.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }
|
|
303
|
+
.wd-shell .g0-field {
|
|
304
|
+
display: flex; flex-direction: column; gap: 2px;
|
|
305
|
+
padding: 9px 11px; border-radius: 9px;
|
|
306
|
+
border: 1px solid var(--wd-hairline); background: var(--wd-surface);
|
|
307
|
+
}
|
|
308
|
+
.wd-shell .g0-field[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
309
|
+
.wd-shell .g0-field-label {
|
|
310
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
311
|
+
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
312
|
+
}
|
|
313
|
+
.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }
|
|
314
|
+
.wd-shell .g0-field[data-prose="true"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }
|
|
315
|
+
.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }
|
|
316
|
+
.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
317
|
+
.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }
|
|
318
|
+
.wd-shell .g0-review[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
319
|
+
|
|
320
|
+
/* ---------- plan ---------- */
|
|
321
|
+
.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
322
|
+
@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }
|
|
323
|
+
.wd-shell .plan-strip {
|
|
324
|
+
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
|
|
325
|
+
padding: 9px 12px; border-radius: 9px;
|
|
326
|
+
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
327
|
+
}
|
|
328
|
+
.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
329
|
+
.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; }
|
|
330
|
+
.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }
|
|
331
|
+
.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }
|
|
332
|
+
.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }
|
|
333
|
+
.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
334
|
+
.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }
|
|
335
|
+
.wd-shell .plan-criteria {
|
|
336
|
+
width: 100%; border-collapse: collapse;
|
|
337
|
+
border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;
|
|
338
|
+
background: var(--wd-surface);
|
|
339
|
+
}
|
|
340
|
+
.wd-shell .plan-criteria th {
|
|
341
|
+
padding: 7px 10px; text-align: left;
|
|
342
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
|
|
343
|
+
font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
344
|
+
background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);
|
|
345
|
+
}
|
|
346
|
+
.wd-shell .plan-criteria td {
|
|
347
|
+
padding: 8px 10px; font-size: 11.5px; line-height: 17px;
|
|
348
|
+
color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);
|
|
349
|
+
vertical-align: top;
|
|
350
|
+
}
|
|
351
|
+
.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }
|
|
352
|
+
.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
353
|
+
.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }
|
|
354
|
+
.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }
|
|
355
|
+
.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
356
|
+
.wd-shell .plan-scenario { display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset); }
|
|
357
|
+
.wd-shell .plan-scenario-no {
|
|
358
|
+
flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
359
|
+
font-size: 9.5px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);
|
|
360
|
+
}
|
|
361
|
+
.wd-shell .plan-scenario-text { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
362
|
+
.wd-shell .plan-risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
|
|
363
|
+
.wd-shell .plan-risk { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--wd-inset); }
|
|
364
|
+
.wd-shell .plan-risk-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--wd-slate); }
|
|
365
|
+
.wd-shell .plan-risk[data-tone="red"] .plan-risk-dot { background: var(--wd-red); }
|
|
366
|
+
.wd-shell .plan-risk[data-tone="amber"] .plan-risk-dot { background: var(--wd-amber); }
|
|
367
|
+
.wd-shell .plan-risk[data-tone="green"] .plan-risk-dot { background: var(--wd-green); }
|
|
368
|
+
.wd-shell .plan-risk-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
369
|
+
.wd-shell .plan-risk-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
370
|
+
.wd-shell .plan-risk-level { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
371
|
+
.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
372
|
+
|
|
373
|
+
/* ---------- outcome ---------- */
|
|
374
|
+
.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
375
|
+
@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }
|
|
376
|
+
.wd-shell .out-milestone {
|
|
377
|
+
display: flex; flex-direction: column; gap: 4px;
|
|
378
|
+
padding: 12px 14px; border-radius: 10px;
|
|
379
|
+
border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);
|
|
380
|
+
}
|
|
381
|
+
.wd-shell .out-milestone[data-present="true"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }
|
|
382
|
+
.wd-shell .out-milestone-label {
|
|
383
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
384
|
+
text-transform: uppercase; font-weight: 650; color: var(--wd-red);
|
|
385
|
+
}
|
|
386
|
+
.wd-shell .out-milestone[data-present="true"] .out-milestone-label { color: var(--wd-green); }
|
|
387
|
+
.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
388
|
+
.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }
|
|
389
|
+
.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
|
|
390
|
+
.wd-shell .out-meta {
|
|
391
|
+
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
|
|
392
|
+
padding-top: 10px; border-top: 1px solid var(--wd-hairline);
|
|
393
|
+
}
|
|
394
|
+
@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
395
|
+
|
|
396
|
+
@media (prefers-reduced-motion: reduce) {
|
|
397
|
+
.wd-shell .dim-card, .wd-shell .prog-card { transition: none; }
|
|
398
|
+
}
|
|
399
|
+
`;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 declare const INSIGHTS_CSS = "\n/* =========================================================================\n Risk board \u2014 severity lanes\n ========================================================================= */\n\n.wd-shell .risk-board {\n display: flex;\n flex-direction: column;\n gap: 18px;\n padding: 18px 20px 24px;\n}\n\n/* ---------- page header (this surface owns it; the shell does not) ---------- */\n.wd-shell .risk-head,\n.wd-shell .tl-head {\n display: flex;\n align-items: flex-start;\n gap: 16px;\n min-width: 0;\n}\n.wd-shell .risk-head-text,\n.wd-shell .tl-head-text {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n flex: 1 1 auto;\n}\n.wd-shell .risk-head-title,\n.wd-shell .tl-head-title {\n margin: 0;\n font-size: 17px;\n line-height: 24px;\n font-weight: 650;\n letter-spacing: -.01em;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .risk-head-subtitle,\n.wd-shell .tl-head-subtitle {\n margin: 0;\n font-size: 11.5px;\n line-height: 17px;\n color: var(--dsw-alias-label-secondary);\n}\n.wd-shell .risk-back,\n.wd-shell .tl-back {\n flex: none;\n height: 28px;\n padding: 0 12px;\n border-radius: 7px;\n border: 1px solid var(--wd-border);\n background: var(--wd-surface);\n color: var(--dsw-alias-label-secondary);\n font-family: inherit;\n font-size: 11.5px;\n cursor: pointer;\n transition: background .12s ease, border-color .12s ease, color .12s ease;\n}\n.wd-shell .risk-back:hover,\n.wd-shell .tl-back:hover {\n background: var(--wd-inset);\n border-color: var(--wd-primary-ring);\n color: var(--wd-primary);\n}\n.wd-shell .risk-back:focus-visible,\n.wd-shell .tl-back:focus-visible {\n outline: 2px solid var(--wd-primary);\n outline-offset: 1px;\n}\n\n/* ---------- severity distribution figure ---------- */\n.wd-shell .risk-figure,\n.wd-shell .risk-projects {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 13px 15px 14px;\n border-radius: 11px;\n background: var(--wd-surface);\n border: 1px solid var(--wd-hairline);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .risk-figure-head {\n display: flex;\n align-items: baseline;\n gap: 9px;\n min-width: 0;\n}\n.wd-shell .risk-figure-title {\n margin: 0;\n font-size: 11.5px;\n line-height: 16px;\n font-weight: 650;\n letter-spacing: .01em;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .risk-figure-note {\n margin-left: auto;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n text-align: right;\n}\n.wd-shell .risk-caption {\n margin: 0;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n}\n\n/* ---------- lane stack ---------- */\n.wd-shell .risk-lanes {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n.wd-shell .risk-lane {\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: 10px;\n background: var(--wd-surface);\n border: 1px solid var(--wd-hairline);\n box-shadow: var(--wd-shadow-1);\n overflow: hidden;\n /* The rail: severity as the left edge of the whole lane, not as a badge. */\n border-left-width: 3px;\n border-left-style: solid;\n border-left-color: var(--wd-slate);\n}\n.wd-shell .risk-lane[data-level=\"high\"] { border-left-color: var(--wd-red); }\n.wd-shell .risk-lane[data-level=\"medium\"] { border-left-color: var(--wd-amber); }\n.wd-shell .risk-lane[data-level=\"low\"] { border-left-color: var(--wd-green); }\n.wd-shell .risk-lane[data-level=\"unset\"] { border-left-color: var(--wd-slate); }\n\n.wd-shell .risk-lane-head {\n display: flex;\n align-items: center;\n gap: 9px;\n padding: 8px 12px 7px;\n background: var(--wd-inset);\n border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .risk-lane-count {\n font-size: 12px;\n line-height: 16px;\n font-weight: 700;\n font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .risk-lane[data-level=\"high\"] .risk-lane-count { color: var(--wd-red); }\n.wd-shell .risk-lane[data-level=\"medium\"] .risk-lane-count { color: var(--wd-amber); }\n.wd-shell .risk-lane[data-level=\"low\"] .risk-lane-count { color: var(--wd-green); }\n.wd-shell .risk-lane[data-level=\"unset\"] .risk-lane-count { color: var(--wd-slate); }\n/* The share meter compares lanes; it is deliberately thin and unfilled-chrome. */\n.wd-shell .risk-lane-meter {\n flex: 1 1 auto;\n min-width: 40px;\n max-width: 180px;\n display: block;\n}\n.wd-shell .risk-lane-share {\n margin-left: auto;\n font-size: 10px;\n line-height: 14px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n}\n\n/* ---------- rows ---------- */\n.wd-shell .risk-rows {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.wd-shell .risk-row-item + .risk-row-item { border-top: 1px solid var(--wd-hairline); }\n.wd-shell .risk-row {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);\n gap: 14px;\n align-items: start;\n padding: 10px 13px 10px 12px;\n color: inherit;\n /* A severity tint on the row's own left edge, one step quieter than the rail. */\n box-shadow: inset 3px 0 0 var(--wd-slate-soft);\n transition: background .12s ease;\n}\n.wd-shell .risk-row[data-level=\"high\"] { box-shadow: inset 3px 0 0 var(--wd-red-soft); }\n.wd-shell .risk-row[data-level=\"medium\"] { box-shadow: inset 3px 0 0 var(--wd-amber-soft); }\n.wd-shell .risk-row[data-level=\"low\"] { box-shadow: inset 3px 0 0 var(--wd-green-soft); }\n.wd-shell .risk-row:hover { background: var(--wd-inset); }\n/* The row itself is not focusable; the stretched project button is. Ring the\n row so the keyboard user sees which whole row is about to open. */\n.wd-shell .risk-row:focus-within {\n background: var(--wd-inset);\n box-shadow: inset 3px 0 0 var(--wd-primary), inset 0 0 0 1px var(--wd-primary-ring);\n}\n\n.wd-shell .risk-row-main {\n display: flex;\n flex-direction: column;\n gap: 3px;\n min-width: 0;\n}\n.wd-shell .risk-name {\n font-size: 12.5px;\n line-height: 18px;\n font-weight: 650;\n color: var(--dsw-alias-label-primary);\n overflow-wrap: anywhere;\n}\n.wd-shell .risk-mitigation {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n font-size: 11px;\n line-height: 16px;\n color: var(--dsw-alias-label-secondary);\n overflow-wrap: anywhere;\n}\n.wd-shell .risk-mitigation-label {\n flex: none;\n font-size: 10px;\n line-height: 15px;\n padding: 0 5px;\n border-radius: 4px;\n background: var(--wd-slate-soft);\n color: var(--dsw-alias-label-tertiary);\n}\n\n.wd-shell .risk-row-side {\n display: flex;\n flex-direction: column;\n gap: 3px;\n align-items: flex-end;\n min-width: 0;\n}\n/* Stretched link: the button is the row's only control, and its overlay makes\n the whole row clickable. The overlay sits above the row's own background but\n below the gap note, so the note stays selectable. */\n.wd-shell .risk-project {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n max-width: 100%;\n padding: 0;\n border: 0;\n background: transparent;\n font-family: inherit;\n font-size: 11px;\n line-height: 16px;\n color: var(--wd-primary);\n cursor: pointer;\n text-align: right;\n}\n.wd-shell .risk-project::after {\n content: '';\n position: absolute;\n inset: 0;\n}\n.wd-shell .risk-project:hover { text-decoration: underline; }\n.wd-shell .risk-project:focus-visible { outline: none; }\n.wd-shell .risk-project-arrow {\n flex: none;\n opacity: .65;\n transition: transform .12s ease, opacity .12s ease;\n}\n.wd-shell .risk-row:hover .risk-project-arrow { transform: translateX(2px); opacity: 1; }\n.wd-shell .risk-gap {\n position: relative;\n z-index: 1;\n pointer-events: none;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n text-align: right;\n}\n\n/* ---------- empty state ---------- */\n.wd-shell .risk-empty,\n.wd-shell .tl-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 6px;\n padding: 34px 20px;\n border-radius: 11px;\n border: 1px dashed var(--wd-hairline);\n background: var(--wd-surface);\n}\n.wd-shell .risk-empty-mark,\n.wd-shell .tl-empty-mark {\n font-size: 18px;\n line-height: 22px;\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .risk-empty-copy,\n.wd-shell .tl-empty-copy {\n margin: 0;\n font-size: 12px;\n line-height: 18px;\n color: var(--dsw-alias-label-secondary);\n text-align: center;\n max-width: 42ch;\n}\n\n/* =========================================================================\n Timeline \u2014 distribution, silent projects, stream\n ========================================================================= */\n\n.wd-shell .tl-page {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 18px 20px 24px;\n}\n\n.wd-shell .tl-figure,\n.wd-shell .tl-silent {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 13px 15px 14px;\n border-radius: 11px;\n background: var(--wd-surface);\n border: 1px solid var(--wd-hairline);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .tl-figure-head,\n.wd-shell .tl-silent-head {\n display: flex;\n align-items: baseline;\n gap: 9px;\n min-width: 0;\n}\n.wd-shell .tl-figure-title,\n.wd-shell .tl-silent-title {\n margin: 0;\n font-size: 11.5px;\n line-height: 16px;\n font-weight: 650;\n letter-spacing: .01em;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .tl-figure-note,\n.wd-shell .tl-silent-note {\n margin-left: auto;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n text-align: right;\n}\n.wd-shell .tl-caption {\n margin: 0;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n}\n\n/* ---------- silent projects ---------- */\n.wd-shell .tl-silent {\n border-left: 3px solid var(--wd-amber);\n}\n.wd-shell .tl-silent-title { color: var(--wd-amber); }\n.wd-shell .tl-silent-chips {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n}\n.wd-shell .tl-chip-button {\n padding: 3px 10px;\n border-radius: 20px;\n border: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n color: var(--dsw-alias-label-secondary);\n font-family: inherit;\n font-size: 11.5px;\n line-height: 17px;\n cursor: pointer;\n transition: background .12s ease, color .12s ease, border-color .12s ease;\n}\n.wd-shell .tl-chip-button:hover {\n background: var(--wd-primary-soft);\n border-color: var(--wd-primary-ring);\n color: var(--wd-primary);\n}\n.wd-shell .tl-chip-button:focus-visible {\n outline: 2px solid var(--wd-primary);\n outline-offset: 1px;\n}\n.wd-shell .tl-silent-hint {\n margin: 0;\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- the stream ---------- */\n.wd-shell .tl-stream {\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n/* One month section = divider + its cards. The group is the spacing unit, so\n the stream never relies on a margin collapsing between sections. */\n.wd-shell .tl-month-group {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n/* A month divider is a plain row, never sticky: the whole stream is one\n scroll flow owned by the shell, and a sticky row inside it would fight that\n scroll container instead of helping. */\n.wd-shell .tl-month {\n display: flex;\n align-items: center;\n gap: 9px;\n padding: 2px 2px 0;\n}\n.wd-shell .tl-month-label {\n font-size: 12px;\n line-height: 16px;\n font-weight: 700;\n letter-spacing: .02em;\n font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .tl-month-count {\n font-size: 10.5px;\n line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n}\n.wd-shell .tl-month-rule {\n flex: 1 1 auto;\n height: 1px;\n background: var(--wd-hairline);\n}\n\n.wd-shell .tl-entries {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n}\n\n/* Each entry is a two-column row: the gutter owns the spine, the card owns\n the content. The spine is drawn by the gutter's ::before and the node by\n ::after, so no extra DOM node is needed for the connector. */\n.wd-shell .tl-entry {\n display: grid;\n grid-template-columns: 20px minmax(0, 1fr);\n gap: 10px;\n padding-bottom: 10px;\n}\n.wd-shell .tl-entry:last-child { padding-bottom: 0; }\n\n.wd-shell .tl-gutter {\n position: relative;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n padding-top: 11px;\n}\n.wd-shell .tl-gutter::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: -10px;\n left: 50%;\n width: 1px;\n margin-left: -.5px;\n background: var(--wd-hairline);\n}\n.wd-shell .tl-entry:last-child .tl-gutter::before { bottom: 50%; }\n.wd-shell .tl-node {\n position: relative;\n z-index: 1;\n width: 9px;\n height: 9px;\n border-radius: 50%;\n background: var(--wd-slate);\n box-shadow: 0 0 0 2px var(--wd-surface);\n}\n.wd-shell .tl-node[data-tone=\"green\"] { background: var(--wd-green); }\n.wd-shell .tl-node[data-tone=\"amber\"] { background: var(--wd-amber); }\n.wd-shell .tl-node[data-tone=\"red\"] { background: var(--wd-red); }\n\n.wd-shell .tl-card {\n display: flex;\n flex-direction: column;\n gap: 7px;\n min-width: 0;\n padding: 10px 13px 11px;\n border-radius: 10px;\n background: var(--wd-surface);\n border: 1px solid var(--wd-hairline);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .tl-card-head {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n min-width: 0;\n}\n.wd-shell .tl-date {\n font-size: 11.5px;\n line-height: 16px;\n font-weight: 700;\n font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-primary);\n}\n.wd-shell .tl-type {\n font-size: 10px;\n line-height: 15px;\n padding: 0 6px;\n border-radius: 4px;\n background: var(--wd-slate-soft);\n color: var(--dsw-alias-label-secondary);\n white-space: nowrap;\n}\n.wd-shell .tl-project {\n padding: 0;\n border: 0;\n background: transparent;\n font-family: inherit;\n font-size: 11px;\n line-height: 16px;\n color: var(--wd-primary);\n cursor: pointer;\n text-align: left;\n overflow-wrap: anywhere;\n}\n.wd-shell .tl-project:hover { text-decoration: underline; }\n.wd-shell .tl-project:focus-visible {\n outline: 2px solid var(--wd-primary);\n outline-offset: 1px;\n border-radius: 3px;\n}\n.wd-shell .tl-recog {\n margin-left: auto;\n font-size: 10.5px;\n}\n\n/* The body is a definition list: label above value, so a long goal wraps\n under its own label instead of shoving the next field to the right. */\n.wd-shell .tl-fields {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 4px;\n margin: 0;\n}\n.wd-shell .tl-field {\n display: grid;\n grid-template-columns: 54px minmax(0, 1fr);\n gap: 9px;\n align-items: baseline;\n min-width: 0;\n}\n.wd-shell .tl-field-label {\n font-size: 10.5px;\n line-height: 16px;\n color: var(--dsw-alias-label-tertiary);\n white-space: nowrap;\n}\n.wd-shell .tl-field-value {\n margin: 0;\n font-size: 12px;\n line-height: 17px;\n color: var(--dsw-alias-label-secondary);\n overflow-wrap: anywhere;\n}\n.wd-shell .tl-field-value[data-emphasis=\"strong\"] {\n color: var(--dsw-alias-label-primary);\n font-weight: 600;\n}\n.wd-shell .tl-field-value[data-emphasis=\"muted\"] { color: var(--dsw-alias-label-secondary); }\n.wd-shell .tl-field-value[data-emphasis=\"missing\"] {\n color: var(--dsw-alias-label-tertiary);\n font-style: italic;\n}\n\n/* ---------- footer chips ---------- */\n.wd-shell .tl-chips {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n padding-top: 7px;\n border-top: 1px solid var(--wd-hairline);\n margin-top: 1px;\n}\n.wd-shell .tl-chip {\n display: inline-flex;\n align-items: baseline;\n gap: 5px;\n padding: 1px 8px;\n border-radius: 20px;\n background: var(--wd-inset);\n border: 1px solid var(--wd-hairline);\n font-size: 10.5px;\n line-height: 16px;\n color: var(--dsw-alias-label-secondary);\n font-variant-numeric: tabular-nums;\n}\n.wd-shell .tl-chip-label {\n font-size: 9.5px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- narrow widths ---------- */\n@media (max-width: 720px) {\n .wd-shell .risk-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }\n .wd-shell .risk-row-side { align-items: flex-start; }\n .wd-shell .risk-gap { text-align: left; }\n .wd-shell .risk-lane-meter { display: none; }\n .wd-shell .tl-field { grid-template-columns: minmax(0, 1fr); gap: 0; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .risk-row,\n .wd-shell .tl-chip-button,\n .wd-shell .risk-project-arrow { transition: none; }\n}\n";
|