@skillre/dsh-plugin-work-dashboard 0.6.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,4 +18,4 @@
18
18
  * Class prefixes owned here: `.dt-`, `.dsec-`, `.prog-`, `.dim-card`, `.g0-`,
19
19
  * `.plan-`, `.out-`.
20
20
  */
21
- export declare const DETAIL_CSS = "\n/* ---------- two-pane layout ---------- */\n.wd-shell .dt-page {\n display: grid;\n grid-template-columns: 316px minmax(0, 1fr);\n align-items: start;\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }\n\n.wd-shell .dt-rail {\n position: sticky; top: 0;\n align-self: start;\n display: flex; flex-direction: column; gap: 14px;\n padding: 18px 18px 22px;\n background: var(--wd-surface);\n border-right: 1px solid var(--wd-hairline);\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }\n.wd-shell .dt-pane {\n display: flex; flex-direction: column; gap: 22px;\n padding: 20px 28px 44px;\n min-width: 0;\n}\n\n/* ---------- rail ---------- */\n.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }\n.wd-shell .dt-rail-back { margin-bottom: 4px; }\n.wd-shell .dt-rail-title {\n margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;\n letter-spacing: -.01em; overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-id { display: block; }\n.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }\n.wd-shell .dt-rail-amount {\n display: flex; flex-direction: column; gap: 1px;\n padding: 10px 12px; border-radius: 9px;\n background: var(--wd-amber-soft); border: 1px solid transparent;\n}\n.wd-shell .dt-rail-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-rail-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-rail-amount-value[data-empty=\"true\"] {\n font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .dt-rail-block-title {\n margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;\n text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* vertical stage track */\n.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }\n.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }\n.wd-shell .dt-stage:not(:last-child)::after {\n content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;\n width: 1px; background: var(--wd-hairline);\n}\n.wd-shell .dt-stage[data-done=\"true\"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }\n.wd-shell .dt-stage-marker {\n position: relative; z-index: 1; flex: none;\n width: 19px; height: 19px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n font-size: 9px; font-weight: 650;\n border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage[data-done=\"true\"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-marker {\n border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;\n box-shadow: 0 0 0 3px var(--wd-primary-soft);\n}\n.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }\n.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-label { color: var(--wd-primary); }\n.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-state { color: var(--wd-primary); }\n\n/* rail dimension summary: four compact marks, never merged into one score.\n The full cards with their origin tags live in the reading pane; the rail only\n needs to say \"which of the four exist\", because the rail is scanned, not read. */\n.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }\n.wd-shell .dim-mini {\n display: flex; align-items: center; gap: 5px; min-width: 0;\n padding: 4px 7px; border-radius: 6px;\n background: var(--wd-red-soft);\n}\n.wd-shell .dim-mini[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .dim-mini[data-present=\"true\"] .dim-mini-mark { color: var(--wd-green); }\n.wd-shell .dim-mini-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .dim-card {\n display: flex; flex-direction: column; gap: 1px; min-width: 0;\n padding: 7px 8px; border-radius: 8px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n}\n.wd-shell .dim-card[data-present=\"true\"] { border-color: transparent; background: var(--wd-green-soft); }\n.wd-shell .dim-card[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }\n.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }\n.wd-shell .dim-card[data-present=\"true\"] .dim-card-mark { color: var(--wd-green); }\n.wd-shell .dim-card[data-present=\"false\"] .dim-card-mark { color: var(--wd-red); }\n.wd-shell .dim-card-value {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .dim-card-origin {\n margin-top: 1px; font-size: 8.5px; line-height: 12px;\n color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;\n}\n.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }\n\n/* rail gaps */\n.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }\n.wd-shell .dt-rail-gap-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9px; line-height: 14px; font-weight: 650;\n padding: 0 4px; border-radius: 3px;\n}\n.wd-shell .dt-rail-gap[data-level=\"high\"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .dt-rail-gap[data-level=\"medium\"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* rail meta */\n.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-rail-meta-value {\n flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-meta-value[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* rail navigation */\n.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }\n.wd-shell .dt-rail-position { flex: 1 1 auto; text-align: center; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- section frame ---------- */\n.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .dsec-blank {\n padding: 14px; border-radius: 9px;\n border: 1px dashed var(--wd-hairline);\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n text-align: center;\n}\n.wd-shell .dsec-empty {\n display: flex; flex-direction: column; align-items: center; gap: 5px;\n padding: 30px 20px; border-radius: 10px;\n border: 1px dashed var(--wd-hairline);\n text-align: center;\n}\n.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }\n.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- prose blocks ---------- */\n.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .dt-prose-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-prose[data-empty=\"true\"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- progress stream ---------- */\n.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }\n.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }\n.wd-shell .prog-item:last-child { padding-bottom: 0; }\n.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }\n.wd-shell .prog-node {\n position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;\n background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);\n}\n.wd-shell .prog-node[data-tone=\"green\"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }\n.wd-shell .prog-node[data-tone=\"amber\"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }\n.wd-shell .prog-node[data-tone=\"red\"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }\n.wd-shell .prog-item:not(:last-child) .prog-gutter::after {\n content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;\n background: var(--wd-hairline);\n}\n.wd-shell .prog-card {\n display: flex; flex-direction: column; gap: 8px;\n padding: 12px 14px 11px; min-width: 0;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .prog-item[data-latest=\"true\"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }\n.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .prog-type { font-size: 10.5px; line-height: 16px; padding: 0 7px; border-radius: 20px; background: var(--wd-inset); border: 1px solid var(--wd-hairline); color: var(--dsw-alias-label-secondary); }\n.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }\n.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }\n.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n\n.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-pair-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .prog-actual .prog-pair-value { font-size: 12.5px; line-height: 19px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .prog-scope-label, .wd-shell .prog-block-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }\n.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }\n.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }\n.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }\n.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }\n.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }\n.wd-shell .prog-next {\n display: flex; flex-direction: column; gap: 3px;\n padding: 7px 10px; border-radius: 8px;\n border-left: 3px solid var(--wd-primary);\n background: var(--wd-primary-soft);\n}\n.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }\n.wd-shell .prog-next-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-primary);\n}\n.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }\n\n/* ---------- dimension grid (detail) ---------- */\n.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }\n@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .dim-grid-detail .dim-card {\n padding: 11px 12px; border-radius: 10px; gap: 3px;\n border-left: 3px solid var(--wd-red);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .dim-grid-detail .dim-card[data-present=\"true\"] { border-left-color: var(--wd-green); }\n.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }\n.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }\n.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }\n.wd-shell .dim-grid-detail .dim-card-origin {\n display: inline-flex; align-self: flex-start; margin-top: 2px;\n padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- G0 meter ---------- */\n.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }\n@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .g0-cell {\n display: flex; flex-direction: column; align-items: center; gap: 2px;\n padding: 8px 6px; border-radius: 8px; min-width: 0;\n background: var(--wd-red-soft); border: 1px solid transparent;\n}\n.wd-shell .g0-cell[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .g0-cell[data-present=\"true\"] .g0-cell-mark { color: var(--wd-green); }\n.wd-shell .g0-cell-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n text-align: center; overflow-wrap: anywhere;\n}\n.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .g0-field {\n display: flex; flex-direction: column; gap: 2px;\n padding: 9px 11px; border-radius: 9px;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n}\n.wd-shell .g0-field[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .g0-field-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-field[data-prose=\"true\"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }\n.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-review[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- plan ---------- */\n.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .plan-strip {\n display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\n padding: 9px 12px; border-radius: 9px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }\n.wd-shell .plan-strip-label { font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600; }\n.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-criteria {\n width: 100%; border-collapse: collapse;\n border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;\n background: var(--wd-surface);\n}\n.wd-shell .plan-criteria th {\n padding: 7px 10px; text-align: left;\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--dsw-alias-label-tertiary);\n background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-criteria td {\n padding: 8px 10px; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);\n vertical-align: top;\n}\n.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }\n.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .plan-scenario { display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset); }\n.wd-shell .plan-scenario-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9.5px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .plan-scenario-text { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .plan-risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }\n.wd-shell .plan-risk { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--wd-inset); }\n.wd-shell .plan-risk-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--wd-slate); }\n.wd-shell .plan-risk[data-tone=\"red\"] .plan-risk-dot { background: var(--wd-red); }\n.wd-shell .plan-risk[data-tone=\"amber\"] .plan-risk-dot { background: var(--wd-amber); }\n.wd-shell .plan-risk[data-tone=\"green\"] .plan-risk-dot { background: var(--wd-green); }\n.wd-shell .plan-risk-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }\n.wd-shell .plan-risk-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-risk-level { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* ---------- outcome ---------- */\n.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .out-milestone {\n display: flex; flex-direction: column; gap: 4px;\n padding: 12px 14px; border-radius: 10px;\n border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);\n}\n.wd-shell .out-milestone[data-present=\"true\"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }\n.wd-shell .out-milestone-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-red);\n}\n.wd-shell .out-milestone[data-present=\"true\"] .out-milestone-label { color: var(--wd-green); }\n.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }\n.wd-shell .out-meta {\n display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;\n padding-top: 10px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .dim-card, .wd-shell .prog-card { transition: none; }\n}\n";
21
+ export declare const DETAIL_CSS = "\n/* ---------- two-pane layout ---------- */\n.wd-shell .dt-page {\n display: grid;\n grid-template-columns: 316px minmax(0, 1fr);\n align-items: start;\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-page { grid-template-columns: minmax(0, 1fr); } }\n\n.wd-shell .dt-rail {\n position: sticky; top: 0;\n align-self: start;\n display: flex; flex-direction: column; gap: 14px;\n padding: 18px 18px 22px;\n background: var(--wd-surface);\n border-right: 1px solid var(--wd-hairline);\n min-height: 100%;\n}\n@media (max-width: 1100px) { .wd-shell .dt-rail { position: static; border-right: 0; border-bottom: 1px solid var(--wd-hairline); } }\n.wd-shell .dt-pane {\n display: flex; flex-direction: column; gap: 22px;\n padding: 20px 28px 44px;\n min-width: 0;\n}\n\n/* ---------- rail ---------- */\n.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }\n.wd-shell .dt-rail-back { margin-bottom: 4px; }\n.wd-shell .dt-rail-title {\n margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;\n letter-spacing: -.01em; overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-id { display: block; }\n.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }\n.wd-shell .dt-rail-amount {\n display: flex; flex-direction: column; gap: 1px;\n padding: 10px 12px; border-radius: 9px;\n background: var(--wd-amber-soft); border: 1px solid transparent;\n}\n.wd-shell .dt-rail-amount-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--wd-amber);\n}\n.wd-shell .dt-rail-amount-value {\n font-size: 22px; line-height: 28px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;\n}\n.wd-shell .dt-rail-amount-value[data-empty=\"true\"] {\n font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }\n.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .dt-rail-block-title {\n margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;\n text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* vertical stage track */\n.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }\n.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }\n.wd-shell .dt-stage:not(:last-child)::after {\n content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;\n width: 1px; background: var(--wd-hairline);\n}\n.wd-shell .dt-stage[data-done=\"true\"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }\n.wd-shell .dt-stage-marker {\n position: relative; z-index: 1; flex: none;\n width: 19px; height: 19px; border-radius: 50%;\n display: flex; align-items: center; justify-content: center;\n font-size: 9px; font-weight: 650;\n border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-stage[data-done=\"true\"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-marker {\n border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;\n box-shadow: 0 0 0 3px var(--wd-primary-soft);\n}\n.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }\n.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-label { color: var(--wd-primary); }\n.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-stage[data-current=\"true\"] .dt-stage-state { color: var(--wd-primary); }\n\n/* rail dimension summary: four compact marks, never merged into one score.\n The full cards with their origin tags live in the reading pane; the rail only\n needs to say \"which of the four exist\", because the rail is scanned, not read. */\n.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }\n.wd-shell .dim-mini {\n display: flex; align-items: center; gap: 5px; min-width: 0;\n padding: 4px 7px; border-radius: 6px;\n background: var(--wd-red-soft);\n}\n.wd-shell .dim-mini[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .dim-mini[data-present=\"true\"] .dim-mini-mark { color: var(--wd-green); }\n.wd-shell .dim-mini-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .dim-card {\n display: flex; flex-direction: column; gap: 1px; min-width: 0;\n padding: 7px 8px; border-radius: 8px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n}\n.wd-shell .dim-card[data-present=\"true\"] { border-color: transparent; background: var(--wd-green-soft); }\n.wd-shell .dim-card[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }\n.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }\n.wd-shell .dim-card[data-present=\"true\"] .dim-card-mark { color: var(--wd-green); }\n.wd-shell .dim-card[data-present=\"false\"] .dim-card-mark { color: var(--wd-red); }\n.wd-shell .dim-card-value {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .dim-card-origin {\n margin-top: 1px; font-size: 8.5px; line-height: 12px;\n color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;\n}\n.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }\n\n/* rail gaps */\n.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }\n.wd-shell .dt-rail-gap-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9px; line-height: 14px; font-weight: 650;\n padding: 0 4px; border-radius: 3px;\n}\n.wd-shell .dt-rail-gap[data-level=\"high\"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .dt-rail-gap[data-level=\"medium\"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* rail meta */\n.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .dt-rail-meta-value {\n flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;\n}\n.wd-shell .dt-rail-meta-value[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* rail navigation */\n.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }\n.wd-shell .dt-rail-position { flex: 1 1 auto; text-align: center; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n\n/* ---------- section frame ---------- */\n.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n.wd-shell .dsec-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .dsec-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .dsec-kicker { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .dsec-blank {\n padding: 14px; border-radius: 9px;\n border: 1px dashed var(--wd-hairline);\n font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n text-align: center;\n}\n.wd-shell .dsec-empty {\n display: flex; flex-direction: column; align-items: center; gap: 5px;\n padding: 30px 20px; border-radius: 10px;\n border: 1px dashed var(--wd-hairline);\n text-align: center;\n}\n.wd-shell .dsec-empty-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 650; }\n.wd-shell .dsec-empty-copy { margin: 0; font-size: 11.5px; line-height: 18px; color: var(--dsw-alias-label-secondary); }\n\n/* ---------- prose blocks ---------- */\n.wd-shell .dt-prose { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.wd-shell .dt-prose-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .dt-prose[data-empty=\"true\"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- basic information ---------- */\n.wd-shell .dt-basic-grid {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 7px 18px; margin: 0 0 12px;\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .dt-basic-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }\n.wd-shell .dt-basic-label {\n flex: none; width: 108px;\n font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .dt-basic-value {\n margin: 0; font-size: 12px; line-height: 17px; font-weight: 500;\n color: var(--wd-text); overflow-wrap: anywhere;\n}\n.wd-shell .dt-basic-row[data-empty=\"true\"] .dt-basic-value {\n font-weight: 400; color: var(--dsw-alias-label-tertiary); font-style: italic;\n}\n.wd-shell .dt-basic-decisions {\n display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px; padding-top: 11px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .dt-basic-decisions { grid-template-columns: minmax(0, 1fr); } }\n\n/* ---------- progress stream ---------- */\n.wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }\n.wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }\n.wd-shell .prog-item:last-child { padding-bottom: 0; }\n.wd-shell .prog-gutter { position: relative; display: flex; justify-content: center; padding-top: 8px; }\n.wd-shell .prog-node {\n position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%;\n background: var(--wd-slate); box-shadow: 0 0 0 3px var(--wd-slate-soft);\n}\n.wd-shell .prog-node[data-tone=\"green\"] { background: var(--wd-green); box-shadow: 0 0 0 3px var(--wd-green-soft); }\n.wd-shell .prog-node[data-tone=\"amber\"] { background: var(--wd-amber); box-shadow: 0 0 0 3px var(--wd-amber-soft); }\n.wd-shell .prog-node[data-tone=\"red\"] { background: var(--wd-red); box-shadow: 0 0 0 3px var(--wd-red-soft); }\n.wd-shell .prog-item:not(:last-child) .prog-gutter::after {\n content: ''; position: absolute; top: 22px; bottom: -6px; width: 1px;\n background: var(--wd-hairline);\n}\n.wd-shell .prog-card {\n display: flex; flex-direction: column; gap: 8px;\n padding: 12px 14px 11px; min-width: 0;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .prog-item[data-latest=\"true\"] .prog-card { border-color: var(--dsw-alias-border-l2); box-shadow: var(--wd-shadow-2); }\n.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }\n.wd-shell .prog-type { font-size: 10.5px; line-height: 16px; padding: 0 7px; border-radius: 20px; background: var(--wd-inset); border: 1px solid var(--wd-hairline); color: var(--dsw-alias-label-secondary); }\n.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }\n.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }\n.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }\n\n.wd-shell .prog-pair { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .prog-goal { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-actual { display: flex; flex-direction: column; gap: 0; }\n.wd-shell .prog-pair-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-goal .prog-pair-value { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-tertiary); overflow-wrap: anywhere; }\n.wd-shell .prog-actual .prog-pair-value { font-size: 12.5px; line-height: 19px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .prog-scope, .wd-shell .prog-evidence, .wd-shell .prog-customer, .wd-shell .prog-feedback { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .prog-scope-label, .wd-shell .prog-block-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .prog-customer { flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-customer .prog-block-label { margin-right: 1px; }\n.wd-shell .prog-missing { font-size: 10.5px; line-height: 15px; color: var(--wd-amber); font-style: italic; }\n.wd-shell .prog-evidence-link { text-decoration: none; color: var(--wd-primary); }\n.wd-shell .prog-evidence-link:hover { background: var(--wd-primary-soft); }\n.wd-shell .prog-external { margin-left: 2px; font-size: 9px; }\n.wd-shell .prog-feedback-copy { font-size: 11.5px; line-height: 18px; }\n.wd-shell .prog-next {\n display: flex; flex-direction: column; gap: 3px;\n padding: 7px 10px; border-radius: 8px;\n border-left: 3px solid var(--wd-primary);\n background: var(--wd-primary-soft);\n}\n.wd-shell .prog-next-empty { border-left-color: var(--wd-hairline); background: var(--wd-inset); }\n.wd-shell .prog-next-label {\n font-size: 9px; line-height: 13px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-primary);\n}\n.wd-shell .prog-next-empty .prog-next-label { color: var(--dsw-alias-label-tertiary); }\n.wd-shell .prog-next-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }\n.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }\n\n/* ---------- dimension grid (detail) ---------- */\n.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }\n@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .dim-grid-detail .dim-card {\n padding: 11px 12px; border-radius: 10px; gap: 3px;\n border-left: 3px solid var(--wd-red);\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .dim-grid-detail .dim-card[data-present=\"true\"] { border-left-color: var(--wd-green); }\n.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }\n.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }\n.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }\n.wd-shell .dim-grid-detail .dim-card-origin {\n display: inline-flex; align-self: flex-start; margin-top: 2px;\n padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- G0 meter ---------- */\n.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }\n@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n.wd-shell .g0-cell {\n display: flex; flex-direction: column; align-items: center; gap: 2px;\n padding: 8px 6px; border-radius: 8px; min-width: 0;\n background: var(--wd-red-soft); border: 1px solid transparent;\n}\n.wd-shell .g0-cell[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .g0-cell[data-present=\"true\"] .g0-cell-mark { color: var(--wd-green); }\n.wd-shell .g0-cell-label {\n font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n text-align: center; overflow-wrap: anywhere;\n}\n.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }\n.wd-shell .g0-field {\n display: flex; flex-direction: column; gap: 2px;\n padding: 9px 11px; border-radius: 9px;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n}\n.wd-shell .g0-field[data-present=\"false\"] { border-color: transparent; background: var(--wd-red-soft); }\n.wd-shell .g0-field-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-field[data-prose=\"true\"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }\n.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }\n.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }\n.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .g0-review[data-empty=\"true\"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n/* ---------- plan ---------- */\n.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .plan-strip {\n display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\n padding: 9px 12px; border-radius: 9px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }\n.wd-shell .plan-strip-label { font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600; }\n.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }\n.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }\n.wd-shell .plan-block-note { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-criteria {\n width: 100%; border-collapse: collapse;\n border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden;\n background: var(--wd-surface);\n}\n.wd-shell .plan-criteria th {\n padding: 7px 10px; text-align: left;\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;\n font-weight: 600; color: var(--dsw-alias-label-tertiary);\n background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline);\n}\n.wd-shell .plan-criteria td {\n padding: 8px 10px; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline);\n vertical-align: top;\n}\n.wd-shell .plan-criteria tbody tr:last-child td { border-bottom: 0; }\n.wd-shell .plan-criterion-name { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-criterion-num { font-variant-numeric: tabular-nums; }\n.wd-shell .plan-criterion-target { font-weight: 650; color: var(--wd-primary); font-variant-numeric: tabular-nums; }\n.wd-shell .plan-scenarios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .plan-scenario { display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; border-radius: 7px; background: var(--wd-inset); }\n.wd-shell .plan-scenario-no {\n flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 9.5px; line-height: 15px; font-weight: 650; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .plan-scenario-text { font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .plan-risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }\n.wd-shell .plan-risk { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--wd-inset); }\n.wd-shell .plan-risk-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--wd-slate); }\n.wd-shell .plan-risk[data-tone=\"red\"] .plan-risk-dot { background: var(--wd-red); }\n.wd-shell .plan-risk[data-tone=\"amber\"] .plan-risk-dot { background: var(--wd-amber); }\n.wd-shell .plan-risk[data-tone=\"green\"] .plan-risk-dot { background: var(--wd-green); }\n.wd-shell .plan-risk-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }\n.wd-shell .plan-risk-name { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .plan-risk-level { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* ---------- outcome ---------- */\n.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .out-milestone {\n display: flex; flex-direction: column; gap: 4px;\n padding: 12px 14px; border-radius: 10px;\n border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);\n}\n.wd-shell .out-milestone[data-present=\"true\"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }\n.wd-shell .out-milestone-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; font-weight: 650; color: var(--wd-red);\n}\n.wd-shell .out-milestone[data-present=\"true\"] .out-milestone-label { color: var(--wd-green); }\n.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }\n.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }\n.wd-shell .out-meta {\n display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;\n padding-top: 10px; border-top: 1px solid var(--wd-hairline);\n}\n@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .dim-card, .wd-shell .prog-card { transition: none; }\n}\n";
@@ -196,6 +196,30 @@ export const DETAIL_CSS = `
196
196
  .wd-shell .dt-prose-body { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }
197
197
  .wd-shell .dt-prose[data-empty="true"] .dt-prose-body { color: var(--dsw-alias-label-tertiary); font-style: italic; }
198
198
 
199
+ /* ---------- basic information ---------- */
200
+ .wd-shell .dt-basic-grid {
201
+ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
202
+ gap: 7px 18px; margin: 0 0 12px;
203
+ }
204
+ @media (max-width: 900px) { .wd-shell .dt-basic-grid { grid-template-columns: minmax(0, 1fr); } }
205
+ .wd-shell .dt-basic-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
206
+ .wd-shell .dt-basic-label {
207
+ flex: none; width: 108px;
208
+ font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-tertiary);
209
+ }
210
+ .wd-shell .dt-basic-value {
211
+ margin: 0; font-size: 12px; line-height: 17px; font-weight: 500;
212
+ color: var(--wd-text); overflow-wrap: anywhere;
213
+ }
214
+ .wd-shell .dt-basic-row[data-empty="true"] .dt-basic-value {
215
+ font-weight: 400; color: var(--dsw-alias-label-tertiary); font-style: italic;
216
+ }
217
+ .wd-shell .dt-basic-decisions {
218
+ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
219
+ gap: 12px; padding-top: 11px; border-top: 1px solid var(--wd-hairline);
220
+ }
221
+ @media (max-width: 900px) { .wd-shell .dt-basic-decisions { grid-template-columns: minmax(0, 1fr); } }
222
+
199
223
  /* ---------- progress stream ---------- */
200
224
  .wd-shell .prog-stream { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
201
225
  .wd-shell .prog-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Overview styles: the portfolio band, the three project readings, the pending rail.
2
+ * Overview styles: the portfolio band and the three project readings.
3
3
  *
4
4
  * Three decisions drive this sheet:
5
5
  *
@@ -16,7 +16,8 @@
16
16
  * already doing hover duty.
17
17
  *
18
18
  * Class prefixes owned here: `.pf-` (band), `.pcard-`, `.pboard-`, `.ptable-`,
19
- * `.pending-`, plus the shared `.panel` / `.workspace-grid` / `.project-row`
20
- * atoms this surface defines because nothing else uses them.
19
+ * plus the shared `.panel` / `.workspace-grid` / `.project-row` atoms this
20
+ * surface defines because nothing else uses them. The blocker rail that used to
21
+ * live here moved to `css/blockers.ts` when it grew its own source filters.
21
22
  */
22
- export declare const OVERVIEW_CSS = "\n/* ---------- layout ---------- */\n.wd-shell .workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }\n@media (max-width: 1180px) { .wd-shell .workspace-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .primary-column, .wd-shell .secondary-column { min-width: 0; display: flex; flex-direction: column; gap: 16px; }\n.wd-shell .panel {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); overflow: hidden;\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .panel-header {\n display: flex; align-items: baseline; gap: 9px;\n padding: 12px 18px 10px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .panel-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .panel-kicker {\n margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n padding: 1px 8px; border-radius: 20px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .panel-body { padding: 0; }\n.wd-shell .panel-body.padded { padding: 13px 18px; }\n\n/* ---------- portfolio band ---------- */\n.wd-shell .pf-band {\n margin-bottom: 14px;\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface);\n box-shadow: var(--wd-shadow-1);\n overflow: hidden;\n}\n.wd-shell .pf-band-head {\n display: flex; align-items: baseline; gap: 10px;\n padding: 9px 16px 8px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .pf-band-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }\n.wd-shell .pf-band-note { margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pf-grid {\n display: grid;\n grid-template-columns: repeat(8, minmax(0, 1fr));\n gap: 1px;\n background: var(--wd-hairline);\n}\n@media (max-width: 1280px) { .wd-shell .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }\n@media (max-width: 860px) { .wd-shell .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n@media (max-width: 560px) { .wd-shell .pf-grid { grid-template-columns: minmax(0, 1fr); } }\n/* Two strips, four blocks each. The band is context: it answers \"where does the\n money sit\" in about a third of the screen, then gets out of the way. An eight-column\n grid lets two wide figures and four list figures share exactly two rows. */\n.wd-shell .pf-block {\n padding: 8px 12px 9px;\n background: var(--wd-surface);\n min-height: 0;\n justify-content: flex-start;\n}\n.wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n.wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n@media (max-width: 1280px) {\n .wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 860px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 560px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 1; }\n}\n@media (max-width: 720px) { .wd-shell .pf-block-wide { grid-column: span 1; } }\n.wd-shell .pf-radials { display: flex; gap: 8px; justify-content: space-between; padding: 2px 2px 0; }\n/* Four rows fit exactly; the cap only protects against a deployment with many\n more orgs than this one, where the strip must not grow the band. */\n.wd-shell .pf-block[data-span=\"2\"] .barlist { max-height: 168px; overflow: auto; scrollbar-width: thin; }\n.wd-shell .pf-collapse {\n display: inline-flex; align-items: center; gap: 4px;\n padding: 1px 7px; border-radius: 6px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n cursor: pointer; font-family: inherit; white-space: nowrap;\n}\n.wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }\n.wd-shell .pf-band[data-collapsed=\"true\"] .pf-grid { display: none; }\n.wd-shell .pf-note {\n margin: 5px 0 0; font-size: 10px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pf-note[data-tone=\"amber\"] { color: var(--wd-amber); }\n\n/* ---------- project cards ---------- */\n.wd-shell .pcard-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));\n gap: 12px; padding: 14px;\n}\n.wd-shell .pcard {\n display: flex; flex-direction: column; gap: 9px;\n padding: 13px 14px 11px;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface);\n cursor: pointer; min-width: 0;\n transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;\n}\n.wd-shell .pcard:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); transform: translateY(-1px); }\n.wd-shell .pcard:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: 1px; }\n.wd-shell .pcard[data-selected=\"true\"] {\n border-color: var(--wd-primary);\n box-shadow: 0 0 0 3px var(--wd-primary-soft), var(--wd-shadow-2);\n}\n.wd-shell .pcard[data-closed=\"true\"] { opacity: .82; }\n.wd-shell .pcard-head { display: flex; align-items: flex-start; gap: 8px; }\n.wd-shell .pcard-title-block { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }\n.wd-shell .pcard-name {\n font-size: 13.5px; line-height: 19px; font-weight: 650;\n letter-spacing: -.005em; overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pcard-id {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .pcard-badge {\n flex: none; padding: 1px 7px; border-radius: 20px;\n font-size: 10px; line-height: 15px; font-weight: 650; white-space: nowrap;\n}\n.wd-shell .pcard-badge[data-tone=\"red\"] { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .pcard-badge[data-tone=\"amber\"] { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .pcard-stage { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.wd-shell .pcard-stage-pill { flex: none; }\n.wd-shell .pcard-stage .rail-mini { flex: 1 1 auto; }\n.wd-shell .pcard-meta { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .pcard-org {\n flex: 1 1 auto; min-width: 0;\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pcard-amount {\n flex: none; font-size: 12.5px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber);\n}\n.wd-shell .pcard-unit { margin-left: 2px; font-size: 9.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .pcard-progress {\n display: flex; flex-direction: column; gap: 1px;\n padding: 7px 9px; border-radius: 8px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pcard-progress-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .pcard-progress-copy {\n font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pcard-progress-meta {\n margin-top: 1px; font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pcard-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }\n.wd-shell .pcard-dim {\n display: flex; flex-direction: column; align-items: center; gap: 1px;\n padding: 3px 2px; border-radius: 6px; min-width: 0;\n background: var(--wd-red-soft);\n}\n.wd-shell .pcard-dim[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .pcard-dim-mark { font-size: 10.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pcard-dim[data-present=\"true\"] .pcard-dim-mark { color: var(--wd-green); }\n.wd-shell .pcard-dim-label {\n font-size: 8.5px; line-height: 12px; color: var(--dsw-alias-label-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;\n}\n.wd-shell .pcard-foot { display: flex; align-items: center; gap: 8px; }\n.wd-shell .pcard-since { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pcard-open { margin-left: auto; font-size: 10.5px; color: var(--wd-primary); font-weight: 600; }\n\n/* ---------- board ---------- */\n.wd-shell .pboard {\n display: flex; gap: 10px; padding: 14px;\n overflow-x: auto; overscroll-behavior-x: contain;\n align-items: stretch;\n}\n.wd-shell .pboard-column {\n flex: 1 1 0; min-width: 176px; max-width: 300px;\n display: flex; flex-direction: column; gap: 8px;\n padding: 10px 9px 12px; border-radius: 10px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pboard-column[data-empty=\"true\"] { background: transparent; border-style: dashed; }\n.wd-shell .pboard-column-head { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .pboard-column-label { font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-secondary); }\n.wd-shell .pboard-column-count {\n font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pboard-column-body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }\n.wd-shell .pboard-card {\n display: flex; flex-direction: column; gap: 3px;\n padding: 9px 10px; border-radius: 8px; width: 100%; text-align: left;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n cursor: pointer; font-family: inherit;\n box-shadow: var(--wd-shadow-1);\n transition: box-shadow .14s ease, border-color .14s ease;\n}\n.wd-shell .pboard-card:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); }\n.wd-shell .pboard-card[data-high=\"true\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .pboard-card-name {\n font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-primary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pboard-card-owner { font-variant-numeric: normal; }\n.wd-shell .pboard-card-progress {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pboard-empty {\n padding: 16px 8px; text-align: center;\n font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n border: 1px dashed var(--wd-hairline); border-radius: 8px;\n}\n\n/* ---------- table ---------- */\n.wd-shell .project-table { width: 100%; border-collapse: collapse; table-layout: fixed; }\n.wd-shell .table-head th {\n position: sticky; top: 0; z-index: 1;\n padding: 8px 12px; text-align: left; white-space: nowrap;\n font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;\n color: var(--dsw-alias-label-tertiary);\n border-bottom: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .table-head th:first-child { padding-left: 16px; }\n.wd-shell .table-head th:last-child { padding-right: 16px; }\n.wd-shell .ptable-sort {\n display: inline-flex; align-items: center; gap: 3px;\n padding: 0; border: 0; background: transparent; cursor: pointer;\n font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;\n text-transform: uppercase; color: inherit; white-space: nowrap;\n}\n.wd-shell .ptable-sort:hover { color: var(--wd-text); }\n.wd-shell .ptable-sort[data-active=\"true\"] { color: var(--wd-primary); }\n.wd-shell .ptable-sort-arrow { font-size: 9.5px; }\n.wd-shell .project-row { border-bottom: 1px solid var(--wd-hairline); cursor: pointer; transition: background .1s ease; }\n.wd-shell .project-row:last-child { border-bottom: 0; }\n.wd-shell .project-row:hover { background: var(--wd-inset); }\n.wd-shell .project-row[data-selected=\"true\"] { background: var(--wd-primary-soft); }\n.wd-shell .project-row:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: -2px; }\n.wd-shell .project-row td { padding: 10px 12px; vertical-align: middle; }\n.wd-shell .project-row td:first-child { padding-left: 16px; }\n.wd-shell .project-row td:last-child { padding-right: 16px; text-align: right; }\n.wd-shell .project-name {\n font-size: 12.5px; line-height: 18px; font-weight: 600;\n display: block; overflow-wrap: anywhere; letter-spacing: -.005em;\n}\n.wd-shell .project-id {\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .project-org { display: block; font-size: 11.5px; line-height: 17px; font-weight: 550; overflow-wrap: anywhere; }\n.wd-shell .project-meta { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .progress-summary {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .ptable-stage { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }\n.wd-shell .ptable-amount { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }\n.wd-shell .amount-cell { display: block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12px; }\n.wd-shell .gap-cell { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }\n.wd-shell .gap-count { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12.5px; }\n.wd-shell .gap-count[data-level=\"high\"] { color: var(--wd-red); }\n.wd-shell .gap-count[data-level=\"medium\"] { color: var(--wd-amber); }\n.wd-shell .gap-count[data-level=\"none\"] { color: var(--wd-green); }\n.wd-shell .row-actions { display: flex; gap: 5px; justify-content: flex-end; }\n.wd-shell .gap-copy { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n/* ---------- pending rail ---------- */\n.wd-shell .pending { display: flex; flex-direction: column; }\n.wd-shell .pending-group { border-bottom: 1px solid var(--wd-hairline); }\n.wd-shell .pending-group:last-child { border-bottom: 0; }\n.wd-shell .pending-group[data-level=\"high\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .pending-group[data-level=\"medium\"] { border-left: 3px solid var(--wd-amber); }\n.wd-shell .pending-group-head {\n display: flex; align-items: baseline; gap: 6px;\n padding: 9px 13px 5px; flex-wrap: wrap;\n}\n.wd-shell .pending-rule-no {\n flex: none; padding: 0 5px; border-radius: 4px;\n font-size: 9.5px; line-height: 15px; font-weight: 650;\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n background: var(--wd-slate-soft); color: var(--dsw-alias-label-secondary);\n}\n.wd-shell .pending-group[data-level=\"high\"] .pending-rule-no { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .pending-group[data-level=\"medium\"] .pending-rule-no { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .pending-rule-title { flex: 1 1 auto; min-width: 0; font-size: 11.5px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }\n.wd-shell .pending-rule-count { flex: none; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pending-group-body { padding: 0 13px 10px; display: flex; flex-direction: column; gap: 6px; }\n.wd-shell .pending-gap { display: flex; flex-direction: column; gap: 2px; }\n.wd-shell .pending-gap-copy { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n.wd-shell .pending-gap-project { display: flex; }\n.wd-shell .pending-link {\n padding: 0; border: 0; background: transparent; cursor: pointer;\n font: inherit; font-size: 10px; color: var(--wd-primary); text-align: left;\n}\n.wd-shell .pending-link:hover { text-decoration: underline; }\n.wd-shell .pending-more { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-style: italic; }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .pcard, .wd-shell .pboard-card, .wd-shell .project-row { transition: none; }\n}\n";
23
+ export declare const OVERVIEW_CSS = "\n/* ---------- layout ---------- */\n.wd-shell .workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }\n@media (max-width: 1180px) { .wd-shell .workspace-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .primary-column, .wd-shell .secondary-column { min-width: 0; display: flex; flex-direction: column; gap: 16px; }\n.wd-shell .panel {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); overflow: hidden;\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .panel-header {\n display: flex; align-items: baseline; gap: 9px;\n padding: 12px 18px 10px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .panel-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .panel-kicker {\n margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n padding: 1px 8px; border-radius: 20px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .panel-body { padding: 0; }\n.wd-shell .panel-body.padded { padding: 13px 18px; }\n/* A one-line caption between the panel header and its body: used by the blocker\n panel to state \"12 of 30 projects blocked\" before the list itself. */\n.wd-shell .panel-note {\n padding: 8px 18px 0;\n font-size: 11px; line-height: 16px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- portfolio band ---------- */\n.wd-shell .pf-band {\n margin-bottom: 14px;\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface);\n box-shadow: var(--wd-shadow-1);\n overflow: hidden;\n}\n.wd-shell .pf-band-head {\n display: flex; align-items: baseline; gap: 10px;\n padding: 9px 16px 8px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .pf-band-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }\n.wd-shell .pf-band-note { margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pf-grid {\n display: grid;\n grid-template-columns: repeat(8, minmax(0, 1fr));\n gap: 1px;\n background: var(--wd-hairline);\n}\n@media (max-width: 1280px) { .wd-shell .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }\n@media (max-width: 860px) { .wd-shell .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n@media (max-width: 560px) { .wd-shell .pf-grid { grid-template-columns: minmax(0, 1fr); } }\n/* Two strips, four blocks each. The band is context: it answers \"where does the\n money sit\" in about a third of the screen, then gets out of the way. An eight-column\n grid lets two wide figures and four list figures share exactly two rows. */\n.wd-shell .pf-block {\n padding: 8px 12px 9px;\n background: var(--wd-surface);\n min-height: 0;\n justify-content: flex-start;\n}\n.wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n.wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n@media (max-width: 1280px) {\n .wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 860px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 560px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 1; }\n}\n@media (max-width: 720px) { .wd-shell .pf-block-wide { grid-column: span 1; } }\n.wd-shell .pf-radials { display: flex; gap: 8px; justify-content: space-between; padding: 2px 2px 0; }\n/* Four rows fit exactly; the cap only protects against a deployment with many\n more orgs than this one, where the strip must not grow the band. */\n.wd-shell .pf-block[data-span=\"2\"] .barlist { max-height: 168px; overflow: auto; scrollbar-width: thin; }\n.wd-shell .pf-collapse {\n display: inline-flex; align-items: center; gap: 4px;\n padding: 1px 7px; border-radius: 6px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n cursor: pointer; font-family: inherit; white-space: nowrap;\n}\n.wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }\n.wd-shell .pf-band[data-collapsed=\"true\"] .pf-grid { display: none; }\n.wd-shell .pf-note {\n margin: 5px 0 0; font-size: 10px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pf-note[data-tone=\"amber\"] { color: var(--wd-amber); }\n\n/* A secondary figure nested inside a band block: same box, quieter rules, so it\n reads as a detail of the chart above it rather than a seventh figure. */\n.wd-shell .pf-subfigure {\n margin-top: 9px; padding-top: 9px;\n border-top: 1px dashed var(--wd-hairline);\n display: flex; flex-direction: column; gap: 6px;\n}\n.wd-shell .pf-subfigure-label {\n font-size: 10px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n\n/* ---------- project cards ---------- */\n.wd-shell .pcard-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));\n gap: 12px; padding: 14px;\n}\n.wd-shell .pcard {\n display: flex; flex-direction: column; gap: 9px;\n padding: 13px 14px 11px;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface);\n cursor: pointer; min-width: 0;\n transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;\n}\n.wd-shell .pcard:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); transform: translateY(-1px); }\n.wd-shell .pcard:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: 1px; }\n.wd-shell .pcard[data-selected=\"true\"] {\n border-color: var(--wd-primary);\n box-shadow: 0 0 0 3px var(--wd-primary-soft), var(--wd-shadow-2);\n}\n.wd-shell .pcard[data-closed=\"true\"] { opacity: .82; }\n.wd-shell .pcard-head { display: flex; align-items: flex-start; gap: 8px; }\n.wd-shell .pcard-title-block { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }\n.wd-shell .pcard-name {\n font-size: 13.5px; line-height: 19px; font-weight: 650;\n letter-spacing: -.005em; overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pcard-id {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .pcard-badge {\n flex: none; padding: 1px 7px; border-radius: 20px;\n font-size: 10px; line-height: 15px; font-weight: 650; white-space: nowrap;\n}\n.wd-shell .pcard-badge[data-tone=\"red\"] { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .pcard-badge[data-tone=\"amber\"] { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .pcard-stage { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.wd-shell .pcard-stage-pill { flex: none; }\n.wd-shell .pcard-stage .rail-mini { flex: 1 1 auto; }\n.wd-shell .pcard-meta { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .pcard-org {\n flex: 1 1 auto; min-width: 0;\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pcard-amount {\n flex: none; font-size: 12.5px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber);\n}\n.wd-shell .pcard-unit { margin-left: 2px; font-size: 9.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .pcard-progress {\n display: flex; flex-direction: column; gap: 1px;\n padding: 7px 9px; border-radius: 8px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pcard-progress-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .pcard-progress-copy {\n font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pcard-progress-meta {\n margin-top: 1px; font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pcard-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }\n.wd-shell .pcard-dim {\n display: flex; flex-direction: column; align-items: center; gap: 1px;\n padding: 3px 2px; border-radius: 6px; min-width: 0;\n background: var(--wd-red-soft);\n}\n.wd-shell .pcard-dim[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .pcard-dim-mark { font-size: 10.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pcard-dim[data-present=\"true\"] .pcard-dim-mark { color: var(--wd-green); }\n.wd-shell .pcard-dim-label {\n font-size: 8.5px; line-height: 12px; color: var(--dsw-alias-label-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;\n}\n.wd-shell .pcard-foot { display: flex; align-items: center; gap: 8px; }\n.wd-shell .pcard-since { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pcard-open { margin-left: auto; font-size: 10.5px; color: var(--wd-primary); font-weight: 600; }\n\n/* ---------- board ---------- */\n.wd-shell .pboard {\n display: flex; gap: 10px; padding: 14px;\n overflow-x: auto; overscroll-behavior-x: contain;\n align-items: stretch;\n}\n.wd-shell .pboard-column {\n flex: 1 1 0; min-width: 176px; max-width: 300px;\n display: flex; flex-direction: column; gap: 8px;\n padding: 10px 9px 12px; border-radius: 10px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pboard-column[data-empty=\"true\"] { background: transparent; border-style: dashed; }\n.wd-shell .pboard-column-head { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .pboard-column-label { font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-secondary); }\n.wd-shell .pboard-column-count {\n font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pboard-column-body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }\n.wd-shell .pboard-card {\n display: flex; flex-direction: column; gap: 3px;\n padding: 9px 10px; border-radius: 8px; width: 100%; text-align: left;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n cursor: pointer; font-family: inherit;\n box-shadow: var(--wd-shadow-1);\n transition: box-shadow .14s ease, border-color .14s ease;\n}\n.wd-shell .pboard-card:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); }\n.wd-shell .pboard-card[data-high=\"true\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .pboard-card-name {\n font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-primary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pboard-card-owner { font-variant-numeric: normal; }\n.wd-shell .pboard-card-progress {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pboard-empty {\n padding: 16px 8px; text-align: center;\n font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n border: 1px dashed var(--wd-hairline); border-radius: 8px;\n}\n\n/* ---------- table ---------- */\n.wd-shell .project-table { width: 100%; border-collapse: collapse; table-layout: fixed; }\n.wd-shell .table-head th {\n position: sticky; top: 0; z-index: 1;\n padding: 8px 12px; text-align: left; white-space: nowrap;\n font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;\n color: var(--dsw-alias-label-tertiary);\n border-bottom: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .table-head th:first-child { padding-left: 16px; }\n.wd-shell .table-head th:last-child { padding-right: 16px; }\n.wd-shell .ptable-sort {\n display: inline-flex; align-items: center; gap: 3px;\n padding: 0; border: 0; background: transparent; cursor: pointer;\n font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;\n text-transform: uppercase; color: inherit; white-space: nowrap;\n}\n.wd-shell .ptable-sort:hover { color: var(--wd-text); }\n.wd-shell .ptable-sort[data-active=\"true\"] { color: var(--wd-primary); }\n.wd-shell .ptable-sort-arrow { font-size: 9.5px; }\n.wd-shell .project-row { border-bottom: 1px solid var(--wd-hairline); cursor: pointer; transition: background .1s ease; }\n.wd-shell .project-row:last-child { border-bottom: 0; }\n.wd-shell .project-row:hover { background: var(--wd-inset); }\n.wd-shell .project-row[data-selected=\"true\"] { background: var(--wd-primary-soft); }\n.wd-shell .project-row:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: -2px; }\n.wd-shell .project-row td { padding: 10px 12px; vertical-align: middle; }\n.wd-shell .project-row td:first-child { padding-left: 16px; }\n.wd-shell .project-row td:last-child { padding-right: 16px; text-align: right; }\n.wd-shell .project-name {\n font-size: 12.5px; line-height: 18px; font-weight: 600;\n display: block; overflow-wrap: anywhere; letter-spacing: -.005em;\n}\n.wd-shell .project-id {\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .project-org { display: block; font-size: 11.5px; line-height: 17px; font-weight: 550; overflow-wrap: anywhere; }\n.wd-shell .project-meta { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .progress-summary {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .ptable-stage { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }\n.wd-shell .ptable-amount { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }\n.wd-shell .amount-cell { display: block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12px; }\n.wd-shell .gap-cell { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }\n.wd-shell .gap-count { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12.5px; }\n.wd-shell .gap-count[data-level=\"high\"] { color: var(--wd-red); }\n.wd-shell .gap-count[data-level=\"medium\"] { color: var(--wd-amber); }\n.wd-shell .gap-count[data-level=\"none\"] { color: var(--wd-green); }\n.wd-shell .row-actions { display: flex; gap: 5px; justify-content: flex-end; }\n.wd-shell .gap-copy { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .pcard, .wd-shell .pboard-card, .wd-shell .project-row { transition: none; }\n}\n";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Overview styles: the portfolio band, the three project readings, the pending rail.
2
+ * Overview styles: the portfolio band and the three project readings.
3
3
  *
4
4
  * Three decisions drive this sheet:
5
5
  *
@@ -16,8 +16,9 @@
16
16
  * already doing hover duty.
17
17
  *
18
18
  * Class prefixes owned here: `.pf-` (band), `.pcard-`, `.pboard-`, `.ptable-`,
19
- * `.pending-`, plus the shared `.panel` / `.workspace-grid` / `.project-row`
20
- * atoms this surface defines because nothing else uses them.
19
+ * plus the shared `.panel` / `.workspace-grid` / `.project-row` atoms this
20
+ * surface defines because nothing else uses them. The blocker rail that used to
21
+ * live here moved to `css/blockers.ts` when it grew its own source filters.
21
22
  */
22
23
  export const OVERVIEW_CSS = `
