diff --git a/landing/README.md b/landing/README.md
index 4b2acfb..6d5dec1 100644
--- a/landing/README.md
+++ b/landing/README.md
@@ -7,3 +7,13 @@ To embed the unlisted demo, create `.env.local` in this directory containing `VI
The interactive scenarios are illustrations of the proposed site-safety workflow; they do not call a wallet or external service.
The extension download is a prototype ZIP at `public/bound-extension.zip`. To refresh it after changing the extension, run `node apps/extension/build.mjs` from the repository root, then `python landing/scripts/package-extension.py`. The packager includes only the extension's build files and excludes browser profiles and local data. Users must extract the ZIP and load it as an unpacked extension in Chromium.
+
+## Testing route
+
+Open `/testing` (for example `http://127.0.0.1:5173/testing`) or use **Testing** in the landing navigation. Vite development and preview servers support direct route loads; a production static host must rewrite `/testing` and `/testing/` to `index.html`.
+
+The five judge cases call the actual decoder, transaction policy engine and frontend comparator with synthetic request/evidence fixtures. They cover a trusted approval (100), no baseline (unknown), unknown spender (35), corroborated hash conflict with a risky approval (15, fallback eligible), and stale evidence (15, fallback suppressed). The route applies the default score gate of `<16` in addition to frontend eligibility. It does not simulate ticket creation, browser document binding or cancellation acknowledgements.
+
+Run each case manually, toggle stale/immature/fewer-reporter/drift inputs, inspect the computed JSON, try Cancel/Continue/typed confirmation and advance the review deadline. **Evaluate all five** produces one result per case and **Export report** downloads those results. **Open Swarm report** is a manual presentation navigation with no extension ticket; **Connect real wallet** separately issues only `eth_requestAccounts` through the installed wallet/BOUND path. No real wallet approvals are requested by the fixtures.
+
+Run `npm test` and `npm run build` in this directory. Source basis: `Docs/BOUND_Final_Architecture.md`, `Docs/BOUND_Technical_Architecture_and_Security_Whitepaper.md`, the decoder/policy implementation and `apps/extension/frontend-redirect.mjs`. The architecture documents contain proposed features; the workbench reports implemented decision logic only.
diff --git a/landing/package.json b/landing/package.json
index 5adb58c..4448c8f 100644
--- a/landing/package.json
+++ b/landing/package.json
@@ -6,7 +6,8 @@
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "vite build",
- "preview": "vite preview --host 127.0.0.1"
+ "preview": "vite preview --host 127.0.0.1",
+ "test": "node --test src/sim/engine.test.mjs src/testing/cases.test.mjs"
},
"dependencies": {
"@gsap/react": "^2.1.2",
diff --git a/landing/src/footer/Footer.jsx b/landing/src/footer/Footer.jsx
index 1aa919a..a7bd50b 100644
--- a/landing/src/footer/Footer.jsx
+++ b/landing/src/footer/Footer.jsx
@@ -2,7 +2,7 @@ import React from 'react';
import { Logo } from '../lib/shared.jsx';
import './footer.css';
-const links = [['The problem', '#problem'], ['The record', '#record'], ['How it works', '#how'], ['Simulation', '#simulation'], ['Technology', '#stack'], ['Demo', '#demo']];
+const links = [['The problem', '#problem'], ['The record', '#record'], ['How it works', '#how'], ['Simulation', '#simulation'], ['Technology', '#stack'], ['Demo', '#demo'], ['Testing', '/testing']];
export default function Footer() {
return
Five cases. Inspect the inputs, change the evidence, and see what BOUND actually computes.
Real decision code. Controlled inputs.
This page calls the repository’s decoder, policy engine and frontend comparator with fictional addresses and records. It does not publish to Arkiv, write ENS, or send transactions.
Wallet connection below is a separate live action. Browser mediation and gateway availability need their own verification.
{result.score===null?'Unknown: no usable baseline. Missing evidence does not establish safety.':'Higher means stronger policy support. This score is not a measured probability of safety.'}
Choose inputs, then evaluate. Results are computed on demand.
}
+
+
SEPARATE LIVE CHECK
Test the installed extension.
Connect your wallet here to exercise BOUND’s real connection interception. The five fixtures above do not change the installed extension’s score for this origin.
{wallet || 'Requires a wallet extension. No signing or transaction requests.'}
+
Implementation: packages/decoder · packages/policy-core · packages/policy-core/frontend.mjs. Inspired by the final architecture and security whitepaper; proposed features are not presented as implemented.
+
+
;
+}
diff --git a/landing/src/testing/cases.js b/landing/src/testing/cases.js
new file mode 100644
index 0000000..d32886c
--- /dev/null
+++ b/landing/src/testing/cases.js
@@ -0,0 +1,175 @@
+// Interactive judge cases.
+//
+// Every INPUT here is a simulated fixture (fictional addresses, a fictional community record, a
+// fixed clock). Every RESULT comes from BOUND's own code, imported from the repository:
+// packages/decoder classifyRequest() → what the request would do
+// packages/policy-core evaluate() → score + verdict
+// packages/policy-core/frontend assessFrontend() → script comparison + fallback eligibility
+// The wiring mirrors apps/extension/sw.js: evaluate() runs first and its counterpartyRisk is passed
+// to assessFrontend() as one of the corroborating signals. No score in this file is hard-coded.
+import { classifyRequest } from '../../../packages/decoder/index.mjs';
+import { evaluate } from '../../../packages/policy-core/index.mjs';
+import { assessFrontend, FRONTEND_K, FRONTEND_MATURITY_MS } from '../../../packages/policy-core/frontend.mjs';
+import { A, approve } from '../sim/requests.js';
+import { THRESHOLDS } from '../sim/engine.js';
+import { SITE_POLICY } from '../sim/scenarios.js';
+
+export const SIMULATED = true;
+export const SITE = 'vault.example';
+export const NOW = Date.parse('2026-11-01T12:00:00.000Z'); // fixed clock so results are reproducible
+const iso = (ms) => new Date(ms).toISOString();
+
+// Valid sha256 SRI strings without Node's Buffer (this file also runs in the browser).
+const sri = (byte) => `sha256-${btoa(String.fromCharCode(...new Array(32).fill(byte)))}`;
+export const HASH = { published: sri(1), tampered: sri(2) };
+const SCRIPT_PATH = '/app.js';
+
+/** What the page actually loaded (simulated). */
+function observedFixture(hash) {
+ const scripts = [{ path: SCRIPT_PATH, hash }];
+ return {
+ version: 1, documentUrl: `https://${SITE}/`, scripts,
+ coverage: { total: 1, compared: 1, inlineExcluded: 0, queryExcluded: 0, crossOriginExcluded: 0, privatePathExcluded: 0, unavailable: 0, overCap: 0 },
+ };
+}
+
+/** The community frontend record (simulated). `immature` = first seen too recently; `unconfirmed` = too few reporters. */
+function recordFixture({ immature, unconfirmed }) {
+ const firstSeen = immature ? NOW - (FRONTEND_MATURITY_MS - 60_000) : NOW - 4 * FRONTEND_MATURITY_MS;
+ const reporters = unconfirmed ? FRONTEND_K - 1 : FRONTEND_K;
+ return {
+ schemaVersion: 1, kind: 'frontend', site: SITE, chainId: 1, updatedAt: iso(NOW),
+ scripts: [{ path: SCRIPT_PATH, hash: HASH.published, reporters, firstSeen: iso(firstSeen), lastSeen: iso(NOW), established: !immature && !unconfirmed }],
+ };
+}
+
+// Base settings per case. Overrides passed to runCase() are merged on top.
+const DEFAULTS = {
+ spender: 'trusted', // 'trusted' (router on the site list) | 'unknown' (unlisted address)
+ baseline: 'seeded', // 'seeded' | 'uncurated' | null (no baseline)
+ drift: false, // corroborated drift from the watcher
+ incident: false,
+ coverage: 'mediated', // 'mediated' | 'bypass_possible'
+ frontend: 'match', // 'match' | 'mismatch' | 'none' (no community record)
+ stale: false, // community data stale
+ immature: false, // published hash not yet past the maturity window
+ unconfirmed: false, // published hash has fewer than K reporters
+ frame: { isTop: true, sameOrigin: true },
+};
+
+export const CASES = [
+ {
+ id: 'trusted-normal',
+ title: 'Trusted approval on a normal day',
+ question: 'Does a routine approval to the site’s own router pass cleanly?',
+ description: 'Unlimited TOKEN approval to the swap router, which the curated snapshot lists. Page scripts match the established community hash. No drift.',
+ settings: {},
+ expected: { score: 100, verdict: 'green', redirectEligible: false },
+ },
+ {
+ id: 'no-baseline',
+ title: 'Site with nothing to compare against',
+ question: 'What does BOUND say when it has no baseline for the site?',
+ description: 'Same approval, but the site has no snapshot and no community record. BOUND must say “no score”, not “safe”.',
+ settings: { baseline: null, frontend: 'none' },
+ expected: { score: null, verdict: 'grey', redirectEligible: false },
+ },
+ {
+ id: 'unknown-spender',
+ title: 'Unknown spender, no drift',
+ question: 'Is an unlisted spender flagged even when nothing else looks wrong?',
+ description: 'Approval to an address the site does not normally use. Scripts match, no watcher drift. Expect a warning, not a fallback redirect.',
+ settings: { spender: 'unknown' },
+ expected: { score: 35, verdict: 'red', redirectEligible: false },
+ },
+ {
+ id: 'corroborated-conflict',
+ title: 'Tampered frontend plus drift',
+ question: 'When the scripts conflict with the established hash AND the watcher saw drift, is fallback offered?',
+ description: 'Unknown spender, page script hash differs from the mature community hash, and drift is corroborated. All three signals line up.',
+ settings: { spender: 'unknown', drift: true, frontend: 'mismatch' },
+ expected: { score: 15, verdict: 'escalated', redirectEligible: true },
+ },
+ {
+ id: 'weak-evidence',
+ title: 'Same mismatch, weak evidence',
+ question: 'Does stale or immature community data still trigger a redirect?',
+ description: 'Identical to the previous case, but the community data is stale. Toggle immature / unconfirmed to see the same suppression for other reasons.',
+ settings: { spender: 'unknown', drift: true, frontend: 'mismatch', stale: true },
+ expected: { score: 15, verdict: 'escalated', redirectEligible: false },
+ },
+].map(Object.freeze);
+
+const byId = Object.fromEntries(CASES.map((c) => [c.id, c]));
+
+const isOverridden = (overrides) => Object.keys(overrides).length > 0;
+
+/** Runs one case through the real decoder, policy engine and frontend assessment. Output is JSON-serialisable. */
+export function runCase(id, overrides = {}) {
+ const def = byId[id];
+ if (!def) throw new Error(`Unknown case: ${id}`);
+ const s = { ...DEFAULTS, ...def.settings, ...overrides };
+
+ const spender = s.spender === 'unknown' ? A.attacker : A.router;
+ const request = approve(A.token, spender);
+ const classification = classifyRequest(request);
+ const result = evaluate({
+ classification, policy: SITE_POLICY, baseline: s.baseline,
+ signerAccounts: [A.you], drift: Boolean(s.drift), witnessed: new Set(), coverage: s.coverage,
+ });
+
+ const observedHash = s.frontend === 'mismatch' ? HASH.tampered : HASH.published;
+ const record = s.frontend === 'none' ? null : recordFixture(s);
+ const assessment = assessFrontend({
+ observed: observedFixture(observedHash), record, now: NOW,
+ drift: Boolean(s.drift), incident: Boolean(s.incident), counterpartyRisk: result.counterpartyRisk,
+ frame: s.frame, dataState: s.stale ? 'stale' : 'fresh', ageMs: s.stale ? 6 * 3_600_000 : 0,
+ });
+
+ // frontend-redirect.mjs also requires a low numeric score before creating a ticket.
+ const redirectEligible = Number.isInteger(result.score) && result.score >= 0 && result.score < THRESHOLDS.red && assessment.redirectEligible;
+ const checks = {
+ spenderListed: spender === A.router,
+ baseline: s.baseline,
+ drift: Boolean(s.drift),
+ coverage: result.coverage,
+ counterpartyRisk: result.counterpartyRisk,
+ dataState: assessment.dataState,
+ corroborated: assessment.corroborated,
+ corroboratedBy: assessment.reasons,
+ frontendRecord: s.frontend === 'none' ? 'absent' : s.immature ? 'immature' : s.unconfirmed ? 'unconfirmed' : 'established',
+ };
+
+ const out = {
+ id,
+ simulated: SIMULATED,
+ score: result.score,
+ verdict: result.verdict,
+ comparison: assessment.comparison,
+ redirectEligible,
+ reasons: result.reasons,
+ checks,
+ request,
+ classification,
+ assessment,
+ explanation: explain(result, {...assessment, redirectEligible}, checks),
+ };
+ // Expectations describe the unmodified case only; a judge toggling inputs gets live results with no stale claim.
+ if (!isOverridden(overrides)) out.expected = def.expected;
+ return JSON.parse(JSON.stringify(out));
+}
+
+/** Plain-language summary, derived only from the computed results. */
+function explain(result, assessment, checks) {
+ const parts = [];
+ if (result.score === null) parts.push(`No score (${result.reasons[0] ?? result.verdict}). This is not a safe signal.`);
+ else parts.push(`Policy score ${result.score} → ${result.verdict}.`);
+ if (assessment.comparison === 'agree') parts.push('Page scripts match the established community hash.');
+ else if (assessment.comparison === 'conflict') parts.push('Page script hash conflicts with the established community hash.');
+ else if (assessment.comparison === 'unfamiliar') parts.push(`Page script has no established hash to compare against (${checks.frontendRecord}).`);
+ else parts.push('No frontend comparison was possible.');
+ if (assessment.redirectEligible) parts.push(`Fallback eligible: conflict corroborated by ${assessment.reasons.join(', ')}.`);
+ else if (assessment.comparison === 'conflict' && !assessment.corroborated) parts.push(`Fallback suppressed: community data is ${assessment.dataState}, so nothing corroborates the conflict.`);
+ else parts.push('No fallback redirect.');
+ return parts.join(' ');
+}
diff --git a/landing/src/testing/cases.test.mjs b/landing/src/testing/cases.test.mjs
new file mode 100644
index 0000000..7296d0e
--- /dev/null
+++ b/landing/src/testing/cases.test.mjs
@@ -0,0 +1,103 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import { CASES, runCase, SIMULATED } from './cases.js';
+
+const ids = CASES.map((c) => c.id);
+
+test('five cases with the documented shape', () => {
+ assert.equal(CASES.length, 5);
+ assert.equal(new Set(ids).size, 5);
+ for (const c of CASES) for (const key of ['id', 'title', 'question', 'description']) assert.equal(typeof c[key], 'string', `${c.id}.${key}`);
+});
+
+test('results are JSON-serialisable and labelled as simulated inputs', () => {
+ assert.equal(SIMULATED, true);
+ for (const id of ids) {
+ const r = runCase(id);
+ assert.deepEqual(JSON.parse(JSON.stringify(r)), r, id);
+ assert.equal(r.simulated, true);
+ for (const key of ['id', 'score', 'verdict', 'comparison', 'redirectEligible', 'reasons', 'request', 'classification', 'assessment', 'explanation']) assert.ok(key in r, `${id} missing ${key}`);
+ }
+});
+
+test('each unmodified case meets its stated expectation (computed, not copied)', () => {
+ for (const id of ids) {
+ const r = runCase(id);
+ assert.ok(r.expected, id);
+ assert.deepEqual({ score: r.score, verdict: r.verdict, redirectEligible: r.redirectEligible }, r.expected, id);
+ }
+});
+
+test('outcomes per case', () => {
+ const trusted = runCase('trusted-normal');
+ assert.deepEqual([trusted.score, trusted.comparison, trusted.redirectEligible, trusted.reasons], [100, 'agree', false, []]);
+
+ const none = runCase('no-baseline');
+ assert.equal(none.score, null);
+ assert.equal(none.verdict, 'grey');
+ assert.equal(none.comparison, 'none');
+ assert.equal(none.redirectEligible, false);
+ assert.match(none.explanation, /not a safe signal/);
+
+ const unknown = runCase('unknown-spender');
+ assert.equal(unknown.score, 35);
+ assert.equal(unknown.checks.counterpartyRisk, true);
+ assert.equal(unknown.comparison, 'agree');
+ assert.equal(unknown.redirectEligible, false, 'a risky spender alone never redirects');
+
+ const conflict = runCase('corroborated-conflict');
+ assert.equal(conflict.score, 15);
+ assert.equal(conflict.comparison, 'conflict');
+ assert.equal(conflict.assessment.corroborated, true);
+ assert.ok(conflict.assessment.reasons.includes('drift'));
+ assert.equal(conflict.redirectEligible, true);
+
+ const weak = runCase('weak-evidence');
+ assert.equal(weak.score, 15, 'weak frontend evidence does not change the policy score');
+ assert.equal(weak.comparison, 'conflict');
+ assert.equal(weak.redirectEligible, false);
+});
+
+test('stale, immature and unconfirmed evidence each suppress fallback', () => {
+ assert.equal(runCase('weak-evidence', { stale: false }).redirectEligible, true, 'control: fresh mature evidence redirects');
+ const stale = runCase('corroborated-conflict', { stale: true });
+ assert.deepEqual([stale.assessment.dataState, stale.assessment.corroborated, stale.redirectEligible], ['stale', false, false]);
+ for (const flag of ['immature', 'unconfirmed']) {
+ const r = runCase('corroborated-conflict', { [flag]: true });
+ assert.equal(r.comparison, 'unfamiliar', flag);
+ assert.equal(r.redirectEligible, false, flag);
+ assert.equal(r.checks.frontendRecord, flag);
+ }
+});
+
+test('mismatch without corroboration does not redirect', () => {
+ const r = runCase('trusted-normal', { frontend: 'mismatch' });
+ assert.equal(r.comparison, 'conflict');
+ assert.equal(r.assessment.corroborated, false);
+ assert.equal(r.redirectEligible, false);
+});
+
+test('non-top or cross-origin frame never redirects', () => {
+ for (const frame of [{ isTop: false, sameOrigin: true }, { isTop: true, sameOrigin: false }, { isTop: true, sameOrigin: true, ambiguous: true }]) {
+ assert.equal(runCase('corroborated-conflict', { frame }).redirectEligible, false, JSON.stringify(frame));
+ }
+});
+
+test('overrides drive the real engine', () => {
+ assert.equal(runCase('corroborated-conflict', { drift: false }).score, 35);
+ const bypass = runCase('trusted-normal', { coverage: 'bypass_possible' });
+ assert.equal(bypass.verdict, 'grey', 'green is withheld when a wallet path may bypass BOUND');
+ assert.equal(bypass.score, null);
+ assert.equal('expected' in runCase('trusted-normal', { drift: true }), false, 'overridden runs carry no expectation');
+});
+
+test('unknown case id throws', () => {
+ assert.throws(() => runCase('nope'), /Unknown case/);
+});
+
+test('frontend conflict cannot redirect when the policy score is above the red threshold', () => {
+ const result=runCase('corroborated-conflict',{drift:false});
+ assert.equal(result.score,35);
+ assert.equal(result.assessment.redirectEligible,true);
+ assert.equal(result.redirectEligible,false);
+});
diff --git a/landing/src/testing/testing.css b/landing/src/testing/testing.css
new file mode 100644
index 0000000..6994d58
--- /dev/null
+++ b/landing/src/testing/testing.css
@@ -0,0 +1,2 @@
+.testing-page{--ink:#141511;--accent:#e5ff54;min-height:100vh;background:#f5f5ee;color:var(--ink);font-family:Arial,sans-serif}.lab-nav{display:flex;align-items:center;justify-content:space-between;padding:24px 5%;border-bottom:1px solid #d3d5c8}.lab-brand{font:bold 30px Arial;letter-spacing:-2px}.lab-brand span{color:#6e7d19}.lab-nav>span,.lab-eyebrow{font:11px monospace;letter-spacing:1.4px}.lab-nav>a:last-child{font-size:13px}.lab-main{max-width:1400px;margin:auto;padding:65px 5%}.lab-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:end;margin-bottom:45px}.lab-intro h1{font:clamp(52px,7vw,94px)/.98 'Instrument Serif',Georgia,serif;letter-spacing:-2px;margin:20px 0}.lab-sub{max-width:440px;font-size:17px;line-height:1.6;color:#55594c}.lab-scope{border-left:3px solid #c4ce85;padding:6px 0 6px 25px;font-size:14px;line-height:1.7;color:#5a5e50}.lab-scope b{color:#141511}.lab-toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #cdd0c0;font:12px monospace}.lab-toolbar>div,.lab-actions>div{display:flex;gap:8px;flex-wrap:wrap}.testing-page button{border:1px solid #c5c8b9;background:transparent;padding:10px 14px;border-radius:5px;font:13px Arial;cursor:pointer;color:inherit}.testing-page button:disabled{opacity:.45;cursor:not-allowed}.testing-page button:hover:not(:disabled){background:#e6e8da}.lab-workbench{display:grid;grid-template-columns:310px minmax(0,1fr);gap:28px}.lab-cases{display:flex;flex-direction:column;gap:10px}.lab-cases button{display:flex;align-items:flex-start;text-align:left;gap:14px;padding:21px 14px;min-height:100px}.lab-cases button[aria-pressed=true]{background:#171a12;color:white;border-color:#171a12}.lab-cases button[aria-pressed=true]:hover{background:#282e1e}.lab-number{font:12px monospace;color:#7d875d}.lab-cases strong{display:block;font-size:14px;line-height:1.5}.lab-cases small{display:block;font-size:11px;line-height:1.5;margin-top:8px;opacity:.7}.lab-cases button>span:last-child{margin-left:auto}.lab-panel{background:white;border:1px solid #d4d7c9;border-radius:12px;padding:32px;min-height:580px}.lab-panel h2,.lab-live h2{font:34px/1.15 'Instrument Serif',Georgia,serif;margin:15px 0}.lab-panel>p{font-size:14px;line-height:1.7;color:#62665b}.lab-switches{display:flex;flex-wrap:wrap;gap:13px;border:0;border-top:1px solid #e0e2d7;margin:24px 0 18px;padding:18px 0 0}.lab-switches legend{font-size:12px;padding-right:10px}.lab-switches label{font-size:12px;display:flex;gap:6px;align-items:center}.lab-switches input{accent-color:#434e1d}.testing-page .lab-run{background:#e5ff54;border-color:#d5e668;font-weight:bold;width:100%;padding:16px}.testing-page .lab-run:hover{background:#d2e84e}.lab-empty{padding:50px 10px;color:#787d6d;text-align:center;font-size:14px}.lab-result{margin-top:28px;border-top:1px solid #e0e2d7;padding-top:22px}.lab-result-top{display:flex;justify-content:space-between;align-items:center}.lab-score{display:block;font:66px Georgia,serif;letter-spacing:-2px}.lab-score small{font:18px Arial;letter-spacing:0;color:#858a7b}.lab-verdict{background:#eef0e7;padding:8px 13px;border-radius:20px;font:12px monospace;text-transform:uppercase}.lab-result[data-verdict=green] .lab-verdict{background:#dff6dc;color:#256422}.lab-result[data-verdict=escalated] .lab-verdict{background:#ffe5da;color:#8b3617}.lab-result>p,.lab-result li{font-size:13px;line-height:1.7;color:#5e6355}.lab-evidence{font-size:13px}.lab-evidence>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eee;padding:12px 0}.lab-evidence dt{color:#747869}.lab-evidence dd{text-align:right;margin:0;max-width:65%}.lab-actions{border:1px solid #dce0d1;border-radius:6px;padding:18px;margin:22px 0;background:#f8f9f3}.lab-actions h3{font-size:13px;margin:0 0 15px}.lab-actions label{display:block;font-size:13px;margin-bottom:12px}.lab-actions input{display:block;padding:10px;margin-top:7px;width:100%;border:1px solid #a8ad99;font:14px monospace}.lab-actions p{font-size:12px;line-height:1.6;margin-bottom:0}.lab-swarm{display:block;background:#1c2113;color:#eff6d6;padding:15px;text-align:center;border-radius:5px;font-size:14px;margin:15px 0}.lab-result details{font-size:12px;margin-top:22px}.lab-result summary{cursor:pointer;padding:10px 0}.lab-result pre{max-height:350px;overflow:auto;background:#f3f4ec;padding:18px;font:11px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere}.lab-live{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;margin-top:45px;padding:30px;border:1px solid #c6cdab;background:#ecefdc;border-radius:10px}.lab-live p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.lab-live>div:last-child{align-self:center}.lab-live button{background:#1a2110;color:white}.lab-footnote{font:11px/1.8 monospace;color:#777d6a;margin-top:30px}@media(max-width:800px){.lab-intro,.lab-live{grid-template-columns:1fr;gap:20px}.lab-workbench{grid-template-columns:1fr}.lab-cases{display:grid;grid-template-columns:1fr 1fr}.lab-main{padding-top:30px}.lab-toolbar{align-items:start;gap:14px;flex-direction:column}.lab-panel{padding:22px}.lab-nav>span{display:none}}@media(max-width:450px){.lab-cases{grid-template-columns:1fr}.lab-evidence>div{flex-direction:column;gap:7px}.lab-evidence dd{text-align:left;max-width:100%}}
+.lab-panel,.lab-cases,.lab-switches,.lab-actions{min-width:0}.lab-workbench>*,.lab-intro>*,.lab-live>*{min-width:0}.lab-cases button>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.lab-evidence dd{overflow-wrap:anywhere}.lab-actions input{min-width:0}@media(max-width:800px){.lab-workbench{grid-template-columns:minmax(0,1fr)}}