@ulm0/gonogo 0.1.1 → 0.1.2
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 +5 -11
- package/dist/client/assets/index-BqCn1SM7.js +50 -0
- package/dist/client/assets/index-KZtFVMJG.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/audited.js +133 -0
- package/dist/server/blackbox.js +261 -0
- package/dist/server/board.js +123 -0
- package/dist/server/clearance.js +158 -0
- package/dist/server/cli.js +145 -12
- package/dist/server/constants.js +39 -1
- package/dist/server/hangar.js +311 -0
- package/dist/server/home.js +24 -1
- package/dist/server/hub.js +181 -23
- package/dist/server/launcher.js +11 -6
- package/dist/server/logchart.js +58 -0
- package/dist/server/massbudget.js +169 -0
- package/dist/server/mcp.js +33 -1
- package/dist/server/migrate.js +6 -3
- package/dist/server/missionlog.js +2 -0
- package/dist/server/providers.js +71 -9
- package/dist/server/recorder.js +176 -0
- package/dist/server/relief.js +226 -0
- package/dist/server/rollout.js +172 -0
- package/dist/server/telemetry.js +110 -0
- package/dist/server/web.js +146 -5
- package/dist/shared/livery.js +1 -1
- package/dist/shared/positions.js +1 -1
- package/dist/shared/protocol.js +47 -14
- package/package.json +1 -1
- package/dist/client/assets/index-B6MsSoeo.css +0 -1
- package/dist/client/assets/index-DRtiRh1Y.js +0 -31
package/dist/server/web.js
CHANGED
|
@@ -9,6 +9,7 @@ import { AGENT_NAME_PATTERN, CLEAN_ROOM_HOST, MAX_COLS, MAX_REST_BODY_BYTES, MAX
|
|
|
9
9
|
import { bearerToken, createHookHandler, hubErrorInfo, isRecord, readBody, sendApiError, sendJson, sendMethodNotAllowed, sendNotFound, sendText, sendUnauthorized, } from './hooks.js';
|
|
10
10
|
import { readCustomCommand } from './command.js';
|
|
11
11
|
import { DOCK_ROUTES } from './docking.js';
|
|
12
|
+
import { HANGAR_BODY_MAX_BYTES } from './hangar.js';
|
|
12
13
|
import { createMcpHandler } from './mcp.js';
|
|
13
14
|
import { parsePropellantRequest } from './propellant.js';
|
|
14
15
|
const NO_PROPELLANT = {
|
|
@@ -158,7 +159,7 @@ function commandProblem(command) {
|
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
161
|
function parseHire(o) {
|
|
161
|
-
const { name, role, dir, mode, confirmBypass, position, provider, command, payload, cleanRoom } = o;
|
|
162
|
+
const { name, role, dir, mode, confirmBypass, position, provider, command, payload, cleanRoom, model, keys } = o;
|
|
162
163
|
if (typeof name !== 'string')
|
|
163
164
|
return fieldError('name', 'a string');
|
|
164
165
|
if (typeof role !== 'string')
|
|
@@ -201,6 +202,17 @@ function parseHire(o) {
|
|
|
201
202
|
return fieldError('cleanRoom', 'an object');
|
|
202
203
|
value.cleanRoom = cleanRoom;
|
|
203
204
|
}
|
|
205
|
+
// The hub reads the text of a model and the inside of keys, and names the field that is wrong.
|
|
206
|
+
if (model !== undefined) {
|
|
207
|
+
if (typeof model !== 'string')
|
|
208
|
+
return fieldError('model', 'a string');
|
|
209
|
+
value.model = model;
|
|
210
|
+
}
|
|
211
|
+
if (keys !== undefined) {
|
|
212
|
+
if (!isRecord(keys))
|
|
213
|
+
return fieldError('keys', 'an object');
|
|
214
|
+
value.keys = keys;
|
|
215
|
+
}
|
|
204
216
|
return { ok: true, value };
|
|
205
217
|
}
|
|
206
218
|
function parsePoll(o) {
|
|
@@ -210,6 +222,11 @@ function parsePoll(o) {
|
|
|
210
222
|
return fieldError('agents', 'a list of names');
|
|
211
223
|
value.agents = o.agents;
|
|
212
224
|
}
|
|
225
|
+
if (o.subject !== undefined) {
|
|
226
|
+
if (typeof o.subject !== 'string')
|
|
227
|
+
return fieldError('subject', 'text');
|
|
228
|
+
value.subject = o.subject;
|
|
229
|
+
}
|
|
213
230
|
return { ok: true, value };
|
|
214
231
|
}
|
|
215
232
|
function parseGovernor(o) {
|
|
@@ -266,6 +283,16 @@ function parseEdit(o) {
|
|
|
266
283
|
return fieldError('cleanRoom', 'an object or null');
|
|
267
284
|
value.cleanRoom = o.cleanRoom;
|
|
268
285
|
}
|
|
286
|
+
if (o.model !== undefined) {
|
|
287
|
+
if (o.model !== null && typeof o.model !== 'string')
|
|
288
|
+
return fieldError('model', 'a string or null');
|
|
289
|
+
value.model = o.model;
|
|
290
|
+
}
|
|
291
|
+
if (o.keys !== undefined) {
|
|
292
|
+
if (!isRecord(o.keys))
|
|
293
|
+
return fieldError('keys', 'an object');
|
|
294
|
+
value.keys = o.keys;
|
|
295
|
+
}
|
|
269
296
|
return { ok: true, value };
|
|
270
297
|
}
|
|
271
298
|
function parseUserMessage(o) {
|
|
@@ -317,7 +344,9 @@ export function createWebServer(options) {
|
|
|
317
344
|
resolveToken: options.resolveToken,
|
|
318
345
|
tasks: options.tasks,
|
|
319
346
|
missionLog: options.missionLog,
|
|
347
|
+
board: options.board,
|
|
320
348
|
liveries: options.liveries,
|
|
349
|
+
relief: options.relief,
|
|
321
350
|
log: log.child('mcp'),
|
|
322
351
|
version: () => options.info().version,
|
|
323
352
|
});
|
|
@@ -399,6 +428,8 @@ export function createWebServer(options) {
|
|
|
399
428
|
downlink: options.downlink?.view() ?? { unread: 0, items: [] },
|
|
400
429
|
livery: options.liveries?.view(),
|
|
401
430
|
docking: options.docking?.view(),
|
|
431
|
+
relief: options.relief?.view(),
|
|
432
|
+
rollout: options.rollout?.view(),
|
|
402
433
|
});
|
|
403
434
|
const sendHubError = (res, e) => {
|
|
404
435
|
const info = hubErrorInfo(e);
|
|
@@ -412,8 +443,8 @@ export function createWebServer(options) {
|
|
|
412
443
|
const hasBody = (req) => req.headers['transfer-encoding'] !== undefined || Number(req.headers['content-length'] ?? 0) > 0;
|
|
413
444
|
const isJsonRequest = (req) => (req.headers['content-type'] ?? '').split(';')[0]?.trim().toLowerCase() === 'application/json';
|
|
414
445
|
/** The JSON object in the body, or null after the error answer went out. */
|
|
415
|
-
const jsonObject = async (req, res) => {
|
|
416
|
-
const body = await readBody(req,
|
|
446
|
+
const jsonObject = async (req, res, limit = MAX_REST_BODY_BYTES) => {
|
|
447
|
+
const body = await readBody(req, limit);
|
|
417
448
|
if (!body.ok) {
|
|
418
449
|
if (body.reason === 'too_large')
|
|
419
450
|
sendApiError(res, 413, 'request body too large', 'too_large');
|
|
@@ -440,10 +471,59 @@ export function createWebServer(options) {
|
|
|
440
471
|
sendNotFound(res, 'unknown agent');
|
|
441
472
|
return null;
|
|
442
473
|
};
|
|
474
|
+
/** /api/agents/<name>/files, file and git: Hangar and Recorder. The query is read here; the checks of the path are theirs. */
|
|
475
|
+
const matchWorkspace = (s) => {
|
|
476
|
+
const { hangar, recorder } = options;
|
|
477
|
+
const query = (req) => new URL(req.url ?? '/', 'http://localhost').searchParams;
|
|
478
|
+
const run = (res, work) => {
|
|
479
|
+
const name = agentName(res, s[2]);
|
|
480
|
+
if (name !== null)
|
|
481
|
+
return work(name).then((answer) => sendJson(res, 200, answer));
|
|
482
|
+
};
|
|
483
|
+
if (hangar && s.length === 4 && s[3] === 'files') {
|
|
484
|
+
return { allow: ['GET'], run: (req, res) => run(res, (name) => hangar.list(name, query(req).get('path') ?? '')) };
|
|
485
|
+
}
|
|
486
|
+
if (hangar && s.length === 4 && s[3] === 'file') {
|
|
487
|
+
return {
|
|
488
|
+
allow: ['GET', 'PUT', 'POST'],
|
|
489
|
+
run: async (req, res) => {
|
|
490
|
+
if (req.method === 'GET')
|
|
491
|
+
return run(res, (name) => hangar.read(name, query(req).get('path') ?? ''));
|
|
492
|
+
const body = await jsonObject(req, res, HANGAR_BODY_MAX_BYTES);
|
|
493
|
+
if (body)
|
|
494
|
+
await run(res, (name) => (req.method === 'PUT' ? hangar.save(name, body) : hangar.create(name, body)));
|
|
495
|
+
},
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
if (recorder && s[3] === 'git' && s.length === 4)
|
|
499
|
+
return { allow: ['GET'], run: (_req, res) => run(res, (name) => recorder.status(name)) };
|
|
500
|
+
if (recorder && s[3] === 'git' && s.length === 5 && s[4] === 'log')
|
|
501
|
+
return { allow: ['GET'], run: (_req, res) => run(res, (name) => recorder.log(name)) };
|
|
502
|
+
if (recorder && s[3] === 'git' && s.length === 5 && s[4] === 'diff') {
|
|
503
|
+
return { allow: ['GET'], run: (req, res) => run(res, (name) => recorder.diff(name, query(req).get('path') ?? '', query(req).get('staged') === '1')) };
|
|
504
|
+
}
|
|
505
|
+
if (recorder && s[3] === 'git' && s.length === 5 && s[4] === 'commit') {
|
|
506
|
+
return {
|
|
507
|
+
allow: ['POST'],
|
|
508
|
+
run: async (req, res) => {
|
|
509
|
+
const body = await jsonObject(req, res);
|
|
510
|
+
if (body)
|
|
511
|
+
await run(res, (name) => recorder.commit(name, body));
|
|
512
|
+
},
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
return null;
|
|
516
|
+
};
|
|
443
517
|
const matchApi = (s) => {
|
|
444
518
|
if (s.length === 2 && s[1] === 'state') {
|
|
445
519
|
return { allow: ['GET'], run: (_req, res) => sendJson(res, 200, snapshot()) };
|
|
446
520
|
}
|
|
521
|
+
if (s.length === 2 && s[1] === 'engines') {
|
|
522
|
+
const engines = options.engines;
|
|
523
|
+
if (!engines)
|
|
524
|
+
return null;
|
|
525
|
+
return { allow: ['GET'], run: async (_req, res) => sendJson(res, 200, await engines()) };
|
|
526
|
+
}
|
|
447
527
|
if (s.length === 2 && s[1] === 'agents') {
|
|
448
528
|
return {
|
|
449
529
|
allow: ['POST'],
|
|
@@ -676,6 +756,8 @@ export function createWebServer(options) {
|
|
|
676
756
|
};
|
|
677
757
|
}
|
|
678
758
|
const id = s[2] ?? '';
|
|
759
|
+
if (id === 'chart')
|
|
760
|
+
return { allow: ['GET'], run: (_req, res) => sendJson(res, 200, missionLog.chart()) };
|
|
679
761
|
return {
|
|
680
762
|
allow: ['GET', 'PUT', 'DELETE'],
|
|
681
763
|
run: async (req, res) => {
|
|
@@ -695,6 +777,29 @@ export function createWebServer(options) {
|
|
|
695
777
|
},
|
|
696
778
|
};
|
|
697
779
|
}
|
|
780
|
+
if (s[1] === 'board' && s.length === 2) {
|
|
781
|
+
const board = options.board;
|
|
782
|
+
if (!board)
|
|
783
|
+
return null;
|
|
784
|
+
return {
|
|
785
|
+
allow: ['GET', 'PUT'],
|
|
786
|
+
run: async (req, res) => {
|
|
787
|
+
if (req.method === 'GET') {
|
|
788
|
+
sendJson(res, 200, board.get());
|
|
789
|
+
return;
|
|
790
|
+
}
|
|
791
|
+
const body = await jsonObject(req, res);
|
|
792
|
+
if (body)
|
|
793
|
+
sendJson(res, 200, await board.write('user', body));
|
|
794
|
+
},
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
if (s[1] === 'black-box' && s.length === 2) {
|
|
798
|
+
const blackBox = options.blackBox;
|
|
799
|
+
if (!blackBox)
|
|
800
|
+
return null;
|
|
801
|
+
return { allow: ['GET'], run: (_req, res) => sendJson(res, 200, blackBox.view()) };
|
|
802
|
+
}
|
|
698
803
|
if (s[1] === 'liveries' || s[1] === 'livery') {
|
|
699
804
|
const liveries = options.liveries;
|
|
700
805
|
if (!liveries)
|
|
@@ -747,6 +852,18 @@ export function createWebServer(options) {
|
|
|
747
852
|
},
|
|
748
853
|
};
|
|
749
854
|
}
|
|
855
|
+
if (s[1] === 'relief' && s.length <= 4) {
|
|
856
|
+
const relief = options.relief;
|
|
857
|
+
if (!relief)
|
|
858
|
+
return null;
|
|
859
|
+
if (s.length === 2)
|
|
860
|
+
return { allow: ['GET'], run: async (_req, res) => sendJson(res, 200, relief.view()) };
|
|
861
|
+
// browser token only, like every /api route: an agent's token never reaches here, so the boss cannot answer its own request
|
|
862
|
+
if (s.length !== 4 || (s[3] !== 'go' && s[3] !== 'no-go'))
|
|
863
|
+
return null;
|
|
864
|
+
const verdict = s[3];
|
|
865
|
+
return { allow: ['POST'], run: async (_req, res) => sendJson(res, 200, await relief.decide(s[2] ?? '', verdict, { kind: 'user' })) };
|
|
866
|
+
}
|
|
750
867
|
if (s[1] === 'downlink' && s.length <= 3) {
|
|
751
868
|
const downlink = options.downlink;
|
|
752
869
|
if (!downlink)
|
|
@@ -801,6 +918,9 @@ export function createWebServer(options) {
|
|
|
801
918
|
}
|
|
802
919
|
if (s[1] !== 'agents')
|
|
803
920
|
return null;
|
|
921
|
+
const workspace = s.length >= 4 ? matchWorkspace(s) : null;
|
|
922
|
+
if (workspace)
|
|
923
|
+
return workspace;
|
|
804
924
|
if (s.length === 3) {
|
|
805
925
|
return {
|
|
806
926
|
allow: ['PATCH', 'DELETE'],
|
|
@@ -836,13 +956,34 @@ export function createWebServer(options) {
|
|
|
836
956
|
},
|
|
837
957
|
};
|
|
838
958
|
}
|
|
839
|
-
if (s.length === 4 && s[3] === '
|
|
959
|
+
if (s.length === 4 && (s[3] === 'memory' || s[3] === 'reflect') && options.massBudget) {
|
|
960
|
+
const massBudget = options.massBudget;
|
|
961
|
+
return {
|
|
962
|
+
allow: [s[3] === 'memory' ? 'GET' : 'POST'],
|
|
963
|
+
run: async (_req, res) => {
|
|
964
|
+
const name = agentName(res, s[2]);
|
|
965
|
+
if (name !== null)
|
|
966
|
+
sendJson(res, s[3] === 'memory' ? 200 : 201, await (s[3] === 'memory' ? massBudget.view(name) : massBudget.reflect(name)));
|
|
967
|
+
},
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
if (s.length === 4 && (s[3] === 'resume' || s[3] === 'hold')) {
|
|
840
971
|
return {
|
|
841
972
|
allow: ['POST'],
|
|
842
973
|
run: (_req, res) => {
|
|
843
974
|
const name = agentName(res, s[2]);
|
|
844
975
|
if (name !== null)
|
|
845
|
-
sendJson(res, 200, hub.resume(name));
|
|
976
|
+
sendJson(res, 200, s[3] === 'hold' ? hub.hold(name) : hub.resume(name));
|
|
977
|
+
},
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
if (s.length === 4 && s[3] === 'telemetry') {
|
|
981
|
+
return {
|
|
982
|
+
allow: ['GET'],
|
|
983
|
+
run: (_req, res) => {
|
|
984
|
+
const name = agentName(res, s[2]);
|
|
985
|
+
if (name !== null)
|
|
986
|
+
sendJson(res, 200, { calls: options.telemetry?.calls(name) ?? [] });
|
|
846
987
|
},
|
|
847
988
|
};
|
|
848
989
|
}
|
package/dist/shared/livery.js
CHANGED
|
@@ -202,7 +202,7 @@ export const BUILTIN_LIVERIES = [
|
|
|
202
202
|
slug: 'instrument',
|
|
203
203
|
name: 'Instrument',
|
|
204
204
|
description: 'The default: a warm grey device with a small green screen.',
|
|
205
|
-
// the values of
|
|
205
|
+
// the values of tokens.css (a test keeps every livery that ships equal to its block there)
|
|
206
206
|
tokens: {
|
|
207
207
|
'--body': '#e4e2dc',
|
|
208
208
|
'--panel': '#f1f0ec',
|
package/dist/shared/positions.js
CHANGED
|
@@ -9,7 +9,7 @@ export const POSITIONS = [
|
|
|
9
9
|
'You are FLIGHT, the flight director of this team. The Director (the human, the recipient "user") briefs you with goals.',
|
|
10
10
|
'Split each goal into tasks, find the right position with list_roster, and send each task with send_message: a clear subject and a self-contained body (paths, what done looks like).',
|
|
11
11
|
'Before a large or risky step, ask the Director for a go or no-go. When a position reports back, check the result and tell the Director the outcome in a few lines.',
|
|
12
|
-
'If no position fits,
|
|
12
|
+
'If no position fits, ask the Director for one with hire_agent (a name, a position or a role, a folder, a mode up to acceptEdits): it only makes a request, he sees every field and decides, and you get his answer as a message. You cannot hire or remove agents yourself.',
|
|
13
13
|
'Send anything risky (spending money, deleting data, changing scope) to "user" and wait for the answer.',
|
|
14
14
|
].join(' '),
|
|
15
15
|
},
|
package/dist/shared/protocol.js
CHANGED
|
@@ -32,19 +32,30 @@ export const HELD_KINDS = ['draft', 'unconfirmed', 'redline'];
|
|
|
32
32
|
*/
|
|
33
33
|
export const PROVIDERS = ['claude', 'gemini', 'codex', 'opencode', 'qwen', 'grok', 'kimi', 'crush', 'pi', 'copilot', 'cursor', 'custom'];
|
|
34
34
|
export const PROVIDER_INFO = {
|
|
35
|
-
claude: { label: 'Claude Code', bin: 'claude', hooks: true, mcp: true, modes: true, payload: 'all', check: 'run' },
|
|
36
|
-
gemini: { label: 'Gemini CLI', bin: 'gemini', hooks: true, mcp: true, modes: true, payload: 'servers', check: 'local' },
|
|
37
|
-
codex: { label: 'Codex', bin: 'codex', hooks: false, mcp: true, modes: true, payload: null, check: 'docs' },
|
|
38
|
-
opencode: { label: 'opencode', bin: 'opencode', hooks: false, mcp: true, modes: false, payload: null, check: 'docs' },
|
|
39
|
-
qwen: { label: 'Qwen Code', bin: 'qwen', hooks: false, mcp: false, modes: false, payload: null, check: 'docs' },
|
|
40
|
-
grok: { label: 'Grok CLI', bin: 'grok', hooks: false, mcp: false, modes: false, payload: null, check: 'docs' },
|
|
41
|
-
kimi: { label: 'Kimi CLI', bin: 'kimi', hooks: false, mcp: true, modes: false, payload: 'servers', check: 'docs' },
|
|
42
|
-
crush: { label: 'Crush', bin: 'crush', hooks: false, mcp: false, modes: false, payload: null, check: 'docs' },
|
|
43
|
-
pi: { label: 'pi', bin: 'pi', hooks: false, mcp: false, modes: false, payload: null, check: 'local' },
|
|
44
|
-
copilot: { label: 'Copilot CLI', bin: 'copilot', hooks: false, mcp: true, modes: false, payload: null, check: 'docs' },
|
|
45
|
-
cursor: { label: 'Cursor Agent', bin: 'cursor-agent', hooks: false, mcp: false, modes: false, payload: null, check: 'docs' },
|
|
46
|
-
custom: { label: 'Custom command', bin: '', hooks: false, mcp: false, modes: false, payload: null, check: 'run' },
|
|
35
|
+
claude: { label: 'Claude Code', bin: 'claude', hooks: true, mcp: true, modes: true, payload: 'all', check: 'run', model: ['sonnet', 'opus', 'haiku'], install: 'npm install -g @anthropic-ai/claude-code@latest', docs: 'https://code.claude.com/docs/en/setup' },
|
|
36
|
+
gemini: { label: 'Gemini CLI', bin: 'gemini', hooks: true, mcp: true, modes: true, payload: 'servers', check: 'local', model: ['auto', 'pro', 'flash', 'flash-lite'], install: 'npm install -g @google/gemini-cli', docs: 'https://github.com/google-gemini/gemini-cli' },
|
|
37
|
+
codex: { label: 'Codex', bin: 'codex', hooks: false, mcp: true, modes: true, payload: null, check: 'docs', model: [], install: 'npm install -g @openai/codex', docs: 'https://github.com/openai/codex' },
|
|
38
|
+
opencode: { label: 'opencode', bin: 'opencode', hooks: false, mcp: true, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://opencode.ai/v2/install | bash', docs: 'https://opencode.ai/docs/' },
|
|
39
|
+
qwen: { label: 'Qwen Code', bin: 'qwen', hooks: false, mcp: false, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash', docs: 'https://github.com/QwenLM/qwen-code' },
|
|
40
|
+
grok: { label: 'Grok CLI', bin: 'grok', hooks: false, mcp: false, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://raw.githubusercontent.com/superagent-ai/grok-cli/main/install.sh | bash', docs: 'https://github.com/superagent-ai/grok-cli' },
|
|
41
|
+
kimi: { label: 'Kimi CLI', bin: 'kimi', hooks: false, mcp: true, modes: false, payload: 'servers', check: 'docs', model: [], install: null, docs: 'https://moonshotai.github.io/kimi-cli/' },
|
|
42
|
+
crush: { label: 'Crush', bin: 'crush', hooks: false, mcp: false, modes: false, payload: null, check: 'docs', model: null, install: 'brew install charmbracelet/tap/crush', docs: 'https://github.com/charmbracelet/crush' },
|
|
43
|
+
pi: { label: 'pi', bin: 'pi', hooks: false, mcp: false, modes: false, payload: null, check: 'local', model: ['sonnet', 'haiku'], install: 'curl -fsSL https://pi.dev/install.sh | sh', docs: 'https://pi.dev/' },
|
|
44
|
+
copilot: { label: 'Copilot CLI', bin: 'copilot', hooks: false, mcp: true, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://gh.io/copilot-install | bash', docs: 'https://github.com/github/copilot-cli' },
|
|
45
|
+
cursor: { label: 'Cursor Agent', bin: 'cursor-agent', hooks: false, mcp: false, modes: false, payload: null, check: 'docs', model: [], install: 'curl https://cursor.com/install -fsS | bash', docs: 'https://cursor.com/docs/cli/overview' },
|
|
46
|
+
custom: { label: 'Custom command', bin: '', hooks: false, mcp: false, modes: false, payload: null, check: 'run', model: null, install: null, docs: '' },
|
|
47
47
|
};
|
|
48
|
+
/** Model field of the hire form and the roster: a CLI model name or alias, passed as `--model <name>`. A leading dash would be read as a flag. */
|
|
49
|
+
export const MODEL_PATTERN = '^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,99}$';
|
|
50
|
+
/**
|
|
51
|
+
* Clearance (docs/engine-bay-spec.md): environment variables the Director sets for one agent, usually API keys. Upper case
|
|
52
|
+
* names; a value is printable ASCII without a space. At most KEYS_MAX per agent. The values never leave the server.
|
|
53
|
+
*/
|
|
54
|
+
export const KEY_NAME_PATTERN = '^[A-Z][A-Z0-9_]{0,63}$';
|
|
55
|
+
export const KEY_VALUE_PATTERN = '^[\\x21-\\x7e]{1,4096}$';
|
|
56
|
+
export const KEYS_MAX = 16;
|
|
57
|
+
/** Names the form suggests for a key: the variables `pi --help` (1.5.2) lists. Hints, not a list. */
|
|
58
|
+
export const KEY_SUGGESTIONS = ['ANTHROPIC_API_KEY', 'OPENAI_API_KEY', 'GEMINI_API_KEY', 'XAI_API_KEY', 'OPENROUTER_API_KEY', 'GROQ_API_KEY'];
|
|
48
59
|
/** Absent in an old roster record means 'claude'. */
|
|
49
60
|
export const providerInfo = (provider) => PROVIDER_INFO[provider ?? 'claude'];
|
|
50
61
|
/** T-minus: the Director's pre-flight go/no-go poll. open -> go (all voted go) | hold (any no-go, or the Director holds) | aborted. */
|
|
@@ -69,7 +80,7 @@ export const MCP_SERVER_NAME = 'gonogo';
|
|
|
69
80
|
/** Clean Room (docs/clean-room-spec.md): the worktrees live in <home>/cleanroom/<name> on the branch gonogo/<name>. */
|
|
70
81
|
export const CLEAN_ROOM_DIR = 'cleanroom';
|
|
71
82
|
export const cleanRoomBranch = (name) => `gonogo/${name}`;
|
|
72
|
-
export const MCP_TOOL_NAMES = ['send_message', 'list_roster', 'read_messages', 'go_nogo', 'task_list', 'task_create', 'task_update', 'log_write', 'log_search', 'log_read', 'livery_submit'];
|
|
83
|
+
export const MCP_TOOL_NAMES = ['send_message', 'list_roster', 'read_messages', 'go_nogo', 'task_list', 'task_create', 'task_update', 'log_write', 'log_search', 'log_read', 'board_read', 'board_write', 'livery_submit', 'hire_agent'];
|
|
73
84
|
/** Message outcome shown in the activity strip. See contract section 5 for the exact rules and notes. */
|
|
74
85
|
export const ACTIVITY_STATUSES = ['queued', 'held', 'delivered', 'read', 'undelivered', 'to_user'];
|
|
75
86
|
/** Window-title glyph class. idle = U+2733 "✳", working = U+25D0/U+25D1, unknown = anything else or no title yet. */
|
|
@@ -134,8 +145,13 @@ export const LOG_TAGS_MAX = 8;
|
|
|
134
145
|
export const LOG_TAG_PATTERN = '^[a-z0-9][a-z0-9._-]{0,29}$';
|
|
135
146
|
export const LOG_QUERY_MAX_CHARS = 200;
|
|
136
147
|
export const LOG_SEARCH_MAX = 20;
|
|
148
|
+
/** Plot Board (docs/plot-board-spec.md): the one plan of the room, `board.md`. At most this many characters. */
|
|
149
|
+
export const BOARD_MAX_CHARS = 10_000;
|
|
150
|
+
/** Black Box (docs/black-box-spec.md): what an event records, and how long its line is. `audit` is the Black Box's own note. */
|
|
151
|
+
export const AUDIT_KINDS = ['crew', 'redline', 'poll', 'answer', 'plan', 'uplink', 'config', 'audit'];
|
|
152
|
+
export const AUDIT_TEXT_MAX_CHARS = 200;
|
|
137
153
|
/** Downlink (docs/downlink-spec.md): what besides a message to the Director lands in his inbox. */
|
|
138
|
-
export const DOWNLINK_EVENT_KINDS = ['redline', 'tminus', 'launch-window', 'uplink', 'flight-plan', 'livery'];
|
|
154
|
+
export const DOWNLINK_EVENT_KINDS = ['redline', 'tminus', 'launch-window', 'uplink', 'flight-plan', 'livery', 'relief'];
|
|
139
155
|
/** What an uplink understands: `generic` is any sender that signs its JSON, the others are the services of Relay (docs/relay-spec.md). */
|
|
140
156
|
export const UPLINK_KINDS = ['generic', 'github', 'linear', 'slack', 'telegram'];
|
|
141
157
|
/** Slack and Linear make the signing secret themselves: the uplink takes theirs at create (and with Edit), it does not make one. */
|
|
@@ -205,8 +221,25 @@ export const STATE_LABELS = {
|
|
|
205
221
|
needs_you: 'needs you',
|
|
206
222
|
stopped: 'stopped',
|
|
207
223
|
};
|
|
224
|
+
/** Hold: the needsReason of an agent the Director put on hold (a Redline trip by hand, cleared by resume). */
|
|
225
|
+
export const HOLD_REASON = 'on hold';
|
|
226
|
+
/** Telemetry keeps this many calls per agent, in memory and in telemetry.jsonl. */
|
|
227
|
+
export const TELEMETRY_PER_AGENT = 200;
|
|
208
228
|
/** Propellant: rolling token windows. day = 24 h, week = 7 days, month = 30 days. */
|
|
209
229
|
export const FUEL_WINDOWS = ['5h', 'day', 'week', 'month'];
|
|
210
230
|
/** Docking (docs/docking-spec.md): the shape of a station name. It is the part of "name@station" after the @, and name@station must fit the 64 characters of `to`. */
|
|
211
231
|
export const STATION_NAME_PATTERN = '^[a-z0-9][a-z0-9-]{0,30}$';
|
|
212
232
|
export const DOCKS_MAX = 8;
|
|
233
|
+
/**
|
|
234
|
+
* Relief (docs/relief-spec.md): a hire that the boss asked for with `hire_agent`. It waits for the Director's GO, and only
|
|
235
|
+
* then does the hub staff the agent, as the hire form does. `mode` is never above acceptEdits.
|
|
236
|
+
*/
|
|
237
|
+
export const RELIEF_MODES = ['default', 'acceptEdits'];
|
|
238
|
+
/** Static fire: the positions it briefs. */
|
|
239
|
+
export const STATIC_FIRE_POSITIONS = ['simsup', 'retro'];
|
|
240
|
+
/* ---- Hangar and Recorder (docs/hangar-spec.md, docs/recorder-spec.md): the files and the git of one agent's folder ---- */
|
|
241
|
+
/** The editor opens and saves a file of at most this many bytes. */
|
|
242
|
+
export const HANGAR_FILE_MAX_BYTES = 1024 * 1024;
|
|
243
|
+
export const RECORDER_MESSAGE_MAX_CHARS = 10_000;
|
|
244
|
+
export const RECORDER_LOG_MAX = 50;
|
|
245
|
+
export const RECORDER_SCOPES = ['all', 'staged'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulm0/gonogo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Self-hosted mission control for AI coding agents: real Claude Code terminals in a browser tab (a phone too), agents that message each other, schedules, webhooks and token budgets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Doto;font-style:normal;font-display:swap;font-weight:900;src:url(data:font/woff2;base64,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)format("woff2"),url(./doto-latin-900-normal-D1bF_x6I.woff)format("woff")}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:400;src:url(./geist-latin-400-normal-B40WzpMT.woff2)format("woff2"),url(./geist-latin-400-normal-akEymXtG.woff)format("woff")}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:500;src:url(./geist-latin-500-normal-CTWBw9NS.woff2)format("woff2"),url(./geist-latin-500-normal-BDXIbFrL.woff)format("woff")}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:600;src:url(./geist-latin-600-normal-CSETrqM2.woff2)format("woff2"),url(./geist-latin-600-normal-DsPlZH-9.woff)format("woff")}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./geist-mono-latin-400-normal-DTRLJnHl.woff2)format("woff2"),url(./geist-mono-latin-400-normal-B2yvC1Cq.woff)format("woff")}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./geist-mono-latin-500-normal-YINYabwD.woff2)format("woff2"),url(./geist-mono-latin-500-normal-D-GG86Jb.woff)format("woff")}@font-face{font-family:Geist Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./geist-mono-latin-600-normal-V-KvD_pi.woff2)format("woff2"),url(./geist-mono-latin-600-normal-bZn07FKM.woff)format("woff")}:root{--body:#e4e2dc;--panel:#f1f0ec;--key:#faf9f6;--well:#e9e7e1;--edge:#c9c6be;--edge-2:#b1aea6;--text:#26272b;--text-2:#44463f;--muted:#61605b;--lcd:#2b2f2a;--lcd-text:#cfe6c9;--lcd-dim:#9fb79b;--work:#4a5bd4;--you:#e0a93a;--you-tint:#f4e3b7;--you-edge:#d9b45a;--you-ink:#5c4a1c;--go:#5e9e73;--go-tint:#d7e8da;--go-ink:#2c5a3a;--nogo:#c2414b;--nogo-text:#a8323c;--nogo-tint:#f5d9da;--font-ui:"Geist", system-ui, sans-serif;--font-mono:"Geist Mono", ui-monospace, monospace;--font-lcd:"Doto", "Geist Mono", ui-monospace, monospace;--radius:10px;--radius-key:8px;--radius-module:12px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body{background:var(--body);color:var(--text);font-family:var(--font-ui);margin:0;font-size:13px;line-height:1.4}h1,h2,h3,p{margin:0}a{color:inherit}:focus-visible{outline:2px solid var(--text);outline-offset:2px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.label{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10.5px;font-weight:400}.legend{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;font-size:11.5px;font-weight:600}.disp{font-family:var(--font-ui);letter-spacing:-.02em;font-weight:600;line-height:1.05}.muted{color:var(--muted)}.lcd{border-radius:var(--radius-key);background:var(--lcd);color:var(--lcd-text);font-family:var(--font-mono);box-shadow:inset 0 2px 6px #00000059}.lcd-num{font-family:var(--font-lcd);letter-spacing:.02em;font-variant-numeric:tabular-nums;font-weight:900;line-height:1}.module{border:1px solid var(--edge);border-radius:var(--radius-module);background:var(--panel)}.led{background:var(--led,var(--edge));border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.led[data-on=true]{box-shadow:0 0 0 3px color-mix(in srgb, var(--led) 22%, transparent)}.led[data-blink=true]{animation:1.5s ease-in-out infinite ins-led}.flood{border:1px solid var(--edge);border-radius:var(--radius-module)}.flood[data-tone=lit]{background:var(--key)}.flood[data-tone=amber]{border-color:var(--you-edge);background:var(--you-tint);--led:var(--you)}.flood[data-tone=go]{border-color:var(--go);background:var(--go-tint);--led:var(--go)}.flood[data-tone=nogo]{border-color:var(--nogo);background:var(--nogo-tint);--led:var(--nogo)}.ink{color:var(--text)}.btn{appearance:none;border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);min-height:44px;color:var(--text);font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border-bottom-width:3px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:11.5px;text-decoration:none;display:inline-flex}.btn:active:not(:disabled,[aria-disabled=true]){border-bottom-width:1px;transform:translateY(2px)}.btn[data-kind=primary]{border-color:var(--text);background:var(--text);color:var(--panel)}.btn[data-kind=quiet]{color:var(--text-2)}.btn[data-kind=danger]{color:var(--nogo-text)}.btn[data-size=big]{border-radius:var(--radius);border-bottom-width:4px;min-height:56px;font-size:13px;font-weight:600}.btn[data-shape=round]{border-radius:50%;width:44px;padding:0;font-size:16px}.btn:disabled,.btn[aria-disabled=true]{border-style:dashed;border-bottom-width:1px;border-color:var(--edge-2);color:var(--muted);cursor:not-allowed;background:0 0}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>label,.field>legend{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);font-size:10.5px}.input,.textarea{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);width:100%;min-width:0;color:var(--text);font-family:var(--font-ui);padding:0 14px;font-size:14px}.input{height:46px}.textarea{font-family:var(--font-mono);resize:vertical;padding:12px 14px;font-size:12.5px;line-height:1.5}.input[aria-invalid=true],.textarea[aria-invalid=true]{border:2px solid var(--nogo)}.input:read-only{background:var(--well);color:var(--muted)}.hint{color:var(--muted);font-size:12px;line-height:1.45}.error{border:1px solid var(--nogo);border-radius:var(--radius-key);background:var(--nogo-tint);color:var(--nogo-text);padding:8px 10px;font-size:12.5px;font-weight:600}.chip{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:500;display:inline-block}.chip[data-tone=lit]{border-color:var(--work);color:var(--work)}.chip[data-tone=amber]{background:var(--you-tint);color:var(--you-ink)}.chip[data-tone=go]{background:var(--go-tint);color:var(--go-ink)}.chip[data-tone=nogo]{background:var(--nogo-tint);color:var(--nogo-text)}.chip[data-tone=quiet]{border-color:var(--edge);color:var(--muted)}.chip[data-tone=ink]{background:var(--text);color:var(--panel)}.tile{appearance:none;border:1px solid var(--edge);border-radius:var(--radius);background:var(--key);min-width:0;color:var(--text);font-family:var(--font-ui);text-align:left;cursor:pointer;--led:var(--go);--tile-sub:var(--text-2);border-bottom-width:3px;flex-direction:column;justify-content:space-between;gap:6px;padding:9px 10px 8px;display:flex}.tile-legend{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;font-size:11.5px;font-weight:600}.tile-sub{color:var(--tile-sub);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tile-state{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--text-2);font-size:9.5px}.tile[data-kind=working]{--led:var(--work)}.tile[data-kind=needs]{border-color:var(--you-edge);background:var(--you-tint);--led:var(--you);--tile-sub:var(--you-ink)}.tile[data-kind=starting]{--led:var(--work);border-style:dashed;border-bottom-width:1px}.tile[data-kind=stopped]{background:var(--well);color:var(--muted);--led:var(--edge);--tile-sub:var(--muted);border-bottom-width:1px}.tile[data-kind=open]{border:1px dashed var(--edge-2);color:var(--muted);--led:transparent;--tile-sub:var(--muted);background:0 0}.tile[aria-pressed=true],.tile[data-selected=true]{outline:2px solid var(--text);outline-offset:2px}@keyframes ins-led{50%{opacity:.35}}@keyframes ins-step{0%,to{opacity:.25}33%{opacity:1}}@keyframes ins-blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.loop{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.loop-head{flex-wrap:wrap;align-items:center;gap:10px 16px;padding:2px 2px 0;display:flex}.loop-title{flex:280px;font-size:28px}.loop-filters{flex-wrap:wrap;gap:6px;display:flex}.btn.loop-filter,.btn.loop-room{font-size:11px}.loop-count{font-family:var(--font-lcd);letter-spacing:.02em;font-variant-numeric:tabular-nums;margin-left:4px;font-size:16px;font-weight:900}.loop-scroll{flex:auto;min-height:0;padding:0 14px;overflow:auto}.loop-list{min-width:720px;margin:0;padding:0;list-style:none}.loop-row+.loop-row{border-top:1px solid var(--edge)}.loop-row-btn{appearance:none;width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:56px 210px minmax(0,1fr) 150px;grid-template-areas:"time route text chip";align-items:start;gap:18px;padding:12px 0;display:grid}.loop-row-btn:hover{background:color-mix(in srgb, var(--well) 60%, transparent)}.loop-row-btn:focus-visible{outline-offset:-2px}.loop-time{color:var(--muted);font-family:var(--font-mono);grid-area:time;padding-top:2px;font-size:11.5px}.loop-route{font-family:var(--font-mono);letter-spacing:.04em;grid-area:route;font-size:11px;font-weight:600;line-height:1.5}.loop-text{flex-direction:column;grid-area:text;gap:3px;min-width:0;display:flex}.loop-subject{overflow-wrap:anywhere;font-size:14px;font-weight:600}.loop-note{color:var(--muted);font-size:12.5px;line-height:1.5}.loop-chip{grid-area:chip;justify-self:end}.loop-open{border:1px solid var(--edge);border-radius:var(--radius);background:var(--key);flex-direction:column;align-items:flex-start;gap:12px;margin:0 168px 12px 292px;padding:12px 14px;display:flex}.loop-body{white-space:pre-wrap;overflow-wrap:anywhere;align-self:stretch;font-size:13.5px;line-height:1.55}.loop-reply{flex-wrap:wrap;align-self:stretch;align-items:center;gap:8px;display:flex}.loop-reply-input{flex:200px;width:auto;height:44px;padding:0 12px;font-size:13.5px}.loop-result{flex-basis:100%}.loop-result:empty{display:none}.loop-empty{color:var(--muted);padding:18px 0}.loop-foot{padding:12px 14px}.loop-traffic{padding:4px var(--panel-pad,14px) 6px;border-top:1px solid var(--edge);flex-direction:column;gap:2px;display:flex}.loop-traffic-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.btn.loop-link{min-height:44px;padding:0 12px;font-size:10.5px}.loop-traffic-list{margin:0;padding:0;list-style:none}.loop-traffic-row{grid-template-columns:40px 150px minmax(0,1fr) auto;grid-template-areas:"time route text chip";align-items:center;gap:10px;padding:7px 0;font-size:12px;display:grid}.loop-traffic-row+.loop-traffic-row{border-top:1px solid var(--edge)}.loop-traffic-row .loop-time{padding-top:0;font-size:11px}.loop-traffic-row .loop-route{font-size:9.5px}.loop-traffic-subject{white-space:nowrap;text-overflow:ellipsis;grid-area:text;overflow:hidden}.loop-traffic-empty{color:var(--muted);padding:4px 0 8px;font-size:12px}.brief{flex-wrap:wrap;align-items:center;gap:10px;margin:0;display:flex}.brief-label{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);font-size:10.5px}.brief-input{min-height:46px;max-height:160px;font-family:var(--font-ui);resize:none;field-sizing:content;flex:240px;padding:11px 14px;font-size:14px;line-height:1.5}.brief-input:disabled{background:var(--well);color:var(--muted);cursor:not-allowed}.btn.brief-send{min-height:46px;padding:0 22px}.brief-note{flex-basis:100%}.brief-note:empty{display:none}@media (width<=699px){.loop{gap:10px;padding:10px 12px 0}.loop-head{gap:10px 8px;padding:0 0 0 2px}.loop-title{flex:1 1 0;min-width:0;font-size:22px}.loop-filters{flex-basis:100%;order:3;gap:5px}.btn.loop-filter{padding:0 10px;font-size:10px}.loop-count{margin-left:3px;font-size:14px}.btn.loop-room{padding:0 12px;font-size:10.5px}.loop-scroll{padding:0 12px}.loop-list{min-width:0}.loop-row-btn{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"route chip time""text text text";align-items:center;gap:4px 8px;padding:11px 0}.loop-time{padding-top:0;font-size:11px}.loop-route{font-size:10px}.loop-chip{justify-self:auto}.loop-subject{font-size:14px;line-height:1.3}.loop-note{font-size:11.5px;line-height:1.4}.loop-row[data-to-you]{background:var(--key);box-shadow:inset 3px 0 0 var(--work);margin:0 -12px;padding:0 12px}.loop-open{margin:0 0 12px}.loop-empty{padding:18px 0}.loop-foot{bottom:var(--bottom-bar,0px);background:var(--body);border-width:1px 0 0;border-radius:0;margin:0 -12px;padding:10px 12px;position:sticky}.brief{gap:6px}.brief-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.brief-input{flex:1 1 0;padding:11px 12px}.btn.brief-send{flex:none;padding:0 16px}.loop-traffic-row{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"time route chip""time text text";gap:2px 10px}}.dl{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.dl-heading:focus-visible{outline:none}.dl-keys{margin:0}.dl-scroll{padding:0 14px}.dl-list{margin:0;padding:0;list-style:none}.dl-row+.dl-row{border-top:1px solid var(--edge)}.dl-item{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head actions""open open";align-items:start;gap:8px 14px;padding:10px 0;display:grid}.dl-item[data-unread]{background:var(--key);box-shadow:inset 3px 0 0 var(--work);margin:0 -14px;padding:10px 14px}.dl-item[data-unread] .led{--led:var(--work)}.dl-head{appearance:none;width:100%;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:0;grid-area:head;grid-template-columns:14px 96px 150px minmax(0,1fr);grid-template-areas:"led when who text";align-items:start;gap:14px;padding:2px 0;display:grid}button.dl-head{cursor:pointer;min-height:44px}.dl-head .led{grid-area:led;margin-top:5px}.dl-when{color:var(--muted);font-family:var(--font-mono);grid-area:when;padding-top:2px;font-size:11.5px}.dl-who{font-family:var(--font-mono);letter-spacing:.04em;grid-area:who;justify-self:start;font-size:11px;font-weight:600;line-height:1.5}.dl-text{overflow-wrap:anywhere;grid-area:text;min-width:0;font-size:14px}.dl-item[data-unread] .dl-text{font-weight:600}.dl-open{border:1px solid var(--edge);border-radius:var(--radius);background:var(--panel);flex-direction:column;grid-area:open;align-items:flex-start;gap:12px;margin:0 0 0 28px;padding:12px 14px;display:flex}.dl-actions{flex-wrap:wrap;grid-area:actions;gap:8px;display:flex}.dl-actions .btn{font-size:11px}.dl-more{padding:10px 0}@media (width<=699px){.dl{gap:10px;padding:10px 12px 12px}.dl-keys{display:none}.dl-scroll{padding:0 12px}.dl-item[data-unread]{margin:0 -12px;padding:10px 12px}.dl-head{grid-template-columns:14px minmax(0,1fr) auto;grid-template-areas:"led who when""text text text";align-items:center;gap:4px 10px}.dl-head .led{margin-top:0}.dl-when{padding-top:0;font-size:11px}.dl-item{grid-template-columns:minmax(0,1fr);grid-template-areas:"head""open""actions"}.dl-open{margin-left:0}}.win{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.win-title:focus-visible{outline:none}.win-zone{padding:0 2px}.win-form{flex-direction:column;gap:12px;max-width:640px;padding:14px;display:flex}.win-fields{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;display:flex}.win-form .input:is(select){background:var(--key);color:var(--text)}.win-body{font-family:var(--font-ui);font-size:14px}.win-rule-input{font-family:var(--font-mono);font-size:13px}.win-problem{color:var(--nogo-text)}.win-times{flex-wrap:wrap;gap:6px;margin:4px 0 0;padding:0;list-style:none;display:flex}.win-time{white-space:nowrap;padding:7px 10px;font-size:12px}.win-check{align-items:center;gap:12px;min-height:44px;display:flex}.win-check input{width:22px;height:22px;accent-color:var(--go-ink);flex:none;margin:0}.win-check label{flex:1;align-self:stretch;align-items:center;font-size:13px;font-weight:500;display:flex}.win-actions{gap:8px;display:flex}.win-actions .btn{flex:1 1 0}.win-list{padding:0 14px}.win-rows{margin:0;padding:0;list-style:none}.win-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"main next""last last""buttons buttons""confirm confirm""error error";align-items:start;gap:8px 18px;padding:14px 0;display:grid}.win-row+.win-row{border-top:1px solid var(--edge)}.win-main{grid-area:main;min-width:0}.win-name{overflow-wrap:anywhere;font-size:14px;font-weight:600}.win-row[data-off] .win-name{color:var(--text-2)}.win-to{color:var(--muted);font-family:var(--font-mono);letter-spacing:.04em;font-size:11px}.win-rule{font-family:var(--font-mono);overflow-wrap:anywhere;margin-top:4px;font-size:12.5px}.win-next{grid-area:next;justify-self:start;padding:8px 12px;font-size:12.5px}.win-next[data-off]{color:var(--lcd-dim)}.win-last{color:var(--muted);overflow-wrap:anywhere;grid-area:last;font-size:12.5px;line-height:1.5}.win-buttons{flex-wrap:wrap;grid-area:buttons;align-items:center;gap:8px;display:flex}.win-confirm{flex-wrap:wrap;grid-area:confirm;align-items:center;gap:8px 10px;padding:10px 12px;display:flex}.win-confirm p{flex:200px}.win-error{grid-area:error}.win-switch{min-height:44px;font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;align-items:center;gap:8px;padding-right:6px;font-size:11.5px;display:inline-flex}.win-switch input{appearance:none;border:1px solid var(--muted);background:var(--well);cursor:pointer;border-radius:13px;flex:none;width:44px;height:26px;margin:0;position:relative}.win-switch input:after{content:"";background:var(--muted);border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.win-switch input:checked{border-color:var(--go-ink);background:var(--go-ink)}.win-switch input:checked:after{background:var(--key);transform:translate(18px)}@media (width>=700px){.win-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;grid-template-areas:"main next buttons""last last buttons""confirm confirm confirm""error error error"}.win-buttons{justify-content:flex-end}}@media (width<=699px){.win{gap:10px;padding:10px 12px 12px}.win-list{padding:0 12px}.win-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"main""next""last""buttons""confirm""error"}.win-form{max-width:none}}.up{flex-direction:column;gap:12px;margin-top:8px;display:flex}.up-title{font-size:22px}.input.up-value:read-only{background:var(--key);color:var(--text);font-family:var(--font-mono);font-size:12.5px}.up-secret{flex-direction:column;gap:10px;max-width:640px;padding:12px 14px;display:flex}.up-keys{flex-wrap:wrap;gap:8px;display:flex}.up-notice:empty{display:none}.up-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"main""url""last""log""buttons""confirm""error";align-items:start;gap:8px 18px;padding:14px 0;display:grid}.up-row+.up-row{border-top:1px solid var(--edge)}.up-row[data-off] .win-name{color:var(--text-2)}.up-url{grid-area:url;align-items:center;gap:8px;min-width:0;display:flex}.up-log{grid-area:log;min-width:0}.up-log summary{min-height:44px;color:var(--text-2);font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;align-items:center;font-size:11.5px;list-style:none;display:flex}.up-log summary::-webkit-details-marker{display:none}.up-log summary:before{content:"+" / "";width:18px}.up-log[open] summary:before{content:"−" / ""}.up-deliveries{flex-direction:column;gap:6px;margin:0;padding:0 0 6px;list-style:none;display:flex}.up-deliveries li{flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:12.5px;display:flex}.up-at{color:var(--muted);font-family:var(--font-mono);font-size:11.5px}.up-note{overflow-wrap:anywhere;flex:200px;min-width:0}@media (width>=700px){.up-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1.7fr) auto;grid-template-areas:"main url buttons""last last buttons""log log log""confirm confirm confirm""error error error"}.up-row .win-buttons{justify-content:flex-end}}@media (width<=699px){.up-secret{max-width:none}}.dk{flex-direction:column;gap:12px;margin-top:8px;display:flex}.dk-station{color:var(--muted);margin:0;font-size:12.5px;line-height:1.5}.dk-station strong{color:var(--text)}.dk-agents{flex-direction:column;gap:6px;margin:0;padding:0 0 6px;list-style:none;display:flex}.dk-agents li{flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:12.5px;display:flex}.dk-agents .dk-name{font-family:var(--font-mono);font-weight:600}.dk-agents .dk-role{min-width:0;color:var(--muted);overflow-wrap:anywhere;flex:200px}.dk-code{flex-direction:column;gap:10px;max-width:640px;padding:12px 14px;display:flex}.dk-handoff{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.dk-handoff .field{flex:140px;min-width:0}.dk-handed{align-self:flex-start}@media (prefers-reduced-motion:reduce){.dk *{transition:none;animation:none}}.dk-hint{flex-basis:100%;margin:0}.xterm{cursor:text;-webkit-user-select:none;user-select:none;position:relative}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{z-index:5;position:absolute;top:0}.xterm .xterm-helper-textarea{opacity:0;z-index:-5;white-space:nowrap;resize:none;border:0;width:0;height:0;margin:0;padding:0;position:absolute;top:0;left:-9999em;overflow:hidden}.xterm .composition-view{color:#fff;white-space:nowrap;z-index:1;background:#000;display:none;position:absolute}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{cursor:default;background-color:#000;position:absolute;inset:0;overflow-y:scroll}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;top:0;left:0}.xterm-char-measure-element{visibility:hidden;line-height:normal;display:inline-block;position:absolute;top:0;left:-9999em}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{z-index:10;color:#0000;pointer-events:none;position:absolute;inset:0}.xterm .xterm-accessibility-tree:not(.debug) ::selection{color:#0000}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre;font-family:monospace}.xterm .xterm-accessibility-tree>div{transform-origin:0;width:fit-content}.xterm .live-region{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:underline double;text-decoration:underline double}.xterm-underline-3{-webkit-text-decoration:underline wavy;text-decoration:underline wavy}.xterm-underline-4{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.xterm-underline-5{-webkit-text-decoration:underline dashed;text-decoration:underline dashed}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:underline overline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;pointer-events:none;position:absolute;top:0;right:0}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;z-index:11;background:0 0;transition:opacity .1s linear}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{display:none;position:absolute}.xterm .xterm-scrollable-element>.shadow.top{width:100%;height:3px;box-shadow:var(--vscode-scrollbar-shadow,#000) 0 6px 6px -6px inset;display:block;top:0;left:3px}.xterm .xterm-scrollable-element>.shadow.left{width:3px;height:100%;box-shadow:var(--vscode-scrollbar-shadow,#000) 6px 0 6px -6px inset;display:block;top:3px;left:0}.xterm .xterm-scrollable-element>.shadow.top-left-corner{width:3px;height:3px;display:block;top:0;left:0}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow,#000) 6px 0 6px -6px inset}.plan{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.plan-heading:focus-visible{outline:none}.plan-form{flex-direction:column;gap:12px;max-width:640px;padding:14px;display:flex}.plan-fields{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;display:flex}.plan-detail-input{font-family:var(--font-ui);font-size:14px}.plan-actions{gap:8px;display:flex}.plan-actions .btn{flex:1 1 0}.plan .input:is(select){background:var(--key);color:var(--text)}.plan-board{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:start;gap:12px;display:grid}.plan-col{flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.plan-col-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.plan-n{font-family:var(--font-lcd);letter-spacing:.02em;font-variant-numeric:tabular-nums;color:var(--text);font-size:16px;font-weight:900}.plan-none{padding:4px 0 2px}.plan-cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.plan-card{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);border-bottom-width:3px;flex-direction:column;gap:8px;padding:10px 12px 12px;display:flex}.plan-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-id{color:var(--muted);font-family:var(--font-mono);letter-spacing:.06em;font-size:11px}.plan-who{min-width:0;color:var(--text-2);align-items:center;gap:6px;display:inline-flex}.plan-who .legend{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.plan-title{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.3}.plan-more>summary{min-height:44px;color:var(--text-2);font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;align-items:center;gap:6px;font-size:10.5px;display:flex}.plan-count{font-variant-numeric:tabular-nums;color:var(--muted)}.plan-detail{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:6px}.plan-notes{color:var(--text-2);font-family:var(--font-mono);overflow-wrap:anywhere;flex-direction:column;gap:4px;margin:6px 0 0;padding:0 0 0 18px;font-size:11px;line-height:1.45;display:flex}.plan-moves{flex-wrap:wrap;gap:6px;display:flex}.plan-moves .btn{flex:auto;padding:0 10px;font-size:10.5px}.plan-assign{gap:4px}.plan-remove{align-self:flex-start;font-size:10.5px}.plan-confirm{flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;display:flex}.plan-confirm p{flex:140px}@media (width<=699px){.plan{gap:10px;padding:10px 12px 12px}.plan-form{max-width:none}.plan-col{padding:10px}}.staff{flex-direction:column;flex:1 0 auto;gap:14px;padding:16px 24px 24px;display:flex}.staff-head{flex-wrap:wrap;align-items:center;gap:10px 16px;padding:2px 2px 0;display:flex}.staff-title{flex:280px;font-size:28px}.staff-title:focus-visible{outline:none}.staff-count{color:var(--text-2);align-items:center;gap:8px;font-size:12.5px;display:flex}.staff-lcd{justify-content:flex-end;align-items:center;min-width:36px;padding:5px 9px 4px;display:inline-flex}.staff-lcd .lcd-num{font-size:19px}.staff-body{flex-wrap:wrap;flex-grow:1;gap:14px;display:flex}.staff-pick,.staff-form{flex-direction:column;gap:12px;min-width:0;margin:0;padding:14px;display:flex}.staff-pick{flex:1.35 560px}.staff-form{flex:420px}.staff-form[data-edit]{max-width:640px}.input::placeholder,.textarea::placeholder{color:var(--muted);opacity:1}.staff-tile-head{align-items:center;gap:7px;min-width:0;display:flex}.staff-tile-num{color:var(--muted);font-family:var(--font-mono);margin-left:auto;font-size:9.5px}.staff-matrix-scroll{overflow-x:auto}.staff-matrix{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-width:600px;padding:3px;display:grid}.staff .tile.staff-pos{gap:6px;min-height:96px}.staff .tile.staff-pos:disabled{cursor:not-allowed}.staff-pos-short{background:var(--well);min-height:30px;font-family:var(--font-mono);white-space:normal;overflow-wrap:anywhere;border-radius:5px;padding:5px 7px;font-size:10px;line-height:1.45;display:block}.staff .tile.staff-pos[data-kind=open] .staff-pos-short,.staff .tile.staff-pos[data-kind=stopped] .staff-pos-short{background:0 0;padding-left:0}.staff-pos-tag{font-size:9.5px}.staff-wide-row{flex-wrap:wrap;gap:8px;display:flex}.staff .tile.staff-wide{border:1px dashed var(--edge-2);--tile-sub:var(--muted);background:0 0;flex:240px;justify-content:center;gap:4px;min-height:64px;padding:10px 14px}.staff .tile.staff-wide[aria-pressed=false]{--led:var(--edge)}.staff .tile.staff-wide[aria-pressed=true]{border-style:solid;border-color:var(--edge);background:var(--key);--tile-sub:var(--text-2);border-bottom-width:3px}.staff .tile.staff-wide .tile-sub{white-space:normal;font-size:11px}.staff-picked{--led:var(--work);flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;padding:12px 14px;display:flex}.staff-picked-name{font-size:22px}.staff-picked-title{font-size:13px;font-weight:600}.staff-picked-text{color:var(--text-2);flex:100%;font-size:13px;line-height:1.45}.staff-notice{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--well);color:var(--text-2);gap:10px;padding:10px 12px;font-size:12.5px;line-height:1.4;display:flex}.staff-notice[data-lit]{border-color:var(--work);background:var(--key);color:var(--text);--led:var(--work)}.staff-notice .led{margin-top:5px}.staff-fields{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;display:flex}.staff .field[data-invalid]>label{color:var(--nogo-text)}.staff-block{margin-top:4px;display:block}.staff .input.staff-engine{background:var(--key);color:var(--text)}.staff-role{height:150px;font-family:var(--font-ui);font-size:13.5px}.staff-fold>summary{cursor:pointer;min-height:44px;padding:12px 0}.staff-fold-body{flex-direction:column;gap:14px;padding-bottom:4px;display:flex}.staff-servers{height:180px}.staff-skills{height:90px}.staff-clean{flex-direction:column;gap:2px;display:flex}.staff-clean .staff-check input{accent-color:var(--work)}.staff-clean .hint{margin:0}.staff-modes{border:0;min-width:0;margin:0;padding:0}.staff-modes>legend{margin-bottom:8px;padding:0}.staff-mode-tiles{grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:8px;display:grid}.staff .tile.staff-mode{justify-content:flex-start;gap:6px;min-height:76px}.staff .tile.staff-mode[aria-pressed=false]{--led:var(--edge)}.staff .tile.staff-mode[aria-pressed=true]{--led:var(--work)}.staff-mode-hint{white-space:normal;font-size:11px;line-height:1.35}.staff .tile.staff-mode[data-danger]{border-color:var(--nogo);color:var(--nogo-text);--tile-sub:var(--nogo-text)}.staff .tile.staff-mode[data-danger][aria-pressed=true]{background:var(--nogo-tint);--led:var(--nogo)}.staff-confirm{flex-direction:column;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.staff-confirm h2{color:var(--nogo-text);align-items:center;gap:10px;font-size:18px;line-height:1.15;display:flex}.staff-confirm p{font-size:13px;line-height:1.5}.staff-confirm .error{background:var(--key);align-self:stretch}.staff-check{align-items:center;gap:12px;min-height:44px;display:flex}.staff-check input{width:22px;height:22px;accent-color:var(--nogo);flex:none;margin:0}.staff-check label{flex:1;align-self:stretch;align-items:center;font-size:13px;font-weight:500;display:flex}.staff-foot{flex-direction:column;gap:10px;margin-top:auto;display:flex}.staff .btn.staff-go{text-align:center;width:100%;padding:8px 16px;line-height:1.3}.staff .btn.staff-go[data-tone=nogo]:not([aria-disabled=true]){border-color:var(--nogo);background:var(--nogo-tint);color:var(--nogo-text)}.staff-actions{gap:8px;display:flex}.staff-actions .btn{flex:1 1 0}.staff-actions .btn:last-child:not(:first-child){flex-grow:1.6}.staff-full{border-style:dashed;border-color:var(--edge-2);max-width:560px;color:var(--text-2);--led:var(--nogo);background:0 0;flex-direction:column;gap:8px;padding:16px 18px;display:flex}.staff-full h2{color:var(--text);align-items:center;gap:10px;font-size:22px;display:flex}.staff-full p{font-size:13px;line-height:1.5}@media (width<=699px){.staff{gap:10px;padding:10px 12px 12px}.staff-head{flex-wrap:nowrap;gap:10px;padding:0 0 0 2px}.staff-title{flex:1 1 0;min-width:0;font-size:22px}.staff-count{display:none}.staff-body{flex-flow:column;gap:10px}.staff-pick,.staff-form{flex:none;gap:10px;padding:12px}.staff-matrix{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;padding:3px 3px 0}.staff .tile.staff-pos{gap:4px;min-height:56px;padding:6px 8px}.staff .tile-legend{letter-spacing:.02em;font-size:10.5px}.staff-pos-short{white-space:nowrap;text-overflow:ellipsis;min-height:0;padding:2px 5px;font-size:9.5px;overflow:hidden}.staff-pos-tag,.staff-mode-hint{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.staff-wide-row{gap:6px}.staff .tile.staff-wide{flex-basis:150px;min-height:56px;padding:6px 8px}.staff .tile.staff-wide .tile-legend{font-size:10px}.staff .tile.staff-wide .tile-sub{white-space:nowrap;text-overflow:ellipsis;font-size:9.5px;overflow:hidden}.staff-picked{gap:2px 8px;margin-top:0;padding:10px 12px}.staff-picked-name{font-size:20px}.staff-picked-title{display:none}.staff-picked-text{flex:1 1 0;min-width:0;font-size:11.5px;font-weight:500;line-height:1.4}.staff-fields{gap:10px}.staff-role{height:96px}.staff-mode-tiles{gap:5px;display:flex}.staff .tile.staff-mode{flex:1 1 0;justify-content:center;align-items:center;min-height:46px;padding:0 6px}.staff-mode .tile-legend{letter-spacing:.04em;font-size:9.5px}.staff .tile.staff-mode:nth-child(2){flex-grow:1.5}.staff-confirm{padding:12px}.staff-foot{border-top:1px solid var(--edge);border-radius:0 0 var(--radius-module) var(--radius-module);background:var(--panel);margin:0 -12px -12px;padding:8px 12px 12px;position:sticky;bottom:0}}.rl{flex-direction:column;gap:12px;margin-top:16px;display:flex}.rl-forward{flex-direction:column;gap:4px;min-width:0;margin:0;padding:12px 14px;display:flex}.rl-forward legend{padding:0}.rl-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));align-items:start;gap:12px;display:grid}.rl-card{flex-direction:column;gap:12px;min-width:0;padding:14px;display:flex}.rl-target{flex-direction:column;gap:12px;min-width:0;display:flex}.rl-keys{flex-wrap:wrap;gap:8px;display:flex}.rl-steps ol{flex-direction:column;gap:8px;margin:0;padding:0 0 6px 22px;font-size:13px;line-height:1.5;display:flex}.rl-steps code{font-family:var(--font-mono);overflow-wrap:anywhere;font-size:12px}.rl-uplinks{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.rl-uplinks li{flex-direction:column;gap:6px;min-width:0;display:flex}.rl-make{align-self:flex-start}.liv{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.livery-mark{background:linear-gradient(90deg,currentColor 50%,#0000 50%);border:2px solid;border-radius:50%;width:18px;height:18px}.liv-title:focus-visible{outline:none}.liv-list{flex-direction:column;gap:8px;max-width:720px;margin:0;padding:0;list-style:none;display:flex}.liv-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px 16px;padding:12px 14px;display:grid}.liv-row[data-current=true]{border-color:var(--go);box-shadow:inset 3px 0 0 var(--go)}.liv-swatch{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);grid-template-columns:repeat(4,18px);grid-auto-rows:18px;gap:2px;padding:2px;display:grid}.liv-swatch span{border-radius:3px;box-shadow:inset 0 0 0 1px #0000001f}.liv-text{flex-direction:column;gap:3px;min-width:0;display:flex}.liv-name{overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600}.liv-desc{color:var(--text-2);overflow-wrap:anywhere;font-size:12.5px;line-height:1.45}.liv-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.liv-confirm{flex-wrap:wrap;flex:100%;align-items:center;gap:8px 10px;padding:10px 12px;display:flex}.liv-confirm p{flex:140px}.liv-design{flex-direction:column;gap:14px;max-width:720px;padding:14px;display:flex}.liv-notice{min-height:1.45em;padding:0 2px}@media (width<=699px){.liv{gap:10px;padding:10px 12px 12px}.liv-row{grid-template-columns:auto minmax(0,1fr)}.liv-actions{grid-column:1/-1}.liv-actions .btn{flex:1 1 0}.liv-design{padding:12px}}.log{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.log-heading:focus-visible,.log-entry-title:focus-visible{outline:none}.log-cols{grid-template-columns:minmax(260px,380px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.log-list,.log-side{flex-direction:column;gap:10px;min-width:0;display:flex}.log-search{flex-direction:column;gap:6px;padding:12px;display:flex}.log-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.log-row{appearance:none;border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-bottom-width:3px;flex-direction:column;align-items:stretch;gap:4px;padding:10px 12px 12px;display:flex}.log-row[aria-current=true]{border-color:var(--work);box-shadow:inset 3px 0 0 var(--work)}.log-row-top{color:var(--muted);font-family:var(--font-mono);letter-spacing:.06em;align-items:baseline;gap:10px;font-size:11px;display:flex}.log-who{min-width:0;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.log-row-title{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.3}.log-snippet{color:var(--text-2);overflow-wrap:anywhere;font-size:12.5px;line-height:1.4}.log-tags{flex-wrap:wrap;gap:4px;display:flex}.log-entry,.log-form{flex-direction:column;gap:12px;min-width:0;padding:14px;display:flex}.log-entry-title{overflow-wrap:anywhere;font-size:20px;font-weight:600;line-height:1.25}.log-meta{color:var(--text-2);font-family:var(--font-mono);letter-spacing:.04em;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;font-size:11px;display:flex}.log-id{color:var(--muted)}.log-body{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);max-height:60vh;color:var(--text);font-family:var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:12px;font-size:12.5px;line-height:1.5;overflow:auto}.log-actions{flex-wrap:wrap;gap:8px;display:flex}.log-confirm{flex-wrap:wrap;flex:100%;align-items:center;gap:8px 10px;padding:10px 12px;display:flex}.log-confirm p{flex:140px}.log-form{max-width:720px}.log-fields{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;display:flex}.log-body-input{font-family:var(--font-mono);font-size:13px}.log-form .log-actions .btn{flex:1 1 0}@media (width<=899px){.log-cols{grid-template-columns:minmax(0,1fr)}.log[data-open] .log-list,.log-pick{display:none}}@media (width<=699px){.log{gap:10px;padding:10px 12px 12px}.log-form{max-width:none}.log-body{max-height:none}}:root{--track:#d6d3cb;--seq-base:#e2dfd7;--lcd-warm:#f1d79a;--go-lit:#7cc493;--you-key:#b8933f}.app{flex-direction:column;min-height:100dvh;display:flex}.link{appearance:none;min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;padding:0;font-size:12.5px;text-decoration:underline;display:flex}.led[data-kind=working],.led[data-kind=starting]{--led:var(--work)}.led[data-kind=needs]{--led:var(--you)}.led[data-kind=idle]{--led:var(--go)}.led[data-kind=stopped]{--led:var(--edge-2)}.led[data-kind=open]{--led:transparent}.flood .label{color:var(--text-2)}.topbar{flex-wrap:wrap;align-items:center;gap:8px 10px;min-height:64px;padding:20px 24px 0;display:flex}.mark{align-items:center;gap:10px;margin:0;display:flex}.mark-name{width:auto;height:26px;display:block}:root[data-scheme=dark] .mark-name{filter:invert()hue-rotate(180deg)}@media (width>=700px) and (width<=1399px){.mark-unit-long{display:none}}.topbar-dir{min-width:0;max-width:24ch;color:var(--muted);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;flex:6ch;font-size:11.5px;overflow:hidden}.topbar-grow{flex-grow:1}.lamp{color:var(--text-2);font-family:var(--font-mono);letter-spacing:.08em;align-items:center;gap:7px;font-size:10.5px;display:flex}.lamp[data-link=up] .led{--led:var(--go)}.lamp[data-link=wait] .led{--led:var(--you)}.lamp[data-link=down] .led{--led:var(--nogo)}.topbar .chip{margin-left:2px}.gone-strip{color:var(--you-ink);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 24px 0;padding:6px 14px;font-size:12px;display:flex}.wall{grid-template-columns:minmax(0,1.35fr) minmax(0,1.15fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1fr);gap:12px;margin:16px 24px 0;display:grid}.wall-block{flex-direction:column;gap:10px;min-width:0;padding:14px;display:flex}.wall-block>.label,.wall-head .label{margin:0}.wall-lcd{flex-direction:column;gap:6px;padding:14px 16px 12px;display:flex;container-type:inline-size}.wall-mission-text{color:var(--lcd-dim);font-family:var(--font-mono);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.wall-clock{color:var(--lcd-text);white-space:nowrap;font-size:min(64px,19cqw);line-height:.95}.wall-clock[data-ghost=true]{color:var(--lcd-dim)}.wall-clock-label{font-size:10.5px}.wall-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.wall-head .label{margin-right:auto}.seq-key{color:var(--muted);font-family:var(--font-mono);align-items:center;gap:5px;font-size:10px;display:flex}.seq-swatch{background:var(--work);border-radius:2px;width:10px;height:4px}.seq-swatch[data-kind=needs]{background:var(--you);height:8px}.seq-tracks{flex-direction:column;flex-grow:1;justify-content:center;gap:6px;display:flex}.seq-tracks[data-dense=true]{gap:2px}.seq-row{align-items:center;gap:8px;display:flex}.seq-call{width:58px;color:var(--text-2);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:10px;overflow:hidden}.seq-track{flex:1 1 0;height:8px;position:relative}.seq-track:before{background:var(--seq-base);content:"";border-radius:2px;position:absolute;inset:2px 0}.seq-span{background:var(--work);border-radius:2px;position:absolute;top:2px;bottom:2px}.seq-span[data-kind=custom]{background:var(--muted)}.seq-span[data-kind=needs]{background:var(--you);top:0;bottom:0}.seq-axis{color:var(--muted);font-family:var(--font-mono);justify-content:space-between;padding-left:66px;font-size:9.5px;display:flex}.wall-word{flex-wrap:wrap;align-items:baseline;gap:0 12px;display:flex}.wall-word .disp{font-size:30px;line-height:1.1}.wall-word .disp[data-ghost=true]{color:var(--muted)}.wall-count{font-size:22px}.wall-note{color:var(--text-2);overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.vote-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.vote-chip{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);border-bottom-width:3px;flex-direction:column;flex:52px;align-items:center;gap:5px;min-width:0;max-width:84px;padding:8px 2px 7px;display:flex}.vote-chip .led{--led:var(--track);width:9px;height:9px}.vote-chip[data-verdict=GO] .led{--led:var(--go)}.vote-chip[data-verdict=NO-GO] .led{--led:var(--nogo)}.vote-call{max-width:100%;font-family:var(--font-mono);letter-spacing:.02em;text-overflow:ellipsis;font-size:10px;font-weight:600;overflow:hidden}.vote-verdict{color:var(--muted);font-family:var(--font-mono);font-size:9.5px}.wall-actions{gap:6px;margin-top:auto;display:flex}.wall-actions .btn{flex:1 1 0;padding:0 10px;font-size:11px}.wall-maxq{align-items:center;gap:8px}.wall-maxq>.label{align-self:flex-start}.knob{--fill:0deg;background:conic-gradient(from 225deg, var(--work) 0deg var(--fill), var(--track) var(--fill) 270deg, transparent 270deg 360deg);border-radius:50%;flex:none;place-items:center;width:104px;height:104px;display:grid}.wall-limit{border:1px solid var(--edge);background:var(--key);width:80px;height:80px;box-shadow:0 3px 0 var(--edge);border-radius:50%;justify-content:center;align-items:center;margin:0;font-size:30px;display:flex}.wall-maxq-note{color:var(--muted);font-family:var(--font-mono);letter-spacing:.02em;text-align:center;text-transform:uppercase;font-size:10px}.stepper{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:auto;display:flex}.stepper-off{padding:0 12px;font-size:10.5px}.fuel{--fuel:var(--go);flex-direction:column;gap:8px;min-width:0;display:flex}.fuel[data-level=warn]{--fuel:var(--you)}.fuel[data-level=over]{--fuel:var(--nogo)}.fuel-windows{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.fuel-window{min-height:32px;padding:0 4px;font-size:10px}.fuel-window[aria-pressed=true]{border-color:var(--text);color:var(--text)}.fuel-lcd{align-items:baseline;gap:8px;padding:10px 12px;display:flex}.fuel-lcd .led{align-self:center}.fuel-used{font-size:26px}.fuel-limit{color:var(--lcd-dim);letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.fuel-bar{background:var(--track);border-radius:3px;height:6px;overflow:hidden}.fuel-bar>span{background:var(--fuel);height:100%;display:block}.fuel-form{gap:6px;display:flex}.fuel-input{height:44px;font-family:var(--font-mono);flex:auto;font-size:12.5px}.fuel-form .btn{padding:0 10px}.panel-fuel>summary{cursor:pointer;min-height:44px;padding:12px 0}.room{flex-wrap:wrap;flex-grow:1;align-items:stretch;gap:16px;padding:16px 24px 24px;display:flex}.room-main{flex-direction:column;flex:999 640px;gap:14px;min-width:0;display:flex}.operations{flex-direction:column;gap:12px;padding:14px;display:flex}.operations-head{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.operations-head .label{margin:0}.matrix{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:2px 2px 4px;display:grid}.room-tile{min-height:96px}.tile-head{align-items:center;gap:7px;display:flex}.tile-num{color:var(--muted);font-family:var(--font-mono);margin-left:auto;font-size:9.5px}.tile-lcd{background:var(--well);min-height:39px;color:var(--text-2);font-family:var(--font-mono);border-radius:5px;flex-direction:column;gap:1px;padding:5px 7px;font-size:10px;line-height:1.45;display:flex}.tile-lcd .tile-sub{color:inherit}.room-tile[data-kind=working] .tile-lcd{background:var(--lcd);color:var(--lcd-text)}.room-tile[data-kind=needs] .tile-lcd{background:var(--lcd);color:var(--lcd-warm)}.room-tile[data-kind=stopped] .tile-lcd{background:var(--body);color:var(--muted)}.room-tile[data-kind=open] .tile-lcd{color:var(--muted);background:0 0}.tile-foot{white-space:nowrap;justify-content:space-between;gap:6px;display:flex}.room-tile .tile-state{text-overflow:ellipsis;min-width:0;overflow:hidden}.tile-state-vote{display:none}.tile-chip{padding:1px 6px;font-size:8.5px}.your-console,.needs{flex-direction:column;gap:12px;display:flex}.needs-dock{z-index:5;position:sticky;bottom:12px}.need{flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px 14px;display:flex}.need-led{width:10px;height:10px}.need-text{flex-direction:column;flex:260px;gap:2px;min-width:0;display:flex}.need-title,.foot-ask .disp{letter-spacing:.01em;overflow-wrap:anywhere;font-size:15px;line-height:1.2}.need-detail{color:var(--you-ink);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:11.5px}.need-error{flex:100%}.go-buttons{gap:8px;display:flex}.flood[data-tone=amber] .btn:not([data-kind=primary]){border-color:var(--you-key)}.need .btn[data-size=big],.foot-ask .btn{border-radius:var(--radius-key);border-bottom-width:3px;min-height:48px;padding:0 20px;font-size:12px}.need .btn[data-kind=primary][data-size=big]{padding:0 30px}.panel{--panel-pad:0px;flex-direction:column;flex:440px;gap:10px;min-width:0;padding:14px;display:flex}.panel-empty{min-height:240px}.panel-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.panel-id{flex-direction:column;flex:200px;gap:4px;min-width:0;display:flex}.panel-title{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.panel-title .led{width:10px;height:10px}.panel-legend{font-family:var(--font-mono);letter-spacing:.02em;overflow-wrap:anywhere;font-size:18px;font-weight:600;line-height:1.1}.panel-sub{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.panel-actions{flex-wrap:wrap;gap:6px;display:flex}.panel-actions .btn{padding:0 12px;font-size:10.5px}.panel[data-mode=ask],.panel[data-mode=needs]{border-color:var(--you-edge)}.panel[data-mode=ask] .panel-head,.panel[data-mode=needs] .panel-head{border-bottom:1px solid var(--you-edge);background:var(--you-tint);border-radius:11px 11px 0 0;margin:-14px -14px 0;padding:14px}.panel[data-mode=ask] .panel-sub,.panel[data-mode=needs] .panel-sub{color:var(--you-ink)}.panel[data-mode=stopped]{background:var(--well)}.panel[data-mode=stopped] .panel-legend{color:var(--muted)}.panel[data-mode=starting]{border-style:dashed}.panel-details{color:var(--text-2);font-size:12px}.panel-clean{color:var(--text-2);overflow-wrap:anywhere;margin:0;font-size:12px}.panel-clean code{font-family:var(--font-mono);font-size:11.5px}.pane{flex-direction:column;flex:auto;gap:6px;min-height:0;display:flex}.pane-status{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pane-notice{min-width:0;color:var(--you-ink);font-size:12px;font-weight:600}.pane-notice:empty{display:none}.term-wrap{border-radius:var(--radius-key);background:var(--lcd);flex:auto;min-height:360px;position:relative;overflow:hidden}.term-wrap:before{z-index:9;border-radius:inherit;content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 2px 8px #00000059}.term-host{position:absolute;inset:0;overflow:hidden}.term-host[data-scroll=true]{overflow:auto}.term-host[data-dim=true]{opacity:.6}.term-host .xterm{padding:12px 14px 8px}.term-host .xterm .xterm-viewport{background-color:var(--lcd)}.term-wrap:has(.term-host:focus-within):after{z-index:10;border:2px solid var(--lcd-text);border-radius:inherit;content:"";pointer-events:none;position:absolute;inset:0}.pane-empty{color:var(--lcd-dim);font-family:var(--font-mono);pointer-events:none;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.pane-hint{color:var(--muted);font-family:var(--font-mono);font-size:10.5px}.foot{flex-direction:column;gap:10px;display:flex}.foot-exit{color:var(--text-2);overflow-wrap:anywhere;font-size:12px}.foot-command{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);font-family:var(--font-mono);overflow-wrap:anywhere;padding:8px 10px;font-size:11.5px}.foot-ask{flex-direction:column;gap:8px;padding:12px 14px;display:flex}.foot-ask .disp{align-items:center;gap:8px;display:flex}.foot-ask .go-buttons .btn{flex:1 1 0}.foot-ask .btn[data-kind=primary]{flex:1.4 1 0}.remove{flex-direction:column;gap:10px;padding:14px 16px;display:flex}.remove .disp{font-size:20px;line-height:1.1}.remove p{font-size:13px;line-height:1.5}.remove-buttons{gap:8px;display:flex}.remove-buttons .btn{flex:1 1 0;font-size:12px}.remove-buttons .btn:first-child{flex:1.4 1 0}.system{flex:1;justify-content:center;align-items:flex-start;padding:32px 24px;display:flex}.system-slab{flex-direction:column;flex:auto;gap:12px;width:100%;min-width:0;max-width:640px;padding:26px 28px;display:flex}.system-label{align-items:center;gap:8px;display:flex}.system-word{font-size:clamp(40px,8vw,64px);line-height:1}.system-word[data-ghost=true]{color:var(--muted)}.system-lead{font-size:17px;font-weight:600;line-height:1.3}.system-text{font-size:13.5px;line-height:1.5}.system-address{overflow-wrap:anywhere;padding:12px 14px;font-size:13px}.system-steps{gap:8px;display:flex}.system-steps span{background:var(--work);border-radius:50%;width:10px;height:10px;animation:1.5s ease-in-out infinite ins-step}.system-steps span:nth-child(2){animation-delay:.5s}.system-steps span:nth-child(3){animation-delay:1s}@media (width>=700px) and (width<=999px){.topbar{padding:16px 20px 0}.wall{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 20px 0}.wall-fuel{grid-column:1/-1}.room{padding:12px 20px 20px}.gone-strip{margin:12px 20px 0}}.topbar-plus{flex:none;width:44px;padding:0;font-size:18px}.phone-bar{background:var(--body);gap:6px;margin-top:auto;padding:8px 12px 12px;display:flex;position:sticky;bottom:0}.phone-bar .btn{letter-spacing:0;border-radius:9px;flex:1 1 0;min-height:48px;padding:0 2px;font-size:11px;position:relative}.phone-bar .chip{margin:0;padding:1px 6px;position:absolute;top:-7px;right:-3px}.phone-console{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.phone-head{flex:none;align-items:center;gap:10px;min-height:52px;padding:2px 14px 2px 6px;display:flex}.phone-back{min-height:44px;padding:0 12px}.phone-legend{font-family:var(--font-mono);letter-spacing:.02em;flex-grow:1;margin:0;font-size:18px;font-weight:600;line-height:1}.phone-sub{flex:none;align-items:center;gap:8px;padding:0 14px 8px;display:flex}.phone-sub .panel-sub{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.phone-sub .btn{padding:0 12px;font-size:10.5px}.phone-console .panel-actions,.phone-console .panel-clean{flex:none;padding:0 14px 8px}.phone-console .pane{flex:1 1 0;margin:0 12px 8px}.phone-console .term-wrap{min-height:120px}.phone-console .pane-hint{display:none}.phone-console .panel-error,.phone-console>.error{margin:0 12px 8px}.phone-console .remove{flex:none;margin:0 12px 8px;padding:12px 14px}.phone-console .foot{flex:none;padding:8px 12px 0}.phone-traffic{flex:none;max-height:132px;overflow-y:auto}.phone-keys{flex:none;gap:5px;padding:8px 12px 0;display:flex}.phone-key{flex:1 1 0;min-height:46px;padding:0;font-size:15px}.phone-key[data-kind=primary]{flex:1.4 1 0}.phone-type{flex:none;gap:6px;padding:8px 12px 14px;display:flex}.phone-type .input{flex:1 1 0;height:46px;font-size:16px}.phone-type .btn{height:46px;padding:0 14px;font-size:10.5px}.phone-go{flex-direction:column;gap:12px;min-height:100dvh;padding:0 14px 16px;display:flex}.phone-go-head{justify-content:space-between;align-items:center;gap:10px;height:52px;margin:0 -6px;display:flex}.phone-go-head .phone-back{background:0 0;border:0}.phone-go-card{border-radius:14px;flex-direction:column;gap:14px;padding:16px;display:flex}.phone-go-call{align-items:center;gap:10px;font-size:13px;display:flex}.phone-go-call .led{--led:var(--you);width:12px;height:12px}.phone-go-call .led[data-on=true]{box-shadow:0 0 0 5px color-mix(in srgb, var(--led) 25%, transparent)}.phone-go-title{font-size:34px;line-height:1.05}.phone-go-what{flex-direction:column;gap:4px;padding:12px 14px;display:flex}.phone-go-tool{color:var(--lcd-dim);letter-spacing:.08em;text-transform:uppercase;font-size:10px}.phone-go-detail{color:var(--lcd-text);overflow-wrap:anywhere;font-size:16px}.phone-go-dir{color:var(--lcd-dim);overflow-wrap:anywhere;font-size:11px}.phone-go-held{color:var(--text-2);font-size:13px;line-height:1.45}.phone-go-buttons{gap:10px;margin-top:auto;padding-top:8px;display:flex}.phone-go-buttons .btn{letter-spacing:.08em;border-bottom-width:5px;border-radius:16px;flex-direction:column;flex:1 1 0;gap:10px;height:120px;font-size:15px}.phone-go-buttons .phone-go-yes{flex-grow:1.4}.phone-go-buttons .led{width:12px;height:12px}.phone-go-no .led{--led:var(--nogo)}.phone-go-yes .led{--led:var(--go-lit)}.phone-go-link{align-self:flex-end}@media (width<=699px){.app{--bottom-bar:68px}.topbar{flex-wrap:nowrap;gap:10px;min-height:52px;padding:4px 8px 4px 14px}.mark-name{height:22px}.mark-unit{font-size:9.5px}.mark-unit-long,.label-letter{display:none}.gone-strip{margin:6px 12px 0}.wall{border:1px solid var(--edge);border-radius:var(--radius-module);background:var(--panel);flex-direction:column;gap:10px;margin:0 12px;padding:12px;display:flex}.wall-sequence,.wall-fuel{display:none}.wall-block.module:not(.flood){background:0 0;border:0;padding:0}.wall-block{gap:8px}.wall-block.flood{padding:10px}.wall-mission>.label,.wall-clock-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.wall-lcd{gap:2px;padding:10px 12px}.wall-mission-text{-webkit-line-clamp:1;font-size:10.5px}.wall-clock{font-size:min(40px,19cqw)}.wall-tminus{flex-flow:wrap;align-items:center;gap:6px 8px}.wall-tminus .wall-note,.wall-tminus .error{-webkit-line-clamp:2;flex:100%;order:5}.wall-tminus>.label{font-size:10px}.wall-word{flex-wrap:nowrap;gap:8px}.wall-word .disp{font-size:16px}.wall-count{font-size:18px}.vote-chips{gap:4px}.vote-chip{background:0 0;border:0;flex:none;padding:0}.vote-call,.vote-verdict{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.wall-actions{margin:0 0 0 auto}.wall-actions .btn{flex:none;padding:0 12px;font-size:10.5px}.wall-maxq{flex-flow:wrap;gap:6px 10px}.wall-maxq>.label{align-self:center;font-size:10px}.knob{width:40px;height:40px}.wall-limit{width:30px;height:30px;box-shadow:0 2px 0 var(--edge);font-size:12px}.wall-maxq-note{text-align:left;-webkit-line-clamp:2;flex:60px;min-width:0;font-size:9.5px}.stepper{margin:0 0 0 auto}.room-phone{flex-flow:column;flex:auto;gap:0;min-width:0;padding:0;display:flex}.room-phone>*{min-width:0}.needs{gap:8px;margin:10px 12px 0}.need{flex-wrap:nowrap;padding:8px 12px}.need-text{flex:1 1 0}.need-title{font-size:14px}.need-detail{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.need .btn{flex:none;min-height:44px;padding:0 14px;font-size:11px}.operations{background:0 0;border:0;border-radius:0;gap:0;padding:12px 12px 8px}.operations-head{display:none}.matrix{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:2px 0}.room-tile{border-radius:9px;height:64px;min-height:0;padding:7px 8px 6px}.tile-head{gap:6px}.tile-num,.tile-right{display:none}.room-tile .tile-legend{letter-spacing:.02em;font-size:10.5px}.room-tile[data-kind] .tile-lcd{min-height:0;color:inherit;background:0 0;padding:0;font-size:9.5px;line-height:1.4}.tile-lcd .tile-sub:nth-child(2){display:none}.tile-foot{justify-content:flex-start;gap:4px}.tile-state-vote{display:inline}.room-tile .tile-state{font-size:9px}.system{padding:14px}.system-slab{padding:20px 18px}}
|