@lchase/kiln 0.9.0 → 0.11.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/assets/serve.css CHANGED
@@ -1,545 +1,268 @@
1
1
  /* kiln-serve */
2
- /* Tokens and layout from the factory dashboard (plugins/factory/dashboard). Dark only. */
3
2
  :root {
4
- --bg: #1c2023;
5
- --panel: #24292d;
6
- --card: #24292d;
7
- --card-hover: #2d3338;
8
- --line: #2d3338;
9
- --line-strong: #4a5259;
10
- --ink: #fcfcfd;
11
- --muted: #b7bcc1;
12
- --faint: #888e92;
13
- --live: #4bc4c9;
14
- --pass: #90cea7;
15
- --changes: #ffcc61;
16
- --human: #ff6300;
17
- --merged: #a794ff;
18
- --must: #f7a89c;
19
- --primary: #5405bd;
20
- --code: #beb3ff;
21
- --code-bg: #2d3338;
22
- --shadow: 0 4px 8px -2px #00000066, 0 8px 16px 0 #00000059;
3
+ --bg: #16181d;
4
+ --panel: #1c1f26;
5
+ --card: #22262e;
6
+ --card-hover: #2a303a;
7
+ --line: #2c323c;
8
+ --line-strong: #3d4551;
9
+ --ink: #f4f5f7;
10
+ --muted: #a7b0bb;
11
+ --faint: #7c8694;
12
+ --live: #3dd6c6;
13
+ --pass: #8dcea8;
14
+ --changes: #e6c36a;
15
+ --human: #ff7a45;
16
+ --merged: #b4a4ff;
17
+ --primary: #6d4aff;
18
+ --code: #c4b8ff;
19
+ --code-bg: #2a303a;
23
20
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
21
+ --nav: 232px;
22
+ --rail: 280px;
24
23
  }
25
24
  * { box-sizing: border-box; }
26
25
  [hidden] { display: none !important; }
27
- html, body { margin: 0; }
26
+ html, body { margin: 0; height: 100%; }
28
27
  html { background: var(--bg); }
29
28
  body {
30
29
  min-height: 100vh;
31
- display: flex;
32
- flex-direction: column;
33
30
  background: var(--bg);
34
31
  color: var(--ink);
35
32
  font: 14px/20px Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
36
33
  -webkit-font-smoothing: antialiased;
37
- padding-bottom: 80px;
38
34
  }