23
24
  /* ---------- layout ---------- */
@@ -44,6 +45,13 @@ export const OVERVIEW_CSS = `
44
45
  }
45
46
  .wd-shell .panel-body { padding: 0; }
46
47
  .wd-shell .panel-body.padded { padding: 13px 18px; }
48
+ /* A one-line caption between the panel header and its body: used by the blocker
49
+ panel to state "12 of 30 projects blocked" before the list itself. */
50
+ .wd-shell .panel-note {
51
+ padding: 8px 18px 0;
52
+ font-size: 11px; line-height: 16px;
53
+ color: var(--dsw-alias-label-tertiary);
54
+ }
47
55
 
48
56
  /* ---------- portfolio band ---------- */
49
57
  .wd-shell .pf-band {
@@ -113,6 +121,18 @@ export const OVERVIEW_CSS = `
113
121
  }
114
122
  .wd-shell .pf-note[data-tone="amber"] { color: var(--wd-amber); }
115
123
 
124
+ /* A secondary figure nested inside a band block: same box, quieter rules, so it
125
+ reads as a detail of the chart above it rather than a seventh figure. */
126
+ .wd-shell .pf-subfigure {
127
+ margin-top: 9px; padding-top: 9px;
128
+ border-top: 1px dashed var(--wd-hairline);
129
+ display: flex; flex-direction: column; gap: 6px;
130
+ }
131
+ .wd-shell .pf-subfigure-label {
132
+ font-size: 10px; line-height: 14px; letter-spacing: .05em;
133
+ text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;
134
+ }
135
+
116
136
  /* ---------- project cards ---------- */
