web: gated access, anchored viewers, mobile tabs and chat colour

- serve.mjs requires a signed session cookie for every page, artifact and the
  WebSocket, with a password file, 30-day sessions, login throttling and public
  brand assets for the sign-in page.
- The diff viewer is a fixed-height top-anchored panel whose toolbar (modes,
  copy, previous, next, close as icons) is its first row; the artifact viewer is
  likewise a fixed frame so its navigation never moves.
- The audit's selected tab uses the app's normal selected surface and bottom
  accent. Sessions that were not recorded say so plainly.
- Chat code blocks are syntax-coloured; graph pinch-zoom works with two fingers
  while a single pointer still pans and clicks nodes.
- Phones always keep the destination bar (pane collapse is wide-only), with the
  destinations spread evenly and Search on the right; the list default width is
  narrower; the theme colour matches the app.
- Code-format and layout tests, plus the full browser suite, pass.
This commit is contained in:
2026-10-20 02:21:51 +01:00
parent d7763ec466
commit ebf02c3bed
17 changed files with 558 additions and 42 deletions
+17 -3
View File
@@ -529,9 +529,8 @@ body {
.pane-layout {
/* A grid track is sized from its MAX before the free track is resolved, so
minmax(200px, 360px) beside 1fr took 360px and clipped the detail to 40px
at 600px. Cap the list where the workspace is narrow; widen it only when
there is room for both. */
cap the list where the workspace is narrow; widen it only when there is
room for both. */
grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
}
@@ -601,3 +600,18 @@ body {
.dock-status-row { display: flex; align-items: stretch; gap: 2px; }
.dock-status-row .dock-status { flex: 1 1 auto; min-width: 0; }
.dock-settings { width: 56px; height: 48px; }
/* The collapsed rail keeps the status and its settings icon inside the strip. */
.app-rail.collapsed .rail-footer-row { flex-direction: column; gap: 4px; width: 100%; }
.app-rail.collapsed .rail-footer-row .shell-status { flex: 0 0 auto; width: 40px; justify-content: center; padding: 0; }
.app-rail.collapsed .rail-footer-row .shell-status-dot { margin: 0; }
/* A phone always shows the destination bar; pane collapse is a wide affordance. */
@media (max-width: 599px) {
#listCollapse { display: none; }
.dock-tabs { flex: 1 1 auto; }
.dock-item,
.dock-search { flex: 1 1 0; width: auto; min-width: 0; }
}