39
- button { font: inherit; color: inherit; }
40
- a { color: var(--code); }
35
+ button, input, select, textarea { font: inherit; color: inherit; }
36
+ a { color: var(--code); text-decoration: none; }
37
+ a:hover { text-decoration: underline; }
38
+ h1, h2, h3 { font-weight: 500; }
39
+ h2 { margin: 0; font-size: 18px; line-height: 24px; }
40
+ h3 { margin: 0 0 8px; font-size: 13px; line-height: 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
41
41
 
42
- header {
42
+ .shell { display: grid; grid-template-columns: var(--nav) minmax(0, 1fr); min-height: 100vh; }
43
+ .nav {
44
+ position: sticky;
45
+ top: 0;
46
+ height: 100vh;
47
+ overflow: auto;
48
+ background: var(--panel);
49
+ border-right: 1px solid var(--line);
50
+ padding: 16px 12px 24px;
43
51
  display: flex;
44
- align-items: center;
45
- justify-content: space-between;
46
- gap: 16px;
47
- flex-wrap: wrap;
48
- min-height: 56px;
49
- padding: 0 24px;
50
- border-bottom: 1px solid var(--line);
52
+ flex-direction: column;
53
+ gap: 12px;
51
54
  }
52
- .brand { display: flex; align-items: center; gap: 12px; }
55
+ .brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
56
+ .brand h1 { margin: 0; font-size: 16px; line-height: 20px; }
53
57
  .logo {
54
- width: 28px;
55
- height: 28px;
56
- border-radius: 50%;
57
- background: var(--primary);
58
- display: inline-flex;
59
- align-items: center;
60
- justify-content: center;
61
- }
62
- .ver { font-size: 12px; line-height: 16px; color: var(--faint); align-self: flex-end; margin: 0 0 4px -4px; }
63
- h1 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; }
64
- .status { margin-left: auto; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }
65
- .status::before {
66
- content: "";
67
- display: inline-block;
68
- width: 8px;
69
- height: 8px;
70
- border-radius: 50%;
71
- background: var(--live);
72
- margin-right: 8px;
73
- vertical-align: 0;
74
- animation: pulse 1.6s ease-in-out infinite;
75
- }
76
- .status.err { color: var(--human); }
77
- .status.err::before { background: var(--human); animation: none; }
78
-
79
- .repos { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 24px 0; }
80
- .repo-f {
81
- display: inline-flex;
82
- align-items: center;
83
- gap: 6px;
84
- height: 28px;
85
- padding: 0 12px;
86
- border: 1px solid var(--line-strong);
87
- border-radius: 4px;
88
- background: none;
89
- color: var(--muted);
58
+ width: 28px; height: 28px; border-radius: 8px; background: var(--primary);
59
+ display: inline-flex; align-items: center; justify-content: center; flex: none;
60
+ }
61
+ .ver { display: block; font-size: 11px; line-height: 14px; color: var(--faint); }
62
+ .runstate { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-family: var(--mono); font-size: 12px; }
63
+ .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 25%, transparent); }
64
+ .live-dot.paused { background: var(--human); box-shadow: 0 0 0 3px color-mix(in srgb, var(--human) 25%, transparent); }
65
+ .pause { margin: 0 0 0 auto; }
66
+ .pause button {
90
67
  font: 12px/16px var(--mono);
91
- cursor: pointer;
92
- }
93
- .repo-f:hover { background: var(--card-hover); color: var(--ink); }
94
- .repo-f[aria-pressed="true"] {
95
- border-color: transparent;
96
- background: color-mix(in srgb, var(--merged) 22%, transparent);
97
68
  color: var(--ink);
98
- }
99
- .repo-f .n { color: var(--faint); }
100
-
101
- .board {
102
- flex: 1;
103
- display: grid;
104
- grid-template-columns: var(--cols, repeat(8, minmax(0, 1fr)));
105
- gap: 16px;
106
- padding: 24px;
107
- align-items: start;
108
- }
109
- .col { min-width: 0; }
110
- .col-head {
111
- display: flex;
112
- align-items: baseline;
113
- gap: 8px;
114
- padding: 0 0 8px;
115
- border-bottom: 1px solid var(--line);
116
- margin-bottom: 12px;
117
- }
118
- .col-head h2 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; }
119
- .col-head .who {
120
- font-family: var(--mono);
121
- font-size: 12px;
122
- line-height: 16px;
123
- color: var(--faint);
124
- white-space: nowrap;
125
- overflow: hidden;
126
- text-overflow: ellipsis;
127
- }
128
- .col-head .count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
129
- .col.human h2 { color: var(--human); }
130
- .col.merged h2 { color: var(--merged); }
131
- .col.queued h2 { color: var(--muted); }
132
- .col.queued .who,
133
- .col.queued .count { color: var(--faint); }
134
- .col:not(.slim) .slim-face { display: none; }
135
- .col.slim {
136
- align-self: stretch;
137
- min-height: 320px;
138
- display: flex;
139
- flex-direction: column;
140
- align-items: center;
141
- gap: 12px;
142
- padding: 12px 0;
143
- border: 1px solid var(--line);
144
- border-radius: 4px;
145
- }
146
- .col.slim .full { display: none; }
147
- .col.slim .slim-face { display: flex; flex-direction: column; align-items: center; gap: 12px; }
148
- .col.slim .v { writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px; }
149
- .col.slim h2 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; }
150
- .col.slim .who { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); white-space: nowrap; }
151
- .col.slim .count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
152
- .empty {
153
- color: var(--faint);
154
- font-size: 12px;
155
- line-height: 16px;
156
- padding: 20px 12px;
157
- border: 1px dashed var(--line);
158
- border-radius: 4px;
159
- text-align: center;
160
- }
161
-
162
- .card {
163
- display: block;
164
- width: 100%;
165
- text-align: left;
166
- cursor: pointer;
167
69
  background: var(--card);
168
70
  border: 1px solid var(--line-strong);
169
- border-radius: 4px;
170
- padding: 12px;
171
- margin-bottom: 12px;
71
+ border-radius: 6px;
72
+ padding: 4px 8px;
73
+ cursor: pointer;
172
74
  }
