@skillre/dsh-plugin-work-dashboard 0.10.1 → 0.11.1

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.
@@ -20,4 +20,4 @@
20
20
  * surface defines because nothing else uses them. The blocker rail that used to
21
21
  * live here moved to `css/blockers.ts` when it grew its own source filters.
22
22
  */
23
- export declare const OVERVIEW_CSS = "\n/* ---------- layout ---------- */\n.wd-shell .workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }\n@media (max-width: 1180px) { .wd-shell .workspace-grid { grid-template-columns: minmax(0, 1fr); } }\n.wd-shell .primary-column, .wd-shell .secondary-column { min-width: 0; display: flex; flex-direction: column; gap: 16px; }\n.wd-shell .panel {\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface); overflow: hidden;\n box-shadow: var(--wd-shadow-1);\n}\n.wd-shell .panel-header {\n display: flex; align-items: baseline; gap: 9px;\n padding: 12px 18px 10px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .panel-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; letter-spacing: -.005em; }\n.wd-shell .panel-kicker {\n margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary);\n font-variant-numeric: tabular-nums;\n padding: 1px 8px; border-radius: 20px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .panel-body { padding: 0; }\n.wd-shell .panel-body.padded { padding: 13px 18px; }\n/* A one-line caption between the panel header and its body: used by the blocker\n panel to state \"12 of 30 projects blocked\" before the list itself. */\n.wd-shell .panel-note {\n padding: 8px 18px 0;\n font-size: 11px; line-height: 16px;\n color: var(--dsw-alias-label-tertiary);\n}\n\n/* ---------- portfolio band ---------- */\n.wd-shell .pf-band {\n margin-bottom: 14px;\n border: 1px solid var(--wd-hairline); border-radius: 12px;\n background: var(--wd-surface);\n box-shadow: var(--wd-shadow-1);\n overflow: hidden;\n}\n.wd-shell .pf-band-head {\n display: flex; align-items: baseline; gap: 10px;\n padding: 9px 16px 8px;\n border-bottom: 1px solid var(--wd-hairline);\n background: linear-gradient(180deg, var(--wd-surface) 0%, var(--wd-inset) 150%);\n}\n.wd-shell .pf-band-title { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 650; }\n.wd-shell .pf-band-note { margin-left: auto; font-size: 11px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pf-grid {\n display: grid;\n grid-template-columns: repeat(8, minmax(0, 1fr));\n gap: 1px;\n background: var(--wd-hairline);\n}\n@media (max-width: 1280px) { .wd-shell .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }\n@media (max-width: 860px) { .wd-shell .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n@media (max-width: 560px) { .wd-shell .pf-grid { grid-template-columns: minmax(0, 1fr); } }\n/* Two strips, four blocks each. The band is context: it answers \"where does the\n money sit\" in about a third of the screen, then gets out of the way. An eight-column\n grid lets two wide figures and four list figures share exactly two rows. */\n.wd-shell .pf-block {\n padding: 8px 12px 9px;\n background: var(--wd-surface);\n min-height: 0;\n justify-content: flex-start;\n}\n.wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n.wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n@media (max-width: 1280px) {\n .wd-shell .pf-block[data-span=\"4\"] { grid-column: span 4; }\n .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 860px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 2; }\n}\n@media (max-width: 560px) {\n .wd-shell .pf-block[data-span=\"4\"], .wd-shell .pf-block[data-span=\"2\"] { grid-column: span 1; }\n}\n@media (max-width: 720px) { .wd-shell .pf-block-wide { grid-column: span 1; } }\n.wd-shell .pf-radials { display: flex; gap: 8px; justify-content: space-between; padding: 2px 2px 0; }\n/* Four rows fit exactly; the cap only protects against a deployment with many\n more orgs than this one, where the strip must not grow the band. */\n.wd-shell .pf-block[data-span=\"2\"] .barlist { max-height: 168px; overflow: auto; scrollbar-width: thin; }\n.wd-shell .pf-collapse {\n display: inline-flex; align-items: center; gap: 4px;\n padding: 1px 7px; border-radius: 6px;\n border: 1px solid var(--wd-hairline); background: var(--wd-inset);\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n cursor: pointer; font-family: inherit; white-space: nowrap;\n}\n.wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }\n.wd-shell .pf-band[data-collapsed=\"true\"] .pf-grid { display: none; }\n.wd-shell .pf-note {\n margin: 5px 0 0; font-size: 10px; line-height: 15px;\n color: var(--dsw-alias-label-tertiary);\n overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pf-note[data-tone=\"amber\"] { color: var(--wd-amber); }\n\n/* A secondary figure nested inside a band block: same box, quieter rules, so it\n reads as a detail of the chart above it rather than a seventh figure. */\n.wd-shell .pf-subfigure {\n margin-top: 9px; padding-top: 9px;\n border-top: 1px dashed var(--wd-hairline);\n display: flex; flex-direction: column; gap: 6px;\n}\n.wd-shell .pf-subfigure-label {\n font-size: 10px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n\n/* ---------- project cards ---------- */\n.wd-shell .pcard-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));\n gap: 12px; padding: 14px;\n}\n.wd-shell .pcard {\n display: flex; flex-direction: column; gap: 9px;\n padding: 13px 14px 11px;\n border: 1px solid var(--wd-hairline); border-radius: 10px;\n background: var(--wd-surface);\n cursor: pointer; min-width: 0;\n transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;\n}\n.wd-shell .pcard:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); transform: translateY(-1px); }\n.wd-shell .pcard:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: 1px; }\n.wd-shell .pcard[data-selected=\"true\"] {\n border-color: var(--wd-primary);\n box-shadow: 0 0 0 3px var(--wd-primary-soft), var(--wd-shadow-2);\n}\n.wd-shell .pcard[data-closed=\"true\"] { opacity: .82; }\n.wd-shell .pcard-head { display: flex; align-items: flex-start; gap: 8px; }\n.wd-shell .pcard-title-block { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }\n.wd-shell .pcard-name {\n font-size: 13.5px; line-height: 19px; font-weight: 650;\n letter-spacing: -.005em; overflow-wrap: anywhere;\n display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;\n}\n.wd-shell .pcard-id {\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n}\n.wd-shell .pcard-badge {\n flex: none; padding: 1px 7px; border-radius: 20px;\n font-size: 10px; line-height: 15px; font-weight: 650; white-space: nowrap;\n}\n.wd-shell .pcard-badge[data-tone=\"red\"] { background: var(--wd-red-soft); color: var(--wd-red); }\n.wd-shell .pcard-badge[data-tone=\"amber\"] { background: var(--wd-amber-soft); color: var(--wd-amber); }\n.wd-shell .pcard-stage { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.wd-shell .pcard-stage-pill { flex: none; }\n.wd-shell .pcard-stage .rail-mini { flex: 1 1 auto; }\n.wd-shell .pcard-meta { display: flex; align-items: baseline; gap: 8px; }\n.wd-shell .pcard-org {\n flex: 1 1 auto; min-width: 0;\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pcard-amount {\n flex: none; font-size: 12.5px; font-weight: 650;\n font-variant-numeric: tabular-nums; color: var(--wd-amber);\n}\n.wd-shell .pcard-unit { margin-left: 2px; font-size: 9.5px; font-weight: 500; color: var(--dsw-alias-label-tertiary); }\n.wd-shell .pcard-progress {\n display: flex; flex-direction: column; gap: 1px;\n padding: 7px 9px; border-radius: 8px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pcard-progress-label {\n font-size: 9.5px; line-height: 14px; letter-spacing: .05em;\n text-transform: uppercase; color: var(--dsw-alias-label-tertiary); font-weight: 600;\n}\n.wd-shell .pcard-progress-copy {\n font-size: 11.5px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pcard-progress-meta {\n margin-top: 1px; font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pcard-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }\n.wd-shell .pcard-dim {\n display: flex; flex-direction: column; align-items: center; gap: 1px;\n padding: 3px 2px; border-radius: 6px; min-width: 0;\n background: var(--wd-red-soft);\n}\n.wd-shell .pcard-dim[data-present=\"true\"] { background: var(--wd-green-soft); }\n.wd-shell .pcard-dim-mark { font-size: 10.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pcard-dim[data-present=\"true\"] .pcard-dim-mark { color: var(--wd-green); }\n.wd-shell .pcard-dim-label {\n font-size: 8.5px; line-height: 12px; color: var(--dsw-alias-label-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;\n}\n.wd-shell .pcard-foot { display: flex; align-items: center; gap: 8px; }\n.wd-shell .pcard-since { font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pcard-open { margin-left: auto; font-size: 10.5px; color: var(--wd-primary); font-weight: 600; }\n\n/* ---------- board ---------- */\n.wd-shell .pboard {\n display: flex; gap: 10px; padding: 14px;\n overflow-x: auto; overscroll-behavior-x: contain;\n align-items: stretch;\n}\n.wd-shell .pboard-column {\n flex: 1 1 0; min-width: 176px; max-width: 300px;\n display: flex; flex-direction: column; gap: 8px;\n padding: 10px 9px 12px; border-radius: 10px;\n background: var(--wd-inset); border: 1px solid var(--wd-hairline);\n}\n.wd-shell .pboard-column[data-empty=\"true\"] { background: transparent; border-style: dashed; }\n.wd-shell .pboard-column-head { display: flex; flex-direction: column; gap: 3px; }\n.wd-shell .pboard-column-label { font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-secondary); }\n.wd-shell .pboard-column-count {\n font-size: 9.5px; line-height: 14px;\n color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums;\n}\n.wd-shell .pboard-column-body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }\n.wd-shell .pboard-card {\n display: flex; flex-direction: column; gap: 3px;\n padding: 9px 10px; border-radius: 8px; width: 100%; text-align: left;\n border: 1px solid var(--wd-hairline); background: var(--wd-surface);\n cursor: pointer; font-family: inherit;\n box-shadow: var(--wd-shadow-1);\n transition: box-shadow .14s ease, border-color .14s ease;\n}\n.wd-shell .pboard-card:hover { box-shadow: var(--wd-shadow-2); border-color: var(--dsw-alias-border-l2); }\n.wd-shell .pboard-card[data-high=\"true\"] { border-left: 3px solid var(--wd-red); }\n.wd-shell .pboard-card-name {\n font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-primary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }\n.wd-shell .pboard-card-owner { font-variant-numeric: normal; }\n.wd-shell .pboard-card-progress {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }\n.wd-shell .pboard-empty {\n padding: 16px 8px; text-align: center;\n font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary);\n border: 1px dashed var(--wd-hairline); border-radius: 8px;\n}\n\n/* ---------- table ---------- */\n.wd-shell .project-table { width: 100%; border-collapse: collapse; table-layout: fixed; }\n.wd-shell .table-head th {\n position: sticky; top: 0; z-index: 1;\n padding: 8px 12px; text-align: left; white-space: nowrap;\n font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;\n color: var(--dsw-alias-label-tertiary);\n border-bottom: 1px solid var(--wd-hairline);\n background: var(--wd-inset);\n}\n.wd-shell .table-head th:first-child { padding-left: 16px; }\n.wd-shell .table-head th:last-child { padding-right: 16px; }\n.wd-shell .ptable-sort {\n display: inline-flex; align-items: center; gap: 3px;\n padding: 0; border: 0; background: transparent; cursor: pointer;\n font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;\n text-transform: uppercase; color: inherit; white-space: nowrap;\n}\n.wd-shell .ptable-sort:hover { color: var(--wd-text); }\n.wd-shell .ptable-sort[data-active=\"true\"] { color: var(--wd-primary); }\n.wd-shell .ptable-sort-arrow { font-size: 9.5px; }\n.wd-shell .project-row { border-bottom: 1px solid var(--wd-hairline); cursor: pointer; transition: background .1s ease; }\n.wd-shell .project-row:last-child { border-bottom: 0; }\n.wd-shell .project-row:hover { background: var(--wd-inset); }\n.wd-shell .project-row[data-selected=\"true\"] { background: var(--wd-primary-soft); }\n.wd-shell .project-row:focus-visible { outline: 2px solid var(--wd-primary); outline-offset: -2px; }\n.wd-shell .project-row td { padding: 10px 12px; vertical-align: middle; }\n.wd-shell .project-row td:first-child { padding-left: 16px; }\n.wd-shell .project-row td:last-child { padding-right: 16px; text-align: right; }\n.wd-shell .project-name {\n font-size: 12.5px; line-height: 18px; font-weight: 600;\n display: block; overflow-wrap: anywhere; letter-spacing: -.005em;\n}\n.wd-shell .project-id {\n font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n.wd-shell .project-org { display: block; font-size: 11.5px; line-height: 17px; font-weight: 550; overflow-wrap: anywhere; }\n.wd-shell .project-meta { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); }\n.wd-shell .progress-summary {\n font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;\n}\n.wd-shell .ptable-stage { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }\n.wd-shell .ptable-amount { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }\n.wd-shell .amount-cell { display: block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12px; }\n.wd-shell .gap-cell { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }\n.wd-shell .gap-count { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12.5px; }\n.wd-shell .gap-count[data-level=\"high\"] { color: var(--wd-red); }\n.wd-shell .gap-count[data-level=\"medium\"] { color: var(--wd-amber); }\n.wd-shell .gap-count[data-level=\"none\"] { color: var(--wd-green); }\n.wd-shell .row-actions { display: flex; gap: 5px; justify-content: flex-end; }\n.wd-shell .gap-copy { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }\n\n@media (prefers-reduced-motion: reduce) {\n .wd-shell .pcard, .wd-shell .pboard-card, .wd-shell .project-row { transition: none; }\n}\n";
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/* The note under a band block carries the analysis *conclusion*, not a caption:\n the long form ends with the recommended action. Clamping it at two lines cut\n exactly that sentence off, so it flows at its natural height instead. Measured\n at 307px, the long note runs to three lines \u2014 15px taller than the clamp. */\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}\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/* Three lines, not one.\n *\n * A board column is 258px wide, so 'nowrap' fit roughly 25 of the summary's 68\n * characters and sent the remaining 43 into an ellipsis \u2014 not enough left to tell\n * what kind of progress it even was. Three wrapped lines hold all of it and cost\n * the card 14px, which the column has: it is the one surface on this page whose\n * job is to say what just happened, not just that something happened. */\n.wd-shell .pboard-card-progress {\n font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);\n overflow: hidden; display: -webkit-box;\n -webkit-line-clamp: 3; -webkit-box-orient: vertical;\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";
@@ -113,11 +113,14 @@ export const OVERVIEW_CSS = `
113
113
  }
114
114
  .wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }
115
115
  .wd-shell .pf-band[data-collapsed="true"] .pf-grid { display: none; }
116
+ /* The note under a band block carries the analysis *conclusion*, not a caption:
117
+ the long form ends with the recommended action. Clamping it at two lines cut
118
+ exactly that sentence off, so it flows at its natural height instead. Measured
119
+ at 307px, the long note runs to three lines — 15px taller than the clamp. */
116
120
  .wd-shell .pf-note {
117
121
  margin: 5px 0 0; font-size: 10px; line-height: 15px;
118
122
  color: var(--dsw-alias-label-tertiary);
119
123
  overflow-wrap: anywhere;
120
- display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
121
124
  }
122
125
  .wd-shell .pf-note[data-tone="amber"] { color: var(--wd-amber); }
123
126
 
@@ -255,9 +258,17 @@ export const OVERVIEW_CSS = `
255
258
  }
