@skillre/dsh-plugin-work-dashboard 0.11.0 → 0.12.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/compatibility.json +45 -0
- package/docs/DESIGN-/346/226/207/346/234/254/346/210/252/346/226/255.md +565 -0
- package/lib/client/css/detail.d.ts +2 -3
- package/lib/client/css/detail.js +59 -317
- package/lib/client/css/overview.d.ts +1 -1
- package/lib/client/css/overview.js +13 -2
- package/lib/client/text.js +4 -4
- package/lib/client.js +77 -323
- package/lib/form.d.ts +144 -5
- package/lib/form.js +1331 -206
- package/package.json +1 -1
- package/skills/poc-export/SKILL.md +70 -27
- package/skills/poc-export/scripts/export-form.mjs +110 -611
- package/skills/poc-submit/SKILL.md +57 -3
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* (risks), and a callout (the next milestone — the one thing the ledger most
|
|
16
16
|
* often forgets).
|
|
17
17
|
*
|
|
18
|
-
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.
|
|
19
|
-
* `.plan-`, `.out-`.
|
|
18
|
+
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.g0-`, `.plan-`, `.out-`.
|
|
20
19
|
*/
|
|
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";
|
|
20
|
+
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/* 'align-items: start' keeps every card at its own content height. The default\n 'stretch' would force a one-line answer and a ten-line argument sharing a row\n to be equally tall, leaving a hollow block under the short one that reads as\n \"this card was never finished\". The short answers stay visually even anyway:\n they are all one or two lines. */\n.wd-shell .g0-grid {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px; align-items: start;\n}\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/* Every G0 answer keeps its own line breaks. The ledger stores these fields as\n structured prose \u2014 '\u4E3A\u4EC0\u4E48\u6D4B\u8BD5\uFF1A' / numbered points / a blank line / '\u4E0B\u4E00\u6B65\u52A8\u4F5C\n \u548C\u76EE\u6807\uFF1A' \u2014 and 'white-space: normal' collapses all of that into one run-on\n paragraph: the numbers detach from their items and the second heading vanishes\n into the body. 71% of the ledger's non-empty G0 answers carry such breaks. */\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; white-space: pre-wrap;\n}\n/* The two narrative answers are NOT clamped.\n *\n * An earlier version cut them at three lines, which silently hid 62% of the\n * ledger's G0 arguments (up to 7 of a field's 10 lines) with no ellipsis and no\n * expand affordance. These two fields are the densest content the ledger holds;\n * a page that claims to be \"read, not skimmed\" cannot truncate them. They are\n * given a heavier weight instead, so an argument reads as evidence rather than\n * as another one-line answer. */\n.wd-shell .g0-card[data-prose=\"true\"] .g0-card-body {\n font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-primary);\n}\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\n/* vertical stage track */\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\n/* rail gaps */\n\n/* rail meta */\n\n/* rail navigation */\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-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 .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\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\n/* ---------- dimension grid (detail) ---------- */\n\n/* ---------- G0 meter ---------- */\n\n/* ---------- plan ---------- */\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\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\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .prog-card { transition: none; }\n}\n\n";
|
package/lib/client/css/detail.js
CHANGED
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* (risks), and a callout (the next milestone — the one thing the ledger most
|
|
16
16
|
* often forgets).
|
|
17
17
|
*
|
|
18
|
-
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.
|
|
19
|
-
* `.plan-`, `.out-`.
|
|
18
|
+
* Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.g0-`, `.plan-`, `.out-`.
|
|
20
19
|
*/
|
|
21
20
|
export const DETAIL_CSS = `
|
|
22
21
|
/* ---------- page shell: banner + fixed two columns ---------- */
|
|
@@ -82,7 +81,15 @@ export const DETAIL_CSS = `
|
|
|
82
81
|
.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
|
|
83
82
|
|
|
84
83
|
/* ---------- Gate 0 card grid ---------- */
|
|
85
|
-
|
|
84
|
+
/* 'align-items: start' keeps every card at its own content height. The default
|
|
85
|
+
'stretch' would force a one-line answer and a ten-line argument sharing a row
|
|
86
|
+
to be equally tall, leaving a hollow block under the short one that reads as
|
|
87
|
+
"this card was never finished". The short answers stay visually even anyway:
|
|
88
|
+
they are all one or two lines. */
|
|
89
|
+
.wd-shell .g0-grid {
|
|
90
|
+
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
91
|
+
gap: 12px; align-items: start;
|
|
92
|
+
}
|
|
86
93
|
.wd-shell .g0-card {
|
|
87
94
|
display: flex; flex-direction: column; gap: 5px;
|
|
88
95
|
padding: 10px 12px; border-radius: 8px;
|
|
@@ -96,136 +103,43 @@ export const DETAIL_CSS = `
|
|
|
96
103
|
color: var(--wd-amber); background: var(--wd-amber-soft);
|
|
97
104
|
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
98
105
|
}
|
|
106
|
+
/* Every G0 answer keeps its own line breaks. The ledger stores these fields as
|
|
107
|
+
structured prose — '为什么测试:' / numbered points / a blank line / '下一步动作
|
|
108
|
+
和目标:' — and 'white-space: normal' collapses all of that into one run-on
|
|
109
|
+
paragraph: the numbers detach from their items and the second heading vanishes
|
|
110
|
+
into the body. 71% of the ledger's non-empty G0 answers carry such breaks. */
|
|
99
111
|
.wd-shell .g0-card-body {
|
|
100
112
|
margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);
|
|
101
|
-
overflow-wrap: anywhere;
|
|
113
|
+
overflow-wrap: anywhere; white-space: pre-wrap;
|
|
114
|
+
}
|
|
115
|
+
/* The two narrative answers are NOT clamped.
|
|
116
|
+
*
|
|
117
|
+
* An earlier version cut them at three lines, which silently hid 62% of the
|
|
118
|
+
* ledger's G0 arguments (up to 7 of a field's 10 lines) with no ellipsis and no
|
|
119
|
+
* expand affordance. These two fields are the densest content the ledger holds;
|
|
120
|
+
* a page that claims to be "read, not skimmed" cannot truncate them. They are
|
|
121
|
+
* given a heavier weight instead, so an argument reads as evidence rather than
|
|
122
|
+
* as another one-line answer. */
|
|
123
|
+
.wd-shell .g0-card[data-prose="true"] .g0-card-body {
|
|
124
|
+
font-size: 11.5px; line-height: 17px;
|
|
125
|
+
color: var(--dsw-alias-label-primary);
|
|
102
126
|
}
|
|
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
127
|
.wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
105
128
|
.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
|
|
106
129
|
|
|
107
130
|
/* ---------- rail ---------- */
|
|
108
|
-
.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
|
|
109
|
-
.wd-shell .dt-rail-back { margin-bottom: 4px; }
|
|
110
|
-
.wd-shell .dt-rail-title {
|
|
111
|
-
margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;
|
|
112
|
-
letter-spacing: -.01em; overflow-wrap: anywhere;
|
|
113
|
-
}
|
|
114
|
-
.wd-shell .dt-rail-id { display: block; }
|
|
115
|
-
.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
|
|
116
|
-
.wd-shell .dt-rail-amount {
|
|
117
|
-
display: flex; flex-direction: column; gap: 1px;
|
|
118
|
-
padding: 10px 12px; border-radius: 9px;
|
|
119
|
-
background: var(--wd-amber-soft); border: 1px solid transparent;
|
|
120
|
-
}
|
|
121
|
-
.wd-shell .dt-rail-amount-label {
|
|
122
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
123
|
-
text-transform: uppercase; font-weight: 600; color: var(--wd-amber);
|
|
124
|
-
}
|
|
125
|
-
.wd-shell .dt-rail-amount-value {
|
|
126
|
-
font-size: 22px; line-height: 28px; font-weight: 650;
|
|
127
|
-
font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;
|
|
128
|
-
}
|
|
129
|
-
.wd-shell .dt-rail-amount-value[data-empty="true"] {
|
|
130
|
-
font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);
|
|
131
|
-
}
|
|
132
|
-
.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
133
|
-
.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }
|
|
134
|
-
.wd-shell .dt-rail-block-title {
|
|
135
|
-
margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;
|
|
136
|
-
text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);
|
|
137
|
-
}
|
|
138
|
-
.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
139
131
|
|
|
140
132
|
/* vertical stage track */
|
|
141
|
-
.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }
|
|
142
|
-
.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }
|
|
143
|
-
.wd-shell .dt-stage:not(:last-child)::after {
|
|
144
|
-
content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;
|
|
145
|
-
width: 1px; background: var(--wd-hairline);
|
|
146
|
-
}
|
|
147
|
-
.wd-shell .dt-stage[data-done="true"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }
|
|
148
|
-
.wd-shell .dt-stage-marker {
|
|
149
|
-
position: relative; z-index: 1; flex: none;
|
|
150
|
-
width: 19px; height: 19px; border-radius: 50%;
|
|
151
|
-
display: flex; align-items: center; justify-content: center;
|
|
152
|
-
font-size: 9px; font-weight: 650;
|
|
153
|
-
border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);
|
|
154
|
-
color: var(--dsw-alias-label-tertiary);
|
|
155
|
-
}
|
|
156
|
-
.wd-shell .dt-stage[data-done="true"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }
|
|
157
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-marker {
|
|
158
|
-
border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;
|
|
159
|
-
box-shadow: 0 0 0 3px var(--wd-primary-soft);
|
|
160
|
-
}
|
|
161
|
-
.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
|
|
162
|
-
.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }
|
|
163
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-label { color: var(--wd-primary); }
|
|
164
|
-
.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
165
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-state { color: var(--wd-primary); }
|
|
166
133
|
|
|
167
134
|
/* rail dimension summary: four compact marks, never merged into one score.
|
|
168
135
|
The full cards with their origin tags live in the reading pane; the rail only
|
|
169
136
|
needs to say "which of the four exist", because the rail is scanned, not read. */
|
|
170
|
-
.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
|
|
171
|
-
.wd-shell .dim-mini {
|
|
172
|
-
display: flex; align-items: center; gap: 5px; min-width: 0;
|
|
173
|
-
padding: 4px 7px; border-radius: 6px;
|
|
174
|
-
background: var(--wd-red-soft);
|
|
175
|
-
}
|
|
176
|
-
.wd-shell .dim-mini[data-present="true"] { background: var(--wd-green-soft); }
|
|
177
|
-
.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }
|
|
178
|
-
.wd-shell .dim-mini[data-present="true"] .dim-mini-mark { color: var(--wd-green); }
|
|
179
|
-
.wd-shell .dim-mini-label {
|
|
180
|
-
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
181
|
-
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
182
|
-
}
|
|
183
|
-
.wd-shell .dim-card {
|
|
184
|
-
display: flex; flex-direction: column; gap: 1px; min-width: 0;
|
|
185
|
-
padding: 7px 8px; border-radius: 8px;
|
|
186
|
-
border: 1px solid var(--wd-hairline); background: var(--wd-inset);
|
|
187
|
-
}
|
|
188
|
-
.wd-shell .dim-card[data-present="true"] { border-color: transparent; background: var(--wd-green-soft); }
|
|
189
|
-
.wd-shell .dim-card[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
190
|
-
.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }
|
|
191
|
-
.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }
|
|
192
|
-
.wd-shell .dim-card[data-present="true"] .dim-card-mark { color: var(--wd-green); }
|
|
193
|
-
.wd-shell .dim-card[data-present="false"] .dim-card-mark { color: var(--wd-red); }
|
|
194
|
-
.wd-shell .dim-card-value {
|
|
195
|
-
font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
196
|
-
overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
|
197
|
-
}
|
|
198
|
-
.wd-shell .dim-card-origin {
|
|
199
|
-
margin-top: 1px; font-size: 8.5px; line-height: 12px;
|
|
200
|
-
color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;
|
|
201
|
-
}
|
|
202
|
-
.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }
|
|
203
137
|
|
|
204
138
|
/* rail gaps */
|
|
205
|
-
.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
206
|
-
.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }
|
|
207
|
-
.wd-shell .dt-rail-gap-no {
|
|
208
|
-
flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
209
|
-
font-size: 9px; line-height: 14px; font-weight: 650;
|
|
210
|
-
padding: 0 4px; border-radius: 3px;
|
|
211
|
-
}
|
|
212
|
-
.wd-shell .dt-rail-gap[data-level="high"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }
|
|
213
|
-
.wd-shell .dt-rail-gap[data-level="medium"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }
|
|
214
|
-
.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
215
139
|
|
|
216
140
|
/* rail meta */
|
|
217
|
-
.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }
|
|
218
|
-
.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }
|
|
219
|
-
.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
220
|
-
.wd-shell .dt-rail-meta-value {
|
|
221
|
-
flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;
|
|
222
|
-
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
223
|
-
}
|
|
224
|
-
.wd-shell .dt-rail-meta-value[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
225
141
|
|
|
226
142
|
/* rail navigation */
|
|
227
|
-
.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
|
|
228
|
-
.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; }
|
|
229
143
|
|
|
230
144
|
/* ---------- section frame ---------- */
|
|
231
145
|
.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
@@ -306,112 +220,49 @@ export const DETAIL_CSS = `
|
|
|
306
220
|
.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
307
221
|
.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
308
222
|
.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); }
|
|
309
|
-
.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
310
223
|
.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }
|
|
311
224
|
.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }
|
|
312
|
-
.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }
|
|
313
225
|
.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }
|
|
314
226
|
.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }
|
|
315
227
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
228
|
+
|
|
229
|
+
/*
|
|
230
|
+
* Balance the columns.
|
|
231
|
+
*
|
|
232
|
+
* The progress stream grows without limit (one card per round), while the left
|
|
233
|
+
* column holds a fixed set of commitments. Left alone, a project with ten rounds
|
|
234
|
+
* leaves the commitments column looking half-empty. Capping the stream keeps the
|
|
235
|
+
* two columns visually comparable and gives the reader an obvious scroll target,
|
|
236
|
+
* while every round stays reachable.
|
|
237
|
+
*/
|
|
238
|
+
.wd-shell .dt-col-side .prog-stream {
|
|
239
|
+
max-height: none; overflow-y: visible;
|
|
240
|
+
padding-right: 4px;
|
|
241
|
+
scrollbar-width: thin;
|
|
322
242
|
}
|
|
323
|
-
.wd-shell .
|
|
324
|
-
.wd-shell .
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
243
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }
|
|
244
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }
|
|
245
|
+
|
|
246
|
+
/* ---------- compact timeline row ---------- */
|
|
247
|
+
.wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }
|
|
248
|
+
.wd-shell .prog-card-compact .prog-head { gap: 8px; }
|
|
249
|
+
.wd-shell .prog-change {
|
|
250
|
+
font-size: 9px; line-height: 13px; font-weight: 650;
|
|
251
|
+
color: var(--wd-primary); background: var(--wd-primary-soft);
|
|
252
|
+
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
329
253
|
}
|
|
330
|
-
.wd-shell .prog-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
.wd-shell .prog-
|
|
335
|
-
.wd-shell .prog-
|
|
336
|
-
.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }
|
|
337
|
-
.wd-shell .prog-next {
|
|
338
|
-
display: flex; flex-direction: column; gap: 3px;
|
|
339
|
-
padding: 7px 10px; border-radius: 8px;
|
|
340
|
-
border-left: 3px solid var(--wd-primary);
|
|
341
|
-
background: var(--wd-primary-soft);
|
|
342
|
-
}
|
|
343
|
-
.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }
|
|
344
|
-
.wd-shell .prog-next-label {
|
|
345
|
-
font-size: 9px; line-height: 13px; letter-spacing: .05em;
|
|
346
|
-
text-transform: uppercase; font-weight: 650; color: var(--wd-primary);
|
|
347
|
-
}
|
|
348
|
-
.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }
|
|
349
|
-
.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
350
|
-
.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }
|
|
254
|
+
.wd-shell .prog-actual-line {
|
|
255
|
+
margin: 0; font-size: 11.5px; line-height: 17px;
|
|
256
|
+
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
257
|
+
}
|
|
258
|
+
.wd-shell .prog-actual-line[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
259
|
+
.wd-shell .prog-scope-row { margin-top: 1px; }
|
|
351
260
|
|
|
352
261
|
/* ---------- dimension grid (detail) ---------- */
|
|
353
|
-
.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
|
|
354
|
-
@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
355
|
-
.wd-shell .dim-grid-detail .dim-card {
|
|
356
|
-
padding: 11px 12px; border-radius: 10px; gap: 3px;
|
|
357
|
-
border-left: 3px solid var(--wd-red);
|
|
358
|
-
box-shadow: var(--wd-shadow-1);
|
|
359
|
-
}
|
|
360
|
-
.wd-shell .dim-grid-detail .dim-card[data-present="true"] { border-left-color: var(--wd-green); }
|
|
361
|
-
.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }
|
|
362
|
-
.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }
|
|
363
|
-
.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }
|
|
364
|
-
.wd-shell .dim-grid-detail .dim-card-origin {
|
|
365
|
-
display: inline-flex; align-self: flex-start; margin-top: 2px;
|
|
366
|
-
padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;
|
|
367
|
-
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
368
|
-
color: var(--dsw-alias-label-tertiary);
|
|
369
|
-
}
|
|
370
262
|
|
|
371
263
|
/* ---------- G0 meter ---------- */
|
|
372
|
-
.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
|
|
373
|
-
@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
374
|
-
.wd-shell .g0-cell {
|
|
375
|
-
display: flex; flex-direction: column; align-items: center; gap: 2px;
|
|
376
|
-
padding: 8px 6px; border-radius: 8px; min-width: 0;
|
|
377
|
-
background: var(--wd-red-soft); border: 1px solid transparent;
|
|
378
|
-
}
|
|
379
|
-
.wd-shell .g0-cell[data-present="true"] { background: var(--wd-green-soft); }
|
|
380
|
-
.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }
|
|
381
|
-
.wd-shell .g0-cell[data-present="true"] .g0-cell-mark { color: var(--wd-green); }
|
|
382
|
-
.wd-shell .g0-cell-label {
|
|
383
|
-
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
384
|
-
text-align: center; overflow-wrap: anywhere;
|
|
385
|
-
}
|
|
386
|
-
.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }
|
|
387
|
-
.wd-shell .g0-field {
|
|
388
|
-
display: flex; flex-direction: column; gap: 2px;
|
|
389
|
-
padding: 9px 11px; border-radius: 9px;
|
|
390
|
-
border: 1px solid var(--wd-hairline); background: var(--wd-surface);
|
|
391
|
-
}
|
|
392
|
-
.wd-shell .g0-field[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
393
|
-
.wd-shell .g0-field-label {
|
|
394
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
395
|
-
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
396
|
-
}
|
|
397
|
-
.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }
|
|
398
|
-
.wd-shell .g0-field[data-prose="true"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }
|
|
399
|
-
.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }
|
|
400
|
-
.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
401
|
-
.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }
|
|
402
|
-
.wd-shell .g0-review[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
403
264
|
|
|
404
265
|
/* ---------- plan ---------- */
|
|
405
|
-
.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
406
|
-
@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }
|
|
407
|
-
.wd-shell .plan-strip {
|
|
408
|
-
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
|
|
409
|
-
padding: 9px 12px; border-radius: 9px;
|
|
410
|
-
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
411
|
-
}
|
|
412
|
-
.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
413
|
-
.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; }
|
|
414
|
-
.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }
|
|
415
266
|
.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }
|
|
416
267
|
.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }
|
|
417
268
|
.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
@@ -473,11 +324,6 @@ export const DETAIL_CSS = `
|
|
|
473
324
|
.wd-shell .plan-criterion-status { white-space: nowrap; }
|
|
474
325
|
|
|
475
326
|
/* ---------- 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
327
|
|
|
482
328
|
/* ---------- next actions ---------- */
|
|
483
329
|
.wd-shell .next-table {
|
|
@@ -562,113 +408,9 @@ export const DETAIL_CSS = `
|
|
|
562
408
|
.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
563
409
|
|
|
564
410
|
/* ---------- outcome ---------- */
|
|
565
|
-
.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
566
|
-
@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }
|
|
567
|
-
.wd-shell .out-milestone {
|
|
568
|
-
display: flex; flex-direction: column; gap: 4px;
|
|
569
|
-
padding: 12px 14px; border-radius: 10px;
|
|
570
|
-
border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);
|
|
571
|
-
}
|
|
572
|
-
.wd-shell .out-milestone[data-present="true"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }
|
|
573
|
-
.wd-shell .out-milestone-label {
|
|
574
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
575
|
-
text-transform: uppercase; font-weight: 650; color: var(--wd-red);
|
|
576
|
-
}
|
|
577
|
-
.wd-shell .out-milestone[data-present="true"] .out-milestone-label { color: var(--wd-green); }
|
|
578
|
-
.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
579
|
-
.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }
|
|
580
|
-
.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
|
|
581
|
-
.wd-shell .out-meta {
|
|
582
|
-
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
|
|
583
|
-
padding-top: 10px; border-top: 1px solid var(--wd-hairline);
|
|
584
|
-
}
|
|
585
|
-
@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
586
411
|
|
|
587
412
|
@media (prefers-reduced-motion: reduce) {
|
|
588
|
-
.wd-shell .
|
|
413
|
+
.wd-shell .prog-card { transition: none; }
|
|
589
414
|
}
|
|
590
415
|
|
|
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; }
|
|
674
416
|
`;
|