173
- .card:hover { border-color: var(--faint); box-shadow: var(--shadow); }
174
- .card:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--merged); }
175
- .card.human { border: 2px solid var(--human); padding: 11px; }
176
- .card.merged { background: var(--bg); border-color: var(--line); }
177
- .card.merged .title { color: var(--muted); }
178
- .card.queued,
179
- .card.retrying { background: var(--bg); border-color: var(--line); }
180
- .card.queued .title,
181
- .card.retrying .title { color: var(--muted); font-weight: 400; }
182
- .card.queued .num,
183
- .card.queued .branch,
184
- .card.queued .note,
185
- .card.queued .deps,
186
- .card.retrying .num,
187
- .card.retrying .branch,
188
- .card.retrying .note,
189
- .card.retrying .deps,
190
- .card.retrying .meta { color: var(--faint); }
191
- .card.queued:hover,
192
- .card.retrying:hover { border-color: var(--line-strong); }
193
- .card.fresh { border-color: var(--live); box-shadow: 0 0 0 1px var(--live); }
194
- .card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
195
- .num {
196
- font-family: var(--mono);
197
- font-size: 12px;
198
- line-height: 16px;
75
+ .pause button[aria-pressed="true"] { color: var(--human); }
76
+ .spend, .cap { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); padding: 0 6px; }
77
+ .cap { color: var(--human); }
78
+ .side { display: flex; flex-direction: column; gap: 2px; }
79
+ .nav-link, .nav-sub {
80
+ display: flex; align-items: center; justify-content: space-between; gap: 8px;
81
+ padding: 6px 8px; border-radius: 6px; color: var(--ink); text-decoration: none;
82
+ }
83
+ .nav-sub { padding-left: 18px; color: var(--muted); font-size: 13px; }
84
+ .nav-link:hover, .nav-sub:hover { background: var(--card); text-decoration: none; }
85
+ .nav-link[aria-current="page"], .nav-sub[aria-current="page"] { background: var(--card-hover); }
86
+ .badge {
87
+ min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
88
+ background: var(--card); color: var(--muted); font: 11px/18px var(--mono); text-align: center;
89
+ }
90
+ .nav-link[aria-current="page"] .badge { background: var(--human); color: #1a100c; }
91
+ .unseen { margin: 0 8px 6px; color: var(--changes); font-size: 12px; line-height: 16px; }
92
+ .add, .tool-link {
93
+ margin-top: 4px;
94
+ background: none;
95
+ border: 1px solid var(--line-strong);
96
+ border-radius: 6px;
97
+ padding: 6px 8px;
98
+ text-align: left;
99
+ cursor: pointer;
199
100
  color: var(--muted);
200
- white-space: nowrap;
201
- overflow: hidden;
202
- text-overflow: ellipsis;
203
101
  }
204
- .card-top .num { flex: 1; min-width: 0; }
205
- .pulse {
206
- width: 8px;
207
- height: 8px;
208
- border-radius: 50%;
209
- background: var(--live);
210
- flex: none;
211
- animation: pulse 1.6s ease-in-out infinite;
102
+ .add { background: var(--primary); color: white; border-color: transparent; }
103
+ .tool-link { margin-top: auto; }
104
+ .workspace { min-width: 0; }
105
+ .main { padding: 20px 28px 64px; min-width: 0; }
106
+ .detail { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); gap: 28px; align-items: start; }
107
+ .detail-main { min-width: 0; }
108
+ .list-head { margin-bottom: 16px; }
109
+ .list-head .meta, .meta { color: var(--muted); }
110
+ .meta { margin: 0; font-size: 12px; line-height: 16px; }
111
+ .jobs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
112
+ .job {
113
+ display: grid;
114
+ grid-template-columns: minmax(0, 1fr) auto;
115
+ gap: 12px;
116
+ padding: 12px 4px;
117
+ border-bottom: 1px solid var(--line);
212
118
  }
119
+ .job.human { box-shadow: inset 2px 0 0 var(--human); }
120
+ .job.retrying { box-shadow: inset 2px 0 0 var(--changes); }
121
+ .job-top { display: flex; align-items: baseline; gap: 8px; }
122
+ .job-title { color: var(--ink); font-size: 15px; line-height: 22px; }
123
+ .job-title:hover { color: var(--code); }
124
+ .job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
125
+ .num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
126
+ .reason { margin: 6px 0 0; }
213
127
  .flag {
214
- margin-left: auto;
215
- padding: 0 6px;
216
- border-radius: 4px;
217
- background: color-mix(in srgb, var(--human) 18%, transparent);
128
+ font: 11px/16px var(--mono);
218
129
  color: var(--human);
219
- font-size: 11px;
220
- font-weight: 500;
221
- letter-spacing: .02em;
222
130
  text-transform: uppercase;
223
- white-space: nowrap;
131
+ letter-spacing: .04em;
224
132
  }
225
- .repo { margin: -2px 0 6px; }
226
- .title { font-size: 14px; line-height: 20px; margin: 0 0 6px; font-weight: 500; }
227
- .branch {
228
- font-family: var(--mono);
229
- font-size: 12px;
230
- line-height: 16px;
231
- color: var(--faint);
232
- white-space: nowrap;
233
- overflow: hidden;
234
- text-overflow: ellipsis;
235
- }
236
- .rounds { margin-top: 12px; display: grid; gap: 4px; }
237
- .round { display: grid; grid-template-columns: 20px repeat(4, minmax(0, 1fr)); gap: 4px; align-items: center; }
238
- .round .r { font-family: var(--mono); font-size: 11px; color: var(--faint); }
239
- .chip {
240
- text-align: center;
241
- font-family: var(--mono);
242
- font-size: 11px;
243
- line-height: 16px;
244
- padding: 1px 0;
245
- border-radius: 4px;
246
- border: 1px dashed var(--line-strong);
133
+ .note, blockquote.note {
134
+ margin: 6px 0 0;
247
135
  color: var(--muted);
248
- }
249
- .chip.wait { animation: pulse 1.6s ease-in-out infinite; }
250
- .chip.PASS { border-color: transparent; color: var(--pass); background: color-mix(in srgb, var(--pass) 18%, transparent); }
251
- .chip.CHANGES { border-color: transparent; color: var(--changes); background: color-mix(in srgb, var(--changes) 18%, transparent); }
252
- .note {
253
- margin-top: 8px;
254
- padding-top: 8px;
255
- border-top: 1px solid var(--line-strong);
136
+ font-family: var(--mono);
256
137
  font-size: 12px;
257
138
  line-height: 16px;
258
- color: var(--muted);
259
- overflow-wrap: anywhere;
260
- }
261
- .deps { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); overflow-wrap: anywhere; }
262
- .meta { margin-top: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); overflow-wrap: anywhere; }
263
- .meta time { font-family: inherit; }
264
- @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
265
- @media (prefers-reduced-motion: reduce) {
266
- .pulse, .chip.wait, .status::before { animation: none; }
267
- }
268
-
269
- .toolbar {
270
- position: fixed;
271
- left: 50%;
272
- bottom: 16px;
273
- transform: translateX(-50%);
274
- display: flex;
275
- gap: 4px;
276
- padding: 6px;
277
- background: var(--panel);
278
- border: 1px solid var(--line-strong);
279
- border-radius: 12px;
280
- box-shadow: var(--shadow);
281
- z-index: 2;
282
- }
283
- .tool {
284
- position: relative;
285
- width: 40px;
286
- height: 40px;
287
- display: inline-flex;
288
- align-items: center;
289
- justify-content: center;
290
- border: 0;
291
- border-radius: 8px;
292
- background: none;
293
- color: var(--muted);
294
- cursor: pointer;
295
- }
296
- .tool:hover, .tool:focus-visible { background: var(--card-hover); color: var(--ink); }
297
- .tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
298
- .tool::after {
299
- content: attr(data-tip);
300
- position: absolute;
301
- bottom: calc(100% + 12px);
302
- left: 50%;
303
- transform: translateX(-50%);
304
- padding: 4px 8px;
305
- border-radius: 4px;
306
- background: var(--ink);
307
- color: var(--bg);
308
- font: 12px/16px var(--mono);
309
- white-space: nowrap;
310
- opacity: 0;
311
- pointer-events: none;
312
- }
313
- .tool:hover::after, .tool:focus-visible::after { opacity: 1; }
314
- .toolbar .sep { width: 1px; margin: 6px 4px; background: var(--line-strong); }
139
+ white-space: pre-wrap;
140
+ }
141
+ .links { margin: 6px 0 0; display: flex; gap: 10px; }
142
+ .deps { margin: 6px 0 0; }
143
+ .evidence { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
144
+ .evidence .text, .phase .text, .timeline .text, .changes .text { max-height: 180px; overflow: auto; }
145
+ .feedback { margin: 6px 0 0; padding-left: 18px; }
146
+ .repo-block { margin-bottom: 24px; }
147
+ .repo-block h3 { margin-bottom: 0; }
148
+ .empty { color: var(--faint); margin: 12px 0; }
149
+ .tabs { display: flex; gap: 4px; margin: 12px 0 16px; }
150
+ .tabs a {
151
+ padding: 4px 10px; border-radius: 6px; color: var(--muted); text-decoration: none;
152
+ }
153
+ .tabs a[aria-current="page"] { background: var(--card); color: var(--ink); }
154
+ .phases, .timeline, .commits, .runs, .ledger { list-style: none; margin: 0; padding: 0; }
155
+ .phase, .timeline li {
156
+ border-left: 2px solid var(--line-strong);
157
+ padding: 0 0 16px 14px;
158
+ margin-left: 6px;
159
+ }
160
+ .phase.completed { border-color: var(--pass); }
161
+ .phase.failed { border-color: var(--human); }
162
+ .phase header, .timeline li { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
163
+ .step { font-weight: 500; }
164
+ .outcome, .ev { font-family: var(--mono); font-size: 12px; color: var(--faint); }
165
+ .verdict {
166
+ display: inline-flex; margin: 8px 0 0; padding: 2px 8px; border-radius: 4px;
167
+ font-family: var(--mono); font-size: 12px; color: var(--changes);
168
+ background: color-mix(in srgb, var(--changes) 18%, transparent);
169
+ }
170
+ .rail {
171
+ position: sticky; top: 16px;
172
+ background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 6px;
173
+ }
174
+ .rail dl { margin: 0; }
175
+ .rail div { padding: 8px 0; border-top: 1px solid var(--line); }
176
+ .rail dt { color: var(--faint); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
177
+ .rail dd { margin: 2px 0 0; }
178
+ .mono, code { font-family: var(--mono); font-size: 12px; }
179
+ table { width: 100%; border-collapse: collapse; }
180
+ td { padding: 6px 0; border-bottom: 1px solid var(--line); }
181
+ td.num { text-align: right; font-family: var(--mono); }
182
+ .stat { margin: 0 0 22px; }
183
+ .k { color: var(--faint); font-family: var(--mono); font-size: 12px; margin-right: 6px; }
184
+ .config-error { margin: 0 0 12px; color: var(--human); }
185
+ .back { display: inline-block; margin-bottom: 12px; }
186
+ .page { padding: 24px; }
187
+ .text { font-family: var(--mono); font-size: 12px; line-height: 18px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--card); border-radius: 6px; padding: 8px 10px; margin: 8px 0 0; }
188
+ .commits li { padding: 6px 0; border-bottom: 1px solid var(--line); }
189
+ .runs li, .ledger li { padding: 6px 0; border-bottom: 1px solid var(--line); }
315
190
 
316
191
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 3; }
317
192
  .drawer {
318
- position: fixed;
319
- top: 0;
320
- right: 0;
321
- bottom: 0;
322
- width: min(900px, 100vw);
323
- background: var(--panel);
324
- border-left: 1px solid var(--line-strong);
325
- box-shadow: 0 12px 16px -4px #00000080, 0 24px 32px 0 #00000080;
326
- transform: translateX(100%);
327
- transition: transform .22s ease;
328
- z-index: 4;
193
+ position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw);
194
+ background: var(--panel); border-left: 1px solid var(--line-strong);
195
+ transform: translateX(100%); transition: transform .22s ease; z-index: 4;
329
196
  }
