@ulm0/gonogo 0.1.2 → 0.2.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/dist/client/assets/index-DxUnpGbS.js +52 -0
- package/dist/client/assets/index-tpcmltjw.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/audited.js +26 -3
- package/dist/server/cleanroom.js +7 -51
- package/dist/server/cli.js +87 -19
- package/dist/server/constants.js +15 -2
- package/dist/server/hangar.js +4 -4
- package/dist/server/home.js +17 -1
- package/dist/server/hub.js +102 -9
- package/dist/server/launcher.js +17 -10
- package/dist/server/mcp.js +41 -2
- package/dist/server/migrate.js +2 -1
- package/dist/server/missions.js +310 -0
- package/dist/server/models.js +73 -0
- package/dist/server/phone.js +122 -0
- package/dist/server/phonetag.js +47 -0
- package/dist/server/prices.js +112 -0
- package/dist/server/propellant.js +243 -16
- package/dist/server/providers.js +52 -0
- package/dist/server/relay.js +53 -7
- package/dist/server/relaykinds.js +11 -1
- package/dist/server/relief.js +2 -2
- package/dist/server/remotecontrol.js +15 -0
- package/dist/server/tasks.js +44 -8
- package/dist/server/uplinks.js +7 -0
- package/dist/server/web.js +165 -6
- package/dist/server/worktree.js +137 -0
- package/dist/shared/fuel.js +8 -0
- package/dist/shared/prices.js +75 -0
- package/dist/shared/protocol.js +16 -3
- package/package.json +1 -1
- package/dist/client/assets/index-BqCn1SM7.js +0 -50
- package/dist/client/assets/index-KZtFVMJG.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
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,[data-livery=instrument]{--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;--lcd-warm:#f1d79a;--work:#4a5bd4;--you:#e0a93a;--you-tint:#f4e3b7;--you-edge:#d9b45a;--you-ink:#5c4a1c;--you-key:#b8933f;--go:#5e9e73;--go-tint:#d7e8da;--go-ink:#2c5a3a;--go-lit:#7cc493;--nogo:#c2414b;--nogo-text:#a8323c;--nogo-tint:#f5d9da;--track:#d6d3cb;--seq-base:#e2dfd7}:root{--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}[data-livery=instrument],[data-livery=low-ink],[data-livery=high-contrast]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-livery=night-shift]{--body:#16181d;--panel:#1e2127;--key:#272b33;--well:#121418;--edge:#353a44;--edge-2:#4a5160;--text:#e8e9ec;--text-2:#c5c8cf;--muted:#9ba1ac;--lcd:#0b0e0d;--lcd-text:#a9ecd4;--lcd-dim:#6fb8a0;--lcd-warm:#f4cf80;--work:#93a0ff;--you:#e5b04c;--you-tint:#3a2f15;--you-edge:#8d6f27;--you-ink:#f6d890;--you-key:#b8933f;--go:#5cbf86;--go-tint:#17352a;--go-ink:#a3e6bf;--go-lit:#7bd9a0;--nogo:#e5606b;--nogo-text:#ff9ea6;--nogo-tint:#43191f;--track:#353a44;--seq-base:#2a2e36;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-livery=low-ink]{--body:#f7f6f2;--panel:#fbfaf7;--key:#fff;--well:#efede7;--edge:#bdb9af;--edge-2:#8c887d;--text:#141414;--text-2:#333330;--muted:#55524b;--lcd:#2a2a2a;--lcd-text:#f0f0ea;--lcd-dim:#b8b8b0;--lcd-warm:#f2d98e;--work:#2f3fa8;--you:#b77a05;--you-tint:#fcf4dc;--you-edge:#d2b25a;--you-ink:#4f3b08;--you-key:#a07a1a;--go:#2f7d52;--go-tint:#e8f3ec;--go-ink:#1f4d33;--go-lit:#7cc493;--nogo:#b3261e;--nogo-text:#96211a;--nogo-tint:#fbe9e7;--track:#cfcbc1;--seq-base:#e6e3db}[data-livery=high-contrast]{--body:#fff;--panel:#fff;--key:#fff;--well:#ebebeb;--edge:#1a1a1a;--edge-2:#555;--text:#000;--text-2:#111;--muted:#2e2e2e;--lcd:#000;--lcd-text:#fff;--lcd-dim:#cfcfcf;--lcd-warm:#ffe27a;--work:#0b1bb3;--you:#8a5a00;--you-tint:#ffeeb0;--you-edge:#5c3d00;--you-ink:#2e1d00;--you-key:#5c3d00;--go:#00692f;--go-tint:#cdf2da;--go-ink:#00290f;--go-lit:#5be08c;--nogo:#b00020;--nogo-text:#7d0017;--nogo-tint:#ffd6dc;--track:#6b6b6b;--seq-base:#c4c4c4}:root{--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}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.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}.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}@keyframes ins-led{50%{opacity:.35}}@keyframes ins-step{0%,to{opacity:.25}33%{opacity:1}}@keyframes ins-blink{50%{opacity:0}}.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)}.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)}@media (prefers-reduced-motion:reduce){.led[data-blink=true]{animation:none}}.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}.btn.brief-mission{min-height:46px}.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}}.rec{flex-direction:column;flex:1 0 auto;gap:12px;max-width:960px;padding:16px 24px 20px;display:flex}.topbar-glyph{fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.rec-heading:focus-visible{outline:none}.rec-lead{color:var(--text-2);margin:0;font-size:13.5px;line-height:1.5}.rec-form{flex-direction:column;gap:12px;min-width:0;padding:14px;display:flex}.rec-text{overflow-wrap:anywhere;min-height:320px}.rec-actions{flex-wrap:wrap;gap:8px;display:flex}.rec-stale,.rec-git{margin:0;padding:10px 12px;font-size:13px;line-height:1.45}.rec-command{border:1px solid var(--edge);width:100%;min-width:0;height:46px;padding:0 14px;font-size:12.5px}.rec-events{flex-direction:column;margin:0;padding:0 14px;list-style:none;display:flex}.rec-event{border-top:1px solid var(--edge);grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;gap:4px 12px;padding:10px 0;display:grid}.rec-event:first-child{border-top:0}.rec-kind{justify-self:start}.rec-when{color:var(--text-2);font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:11.5px}.rec-text-line{overflow-wrap:anywhere;font-size:13.5px;line-height:1.4}@media (width<=699px){.rec{gap:10px;padding:10px 12px 12px}.rec-text{min-height:240px}.rec-event{grid-template-columns:auto minmax(0,1fr)}.rec-text-line{grid-column:1/-1}.rec-actions .btn{flex:1 1 0}}.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}.mass{flex-direction:column;gap:4px;margin:0;display:flex}.mass-row{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.mass-size{min-width:0;color:var(--text-2);overflow-wrap:anywhere;flex:auto;margin:0;font-size:12px}.mass-size code{font-family:var(--font-mono);font-size:11.5px}.mass-over{border-radius:var(--radius-key);background:var(--you-tint);color:var(--you-ink);overflow-wrap:anywhere;margin:0;padding:6px 10px;font-size:12px;line-height:1.4}.mass .hint,.mass .error{margin:0}.phone-console .mass{padding:0 14px 8px}.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}}.mis{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.mis-heading:focus-visible{outline:none}.mis-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mis-row{width:100%;min-height:44px;font:inherit;color:var(--text);text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 14px;display:grid}.mis-row-name{overflow-wrap:anywhere;font-weight:600}.mis-progress{font-variant-numeric:tabular-nums;color:var(--text-2)}.mis-detail,.mis-form{flex-direction:column;gap:10px;max-width:720px;padding:14px;display:flex}.mis-fields{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:0;display:flex}.mis-top{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mis-id{font-family:var(--font-mono);color:var(--text-2)}.mis-name{overflow-wrap:anywhere;margin:0;font-size:20px}.mis-goal{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.mis-keys,.mis-actions{flex-wrap:wrap;gap:8px;display:flex}.mis-tasks{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.mis-task{text-align:left;overflow-wrap:anywhere;justify-content:flex-start;width:100%}.plan-mission{cursor:pointer;align-self:flex-start}.wall-missions-key{margin-left:auto}@media (width<=480px){.mis{padding:12px 16px 16px}.mis-row{grid-template-columns:auto minmax(0,1fr) auto}.mis-row-lead{display:none}}.hg{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.hg-title:focus-visible{outline:none}.hg-agent{flex:0 220px;min-width:160px}.hg-tabs{gap:6px;display:flex}.hg-empty{margin:0;padding:12px 2px}.hg-cols{grid-template-columns:minmax(240px,320px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.hg-side{flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.hg-tools{flex-wrap:wrap;gap:6px;display:flex}.hg-new{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.hg-new .field{align-self:stretch}.hg-list{margin:0;padding:0;list-style:none}.hg-root{max-height:70vh;overflow:auto}.hg-item{appearance:none;border-radius:var(--radius-key);width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding-right:10px;font-size:13px;display:flex}.hg-item:hover{background:var(--well)}.hg-item[aria-current=true]{background:var(--well);box-shadow:inset 3px 0 0 var(--work);font-weight:600}.hg-link{color:var(--muted);cursor:default}.hg-link:hover{background:0 0}.hg-mark{width:12px;color:var(--muted);flex:none}.hg-name{overflow-wrap:anywhere;flex:auto;min-width:0}.hg-size{color:var(--muted);font-family:var(--font-mono);flex:none;font-size:11px}.hg-note{margin:0;padding:8px 10px;list-style:none}.hg-editor{flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.hg-bar{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.hg-path{min-width:0;font-family:var(--font-mono);overflow-wrap:anywhere;flex:200px;margin:0;font-size:13px;font-weight:600}.hg-ask,.hg-problem{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.hg-ask p,.hg-problem p{margin:0}.hg-row{flex-wrap:wrap;gap:8px;display:flex}.hg-ed{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);height:min(70vh,640px);min-height:320px;display:flex;overflow:hidden}.hg-gutter{box-sizing:content-box;width:calc(var(--digits) * 1ch + 8px);background:var(--well);color:var(--muted);font-family:var(--font-mono);text-align:right;-webkit-user-select:none;user-select:none;flex:none;margin:0;padding:10px 8px 30px 0;font-size:13px;line-height:20px;overflow:hidden}.hg-text{min-width:0;color:var(--text);font-family:var(--font-mono);resize:none;tab-size:4;white-space:pre;background:0 0;border:0;border-radius:0;flex:auto;margin:0;padding:10px 12px;font-size:13px;line-height:20px;overflow:auto}.hg-text:read-only{background:var(--well)}.hg-text:focus-visible{outline:none}.hg-ed:has(.hg-text:focus-visible){outline:2px solid var(--text);outline-offset:2px}@media (width<=899px){.hg{padding:12px 16px 20px}.hg-cols{grid-template-columns:minmax(0,1fr)}.hg-root{max-height:260px}.hg-ed{height:60vh;min-height:260px}}@media (width<=699px){.hg-gutter,.hg-text{font-size:16px;line-height:24px}}.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-engine-note{flex-direction:column;gap:8px;margin-top:-6px;display:flex}.staff-engine-state,.staff-engine-note .hint{color:var(--text-2);align-items:flex-start;gap:8px;margin:0;font-size:12.5px;line-height:1.4;display:flex}.staff-engine-note .hint{display:block}.staff-engine-state .led{flex:none;margin-top:4px}.staff-engine-note a{color:var(--text);text-decoration:underline}.staff-install{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.staff-install .label{flex:100%}.staff-install .input{min-width:0;min-height:44px;font-family:var(--font-mono);flex:220px;font-size:12.5px}.staff .staff-install .input:read-only{background:var(--key);color:var(--text)}.staff-install .btn,.staff-keys .btn,.staff-key-row .btn{min-height:44px}.staff-keys{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.staff-keys li{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.staff-keys code{overflow-wrap:anywhere;min-width:0;font-family:var(--font-mono);flex:160px;font-size:12.5px}.staff-key-row{flex-wrap:wrap;align-items:flex-end;gap:8px 10px;display:flex}.staff-key-row .field{flex:180px;min-width:0}.staff-key-row .input{min-height:44px}.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}}.chart{flex-direction:column;gap:8px;min-width:0;padding:10px;display:flex}.chart-svg{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);width:100%;height:auto;display:block}.chart-edge{stroke:var(--muted);stroke-width:1px;stroke-opacity:.7}.chart-edge[data-kind=mention]{stroke:var(--work);stroke-width:1.75px;stroke-opacity:.9}.chart-edge[data-kind=cooccur]{stroke-dasharray:4 3}.chart-edge[data-dim],.chart-node[data-dim]{opacity:.3}.chart-arrow{fill:var(--work)}.chart-node{cursor:pointer}.chart-node:focus,.chart-node:focus-visible{outline:none}.chart-shape{stroke:var(--text-2);stroke-width:1.5px}.chart-node[data-kind=entry] .chart-shape{fill:var(--work)}.chart-node[data-kind=tag] .chart-shape{fill:var(--go-tint)}.chart-node[data-kind=author] .chart-shape{fill:var(--you-tint)}.chart-hit{fill:#0000;stroke:#0000;stroke-width:2px}.chart-node[aria-pressed=true] .chart-hit{stroke:var(--text)}.chart-node:focus-visible .chart-hit{stroke:var(--text);stroke-dasharray:3 2;fill:var(--you-tint)}.chart-label{fill:var(--text);font-family:var(--font-mono);paint-order:stroke;stroke:var(--key);stroke-width:3px;stroke-linejoin:round;pointer-events:none;font-size:11px}.chart-label:not([data-show]){display:none}.chart-node:hover .chart-label:not([data-show]),.chart-node:focus-visible .chart-label:not([data-show]),.chart-node[aria-pressed=true] .chart-label:not([data-show]){display:inline}.chart-status,.chart-key{margin:0}.chart-links{flex-direction:column;gap:14px;min-width:0;display:flex}.chart-links>section{flex-direction:column;gap:6px;display:flex}.chart-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chart-list li{flex-direction:column;gap:4px;min-width:0;display:flex}.chart-group{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);padding:8px 10px}.chart-name{overflow-wrap:anywhere;margin:0;font-size:13.5px;font-weight:600}.chart-rel{color:var(--text-2);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:0;font-size:12px;line-height:1.4;display:flex}.chart-ids{flex-wrap:wrap;gap:4px;margin:0;display:flex}.chart-ref{text-transform:none;min-width:44px;padding:0 10px}.chart-ref[aria-current=true]{border-color:var(--work)}.chart-lens{gap:4px;display:flex}.chart-lens .btn[aria-pressed=true]{border-color:var(--text);background:var(--text);color:var(--panel)}@media (width<=699px){.chart-lens{flex:100%;order:3}.chart-lens .btn{flex:1 1 0;padding:0 8px}}.log-cols[data-lens=chart],.log-cols[data-lens=links]{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}@media (width<=899px){.log-cols[data-lens=chart],.log-cols[data-lens=links]{grid-template-columns:minmax(0,1fr)}}.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}}.rc-cols{grid-template-columns:minmax(280px,400px) minmax(0,1fr)}.rc-side,.rc-main{flex-direction:column;gap:12px;min-width:0;display:flex}.rc-box{flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.rc-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rc-head .label{overflow-wrap:anywhere;flex:120px;min-width:0;margin:0}.rc-author{color:var(--text-2);overflow-wrap:anywhere;margin:0;font-size:12.5px}.rc-files{flex-direction:column;gap:6px;max-height:360px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.rc-file{appearance:none;border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--key);width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-bottom-width:3px;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 12px;font-size:13px;display:flex}.rc-file[aria-pressed=true]{border-color:var(--work);box-shadow:inset 3px 0 0 var(--work)}.rc-path{font-family:var(--font-mono);overflow-wrap:anywhere;font-size:12.5px}.rc-labels{flex-wrap:wrap;gap:4px;display:flex}.rc-scope{border:0;margin:0;padding:0}.rc-scope>.rc-radio{min-height:44px;color:var(--text);font-family:var(--font-ui);letter-spacing:0;text-transform:none;align-items:center;gap:10px;font-size:13px;display:flex}.rc-radio input{width:20px;height:20px;accent-color:var(--work);flex:none;margin:0}.rc-commit .btn,.rc-retry .btn{align-self:flex-start}.rc-commit .hint{margin:0}.rc-made{overflow-wrap:anywhere;text-transform:none;align-self:flex-start;margin:0}.rc-diff{tab-size:4;white-space:pre;max-height:60vh;margin:0;padding:10px 12px;font-size:12px;line-height:1.5;overflow:auto}.rc-diff [data-kind=ctx],.rc-diff [data-kind=meta]{color:var(--lcd-dim)}.rc-diff [data-kind=meta],.rc-diff [data-kind=hunk]{font-weight:600}.rc-diff [data-kind=add],.rc-diff [data-kind=hunk]{color:var(--lcd-text)}.rc-diff [data-kind=del]{color:var(--lcd-warm)}.rc-log{flex-direction:column;max-height:360px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.rc-log li{border-top:1px solid var(--edge);grid-template-columns:64px minmax(0,1fr);gap:2px 10px;padding:8px 0;display:grid}.rc-hash{color:var(--text-2);font-family:var(--font-mono);font-size:12px}.rc-subject{overflow-wrap:anywhere;font-size:13px}.rc-by{color:var(--muted);grid-column:2;font-size:11.5px}@media (width<=899px){.rc-cols{grid-template-columns:minmax(0,1fr)}}.patch{width:min(560px,100vw - 24px);max-height:min(70vh,560px);color:var(--text);flex-direction:column;gap:10px;margin:10vh auto auto;padding:14px}.patch[open]{display:flex}.patch::backdrop{background:#00000059}.patch-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.patch-title{margin:0}.patch-list{flex:auto;min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.patch-option{border-radius:var(--radius-key);cursor:pointer;align-items:center;gap:12px;min-height:44px;padding:0 12px;display:flex}.patch-option[aria-selected=true]{background:var(--key);box-shadow:inset 3px 0 0 var(--work), 0 0 0 1px var(--edge)}.patch-label{overflow-wrap:anywhere;flex:auto;min-width:0}.patch-group{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);flex:none;font-size:10.5px}.patch-foot{margin:0}.patch-mark{background:radial-gradient(circle,currentColor 2px,#0000 2.5px) 0 0/33.3% 33.3%;width:16px;height:16px}@media (width<=699px){.patch{max-height:calc(100dvh - 24px);margin-top:12px}}.rules{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.rules-title:focus-visible{outline:none}.rules-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.rules-block{flex-direction:column;align-items:flex-start;gap:10px;padding:14px;display:flex}.rules-block>.label,.rules-block>.hint,.rules-value{margin:0}.rules-value{font-size:18px;font-weight:600}.rules-consoles{flex-direction:column;align-self:stretch;gap:6px;margin:0;padding:0;list-style:none;display:flex}.rules-consoles li{align-items:center;gap:12px;display:flex}.rules-call{font-family:var(--font-mono);font-weight:600}.rules-name{overflow-wrap:anywhere;flex:auto;min-width:0}.rules-mark{background:linear-gradient(currentColor,currentColor) 0 1px/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 6px/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 11px/100% 2px no-repeat,radial-gradient(circle,currentColor 2.5px,#0000 3px) 2px -1px/6px 6px no-repeat,radial-gradient(circle,currentColor 2.5px,#0000 3px) 9px 4px/6px 6px no-repeat,radial-gradient(circle,currentColor 2.5px,#0000 3px) 4px 9px/6px 6px no-repeat;width:16px;height:14px}.commission{flex-direction:column;gap:10px;padding:14px;display:flex}.commission-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.commission-head .label{margin:0}.commission-head .btn{margin-left:auto}.commission-steps{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.commission-steps li{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 12px;display:grid}.commission-text{min-width:0}.commission-title{margin:0;font-size:14px;font-weight:600}.commission-steps li[data-done] .commission-title{color:var(--text-2);text-decoration:line-through}.commission-text .hint,.commission-note p{margin:2px 0 0}.commission-note summary{cursor:pointer;align-items:center;min-height:44px;font-size:13px;text-decoration:underline;display:flex}.commission-note p{font-size:13px;line-height:1.5}@media (width<=699px){.room-phone>.commission{margin:10px 12px 0}.rules .wall-fuel{display:flex}.rules .wall-block.module:not(.flood){border:1px solid var(--edge);font-size:inherit;padding:14px}.rules{gap:10px;padding:10px 12px 12px}.commission-steps li{grid-template-columns:auto minmax(0,1fr)}.commission-steps li>.btn{grid-column:2;justify-self:start}}.rules-models{width:100%}.rules-model-list{gap:8px;width:100%;margin:0;padding:0;list-style:none;display:grid}.rules-model{grid-template-columns:minmax(96px,150px) minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.rules-model .error{grid-column:1/-1;margin:0}@media (width<=480px){.rules-model{grid-template-columns:minmax(0,1fr) auto}.rules-model>label{grid-column:1/-1}}.rules-notify{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:12px;display:flex}.rules-notify>.label,.rules-notify>.hint{margin:0}.commission-extra{margin:8px 0 0}.pl{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 24px 20px;display:flex}.pl-heading:focus-visible{outline:none}.pl-scroll{padding:0 14px}.pl-list{margin:0;padding:0;list-style:none}.pl-row+.pl-row{border-top:1px solid var(--edge)}.pl-head{appearance:none;width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:96px 220px minmax(0,1fr) auto;grid-template-areas:"time route text chip";align-items:start;gap:18px;padding:12px 0;display:grid}.pl-head:hover{background:color-mix(in srgb, var(--well) 60%, transparent)}.pl-head:focus-visible{outline-offset:-2px}.pl-text{flex-direction:column;grid-area:text;gap:3px;min-width:0;display:flex}.pl-chip{grid-area:chip;justify-self:end}.pl-head .loop-route{overflow-wrap:anywhere}.pl-open{border:1px solid var(--edge);border-radius:var(--radius);background:var(--key);flex-direction:column;gap:14px;margin:0 0 12px;padding:12px 14px;display:flex}.pl-msgs{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.pl-msg{border-left:3px solid var(--edge);flex-direction:column;gap:4px;padding-left:10px;display:flex}.pl-msg[data-from-you]{border-left-color:var(--work)}.pl-msg-head{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.pl-msg-head .loop-time{padding-top:0}.pl-answer{border-top:1px solid var(--edge);flex-direction:column;gap:10px;padding-top:12px;display:flex}.pl-to{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pl .input:is(select){background:var(--key);width:auto;min-width:160px;color:var(--text)}.pl-more{padding:10px 0}@media (width<=699px){.pl{gap:10px;padding:10px 12px 12px}.pl-scroll{padding:0 12px}.pl-head{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}.pl-chip{justify-self:auto}.pl-open{padding:10px 12px}}.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}.topbar{flex-wrap:wrap;align-items:center;gap:8px;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}.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}.rollout-strip{border:1px solid var(--edge);border-radius:var(--radius-key);background:var(--well);color:var(--text-2);flex-wrap:wrap;align-items:center;gap:4px 12px;margin:12px 24px 0;padding:2px 8px 2px 14px;font-size:12px;display:flex}.rollout-strip code{overflow-wrap:anywhere;min-width:0;color:var(--text);font-family:var(--font-mono);font-size:12px}.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-fire{flex-wrap:wrap;gap:6px;display:flex}.wall-fire .input{flex:120px;height:44px}.wall-fire .btn{flex:none;padding:0 10px;font-size:11px}.wall-fire .hint{flex:100%}.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-units{grid-template-columns:repeat(2,minmax(0,1fr))}.fuel-fold{margin-top:8px}.fuel-fold>summary{cursor:pointer;min-height:44px;padding:12px 0}.fuel-chart{border-bottom:1px solid var(--edge);width:100%;height:80px}.fuel-legend{flex-wrap:wrap;gap:4px 12px;margin:6px 0;padding:0;font-size:11px;list-style:none;display:flex}.fuel-swatch{width:9px;height:9px;margin-right:5px;display:inline-block}.fuel-table{border-collapse:collapse;width:100%;font-family:var(--font-mono);font-size:11px}.fuel-table th,.fuel-table td{text-align:left;overflow-wrap:anywhere;padding:4px 6px}.fuel-prices-form{flex-wrap:wrap}.fuel-price-field{flex:80px;min-width:0}.fuel-price-field .fuel-input{width:100%}.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}.telemetry{max-height:320px;margin:0 0 12px;padding:8px 10px;font-size:12px;list-style:none;overflow-y:auto}.telemetry-row{border-bottom:1px solid #ffffff14;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 10px;padding:6px 0;display:grid}.telemetry-row:last-child{border-bottom:0}.telemetry-time,.telemetry-ms{color:var(--lcd-dim);font-variant-numeric:tabular-nums}.telemetry-tool{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.telemetry-ms[data-failed]{color:var(--lcd-warm)}.telemetry-bar{background:#ffffff0f;border-radius:2px;grid-column:1/-1;height:3px}.telemetry-bar>span{background:var(--lcd-dim);border-radius:2px;height:100%;display:block}.telemetry-detail{color:var(--lcd-text);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;overflow:hidden}.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}.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;max-height:55vh;position:sticky;bottom:12px;overflow-y:auto}.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}.relief-rows{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2px 16px;margin:4px 0 0;display:grid}.relief-failed{color:var(--you-ink);font-family:var(--font-mono);overflow-wrap:anywhere;margin:0;font-size:11.5px}.relief-row{min-width:0;color:var(--you-ink);font-family:var(--font-mono);gap:6px;font-size:11.5px;display:flex}.relief-row dt{flex:none;font-weight:600}.relief-row dt:after{content:":"}.relief-row dd{overflow-wrap:anywhere;min-width:0;margin:0}.relief-role-label{color:var(--you-ink);font-family:var(--font-mono);margin:6px 0 0;font-size:11.5px;font-weight:600}.relief-role{border:1px solid var(--you-key);border-radius:var(--radius-key);max-height:11em;color:var(--you-ink);font-family:var(--font-mono);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;padding:4px 8px;font-size:11.5px;line-height:1.4;overflow:auto}.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:3px;margin-top:auto;padding:8px 6px 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 1px;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-traffic .panel-fuel{padding:0 12px}.phone-traffic .telemetry{max-height:none}.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}.rollout-strip{margin:6px 12px}.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-fire{flex:100%;order:6}.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}.relief-need{flex-wrap:wrap}.relief-need .need-text,.relief-need .go-buttons{flex:100%}.relief-need .go-buttons .btn{flex:1;padding:0}.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}}
|
package/dist/client/index.html
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<link rel="icon" href="./favicon.svg" type="image/svg+xml" />
|
|
11
11
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
|
12
12
|
<title>gonogo</title>
|
|
13
|
-
<script type="module" crossorigin src="./assets/index-
|
|
14
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
13
|
+
<script type="module" crossorigin src="./assets/index-DxUnpGbS.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="./assets/index-tpcmltjw.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="root"></div>
|
package/dist/server/audited.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TASK_STATUSES } from '../shared/protocol.js';
|
|
1
|
+
import { MISSION_STATUSES, TASK_STATUSES } from '../shared/protocol.js';
|
|
2
2
|
import { isRecord } from './hooks.js';
|
|
3
3
|
/** A name or an id: letters, digits, dots, dashes, underscores and an at sign, at most 64. */
|
|
4
4
|
const PLAIN = /^[A-Za-z0-9][A-Za-z0-9._@-]{0,63}$/;
|
|
@@ -38,7 +38,7 @@ export function audited(store, record, table) {
|
|
|
38
38
|
return out;
|
|
39
39
|
}
|
|
40
40
|
/** The fields an edit names: the names of the fields only, never their values. */
|
|
41
|
-
const EDIT_FIELDS = ['name', 'role', 'dir', 'mode', 'position', 'command', 'payload', 'cleanRoom'];
|
|
41
|
+
const EDIT_FIELDS = ['name', 'role', 'dir', 'mode', 'position', 'command', 'payload', 'cleanRoom', 'worktree', 'remoteControl'];
|
|
42
42
|
const fieldsOf = (value, allowed) => (isRecord(value) ? Object.keys(value).filter((key) => allowed.includes(key) && value[key] !== undefined) : []);
|
|
43
43
|
const actorName = (actor) => {
|
|
44
44
|
if (!isRecord(actor))
|
|
@@ -54,6 +54,7 @@ export const HUB_AUDIT = {
|
|
|
54
54
|
stop: ['crew', 'Director stopped'],
|
|
55
55
|
remove: ['crew', 'Director removed'],
|
|
56
56
|
edit: ['config', (args) => `Director edited ${plain(args[0]) ?? 'an agent'}: ${fieldsOf(args[1], EDIT_FIELDS).join(', ') || 'nothing'}`],
|
|
57
|
+
hold: ['redline', (args) => `Director put ${plain(args[0]) ?? 'an agent'} on hold`],
|
|
57
58
|
resume: ['redline', 'Director resumed'],
|
|
58
59
|
answer: ['answer', (args) => `Director answered ${plain(args[0]) ?? 'an agent'}: ${isRecord(args[1]) && args[1].go === true ? 'go' : 'no-go'}`],
|
|
59
60
|
startPoll: ['poll', 'Director started a T-minus poll'],
|
|
@@ -62,6 +63,24 @@ export const HUB_AUDIT = {
|
|
|
62
63
|
clearPoll: ['poll', 'Director cleared the poll'],
|
|
63
64
|
setGovernor: ['config', (_args, result) => `Director set Max Q to ${isRecord(result) && typeof result.limit === 'number' ? `${result.limit} working` : 'no limit'}`],
|
|
64
65
|
};
|
|
66
|
+
/** Relief: the Director's go or no-go to a hire request, by the request's id (never the name, role, directory or text of the request). */
|
|
67
|
+
export const RELIEF_AUDIT = {
|
|
68
|
+
decide: ['answer', (args) => `Director answered hire request ${plain(args[0]) ?? '?'}: ${args[1] === 'go' ? 'go' : 'no-go'}`],
|
|
69
|
+
};
|
|
70
|
+
/** Missions: who made or changed a mission, and what kind of change (the status, never a name, goal or note). */
|
|
71
|
+
export const MISSIONS_AUDIT = {
|
|
72
|
+
create: ['plan', (args, result) => `${actorName(args[0])} created mission ${isRecord(result) ? (plain(result.id) ?? '?') : '?'}`],
|
|
73
|
+
update: [
|
|
74
|
+
'plan',
|
|
75
|
+
(args) => {
|
|
76
|
+
const input = isRecord(args[2]) ? args[2] : {};
|
|
77
|
+
const status = MISSION_STATUSES.includes(input.status) ? ` status ${String(input.status)}` : '';
|
|
78
|
+
const other = ['name', 'goal', 'lead', 'note'].filter((k) => input[k] !== undefined).join(' ');
|
|
79
|
+
return `${actorName(args[0])} updated mission ${plain(args[1]) ?? '?'}:${status}${other === '' ? '' : ` ${other}`}`;
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
remove: ['plan', (args) => `Director removed mission ${plain(args[0]) ?? '?'}${args[1] === true ? ' and unlinked its tasks' : ''}`],
|
|
83
|
+
};
|
|
65
84
|
/** Flight Plan: who made or changed a task, and what kind of change (the status and the assignee, never a title, detail or note). */
|
|
66
85
|
export const TASKS_AUDIT = {
|
|
67
86
|
create: ['plan', (args, result) => `${actorName(args[0])} created task ${isRecord(result) ? (plain(result.id) ?? '?') : '?'}`],
|
|
@@ -109,7 +128,11 @@ export const SCHEDULES_AUDIT = {
|
|
|
109
128
|
remove: ['config', 'Director removed schedule'],
|
|
110
129
|
run: ['config', 'Director ran schedule'],
|
|
111
130
|
};
|
|
112
|
-
export const PROPELLANT_AUDIT = {
|
|
131
|
+
export const PROPELLANT_AUDIT = {
|
|
132
|
+
setLimits: ['config', 'Director changed the Propellant limits'],
|
|
133
|
+
setBudget: ['config', 'Director changed the Propellant budget'],
|
|
134
|
+
};
|
|
135
|
+
export const PRICES_AUDIT = { replace: ['config', 'Director changed the model prices'], remove: ['config', 'Director removed a model price'] };
|
|
113
136
|
export const RELAY_AUDIT = {
|
|
114
137
|
set: ['config', 'Director set up Relay target'],
|
|
115
138
|
remove: ['config', 'Director removed Relay target'],
|
package/dist/server/cleanroom.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* setting, checks Docker and the repository, makes the worktree once and builds the `docker run` arguments. The launcher
|
|
4
4
|
* puts them together with the files and the environment of a Claude Code start.
|
|
5
5
|
*/
|
|
6
|
-
import { execFile } from 'node:child_process';
|
|
7
6
|
import { createHash } from 'node:crypto';
|
|
8
7
|
import { lookup } from 'node:dns/promises';
|
|
9
|
-
import { lstat, mkdir, realpath
|
|
8
|
+
import { lstat, mkdir, realpath } from 'node:fs/promises';
|
|
10
9
|
import { hostname } from 'node:os';
|
|
11
|
-
import { basename,
|
|
10
|
+
import { basename, join } from 'node:path';
|
|
12
11
|
import { CLEAN_ROOM_DIR, cleanRoomBranch } from '../shared/protocol.js';
|
|
13
|
-
import {
|
|
12
|
+
import { cwdInWorktree, ensureWorktree, messageOf, run, topOf } from './worktree.js';
|
|
13
|
+
export { ensureWorktree };
|
|
14
|
+
import { CLEAN_ROOM_DEFAULT_IMAGE, CLEAN_ROOM_HOME_DIR, CLEAN_ROOM_HOST, CLEAN_ROOM_IMAGE_ENV, CLEAN_ROOM_IMAGE_PATTERN, CLEAN_ROOM_NETWORK_ENV, CLEAN_ROOM_NETWORK_PATTERN, CLEAN_ROOM_NETWORK_SELF, DIR_MODE, DOCKER_BIN, } from './constants.js';
|
|
14
15
|
const IMAGE_RE = new RegExp(CLEAN_ROOM_IMAGE_PATTERN);
|
|
15
16
|
const NETWORK_RE = new RegExp(CLEAN_ROOM_NETWORK_PATTERN);
|
|
16
17
|
const isRecord = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
17
|
-
const messageOf = (error) => (error instanceof Error ? error.message : String(error));
|
|
18
18
|
/** The one reader of a Clean Room setting: the hub uses it for hire and edit, home.ts for the roster file. `{}` is the default image. */
|
|
19
19
|
export function parseCleanRoom(value, provider) {
|
|
20
20
|
if (!isRecord(value))
|
|
@@ -67,18 +67,6 @@ export function sameMountError(mounts, homeDir, container) {
|
|
|
67
67
|
return null;
|
|
68
68
|
return `gonogo's home ${homeDir} is not mounted into the container ${container} from the same path of the host: the host's Docker mounts a Clean Room's folders by their host paths, so mount it as -v ${homeDir}:${homeDir}`;
|
|
69
69
|
}
|
|
70
|
-
/** Runs a program without a shell and answers its output. A failure is an Error whose text is the first line the program printed on stderr. */
|
|
71
|
-
function run(file, args, env) {
|
|
72
|
-
return new Promise((resolve, reject) => {
|
|
73
|
-
execFile(file, args, { env: env, timeout: CLEAN_ROOM_COMMAND_MS, maxBuffer: 1024 * 1024 }, (error, stdout, stderr) => {
|
|
74
|
-
if (error === null)
|
|
75
|
-
return resolve(stdout);
|
|
76
|
-
const code = error.code;
|
|
77
|
-
const line = stderr.split('\n').find((l) => l.trim() !== '')?.trim() ?? error.message.split('\n')[0] ?? '';
|
|
78
|
-
reject(new Error(code === 'ENOENT' ? `${file} was not found on PATH` : line.slice(0, 300)));
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
70
|
/** Docker is there and its daemon answers: `docker version` exits 0 only then. */
|
|
83
71
|
export async function checkDocker(env) {
|
|
84
72
|
try {
|
|
@@ -89,14 +77,7 @@ export async function checkDocker(env) {
|
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
/** The top folder of the git repository that holds `dir`. */
|
|
92
|
-
export
|
|
93
|
-
try {
|
|
94
|
-
return (await run(GIT_BIN, ['-C', dir, 'rev-parse', '--show-toplevel'], env)).trim();
|
|
95
|
-
}
|
|
96
|
-
catch (error) {
|
|
97
|
-
throw new Error(`Clean Room needs the directory to be inside a git repository: ${messageOf(error)}`);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
80
|
+
export const repoRoot = (dir, env) => topOf(dir, env, 'Clean Room needs');
|
|
100
81
|
/** What the hub asks at hire and edit: null when Docker works and `dir` is in a repository, else why not. */
|
|
101
82
|
export async function checkCleanRoom(dir, env) {
|
|
102
83
|
try {
|
|
@@ -109,27 +90,6 @@ export async function checkCleanRoom(dir, env) {
|
|
|
109
90
|
return messageOf(error);
|
|
110
91
|
}
|
|
111
92
|
}
|
|
112
|
-
/** Makes the worktree on its branch the first time and finds it again after that. A folder in its place that git does not know is an error, never reused. */
|
|
113
|
-
export async function ensureWorktree(repo, path, branch, env) {
|
|
114
|
-
const git = (...args) => run(GIT_BIN, ['-C', repo, ...args], env);
|
|
115
|
-
const real = await realpath(path).catch(() => null);
|
|
116
|
-
if (real !== null) {
|
|
117
|
-
const listed = (await git('worktree', 'list', '--porcelain')).split('\n').filter((l) => l.startsWith('worktree ')).map((l) => l.slice(9));
|
|
118
|
-
if (!(await Promise.all(listed.map((p) => realpath(p).catch(() => p)))).includes(real)) {
|
|
119
|
-
throw new Error(`${path} exists but is not a worktree of ${repo}; move it away or give the agent a folder of the repository it was made for`);
|
|
120
|
-
}
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
await mkdir(dirname(path), { recursive: true, mode: DIR_MODE });
|
|
124
|
-
try {
|
|
125
|
-
await git('worktree', 'prune'); // a worktree whose folder was deleted still holds its branch
|
|
126
|
-
const known = await git('show-ref', '--verify', '--quiet', `refs/heads/${branch}`).then(() => true, () => false);
|
|
127
|
-
await git('worktree', 'add', ...(known ? [path, branch] : ['-b', branch, path]));
|
|
128
|
-
}
|
|
129
|
-
catch (error) {
|
|
130
|
-
throw new Error(`could not make the worktree ${path} on ${branch}: ${messageOf(error)}`);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
93
|
/** `gonogo-<name>-<hash of the worktree path>`: two gonogo homes on one Docker never share a name. */
|
|
134
94
|
export const containerName = (worktree) => `gonogo-${basename(worktree)}-${createHash('sha256').update(worktree).digest('hex').slice(0, 12)}`;
|
|
135
95
|
/**
|
|
@@ -163,11 +123,7 @@ export async function prepareCleanRoom(agent, homeDir, base, env) {
|
|
|
163
123
|
const top = await realpath(await repoRoot(agent.dir, env));
|
|
164
124
|
const worktree = join(homeDir, CLEAN_ROOM_DIR, agent.name);
|
|
165
125
|
await ensureWorktree(top, worktree, cleanRoomBranch(agent.name), env);
|
|
166
|
-
const
|
|
167
|
-
const cwd = join(worktree, inside);
|
|
168
|
-
if (!(await stat(cwd).then((info) => info.isDirectory(), () => false))) {
|
|
169
|
-
throw new Error(`${inside} is not in the worktree ${worktree}: the worktree is a copy of the last commit, and that folder is not committed`);
|
|
170
|
-
}
|
|
126
|
+
const cwd = await cwdInWorktree(top, worktree, agent.dir);
|
|
171
127
|
const container = containerName(worktree);
|
|
172
128
|
await removeContainer(container, env);
|
|
173
129
|
const home = join(base, CLEAN_ROOM_HOME_DIR);
|