// Standalone entry for /workbench.html.
//
// The shell itself is a pure component: everything that touches document.body or
// the URL at import time lives here, so that project-shell can import and render
// without side effects on its own document.
import { createRoot } from "react-dom/client";
import { installNavigation, readNavigationContext } from "./navigation.js";
import { installUiAccessibility } from "./ui-accessibility.js";
import { WorkbenchShell } from "./workbench-shell.js";
installNavigation("workbench", readNavigationContext());
installUiAccessibility();
const container = document.querySelector("#app");
if (!container) throw new Error("workbench entry: #app container is missing");
// Lock the page to the viewport so the three-column layout can hand its own
// scrollbars to the left and right panels (see panel-scroll.css).
document.documentElement.classList.add("stage-lock");
createRoot(container).render();