@skillre/dsh-plugin-work-dashboard 0.10.0 → 0.11.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/docs/DESIGN-/345/257/274/345/207/272/350/241/250/345/215/225/351/207/215/350/256/276/350/256/241.md +330 -0
- package/docs/DESIGN-/346/217/220/351/206/222/344/270/216Gate/350/257/204/345/256/241.md +518 -0
- package/docs/DESIGN-/350/241/250/345/215/225/345/210/206/351/230/266/346/256/265.md +420 -0
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.js +3 -1
- package/lib/client/css/base.d.ts +1 -1
- package/lib/client/css/base.js +30 -0
- package/lib/client/css/detail.d.ts +1 -1
- package/lib/client/css/detail.js +190 -18
- package/lib/client/text.js +50 -4
- package/lib/client.js +588 -584
- package/lib/form.d.ts +189 -9
- package/lib/form.js +1038 -188
- package/lib/index.js +5 -3
- package/lib/transport.d.ts +5 -2
- package/lib/transport.js +4 -1
- package/lib/types.d.ts +16 -2
- package/package.json +1 -1
- package/skills/poc-export/SKILL.md +18 -5
- package/skills/poc-submit/SKILL.md +62 -13
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.dim-card`, `.g0-`,
|
|
19
19
|
* `.plan-`, `.out-`.
|
|
20
20
|
*/
|
|
21
|
-
export declare const DETAIL_CSS = "\n/* ---------- two-pane layout ---------- */\n.wd-shell .dt-page {\n display: grid;\n grid-template-columns: 316px minmax(0, 1fr);\n align-items: start;\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }\n\n.wd-shell .dt-rail {\n position: sticky; top: 0;\n align-self: start;\n display: flex; flex-direction: column; gap: 14px;\n padding: 18px 18px 22px;\n background: var(--wd-surface);\n border-right: 1px solid var(--wd-hairline);\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }\n.wd-shell .dt-pane {\n display: flex; flex-direction: column; gap: 22px;\n padding: 20px 28px 44px;\n min-width: 0;\n}\n\n/* ---------- rail ---------- */\n.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }\n.wd-shell .dt-rail-back { margin-bottom: 4px; }\n.wd-shell .dt-rail-title {\n margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;\n letter-spacing: -.01em; overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-id { display: block; }\n.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }\n.wd-shell .dt-rail-amount {\n display: flex; flex-direction: column; gap: 1px;\n padding: 10px 12px; border-radius: 9px;\n background: var(--wd-amber-soft); border: 1px solid transparent;\n}\n.wd-shell .dt-rail-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-rail-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-rail-amount-value[data-empty=\"true\"] {\n font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .dt-rail-block-title {\n margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;\n text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* vertical stage track */\n.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }\n.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }\n.wd-shell .dt-stage:not(:last-child)::after {\n content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;\n width: 1px; background: var(--wd-hairline);\n}\n.wd-shell .dt-stage[data-done=\"true\"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }\n.wd-shell .dt-stage-marker {\n position: relative; z-index: 1; flex: none;\n width: 19px; height: 19px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n font-size: 9px; font-weight: 650;\n border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage[data-done=\"true\"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-marker {\n border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;\n box-shadow: 0 0 0 3px var(--wd-primary-soft);\n}\n.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }\n.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-label { color: var(--wd-primary); }\n.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-state { color: var(--wd-primary); }\n\n/* rail dimension summary: four compact marks, never merged into one score.\n The full cards with their origin tags live in the reading pane; the rail only\n needs to say \"which of the four exist\", because the rail is scanned, not read. */\n.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }\n.wd-shell .dim-mini {\n display: flex; align-items: center; gap: 5px; min-width: 0;\n padding: 4px 7px; border-radius: 6px;\n background: var(--wd-red-soft);\n}\n.wd-shell .dim-mini[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .dim-mini[data-present=\"true\"] .dim-mini-mark { color: var(--wd-green); }\n.wd-shell .dim-mini-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .dim-card {\n display: flex; flex-direction: column; gap: 1px; min-width: 0;\n padding: 7px 8px; border-radius: 8px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n}\n.wd-shell .dim-card[data-present=\"true\"] { border-color: transparent; background: var(--wd-green-soft); }\n.wd-shell .dim-card[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }\n.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }\n.wd-shell .dim-card[data-present=\"true\"] .dim-card-mark { color: var(--wd-green); }\n.wd-shell .dim-card[data-present=\"false\"] .dim-card-mark { color: var(--wd-red); }\n.wd-shell .dim-card-value {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .dim-card-origin {\n margin-top: 1px; font-size: 8.5px; line-height: 12px;\n color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;\n}\n.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }\n\n/* rail gaps */\n.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }\n.wd-shell .dt-rail-gap-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9px; line-height: 14px; font-weight: 650;\n padding: 0 4px; border-radius: 3px;\n}\n.wd-shell .dt-rail-gap[data-level=\"high\"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .dt-rail-gap[data-level=\"medium\"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* rail meta */\n.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-rail-meta-value {\n flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-meta-value[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* rail navigation */\n.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }\n.wd-shell .dt-rail-position { flex: 1 1 auto; text-align: center; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- section frame ---------- */\n.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .dsec-blank {\n padding: 14px; border-radius: 9px;\n border: 1px dashed var(--wd-hairline);\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n text-align: center;\n}\n.wd-shell .dsec-empty {\n display: flex; flex-direction: column; align-items: center; gap: 5px;\n padding: 30px 20px; border-radius: 10px;\n border: 1px dashed var(--wd-hairline);\n text-align: center;\n}\n.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }\n.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- prose blocks ---------- */\n.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .dt-prose-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-prose[data-empty=\"true\"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- basic information ---------- */\n.wd-shell .dt-basic-grid {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 7px 18px; margin: 0 0 12px;\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-basic-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }\n.wd-shell .dt-basic-label {\n flex: none; width: 108px;\n font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-basic-value {\n margin: 0; font-size: 12px; line-height: 17px; font-weight: 500;\n color: var(--wd-text); overflow-wrap: anywhere;\n}\n.wd-shell .dt-basic-row[data-empty=\"true\"] .dt-basic-value {\n font-weight: 400; color: var(--dsw-alias-label-tertiary); font-style: italic;\n}\n.wd-shell .dt-basic-decisions {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px; padding-top: 11px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-decisions { grid-template-columns: minmax(0, 1fr); } }\n\n/* ---------- progress stream ---------- */\n.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }\n.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }\n.wd-shell .prog-item:last-child { padding-bottom: 0; }\n.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }\n.wd-shell .prog-node {\n position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;\n background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);\n}\n.wd-shell .prog-node[data-tone=\"green\"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }\n.wd-shell .prog-node[data-tone=\"amber\"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }\n.wd-shell .prog-node[data-tone=\"red\"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }\n.wd-shell .prog-item:not(:last-child) .prog-gutter::after {\n content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;\n background: var(--wd-hairline);\n}\n.wd-shell .prog-card {\n display: flex; flex-direction: column; gap: 8px;\n padding: 12px 14px 11px; min-width: 0;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .prog-item[data-latest=\"true\"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }\n.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .prog-type { font-size: 10.5px; line-height: 16px; padding: 0 7px; border-radius: 20px; background: var(--wd-inset); border: 1px solid var(--wd-hairline); color: var(--dsw-alias-label-secondary); }\n.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }\n.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }\n.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n\n.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-pair-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .prog-actual .prog-pair-value { font-size: 12.5px; line-height: 19px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .prog-scope-label, .wd-shell .prog-block-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }\n.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }\n.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }\n.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }\n.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }\n.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }\n.wd-shell .prog-next {\n display: flex; flex-direction: column; gap: 3px;\n padding: 7px 10px; border-radius: 8px;\n border-left: 3px solid var(--wd-primary);\n background: var(--wd-primary-soft);\n}\n.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }\n.wd-shell .prog-next-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-primary);\n}\n.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }\n\n/* ---------- dimension grid (detail) ---------- */\n.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }\n@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .dim-grid-detail .dim-card {\n padding: 11px 12px; border-radius: 10px; gap: 3px;\n border-left: 3px solid var(--wd-red);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .dim-grid-detail .dim-card[data-present=\"true\"] { border-left-color: var(--wd-green); }\n.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }\n.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }\n.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }\n.wd-shell .dim-grid-detail .dim-card-origin {\n display: inline-flex; align-self: flex-start; margin-top: 2px;\n padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- G0 meter ---------- */\n.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }\n@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .g0-cell {\n display: flex; flex-direction: column; align-items: center; gap: 2px;\n padding: 8px 6px; border-radius: 8px; min-width: 0;\n background: var(--wd-red-soft); border: 1px solid transparent;\n}\n.wd-shell .g0-cell[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .g0-cell[data-present=\"true\"] .g0-cell-mark { color: var(--wd-green); }\n.wd-shell .g0-cell-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n text-align: center; overflow-wrap: anywhere;\n}\n.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .g0-field {\n display: flex; flex-direction: column; gap: 2px;\n padding: 9px 11px; border-radius: 9px;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n}\n.wd-shell .g0-field[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .g0-field-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-field[data-prose=\"true\"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }\n.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-review[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- plan ---------- */\n.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .plan-strip {\n display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\n padding: 9px 12px; border-radius: 9px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }\n.wd-shell .plan-strip-label { font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600; }\n.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-criteria {\n width: 100%; border-collapse: collapse;\n border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;\n background: var(--wd-surface);\n}\n.wd-shell .plan-criteria th {\n padding: 7px 10px; text-align: left;\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--dsw-alias-label-tertiary);\n background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-criteria td {\n padding: 8px 10px; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);\n vertical-align: top;\n}\n.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }\n.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }\n/* A scenario row carries its derived state as a left edge: the row's colour is\n the finding, so it has to survive a glance down the list. */\n.wd-shell .plan-scenario {\n display: flex; align-items: flex-start; gap: 10px;\n padding: 8px 10px 8px 9px; border-radius: 8px;\n background: var(--wd-surface); border: 1px solid var(--wd-hairline);\n border-left: 3px solid var(--wd-slate);\n}\n.wd-shell .plan-scenario[data-tone=\"green\"] { border-left-color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] { border-left-color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] { border-left-color: var(--wd-red); }\n.wd-shell .plan-scenario-no {\n flex: none; margin-top: 1px;\n 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[data-tone=\"green\"] .plan-scenario-no { color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] .plan-scenario-no { color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] .plan-scenario-no { color: var(--wd-red); }\n.wd-shell .plan-scenario-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }\n.wd-shell .plan-scenario-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-scenario-goal { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .plan-scenario-goal-label { margin-right: 5px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-scenario-tail { flex: none; display: flex; align-items: center; gap: 6px; }\n.wd-shell .plan-scenario-glyph { font-size: 10px; line-height: 14px; }\n.wd-shell .plan-scenario[data-tone=\"green\"] .plan-scenario-glyph { color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] .plan-scenario-glyph { color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] .plan-scenario-glyph { color: var(--wd-red); }\n.wd-shell .plan-scenario[data-tone=\"slate\"] .plan-scenario-glyph { color: var(--wd-slate); }\n.wd-shell .plan-scenario-evidence {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums; white-space: nowrap;\n}\n.wd-shell .plan-criterion-status { white-space: nowrap; }\n\n/* ---------- scenario detail (layer two) ---------- */\n.wd-shell .plan-scenario-open {\n flex: none; margin-left: 2px; padding: 2px 6px;\n border: 0; border-radius: 5px; background: transparent; cursor: pointer;\n font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600;\n color: var(--wd-primary);\n}\n.wd-shell .plan-scenario-open:hover { background: var(--wd-primary-soft); }\n.wd-shell .plan-scenario-open:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }\n.wd-shell .sd-back {\n align-self: flex-start; margin-bottom: 2px; padding: 3px 8px;\n border: 1px solid var(--wd-hairline); border-radius: 6px; background: var(--wd-surface); cursor: pointer;\n font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600; color: var(--wd-primary);\n}\n.wd-shell .sd-back:hover { background: var(--wd-primary-soft); }\n.wd-shell .sd-back:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }\n.wd-shell .sd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 9px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .sd-head-no {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .sd-head-name { font-size: 14px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .sd-evidence { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .sd-evidence-row {\n display: flex; align-items: baseline; gap: 9px; padding: 7px 10px;\n border-radius: 7px; background: var(--wd-inset);\n}\n.wd-shell .sd-evidence-type { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .sd-evidence-title { flex: 1; min-width: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .sd-evidence-date { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-evidence-link { flex: none; font-size: 10.5px; color: var(--wd-primary); text-decoration: none; }\n.wd-shell .sd-evidence-link:hover { text-decoration: underline; }\n.wd-shell .sd-customer { display: flex; flex-direction: column; gap: 4px; padding: 9px 11px; border-radius: 8px; background: var(--wd-inset); }\n.wd-shell .sd-customer-sync { display: flex; align-items: baseline; gap: 8px; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .sd-customer-date { font-variant-numeric: tabular-nums; }\n.wd-shell .sd-customer-feedback { margin: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .sd-gate3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .sd-gate3-note {\n font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red);\n padding: 1px 5px; border-radius: 4px; background: var(--wd-red-soft);\n}\n.wd-shell .sd-linked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .sd-linked-row {\n display: grid; grid-template-columns: 82px 34px 76px minmax(0, 1fr); gap: 8px;\n align-items: baseline; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset);\n}\n.wd-shell .sd-linked-date { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-linked-seq { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-linked-change { font-size: 9.5px; line-height: 14px; font-weight: 600; color: var(--wd-primary); }\n.wd-shell .sd-linked-actual { font-size: 11px; line-height: 16px; 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";
|
|
21
|
+
export declare const DETAIL_CSS = "\n/* ---------- page shell: banner + fixed two columns ---------- */\n.wd-shell .dt-shell {\n display: flex; flex-direction: column;\n gap: 16px;\n padding: 20px 28px 44px;\n min-height: 100%;\n}\n.wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }\n\n/* ---------- banner ---------- */\n.wd-shell .dt-header {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"main side\" \"nav nav\";\n gap: 10px 18px;\n padding: 16px 20px;\n background: var(--wd-surface);\n border: 1px solid var(--wd-hairline);\n border-radius: 10px;\n}\n.wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }\n.wd-shell .dt-header-title {\n margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;\n letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }\n.wd-shell .dt-header-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 .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }\n.wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }\n.wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }\n.wd-shell .dt-header-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-header-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 700;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-header-amount-value[data-empty=\"true\"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-header-nav {\n grid-area: nav; display: flex; align-items: center; gap: 10px;\n padding-top: 10px; border-top: 1px solid var(--wd-hairline);\n}\n.wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- the fixed two-column contract ---------- */\n.wd-shell .dt-columns {\n display: grid;\n grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);\n gap: 18px;\n align-items: start;\n}\n@media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-col-main,\n.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }\n\n/* ---------- Gate 0 card grid ---------- */\n.wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }\n.wd-shell .g0-card {\n display: flex; flex-direction: column; gap: 5px;\n padding: 10px 12px; border-radius: 8px;\n background: var(--wd-surface); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .g0-card[data-present=\"false\"] { background: var(--wd-inset); border-style: dashed; }\n.wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-card-missing {\n margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650;\n color: var(--wd-amber); background: var(--wd-amber-soft);\n padding: 1px 5px; border-radius: 4px; white-space: nowrap;\n}\n.wd-shell .g0-card-body {\n margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow-wrap: anywhere;\n}\n.wd-shell .g0-card[data-prose=\"true\"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }\n.wd-shell .g0-card-body[data-empty=\"true\"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }\n\n/* ---------- rail ---------- */\n.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }\n.wd-shell .dt-rail-back { margin-bottom: 4px; }\n.wd-shell .dt-rail-title {\n margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;\n letter-spacing: -.01em; overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-id { display: block; }\n.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }\n.wd-shell .dt-rail-amount {\n display: flex; flex-direction: column; gap: 1px;\n padding: 10px 12px; border-radius: 9px;\n background: var(--wd-amber-soft); border: 1px solid transparent;\n}\n.wd-shell .dt-rail-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-rail-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-rail-amount-value[data-empty=\"true\"] {\n font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .dt-rail-block-title {\n margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;\n text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* vertical stage track */\n.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }\n.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }\n.wd-shell .dt-stage:not(:last-child)::after {\n content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;\n width: 1px; background: var(--wd-hairline);\n}\n.wd-shell .dt-stage[data-done=\"true\"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }\n.wd-shell .dt-stage-marker {\n position: relative; z-index: 1; flex: none;\n width: 19px; height: 19px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n font-size: 9px; font-weight: 650;\n border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage[data-done=\"true\"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-marker {\n border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;\n box-shadow: 0 0 0 3px var(--wd-primary-soft);\n}\n.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }\n.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-label { color: var(--wd-primary); }\n.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-state { color: var(--wd-primary); }\n\n/* rail dimension summary: four compact marks, never merged into one score.\n The full cards with their origin tags live in the reading pane; the rail only\n needs to say \"which of the four exist\", because the rail is scanned, not read. */\n.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }\n.wd-shell .dim-mini {\n display: flex; align-items: center; gap: 5px; min-width: 0;\n padding: 4px 7px; border-radius: 6px;\n background: var(--wd-red-soft);\n}\n.wd-shell .dim-mini[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .dim-mini[data-present=\"true\"] .dim-mini-mark { color: var(--wd-green); }\n.wd-shell .dim-mini-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .dim-card {\n display: flex; flex-direction: column; gap: 1px; min-width: 0;\n padding: 7px 8px; border-radius: 8px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n}\n.wd-shell .dim-card[data-present=\"true\"] { border-color: transparent; background: var(--wd-green-soft); }\n.wd-shell .dim-card[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }\n.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }\n.wd-shell .dim-card[data-present=\"true\"] .dim-card-mark { color: var(--wd-green); }\n.wd-shell .dim-card[data-present=\"false\"] .dim-card-mark { color: var(--wd-red); }\n.wd-shell .dim-card-value {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .dim-card-origin {\n margin-top: 1px; font-size: 8.5px; line-height: 12px;\n color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;\n}\n.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }\n\n/* rail gaps */\n.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }\n.wd-shell .dt-rail-gap-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9px; line-height: 14px; font-weight: 650;\n padding: 0 4px; border-radius: 3px;\n}\n.wd-shell .dt-rail-gap[data-level=\"high\"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .dt-rail-gap[data-level=\"medium\"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* rail meta */\n.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-rail-meta-value {\n flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-meta-value[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* rail navigation */\n.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }\n.wd-shell .dt-rail-position { flex: 1 1 auto; text-align: center; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- section frame ---------- */\n.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .dsec-blank {\n padding: 14px; border-radius: 9px;\n border: 1px dashed var(--wd-hairline);\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n text-align: center;\n}\n.wd-shell .dsec-empty {\n display: flex; flex-direction: column; align-items: center; gap: 5px;\n padding: 30px 20px; border-radius: 10px;\n border: 1px dashed var(--wd-hairline);\n text-align: center;\n}\n.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }\n.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- prose blocks ---------- */\n.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .dt-prose-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-prose[data-empty=\"true\"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- basic information ---------- */\n.wd-shell .dt-basic-grid {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 7px 18px; margin: 0 0 12px;\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-basic-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }\n.wd-shell .dt-basic-label {\n flex: none; width: 108px;\n font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-basic-value {\n margin: 0; font-size: 12px; line-height: 17px; font-weight: 500;\n color: var(--wd-text); overflow-wrap: anywhere;\n}\n.wd-shell .dt-basic-row[data-empty=\"true\"] .dt-basic-value {\n font-weight: 400; color: var(--dsw-alias-label-tertiary); font-style: italic;\n}\n.wd-shell .dt-basic-decisions {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px; padding-top: 11px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-decisions { grid-template-columns: minmax(0, 1fr); } }\n\n/* ---------- progress stream ---------- */\n.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }\n.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }\n.wd-shell .prog-item:last-child { padding-bottom: 0; }\n.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }\n.wd-shell .prog-node {\n position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;\n background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);\n}\n.wd-shell .prog-node[data-tone=\"green\"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }\n.wd-shell .prog-node[data-tone=\"amber\"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }\n.wd-shell .prog-node[data-tone=\"red\"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }\n.wd-shell .prog-item:not(:last-child) .prog-gutter::after {\n content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;\n background: var(--wd-hairline);\n}\n.wd-shell .prog-card {\n display: flex; flex-direction: column; gap: 8px;\n padding: 12px 14px 11px; min-width: 0;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .prog-item[data-latest=\"true\"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }\n.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .prog-type { font-size: 10.5px; line-height: 16px; padding: 0 7px; border-radius: 20px; background: var(--wd-inset); border: 1px solid var(--wd-hairline); color: var(--dsw-alias-label-secondary); }\n.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }\n.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }\n.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n\n.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-pair-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .prog-actual .prog-pair-value { font-size: 12.5px; line-height: 19px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .prog-scope-label, .wd-shell .prog-block-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }\n.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }\n.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }\n.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }\n.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }\n.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }\n.wd-shell .prog-next {\n display: flex; flex-direction: column; gap: 3px;\n padding: 7px 10px; border-radius: 8px;\n border-left: 3px solid var(--wd-primary);\n background: var(--wd-primary-soft);\n}\n.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }\n.wd-shell .prog-next-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-primary);\n}\n.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }\n\n/* ---------- dimension grid (detail) ---------- */\n.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }\n@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .dim-grid-detail .dim-card {\n padding: 11px 12px; border-radius: 10px; gap: 3px;\n border-left: 3px solid var(--wd-red);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .dim-grid-detail .dim-card[data-present=\"true\"] { border-left-color: var(--wd-green); }\n.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }\n.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }\n.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }\n.wd-shell .dim-grid-detail .dim-card-origin {\n display: inline-flex; align-self: flex-start; margin-top: 2px;\n padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- G0 meter ---------- */\n.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }\n@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .g0-cell {\n display: flex; flex-direction: column; align-items: center; gap: 2px;\n padding: 8px 6px; border-radius: 8px; min-width: 0;\n background: var(--wd-red-soft); border: 1px solid transparent;\n}\n.wd-shell .g0-cell[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .g0-cell[data-present=\"true\"] .g0-cell-mark { color: var(--wd-green); }\n.wd-shell .g0-cell-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n text-align: center; overflow-wrap: anywhere;\n}\n.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .g0-field {\n display: flex; flex-direction: column; gap: 2px;\n padding: 9px 11px; border-radius: 9px;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n}\n.wd-shell .g0-field[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .g0-field-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-field[data-prose=\"true\"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }\n.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-review[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- plan ---------- */\n.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .plan-strip {\n display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\n padding: 9px 12px; border-radius: 9px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }\n.wd-shell .plan-strip-label { font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600; }\n.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-criteria {\n width: 100%; border-collapse: collapse;\n border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;\n background: var(--wd-surface);\n}\n.wd-shell .plan-criteria th {\n padding: 7px 10px; text-align: left;\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--dsw-alias-label-tertiary);\n background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-criteria td {\n padding: 8px 10px; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);\n vertical-align: top;\n}\n.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }\n.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }\n/* A scenario row carries its derived state as a left edge: the row's colour is\n the finding, so it has to survive a glance down the list. */\n.wd-shell .plan-scenario {\n display: flex; align-items: flex-start; gap: 10px;\n padding: 8px 10px 8px 9px; border-radius: 8px;\n background: var(--wd-surface); border: 1px solid var(--wd-hairline);\n border-left: 3px solid var(--wd-slate);\n}\n.wd-shell .plan-scenario[data-tone=\"green\"] { border-left-color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] { border-left-color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] { border-left-color: var(--wd-red); }\n.wd-shell .plan-scenario-no {\n flex: none; margin-top: 1px;\n 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[data-tone=\"green\"] .plan-scenario-no { color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] .plan-scenario-no { color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] .plan-scenario-no { color: var(--wd-red); }\n.wd-shell .plan-scenario-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }\n.wd-shell .plan-scenario-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-scenario-goal { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .plan-scenario-goal-label { margin-right: 5px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-scenario-tail { flex: none; display: flex; align-items: center; gap: 6px; }\n.wd-shell .plan-scenario-glyph { font-size: 10px; line-height: 14px; }\n.wd-shell .plan-scenario[data-tone=\"green\"] .plan-scenario-glyph { color: var(--wd-green); }\n.wd-shell .plan-scenario[data-tone=\"amber\"] .plan-scenario-glyph { color: var(--wd-amber); }\n.wd-shell .plan-scenario[data-tone=\"red\"] .plan-scenario-glyph { color: var(--wd-red); }\n.wd-shell .plan-scenario[data-tone=\"slate\"] .plan-scenario-glyph { color: var(--wd-slate); }\n.wd-shell .plan-scenario-evidence {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums; white-space: nowrap;\n}\n.wd-shell .plan-criterion-status { white-space: nowrap; }\n\n/* ---------- scenario legend ---------- */\n.wd-shell .plan-scenario-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2px; }\n.wd-shell .plan-scenario-legend-item { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-scenario-legend-item[data-tone=\"green\"] { color: var(--wd-green); }\n.wd-shell .plan-scenario-legend-item[data-tone=\"amber\"] { color: var(--wd-amber); }\n.wd-shell .plan-scenario-legend-item[data-tone=\"red\"] { color: var(--wd-red); }\n\n/* ---------- next actions ---------- */\n.wd-shell .next-table {\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 .next-table 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 .next-table 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 .next-table tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .next-deadline { font-variant-numeric: tabular-nums; }\n\n/* ---------- scenario detail (layer two) ---------- */\n.wd-shell .plan-scenario-open {\n flex: none; margin-left: 2px; padding: 2px 6px;\n border: 0; border-radius: 5px; background: transparent; cursor: pointer;\n font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600;\n color: var(--wd-primary);\n}\n.wd-shell .plan-scenario-open:hover { background: var(--wd-primary-soft); }\n.wd-shell .plan-scenario-open:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }\n.wd-shell .sd-back {\n align-self: flex-start; margin-bottom: 2px; padding: 3px 8px;\n border: 1px solid var(--wd-hairline); border-radius: 6px; background: var(--wd-surface); cursor: pointer;\n font-family: inherit; font-size: 10.5px; line-height: 15px; font-weight: 600; color: var(--wd-primary);\n}\n.wd-shell .sd-back:hover { background: var(--wd-primary-soft); }\n.wd-shell .sd-back:focus-visible { outline: 2px solid var(--wd-primary-ring); outline-offset: 1px; }\n.wd-shell .sd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 9px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .sd-head-no {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .sd-head-name { font-size: 14px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .sd-evidence { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .sd-evidence-row {\n display: flex; align-items: baseline; gap: 9px; padding: 7px 10px;\n border-radius: 7px; background: var(--wd-inset);\n}\n.wd-shell .sd-evidence-type { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .sd-evidence-title { flex: 1; min-width: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .sd-evidence-date { flex: none; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-evidence-link { flex: none; font-size: 10.5px; color: var(--wd-primary); text-decoration: none; }\n.wd-shell .sd-evidence-link:hover { text-decoration: underline; }\n.wd-shell .sd-customer { display: flex; flex-direction: column; gap: 4px; padding: 9px 11px; border-radius: 8px; background: var(--wd-inset); }\n.wd-shell .sd-customer-sync { display: flex; align-items: baseline; gap: 8px; font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .sd-customer-date { font-variant-numeric: tabular-nums; }\n.wd-shell .sd-customer-feedback { margin: 0; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .sd-gate3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .sd-gate3-note {\n font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red);\n padding: 1px 5px; border-radius: 4px; background: var(--wd-red-soft);\n}\n.wd-shell .sd-linked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .sd-linked-row {\n display: grid; grid-template-columns: 82px 34px 76px minmax(0, 1fr); gap: 8px;\n align-items: baseline; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset);\n}\n.wd-shell .sd-linked-date { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-linked-seq { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .sd-linked-change { font-size: 9.5px; line-height: 14px; font-weight: 600; color: var(--wd-primary); }\n.wd-shell .sd-linked-actual { font-size: 11px; line-height: 16px; 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\n/* ================= v3.1 layout: banner + fixed two columns ================= */\n.wd-shell .dt-shell { display: flex; flex-direction: column; gap: 16px; padding: 20px 28px 44px; min-height: 100%; }\n.wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }\n\n.wd-shell .dt-header {\n display: grid; grid-template-columns: minmax(0, 1fr) auto;\n grid-template-areas: \"main side\" \"nav nav\"; gap: 10px 18px;\n padding: 16px 20px; background: var(--wd-surface);\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n}\n.wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }\n.wd-shell .dt-header-title {\n margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;\n letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }\n.wd-shell .dt-header-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }\n.wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }\n.wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; }\n.wd-shell .dt-header-amount-label { font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--wd-amber); }\n.wd-shell .dt-header-amount-value { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em; }\n.wd-shell .dt-header-amount-value[data-empty=\"true\"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-header-nav { grid-area: nav; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--wd-hairline); }\n.wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n.wd-shell .dt-columns { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 18px; align-items: start; }\n@media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-col-main,\n.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }\n\n.wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }\n.wd-shell .g0-card { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 8px; background: var(--wd-surface); border: 1px solid var(--wd-hairline); }\n.wd-shell .g0-card[data-present=\"false\"] { background: var(--wd-inset); border-style: dashed; }\n.wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-card-missing { margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650; color: var(--wd-amber); background: var(--wd-amber-soft); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }\n.wd-shell .g0-card-body { margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .g0-card[data-prose=\"true\"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }\n.wd-shell .g0-card-body[data-empty=\"true\"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }\n\n.wd-shell .next-table { width: 100%; border-collapse: collapse; border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden; background: var(--wd-surface); }\n.wd-shell .next-table th { padding: 7px 10px; text-align: left; font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary); background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .next-table td { padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline); vertical-align: top; }\n.wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .next-deadline { font-variant-numeric: tabular-nums; }\n\n/*\n * Balance the columns.\n *\n * The progress stream grows without limit (one card per round), while the left\n * column holds a fixed set of commitments. Left alone, a project with ten rounds\n * leaves the commitments column looking half-empty. Capping the stream keeps the\n * two columns visually comparable and gives the reader an obvious scroll target,\n * while every round stays reachable.\n */\n.wd-shell .dt-col-side .prog-stream {\n max-height: none; overflow-y: visible;\n padding-right: 4px;\n scrollbar-width: thin;\n}\n.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }\n.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }\n\n/* ---------- compact timeline row ---------- */\n.wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }\n.wd-shell .prog-card-compact .prog-head { gap: 8px; }\n.wd-shell .prog-change {\n font-size: 9px; line-height: 13px; font-weight: 650;\n color: var(--wd-primary); background: var(--wd-primary-soft);\n padding: 1px 5px; border-radius: 4px; white-space: nowrap;\n}\n.wd-shell .prog-actual-line {\n margin: 0; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .prog-actual-line[data-empty=\"true\"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-scope-row { margin-top: 1px; }\n";
|
package/lib/client/css/detail.js
CHANGED
|
@@ -19,30 +19,90 @@
|
|
|
19
19
|
* `.plan-`, `.out-`.
|
|
20
20
|
*/
|
|
21
21
|
export const DETAIL_CSS = `
|
|
22
|
-
/* ---------- two
|
|
23
|
-
.wd-shell .dt-
|
|
24
|
-
display:
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
/* ---------- page shell: banner + fixed two columns ---------- */
|
|
23
|
+
.wd-shell .dt-shell {
|
|
24
|
+
display: flex; flex-direction: column;
|
|
25
|
+
gap: 16px;
|
|
26
|
+
padding: 20px 28px 44px;
|
|
27
27
|
min-height: 100%;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
.wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
/* ---------- banner ---------- */
|
|
32
|
+
.wd-shell .dt-header {
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
35
|
+
grid-template-areas: "main side" "nav nav";
|
|
36
|
+
gap: 10px 18px;
|
|
37
|
+
padding: 16px 20px;
|
|
36
38
|
background: var(--wd-surface);
|
|
37
|
-
border
|
|
38
|
-
|
|
39
|
+
border: 1px solid var(--wd-hairline);
|
|
40
|
+
border-radius: 10px;
|
|
39
41
|
}
|
|
40
|
-
|
|
41
|
-
.wd-shell .dt-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
.wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
43
|
+
.wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }
|
|
44
|
+
.wd-shell .dt-header-title {
|
|
45
|
+
margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;
|
|
46
|
+
letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;
|
|
45
47
|
}
|
|
48
|
+
.wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
|
|
49
|
+
.wd-shell .dt-header-id {
|
|
50
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
51
|
+
font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);
|
|
52
|
+
}
|
|
53
|
+
.wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
54
|
+
.wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }
|
|
55
|
+
.wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
|
|
56
|
+
.wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
|
|
57
|
+
.wd-shell .dt-header-amount-label {
|
|
58
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
|
|
59
|
+
font-weight: 600; color: var(--wd-amber);
|
|
60
|
+
}
|
|
61
|
+
.wd-shell .dt-header-amount-value {
|
|
62
|
+
font-size: 22px; line-height: 28px; font-weight: 700;
|
|
63
|
+
font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;
|
|
64
|
+
}
|
|
65
|
+
.wd-shell .dt-header-amount-value[data-empty="true"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
66
|
+
.wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
67
|
+
.wd-shell .dt-header-nav {
|
|
68
|
+
grid-area: nav; display: flex; align-items: center; gap: 10px;
|
|
69
|
+
padding-top: 10px; border-top: 1px solid var(--wd-hairline);
|
|
70
|
+
}
|
|
71
|
+
.wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
72
|
+
|
|
73
|
+
/* ---------- the fixed two-column contract ---------- */
|
|
74
|
+
.wd-shell .dt-columns {
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
|
|
77
|
+
gap: 18px;
|
|
78
|
+
align-items: start;
|
|
79
|
+
}
|
|
80
|
+
@media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }
|
|
81
|
+
.wd-shell .dt-col-main,
|
|
82
|
+
.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
|
|
83
|
+
|
|
84
|
+
/* ---------- Gate 0 card grid ---------- */
|
|
85
|
+
.wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
|
86
|
+
.wd-shell .g0-card {
|
|
87
|
+
display: flex; flex-direction: column; gap: 5px;
|
|
88
|
+
padding: 10px 12px; border-radius: 8px;
|
|
89
|
+
background: var(--wd-surface); border: 1px solid var(--wd-hairline);
|
|
90
|
+
}
|
|
91
|
+
.wd-shell .g0-card[data-present="false"] { background: var(--wd-inset); border-style: dashed; }
|
|
92
|
+
.wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }
|
|
93
|
+
.wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
94
|
+
.wd-shell .g0-card-missing {
|
|
95
|
+
margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650;
|
|
96
|
+
color: var(--wd-amber); background: var(--wd-amber-soft);
|
|
97
|
+
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
98
|
+
}
|
|
99
|
+
.wd-shell .g0-card-body {
|
|
100
|
+
margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);
|
|
101
|
+
overflow-wrap: anywhere;
|
|
102
|
+
}
|
|
103
|
+
.wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
104
|
+
.wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
105
|
+
.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
|
|
46
106
|
|
|
47
107
|
/* ---------- rail ---------- */
|
|
48
108
|
.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
|
|
@@ -412,6 +472,34 @@ export const DETAIL_CSS = `
|
|
|
412
472
|
}
|
|
413
473
|
.wd-shell .plan-criterion-status { white-space: nowrap; }
|
|
414
474
|
|
|
475
|
+
/* ---------- scenario legend ---------- */
|
|
476
|
+
.wd-shell .plan-scenario-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2px; }
|
|
477
|
+
.wd-shell .plan-scenario-legend-item { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
478
|
+
.wd-shell .plan-scenario-legend-item[data-tone="green"] { color: var(--wd-green); }
|
|
479
|
+
.wd-shell .plan-scenario-legend-item[data-tone="amber"] { color: var(--wd-amber); }
|
|
480
|
+
.wd-shell .plan-scenario-legend-item[data-tone="red"] { color: var(--wd-red); }
|
|
481
|
+
|
|
482
|
+
/* ---------- next actions ---------- */
|
|
483
|
+
.wd-shell .next-table {
|
|
484
|
+
width: 100%; border-collapse: collapse;
|
|
485
|
+
border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;
|
|
486
|
+
background: var(--wd-surface);
|
|
487
|
+
}
|
|
488
|
+
.wd-shell .next-table th {
|
|
489
|
+
padding: 7px 10px; text-align: left;
|
|
490
|
+
font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
|
|
491
|
+
font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
492
|
+
background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);
|
|
493
|
+
}
|
|
494
|
+
.wd-shell .next-table td {
|
|
495
|
+
padding: 8px 10px; font-size: 11.5px; line-height: 17px;
|
|
496
|
+
color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);
|
|
497
|
+
vertical-align: top;
|
|
498
|
+
}
|
|
499
|
+
.wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }
|
|
500
|
+
.wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
501
|
+
.wd-shell .next-deadline { font-variant-numeric: tabular-nums; }
|
|
502
|
+
|
|
415
503
|
/* ---------- scenario detail (layer two) ---------- */
|
|
416
504
|
.wd-shell .plan-scenario-open {
|
|
417
505
|
flex: none; margin-left: 2px; padding: 2px 6px;
|
|
@@ -499,4 +587,88 @@ export const DETAIL_CSS = `
|
|
|
499
587
|
@media (prefers-reduced-motion: reduce) {
|
|
500
588
|
.wd-shell .dim-card, .wd-shell .prog-card { transition: none; }
|
|
501
589
|
}
|
|
590
|
+
|
|
591
|
+
/* ================= v3.1 layout: banner + fixed two columns ================= */
|
|
592
|
+
.wd-shell .dt-shell { display: flex; flex-direction: column; gap: 16px; padding: 20px 28px 44px; min-height: 100%; }
|
|
593
|
+
.wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }
|
|
594
|
+
|
|
595
|
+
.wd-shell .dt-header {
|
|
596
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto;
|
|
597
|
+
grid-template-areas: "main side" "nav nav"; gap: 10px 18px;
|
|
598
|
+
padding: 16px 20px; background: var(--wd-surface);
|
|
599
|
+
border: 1px solid var(--wd-hairline); border-radius: 10px;
|
|
600
|
+
}
|
|
601
|
+
.wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
602
|
+
.wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }
|
|
603
|
+
.wd-shell .dt-header-title {
|
|
604
|
+
margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;
|
|
605
|
+
letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;
|
|
606
|
+
}
|
|
607
|
+
.wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
|
|
608
|
+
.wd-shell .dt-header-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
609
|
+
.wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
610
|
+
.wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }
|
|
611
|
+
.wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
|
|
612
|
+
.wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; }
|
|
613
|
+
.wd-shell .dt-header-amount-label { font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--wd-amber); }
|
|
614
|
+
.wd-shell .dt-header-amount-value { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em; }
|
|
615
|
+
.wd-shell .dt-header-amount-value[data-empty="true"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
616
|
+
.wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
617
|
+
.wd-shell .dt-header-nav { grid-area: nav; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--wd-hairline); }
|
|
618
|
+
.wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
619
|
+
|
|
620
|
+
.wd-shell .dt-columns { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 18px; align-items: start; }
|
|
621
|
+
@media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }
|
|
622
|
+
.wd-shell .dt-col-main,
|
|
623
|
+
.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
|
|
624
|
+
|
|
625
|
+
.wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
|
626
|
+
.wd-shell .g0-card { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 8px; background: var(--wd-surface); border: 1px solid var(--wd-hairline); }
|
|
627
|
+
.wd-shell .g0-card[data-present="false"] { background: var(--wd-inset); border-style: dashed; }
|
|
628
|
+
.wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }
|
|
629
|
+
.wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
630
|
+
.wd-shell .g0-card-missing { margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650; color: var(--wd-amber); background: var(--wd-amber-soft); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
|
|
631
|
+
.wd-shell .g0-card-body { margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
632
|
+
.wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
633
|
+
.wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
634
|
+
.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
|
|
635
|
+
|
|
636
|
+
.wd-shell .next-table { width: 100%; border-collapse: collapse; border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden; background: var(--wd-surface); }
|
|
637
|
+
.wd-shell .next-table th { padding: 7px 10px; text-align: left; font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary); background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline); }
|
|
638
|
+
.wd-shell .next-table td { padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline); vertical-align: top; }
|
|
639
|
+
.wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }
|
|
640
|
+
.wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
641
|
+
.wd-shell .next-deadline { font-variant-numeric: tabular-nums; }
|
|
642
|
+
|
|
643
|
+
/*
|
|
644
|
+
* Balance the columns.
|
|
645
|
+
*
|
|
646
|
+
* The progress stream grows without limit (one card per round), while the left
|
|
647
|
+
* column holds a fixed set of commitments. Left alone, a project with ten rounds
|
|
648
|
+
* leaves the commitments column looking half-empty. Capping the stream keeps the
|
|
649
|
+
* two columns visually comparable and gives the reader an obvious scroll target,
|
|
650
|
+
* while every round stays reachable.
|
|
651
|
+
*/
|
|
652
|
+
.wd-shell .dt-col-side .prog-stream {
|
|
653
|
+
max-height: none; overflow-y: visible;
|
|
654
|
+
padding-right: 4px;
|
|
655
|
+
scrollbar-width: thin;
|
|
656
|
+
}
|
|
657
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }
|
|
658
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }
|
|
659
|
+
|
|
660
|
+
/* ---------- compact timeline row ---------- */
|
|
661
|
+
.wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }
|
|
662
|
+
.wd-shell .prog-card-compact .prog-head { gap: 8px; }
|
|
663
|
+
.wd-shell .prog-change {
|
|
664
|
+
font-size: 9px; line-height: 13px; font-weight: 650;
|
|
665
|
+
color: var(--wd-primary); background: var(--wd-primary-soft);
|
|
666
|
+
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
667
|
+
}
|
|
668
|
+
.wd-shell .prog-actual-line {
|
|
669
|
+
margin: 0; font-size: 11.5px; line-height: 17px;
|
|
670
|
+
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
671
|
+
}
|
|
672
|
+
.wd-shell .prog-actual-line[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
673
|
+
.wd-shell .prog-scope-row { margin-top: 1px; }
|
|
502
674
|
`;
|
package/lib/client/text.js
CHANGED
|
@@ -160,12 +160,25 @@ export const zh = {
|
|
|
160
160
|
exportSelectNone: '清空',
|
|
161
161
|
exportSelected: '已选 {count} 个项目',
|
|
162
162
|
exportBlank: '只导出空白表单(新建项目用)',
|
|
163
|
-
exportBlankHint: '
|
|
163
|
+
exportBlankHint: '还没勾选项目。至少选一个,否则表单里没有可补充的对象。',
|
|
164
|
+
// The three intents. They differ in WHAT the form asks, not just how much it
|
|
165
|
+
// shows, so each carries a one-line explanation rather than a bare label.
|
|
166
|
+
exportIntentLabel: '这次要做什么',
|
|
167
|
+
exportIntentNew: '新建项目',
|
|
168
|
+
exportIntentNewHint: '立项登记:身份 + G0 五必填',
|
|
169
|
+
exportIntentSupplement: '补充信息',
|
|
170
|
+
exportIntentSupplementHint: '只填当前阶段该填的,其余只读',
|
|
171
|
+
exportIntentProgress: '记录进展',
|
|
172
|
+
exportIntentProgressHint: '只填这一轮,一屏完成',
|
|
173
|
+
exportNewHint: '新建项目表单只问两件事:项目身份,和 G0 的五个必填项。计划(指标、场景)留到 G1 再填——台账也是 G0 通过之后才要求计划。',
|
|
174
|
+
exportStageFilterLabel: '按阶段筛选',
|
|
175
|
+
exportStageAll: '全部阶段',
|
|
176
|
+
exportStageEmpty: '这个阶段下没有项目。',
|
|
177
|
+
exportHint: '表单完全离线可用:没有 CDN、没有外部字体、没有服务器。填完下载的变更集(.json)发给项目负责人,由他合并进台账。',
|
|
164
178
|
exportGenerate: '生成并下载',
|
|
165
179
|
exportGenerating: '正在生成…',
|
|
166
180
|
exportDone: '已下载 {name}',
|
|
167
181
|
exportSize: '{kb} KB',
|
|
168
|
-
exportHint: '表单完全离线可用:没有 CDN、没有外部字体、没有服务器。填完导出的 .yaml 可以直接拖进本插件的导入页。',
|
|
169
182
|
exportNoProjects: '先点【刷新】拉到数据,才能导出已有项目的表单。',
|
|
170
183
|
exportFailed: '生成表单失败',
|
|
171
184
|
// Milestone 3: risk board
|
|
@@ -518,6 +531,17 @@ export const zh = {
|
|
|
518
531
|
dtPlanScenarioEvidence: '{count} 项证据',
|
|
519
532
|
dtProgressCountLabel: '{count} 条',
|
|
520
533
|
dtPlanScenarioDetail: '详情',
|
|
534
|
+
dtG0GridTitle: 'Gate 0 · 关键信息区',
|
|
535
|
+
dtG0ReviewTitle: 'G0 Review',
|
|
536
|
+
dtG0Answered: '{answered} / {total} 已填',
|
|
537
|
+
dtG0MissingNote: '还有 {count} 项必填没写。G0 不齐,后面所有判断都不可信。',
|
|
538
|
+
dtNextActionsTitle: '下一步工作目标及计划',
|
|
539
|
+
dtNextActionsKicker: '承接 outcome.business.milestone / progress[].next',
|
|
540
|
+
dtNextActionsNone: '还没有下一步。POC 做成了却没有下一步,是最容易漏掉、商业价值最高的缺口。',
|
|
541
|
+
dtNextGoal: '目标',
|
|
542
|
+
dtNextOwner: '负责人',
|
|
543
|
+
dtNextDeadline: '截止',
|
|
544
|
+
dtNextStatus: '状态',
|
|
521
545
|
dtScenarioBack: '返回总览',
|
|
522
546
|
dtScenarioTitle: '场景详情',
|
|
523
547
|
dtScenarioGoal: '成功目标',
|
|
@@ -724,12 +748,23 @@ export const en = {
|
|
|
724
748
|
exportSelectNone: 'Clear',
|
|
725
749
|
exportSelected: '{count} project(s) selected',
|
|
726
750
|
exportBlank: 'Export a blank form only (for a new project)',
|
|
727
|
-
exportBlankHint: '
|
|
751
|
+
exportBlankHint: 'Nothing selected yet. Pick at least one project, or there is nothing to fill in.',
|
|
752
|
+
exportIntentLabel: 'What is this for',
|
|
753
|
+
exportIntentNew: 'New project',
|
|
754
|
+
exportIntentNewHint: 'Registration: identity + the five G0 requirements',
|
|
755
|
+
exportIntentSupplement: 'Fill in a stage',
|
|
756
|
+
exportIntentSupplementHint: 'Only the current stage is editable',
|
|
757
|
+
exportIntentProgress: 'Record progress',
|
|
758
|
+
exportIntentProgressHint: 'One round, one screen',
|
|
759
|
+
exportNewHint: 'A new-project form asks only two things: the project identity, and the five Gate 0 requirements. The plan (criteria, scenarios) waits for G1 — the ledger only demands a plan after G0 passes.',
|
|
760
|
+
exportStageFilterLabel: 'Filter by stage',
|
|
761
|
+
exportStageAll: 'All stages',
|
|
762
|
+
exportStageEmpty: 'No projects at this stage.',
|
|
763
|
+
exportHint: 'The form works fully offline: no CDN, no external fonts, no server. The change set (.json) it produces goes to the project owner, who merges it into the ledger.',
|
|
728
764
|
exportGenerate: 'Generate and download',
|
|
729
765
|
exportGenerating: 'Generating…',
|
|
730
766
|
exportDone: 'Downloaded {name}',
|
|
731
767
|
exportSize: '{kb} KB',
|
|
732
|
-
exportHint: 'The form works fully offline: no CDN, no external fonts, no server. The .yaml it produces can be dropped straight into this plugin\'s import page.',
|
|
733
768
|
exportNoProjects: 'Refresh first to pull the ledger before exporting an existing project.',
|
|
734
769
|
exportFailed: 'Could not generate the form',
|
|
735
770
|
// Milestone 3: risk board
|
|
@@ -1083,6 +1118,17 @@ export const en = {
|
|
|
1083
1118
|
dtPlanScenarioEvidence: '{count} evidence',
|
|
1084
1119
|
dtProgressCountLabel: '{count} entries',
|
|
1085
1120
|
dtPlanScenarioDetail: 'Detail',
|
|
1121
|
+
dtG0GridTitle: 'Gate 0 · key information',
|
|
1122
|
+
dtG0ReviewTitle: 'G0 review',
|
|
1123
|
+
dtG0Answered: '{answered} / {total} answered',
|
|
1124
|
+
dtG0MissingNote: '{count} required answer(s) still missing. Until G0 is complete, nothing downstream is trustworthy.',
|
|
1125
|
+
dtNextActionsTitle: 'Next steps',
|
|
1126
|
+
dtNextActionsKicker: 'outcome.business.milestone / progress[].next',
|
|
1127
|
+
dtNextActionsNone: 'No next step yet. A pilot that worked with nothing following is the most expensive gap.',
|
|
1128
|
+
dtNextGoal: 'Goal',
|
|
1129
|
+
dtNextOwner: 'Owner',
|
|
1130
|
+
dtNextDeadline: 'Due',
|
|
1131
|
+
dtNextStatus: 'Status',
|
|
1086
1132
|
dtScenarioBack: 'Back to overview',
|
|
1087
1133
|
dtScenarioTitle: 'Scenario detail',
|
|
1088
1134
|
dtScenarioGoal: 'Success goal',
|