117
137
  .wd-shell .pcard-grid {
118
138
  display: grid;
@@ -301,37 +321,6 @@ export const OVERVIEW_CSS = `
301
321
  .wd-shell .row-actions { display: flex; gap: 5px; justify-content: flex-end; }
302
322
  .wd-shell .gap-copy { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
303
323
 
304
- /* ---------- pending rail ---------- */
305
- .wd-shell .pending { display: flex; flex-direction: column; }
306
- .wd-shell .pending-group { border-bottom: 1px solid var(--wd-hairline); }
307
- .wd-shell .pending-group:last-child { border-bottom: 0; }
308
- .wd-shell .pending-group[data-level="high"] { border-left: 3px solid var(--wd-red); }
309
- .wd-shell .pending-group[data-level="medium"] { border-left: 3px solid var(--wd-amber); }
310
- .wd-shell .pending-group-head {
311
- display: flex; align-items: baseline; gap: 6px;
312
- padding: 9px 13px 5px; flex-wrap: wrap;
313
- }
314
- .wd-shell .pending-rule-no {
315
- flex: none; padding: 0 5px; border-radius: 4px;
316
- font-size: 9.5px; line-height: 15px; font-weight: 650;
317
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
318
- background: var(--wd-slate-soft); color: var(--dsw-alias-label-secondary);
319
- }
320
- .wd-shell .pending-group[data-level="high"] .pending-rule-no { background: var(--wd-red-soft); color: var(--wd-red); }
321
- .wd-shell .pending-group[data-level="medium"] .pending-rule-no { background: var(--wd-amber-soft); color: var(--wd-amber); }
322
- .wd-shell .pending-rule-title { flex: 1 1 auto; min-width: 0; font-size: 11.5px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }
323
- .wd-shell .pending-rule-count { flex: none; font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
324
- .wd-shell .pending-group-body { padding: 0 13px 10px; display: flex; flex-direction: column; gap: 6px; }
325
- .wd-shell .pending-gap { display: flex; flex-direction: column; gap: 2px; }
326
- .wd-shell .pending-gap-copy { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
327
- .wd-shell .pending-gap-project { display: flex; }
328
- .wd-shell .pending-link {
329
- padding: 0; border: 0; background: transparent; cursor: pointer;
330
- font: inherit; font-size: 10px; color: var(--wd-primary); text-align: left;
331
- }
332
- .wd-shell .pending-link:hover { text-decoration: underline; }
333
- .wd-shell .pending-more { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-style: italic; }
334
-
335
324
  @media (prefers-reduced-motion: reduce) {
336
325
  .wd-shell .pcard, .wd-shell .pboard-card, .wd-shell .project-row { transition: none; }
337
326
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * KPI strip, budget panel and in-stage progress styles.
3
+ *
4
+ * Three figures with one shared constraint: they are all READ-FIRST surfaces, so
5
+ * they use numbers at display size (17–22px) and labels at 10.5–11.5px. The
6
+ * earlier surfaces rendered every number at 10px, which made a portfolio of
7
+ * thirty projects read like a log file.
8
+ *
9
+ * Colour vocabulary is the same everywhere: green = justified/approved, amber =
10
+ * waiting, red = a gap that costs money, blue = neutral information. Nothing
11
+ * here introduces a fifth judgement colour.
12
+ */
13
+ export declare const SUMMARY_CSS = "\n/* ---------- KPI strip ---------- */\n.wd-shell .kpi-strip {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n margin-bottom: 16px; overflow: hidden;\n}\n.wd-shell .kpi-cells {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n}\n@media (max-width: 1180px) { .wd-shell .kpi-cells { grid-template-columns: repeat(3, minmax(0, 1fr)); } }\n@media (max-width: 720px) { .wd-shell .kpi-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n\n.wd-shell .kpi-cell {\n display: flex; flex-direction: column; gap: 2px;\n padding: 12px 16px;\n border-right: 1px solid var(--wd-hairline);\n min-width: 0;\n}\n.wd-shell .kpi-cell:last-child { border-right: 0; }\n/* A hairline above the value carries the tone, so the number itself stays the\n same ink on every cell: five differently-coloured numbers would read as five\n different kinds of number. */\n.wd-shell .kpi-label {\n font-size: 10.5px; line-height: 15px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .kpi-value {\n font-size: 21px; line-height: 28px; font-weight: 650;\n color: var(--wd-text); font-variant-numeric: tabular-nums;\n letter-spacing: -.01em;\n}\n.wd-shell .kpi-cell[data-tone=\"red\"] .kpi-value { color: var(--wd-red); }\n.wd-shell .kpi-cell[data-tone=\"green\"] .kpi-value { color: var(--wd-green); }\n.wd-shell .kpi-cell[data-tone=\"amber\"] .kpi-value { color: var(--wd-amber); }\n.wd-shell .kpi-note {\n font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n\n.wd-shell .kpi-stages {\n display: flex; align-items: center; gap: 10px;\n padding: 9px 16px;\n border-top: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n flex-wrap: wrap;\n}\n.wd-shell .kpi-stages-label {\n flex: none; font-size: 10.5px; line-height: 15px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .kpi-stage-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }\n.wd-shell .kpi-stage-chip {\n display: inline-flex; align-items: center; gap: 5px;\n height: 24px; padding: 0 9px;\n border: 1px solid var(--wd-hairline); border-radius: 20px;\n background: var(--wd-surface); color: var(--dsw-alias-label-secondary);\n font-size: 11px; line-height: 16px; cursor: pointer; white-space: nowrap;\n transition: background .12s ease, border-color .12s ease, color .12s ease;\n}\n.wd-shell .kpi-stage-chip:hover:not([disabled]) { background: var(--wd-canvas); color: var(--wd-text); }\n.wd-shell .kpi-stage-chip[data-active=\"true\"] {\n background: var(--wd-primary-soft); border-color: var(--wd-primary);\n color: var(--wd-primary); font-weight: 600;\n}\n/* A zero bucket stays visible but muted: its existence is information (\"nothing\n reached G3\"), and hiding it would make the funnel look shorter than it is. */\n.wd-shell .kpi-stage-chip[data-zero=\"true\"] { opacity: .5; }\n.wd-shell .kpi-stage-count {\n font-size: 10.5px; font-variant-numeric: tabular-nums;\n color: var(--dsw-alias-label-tertiary); font-weight: 500;\n}\n.wd-shell .kpi-stage-chip[data-active=\"true\"] .kpi-stage-count { color: var(--wd-primary); }\n.wd-shell .kpi-stages-summary {\n margin-left: auto; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n@media (max-width: 900px) { .wd-shell .kpi-stages-summary { display: none; } }\n\n/* ---------- budget panel ---------- */\n.wd-shell .budget-panel {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); box-shadow: var(--wd-shadow-1);\n padding: 13px 16px 14px;\n display: flex; flex-direction: column; gap: 11px;\n}\n.wd-shell .budget-head { display: flex; align-items: baseline; gap: 9px; }\n.wd-shell .budget-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }\n.wd-shell .budget-note { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .budget-total { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .budget-total-label {\n font-size: 10.5px; line-height: 15px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .budget-total-value {\n font-size: 22px; line-height: 30px; font-weight: 650; color: var(--wd-text);\n font-variant-numeric: tabular-nums; letter-spacing: -.01em;\n}\n.wd-shell .budget-total-unit { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .budget-bar {\n display: flex; height: 8px; border-radius: 5px; overflow: hidden;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .budget-bar-segment { height: 100%; }\n.wd-shell .budget-bar-segment[data-tone=\"green\"] { background: var(--wd-green); }\n.wd-shell .budget-bar-segment[data-tone=\"amber\"] { background: var(--wd-amber); }\n.wd-shell .budget-rows { margin: 0; display: flex; flex-direction: column; gap: 5px; }\n.wd-shell .budget-row { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .budget-row-label {\n flex: none; width: 82px; font-size: 11.5px; line-height: 17px; font-weight: 600;\n color: var(--dsw-alias-label-secondary);\n}\n.wd-shell .budget-row[data-tone=\"green\"] .budget-row-label { color: var(--wd-green); }\n.wd-shell .budget-row[data-tone=\"amber\"] .budget-row-label { color: var(--wd-amber); }\n.wd-shell .budget-row[data-tone=\"red\"] .budget-row-label { color: var(--wd-red); }\n.wd-shell .budget-row-value {\n margin: 0; font-size: 11.5px; line-height: 17px;\n color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .budget-warning {\n margin: 0; padding: 7px 10px;\n border-radius: 8px; background: var(--wd-red-soft); color: var(--wd-red);\n font-size: 11.5px; line-height: 17px;\n}\n.wd-shell .budget-empty {\n margin: 0; padding: 16px 4px; text-align: center;\n font-size: 12px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .budget-orgs { display: flex; flex-direction: column; gap: 5px; }\n.wd-shell .budget-orgs-label {\n font-size: 10.5px; line-height: 15px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .budget-org-row {\n display: grid; grid-template-columns: minmax(0, 1fr) 74px 34px;\n align-items: center; gap: 8px;\n}\n.wd-shell .budget-org-name {\n font-size: 11.5px; line-height: 17px; color: var(--wd-text);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .budget-org-system { margin-left: 5px; font-size: 10px; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .budget-org-value {\n font-size: 10.5px; line-height: 15px; text-align: right;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .budget-concentration {\n margin: 0; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- in-stage progress ---------- */\n.wd-shell .stage-progress { display: flex; flex-direction: column; gap: 4px; }\n.wd-shell .stage-progress-row {\n display: grid; grid-template-columns: 68px minmax(0, 1fr) 82px;\n align-items: center; gap: 8px;\n}\n.wd-shell .stage-progress-label {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.wd-shell .stage-progress-value {\n font-size: 10.5px; line-height: 15px; text-align: right;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .stage-progress-empty {\n grid-column: 2 / -1; font-size: 10.5px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .stage-progress-row[data-empty=\"true\"] { opacity: .7; }\n";
@@ -0,0 +1,187 @@
1
+ /**
2
+ * KPI strip, budget panel and in-stage progress styles.
3
+ *
4
+ * Three figures with one shared constraint: they are all READ-FIRST surfaces, so
5
+ * they use numbers at display size (17–22px) and labels at 10.5–11.5px. The
6
+ * earlier surfaces rendered every number at 10px, which made a portfolio of
7
+ * thirty projects read like a log file.
8
+ *
9
+ * Colour vocabulary is the same everywhere: green = justified/approved, amber =
10
+ * waiting, red = a gap that costs money, blue = neutral information. Nothing
11
+ * here introduces a fifth judgement colour.
12
+ */
13
+ export const SUMMARY_CSS = `
14
+ /* ---------- KPI strip ---------- */
15
+ .wd-shell .kpi-strip {
16
+ border: 1px solid var(--wd-hairline); border-radius: 12px;
17
+ background: var(--wd-surface); box-shadow: var(--wd-shadow-1);
18
+ margin-bottom: 16px; overflow: hidden;
19
+ }
20
+ .wd-shell .kpi-cells {
21
+ display: grid;
22
+ grid-template-columns: repeat(5, minmax(0, 1fr));
23
+ }
24
+ @media (max-width: 1180px) { .wd-shell .kpi-cells { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
25
+ @media (max-width: 720px) { .wd-shell .kpi-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
26
+
27
+ .wd-shell .kpi-cell {
28
+ display: flex; flex-direction: column; gap: 2px;
29
+ padding: 12px 16px;
30
+ border-right: 1px solid var(--wd-hairline);
31
+ min-width: 0;
32
+ }
33
+ .wd-shell .kpi-cell:last-child { border-right: 0; }
34
+ /* A hairline above the value carries the tone, so the number itself stays the
35
+ same ink on every cell: five differently-coloured numbers would read as five
36
+ different kinds of number. */
37
+ .wd-shell .kpi-label {
38
+ font-size: 10.5px; line-height: 15px; letter-spacing: .05em;
39
+ text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;
40
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
41
+ }
42
+ .wd-shell .kpi-value {
43
+ font-size: 21px; line-height: 28px; font-weight: 650;
44
+ color: var(--wd-text); font-variant-numeric: tabular-nums;
45
+ letter-spacing: -.01em;
46
+ }
47
+ .wd-shell .kpi-cell[data-tone="red"] .kpi-value { color: var(--wd-red); }
48
+ .wd-shell .kpi-cell[data-tone="green"] .kpi-value { color: var(--wd-green); }
49
+ .wd-shell .kpi-cell[data-tone="amber"] .kpi-value { color: var(--wd-amber); }
50
+ .wd-shell .kpi-note {
51
+ font-size: 10.5px; line-height: 15px;
52
+ color: var(--dsw-alias-label-tertiary);
53
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
54
+ }
55
+
56
+ .wd-shell .kpi-stages {
57
+ display: flex; align-items: center; gap: 10px;
58
+ padding: 9px 16px;
59
+ border-top: 1px solid var(--wd-hairline);
60
+ background: var(--wd-inset);
61
+ flex-wrap: wrap;
62
+ }
63
+ .wd-shell .kpi-stages-label {
64
+ flex: none; font-size: 10.5px; line-height: 15px; letter-spacing: .05em;
65
+ text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;
66
+ }
67
+ .wd-shell .kpi-stage-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
68
+ .wd-shell .kpi-stage-chip {
69
+ display: inline-flex; align-items: center; gap: 5px;
70
+ height: 24px; padding: 0 9px;
71
+ border: 1px solid var(--wd-hairline); border-radius: 20px;
72
+ background: var(--wd-surface); color: var(--dsw-alias-label-secondary);
73
+ font-size: 11px; line-height: 16px; cursor: pointer; white-space: nowrap;
74
+ transition: background .12s ease, border-color .12s ease, color .12s ease;
75
+ }
76
+ .wd-shell .kpi-stage-chip:hover:not([disabled]) { background: var(--wd-canvas); color: var(--wd-text); }
77
+ .wd-shell .kpi-stage-chip[data-active="true"] {
78
+ background: var(--wd-primary-soft); border-color: var(--wd-primary);
79
+ color: var(--wd-primary); font-weight: 600;
80
+ }
81
+ /* A zero bucket stays visible but muted: its existence is information ("nothing
82
+ reached G3"), and hiding it would make the funnel look shorter than it is. */
83
+ .wd-shell .kpi-stage-chip[data-zero="true"] { opacity: .5; }
84
+ .wd-shell .kpi-stage-count {
85
+ font-size: 10.5px; font-variant-numeric: tabular-nums;
86
+ color: var(--dsw-alias-label-tertiary); font-weight: 500;
87
+ }
88
+ .wd-shell .kpi-stage-chip[data-active="true"] .kpi-stage-count { color: var(--wd-primary); }
89
+ .wd-shell .kpi-stages-summary {
90
+ margin-left: auto; font-size: 10.5px; line-height: 15px;
91
+ color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;
92
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
93
+ }
94
+ @media (max-width: 900px) { .wd-shell .kpi-stages-summary { display: none; } }
95
+
96
+ /* ---------- budget panel ---------- */
97
+ .wd-shell .budget-panel {
98
+ border: 1px solid var(--wd-hairline); border-radius: 12px;
99
+ background: var(--wd-surface); box-shadow: var(--wd-shadow-1);
100
+ padding: 13px 16px 14px;
101
+ display: flex; flex-direction: column; gap: 11px;
102
+ }
103
+ .wd-shell .budget-head { display: flex; align-items: baseline; gap: 9px; }
104
+ .wd-shell .budget-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }
105
+ .wd-shell .budget-note { margin-left: auto; font-size: 10.5px; color: var(--dsw-alias-label-tertiary); }
106
+ .wd-shell .budget-total { display: flex; align-items: baseline; gap: 8px; }
107
+ .wd-shell .budget-total-label {
108
+ font-size: 10.5px; line-height: 15px; letter-spacing: .05em;
109
+ text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;
110
+ }
111
+ .wd-shell .budget-total-value {
112
+ font-size: 22px; line-height: 30px; font-weight: 650; color: var(--wd-text);
113
+ font-variant-numeric: tabular-nums; letter-spacing: -.01em;
114
+ }
115
+ .wd-shell .budget-total-unit { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }
116
+ .wd-shell .budget-bar {
117
+ display: flex; height: 8px; border-radius: 5px; overflow: hidden;
118
+ background: var(--wd-inset); border: 1px solid var(--wd-hairline);
119
+ }
120
+ .wd-shell .budget-bar-segment { height: 100%; }
121
+ .wd-shell .budget-bar-segment[data-tone="green"] { background: var(--wd-green); }
122
+ .wd-shell .budget-bar-segment[data-tone="amber"] { background: var(--wd-amber); }
123
+ .wd-shell .budget-rows { margin: 0; display: flex; flex-direction: column; gap: 5px; }
124
+ .wd-shell .budget-row { display: flex; align-items: baseline; gap: 8px; }
125
+ .wd-shell .budget-row-label {
126
+ flex: none; width: 82px; font-size: 11.5px; line-height: 17px; font-weight: 600;
127
+ color: var(--dsw-alias-label-secondary);
128
+ }
129
+ .wd-shell .budget-row[data-tone="green"] .budget-row-label { color: var(--wd-green); }
130
+ .wd-shell .budget-row[data-tone="amber"] .budget-row-label { color: var(--wd-amber); }
131
+ .wd-shell .budget-row[data-tone="red"] .budget-row-label { color: var(--wd-red); }
132
+ .wd-shell .budget-row-value {
133
+ margin: 0; font-size: 11.5px; line-height: 17px;
134
+ color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums;
135
+ }
136
+ .wd-shell .budget-warning {
137
+ margin: 0; padding: 7px 10px;
138
+ border-radius: 8px; background: var(--wd-red-soft); color: var(--wd-red);
139
+ font-size: 11.5px; line-height: 17px;
140
+ }
141
+ .wd-shell .budget-empty {
142
+ margin: 0; padding: 16px 4px; text-align: center;
143
+ font-size: 12px; color: var(--dsw-alias-label-tertiary);
144
+ }
145
+ .wd-shell .budget-orgs { display: flex; flex-direction: column; gap: 5px; }
146
+ .wd-shell .budget-orgs-label {
147
+ font-size: 10.5px; line-height: 15px; letter-spacing: .05em;
148
+ text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;
149
+ }
150
+ .wd-shell .budget-org-row {
151
+ display: grid; grid-template-columns: minmax(0, 1fr) 74px 34px;
152
+ align-items: center; gap: 8px;
153
+ }
154
+ .wd-shell .budget-org-name {
155
+ font-size: 11.5px; line-height: 17px; color: var(--wd-text);
156
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
157
+ }
158
+ .wd-shell .budget-org-system { margin-left: 5px; font-size: 10px; color: var(--dsw-alias-label-tertiary); }
159
+ .wd-shell .budget-org-value {
160
+ font-size: 10.5px; line-height: 15px; text-align: right;
161
+ color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;
162
+ }
163
+ .wd-shell .budget-concentration {
164
+ margin: 0; font-size: 10.5px; line-height: 15px;
165
+ color: var(--dsw-alias-label-tertiary);
166
+ }
167
+
168
+ /* ---------- in-stage progress ---------- */
169
+ .wd-shell .stage-progress { display: flex; flex-direction: column; gap: 4px; }
170
+ .wd-shell .stage-progress-row {
171
+ display: grid; grid-template-columns: 68px minmax(0, 1fr) 82px;
172
+ align-items: center; gap: 8px;
173
+ }
174
+ .wd-shell .stage-progress-label {
175
+ font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);
176
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
177
+ }
178
+ .wd-shell .stage-progress-value {
179
+ font-size: 10.5px; line-height: 15px; text-align: right;
180
+ color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;
181
+ }
182
+ .wd-shell .stage-progress-empty {
183
+ grid-column: 2 / -1; font-size: 10.5px; line-height: 15px;
184
+ color: var(--dsw-alias-label-tertiary);
185
+ }
186
+ .wd-shell .stage-progress-row[data-empty="true"] { opacity: .7; }
187
+ `;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Shared display formatters.
3
+ *
4
+ * `formatWan` and `formatDate` had three copies each (overview, detail,
5
+ * insights), and `stageLabel` had two. Identical copies are not a style problem:
6
+ * three `formatDate` bodies meant three places to fix a timezone bug, and they
7
+ * had already drifted — the insights copy accepted `''` where the detail copy
8
+ * accepted `null`. One module, one behaviour.
9
+ *
10
+ * Everything here is pure and locale-explicit: the caller passes the active
11
+ * locale, so the result never depends on ambient state (and a replay or a test
12
+ * renders the same string as the live page).
13
+ */
14
+ import type { Translate } from './text.js';
15
+ /**
16
+ * Format a 万元 figure with thousands separators.
17
+ *
18
+ * Rounds to one decimal: the ledger stores whole 万元, so a decimal only ever
19
+ * appears from an average, and two decimals would imply a precision the data
20
+ * does not have.
21
+ */
22
+ export declare function formatWan(value: number): string;
23
+ /**
24
+ * Format a ledger date for the active locale.
25
+ *
26
+ * The ledger stores calendar dates, not instants, so a bare `new Date('2026-11-01')`
27
+ * parses as UTC midnight and prints the previous day west of Greenwich. The
28
+ * string is therefore read as local midnight. Anything that is not a calendar
29
+ * date is returned verbatim: showing the raw value is honest, and inventing a
30
+ * parse would hide a hand-edited typo.
31
+ *
32
+ * @param value the raw field, `null`, or `''`
33
+ * @param locale the active locale id
34
+ * @param fallback what to return for an absent value; defaults to `''`
35
+ */
36
+ export declare function formatDate(value: string | null, locale: string, fallback?: string): string;
37
+ /** Format an ISO instant (not a calendar date) as `HH:MM` for the status bar. */
38
+ export declare function clockOf(value: string | null, locale: string): string;
39
+ /**
40
+ * The dictionary label for a raw stage bucket key.
41
+ *
42
+ * Accepts the two sentinels `closed` / `unknown` alongside the five gate ids,
43
+ * because every stage-shaped surface (funnel, board column, filter chip) has to
44
+ * render all seven. An unrecognized value falls through unchanged rather than
45
+ * disappearing.
46
+ */
47
+ export declare function stageLabel(t: Translate, key: string): string;
48
+ /**
49
+ * A stage bucket key for one project: `closed` wins over the normalized stage.
50
+ *
51
+ * Kept here rather than inline so the funnel, the board and the blocker list
52
+ * bucket a project identically.
53
+ */
54
+ export declare function stageBucketKey(project: {
55
+ closed: boolean;
56
+ stage: string | null;
57
+ }): string;