@skillre/dsh-plugin-work-dashboard 0.11.0 → 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.
- package/compatibility.json +45 -0
- package/docs/DESIGN-/346/226/207/346/234/254/346/210/252/346/226/255.md +565 -0
- package/lib/client/css/detail.d.ts +2 -3
- package/lib/client/css/detail.js +59 -317
- package/lib/client/css/overview.d.ts +1 -1
- package/lib/client/css/overview.js +13 -2
- package/lib/client.js +73 -319
- package/package.json +1 -1
|
@@ -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;
|
|
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 {
|
package/lib/client.js
CHANGED
|
@@ -5085,7 +5085,7 @@ window.__ModuleLoader__.load({
|
|
|
5085
5085
|
] }),
|
|
5086
5086
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "pcard-progress", children: [
|
|
5087
5087
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pcard-progress-label", children: t("cardLatestProgress") }),
|
|
5088
|
-
project.progressCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pcard-progress-copy is-muted", children: t("cardNoProgress") }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pcard-progress-copy", children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5088
|
+
project.progressCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pcard-progress-copy is-muted", children: t("cardNoProgress") }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pcard-progress-copy", title: project.lastProgressSummary === "" ? void 0 : project.lastProgressSummary, children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5089
5089
|
project.progressCount === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "pcard-progress-meta", children: [
|
|
5090
5090
|
formatDate(project.lastProgressDate, locale),
|
|
5091
5091
|
" \xB7 ",
|
|
@@ -5128,7 +5128,7 @@ window.__ModuleLoader__.load({
|
|
|
5128
5128
|
project.owner
|
|
5129
5129
|
] })
|
|
5130
5130
|
] }),
|
|
5131
|
-
project.progressCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pboard-card-progress is-muted", children: t("cardNoProgress") }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pboard-card-progress", children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5131
|
+
project.progressCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pboard-card-progress is-muted", children: t("cardNoProgress") }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pboard-card-progress", title: project.lastProgressSummary === "" ? void 0 : project.lastProgressSummary, children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5132
5132
|
project.highGapCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "pboard-card-gap", "data-tone": "red", children: format(t("boardHighBadge"), { count: project.highGapCount }) }) : null
|
|
5133
5133
|
] });
|
|
5134
5134
|
}
|
|
@@ -5216,7 +5216,7 @@ window.__ModuleLoader__.load({
|
|
|
5216
5216
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(InlineMeter, { value: project.amountWan, max: peak, tone: "amber" })
|
|
5217
5217
|
] }) }),
|
|
5218
5218
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("td", { children: project.progressCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "project-meta is-muted", children: t("cardNoProgress") }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
5219
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "progress-summary", children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5219
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "progress-summary", title: project.lastProgressSummary === "" ? void 0 : project.lastProgressSummary, children: project.lastProgressSummary === "" ? t("emptyField") : project.lastProgressSummary }),
|
|
5220
5220
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "project-id", children: format(t("tableProgressCell"), { date: formatDate(project.lastProgressDate, locale), count: project.progressCount }) })
|
|
5221
5221
|
] }) }),
|
|
5222
5222
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "gap-cell", children: [
|
|
@@ -6713,7 +6713,15 @@ window.__ModuleLoader__.load({
|
|
|
6713
6713
|
.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
|
|
6714
6714
|
|
|
6715
6715
|
/* ---------- Gate 0 card grid ---------- */
|
|
6716
|
-
|
|
6716
|
+
/* 'align-items: start' keeps every card at its own content height. The default
|
|
6717
|
+
'stretch' would force a one-line answer and a ten-line argument sharing a row
|
|
6718
|
+
to be equally tall, leaving a hollow block under the short one that reads as
|
|
6719
|
+
"this card was never finished". The short answers stay visually even anyway:
|
|
6720
|
+
they are all one or two lines. */
|
|
6721
|
+
.wd-shell .g0-grid {
|
|
6722
|
+
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
6723
|
+
gap: 12px; align-items: start;
|
|
6724
|
+
}
|
|
6717
6725
|
.wd-shell .g0-card {
|
|
6718
6726
|
display: flex; flex-direction: column; gap: 5px;
|
|
6719
6727
|
padding: 10px 12px; border-radius: 8px;
|
|
@@ -6727,136 +6735,43 @@ window.__ModuleLoader__.load({
|
|
|
6727
6735
|
color: var(--wd-amber); background: var(--wd-amber-soft);
|
|
6728
6736
|
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
6729
6737
|
}
|
|
6738
|
+
/* Every G0 answer keeps its own line breaks. The ledger stores these fields as
|
|
6739
|
+
structured prose \u2014 '\u4E3A\u4EC0\u4E48\u6D4B\u8BD5\uFF1A' / numbered points / a blank line / '\u4E0B\u4E00\u6B65\u52A8\u4F5C
|
|
6740
|
+
\u548C\u76EE\u6807\uFF1A' \u2014 and 'white-space: normal' collapses all of that into one run-on
|
|
6741
|
+
paragraph: the numbers detach from their items and the second heading vanishes
|
|
6742
|
+
into the body. 71% of the ledger's non-empty G0 answers carry such breaks. */
|
|
6730
6743
|
.wd-shell .g0-card-body {
|
|
6731
6744
|
margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary);
|
|
6732
|
-
overflow-wrap: anywhere;
|
|
6745
|
+
overflow-wrap: anywhere; white-space: pre-wrap;
|
|
6746
|
+
}
|
|
6747
|
+
/* The two narrative answers are NOT clamped.
|
|
6748
|
+
*
|
|
6749
|
+
* An earlier version cut them at three lines, which silently hid 62% of the
|
|
6750
|
+
* ledger's G0 arguments (up to 7 of a field's 10 lines) with no ellipsis and no
|
|
6751
|
+
* expand affordance. These two fields are the densest content the ledger holds;
|
|
6752
|
+
* a page that claims to be "read, not skimmed" cannot truncate them. They are
|
|
6753
|
+
* given a heavier weight instead, so an argument reads as evidence rather than
|
|
6754
|
+
* as another one-line answer. */
|
|
6755
|
+
.wd-shell .g0-card[data-prose="true"] .g0-card-body {
|
|
6756
|
+
font-size: 11.5px; line-height: 17px;
|
|
6757
|
+
color: var(--dsw-alias-label-primary);
|
|
6733
6758
|
}
|
|
6734
|
-
.wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
6735
6759
|
.wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
6736
6760
|
.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
|
|
6737
6761
|
|
|
6738
6762
|
/* ---------- rail ---------- */
|
|
6739
|
-
.wd-shell .dt-rail-head { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
|
|
6740
|
-
.wd-shell .dt-rail-back { margin-bottom: 4px; }
|
|
6741
|
-
.wd-shell .dt-rail-title {
|
|
6742
|
-
margin: 0; font-size: 16px; line-height: 23px; font-weight: 650;
|
|
6743
|
-
letter-spacing: -.01em; overflow-wrap: anywhere;
|
|
6744
|
-
}
|
|
6745
|
-
.wd-shell .dt-rail-id { display: block; }
|
|
6746
|
-
.wd-shell .dt-rail-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
|
|
6747
|
-
.wd-shell .dt-rail-amount {
|
|
6748
|
-
display: flex; flex-direction: column; gap: 1px;
|
|
6749
|
-
padding: 10px 12px; border-radius: 9px;
|
|
6750
|
-
background: var(--wd-amber-soft); border: 1px solid transparent;
|
|
6751
|
-
}
|
|
6752
|
-
.wd-shell .dt-rail-amount-label {
|
|
6753
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
6754
|
-
text-transform: uppercase; font-weight: 600; color: var(--wd-amber);
|
|
6755
|
-
}
|
|
6756
|
-
.wd-shell .dt-rail-amount-value {
|
|
6757
|
-
font-size: 22px; line-height: 28px; font-weight: 650;
|
|
6758
|
-
font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em;
|
|
6759
|
-
}
|
|
6760
|
-
.wd-shell .dt-rail-amount-value[data-empty="true"] {
|
|
6761
|
-
font-size: 13px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary);
|
|
6762
|
-
}
|
|
6763
|
-
.wd-shell .dt-rail-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
6764
|
-
.wd-shell .dt-rail-block { display: flex; flex-direction: column; gap: 7px; }
|
|
6765
|
-
.wd-shell .dt-rail-block-title {
|
|
6766
|
-
margin: 0; font-size: 10.5px; line-height: 15px; letter-spacing: .06em;
|
|
6767
|
-
text-transform: uppercase; font-weight: 650; color: var(--dsw-alias-label-tertiary);
|
|
6768
|
-
}
|
|
6769
|
-
.wd-shell .dt-rail-empty { margin: 0; font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
6770
6763
|
|
|
6771
6764
|
/* vertical stage track */
|
|
6772
|
-
.wd-shell .dt-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; position: relative; }
|
|
6773
|
-
.wd-shell .dt-stage { display: flex; align-items: center; gap: 9px; padding: 4px 0; position: relative; }
|
|
6774
|
-
.wd-shell .dt-stage:not(:last-child)::after {
|
|
6775
|
-
content: ''; position: absolute; left: 9px; top: 22px; bottom: -3px;
|
|
6776
|
-
width: 1px; background: var(--wd-hairline);
|
|
6777
|
-
}
|
|
6778
|
-
.wd-shell .dt-stage[data-done="true"]:not(:last-child)::after { background: var(--wd-green); opacity: .45; }
|
|
6779
|
-
.wd-shell .dt-stage-marker {
|
|
6780
|
-
position: relative; z-index: 1; flex: none;
|
|
6781
|
-
width: 19px; height: 19px; border-radius: 50%;
|
|
6782
|
-
display: flex; align-items: center; justify-content: center;
|
|
6783
|
-
font-size: 9px; font-weight: 650;
|
|
6784
|
-
border: 1.5px solid var(--wd-hairline); background: var(--wd-surface);
|
|
6785
|
-
color: var(--dsw-alias-label-tertiary);
|
|
6786
|
-
}
|
|
6787
|
-
.wd-shell .dt-stage[data-done="true"] .dt-stage-marker { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }
|
|
6788
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-marker {
|
|
6789
|
-
border-color: var(--wd-primary); background: var(--wd-primary); color: #fff;
|
|
6790
|
-
box-shadow: 0 0 0 3px var(--wd-primary-soft);
|
|
6791
|
-
}
|
|
6792
|
-
.wd-shell .dt-stage-text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
|
|
6793
|
-
.wd-shell .dt-stage-label { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--dsw-alias-label-secondary); }
|
|
6794
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-label { color: var(--wd-primary); }
|
|
6795
|
-
.wd-shell .dt-stage-state { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
6796
|
-
.wd-shell .dt-stage[data-current="true"] .dt-stage-state { color: var(--wd-primary); }
|
|
6797
6765
|
|
|
6798
6766
|
/* rail dimension summary: four compact marks, never merged into one score.
|
|
6799
6767
|
The full cards with their origin tags live in the reading pane; the rail only
|
|
6800
6768
|
needs to say "which of the four exist", because the rail is scanned, not read. */
|
|
6801
|
-
.wd-shell .dt-rail-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
|
|
6802
|
-
.wd-shell .dim-mini {
|
|
6803
|
-
display: flex; align-items: center; gap: 5px; min-width: 0;
|
|
6804
|
-
padding: 4px 7px; border-radius: 6px;
|
|
6805
|
-
background: var(--wd-red-soft);
|
|
6806
|
-
}
|
|
6807
|
-
.wd-shell .dim-mini[data-present="true"] { background: var(--wd-green-soft); }
|
|
6808
|
-
.wd-shell .dim-mini-mark { flex: none; font-size: 10px; line-height: 14px; font-weight: 650; color: var(--wd-red); }
|
|
6809
|
-
.wd-shell .dim-mini[data-present="true"] .dim-mini-mark { color: var(--wd-green); }
|
|
6810
|
-
.wd-shell .dim-mini-label {
|
|
6811
|
-
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
6812
|
-
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
6813
|
-
}
|
|
6814
|
-
.wd-shell .dim-card {
|
|
6815
|
-
display: flex; flex-direction: column; gap: 1px; min-width: 0;
|
|
6816
|
-
padding: 7px 8px; border-radius: 8px;
|
|
6817
|
-
border: 1px solid var(--wd-hairline); background: var(--wd-inset);
|
|
6818
|
-
}
|
|
6819
|
-
.wd-shell .dim-card[data-present="true"] { border-color: transparent; background: var(--wd-green-soft); }
|
|
6820
|
-
.wd-shell .dim-card[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
6821
|
-
.wd-shell .dim-card-label { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary); font-weight: 550; }
|
|
6822
|
-
.wd-shell .dim-card-mark { font-size: 11px; line-height: 15px; font-weight: 650; }
|
|
6823
|
-
.wd-shell .dim-card[data-present="true"] .dim-card-mark { color: var(--wd-green); }
|
|
6824
|
-
.wd-shell .dim-card[data-present="false"] .dim-card-mark { color: var(--wd-red); }
|
|
6825
|
-
.wd-shell .dim-card-value {
|
|
6826
|
-
font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
6827
|
-
overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
|
6828
|
-
}
|
|
6829
|
-
.wd-shell .dim-card-origin {
|
|
6830
|
-
margin-top: 1px; font-size: 8.5px; line-height: 12px;
|
|
6831
|
-
color: var(--dsw-alias-label-tertiary); letter-spacing: .02em;
|
|
6832
|
-
}
|
|
6833
|
-
.wd-shell .dim-card-reason { font-size: 8.5px; line-height: 12px; color: var(--wd-red); opacity: .8; }
|
|
6834
6769
|
|
|
6835
6770
|
/* rail gaps */
|
|
6836
|
-
.wd-shell .dt-rail-gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
6837
|
-
.wd-shell .dt-rail-gap { display: flex; align-items: baseline; gap: 6px; }
|
|
6838
|
-
.wd-shell .dt-rail-gap-no {
|
|
6839
|
-
flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
6840
|
-
font-size: 9px; line-height: 14px; font-weight: 650;
|
|
6841
|
-
padding: 0 4px; border-radius: 3px;
|
|
6842
|
-
}
|
|
6843
|
-
.wd-shell .dt-rail-gap[data-level="high"] .dt-rail-gap-no { background: var(--wd-red-soft); color: var(--wd-red); }
|
|
6844
|
-
.wd-shell .dt-rail-gap[data-level="medium"] .dt-rail-gap-no { background: var(--wd-amber-soft); color: var(--wd-amber); }
|
|
6845
|
-
.wd-shell .dt-rail-gap-title { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
6846
6771
|
|
|
6847
6772
|
/* rail meta */
|
|
6848
|
-
.wd-shell .dt-rail-meta { display: flex; flex-direction: column; gap: 3px; }
|
|
6849
|
-
.wd-shell .dt-rail-meta-row { display: flex; align-items: baseline; gap: 8px; }
|
|
6850
|
-
.wd-shell .dt-rail-meta-label { flex: none; width: 82px; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
6851
|
-
.wd-shell .dt-rail-meta-value {
|
|
6852
|
-
flex: 1 1 auto; min-width: 0; font-size: 10.5px; line-height: 15px;
|
|
6853
|
-
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
6854
|
-
}
|
|
6855
|
-
.wd-shell .dt-rail-meta-value[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
6856
6773
|
|
|
6857
6774
|
/* rail navigation */
|
|
6858
|
-
.wd-shell .dt-rail-nav { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
|
|
6859
|
-
.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; }
|
|
6860
6775
|
|
|
6861
6776
|
/* ---------- section frame ---------- */
|
|
6862
6777
|
.wd-shell .dsec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
@@ -6937,112 +6852,49 @@ window.__ModuleLoader__.load({
|
|
|
6937
6852
|
.wd-shell .prog-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
6938
6853
|
.wd-shell .prog-date { font-size: 12px; line-height: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
6939
6854
|
.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); }
|
|
6940
|
-
.wd-shell .prog-seq { font-size: 9.5px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
6941
6855
|
.wd-shell .prog-chip { margin-left: auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); }
|
|
6942
6856
|
.wd-shell .prog-meter { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 150px; }
|
|
6943
|
-
.wd-shell .prog-meter-label { font-size: 9px; line-height: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--dsw-alias-label-tertiary); }
|
|
6944
6857
|
.wd-shell .prog-meter .inline-meter { flex: 1 1 auto; min-width: 40px; }
|
|
6945
6858
|
.wd-shell .prog-meter-value { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--dsw-alias-label-secondary); }
|
|
6946
6859
|
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
.wd-shell .
|
|
6958
|
-
|
|
6959
|
-
|
|
6860
|
+
|
|
6861
|
+
/*
|
|
6862
|
+
* Balance the columns.
|
|
6863
|
+
*
|
|
6864
|
+
* The progress stream grows without limit (one card per round), while the left
|
|
6865
|
+
* column holds a fixed set of commitments. Left alone, a project with ten rounds
|
|
6866
|
+
* leaves the commitments column looking half-empty. Capping the stream keeps the
|
|
6867
|
+
* two columns visually comparable and gives the reader an obvious scroll target,
|
|
6868
|
+
* while every round stays reachable.
|
|
6869
|
+
*/
|
|
6870
|
+
.wd-shell .dt-col-side .prog-stream {
|
|
6871
|
+
max-height: none; overflow-y: visible;
|
|
6872
|
+
padding-right: 4px;
|
|
6873
|
+
scrollbar-width: thin;
|
|
6960
6874
|
}
|
|
6961
|
-
.wd-shell .
|
|
6962
|
-
.wd-shell .
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
.wd-shell .prog-
|
|
6966
|
-
.wd-shell .prog-
|
|
6967
|
-
.wd-shell .prog-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
padding:
|
|
6971
|
-
border-left: 3px solid var(--wd-primary);
|
|
6972
|
-
background: var(--wd-primary-soft);
|
|
6875
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }
|
|
6876
|
+
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }
|
|
6877
|
+
|
|
6878
|
+
/* ---------- compact timeline row ---------- */
|
|
6879
|
+
.wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }
|
|
6880
|
+
.wd-shell .prog-card-compact .prog-head { gap: 8px; }
|
|
6881
|
+
.wd-shell .prog-change {
|
|
6882
|
+
font-size: 9px; line-height: 13px; font-weight: 650;
|
|
6883
|
+
color: var(--wd-primary); background: var(--wd-primary-soft);
|
|
6884
|
+
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
6973
6885
|
}
|
|
6974
|
-
.wd-shell .prog-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
text-transform: uppercase; font-weight: 650; color: var(--wd-primary);
|
|
6886
|
+
.wd-shell .prog-actual-line {
|
|
6887
|
+
margin: 0; font-size: 11.5px; line-height: 17px;
|
|
6888
|
+
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
6978
6889
|
}
|
|
6979
|
-
.wd-shell .prog-
|
|
6980
|
-
.wd-shell .prog-
|
|
6981
|
-
.wd-shell .prog-next-goal { font-size: 11.5px; line-height: 17px; font-weight: 600; color: var(--dsw-alias-label-primary); }
|
|
6890
|
+
.wd-shell .prog-actual-line[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
6891
|
+
.wd-shell .prog-scope-row { margin-top: 1px; }
|
|
6982
6892
|
|
|
6983
6893
|
/* ---------- dimension grid (detail) ---------- */
|
|
6984
|
-
.wd-shell .dim-grid-detail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
|
|
6985
|
-
@media (max-width: 900px) { .wd-shell .dim-grid-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
6986
|
-
.wd-shell .dim-grid-detail .dim-card {
|
|
6987
|
-
padding: 11px 12px; border-radius: 10px; gap: 3px;
|
|
6988
|
-
border-left: 3px solid var(--wd-red);
|
|
6989
|
-
box-shadow: var(--wd-shadow-1);
|
|
6990
|
-
}
|
|
6991
|
-
.wd-shell .dim-grid-detail .dim-card[data-present="true"] { border-left-color: var(--wd-green); }
|
|
6992
|
-
.wd-shell .dim-grid-detail .dim-card-label { font-size: 10.5px; line-height: 15px; }
|
|
6993
|
-
.wd-shell .dim-grid-detail .dim-card-mark { font-size: 14px; line-height: 20px; }
|
|
6994
|
-
.wd-shell .dim-grid-detail .dim-card-value { font-size: 12px; line-height: 18px; color: var(--dsw-alias-label-primary); -webkit-line-clamp: 3; }
|
|
6995
|
-
.wd-shell .dim-grid-detail .dim-card-origin {
|
|
6996
|
-
display: inline-flex; align-self: flex-start; margin-top: 2px;
|
|
6997
|
-
padding: 0 5px; border-radius: 4px; font-size: 9px; line-height: 15px;
|
|
6998
|
-
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
6999
|
-
color: var(--dsw-alias-label-tertiary);
|
|
7000
|
-
}
|
|
7001
6894
|
|
|
7002
6895
|
/* ---------- G0 meter ---------- */
|
|
7003
|
-
.wd-shell .g0-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
|
|
7004
|
-
@media (max-width: 760px) { .wd-shell .g0-meter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
7005
|
-
.wd-shell .g0-cell {
|
|
7006
|
-
display: flex; flex-direction: column; align-items: center; gap: 2px;
|
|
7007
|
-
padding: 8px 6px; border-radius: 8px; min-width: 0;
|
|
7008
|
-
background: var(--wd-red-soft); border: 1px solid transparent;
|
|
7009
|
-
}
|
|
7010
|
-
.wd-shell .g0-cell[data-present="true"] { background: var(--wd-green-soft); }
|
|
7011
|
-
.wd-shell .g0-cell-mark { font-size: 12px; line-height: 16px; font-weight: 650; color: var(--wd-red); }
|
|
7012
|
-
.wd-shell .g0-cell[data-present="true"] .g0-cell-mark { color: var(--wd-green); }
|
|
7013
|
-
.wd-shell .g0-cell-label {
|
|
7014
|
-
font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
7015
|
-
text-align: center; overflow-wrap: anywhere;
|
|
7016
|
-
}
|
|
7017
|
-
.wd-shell .g0-fields { display: flex; flex-direction: column; gap: 8px; }
|
|
7018
|
-
.wd-shell .g0-field {
|
|
7019
|
-
display: flex; flex-direction: column; gap: 2px;
|
|
7020
|
-
padding: 9px 11px; border-radius: 9px;
|
|
7021
|
-
border: 1px solid var(--wd-hairline); background: var(--wd-surface);
|
|
7022
|
-
}
|
|
7023
|
-
.wd-shell .g0-field[data-present="false"] { border-color: transparent; background: var(--wd-red-soft); }
|
|
7024
|
-
.wd-shell .g0-field-label {
|
|
7025
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
7026
|
-
text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary);
|
|
7027
|
-
}
|
|
7028
|
-
.wd-shell .g0-field-value { margin: 0; font-size: 12px; line-height: 19px; color: var(--dsw-alias-label-secondary); }
|
|
7029
|
-
.wd-shell .g0-field[data-prose="true"] .g0-field-value { font-size: 12.5px; line-height: 20px; color: var(--dsw-alias-label-primary); }
|
|
7030
|
-
.wd-shell .g0-field-missing { margin: 0; font-size: 11px; line-height: 16px; color: var(--wd-red); font-style: italic; }
|
|
7031
|
-
.wd-shell .g0-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
7032
|
-
.wd-shell .g0-review { font-size: 11px; line-height: 17px; color: var(--dsw-alias-label-secondary); }
|
|
7033
|
-
.wd-shell .g0-review[data-empty="true"] { color: var(--dsw-alias-label-tertiary); font-style: italic; }
|
|
7034
6896
|
|
|
7035
6897
|
/* ---------- plan ---------- */
|
|
7036
|
-
.wd-shell .plan-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
7037
|
-
@media (max-width: 900px) { .wd-shell .plan-meta { grid-template-columns: minmax(0, 1fr); } }
|
|
7038
|
-
.wd-shell .plan-strip {
|
|
7039
|
-
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
|
|
7040
|
-
padding: 9px 12px; border-radius: 9px;
|
|
7041
|
-
background: var(--wd-inset); border: 1px solid var(--wd-hairline);
|
|
7042
|
-
}
|
|
7043
|
-
.wd-shell .plan-strip-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
7044
|
-
.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; }
|
|
7045
|
-
.wd-shell .plan-strip-value { font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); font-variant-numeric: tabular-nums; }
|
|
7046
6898
|
.wd-shell .plan-block { display: flex; flex-direction: column; gap: 7px; }
|
|
7047
6899
|
.wd-shell .plan-block-head { display: flex; align-items: baseline; gap: 8px; }
|
|
7048
6900
|
.wd-shell .plan-block-title { margin: 0; font-size: 11.5px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
@@ -7104,11 +6956,6 @@ window.__ModuleLoader__.load({
|
|
|
7104
6956
|
.wd-shell .plan-criterion-status { white-space: nowrap; }
|
|
7105
6957
|
|
|
7106
6958
|
/* ---------- scenario legend ---------- */
|
|
7107
|
-
.wd-shell .plan-scenario-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2px; }
|
|
7108
|
-
.wd-shell .plan-scenario-legend-item { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
|
|
7109
|
-
.wd-shell .plan-scenario-legend-item[data-tone="green"] { color: var(--wd-green); }
|
|
7110
|
-
.wd-shell .plan-scenario-legend-item[data-tone="amber"] { color: var(--wd-amber); }
|
|
7111
|
-
.wd-shell .plan-scenario-legend-item[data-tone="red"] { color: var(--wd-red); }
|
|
7112
6959
|
|
|
7113
6960
|
/* ---------- next actions ---------- */
|
|
7114
6961
|
.wd-shell .next-table {
|
|
@@ -7193,115 +7040,11 @@ window.__ModuleLoader__.load({
|
|
|
7193
7040
|
.wd-shell .plan-risk-mitigation { font-size: 10.5px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
7194
7041
|
|
|
7195
7042
|
/* ---------- outcome ---------- */
|
|
7196
|
-
.wd-shell .out-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
7197
|
-
@media (max-width: 900px) { .wd-shell .out-triple { grid-template-columns: minmax(0, 1fr); } }
|
|
7198
|
-
.wd-shell .out-milestone {
|
|
7199
|
-
display: flex; flex-direction: column; gap: 4px;
|
|
7200
|
-
padding: 12px 14px; border-radius: 10px;
|
|
7201
|
-
border-left: 3px solid var(--wd-red); background: var(--wd-red-soft);
|
|
7202
|
-
}
|
|
7203
|
-
.wd-shell .out-milestone[data-present="true"] { border-left-color: var(--wd-green); background: var(--wd-green-soft); }
|
|
7204
|
-
.wd-shell .out-milestone-label {
|
|
7205
|
-
font-size: 9.5px; line-height: 14px; letter-spacing: .05em;
|
|
7206
|
-
text-transform: uppercase; font-weight: 650; color: var(--wd-red);
|
|
7207
|
-
}
|
|
7208
|
-
.wd-shell .out-milestone[data-present="true"] .out-milestone-label { color: var(--wd-green); }
|
|
7209
|
-
.wd-shell .out-milestone-text { font-size: 13px; line-height: 20px; font-weight: 650; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
7210
|
-
.wd-shell .out-milestone-missing { font-size: 11.5px; line-height: 18px; color: var(--wd-red); overflow-wrap: anywhere; }
|
|
7211
|
-
.wd-shell .out-milestone-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
|
|
7212
|
-
.wd-shell .out-meta {
|
|
7213
|
-
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
|
|
7214
|
-
padding-top: 10px; border-top: 1px solid var(--wd-hairline);
|
|
7215
|
-
}
|
|
7216
|
-
@media (max-width: 900px) { .wd-shell .out-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
7217
7043
|
|
|
7218
7044
|
@media (prefers-reduced-motion: reduce) {
|
|
7219
|
-
.wd-shell .
|
|
7220
|
-
}
|
|
7221
|
-
|
|
7222
|
-
/* ================= v3.1 layout: banner + fixed two columns ================= */
|
|
7223
|
-
.wd-shell .dt-shell { display: flex; flex-direction: column; gap: 16px; padding: 20px 28px 44px; min-height: 100%; }
|
|
7224
|
-
.wd-shell .dt-body { display: flex; flex-direction: column; gap: 18px; }
|
|
7225
|
-
|
|
7226
|
-
.wd-shell .dt-header {
|
|
7227
|
-
display: grid; grid-template-columns: minmax(0, 1fr) auto;
|
|
7228
|
-
grid-template-areas: "main side" "nav nav"; gap: 10px 18px;
|
|
7229
|
-
padding: 16px 20px; background: var(--wd-surface);
|
|
7230
|
-
border: 1px solid var(--wd-hairline); border-radius: 10px;
|
|
7231
|
-
}
|
|
7232
|
-
.wd-shell .dt-header-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
7233
|
-
.wd-shell .dt-header-back { align-self: flex-start; margin-bottom: 2px; }
|
|
7234
|
-
.wd-shell .dt-header-title {
|
|
7235
|
-
margin: 0; font-size: 20px; line-height: 28px; font-weight: 700;
|
|
7236
|
-
letter-spacing: -.01em; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere;
|
|
7045
|
+
.wd-shell .prog-card { transition: none; }
|
|
7237
7046
|
}
|
|
7238
|
-
.wd-shell .dt-header-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
|
|
7239
|
-
.wd-shell .dt-header-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
7240
|
-
.wd-shell .dt-header-org { font-size: 10.5px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
|
|
7241
|
-
.wd-shell .dt-header-side { grid-area: side; display: flex; align-items: flex-start; gap: 18px; }
|
|
7242
|
-
.wd-shell .dt-header-pills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
|
|
7243
|
-
.wd-shell .dt-header-amount { display: flex; flex-direction: column; align-items: flex-end; }
|
|
7244
|
-
.wd-shell .dt-header-amount-label { font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--wd-amber); }
|
|
7245
|
-
.wd-shell .dt-header-amount-value { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wd-amber); letter-spacing: -.02em; }
|
|
7246
|
-
.wd-shell .dt-header-amount-value[data-empty="true"] { font-size: 12px; font-weight: 500; font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
7247
|
-
.wd-shell .dt-header-amount-unit { margin-left: 3px; font-size: 10.5px; font-weight: 500; }
|
|
7248
|
-
.wd-shell .dt-header-nav { grid-area: nav; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--wd-hairline); }
|
|
7249
|
-
.wd-shell .dt-header-position { margin: 0 auto; font-size: 10px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
7250
7047
|
|
|
7251
|
-
.wd-shell .dt-columns { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 18px; align-items: start; }
|
|
7252
|
-
@media (max-width: 1180px) { .wd-shell .dt-columns { grid-template-columns: minmax(0, 1fr); } }
|
|
7253
|
-
.wd-shell .dt-col-main,
|
|
7254
|
-
.wd-shell .dt-col-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
|
|
7255
|
-
|
|
7256
|
-
.wd-shell .g0-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
|
7257
|
-
.wd-shell .g0-card { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 8px; background: var(--wd-surface); border: 1px solid var(--wd-hairline); }
|
|
7258
|
-
.wd-shell .g0-card[data-present="false"] { background: var(--wd-inset); border-style: dashed; }
|
|
7259
|
-
.wd-shell .g0-card-head { display: flex; align-items: baseline; gap: 8px; }
|
|
7260
|
-
.wd-shell .g0-card-label { font-size: 11px; line-height: 16px; font-weight: 650; color: var(--dsw-alias-label-primary); }
|
|
7261
|
-
.wd-shell .g0-card-missing { margin-left: auto; font-size: 9px; line-height: 13px; font-weight: 650; color: var(--wd-amber); background: var(--wd-amber-soft); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
|
|
7262
|
-
.wd-shell .g0-card-body { margin: 0; font-size: 11px; line-height: 16px; color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere; }
|
|
7263
|
-
.wd-shell .g0-card[data-prose="true"] .g0-card-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
7264
|
-
.wd-shell .g0-card-body[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
7265
|
-
.wd-shell .g0-grid-note { margin: 0; font-size: 10px; line-height: 15px; color: var(--wd-amber); }
|
|
7266
|
-
|
|
7267
|
-
.wd-shell .next-table { width: 100%; border-collapse: collapse; border: 1px solid var(--wd-hairline); border-radius: 9px; overflow: hidden; background: var(--wd-surface); }
|
|
7268
|
-
.wd-shell .next-table th { padding: 7px 10px; text-align: left; font-size: 9.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--dsw-alias-label-tertiary); background: var(--wd-inset); border-bottom: 1px solid var(--wd-hairline); }
|
|
7269
|
-
.wd-shell .next-table td { padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: var(--dsw-alias-label-secondary); border-bottom: 1px solid var(--wd-hairline); vertical-align: top; }
|
|
7270
|
-
.wd-shell .next-table tbody tr:last-child td { border-bottom: 0; }
|
|
7271
|
-
.wd-shell .next-goal { font-weight: 600; color: var(--dsw-alias-label-primary); overflow-wrap: anywhere; }
|
|
7272
|
-
.wd-shell .next-deadline { font-variant-numeric: tabular-nums; }
|
|
7273
|
-
|
|
7274
|
-
/*
|
|
7275
|
-
* Balance the columns.
|
|
7276
|
-
*
|
|
7277
|
-
* The progress stream grows without limit (one card per round), while the left
|
|
7278
|
-
* column holds a fixed set of commitments. Left alone, a project with ten rounds
|
|
7279
|
-
* leaves the commitments column looking half-empty. Capping the stream keeps the
|
|
7280
|
-
* two columns visually comparable and gives the reader an obvious scroll target,
|
|
7281
|
-
* while every round stays reachable.
|
|
7282
|
-
*/
|
|
7283
|
-
.wd-shell .dt-col-side .prog-stream {
|
|
7284
|
-
max-height: none; overflow-y: visible;
|
|
7285
|
-
padding-right: 4px;
|
|
7286
|
-
scrollbar-width: thin;
|
|
7287
|
-
}
|
|
7288
|
-
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar { width: 6px; }
|
|
7289
|
-
.wd-shell .dt-col-side .prog-stream::-webkit-scrollbar-thumb { background: var(--wd-hairline); border-radius: 3px; }
|
|
7290
|
-
|
|
7291
|
-
/* ---------- compact timeline row ---------- */
|
|
7292
|
-
.wd-shell .prog-card-compact { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; }
|
|
7293
|
-
.wd-shell .prog-card-compact .prog-head { gap: 8px; }
|
|
7294
|
-
.wd-shell .prog-change {
|
|
7295
|
-
font-size: 9px; line-height: 13px; font-weight: 650;
|
|
7296
|
-
color: var(--wd-primary); background: var(--wd-primary-soft);
|
|
7297
|
-
padding: 1px 5px; border-radius: 4px; white-space: nowrap;
|
|
7298
|
-
}
|
|
7299
|
-
.wd-shell .prog-actual-line {
|
|
7300
|
-
margin: 0; font-size: 11.5px; line-height: 17px;
|
|
7301
|
-
color: var(--dsw-alias-label-secondary); overflow-wrap: anywhere;
|
|
7302
|
-
}
|
|
7303
|
-
.wd-shell .prog-actual-line[data-empty="true"] { font-style: italic; color: var(--dsw-alias-label-tertiary); }
|
|
7304
|
-
.wd-shell .prog-scope-row { margin-top: 1px; }
|
|
7305
7048
|
`;
|
|
7306
7049
|
|
|
7307
7050
|
// src/client/css/insights.ts
|
|
@@ -8034,11 +7777,14 @@ window.__ModuleLoader__.load({
|
|
|
8034
7777
|
}
|
|
8035
7778
|
.wd-shell .pf-collapse:hover { color: var(--wd-text); background: var(--wd-surface); }
|
|
8036
7779
|
.wd-shell .pf-band[data-collapsed="true"] .pf-grid { display: none; }
|
|
7780
|
+
/* The note under a band block carries the analysis *conclusion*, not a caption:
|
|
7781
|
+
the long form ends with the recommended action. Clamping it at two lines cut
|
|
7782
|
+
exactly that sentence off, so it flows at its natural height instead. Measured
|
|
7783
|
+
at 307px, the long note runs to three lines \u2014 15px taller than the clamp. */
|
|
8037
7784
|
.wd-shell .pf-note {
|
|
8038
7785
|
margin: 5px 0 0; font-size: 10px; line-height: 15px;
|
|
8039
7786
|
color: var(--dsw-alias-label-tertiary);
|
|
8040
7787
|
overflow-wrap: anywhere;
|
|
8041
|
-
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
8042
7788
|
}
|
|
8043
7789
|
.wd-shell .pf-note[data-tone="amber"] { color: var(--wd-amber); }
|
|
8044
7790
|
|
|
@@ -8176,9 +7922,17 @@ window.__ModuleLoader__.load({
|
|
|
8176
7922
|
}
|
|
8177
7923
|
.wd-shell .pboard-card-meta { font-size: 9.5px; line-height: 14px; color: var(--dsw-alias-label-tertiary); font-variant-numeric: tabular-nums; }
|
|
8178
7924
|
.wd-shell .pboard-card-owner { font-variant-numeric: normal; }
|
|
7925
|
+
/* Three lines, not one.
|
|
7926
|
+
*
|
|
7927
|
+
* A board column is 258px wide, so 'nowrap' fit roughly 25 of the summary's 68
|
|
7928
|
+
* characters and sent the remaining 43 into an ellipsis \u2014 not enough left to tell
|
|
7929
|
+
* what kind of progress it even was. Three wrapped lines hold all of it and cost
|
|
7930
|
+
* the card 14px, which the column has: it is the one surface on this page whose
|
|
7931
|
+
* job is to say what just happened, not just that something happened. */
|
|
8179
7932
|
.wd-shell .pboard-card-progress {
|
|
8180
7933
|
font-size: 10px; line-height: 14px; color: var(--dsw-alias-label-secondary);
|
|
8181
|
-
overflow: hidden;
|
|
7934
|
+
overflow: hidden; display: -webkit-box;
|
|
7935
|
+
-webkit-line-clamp: 3; -webkit-box-orient: vertical;
|
|
8182
7936
|
}
|
|
8183
7937
|
.wd-shell .pboard-card-gap { font-size: 9.5px; line-height: 14px; font-weight: 650; color: var(--wd-red); }
|
|
8184
7938
|
.wd-shell .pboard-empty {
|