330
197
  body.open .scrim { opacity: 1; pointer-events: auto; }
331
198
  body.open .drawer { transform: none; }
332
- .sheet { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
333
- .d-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--line-strong); position: relative; }
334
- .d-head h3 { margin: 4px 48px 4px 0; font-size: 22px; line-height: 28px; font-weight: 500; }
335
- .d-head .num { white-space: normal; overflow: visible; text-overflow: unset; }
199
+ .sheet { height: 100%; }
200
+ .d-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--line); position: relative; }
201
+ .d-head h3 { margin: 4px 48px 4px 0; font-size: 22px; line-height: 28px; color: var(--ink); text-transform: none; letter-spacing: 0; }
336
202
  .close {
337
- position: absolute;
338
- top: 12px;
339
- right: 16px;
340
- width: 44px;
341
- height: 44px;
342
- border-radius: 50%;
343
- border: 0;
344
- background: none;
345
- cursor: pointer;
346
- color: var(--ink);
347
- font-size: 24px;
348
- line-height: 1;
203
+ position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
204
+ border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 24px;
349
205
  }
350
206
  .close:hover { background: var(--card-hover); }
351
- .d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
207
+ .d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
352
208
  .d-actions form { margin: 0; }
353
- .d-actions button {
354
- height: 28px;
355
- padding: 0 12px;
356
- border-radius: 4px;
357
- border: 1px solid var(--line-strong);
358
- background: transparent;
359
- color: var(--ink);
360
- font: 12px/16px var(--mono);
361
- cursor: pointer;
362
- }
363
- .d-actions button:hover { background: var(--card-hover); }
364
- .d-actions .approve button { color: var(--pass); border-color: transparent; background: color-mix(in srgb, var(--pass) 18%, transparent); }
365
- .d-actions .reject button { color: var(--human); border-color: transparent; background: color-mix(in srgb, var(--human) 18%, transparent); }
366
- .d-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 0; }
367
- .files { border-right: 1px solid var(--line-strong); padding: 16px 12px; overflow-y: auto; }
368
- .group {
369
- font-size: 12px;
370
- line-height: 16px;
371
- font-weight: 500;
372
- text-transform: uppercase;
373
- letter-spacing: .02em;
374
- color: var(--faint);
375
- margin: 16px 0 4px;
376
- padding: 0 12px;
377
- }
378
- .group:first-child { margin-top: 0; }
379
- .file {
380
- display: flex;
381
- align-items: center;
382
- gap: 10px;
383
- width: 100%;
384
- text-align: left;
385
- text-decoration: none;
386
- background: none;
387
- border: 0;
388
- border-radius: 4px;
389
- padding: 6px 12px;
390
- cursor: pointer;
391
- font-family: var(--mono);
392
- font-size: 13px;
393
- line-height: 20px;
394
- color: var(--ink);
395
- }
396
- .file:hover { background: var(--card-hover); }
397
- .file.on { background: var(--code-bg); }
398
- .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
399
- .dot.good { background: var(--pass); }
400
- .dot.warn { background: var(--changes); }
401
- .dot.stop { background: var(--human); }
402
- .doc { overflow-y: auto; padding: 24px 32px 64px; min-width: 0; }
403
- .src { display: none; }
404
-
405
- .md { max-width: 660px; line-height: 20px; }
406
- .md h1, .md h2, .md h3 { line-height: 1.3; margin: 1.5em 0 .5em; font-weight: 500; }
407
- .md h1 { font-size: 18px; }
408
- .md h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
409
- .md h3 { font-size: 13px; color: var(--muted); }
410
- .md > :first-child { margin-top: 0; }
411
- .md p, .md ul, .md ol, .md pre, .md table { margin: 0 0 1em; }
412
- .md ul, .md ol { padding-left: 1.3em; }
413
- .md li { margin: .25em 0; }
414
- .md code { font-family: var(--mono); font-size: 13px; background: var(--code-bg); color: var(--code); padding: 1px 6px; border-radius: 4px; }
415
- .md pre { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px 16px; overflow-x: auto; }
416
- .md pre code { background: none; color: var(--ink); padding: 0; }
417
- .md table { border-collapse: collapse; font-size: 13px; }
418
- .md th, .md td { border: 1px solid var(--line-strong); padding: 6px 10px; text-align: left; }
419
- .verdict {
420
- display: inline-flex;
421
- align-items: center;
422
- height: 24px;
423
- font-family: var(--mono);
424
- font-size: 12px;
425
- font-weight: 500;
426
- letter-spacing: .02em;
427
- padding: 0 10px;
428
- border-radius: 4px;
429
- margin-bottom: 16px;
430
- }
431
- .verdict.good { color: var(--pass); background: color-mix(in srgb, var(--pass) 18%, transparent); }
432
- .verdict.warn { color: var(--changes); background: color-mix(in srgb, var(--changes) 18%, transparent); }
433
- .verdict.stop { color: var(--human); background: color-mix(in srgb, var(--human) 18%, transparent); }
434
-
435
- .config-error { margin: 0; padding: 8px 24px 0; color: var(--human); }
209
+ .d-actions button, .d-actions .revise input {
210
+ height: 28px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--line-strong);
211
+ background: var(--card); color: var(--ink); cursor: pointer;
212
+ }
213
+ .d-actions .revise { display: flex; gap: 8px; align-items: center; }
214
+ .d-actions .revise input { min-width: 16rem; background: var(--bg); }
215
+ .d-actions .approve button { color: var(--pass); background: color-mix(in srgb, var(--pass) 18%, transparent); border-color: transparent; }
216
+ .d-actions .reject button { color: var(--human); background: color-mix(in srgb, var(--human) 18%, transparent); border-color: transparent; }
436
217
  .sheet.intake { height: 100%; display: flex; flex-direction: column; }