256
259
  .wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
257
260
  .wd-shell .pboard-card-owner { font-variant-numeric: normal; }
261
+ /* Three lines, not one.
262
+ *
263
+ * A board column is 258px wide, so 'nowrap' fit roughly 25 of the summary's 68
264
+ * characters and sent the remaining 43 into an ellipsis — not enough left to tell
265
+ * what kind of progress it even was. Three wrapped lines hold all of it and cost
266
+ * the card 14px, which the column has: it is the one surface on this page whose
267
+ * job is to say what just happened, not just that something happened. */
258
268
  .wd-shell .pboard-card-progress {
259
269
  font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);
260
- overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
270
+ overflow: hidden; display: -webkit-box;
271
+ -webkit-line-clamp: 3; -webkit-box-orient: vertical;
261
272
  }
262
273
  .wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }
263
274
  .wd-shell .pboard-empty {
@@ -160,12 +160,25 @@ export const zh = {
160
160
  exportSelectNone: '清空',
161
161
  exportSelected: '已选 {count} 个项目',
162
162
  exportBlank: '只导出空白表单(新建项目用)',
163
- exportBlankHint: '不勾选任何项目时,会生成一个空白的「新建项目」表单。',
163
+ exportBlankHint: '还没勾选项目。至少选一个,否则表单里没有可补充的对象。',
164
+ // The three intents. They differ in WHAT the form asks, not just how much it
165
+ // shows, so each carries a one-line explanation rather than a bare label.
166
+ exportIntentLabel: '这次要做什么',
167
+ exportIntentNew: '新建项目',
168
+ exportIntentNewHint: '立项登记:身份 + G0 五必填',
169
+ exportIntentSupplement: '补充信息',
170
+ exportIntentSupplementHint: '只填当前阶段该填的,其余只读',
171
+ exportIntentProgress: '记录进展',
172
+ exportIntentProgressHint: '只填这一轮,一屏完成',
173
+ exportNewHint: '新建项目表单只问两件事:项目身份,和 G0 的五个必填项。计划(指标、场景)留到 G1 再填——台账也是 G0 通过之后才要求计划。',
174
+ exportStageFilterLabel: '按阶段筛选',
175
+ exportStageAll: '全部阶段',
176
+ exportStageEmpty: '这个阶段下没有项目。',
177
+ exportHint: '表单完全离线可用:没有 CDN、没有外部字体、没有服务器。填完下载的变更集(.json)发给项目负责人,由他合并进台账。',
164
178
  exportGenerate: '生成并下载',
165
179
  exportGenerating: '正在生成…',
166
180
  exportDone: '已下载 {name}',
167
181
  exportSize: '{kb} KB',
168
- exportHint: '表单完全离线可用:没有 CDN、没有外部字体、没有服务器。填完导出的 .yaml 可以直接拖进本插件的导入页。',
169
182
  exportNoProjects: '先点【刷新】拉到数据,才能导出已有项目的表单。',
170
183
  exportFailed: '生成表单失败',
171
184
  // Milestone 3: risk board
@@ -735,12 +748,23 @@ export const en = {
735
748
  exportSelectNone: 'Clear',
736
749
  exportSelected: '{count} project(s) selected',
737
750
  exportBlank: 'Export a blank form only (for a new project)',
738
- exportBlankHint: 'With nothing selected, a blank "new project" form is generated.',
751
+ exportBlankHint: 'Nothing selected yet. Pick at least one project, or there is nothing to fill in.',
752
+ exportIntentLabel: 'What is this for',
753
+ exportIntentNew: 'New project',
754
+ exportIntentNewHint: 'Registration: identity + the five G0 requirements',
755
+ exportIntentSupplement: 'Fill in a stage',
756
+ exportIntentSupplementHint: 'Only the current stage is editable',
757
+ exportIntentProgress: 'Record progress',
758
+ exportIntentProgressHint: 'One round, one screen',
759
+ exportNewHint: 'A new-project form asks only two things: the project identity, and the five Gate 0 requirements. The plan (criteria, scenarios) waits for G1 — the ledger only demands a plan after G0 passes.',
760
+ exportStageFilterLabel: 'Filter by stage',
761
+ exportStageAll: 'All stages',
762
+ exportStageEmpty: 'No projects at this stage.',
763
+ exportHint: 'The form works fully offline: no CDN, no external fonts, no server. The change set (.json) it produces goes to the project owner, who merges it into the ledger.',
739
764
  exportGenerate: 'Generate and download',
740
765
  exportGenerating: 'Generating…',
741
766
  exportDone: 'Downloaded {name}',
742
767
  exportSize: '{kb} KB',
743
- exportHint: 'The form works fully offline: no CDN, no external fonts, no server. The .yaml it produces can be dropped straight into this plugin\'s import page.',
744
768
  exportNoProjects: 'Refresh first to pull the ledger before exporting an existing project.',
745
769
  exportFailed: 'Could not generate the form',
746
770
  // Milestone 3: risk board