@unson/brainbase-mcp 0.6.0 → 0.8.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.
Files changed (148) hide show
  1. package/contracts/foundation/graph-history.sql +634 -0
  2. package/contracts/judgment-value-proof/schema.json +43 -1
  3. package/dist/canonical-task-contract.d.ts +9 -0
  4. package/dist/canonical-task-contract.js +39 -0
  5. package/dist/canonical-task-principal.d.ts +16 -0
  6. package/dist/canonical-task-principal.js +36 -0
  7. package/dist/canonical-task-service.d.ts +251 -0
  8. package/dist/canonical-task-service.js +820 -0
  9. package/dist/cli.d.ts +2 -0
  10. package/dist/cli.js +107 -0
  11. package/dist/company-os-evaluation.d.ts +193 -0
  12. package/dist/company-os-evaluation.js +1150 -0
  13. package/dist/company-os-impact-review.d.ts +248 -0
  14. package/dist/company-os-impact-review.js +663 -0
  15. package/dist/company-os-learning-adoption.d.ts +288 -0
  16. package/dist/company-os-learning-adoption.js +944 -0
  17. package/dist/company-os-objectives.d.ts +63 -0
  18. package/dist/company-os-objectives.js +234 -0
  19. package/dist/company-os-receipt-adapter.d.ts +109 -0
  20. package/dist/company-os-receipt-adapter.js +636 -0
  21. package/dist/constraint-exception-store.d.ts +23 -0
  22. package/dist/constraint-exception-store.js +108 -0
  23. package/dist/constraint-resolution.d.ts +175 -0
  24. package/dist/constraint-resolution.js +922 -0
  25. package/dist/decision-adapter.d.ts +145 -0
  26. package/dist/decision-adapter.js +586 -0
  27. package/dist/durable-wait-http.d.ts +51 -0
  28. package/dist/durable-wait-http.js +497 -0
  29. package/dist/durable-waits.d.ts +234 -0
  30. package/dist/durable-waits.js +944 -0
  31. package/dist/execution-authority-http.d.ts +28 -0
  32. package/dist/execution-authority-http.js +359 -0
  33. package/dist/execution-authority.d.ts +201 -0
  34. package/dist/execution-authority.js +634 -0
  35. package/dist/foundation-authenticated-tools.d.ts +56 -0
  36. package/dist/foundation-authenticated-tools.js +347 -0
  37. package/dist/foundation-catalog.d.ts +26 -0
  38. package/dist/foundation-catalog.js +206 -0
  39. package/dist/foundation-constraint-store.d.ts +50 -0
  40. package/dist/foundation-constraint-store.js +215 -0
  41. package/dist/foundation-graph-http.d.ts +43 -0
  42. package/dist/foundation-graph-http.js +243 -0
  43. package/dist/foundation-graph-write.d.ts +90 -0
  44. package/dist/foundation-graph-write.js +447 -0
  45. package/dist/foundation-http.d.ts +90 -0
  46. package/dist/foundation-http.js +439 -0
  47. package/dist/foundation-public-provider.d.ts +140 -0
  48. package/dist/foundation-public-provider.js +192 -0
  49. package/dist/foundation-store.d.ts +132 -0
  50. package/dist/foundation-store.js +654 -0
  51. package/dist/graph-corrections.d.ts +157 -0
  52. package/dist/graph-corrections.js +620 -0
  53. package/dist/graph-foundation-reader.d.ts +60 -0
  54. package/dist/graph-foundation-reader.js +494 -0
  55. package/dist/graph-retrieval.d.ts +6 -1
  56. package/dist/graph-revision-reader.d.ts +80 -0
  57. package/dist/graph-revision-reader.js +246 -0
  58. package/dist/graph-web-http.d.ts +26 -0
  59. package/dist/graph-web-http.js +215 -0
  60. package/dist/graph-web.d.ts +364 -0
  61. package/dist/graph-web.js +639 -0
  62. package/dist/judgment-dag-composition.d.ts +224 -0
  63. package/dist/judgment-dag-composition.js +731 -0
  64. package/dist/judgment-dag.d.ts +2 -0
  65. package/dist/judgment-dag.js +1 -0
  66. package/dist/judgment-problem-snapshot.d.ts +213 -0
  67. package/dist/judgment-problem-snapshot.js +1073 -0
  68. package/dist/judgment-value-proof-review.d.ts +166 -0
  69. package/dist/judgment-value-proof-review.js +437 -0
  70. package/dist/judgment-value-proof.d.ts +28 -1
  71. package/dist/judgment-value-proof.js +53 -8
  72. package/dist/judgment-view-http.d.ts +22 -0
  73. package/dist/judgment-view-http.js +128 -0
  74. package/dist/judgment-view.d.ts +222 -0
  75. package/dist/judgment-view.js +627 -0
  76. package/dist/knowledge-adapter.d.ts +112 -0
  77. package/dist/knowledge-adapter.js +691 -0
  78. package/dist/knowledge-continuation.d.ts +127 -0
  79. package/dist/knowledge-continuation.js +446 -0
  80. package/dist/knowledge-lookup.d.ts +178 -0
  81. package/dist/knowledge-lookup.js +758 -0
  82. package/dist/local-web-fetch-bridge.d.ts +5 -0
  83. package/dist/local-web-fetch-bridge.js +37 -0
  84. package/dist/local-web-host.d.ts +109 -0
  85. package/dist/local-web-host.js +688 -0
  86. package/dist/local-web-security.d.ts +25 -0
  87. package/dist/local-web-security.js +95 -0
  88. package/dist/ontology-foundation.d.ts +209 -0
  89. package/dist/ontology-foundation.js +1000 -0
  90. package/dist/ontology.d.ts +13 -0
  91. package/dist/ontology.js +14 -0
  92. package/dist/organization-connection.d.ts +164 -0
  93. package/dist/organization-connection.js +428 -0
  94. package/dist/organization-graph.d.ts +15 -0
  95. package/dist/organization-graph.js +24 -4
  96. package/dist/personal-knowledge.d.ts +132 -0
  97. package/dist/personal-knowledge.js +779 -0
  98. package/dist/personal-memory-handover.d.ts +108 -0
  99. package/dist/personal-memory-handover.js +369 -0
  100. package/dist/philosophy-revision-reader.d.ts +85 -0
  101. package/dist/philosophy-revision-reader.js +241 -0
  102. package/dist/portable-graph.d.ts +24 -0
  103. package/dist/portable-graph.js +77 -0
  104. package/dist/problem-candidates.d.ts +149 -0
  105. package/dist/problem-candidates.js +898 -0
  106. package/dist/problem-selection.d.ts +238 -0
  107. package/dist/problem-selection.js +995 -0
  108. package/dist/resource-reservation-http.d.ts +31 -0
  109. package/dist/resource-reservation-http.js +371 -0
  110. package/dist/resource-reservations.d.ts +221 -0
  111. package/dist/resource-reservations.js +577 -0
  112. package/dist/server.d.ts +104 -2
  113. package/dist/server.js +186 -4
  114. package/dist/ssot.d.ts +6 -1
  115. package/dist/ssot.js +63 -5
  116. package/dist/streamable-http.d.ts +42 -0
  117. package/dist/streamable-http.js +288 -0
  118. package/dist/types.d.ts +20 -0
  119. package/dist/value-proof-review-http.d.ts +25 -0
  120. package/dist/value-proof-review-http.js +185 -0
  121. package/dist/world-model.d.ts +199 -0
  122. package/dist/world-model.js +955 -0
  123. package/package.json +230 -3
  124. package/ui/brainbase-tokens.css +56 -0
  125. package/ui/graph-own-share.js +367 -0
  126. package/ui/graph-projects-view.css +23 -0
  127. package/ui/graph-projects-view.js +730 -0
  128. package/ui/graph-registry-view.css +101 -0
  129. package/ui/graph-registry-view.js +804 -0
  130. package/ui/graph-view-shared.css +522 -0
  131. package/ui/graph-view-shared.js +1227 -0
  132. package/ui/judgment-view.css +312 -0
  133. package/ui/judgment-view.js +508 -0
  134. package/ui/local-web-shell.css +396 -0
  135. package/ui/local-web-shell.js +378 -0
  136. package/ui/objective-editor-http-port.js +154 -0
  137. package/ui/objective-editor.css +286 -0
  138. package/ui/objective-editor.js +1586 -0
  139. package/ui/outcome-knowledge.css +50 -14
  140. package/ui/outcome-knowledge.js +15 -1
  141. package/ui/outcome-mana.css +91 -14
  142. package/ui/outcome-mana.js +958 -61
  143. package/ui/value-proof-review.css +504 -0
  144. package/ui/value-proof-review.js +1104 -0
  145. package/ui/workspace-kit.css +485 -0
  146. package/ui/workspace-kit.js +229 -0
  147. package/ui/world-model-view.css +188 -0
  148. package/ui/world-model-view.js +486 -0