437
218
  .intake-form {
438
- flex: 1;
439
- min-height: 0;
440
- overflow: auto;
441
- display: flex;
442
- flex-direction: column;
443
- gap: 14px;
444
- padding: 16px 24px 48px;
445
- max-width: 560px;
219
+ flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px;
220
+ padding: 16px 0 48px; max-width: 640px;
446
221
  }
447
222
  .intake-form .field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
448
- .intake-form .k, .intake-form legend.k {
449
- font-family: var(--mono);
450
- font-size: 12px;
451
- line-height: 16px;
452
- color: var(--muted);
453
- padding: 0;
454
- }
455
- .intake-form select,
456
- .intake-form input[type="text"],
457
- .intake-form input[type="number"],
458
- .intake-form textarea {
459
- width: 100%;
460
- font: 14px/20px Roboto, sans-serif;
461
- color: var(--ink);
462
- background: var(--bg);
463
- border: 1px solid var(--line-strong);
464
- border-radius: 4px;
465
- padding: 8px 10px;
223
+ .intake-form .k, .intake-form legend.k { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 0; }
224
+ .intake-form select, .intake-form input[type="text"], .intake-form input[type="number"], .intake-form textarea {
225
+ width: 100%; font: 14px/20px Roboto, sans-serif; color: var(--ink); background: var(--bg);
226
+ border: 1px solid var(--line-strong); border-radius: 4px; padding: 8px 10px;
466
227
  }
467
228
  .intake-form textarea { resize: vertical; min-height: 88px; }
468
229
  .picks, .seg { display: flex; flex-wrap: wrap; gap: 6px; }
469
230
  .pick, .seg button, .fs-up, .fs-use {
470
- height: 28px;
471
- padding: 0 12px;
472
- border: 1px solid var(--line-strong);
473
- border-radius: 4px;
474
- background: none;
475
- color: var(--muted);
476
- font: 12px/16px var(--mono);
477
- cursor: pointer;
231
+ height: 28px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px;
232
+ background: none; color: var(--muted); font: 12px/16px var(--mono); cursor: pointer;
478
233
  }
479
234
  .pick[aria-pressed="true"], .seg button[aria-pressed="true"] {
480
- border-color: transparent;
481
- background: color-mix(in srgb, var(--merged) 22%, transparent);
482
- color: var(--ink);
235
+ border-color: transparent; background: color-mix(in srgb, var(--merged) 22%, transparent); color: var(--ink);
483
236
  }
484
237
  .pick:hover, .seg button:hover, .fs-up:hover, .fs-use:hover, .fs-item:hover { background: var(--card-hover); color: var(--ink); }
485
238
  .fs { display: flex; flex-direction: column; gap: 8px; }
486
239
  .fs-list { display: flex; flex-direction: column; max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 4px; }
487
240
  .fs-item {
488
- text-align: left;
489
- background: none;
490
- border: 0;
491
- border-bottom: 1px solid var(--line);
492
- color: var(--ink);
493
- font: 12px/16px var(--mono);
494
- padding: 6px 10px;
495
- cursor: pointer;
241
+ text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
242
+ color: var(--ink); font: 12px/16px var(--mono); padding: 6px 10px; cursor: pointer;
496
243
  }
497
244
  .fs-item:last-child { border-bottom: 0; }
498
245
  #after-list { max-height: 140px; overflow: auto; }
499
246
  .after { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; font-size: 13px; cursor: pointer; }
500
247
  .after .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
501
- .form-error { margin: 0; color: var(--human); font-size: 12px; line-height: 16px; }
248
+ .form-error, .field-error { margin: 0; color: var(--human); font-size: 12px; line-height: 16px; }
502
249
  .intake-form .preview { margin: 0; max-height: 200px; overflow: auto; }
503
- .intake-form .d-actions button[type="submit"] {
504
- color: var(--ink);
505
- background: var(--primary);
506
- border-color: transparent;
507
- }
508
- #settings-form { max-width: 640px; }
250
+ .intake-form .d-actions button[type="submit"] { color: white; background: var(--primary); border-color: transparent; }
509
251
  #settings-path { margin: 0; }
510
- .saved { margin: 0; color: var(--pass); font-family: var(--mono); font-size: 12px; line-height: 16px; }
252
+ .saved { margin: 0; color: var(--pass); font-family: var(--mono); font-size: 12px; }
511
253
  .hint { margin: 0; color: var(--faint); font-size: 12px; line-height: 16px; }
512
- .field-error { margin: 0; color: var(--human); font-size: 12px; line-height: 16px; }
513
254
  .path-row { display: flex; gap: 8px; align-items: center; }
514
255
  .path-row input { flex: 1; min-width: 0; }
515
- .repo-row {
516
- display: flex;
517
- justify-content: space-between;
518
- gap: 12px;
519
- align-items: flex-start;
520
- padding: 10px 0;
521
- border-bottom: 1px solid var(--line);
522
- }
256
+ .repo-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
523
257
  .repo-row .num { font-family: var(--mono); font-size: 13px; }
524
258
  .repo-row .d-actions { margin-top: 0; flex: none; }
525
- #repo-editor { padding-top: 8px; }
526
259
  #settings-error { white-space: pre-wrap; }
527
- .back { display: inline-block; margin: 24px 24px 0; }
528
- .page { padding: 0 24px 48px; }
529
- .text { font-family: var(--mono); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
530
260
 
531
- @media (max-width: 1100px) {
532
- .board { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
533
- .col.slim { align-self: start; min-height: 0; flex-direction: row; padding: 8px 12px; }
534
- .col.slim .slim-face { flex-direction: row; }
535
- .col.slim .v { writing-mode: horizontal-tb; }
536
- }
537
- @media (max-width: 640px) {
538
- header, .repos { padding-left: 16px; padding-right: 16px; }
539
- .board { grid-template-columns: 1fr; padding: 16px; }
540
- .d-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
541
- .files { border-right: 0; border-bottom: 1px solid var(--line-strong); display: flex; gap: 4px; overflow-x: auto; padding: 8px; }
542
- .group { display: none; }
543
- .file { width: auto; white-space: nowrap; }
544
- .doc { padding: 16px; }
261
+ @media (max-width: 960px) {
262
+ .shell { grid-template-columns: 1fr; }
263
+ .nav { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
264
+ .detail { grid-template-columns: 1fr; }
265
+ .rail { position: static; }
266
+ .d-actions .revise input { min-width: 0; width: 100%; }
267
+ .job { grid-template-columns: 1fr; }
545
268
  }