dsh-spec-collab 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -7
- package/docs/assets/demo-01-workspace.png +0 -0
- package/docs/assets/demo-02-ai-review.png +0 -0
- package/docs/assets/demo-03-patches.png +0 -0
- package/docs/assets/demo-04-decisions.png +0 -0
- package/docs/assets/demo-05-ready.png +0 -0
- package/docs/experience-review-checklist-2026-08-24.md +72 -45
- package/docs/insight-import-template.csv +3 -0
- package/docs/insight-import-template.md +19 -0
- package/docs/migration-v3.md +23 -0
- package/lib/client.js +10825 -1163
- package/lib/index.js +1279 -89
- package/lib/types/client/AccessibleDialog.d.ts +9 -0
- package/lib/types/client/AccessibleDialog.d.ts.map +1 -0
- package/lib/types/client/SpecWorkbench.d.ts +42 -2
- package/lib/types/client/SpecWorkbench.d.ts.map +1 -1
- package/lib/types/client/api.d.ts +26 -3
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/drafts.d.ts +8 -0
- package/lib/types/client/drafts.d.ts.map +1 -0
- package/lib/types/client/mount.d.ts.map +1 -1
- package/lib/types/client/review-anchors.d.ts.map +1 -1
- package/lib/types/engine.d.ts +37 -3
- package/lib/types/engine.d.ts.map +1 -1
- package/lib/types/git-store.d.ts +6 -0
- package/lib/types/git-store.d.ts.map +1 -1
- package/lib/types/protocol.d.ts +245 -10
- package/lib/types/protocol.d.ts.map +1 -1
- package/lib/types/review-runtime.d.ts +6 -0
- package/lib/types/review-runtime.d.ts.map +1 -1
- package/lib/types/routes.d.ts.map +1 -1
- package/lib/types/structured-diff.d.ts +3 -0
- package/lib/types/structured-diff.d.ts.map +1 -0
- package/package.json +5 -2
- package/src/client/AccessibleDialog.tsx +42 -0
- package/src/client/SpecWorkbench.tsx +776 -87
- package/src/client/api.ts +8 -3
- package/src/client/drafts.ts +51 -0
- package/src/client/mount.tsx +11 -6
- package/src/client/review-anchors.ts +1 -0
- package/src/client/workbench.module.css +223 -79
- package/src/engine.ts +439 -41
- package/src/git-store.ts +87 -18
- package/src/index.ts +1 -1
- package/src/protocol.ts +64 -13
- package/src/review-runtime.ts +39 -11
- package/src/routes.ts +33 -4
- package/src/structured-diff.ts +75 -0
- package/src/tools.ts +1 -1
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
:global(html[data-dsh-spec-collab-active]) [data-dsh-spec-collab-view] { display: block !important; }
|
|
4
4
|
|
|
5
5
|
.view {
|
|
6
|
-
--ink: #
|
|
7
|
-
--line: #
|
|
8
|
-
--green: #176b50; --green-deep: #
|
|
9
|
-
--amber: #
|
|
6
|
+
--ink: #17201d; --text: #35413b; --muted: #6d7772; --faint: #929a96;
|
|
7
|
+
--line: #e2e7e4; --line-strong: #cdd5d1; --canvas: #f1f4f2; --paper: #fff;
|
|
8
|
+
--green: #176b50; --green-deep: #0d533e; --mint: #edf5f1;
|
|
9
|
+
--amber: #9a5b20; --amber-soft: #fffaf2; --blue: #376b78; --blue-soft: #f2f7f8; --red: #ad453d;
|
|
10
10
|
display: none; position: absolute; inset: 0; z-index: 4; overflow: hidden; background: var(--canvas); color: var(--ink);
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
.
|
|
12
|
+
[data-dsh-deep-link-focus] { outline: 3px solid var(--green); outline-offset: 3px; background-color: var(--mint); transition: outline-color 160ms ease, background-color 160ms ease; }
|
|
13
|
+
.workbench { height: 100%; min-width: 0; display: grid; grid-template-rows: minmax(64px, auto) auto auto minmax(0, 1fr) 28px; container-type: inline-size; font: 14px/1.5 Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif; }
|
|
14
|
+
.header { min-width: 0; grid-row: 1; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 8px 14px; background: var(--paper); }
|
|
14
15
|
.titleBlock { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; align-items: baseline; }
|
|
15
16
|
.titleBlock strong { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 720; }
|
|
16
17
|
.titleBlock > span:last-child { grid-column: 1 / -1; overflow: hidden; color: var(--muted); font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -26,8 +27,8 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
26
27
|
.execute:hover { border-color: var(--green-deep); background: var(--green-deep); }
|
|
27
28
|
.quietButton { border-color: transparent; color: var(--muted); }
|
|
28
29
|
.quietButton span + span { margin-left: 4px; }
|
|
29
|
-
.identity { border-color:
|
|
30
|
-
.iconButton { width:
|
|
30
|
+
.identity { border-color: var(--line); background: var(--paper); color: var(--green-deep); white-space: nowrap; }
|
|
31
|
+
.iconButton { width: 44px; min-height: 44px !important; border-color: transparent !important; padding: 0 !important; color: var(--muted) !important; font-size: 20px !important; line-height: 1; }
|
|
31
32
|
|
|
32
33
|
.stageRail { display: grid; grid-template-columns: repeat(4, auto); align-items: start; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
33
34
|
.stageRail li { position: relative; min-width: 72px; display: grid; justify-items: center; gap: 3px; color: var(--faint); font-size: 10px; }
|
|
@@ -53,8 +54,8 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
53
54
|
.editorPane + .resizer { grid-column: 4; }
|
|
54
55
|
.review { grid-column: 5; display: flex; flex-direction: column; overflow: hidden; }
|
|
55
56
|
.paneClosed { display: none !important; }
|
|
56
|
-
.resizer { position: relative; z-index: 2; cursor: col-resize; background:
|
|
57
|
-
.resizer::after { content: ''; position: absolute; inset: 0
|
|
57
|
+
.resizer { position: relative; left: -19px; z-index: 2; width: 44px; cursor: col-resize; background: transparent; touch-action: none; }
|
|
58
|
+
.resizer::after { content: ''; position: absolute; inset: 0 19px; background: var(--canvas); transition: background .15s ease; }
|
|
58
59
|
.resizer:hover::after { background: #86a99c; }
|
|
59
60
|
.resizerHidden { visibility: hidden; }
|
|
60
61
|
|
|
@@ -62,16 +63,16 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
62
63
|
.paneHead strong { font-size: 12px; }
|
|
63
64
|
.paneActions { display: flex; align-items: center; gap: 1px; }
|
|
64
65
|
.paneActions button { min-height: 28px; border: 0; padding: 3px 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
|
|
65
|
-
.paneActions .createButton { width:
|
|
66
|
+
.paneActions .createButton { width: 44px; min-height: 44px; color: var(--green); font-size: 18px; }
|
|
66
67
|
.documents nav { display: grid; gap: 3px; padding: 8px; }
|
|
67
|
-
.requirementRow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr)
|
|
68
|
+
.requirementRow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; }
|
|
68
69
|
.documentButton { min-width: 0; display: grid; gap: 4px; border-color: transparent; padding: 9px 10px; text-align: left; }
|
|
69
70
|
.documentButton > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
70
71
|
.documentButton small { min-width: 0; display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
71
72
|
.statusDot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--amber); }
|
|
72
73
|
.stage_product-confirmation, .stage_joint-review { background: var(--blue); }
|
|
73
74
|
.stage_ready { background: var(--green); }
|
|
74
|
-
.rowMenuButton { width:
|
|
75
|
+
.rowMenuButton { width: 44px; min-height: 44px; border: 0; padding: 0; color: var(--muted); font-size: 17px; }
|
|
75
76
|
.selectedDoc { border-color: #b7d2c8 !important; background: var(--mint) !important; color: var(--green-deep) !important; }
|
|
76
77
|
.requirementMenu { position: absolute; top: 36px; right: 1px; z-index: 5; width: 136px; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px; background: var(--paper); box-shadow: 0 10px 24px rgba(23,33,29,.16); }
|
|
77
78
|
.requirementMenu button { width: 100%; justify-content: flex-start; padding: 6px 8px; text-align: left; }
|
|
@@ -93,18 +94,19 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
93
94
|
.editorMeta, .unsaved { color: var(--muted); font-size: 11px; white-space: nowrap; }
|
|
94
95
|
.unsaved { color: var(--amber); font-weight: 650; }
|
|
95
96
|
.saveButton:not(:disabled) { border-color: var(--green); color: var(--green-deep); font-weight: 700; }
|
|
96
|
-
.editorCollabBar { min-width: 0; min-height:
|
|
97
|
+
.editorCollabBar { min-width: 0; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 6px 12px; background: var(--paper); }
|
|
97
98
|
.collabBarState { min-width: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 690; }
|
|
98
|
-
.collabStateSaved, .collabStateDirty, .collabStateRunning { display: inline-flex; align-items: center; gap: 5px; border:
|
|
99
|
+
.collabStateSaved, .collabStateDirty, .collabStateRunning { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 3px; padding: 3px 6px; background: #f7f9f8; white-space: nowrap; }
|
|
99
100
|
.collabStateSaved { color: var(--green-deep); }
|
|
100
101
|
.collabStateDirty { border-color: #e0bb82; background: var(--amber-soft); color: #834714; }
|
|
101
102
|
.collabStateRunning { border-color: #b5d2dc; background: var(--blue-soft); color: var(--blue); }
|
|
102
|
-
.collabBarActions { min-width: 0; display: flex; align-items: stretch; gap: 5px; overflow-x: auto; scrollbar-width:
|
|
103
|
+
.collabBarActions { min-width: 0; display: flex; align-items: stretch; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
|
|
103
104
|
.collabMetric { min-width: 88px; min-height: 34px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 6px; border-color: transparent; padding: 4px 8px; background: transparent; text-align: left; }
|
|
104
105
|
.collabMetric b { grid-row: 1 / span 2; min-width: 24px; color: var(--ink); font: 720 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
|
|
105
106
|
.collabMetric span { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
|
|
106
107
|
.collabMetric small { overflow: hidden; color: var(--amber); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
|
|
107
|
-
.collabMetric:hover
|
|
108
|
+
.collabMetric:hover { background: #f7f9f8; }
|
|
109
|
+
.collabMetricActive { border-color: transparent; background: var(--mint); box-shadow: inset 0 -2px var(--green); }
|
|
108
110
|
.collabMetricActive b, .collabMetricActive span { color: var(--green-deep); }
|
|
109
111
|
.collabMetricWarn b { color: var(--amber); }
|
|
110
112
|
.editorContext { min-width: 0; min-height: 42px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-bottom: 1px solid #cfe0da; padding: 5px 12px; background: #f1f8f5; }
|
|
@@ -119,7 +121,7 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
119
121
|
.selectionPromptHead small { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
120
122
|
.selectionPrompt textarea { box-sizing: border-box; width: 100%; min-height: 74px; max-height: 150px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 6px; padding: 8px; color: var(--ink); line-height: 1.55; }
|
|
121
123
|
.selectionPrompt textarea:focus { border-color: #3f8b72; outline: 0; box-shadow: inset 0 0 0 1px #3f8b72; }
|
|
122
|
-
.selectionPromptClose { flex: 0 0
|
|
124
|
+
.selectionPromptClose { flex: 0 0 44px; width: 44px; min-height: 44px !important; border: 0 !important; padding: 0 !important; background: transparent !important; color: var(--muted) !important; font-size: 17px; line-height: 1; }
|
|
123
125
|
.selectionPromptActions { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
124
126
|
.selectionPromptActions small { min-width: 0; flex: 1; }
|
|
125
127
|
.selectionPromptButtons { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
|
|
@@ -140,42 +142,43 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
140
142
|
.richEditor :global(.toastui-editor-main), .richEditor :global(.toastui-editor-ww-container) { height: 100% !important; background: var(--paper); }
|
|
141
143
|
.richEditor :global(.toastui-editor-ww-container) { overflow: auto; }
|
|
142
144
|
.richEditor :global(.toastui-editor-contents) { box-sizing: border-box; max-width: 820px; min-height: 100%; margin: 0 auto; padding: 40px clamp(32px, 7vw, 88px) 120px; color: var(--text); font: 15px/1.8 Inter, "PingFang SC", ui-sans-serif, system-ui, sans-serif; }
|
|
143
|
-
.richEditor :global(.toastui-editor-contents h1) { margin: 0 0 30px; color: var(--ink); font: 750 30px/1.3 ui-serif, "Songti SC", serif; }
|
|
145
|
+
.richEditor :global(.toastui-editor-contents h1) { margin: 0 0 30px; border-bottom: 0 !important; padding-bottom: 0 !important; color: var(--ink); font: 750 30px/1.3 ui-serif, "Songti SC", serif; }
|
|
144
146
|
.richEditor :global(.toastui-editor-contents h2) { margin: 36px 0 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--ink); font-size: 20px; line-height: 1.4; }
|
|
145
147
|
.richEditor :global(.toastui-editor-contents h3) { margin: 26px 0 10px; color: var(--ink); font-size: 16px; line-height: 1.4; }
|
|
146
148
|
.richEditor :global(.toastui-editor-contents p) { margin: 10px 0; }
|
|
147
149
|
.richEditor :global([data-annotation-kind]), .richEditor .reviewSourceSelected, .richEditor .commentSourceSelected { border-radius: 4px; }
|
|
148
|
-
.richEditor :global([data-annotation-kind="review"]) { background:
|
|
149
|
-
.richEditor :global([data-annotation-kind="comment"]) { background:
|
|
150
|
-
.richEditor :global([data-annotation-kind="mixed"]) { background:
|
|
151
|
-
.richEditor .reviewSourceSelected { background:
|
|
152
|
-
.richEditor .commentSourceSelected { background:
|
|
150
|
+
.richEditor :global([data-annotation-kind="review"]) { background: rgba(168,98,27,.055); box-shadow: inset 2px 0 rgba(168,98,27,.58); }
|
|
151
|
+
.richEditor :global([data-annotation-kind="comment"]) { background: rgba(37,106,134,.05); box-shadow: inset 2px 0 rgba(37,106,134,.52); }
|
|
152
|
+
.richEditor :global([data-annotation-kind="mixed"]) { background: rgba(11,107,79,.045); box-shadow: inset 2px 0 rgba(11,107,79,.48); }
|
|
153
|
+
.richEditor .reviewSourceSelected { background: rgba(168,98,27,.1); box-shadow: inset 3px 0 #a8621b, 0 0 0 1px rgba(168,98,27,.15); }
|
|
154
|
+
.richEditor .commentSourceSelected { background: rgba(37,106,134,.09); box-shadow: inset 3px 0 #256a86, 0 0 0 1px rgba(37,106,134,.15); }
|
|
153
155
|
.reviewAnchorLayer { position: absolute; inset: 0; z-index: 21; overflow: hidden; pointer-events: none; }
|
|
154
156
|
.documentAnchorHighlight { position: absolute; z-index: 0; box-sizing: border-box; border-radius: 5px; pointer-events: none; }
|
|
155
|
-
.documentReviewHighlight { background:
|
|
156
|
-
.
|
|
157
|
-
.
|
|
158
|
-
.
|
|
159
|
-
.documentReviewAnchor, .documentCommentAnchor {
|
|
160
|
-
.documentReviewAnchor:hover {
|
|
161
|
-
.documentCommentAnchor {
|
|
162
|
-
.
|
|
163
|
-
.documentReviewAnchorBlocking {
|
|
164
|
-
.documentAnchorSelected, .documentReviewAnchorSelected { border-
|
|
157
|
+
.documentReviewHighlight, .documentCommentHighlight, .documentReviewHighlightBlocking { background: transparent; box-shadow: none; }
|
|
158
|
+
.documentAnchorHighlightSelected { outline: 1px solid rgba(11,107,79,.2); outline-offset: 2px; background: transparent; }
|
|
159
|
+
.documentReviewAnchor, .documentCommentAnchor { position: absolute; box-sizing: border-box; width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 0; background: transparent; color: var(--green-deep); pointer-events: auto; box-shadow: none; }
|
|
160
|
+
.documentReviewAnchor svg, .documentCommentAnchor svg { box-sizing: border-box; width: 27px; height: 27px; padding: 2px; background: transparent; filter: drop-shadow(0 2px 3px rgba(23,33,29,.13)); transition: transform 140ms ease, color 140ms ease, filter 140ms ease; }
|
|
161
|
+
.documentReviewAnchor:hover, .documentCommentAnchor:hover { border-color: transparent; background: transparent; }
|
|
162
|
+
.documentReviewAnchor:hover svg, .documentCommentAnchor:hover svg { transform: translateY(-1px); filter: drop-shadow(0 3px 4px rgba(23,33,29,.2)); }
|
|
163
|
+
.documentCommentAnchor { color: var(--blue); }
|
|
164
|
+
.documentReviewAnchorBlocking { color: #8d5017; }
|
|
165
|
+
.documentReviewAnchorBlocking svg { color: var(--amber); }
|
|
166
|
+
.documentAnchorSelected, .documentReviewAnchorSelected { border-radius: 7px; background: var(--mint); }
|
|
167
|
+
.documentAnchorSelected svg, .documentReviewAnchorSelected svg { color: var(--green-deep); }
|
|
165
168
|
|
|
166
169
|
.primaryNav { flex: 0 0 auto; min-height: 44px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); padding: 5px 7px; background: var(--paper); }
|
|
167
|
-
.primaryNav > div { min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width:
|
|
170
|
+
.primaryNav > div { min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
|
|
168
171
|
.primaryNav button { flex: 0 0 auto; min-height: 31px; border-color: transparent; padding: 4px 9px; white-space: nowrap; }
|
|
169
|
-
.activeMode { border-color:
|
|
170
|
-
.collapseRight { flex: 0 0
|
|
171
|
-
.tabBadge { display: inline-grid; min-width:
|
|
172
|
-
.activeMode .tabBadge { background: var(--green); }
|
|
173
|
-
.workflowFocus { flex: 0 0 auto; display: grid; gap: 7px; border-bottom: 1px solid
|
|
172
|
+
.activeMode { border-color: transparent !important; background: transparent !important; color: var(--green-deep) !important; box-shadow: inset 0 -2px var(--green); font-weight: 700; }
|
|
173
|
+
.collapseRight { flex: 0 0 44px; width: 44px; min-height: 44px; margin-left: auto; padding: 0; }
|
|
174
|
+
.tabBadge { display: inline-grid; min-width: 16px; height: 16px; place-items: center; margin-left: 4px; border-radius: 3px; padding: 0 3px; background: #eef1ef; color: var(--muted); font-size: 9px; line-height: 1; }
|
|
175
|
+
.activeMode .tabBadge { background: var(--mint); color: var(--green-deep); }
|
|
176
|
+
.workflowFocus { flex: 0 0 auto; display: grid; gap: 7px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--green); padding: 14px 16px 14px 13px; background: #fbfcfb; }
|
|
174
177
|
.workflowEyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
175
|
-
.workflowEyebrow > span { color: var(--
|
|
176
|
-
.workflowEyebrow small { color:
|
|
178
|
+
.workflowEyebrow > span { color: var(--green); font-size: 10px; font-weight: 800; }
|
|
179
|
+
.workflowEyebrow small { color: var(--muted); font-size: 10px; }
|
|
177
180
|
.workflowFocus h2 { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.35; }
|
|
178
|
-
.workflowFocus p { margin: 0; color:
|
|
181
|
+
.workflowFocus p { margin: 0; color: var(--muted); font-size: 12px; }
|
|
179
182
|
.workflowFocus > button { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-inline: 12px; }
|
|
180
183
|
.workflowFocus > button:disabled { border-color: #cfb896; background: #cfb896; }
|
|
181
184
|
.disabledReason { color: #7e5b3c; font-size: 11px; }
|
|
@@ -197,6 +200,7 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
197
200
|
.contextNav button span { margin-left: 3px; color: var(--amber); font-size: 10px; }
|
|
198
201
|
.contextNav .activeContext { border-bottom-color: var(--green); color: var(--green-deep); font-weight: 700; }
|
|
199
202
|
.threadList { min-height: 0; flex: 1; overflow: auto; padding-bottom: 64px; background: var(--paper); }
|
|
203
|
+
.tabPanel { min-width: 0; min-height: 0; flex: 1; display: flex; flex-direction: column; }
|
|
200
204
|
.threadList > section, .threadList > .run, .threadList > .reviewCard { border-bottom: 1px solid var(--line); padding: 14px 16px; }
|
|
201
205
|
|
|
202
206
|
.panelSummary { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 11px 14px; background: #f8faf9; }
|
|
@@ -308,7 +312,8 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
308
312
|
.legacyWarning p { margin: 4px 0 0; }
|
|
309
313
|
.decisionForm { display: grid; gap: 10px; padding: 14px 16px; }
|
|
310
314
|
.decisionForm label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
|
|
311
|
-
.decisionForm textarea { box-sizing: border-box; width: 100%;
|
|
315
|
+
.decisionForm input, .decisionForm select, .decisionForm textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--line-strong); border-radius: 5px; padding: 7px; }
|
|
316
|
+
.decisionForm textarea { min-height: 72px; resize: vertical; }
|
|
312
317
|
.panelAction { margin: 14px 16px; }
|
|
313
318
|
|
|
314
319
|
.readyHead { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 12px 14px; }
|
|
@@ -329,12 +334,13 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
329
334
|
.downstreamReturn input, .downstreamReturn textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--line-strong); border-radius: 5px; padding: 7px; color: var(--ink); }
|
|
330
335
|
.downstreamReturn textarea { min-height: 70px; resize: vertical; }
|
|
331
336
|
|
|
332
|
-
.versionRow { width: 100%; display: grid; grid-template-columns:
|
|
333
|
-
.
|
|
334
|
-
.
|
|
337
|
+
.versionRow { box-sizing: border-box; width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 12px; text-align: left; }
|
|
338
|
+
.versionCopy { min-width: 0; display: grid; gap: 3px; }
|
|
339
|
+
.versionCopy span { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }
|
|
340
|
+
.versionCopy small { color: var(--muted); font-size: 10px; }
|
|
335
341
|
.versionCompare { border-bottom: 1px solid var(--line); }
|
|
336
342
|
.compareHead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: #f8faf9; }
|
|
337
|
-
.compareHead button { width:
|
|
343
|
+
.compareHead button { width: 44px; min-height: 44px; border: 0; padding: 0; }
|
|
338
344
|
.compareColumns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
|
|
339
345
|
.compareColumns section { min-width: 0; max-height: 520px; overflow: auto; padding: 12px; background: var(--paper); }
|
|
340
346
|
.compareColumns section > b { position: sticky; top: -12px; display: block; margin: -12px -12px 10px; padding: 8px 12px; background: var(--canvas); font-size: 11px; }
|
|
@@ -350,7 +356,7 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
350
356
|
.conflictDiffs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px; }
|
|
351
357
|
.conflictDiffs pre { max-height: 130px; overflow: auto; margin: 6px 0 0; padding: 7px; background: var(--ink); color: #edf2ef; font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
352
358
|
.conflictActions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }
|
|
353
|
-
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(23,
|
|
359
|
+
.modal { --ink: #17201d; --text: #35413b; --muted: #6d7772; --faint: #929a96; --line: #e2e7e4; --line-strong: #cdd5d1; --canvas: #f1f4f2; --paper: #fff; --green: #176b50; --green-deep: #0d533e; --mint: #edf5f1; --amber: #9a5b20; --amber-soft: #fffaf2; --blue: #376b78; --blue-soft: #f2f7f8; --red: #ad453d; position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(23,32,29,.4); color: var(--ink); font: 14px/1.5 Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif; }
|
|
354
360
|
.modal form { box-sizing: border-box; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--line-strong); border-radius: 6px; padding: 22px; background: var(--paper); box-shadow: 0 12px 32px rgba(23,33,29,.2); }
|
|
355
361
|
.modal h2 { margin: 0 0 8px; font-size: 20px; }
|
|
356
362
|
.modal p { color: var(--muted); }
|
|
@@ -364,7 +370,7 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
364
370
|
.reviewDecisionHeader { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 17px 20px 16px; }
|
|
365
371
|
.reviewDecisionHeader > div { min-width: 0; }
|
|
366
372
|
.reviewDecisionDialog .reviewDecisionHeader h2 { margin: 8px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 18px; font-weight: 680; line-height: 1.45; }
|
|
367
|
-
.reviewDecisionHeader > button { flex: 0 0
|
|
373
|
+
.reviewDecisionHeader > button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; padding: 0; color: var(--muted); font-size: 21px; }
|
|
368
374
|
.decisionTags { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
369
375
|
.decisionTags > * { border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 6px; color: var(--muted); font-size: 9px; font-weight: 680; }
|
|
370
376
|
.decisionTags > b { border-color: #dfb77f; background: var(--amber-soft); color: #834714; }
|
|
@@ -408,7 +414,7 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
408
414
|
.decisionForm { display: grid; gap: 12px; }
|
|
409
415
|
.decisionForm label { display: grid; gap: 5px; margin: 0; color: var(--muted); font-size: 10px; font-weight: 680; }
|
|
410
416
|
.decisionForm input, .decisionForm select, .decisionForm textarea { color: var(--ink); background: var(--paper); }
|
|
411
|
-
.decisionForm textarea { min-height:
|
|
417
|
+
.decisionForm textarea { min-height: 88px; line-height: 1.6; resize: vertical; }
|
|
412
418
|
.decisionModeHint { margin: -6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
|
|
413
419
|
.decisionActions { position: sticky; bottom: -28px; display: flex; justify-content: space-between; gap: 8px; margin: 20px -22px -28px; border-top: 1px solid var(--line); padding: 13px 22px; background: #f7f9f8; }
|
|
414
420
|
.decisionActions > div { display: flex; justify-content: flex-end; gap: 7px; }
|
|
@@ -417,22 +423,21 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
417
423
|
.decisionResponse > strong { color: var(--ink); font-size: 14px; }
|
|
418
424
|
.decisionResponse > small { color: var(--muted); font-size: 10px; }
|
|
419
425
|
.decisionResponse > p { margin: 0; }
|
|
420
|
-
.inlineReviewPrompt { position: fixed; z-index: 24; box-sizing: border-box; width: min(
|
|
421
|
-
.inlineReviewPrompt::before {
|
|
422
|
-
.
|
|
423
|
-
.inlineReviewPrompt.selectionPromptAbove::before { bottom: -6px; border-top: 0; border-left: 0; }
|
|
424
|
-
.inlineReviewHead { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
|
|
426
|
+
.inlineReviewPrompt { position: fixed; z-index: 24; box-sizing: border-box; width: min(720px, calc(100vw - 32px)); height: min(760px, calc(100vh - 24px)); max-height: calc(100vh - 24px); overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 0; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0; background: var(--paper); box-shadow: 0 20px 48px rgba(23,33,29,.2); font-size: 13px; }
|
|
427
|
+
.inlineReviewPrompt::before { display: none; }
|
|
428
|
+
.inlineReviewHead { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 13px 16px 11px; background: var(--paper); }
|
|
425
429
|
.inlineReviewHead > div { min-width: 0; display: grid; gap: 7px; }
|
|
426
430
|
.inlineReviewHead .decisionTags > * { font-size: 11px; }
|
|
427
|
-
.inlineReviewHead strong { overflow-wrap: anywhere; color: var(--ink); font-size:
|
|
428
|
-
.inlineReviewHead > button { flex: 0 0
|
|
429
|
-
.
|
|
431
|
+
.inlineReviewHead strong { overflow: hidden; display: -webkit-box; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
432
|
+
.inlineReviewHead > button { flex: 0 0 44px; width: 44px; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; }
|
|
433
|
+
.inlineReviewBody { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; display: grid; align-content: start; gap: 10px; padding: 12px 16px 18px; }
|
|
434
|
+
.inlineReviewQuestion { display: grid; gap: 5px; border-left: 2px solid var(--amber); padding: 10px 12px; background: var(--amber-soft); }
|
|
430
435
|
.inlineReviewQuestion > span { color: #834714; font-size: 11px; font-weight: 760; }
|
|
431
436
|
.inlineReviewQuestion .markdownBody { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.65; }
|
|
432
437
|
.inlineReviewQuestion .markdownBody p { margin: 0; color: var(--ink); }
|
|
433
|
-
.inlineReviewSource { box-sizing: border-box; width: 100%; height:
|
|
438
|
+
.inlineReviewSource { box-sizing: border-box; width: 100%; height: max-content !important; min-height: 58px; align-self: start; display: grid; gap: 5px; border-color: transparent; border-left: 3px solid #8fb7c5; border-radius: 0 5px 5px 0; padding: 9px 11px; background: var(--blue-soft); text-align: left; white-space: normal; }
|
|
434
439
|
.inlineReviewSource span { color: var(--blue); font-size: 11px; font-weight: 730; }
|
|
435
|
-
.inlineReviewSource q { overflow-wrap: anywhere; color: var(--ink); font-size: 13px; line-height: 1.55; quotes: none; }
|
|
440
|
+
.inlineReviewSource q { overflow: hidden; display: -webkit-box; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; line-height: 1.55; quotes: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
|
436
441
|
.inlineReviewSource q::before, .inlineReviewSource q::after { content: ''; }
|
|
437
442
|
.inlineDecisionOptions { gap: 7px; margin-bottom: 0; }
|
|
438
443
|
.inlineDecisionOptions legend { margin-bottom: 5px; font-size: 12px; }
|
|
@@ -450,9 +455,9 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
450
455
|
.inlineReviewDetails section { display: grid; gap: 6px; margin-top: 10px; }
|
|
451
456
|
.inlineReviewDetails h3 { margin: 0; color: var(--ink); font-size: 12px; }
|
|
452
457
|
.inlineReviewDetails p { margin: 0; overflow-wrap: anywhere; }
|
|
453
|
-
.inlineReviewActions {
|
|
458
|
+
.inlineReviewActions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; border-top: 1px solid var(--line); padding: 10px 16px; background: #f8faf9; }
|
|
454
459
|
.inlineReviewActions > div { display: flex; justify-content: flex-end; gap: 6px; }
|
|
455
|
-
.inlineReviewActions button { min-height:
|
|
460
|
+
.inlineReviewActions button { min-height: 44px; padding: 7px 12px; font-size: 13px; }
|
|
456
461
|
|
|
457
462
|
.footer { grid-row: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; overflow: hidden; border-top: 1px solid var(--line); padding: 0 10px; background: var(--paper); color: var(--muted); font-size: 10px; white-space: nowrap; }
|
|
458
463
|
.footer span { overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -473,41 +478,170 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
473
478
|
}
|
|
474
479
|
.entry[data-dsh-spec-collab-collapsed] span:last-child { display: none !important; }
|
|
475
480
|
|
|
476
|
-
|
|
481
|
+
.srOnly { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
|
|
482
|
+
.notificationButton { position: relative; border-color: transparent; color: var(--muted); }
|
|
483
|
+
.notificationButton b { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 9px; background: var(--red); color: #fff; font-size: 9px; }
|
|
484
|
+
.myWorkButton { position: relative; border-color: var(--line); color: var(--green-deep); }
|
|
485
|
+
.myWorkButton b { min-width: 17px; height: 17px; display: inline-grid; place-items: center; margin-left: 4px; border-radius: 9px; background: var(--green); color: #fff; font-size: 9px; }
|
|
486
|
+
.focusMode .grid { grid-template-columns: 1fr !important; }
|
|
487
|
+
.focusMode .documents, .focusMode .review, .focusMode .resizer, .focusMode .editorCollabBar, .focusMode .mobileViewSwitch { display: none !important; }
|
|
488
|
+
.focusMode .editorPane { grid-column: 1 !important; }
|
|
489
|
+
.mobileDocumentsTrigger, .mobileDrawerClose { width: 44px; min-height: 44px; display: none; padding: 0; }
|
|
490
|
+
.requirementFilters { display: grid; gap: 7px; border-bottom: 1px solid var(--line); padding: 8px 10px; background: #f8faf9; }
|
|
491
|
+
.requirementFilters > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
|
|
492
|
+
.requirementFilters label { display: grid; gap: 3px; color: var(--muted); font-size: 9px; }
|
|
493
|
+
.requirementFilters select { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 4px; background: var(--paper); }
|
|
494
|
+
.requirementSearch { display: grid; gap: 4px; color: var(--muted); font-size: 10px; }
|
|
495
|
+
.requirementSearch input { min-width: 0; border: 1px solid var(--line-strong); border-radius: 5px; padding: 6px 8px; background: var(--paper); }
|
|
496
|
+
.requirementFilters .filterChecks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px; }
|
|
497
|
+
.filterChecks label { display: flex; align-items: center; gap: 3px; color: var(--ink); }
|
|
498
|
+
.filterChecks input { margin: 0; }
|
|
499
|
+
.requirementFilters .activeFilters { display: flex; align-items: center; justify-content: space-between; color: var(--green-deep); font-size: 9px; }
|
|
500
|
+
.activeFilters button { min-height: 26px; border: 0; padding: 2px 4px; color: var(--green); font-size: 9px; }
|
|
501
|
+
.summaryField { display: grid; gap: 2px; color: var(--muted); font-size: 9px; }
|
|
502
|
+
.summaryField .summaryInput { min-height: 30px; }
|
|
503
|
+
.notice > span { min-width: 0; flex: 1; }
|
|
504
|
+
.notice > button:not(:last-child) { border: 1px solid #d39b57; padding: 2px 8px; }
|
|
505
|
+
.resizer:focus-visible::after { background: var(--green); }
|
|
506
|
+
.threadHeaderActions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
|
|
507
|
+
.threadHeaderActions button { min-height: 30px; padding: 3px 7px; font-size: 10px; }
|
|
508
|
+
.discussionFilters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 1px solid var(--line); padding: 8px 14px; background: #f8faf9; }
|
|
509
|
+
.discussionFilters label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; }
|
|
510
|
+
.discussionFilters select { border: 1px solid var(--line-strong); border-radius: 5px; padding: 5px; background: var(--paper); }
|
|
511
|
+
.replyComposer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; border-top: 1px solid var(--line); padding-top: 9px; }
|
|
512
|
+
.replyComposer label { display: grid; gap: 4px; color: var(--muted); font-size: 10px; }
|
|
513
|
+
.replyComposer textarea { min-height: 58px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 5px; padding: 7px; }
|
|
514
|
+
.taskRow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid #edf0ee; }
|
|
515
|
+
.taskRow > button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; border: 0; border-radius: 0; padding: 8px 14px; text-align: left; }
|
|
516
|
+
.taskRow > button > div { min-width: 0; }
|
|
517
|
+
.taskRow > button strong { min-width: 0; overflow: hidden; display: -webkit-box; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
|
|
518
|
+
.taskRow > button small { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
519
|
+
.taskAssignment { display: grid; gap: 4px; padding: 5px 8px; }.taskAssignment label { display: grid; gap: 2px; color: var(--muted); font-size: 9px; }
|
|
520
|
+
.taskRow select { max-width: 100px; border: 1px solid var(--line); border-radius: 4px; padding: 3px; font-size: 10px; }
|
|
521
|
+
.stickyActions { position: sticky; bottom: -1px; z-index: 2; display: flex; justify-content: flex-end; gap: 8px; margin: 8px -16px -16px; border-top: 1px solid var(--line); padding: 12px 16px; background: rgba(255,255,255,.98); }
|
|
522
|
+
.dialogSurface { box-sizing: border-box; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); box-shadow: 0 18px 48px rgba(20,33,28,.24); }
|
|
523
|
+
.dialogForm { box-sizing: border-box; max-height: calc(100vh - 34px); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; display: grid; gap: 12px; padding: 0 18px; }
|
|
524
|
+
.modal .dialogForm { box-sizing: border-box; width: 100%; max-height: calc(100vh - 34px); overflow: auto; border: 0; border-radius: 0; padding: 0 18px; box-shadow: none; }
|
|
525
|
+
.dialogForm > .dialogHead { position: sticky; top: 0; z-index: 3; margin: 0 -18px; border-bottom: 1px solid var(--line); padding: 15px 18px 13px; background: rgba(255,255,255,.98); }
|
|
526
|
+
.dialogForm > .stickyActions { bottom: 0; margin: 2px -18px 0; padding: 11px 18px; }
|
|
527
|
+
.dialogForm > p { margin: 0; }
|
|
528
|
+
.dialogHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
|
529
|
+
.dialogHead span { color: var(--green); font-size: 10px; font-weight: 800; }
|
|
530
|
+
.dialogHead h2 { margin: 0; font: 750 22px/1.25 ui-serif, "Songti SC", serif; }
|
|
531
|
+
.dialogHead > button { width: 44px; min-height: 44px; border: 0; padding: 0; background: transparent; font-size: 20px; }
|
|
532
|
+
.formErrors { display: grid; gap: 3px; border-left: 3px solid var(--red); padding: 9px 11px; background: #fff2ef; color: #7b302a; }
|
|
533
|
+
.formErrors span { font-size: 11px; }
|
|
534
|
+
.createSummary { display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 9px; background: #f7faf8; }
|
|
535
|
+
.createSummary strong { width: 100%; }
|
|
536
|
+
.createSummary span { border-radius: 999px; padding: 3px 7px; background: var(--mint); color: var(--green-deep); font-size: 10px; }
|
|
537
|
+
.formGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
|
|
538
|
+
|
|
539
|
+
.diffDialog { width: min(1180px, calc(100vw - 32px)); height: min(820px, calc(100vh - 32px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); box-shadow: 0 18px 48px rgba(20,33,28,.24); }
|
|
540
|
+
.diffHeader, .diffActions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 16px; }
|
|
541
|
+
.diffHeader span { color: var(--green); font-size: 10px; font-weight: 800; }
|
|
542
|
+
.diffHeader h2 { margin: 0; font: 750 22px/1.25 ui-serif, "Songti SC", serif; }
|
|
543
|
+
.diffHeader > button { width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 20px; }
|
|
544
|
+
.diffActions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }
|
|
545
|
+
.structuredDiff { min-height: 0; overflow: auto; background: #f6f8f7; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
546
|
+
.structuredDiff > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 9px 14px; background: rgba(252,253,252,.97); }
|
|
547
|
+
.structuredDiff > header b { margin-left: auto; color: var(--muted); }
|
|
548
|
+
.structuredDiff section { margin: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
|
|
549
|
+
.diffAdded, .diffRemoved, .diffContext { min-width: max-content; display: grid; grid-template-columns: 42px 42px 20px minmax(600px, 1fr); }
|
|
550
|
+
.diffAdded > span, .diffRemoved > span, .diffContext > span { padding: 1px 7px; background: rgba(20,33,28,.035); color: var(--faint); text-align: right; user-select: none; }
|
|
551
|
+
.diffAdded > b, .diffRemoved > b, .diffContext > b { text-align: center; }
|
|
552
|
+
.diffAdded code, .diffRemoved code, .diffContext code { padding: 1px 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
553
|
+
.diffAdded { background: #e6f5ed; color: #0a543d; }
|
|
554
|
+
.diffRemoved { background: #fff0ed; color: #873a31; }
|
|
555
|
+
.diffCollapsed { width: 100%; min-height: 32px; display: block; border: 0; border-radius: 0; padding: 5px 110px; background: #edf1ef; color: var(--muted); font-size: 10px; text-align: left; }
|
|
556
|
+
.versionPicker { display: grid; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px; background: #f8faf9; }
|
|
557
|
+
.versionPicker label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; }
|
|
558
|
+
.versionPicker select { min-width: 0; border: 1px solid var(--line-strong); border-radius: 5px; padding: 6px; background: var(--paper); }
|
|
559
|
+
.versionRow[aria-current="true"] { background: var(--mint); }
|
|
560
|
+
.versionActions { min-width: 78px; display: grid; gap: 4px; }.versionActions button { width: 100%; min-height: 32px; padding-inline: 7px; font-size: 9px; white-space: nowrap; }.recordLinkButton { min-height: 28px; margin-top: 8px; font-size: 9px; }
|
|
561
|
+
.inlineReviewHeadActions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }.inlineReviewHeadActions button:first-child { min-height: 32px; white-space: nowrap; font-size: 10px; }
|
|
562
|
+
|
|
563
|
+
.insightPanel { display: grid; }
|
|
564
|
+
.insightScore { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--line); padding: 14px; background: #f6faf8; }
|
|
565
|
+
.insightScore > div { display: grid; align-content: center; }
|
|
566
|
+
.insightScore > div span { color: var(--muted); font-size: 10px; }
|
|
567
|
+
.insightScore > div b { color: var(--green-deep); font: 760 30px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
568
|
+
.insightScore dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0; }
|
|
569
|
+
.insightScore dl div { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; padding: 5px; background: var(--paper); }
|
|
570
|
+
.insightScore dt { color: var(--muted); font-size: 9px; }.insightScore dd { margin: 0; font-weight: 760; }
|
|
571
|
+
.insightActions { display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid var(--line); padding: 10px 14px; }
|
|
572
|
+
.insightFilters { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; border-bottom: 1px solid var(--line); padding: 10px 14px; background: #f8faf9; }.insightFilters label { display: grid; gap: 3px; color: var(--muted); font-size: 9px; }.insightFilters select { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 5px; background: var(--paper); }
|
|
573
|
+
.fileButton { min-height: 32px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 5px; padding: 5px 10px; cursor: pointer; }.fileButton input { display: none; }
|
|
574
|
+
.insightCard { display: grid; gap: 8px; border-bottom: 1px solid var(--line); padding: 14px 16px; }
|
|
575
|
+
.insightCard header, .insightCard footer, .insightLinks { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
576
|
+
.insightCard header span { border-radius: 999px; padding: 2px 7px; background: var(--amber-soft); color: var(--amber); font-size: 10px; }.insightCard time { color: var(--muted); font-size: 10px; }
|
|
577
|
+
.insightCard h3 { margin: 0; }.insightCard blockquote { margin: 0; border-left: 3px solid var(--green); padding: 8px 11px; background: #f5f9f7; }
|
|
578
|
+
.insightCard footer { color: var(--muted); font-size: 10px; }.insightCard footer a { color: var(--blue); }
|
|
579
|
+
.insightLinks { justify-content: flex-start; flex-wrap: wrap; }.insightLinks span { border-radius: 3px; padding: 2px 5px; background: var(--mint); color: var(--green-deep); font-size: 9px; }.insightLinks button { margin-left: auto; min-height: 28px; font-size: 10px; }
|
|
580
|
+
.insightDialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); }.insightDialog form { display: grid; gap: 9px; }.insightDialog label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }.insightDialog input, .insightDialog select, .insightDialog textarea { border: 1px solid var(--line-strong); border-radius: 5px; padding: 7px; }.insightDialog textarea { min-height: 104px; }
|
|
581
|
+
.modal .insightDialog form { box-sizing: border-box; width: 100%; max-height: calc(100vh - 34px); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 0; padding: 0 20px; box-shadow: none; }
|
|
582
|
+
.insightDialog form > .dialogHead { position: sticky; top: 0; z-index: 3; margin: 0 -20px; border-bottom: 1px solid var(--line); padding: 15px 20px 13px; background: rgba(255,255,255,.98); }
|
|
583
|
+
.insightDialog form > .stickyActions { bottom: 0; margin: 2px -20px 0; padding: 11px 20px; }
|
|
584
|
+
.importPreview { display: grid; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 14px; background: #f8faf9; }.importPreview header { display: flex; justify-content: space-between; }.importPreview header div { display: grid; }.importPreview header span { color: var(--muted); font-size: 10px; }.importPreview p { margin: 0; color: var(--red); font-size: 10px; }.importPreview article { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 5px 0; font-size: 10px; }
|
|
585
|
+
|
|
586
|
+
.readyPackage { display: grid; }.readyPackageHead { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 14px; background: rgba(252,253,252,.97); }.readyPackageHead > div:first-child { display: grid; }.readyPackageHead span { color: var(--green); font-size: 9px; }.readyPackageHead > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }.readyPackageHead button, .readyPackageHead a { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--ink); background: #fff; font-size: 10px; text-decoration: none; }
|
|
587
|
+
.notificationDialog { box-sizing: border-box; width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); }
|
|
588
|
+
.notificationDialog > .dialogHead { flex: 0 0 auto; border-bottom: 1px solid var(--line); padding: 14px 16px 12px; }
|
|
589
|
+
.notificationDialog > .emptyPanel { margin: 0; }
|
|
590
|
+
.notificationList { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; display: grid; }.notificationList article { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line); }.notificationList article:first-child { border-top: 0; }.notificationList article > button:first-child { display: grid; gap: 2px; border: 0; border-radius: 0; padding: 10px 16px; text-align: left; }.notificationList article > button:last-child { border: 0; color: var(--green); font-size: 10px; }.notificationList span { color: var(--muted); font-size: 10px; }.unreadNotification { border-left: 3px solid var(--green); background: #f2f8f5; }
|
|
591
|
+
.myWorkSummary { flex: 0 0 auto; display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 16px; }.myWorkSummary span { border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; color: var(--muted); }.myWorkSummary b { color: var(--green-deep); font: 750 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
592
|
+
.myWorkList { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; display: grid; }.myWorkList button { min-height: 76px; display: grid; gap: 3px; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 16px; text-align: left; }.myWorkList button:first-child { border-top: 0; }.myWorkList button > span { color: var(--green); font-size: 9px; font-weight: 750; }.myWorkList button > strong { min-width: 0; overflow: hidden; display: -webkit-box; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }.myWorkList button > small { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
|
|
593
|
+
.run dl { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 8px 0; }.run dl div:first-child { grid-column: 1 / -1; }.run dt { color: var(--muted); font-size: 9px; }.run dd { margin: 1px 0 0; font-size: 10px; }
|
|
594
|
+
.patchImpact { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0; }
|
|
595
|
+
.patchImpact div { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; background: #f8faf9; }
|
|
596
|
+
.patchImpact dt { color: var(--muted); font-size: 9px; }
|
|
597
|
+
.patchImpact dd { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 10px; }
|
|
598
|
+
|
|
599
|
+
@container (max-width: 1279px) {
|
|
600
|
+
.grid { position: relative; grid-template-columns: minmax(0, 1fr) 6px minmax(320px, var(--review-width, 360px)); }
|
|
601
|
+
.documents:not(.mobileDocumentsOpen), .documents + .resizer { display: none; }
|
|
602
|
+
.editorPane { grid-column: 1; }
|
|
603
|
+
.editorPane + .resizer { grid-column: 2; }
|
|
604
|
+
.review { grid-column: 3; }
|
|
477
605
|
.header { grid-template-columns: minmax(200px, 1fr) auto; }
|
|
478
606
|
.stageRail { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
|
|
479
607
|
.headerActions { grid-column: 2; grid-row: 1; }
|
|
608
|
+
.mobileDocumentsTrigger { display: inline-flex; align-items: center; justify-content: center; }
|
|
609
|
+
.documents.mobileDocumentsOpen { position: absolute; inset: 0 auto 0 0; z-index: 24; width: min(320px, 88%); display: block !important; border-right: 1px solid var(--line-strong); box-shadow: 14px 0 34px rgba(20,33,28,.22); }
|
|
610
|
+
.mobileDrawerClose { display: inline-grid; place-items: center; }
|
|
480
611
|
}
|
|
481
|
-
@
|
|
612
|
+
@container (max-width: 959px) {
|
|
482
613
|
.workbench { grid-template-rows: auto auto auto minmax(0, 1fr) 28px; }
|
|
614
|
+
.stageRail { display: none; }
|
|
615
|
+
.mobileViewSwitch { display: flex; }
|
|
616
|
+
.mobileViewSwitch button { min-width: 44px; min-height: 44px; flex: 1; }
|
|
617
|
+
.grid { grid-template-columns: 1fr !important; }
|
|
618
|
+
.resizer { display: none; }
|
|
619
|
+
.editorPane, .review { grid-column: 1; }
|
|
620
|
+
.mobileSpec .review { display: none; }
|
|
621
|
+
.mobileCollab .editorPane { display: none; }
|
|
622
|
+
.review { border-left: 0; }
|
|
483
623
|
.toolbar { align-items: flex-start; flex-direction: column; }
|
|
624
|
+
.toolbar button, .fileButton { min-width: 44px; min-height: 44px; }
|
|
484
625
|
.toolbar > div:last-child { width: 100%; justify-content: flex-start; }
|
|
485
626
|
.editorCollabBar { align-items: flex-start; flex-direction: column; gap: 7px; }
|
|
486
627
|
.collabBarActions { width: 100%; }
|
|
487
628
|
.collabMetric { min-width: 96px; }
|
|
488
629
|
.summaryInput { flex: 1 1 120px; width: auto; }
|
|
489
|
-
.selectionPrompt { max-width: calc(
|
|
630
|
+
.selectionPrompt { max-width: calc(100cqw - 24px); }
|
|
490
631
|
}
|
|
491
|
-
@
|
|
632
|
+
@container (max-width: 680px) {
|
|
492
633
|
.header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; }
|
|
493
|
-
.stageRail { display: none; }
|
|
494
634
|
.headerActions { grid-column: 2; }
|
|
495
|
-
.
|
|
635
|
+
.headerActions > .quietButton:nth-child(2), .notificationButton { display: none; }
|
|
636
|
+
.quietButton { width: 44px; min-height: 44px; padding-inline: 7px; }
|
|
496
637
|
.backLabel { display: none; }
|
|
497
638
|
.identity { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
|
|
498
|
-
.
|
|
499
|
-
.
|
|
500
|
-
.grid { grid-template-columns: 1fr !important; }
|
|
501
|
-
.resizer { display: none; }
|
|
502
|
-
.editorPane, .review { grid-column: 1; }
|
|
503
|
-
.documents { display: none; }
|
|
504
|
-
.mobileSpec .review { display: none; }
|
|
505
|
-
.mobileCollab .editorPane { display: none; }
|
|
506
|
-
.review { border-left: 0; }
|
|
639
|
+
.toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
|
|
640
|
+
.summaryField { grid-column: 1 / -1; }.summaryInput { width: 100%; }
|
|
507
641
|
.richEditor :global(.toastui-editor-contents) { padding: 28px 20px 90px; }
|
|
508
642
|
.selectionPromptActions { align-items: stretch; flex-direction: column; }
|
|
509
643
|
.selectionPromptButtons { width: 100%; justify-content: flex-end; }
|
|
510
|
-
.inlineReviewPrompt { width: calc(
|
|
644
|
+
.inlineReviewPrompt { width: calc(100cqw - 24px); }
|
|
511
645
|
.inlineReviewActions { align-items: stretch; flex-direction: column; }
|
|
512
646
|
.inlineReviewActions > div { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
|
|
513
647
|
.footer span:first-child { display: none; }
|
|
@@ -524,6 +658,16 @@ button:disabled { cursor: default; opacity: .52; }
|
|
|
524
658
|
.reviewDecisionAside { border-top: 1px solid var(--line); border-left: 0; padding: 20px 16px 24px; }
|
|
525
659
|
.decisionActions { bottom: -24px; margin: 20px -16px -24px; padding: 12px 16px; }
|
|
526
660
|
.decisionActions, .decisionActions > div { flex-wrap: wrap; }
|
|
661
|
+
.decisionForm > .stickyActions { position: static; margin: 8px 0 0; padding: 12px 0 0; background: transparent; }
|
|
662
|
+
.formGrid { grid-template-columns: 1fr; }
|
|
663
|
+
.diffDialog { width: 100%; height: 100%; border: 0; border-radius: 0; }
|
|
664
|
+
.diffAdded, .diffRemoved, .diffContext { grid-template-columns: 34px 34px 18px minmax(420px, 1fr); }
|
|
665
|
+
.insightScore { grid-template-columns: 1fr; }.insightScore dl { grid-template-columns: repeat(4, 1fr); }
|
|
666
|
+
.readyPackageHead { align-items: stretch; flex-direction: column; }
|
|
667
|
+
.headerActions button, .workflowFocus > button, .review button, .review input, .review select, .topActions button, .mobileViewSwitch button, .primaryNav [role="tab"], .contextNav [role="tab"], .reviewHeader > button, .toolbar button, .fileButton { min-width: 44px; min-height: 44px; }
|
|
668
|
+
}
|
|
669
|
+
@media (max-width: 680px) {
|
|
670
|
+
.modal button, .modal input, .modal select { min-width: 44px; min-height: 44px; }
|
|
527
671
|
}
|
|
528
672
|
@media (prefers-reduced-motion: reduce) {
|
|
529
673
|
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
|