@@ -0,0 +1,286 @@
1
+ /*
2
+ * Shared Objective editor surface. The host owns shell, identity and policy.
3
+ * Tabs layout (no rail, as the organization edition composes it): the header
4
+ * sits in a gradient box, each view is a white section, tabs and buttons share
5
+ * one shape and the active tab and the primary action use the action color.
6
+ * Workspace layout (the host gives a rail): the organization edition's screen
7
+ * pattern from workspace-kit.css; its rules below read the shared tokens.
8
+ */
9
+ .objective-editor-root,
10
+ .bb-objective-workspace,
11
+ .bb-objective-rail {
12
+ --objective-paper: var(--bb-color-panel, var(--paper, #fbfbf8));
13
+ --objective-canvas: var(--bb-color-surface, var(--canvas, #f2f3ef));
14
+ --objective-ink: var(--bb-color-ink, var(--ink, #141714));
15
+ --objective-muted: var(--bb-color-muted, var(--muted, #626a64));
16
+ --objective-quiet: var(--bb-color-muted, var(--quiet, #8b938c));
17
+ --objective-line: var(--bb-color-border, var(--line, #d9ded9));
18
+ --objective-line-strong: var(--bb-color-border-strong, var(--line-dark, #b8c0b9));
19
+ --objective-control-line: var(--bb-color-control-border, var(--line-dark, #b8c0b9));
20
+ --objective-header-start: var(--bb-color-header-start, var(--paper, #fbfbf8));
21
+ --objective-header-end: var(--bb-color-header-end, var(--paper, #fbfbf8));
22
+ --objective-eyebrow: var(--bb-color-eyebrow, var(--green, #087d62));
23
+ --objective-green: var(--bb-color-accent, var(--green, #087d62));
24
+ --objective-green-soft: var(--bb-color-accent-soft, var(--green-soft, #e5f1ec));
25
+ --objective-green-strong: var(--bb-color-accent-strong, var(--green, #087d62));
26
+ --objective-action: var(--bb-color-action, var(--green, #087d62));
27
+ --objective-action-hover: var(--bb-color-action-hover, var(--green, #087d62));
28
+ --objective-action-text: var(--bb-color-action-text, #ffffff);
29
+ --objective-focus: var(--bb-color-focus, var(--green, #087d62));
30
+ --objective-amber: var(--bb-color-warning, var(--amber, #a56d05));
31
+ --objective-amber-soft: var(--bb-color-warning-soft, var(--amber-soft, #fff2ce));
32
+ --objective-red: var(--bb-color-danger, var(--red, #c82a39));
33
+ --objective-red-soft: var(--bb-color-danger-soft, var(--red-soft, #fdebed));
34
+ min-width: 0;
35
+ color: var(--objective-ink);
36
+ font-family: var(--bb-font-sans, Geist, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
37
+ line-height: 1.5;
38
+ }
39
+
40
+ .objective-editor-root {
41
+ display: grid;
42
+ gap: 20px;
43
+ }
44
+
45
+ .objective-editor-root *,
46
+ .objective-editor-root *::before,
47
+ .objective-editor-root *::after { box-sizing: border-box; }
48
+ .objective-editor-root button,
49
+ .objective-editor-root input,
50
+ .objective-editor-root select,
51
+ .objective-editor-root textarea { font: inherit; }
52
+ .objective-editor-root h1,
53
+ .objective-editor-root p { margin: 0; }
54
+ .objective-editor-root h1 { margin: 4px 0 8px; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.02em; line-height: 1.25; }
55
+ .objective-editor-root [hidden],
56
+ .bb-objective-rail [hidden] { display: none !important; }
57
+
58
+ /* Part header: eyebrow, title and lead inside the gradient box, state at the right. */
59
+ .objective-editor-header {
60
+ display: grid;
61
+ grid-template-columns: minmax(0, 1fr) auto;
62
+ gap: .75rem 1rem;
63
+ align-items: start;
64
+ padding: 24px;
65
+ border: 1px solid var(--objective-line);
66
+ border-radius: var(--bb-radius-lg, 16px);
67
+ background: linear-gradient(135deg, var(--objective-header-start), var(--objective-header-end));
68
+ }
69
+ .objective-editor-header-copy { display: grid; min-width: 0; }
70
+ .objective-editor-header-copy p { color: var(--objective-muted); }
71
+ .objective-editor-eyebrow { color: var(--objective-eyebrow); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
72
+
73
+ /* Tabs and buttons: one shape; the active tab and the primary action use the action color. */
74
+ .objective-editor-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
75
+ .objective-editor-tab,
76
+ .objective-editor-button,
77
+ .objective-editor-button-primary,
78
+ .objective-editor-button-secondary,
79
+ .objective-editor-button-danger {
80
+ min-height: 40px;
81
+ border: 1px solid var(--objective-control-line);
82
+ border-radius: var(--bb-radius-sm, 7px);
83
+ padding: 8px 12px;
84
+ color: var(--objective-ink);
85
+ background: var(--objective-paper);
86
+ cursor: pointer;
87
+ font-weight: 680;
88
+ line-height: 1.3;
89
+ }
90
+ /* The root resets button fonts with `button { font: inherit }`; keep the weight. */
91
+ .objective-editor-root .objective-editor-tab,
92
+ .objective-editor-root .objective-editor-button,
93
+ .objective-editor-root .objective-editor-button-primary,
94
+ .objective-editor-root .objective-editor-button-secondary,
95
+ .objective-editor-root .objective-editor-button-danger,
96
+ .bb-objective-rail .objective-editor-button-secondary,
97
+ .bb-objective-rail .objective-editor-button-danger { font-weight: 680; }
98
+ .objective-editor-tab:hover,
99
+ .objective-editor-button:hover,
100
+ .objective-editor-button-secondary:hover { border-color: var(--objective-line-strong); }
101
+ .objective-editor-tab.is-active { border-color: var(--objective-action); color: var(--objective-action-text); background: var(--objective-action); }
102
+ .objective-editor-toolbar > .objective-editor-button-secondary { margin-left: auto; }
103
+ .objective-editor-button-primary { border-color: var(--objective-action); color: var(--objective-action-text); background: var(--objective-action); }
104
+ .objective-editor-button-primary:hover:not(:disabled) { border-color: var(--objective-action-hover); background: var(--objective-action-hover); }
105
+ .objective-editor-button-danger { border-color: color-mix(in srgb, var(--objective-red) 45%, var(--objective-line)); color: var(--objective-red); }
106
+ .objective-editor-button-danger:hover { background: var(--objective-red-soft); }
107
+ .objective-editor-tab:disabled,
108
+ .objective-editor-button:disabled,
109
+ .objective-editor-button-primary:disabled,
110
+ .objective-editor-button-secondary:disabled,
111
+ .objective-editor-button-danger:disabled { cursor: wait; opacity: .55; }
112
+ .objective-editor-root button:focus-visible,
113
+ .bb-objective-rail button:focus-visible,
114
+ .objective-editor-input:focus-visible { outline: 3px solid color-mix(in srgb, var(--objective-focus) 45%, var(--objective-paper)); outline-offset: 2px; }
115
+
116
+ /* Each view is a white section. */
117
+ .objective-editor-content { min-width: 0; }
118
+ .objective-editor-panel {
119
+ display: grid;
120
+ gap: .8rem;
121
+ min-width: 0;
122
+ padding: 18px;
123
+ border: 1px solid var(--objective-line);
124
+ border-radius: var(--bb-radius-md, 14px);
125
+ background: var(--objective-paper);
126
+ }
127
+ .objective-editor-panel-heading { font-size: 1.1rem; font-weight: 700; }
128
+ .objective-editor-muted,
129
+ .objective-editor-help { color: var(--objective-muted); font-size: .8rem; }
130
+ .objective-editor-list { display: grid; gap: 0; border-top: 1px solid var(--objective-line-strong); }
131
+ .objective-editor-list-row {
132
+ display: grid;
133
+ grid-template-columns: minmax(0, 1fr) auto;
134
+ gap: .75rem;
135
+ align-items: center;
136
+ width: 100%;
137
+ min-height: 4.2rem;
138
+ border: 0;
139
+ border-bottom: 1px solid var(--objective-line);
140
+ padding: .75rem .5rem;
141
+ color: inherit;
142
+ background: transparent;
143
+ text-align: left;
144
+ cursor: pointer;
145
+ }
146
+ .objective-editor-list-row:hover { background: var(--objective-canvas); }
147
+ .objective-editor-list-copy { display: grid; gap: .15rem; min-width: 0; }
148
+ .objective-editor-list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
149
+ .objective-editor-list-copy small { color: var(--objective-quiet); font-size: .72rem; }
150
+ .objective-editor-list-badges { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
151
+ .objective-editor-badge {
152
+ display: inline-flex;
153
+ align-items: center;
154
+ min-height: 1.65rem;
155
+ border: 1px solid var(--objective-line);
156
+ border-radius: 999px;
157
+ padding: .16rem .55rem;
158
+ color: var(--objective-muted);
159
+ background: var(--objective-paper);
160
+ font-size: .7rem;
161
+ font-weight: 700;
162
+ white-space: nowrap;
163
+ }
164
+ .objective-editor-badge-judgment_available,
165
+ .objective-editor-badge-verified { border-color: color-mix(in srgb, var(--objective-green) 40%, var(--objective-line)); color: var(--objective-green-strong); background: var(--objective-green-soft); }
166
+ .objective-editor-badge-draft,
167
+ .objective-editor-badge-conflict { border-color: color-mix(in srgb, var(--objective-amber) 40%, var(--objective-line)); color: var(--objective-amber); background: var(--objective-amber-soft); }
168
+ .objective-editor-badge-permission_denied,
169
+ .objective-editor-badge-api_unavailable,
170
+ .objective-editor-badge-missing,
171
+ .objective-editor-badge-saved_unverified { border-color: color-mix(in srgb, var(--objective-red) 35%, var(--objective-line)); color: var(--objective-red); background: var(--objective-red-soft); }
172
+ .objective-editor-empty { padding: 1.5rem 0; color: var(--objective-muted); }
173
+ .objective-editor-skeleton { height: 3.5rem; margin-bottom: .4rem; border-bottom: 1px solid var(--objective-line); color: var(--objective-quiet); font-size: .76rem; }
174
+
175
+ /* State boxes. */
176
+ .objective-editor-notice { display: grid; gap: .25rem; justify-items: start; border-radius: var(--bb-radius-sm, 7px); padding: 11px 12px; background: var(--objective-canvas); }
177
+ .objective-editor-notice p { color: var(--objective-muted); font-size: .8rem; }
178
+ .objective-editor-notice-permission_denied,
179
+ .objective-editor-notice-api_unavailable,
180
+ .objective-editor-notice-conflict,
181
+ .objective-editor-notice-missing { color: var(--objective-red); background: var(--objective-red-soft); }
182
+
183
+ /* Form. */
184
+ .objective-editor-form { display: grid; gap: 1rem; max-width: 58rem; }
185
+ .objective-editor-identity,
186
+ .objective-editor-inline-fields,
187
+ .objective-editor-inline-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
188
+ .objective-editor-inline-form { align-items: end; }
189
+ .objective-editor-field { display: grid; gap: .3rem; min-width: 0; }
190
+ .objective-editor-label { color: var(--objective-ink); font-size: .78rem; font-weight: 650; }
191
+ .objective-editor-input {
192
+ width: 100%;
193
+ min-height: 40px;
194
+ border: 1px solid var(--objective-line-strong);
195
+ border-radius: var(--bb-radius-sm, 7px);
196
+ padding: 9px 10px;
197
+ color: var(--objective-ink);
198
+ background: var(--objective-paper);
199
+ }
200
+ .objective-editor-input:focus { border-color: var(--objective-green); }
201
+ textarea.objective-editor-input { min-height: 5.4rem; resize: vertical; }
202
+ .objective-editor-readonly-value { display: grid; align-content: center; gap: .2rem; min-height: 40px; border-bottom: 1px solid var(--objective-line); }
203
+ .objective-editor-subheading { font-size: .9rem; font-weight: 700; }
204
+ .objective-editor-readiness,
205
+ .objective-editor-reference-section { display: grid; gap: .5rem; min-width: 0; border-top: 1px solid var(--objective-line); padding-top: .8rem; }
206
+ .objective-editor-readiness { justify-items: start; }
207
+ .objective-editor-issue-list,
208
+ .objective-editor-reference-list,
209
+ .objective-editor-link-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
210
+ .objective-editor-issue-list { color: var(--objective-red); font-size: .78rem; }
211
+ .objective-editor-reference-item,
212
+ .objective-editor-link-item { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; min-height: 2.25rem; border-bottom: 1px solid var(--objective-line); padding: .35rem 0; }
213
+ .objective-editor-reference-item small,
214
+ .objective-editor-link-item small { width: 100%; color: var(--objective-muted); font-size: .72rem; }
215
+ .objective-editor-reference-item .objective-editor-button-danger { margin-left: auto; }
216
+ .objective-editor-criteria { display: grid; gap: .5rem; min-width: 0; margin: 0; border: 1px solid var(--objective-line); border-radius: var(--bb-radius-sm, 7px); padding: 12px; }
217
+ .objective-editor-criteria legend { padding: 0 5px; font-size: .9rem; font-weight: 700; }
218
+ .objective-editor-criteria > .objective-editor-button-secondary { justify-self: start; }
219
+ .objective-editor-criterion-row { display: grid; grid-template-columns: minmax(8rem, 1.4fr) minmax(6rem, .8fr) minmax(6rem, .7fr) minmax(6rem, .8fr) auto; gap: .5rem; align-items: end; padding: .5rem 0; border-bottom: 1px solid var(--objective-line); }
220
+ .objective-editor-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding-top: .3rem; }
221
+ .objective-editor-actions .objective-editor-muted { margin-right: auto; }
222
+
223
+ /* Workspace layout: page head, metrics and the objectives ledger; the rail holds the selection. */
224
+ .bb-objective-workspace { display: block; }
225
+ .bb-objective-workspace > .bb-ws-summary { margin-top: 30px; }
226
+ .bb-objective-workspace > .bb-ws-notice { margin-top: 0; }
227
+ /* The local shell resets `.bb-shell button { font: inherit }`, which outranks the kit's button and row type. */
228
+ .bb-objective-workspace .bb-ws-button,
229
+ .bb-objective-rail .bb-ws-button { font-size: 13px; font-weight: 680; }
230
+ .bb-objective-workspace .bb-ws-button.is-quiet,
231
+ .bb-objective-rail .bb-ws-button.is-quiet { font-size: 12px; }
232
+ .bb-objective-workspace button.bb-ws-ledger-row { font-size: 12px; }
233
+ .bb-objective-ledger .bb-ws-ledger-row { grid-template-columns: minmax(140px, 1.4fr) minmax(110px, 1fr) 72px 136px minmax(152px, 1fr); }
234
+ .bb-objective-judgment { font-weight: 690; }
235
+ .bb-objective-judgment.is-available { color: var(--bb-color-accent-strong); }
236
+ .bb-objective-judgment.is-draft { color: var(--bb-color-warning); }
237
+ .bb-objective-judgment.is-unresolved { color: var(--bb-color-quiet); font-weight: 500; }
238
+ .bb-objective-story { margin-top: var(--bb-space-6); }
239
+ .bb-objective-notice-body { display: grid; gap: var(--bb-space-2); min-width: 0; }
240
+ .bb-objective-notice-body p { margin: 0; overflow-wrap: anywhere; }
241
+ .bb-objective-notice-body .bb-ws-button { justify-self: start; }
242
+
243
+ .bb-objective-rail { display: block; }
244
+ .bb-objective-rail > .bb-ws-notice { margin: var(--bb-space-4) 0 0; }
245
+ .bb-objective-rail > .bb-ws-actions { padding-top: 22px; }
246
+ .bb-objective-rail .bb-ws-rail-block > p + p,
247
+ .bb-objective-rail .bb-objective-note { margin-top: var(--bb-space-2); }
248
+ .bb-objective-rail .bb-objective-note { color: var(--bb-color-muted); font-size: 12px; }
249
+ .bb-objective-rail .bb-ws-rail-block .is-unrecorded { color: var(--bb-color-quiet); }
250
+ .bb-objective-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
251
+ .bb-objective-list li { display: grid; gap: 2px; border-bottom: 1px solid var(--bb-color-border); padding: var(--bb-space-2) 0; font-size: 13px; }
252
+ .bb-objective-list li:first-child { border-top: 1px solid var(--bb-color-border); }
253
+ .bb-objective-list code { color: var(--bb-color-ink); font-family: var(--bb-font-mono); font-size: 11px; overflow-wrap: anywhere; }
254
+ .bb-objective-list span { color: var(--bb-color-muted); }
255
+ .bb-objective-issues { display: grid; gap: var(--bb-space-1); margin: var(--bb-space-2) 0 0; padding-left: var(--bb-space-5); color: var(--bb-color-danger); font-size: 13px; }
256
+ .bb-objective-readiness-block .objective-editor-badge { margin-bottom: var(--bb-space-2); }
257
+ /* The edit form in the rail: one column. */
258
+ .bb-objective-rail .objective-editor-form { max-width: none; margin-top: 22px; }
259
+ .bb-objective-rail .objective-editor-form p { margin: 0; }
260
+ .bb-objective-rail .objective-editor-identity,
261
+ .bb-objective-rail .objective-editor-inline-fields,
262
+ .bb-objective-rail .objective-editor-inline-form { grid-template-columns: minmax(0, 1fr); }
263
+ .bb-objective-rail .objective-editor-criterion-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
264
+ .bb-objective-rail .objective-editor-criterion-row .objective-editor-button-danger { grid-column: 1 / -1; justify-self: start; }
265
+ .bb-objective-rail .objective-editor-actions .objective-editor-muted { flex-basis: 100%; }
266
+
267
+ @media (max-width: 760px) {
268
+ .objective-editor-header { padding: 18px; }
269
+ .objective-editor-panel { padding: 14px; }
270
+ .bb-objective-ledger .bb-ws-ledger-row { grid-template-columns: minmax(0, 1fr) 60px 132px; }
271
+ .bb-objective-ledger .bb-ws-ledger-row > span:nth-child(2),
272
+ .bb-objective-ledger .bb-ws-ledger-row > span:nth-child(5) { display: none; }
273
+ }
274
+
275
+ @media (max-width: 720px) {
276
+ .objective-editor-header,
277
+ .objective-editor-list-row { grid-template-columns: 1fr; }
278
+ .objective-editor-header > .objective-editor-badge { justify-self: start; }
279
+ .objective-editor-list-badges { justify-content: flex-start; }
280
+ .objective-editor-toolbar > .objective-editor-button-secondary { margin-left: 0; }
281
+ .objective-editor-identity,
282
+ .objective-editor-inline-fields,
283
+ .objective-editor-inline-form { grid-template-columns: 1fr; }
284
+ .objective-editor-criterion-row { grid-template-columns: 1fr 1fr; }
285
+ .objective-editor-criterion-row .objective-editor-button-danger { grid-column: 1 / -1; justify-self: start; }
286
+ }