{"schema":"f250.library-documents/v1","extractor_version":"3","ocr_enabled":true,"document_id":"doc-320666a0b851f8dc975f","title":"generate_tokenization_entity_map","work_ids":["artifact:320666a0b851f8dc"],"source":{"scope":"workbench","path":"Research Packages/Fintech and Private Rails/Tokenization Entity and Control Map 2026-09-01/generate_tokenization_entity_map.py"},"source_sha256":"0852fb89d15968c460d7f595b920f6094870307c4b11d8f74a52a6946d4050cd","format":".py","evidence_cutoffs":{"artifact:320666a0b851f8dc":""},"text":"#!/usr/bin/env python3\n\"\"\"Validate the entity registry and generate the standalone Research Desk visual.\"\"\"\n\nfrom __future__ import annotations\n\nimport json\nfrom pathlib import Path\n\n\nROOT = Path(__file__).resolve().parent\nREGISTRY = ROOT / \"TOKENIZATION_ENTITY_RELATIONSHIP_REGISTRY_2026-09-01.json\"\nFIELD_GUIDE = ROOT / \"technology_field_guide.json\"\nTECHNOLOGY_BUILDOUT = ROOT / \"TECHNOLOGY_BUILDOUT_LEDGER_2026-09-27.json\"\nCORPORATE_STACK = ROOT / \"CORPORATE_STACK_COMPARISON_2026-09-17.json\"\nBANK_TRANSITION = ROOT / \"BANK_TRANSITION_COMPARISON_2026-09-26.json\"\nSECURITIZE_ANATOMY = ROOT / \"SECURITIZE_INFRASTRUCTURE_ANATOMY_2026-09-17.json\"\nSTACK_EXPANSION = ROOT / \"STACK_EXPANSION_2026-09-17.json\"\nTRANSITION_GATES = ROOT / \"TRANSITION_GATES_2026-09-22.json\"\nFED_GENIUS_HUB = ROOT / \"FED_GENIUS_INFRASTRUCTURE_CHANGE_MAP_2026-09-24.json\"\nOUTPUT = ROOT / \"outputs\" / \"Tokenization Entity and Control Map.html\"\n\n\ndef unique_ids(items: list[dict], label: str) -> set[str]:\n    ids = [item.get(\"id\") for item in items]\n    if any(not value for value in ids):\n        raise ValueError(f\"{label} contains an empty id\")\n    if len(ids) != len(set(ids)):\n        raise ValueError(f\"{label} contains duplicate ids\")\n    return set(ids)\n\n\ndef validate(data: dict) -> None:\n    lane_ids = unique_ids(data[\"lanes\"], \"lanes\")\n    type_ids = unique_ids(data[\"relationship_types\"], \"relationship types\")\n    lens_ids = unique_ids(data[\"lenses\"], \"lenses\")\n    node_ids = unique_ids(data[\"nodes\"], \"nodes\")\n    edge_ids = unique_ids(data[\"edges\"], \"edges\")\n    source_ids = unique_ids(data[\"sources\"], \"sources\")\n    ecosystem_ids = unique_ids(data[\"ecosystems\"], \"ecosystems\")\n    clock_ids = unique_ids(data[\"operational_states\"], \"operational states\")\n    trace_ids = unique_ids(data[\"asset_traces\"], \"asset traces\")\n    process_role_ids = unique_ids(data[\"process_roles\"], \"process roles\")\n    scale_state_ids = unique_ids(data[\"scale_states\"], \"scale states\")\n    stress_state_ids = unique_ids(data[\"stress_states\"], \"stress states\")\n    process_ids = unique_ids(data[\"process_maps\"], \"process maps\")\n    edges_by_id = {edge[\"id\"]: edge for edge in data[\"edges\"]}\n\n    guide = data[\"technology_field_guide\"]\n    category_ids = unique_ids(guide[\"categories\"], \"field guide categories\")\n    profiles = guide[\"profiles\"]\n    profile_ids = {profile.get(\"ecosystem_id\") for profile in profiles}\n    guide_ecosystem_ids = ecosystem_ids - set(data.get(\"current_stack_ids\", []))\n    if profile_ids != guide_ecosystem_ids or len(profiles) != len(guide_ecosystem_ids):\n        raise ValueError(\"field guide must contain exactly one profile for every tracked technology ecosystem\")\n    required_guide_fields = {\n        \"plain_name\", \"category\", \"what_it_is\", \"why_following\", \"differentiator_status\",\n        \"differentiator\", \"differentiator_boundary\", \"how_it_works\", \"controls\",\n        \"does_not_control\", \"attachments\", \"observed_state\", \"watch_for\",\n        \"do_not_confuse\", \"source_ids\",\n    }\n    for profile in profiles:\n        if required_guide_fields - set(profile):\n            raise ValueError(f\"incomplete field guide profile: {profile.get('ecosystem_id')}\")\n        if profile[\"category\"] not in category_ids:\n            raise ValueError(f\"unknown field guide category: {profile['category']}\")\n        if profile[\"differentiator_status\"] not in {\"meaningful\", \"contextual\", \"not_established\"}:\n            raise ValueError(f\"invalid differentiator status: {profile['ecosystem_id']}\")\n        for key in (\"plain_name\", \"what_it_is\", \"why_following\", \"differentiator\", \"differentiator_boundary\", \"observed_state\"):\n            if not isinstance(profile[key], str) or not profile[key].strip():\n                raise ValueError(f\"empty field guide value {profile['ecosystem_id']}/{key}\")\n        for key in (\"how_it_works\", \"controls\", \"does_not_control\", \"attachments\", \"watch_for\", \"do_not_confuse\", \"source_ids\"):\n            if not profile[key] or not all(isinstance(value, str) and value.strip() for value in profile[key]):\n                raise ValueError(f\"empty field guide list {profile['ecosystem_id']}/{key}\")\n        if set(profile[\"attachments\"]) - {\"banks\", \"markets\", \"records\", \"cash\"}:\n            raise ValueError(f\"invalid field guide attachment: {profile['ecosystem_id']}\")\n        if set(profile[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown field guide source: {profile['ecosystem_id']}\")\n    if len(guide.get(\"quick_distinctions\", [])) < 3 or any(\n        not item.get(\"title\") or not item.get(\"explanation\") for item in guide[\"quick_distinctions\"]\n    ):\n        raise ValueError(\"field guide quick distinctions are incomplete\")\n\n    buildout = data[\"technology_buildout\"]\n    buildout_state_ids = unique_ids(buildout[\"states\"], \"technology buildout states\")\n    buildout_profiles = buildout[\"profiles\"]\n    buildout_profile_ids = {profile.get(\"ecosystem_id\") for profile in buildout_profiles}\n    if buildout_profile_ids != profile_ids or len(buildout_profiles) != len(profile_ids):\n        raise ValueError(\"technology buildout ledger must contain exactly one profile for every field guide profile\")\n    required_buildout_fields = {\n        \"refreshed_through\", \"headline\", \"transition_state\", \"strongest_receipt\",\n        \"current_builds\", \"deals_and_integrations\", \"native_token\",\n        \"transition_assessment\", \"return_gates\",\n    }\n    for profile in buildout_profiles:\n        ecosystem_id = profile.get(\"ecosystem_id\")\n        if required_buildout_fields - set(profile):\n            raise ValueError(f\"incomplete technology buildout profile: {ecosystem_id}\")\n        if profile[\"transition_state\"] not in buildout_state_ids:\n            raise ValueError(f\"invalid technology buildout state: {ecosystem_id}\")\n        if not profile[\"current_builds\"] or not profile[\"deals_and_integrations\"]:\n            raise ValueError(f\"technology buildout profile needs builds and deals: {ecosystem_id}\")\n        if not profile[\"return_gates\"] or not all(isinstance(value, str) and value.strip() for value in profile[\"return_gates\"]):\n            raise ValueError(f\"invalid technology buildout return gates: {ecosystem_id}\")\n        for item in profile[\"current_builds\"] + profile[\"deals_and_integrations\"]:\n            if item.get(\"state\") not in buildout_state_ids:\n                raise ValueError(f\"invalid technology buildout item state: {ecosystem_id}\")\n            if not all(item.get(key) for key in (\"date\", \"summary\", \"boundary\", \"source_ids\")):\n                raise ValueError(f\"incomplete technology buildout item: {ecosystem_id}\")\n            if set(item[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"unknown technology buildout item source: {ecosystem_id}\")\n        token = profile[\"native_token\"]\n        if not all(token.get(key) for key in (\"symbol\", \"role\", \"required_channel\", \"value_capture\", \"source_ids\")):\n            raise ValueError(f\"incomplete technology buildout token analysis: {ecosystem_id}\")\n        if set(token[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown technology buildout token source: {ecosystem_id}\")\n        assessment = profile[\"transition_assessment\"]\n        if not all(assessment.get(key) for key in (\"what_changed\", \"live_now\", \"still_building\", \"not_proved\")):\n            raise ValueError(f\"incomplete technology buildout transition assessment: {ecosystem_id}\")\n\n    corporate = data[\"corporate_stack_comparison\"]\n    corporate_state_ids = unique_ids(corporate[\"states\"], \"corporate stack states\")\n    corporate_dimension_ids = unique_ids(corporate[\"dimensions\"], \"corporate stack dimensions\")\n    unique_ids(corporate[\"groups\"], \"corporate stack groups\")\n    if not all(corporate.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\")):\n        raise ValueError(\"corporate stack comparison header is incomplete\")\n    for group in corporate[\"groups\"]:\n        if set(group.get(\"seats\", {})) != corporate_dimension_ids:\n            raise ValueError(f\"corporate stack group must cover every dimension: {group.get('id')}\")\n        if not group.get(\"label\") or not group.get(\"verdict\") or not group.get(\"boundary\"):\n            raise ValueError(f\"incomplete corporate stack group: {group.get('id')}\")\n        if not group.get(\"source_ids\") or set(group[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid corporate stack group evidence: {group.get('id')}\")\n        for dimension_id, seat in group[\"seats\"].items():\n            if seat.get(\"state\") not in corporate_state_ids or not seat.get(\"text\"):\n                raise ValueError(f\"invalid corporate stack seat: {group.get('id')}/{dimension_id}\")\n    for item in corporate.get(\"second_ring\", []):\n        if not item.get(\"label\") or not item.get(\"finding\") or not item.get(\"source_ids\"):\n            raise ValueError(\"incomplete corporate stack second-ring item\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown corporate stack second-ring source: {item.get('label')}\")\n\n    bank_transition = data[\"bank_transition_comparison\"]\n    bank_state_ids = unique_ids(bank_transition[\"states\"], \"bank transition states\")\n    bank_dimension_ids = unique_ids(bank_transition[\"dimensions\"], \"bank transition dimensions\")\n    bank_archetype_ids = unique_ids(bank_transition[\"archetypes\"], \"bank transition archetypes\")\n    bank_source_ids = unique_ids(bank_transition[\"sources\"], \"bank transition sources\")\n    unique_ids(bank_transition[\"institutions\"], \"bank transition institutions\")\n    if len(bank_transition[\"institutions\"]) != 16:\n        raise ValueError(\"bank transition comparison must contain the governed 16-institution cohort\")\n    if not all(bank_transition.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\", \"method_note\", \"research_route\")):\n        raise ValueError(\"bank transition comparison header is incomplete\")\n    for source in bank_transition[\"sources\"]:\n        if not all(source.get(key) for key in (\"title\", \"publisher\", \"date\", \"url\")) or not source[\"url\"].startswith((\"https://\", \"http://\")):\n            raise ValueError(f\"invalid bank transition source: {source.get('id')}\")\n    for institution in bank_transition[\"institutions\"]:\n        if institution.get(\"archetype_id\") not in bank_archetype_ids:\n            raise ValueError(f\"unknown bank transition archetype: {institution.get('id')}\")\n        if set(institution.get(\"capabilities\", {})) != bank_dimension_ids:\n            raise ValueError(f\"bank transition institution must cover every dimension: {institution.get('id')}\")\n        if any(not institution.get(key) for key in (\"label\", \"kind\", \"domicile\", \"thesis\", \"frontier\", \"boundary\", \"watch\")):\n            raise ValueError(f\"incomplete bank transition institution: {institution.get('id')}\")\n        if not institution.get(\"source_ids\") or set(institution[\"source_ids\"]) - bank_source_ids:\n            raise ValueError(f\"invalid bank transition institution evidence: {institution.get('id')}\")\n        for dimension_id, capability in institution[\"capabilities\"].items():\n            if capability.get(\"state\") not in bank_state_ids or not capability.get(\"detail\") or not capability.get(\"boundary\"):\n                raise ValueError(f\"invalid bank transition capability: {institution.get('id')}/{dimension_id}\")\n            if not capability.get(\"source_ids\") or set(capability[\"source_ids\"]) - bank_source_ids:\n                raise ValueError(f\"invalid bank transition capability evidence: {institution.get('id')}/{dimension_id}\")\n\n    anatomy = data[\"securitize_anatomy\"]\n    if not all(anatomy.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\", \"thesis\")):\n        raise ValueError(\"Securitize anatomy header is incomplete\")\n    anatomy_sections = {\n        \"entities\": (\"label\", \"kind\", \"role\", \"status\", \"boundary\", \"source_ids\"),\n        \"lifecycle\": (\"label\", \"action\", \"control\", \"record\", \"boundary\", \"source_ids\"),\n        \"record_models\": (\"label\", \"state\", \"authoritative_pattern\", \"outside_bodies\", \"lesson\", \"source_ids\"),\n        \"scale\": (\"label\", \"value\", \"as_of\", \"meaning\", \"source_ids\"),\n    }\n    for section, required in anatomy_sections.items():\n        unique_ids(anatomy[section], f\"Securitize anatomy {section}\") if section != \"scale\" else None\n        for item in anatomy[section]:\n            if any(not item.get(key) for key in required):\n                raise ValueError(f\"incomplete Securitize anatomy {section} item: {item.get('id') or item.get('label')}\")\n            if set(item[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"unknown Securitize anatomy source: {item.get('id') or item.get('label')}\")\n    comparison = anatomy.get(\"ripple_comparison\", {})\n    if not all(comparison.get(key) for key in (\"title\", \"thesis\", \"boundary\", \"rows\", \"interface\", \"watch\")):\n        raise ValueError(\"Ripple-Securitize comparison is incomplete\")\n    unique_ids(comparison[\"rows\"], \"Ripple-Securitize comparison rows\")\n    for item in comparison[\"rows\"]:\n        if any(not item.get(key) for key in (\"seat\", \"ripple\", \"securitize\", \"distinction\", \"source_ids\")):\n            raise ValueError(f\"incomplete Ripple-Securitize comparison row: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown Ripple-Securitize comparison source: {item.get('id')}\")\n    interface = comparison[\"interface\"]\n    if not all(interface.get(key) for key in (\"title\", \"steps\", \"proof_state\", \"source_ids\")):\n        raise ValueError(\"Ripple-Securitize interface is incomplete\")\n    if len(interface[\"steps\"]) < 3 or set(interface[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Ripple-Securitize interface evidence is incomplete\")\n    if len(comparison[\"watch\"]) < 3 or any(not isinstance(item, str) or not item.strip() for item in comparison[\"watch\"]):\n        raise ValueError(\"Ripple-Securitize watch list is incomplete\")\n    genius = anatomy.get(\"genius_act\", {})\n    if not all(genius.get(key) for key in (\"title\", \"cutoff\", \"status\", \"thesis\", \"boundary\", \"clocks\", \"rows\", \"interface\", \"watch\")):\n        raise ValueError(\"Ripple-Securitize GENIUS Act interface is incomplete\")\n    unique_ids(genius[\"clocks\"], \"Ripple-Securitize GENIUS clocks\")\n    for item in genius[\"clocks\"]:\n        if any(not item.get(key) for key in (\"label\", \"date\", \"state\", \"meaning\", \"source_ids\")):\n            raise ValueError(f\"incomplete GENIUS clock: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown GENIUS clock source: {item.get('id')}\")\n    unique_ids(genius[\"rows\"], \"Ripple-Securitize GENIUS rows\")\n    for item in genius[\"rows\"]:\n        if any(not item.get(key) for key in (\"question\", \"ripple\", \"securitize\", \"effect\", \"source_ids\")):\n            raise ValueError(f\"incomplete GENIUS row: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown GENIUS row source: {item.get('id')}\")\n    genius_interface = genius[\"interface\"]\n    if not all(genius_interface.get(key) for key in (\"title\", \"steps\", \"reading\", \"source_ids\")):\n        raise ValueError(\"Ripple-Securitize GENIUS interface walk is incomplete\")\n    if len(genius_interface[\"steps\"]) < 3 or set(genius_interface[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Ripple-Securitize GENIUS interface evidence is incomplete\")\n    if len(genius[\"watch\"]) < 3 or any(not isinstance(item, str) or not item.strip() for item in genius[\"watch\"]):\n        raise ValueError(\"Ripple-Securitize GENIUS watch list is incomplete\")\n    if len(anatomy.get(\"watch\", [])) < 3 or any(not isinstance(item, str) or not item.strip() for item in anatomy[\"watch\"]):\n        raise ValueError(\"Securitize anatomy watch list is incomplete\")\n\n    required_types = {\n        \"control\", \"capital\", \"board\", \"regulatory\", \"partnership\",\n        \"technical\", \"asset_flow\", \"historical\", \"proposal_fit\", \"operating\", \"advocacy\",\n        \"pending_control\",\n    }\n    if type_ids != required_types:\n        raise ValueError(f\"relationship types must equal {sorted(required_types)}\")\n    required_lenses = {\"triangle\", \"sec-chain\", \"networks\", \"control\", \"capital\", \"cash\", \"cash-leg\", \"full\"}\n    if lens_ids != required_lenses:\n        raise ValueError(f\"lenses must equal {sorted(required_lenses)}\")\n    required_clocks = {\n        \"proposed\", \"announced\", \"planned\", \"pilot_test\", \"limited_production\",\n        \"live_production\", \"current_operating\", \"historical\",\n    }\n    if clock_ids != required_clocks:\n        raise ValueError(f\"operational states must equal {sorted(required_clocks)}\")\n    required_process_roles = {\"controller\", \"operator\", \"integrator\", \"external_dependency\"}\n    if process_role_ids != required_process_roles:\n        raise ValueError(f\"process roles must equal {sorted(required_process_roles)}\")\n    required_scale_states = {\n        \"not_applicable\", \"not_public\", \"single_event\", \"bounded_cohort\",\n        \"general_access\", \"reported_aggregate\", \"material_volume\",\n    }\n    if scale_state_ids != required_scale_states:\n        raise ValueError(f\"scale states must equal {sorted(required_scale_states)}\")\n    required_stress_states = {\n        \"not_applicable\", \"not_public\", \"untested\", \"contractual_controls_only\",\n        \"controlled_test\", \"observed_stress\",\n    }\n    if stress_state_ids != required_stress_states:\n        raise ValueError(f\"stress states must equal {sorted(required_stress_states)}\")\n    required_processes = {\"tokenization\", \"stablecoins\", \"fx-cross-border\"}\n    if process_ids != required_processes:\n        raise ValueError(f\"process maps must equal {sorted(required_processes)}\")\n\n    lr = data[\"legal_routes_map\"]\n    lr_functions = {f[\"id\"] for f in data[\"legal_process_hub\"][\"qualifications\"][\"functions\"]}\n    lr_players = unique_ids(lr[\"players\"], \"legal route players\")\n    lr_statuses = unique_ids(lr[\"statuses\"], \"legal route statuses\")\n    unique_ids(lr[\"routes\"], \"legal routes\")\n    for player in lr[\"players\"]:\n        if player[\"status\"] not in lr_statuses or not all(player.get(k) for k in (\"label\", \"evidence\", \"remaining\", \"appointment\")):\n            raise ValueError(\"incomplete legal route player\")\n        if not player.get(\"source_ids\") or set(player[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route player evidence\")\n        if player.get(\"actor_ref\") and player[\"actor_ref\"] not in {a[\"id\"] for a in data[\"legal_process_hub\"][\"qualifications\"][\"actors\"]}:\n            raise ValueError(\"invalid legal route actor join\")\n        if player.get(\"assessment_ref\") and player[\"assessment_ref\"] not in {a[\"id\"] for a in data[\"legal_process_hub\"][\"qualifications\"][\"records\"]}:\n            raise ValueError(\"invalid legal route assessment join\")\n        if player.get(\"assessment_ref\") and player.get(\"actor_ref\"):\n            assessment = next(a for a in data[\"legal_process_hub\"][\"qualifications\"][\"records\"] if a[\"id\"] == player[\"assessment_ref\"])\n            if assessment[\"actor_id\"] != player[\"actor_ref\"]:\n                raise ValueError(\"legal route actor assessment mismatch\")\n    if lr.get(\"all_functions_have_routes\") and {fid for r in lr[\"routes\"] for fid in r[\"function_ids\"]} != lr_functions:\n        raise ValueError(\"legal route function coverage is incomplete\")\n    for route in lr[\"routes\"]:\n        if not route.get(\"eligible_categories\") or not all(isinstance(x, str) and x.strip() for x in route[\"eligible_categories\"]):\n            raise ValueError(\"legal route eligible categories missing\")\n        if not route[\"function_ids\"] or set(route[\"function_ids\"]) - lr_functions or set(route[\"player_ids\"]) - lr_players:\n            raise ValueError(\"invalid legal route connection\")\n        if route[\"state\"] not in {\"current\", \"proposed\"} or not all(route.get(k) for k in (\"label\", \"trigger\", \"basis\", \"conditions\", \"limit\")):\n            raise ValueError(\"incomplete legal route\")\n        if not route.get(\"source_ids\") or set(route[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route evidence\")\n        if route[\"state\"] == \"proposed\" and route[\"player_ids\"]:\n            raise ValueError(\"proposal cannot qualify a player\")\n    assignment_keys = set()\n    routes_by_id = {r[\"id\"]: r for r in lr[\"routes\"]}\n    for assignment in lr.get(\"assignments\", []):\n        key = (assignment[\"route_id\"], assignment[\"player_id\"])\n        if key in assignment_keys:\n            raise ValueError(\"duplicate legal route entity assignment\")\n        assignment_keys.add(key)\n        route = routes_by_id.get(assignment[\"route_id\"])\n        if not route or assignment[\"player_id\"] not in route[\"player_ids\"]:\n            raise ValueError(\"invalid legal route entity assignment\")\n        if assignment.get(\"status\") not in {\"verified\", \"dated\", \"conditional\", \"lead\"}:\n            raise ValueError(\"invalid legal route assignment status\")\n        if not all(assignment.get(k) for k in (\"capacity\", \"evidence\", \"source_ids\")) or set(assignment[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route assignment evidence\")\n        if route[\"state\"] == \"proposed\":\n            raise ValueError(\"proposal cannot establish entity capacity\")\n    directory = lr.get(\"participation_directory\")\n    if directory:\n        if directory[\"source_id\"] not in source_ids or not directory.get(\"as_of\"):\n            raise ValueError(\"invalid participation directory source\")\n        unique_ids(directory[\"rows\"], \"participation directory accounts\")\n        for row in directory[\"rows\"]:\n            if not all(row.get(k) for k in (\"name\", \"services\", \"source_row\")):\n                raise ValueError(\"incomplete participation directory row\")\n    maps = data[\"transaction_maps\"]\n    route_ids = unique_ids(maps[\"routes\"], \"transaction routes\")\n    rights_by_route = {r[\"id\"]: r for r in data[\"steps_rights_hub\"][\"routes\"]}\n    if route_ids != set(rights_by_route):\n        raise ValueError(\"transaction routes must cover the researched rights routes\")\n    for proto in maps[\"routes\"]:\n        ref_ids = {x[\"id\"] for x in rights_by_route[proto[\"id\"]][\"steps\"]}\n        proto_ids = unique_ids(proto[\"nodes\"] + proto[\"overlay_nodes\"], \"transaction milestones\")\n        unique_ids(proto[\"connections\"] + proto[\"overlay_connections\"], \"transaction connections\")\n        unique_ids(proto[\"scenarios\"], \"transaction scenarios\")\n        for n in proto[\"nodes\"] + proto[\"overlay_nodes\"]:\n            if n[\"step_ref\"] not in ref_ids or not (0 <= n[\"row\"] < len(proto[\"lanes\"] + proto[\"overlay_lanes\"]) and 0 <= n[\"col\"] < len(proto[\"phases\"])):\n                raise ValueError(\"invalid transaction milestone\")\n            if not all(n.get(k) for k in (\"before\", \"after\", \"explain\", \"overlay\", \"label\")) or n.get(\"overlay_role\") not in {\"specified\", \"dependency\"}:\n                raise ValueError(\"incomplete transaction explanation\")\n        for e in proto[\"connections\"] + proto[\"overlay_connections\"]:\n            if e[\"from_id\"] not in proto_ids or e[\"to_id\"] not in proto_ids or e[\"kind\"] not in {\"instruction\", \"securities\", \"money\", \"record\", \"token\"}:\n                raise ValueError(\"invalid transaction connection\")\n        if not proto.get(\"overlay_sources\") or set(proto[\"overlay_sources\"]) - source_ids:\n            raise ValueError(\"invalid transaction overlay evidence\")\n        for scenario in proto[\"scenarios\"]:\n            if scenario.get(\"node_id\") not in proto_ids or not all(scenario.get(k) for k in (\"title\", \"before\", \"after\", \"explain\", \"overlay\")):\n                raise ValueError(\"invalid transaction scenario\")\n    rights = data[\"steps_rights_hub\"]\n    unique_ids(rights[\"routes\"], \"rights routes\")\n    rights_statuses = unique_ids(rights[\"statuses\"], \"rights statuses\")\n    for route in rights[\"routes\"]:\n        unique_ids(route[\"steps\"], \"rights steps\")\n        if not all(route.get(k) for k in (\"title\", \"baseline\", \"overlay\", \"scope\", \"clock\", \"chain\")):\n            raise ValueError(\"incomplete rights route\")\n        for step in route[\"steps\"]:\n            if not all(step.get(k) for k in (\"action\", \"actors\", \"right\", \"record\", \"proof\", \"crypto\", \"gap\", \"needed\")):\n                raise ValueError(\"incomplete rights receipt\")\n            if step.get(\"status\") not in rights_statuses:\n                raise ValueError(\"invalid rights status\")\n            if step.get(\"legal_step_id\") not in {r[\"id\"] for r in data[\"legal_process_hub\"][\"steps\"]}:\n                raise ValueError(\"invalid rights legal handoff\")\n            for key in (\"baseline_sources\", \"crypto_sources\"):\n                if not step.get(key) or set(step[key]) - source_ids:\n                    raise ValueError(\"invalid rights evidence\")\n\n    legal = data[\"legal_process_hub\"]\n    step_ids = unique_ids(legal[\"steps\"], \"legal steps\")\n    unique_ids(legal[\"layers\"], \"legal layers\")\n    unique_ids(legal[\"cases\"], \"legal cases\")\n    if not step_ids or not legal.get(\"report_source_ids\") or set(legal[\"report_source_ids\"]) - source_ids:\n        raise ValueError(\"invalid legal process research\")\n    for collection, fields in [(\"steps\", (\"title\", \"question\", \"explanation\", \"actors\", \"required_evidence\", \"output\", \"boundary\")), (\"layers\", (\"title\", \"summary\", \"question\", \"boundary\")), (\"cases\", (\"title\", \"status\", \"summary\", \"boundary\"))]:\n        for record in legal[collection]:\n            if any(not isinstance(record.get(f), str) or not record[f].strip() for f in fields):\n                raise ValueError(f\"incomplete legal {collection}: {record['id']}\")\n            if not record.get(\"source_ids\") or set(record[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"invalid legal sources: {record['id']}\")\n    for case in legal[\"cases\"]:\n        refs = [r.get(\"step_id\") for r in case[\"steps\"]]\n        if set(refs) != step_ids or len(refs) != len(step_ids):\n            raise ValueError(f\"incomplete legal case steps: {case['id']}\")\n        if any(not r.get(\"finding\") or not r.get(\"gap\") for r in case[\"steps\"]):\n            raise ValueError(f\"missing legal case evidence: {case['id']}\")\n        if case.get(\"trace_id\") and case[\"trace_id\"] not in trace_ids:\n            raise ValueError(f\"invalid legal trace: {case['id']}\")\n\n    innovation = legal.get(\"innovation_exemption_overlay\")\n    if not innovation or any(not innovation.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"source_ids\")):\n        raise ValueError(\"Innovation Exemption overlay is incomplete\")\n    innovation_statuses = unique_ids(innovation[\"status_legend\"], \"Innovation Exemption statuses\")\n    if innovation_statuses != {\"core_candidate\", \"conditional_candidate\", \"supporting_layer\", \"outside_core\"}:\n        raise ValueError(\"Innovation Exemption status set is incomplete\")\n    unique_ids(innovation[\"gates\"], \"Innovation Exemption gates\")\n    innovation_ecosystems = [r.get(\"ecosystem_id\") for r in innovation[\"overlaps\"]]\n    if len(innovation_ecosystems) != len(set(innovation_ecosystems)) or set(innovation_ecosystems) != guide_ecosystem_ids:\n        raise ValueError(\"Innovation Exemption overlay must cover every tracked technology ecosystem exactly once\")\n    if set(innovation[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Innovation Exemption overlay has unknown sources\")\n    for gate in innovation[\"gates\"]:\n        if any(not gate.get(k) for k in (\"title\", \"rule\", \"watch\")):\n            raise ValueError(f\"incomplete Innovation Exemption gate: {gate.get('id')}\")\n    for row in innovation[\"overlaps\"]:\n        if row.get(\"status\") not in innovation_statuses or any(not row.get(k) for k in (\"overlap\", \"missing\", \"watch\", \"source_ids\")):\n            raise ValueError(f\"incomplete Innovation Exemption overlap: {row.get('ecosystem_id')}\")\n        if set(row[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown Innovation Exemption source: {row.get('ecosystem_id')}\")\n\n    fed = data.get(\"fed_genius_hub\")\n    if not fed or any(not fed.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"status\", \"summary\", \"boundary\", \"source_ids\")):\n        raise ValueError(\"Fed GENIUS hub header is incomplete\")\n    if fed[\"status\"] != \"proposed\":\n        raise ValueError(\"Fed GENIUS hub must preserve proposal status\")\n    fed_statuses = unique_ids(fed[\"status_legend\"], \"Fed GENIUS statuses\")\n    if fed_statuses != {\"issuer_application_interface\", \"custody_distribution_interface\", \"technical_control_interface\", \"outside_direct_issuer_perimeter\"}:\n        raise ValueError(\"Fed GENIUS status set is incomplete\")\n    fed_gate_ids = unique_ids(fed[\"gates\"], \"Fed GENIUS gates\")\n    if len(fed_gate_ids) != 12:\n        raise ValueError(\"Fed GENIUS hub must preserve twelve gates\")\n    fed_layer_ids = unique_ids(fed[\"layers\"], \"Fed GENIUS layers\")\n    if len(fed_layer_ids) != 7:\n        raise ValueError(\"Fed GENIUS hub must preserve seven layers\")\n    for layer in fed[\"layers\"]:\n        if any(not layer.get(k) for k in (\"order\", \"title\", \"question\", \"summary\", \"boundary\", \"gate_ids\")) or set(layer[\"gate_ids\"]) - fed_gate_ids:\n            raise ValueError(f\"incomplete Fed GENIUS layer: {layer.get('id')}\")\n    if sorted(layer[\"order\"] for layer in fed[\"layers\"]) != list(range(1, 8)):\n        raise ValueError(\"Fed GENIUS layer order is incomplete\")\n    entity_map = fed.get(\"entity_map\", {})\n    if any(not entity_map.get(key) for key in (\"title\", \"summary\", \"boundary\", \"nodes\", \"flows\")):\n        raise ValueError(\"Fed GENIUS entity map is incomplete\")\n    fed_entity_ids = unique_ids(entity_map[\"nodes\"], \"Fed GENIUS entity-map nodes\")\n    if \"issuer\" not in fed_entity_ids or len(fed_entity_ids) < 9:\n        raise ValueError(\"Fed GENIUS entity map must preserve the central issuer and surrounding legal seats\")\n    for node in entity_map[\"nodes\"]:\n        if any(not node.get(key) for key in (\"label\", \"kind\", \"role\", \"proof\", \"boundary\", \"gate_ids\")):\n            raise ValueError(f\"incomplete Fed GENIUS entity-map node: {node.get('id')}\")\n        if set(node[\"gate_ids\"]) - fed_gate_ids or set(node.get(\"ecosystem_ids\", [])) - guide_ecosystem_ids:\n            raise ValueError(f\"invalid Fed GENIUS entity-map references: {node.get('id')}\")\n    unique_ids(entity_map[\"flows\"], \"Fed GENIUS entity-map flows\")\n    for flow in entity_map[\"flows\"]:\n        flow_node_ids = flow.get(\"node_ids\", [])\n        labels = flow.get(\"relationship_labels\", [])\n        if not flow.get(\"label\") or len(flow_node_ids) < 2 or set(flow_node_ids) - fed_entity_ids or len(labels) != len(flow_node_ids) - 1 or any(not label for label in labels):\n            raise ValueError(f\"invalid Fed GENIUS entity-map flow: {flow.get('id')}\")\n    unique_ids(fed[\"clocks\"], \"Fed GENIUS clocks\")\n    if len(fed[\"clocks\"]) < 8 or any(any(not clock.get(k) for k in (\"label\", \"value\", \"anchor\", \"state\", \"meaning\")) for clock in fed[\"clocks\"]):\n        raise ValueError(\"Fed GENIUS clocks are incomplete\")\n    unique_ids(fed[\"question_clusters\"], \"Fed GENIUS question clusters\")\n    if sum(cluster.get(\"count\", 0) for cluster in fed[\"question_clusters\"]) != 277:\n        raise ValueError(\"Fed GENIUS question clusters must total 277\")\n    for gate in fed[\"gates\"]:\n        if any(not gate.get(k) for k in (\"title\", \"rule\", \"infrastructure_effect\", \"implementation_clock\", \"watch\")):\n            raise ValueError(f\"incomplete Fed GENIUS gate: {gate.get('id')}\")\n    fed_ecosystems = [row.get(\"ecosystem_id\") for row in fed[\"overlaps\"]]\n    if len(fed_ecosystems) != len(set(fed_ecosystems)) or set(fed_ecosystems) != guide_ecosystem_ids:\n        raise ValueError(\"Fed GENIUS hub must cover every tracked technology ecosystem exactly once\")\n    if set(fed[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Fed GENIUS hub has unknown sources\")\n    for row in fed[\"overlaps\"]:\n        if row.get(\"status\") not in fed_statuses or any(not row.get(k) for k in (\"impact\", \"not_changed\", \"watch\", \"gate_ids\", \"source_ids\")):\n            raise ValueError(f\"incomplete Fed GENIUS overlap: {row.get('ecosystem_id')}\")\n        if set(row[\"gate_ids\"]) - fed_gate_ids or set(row[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid Fed GENIUS references: {row.get('ecosystem_id')}\")\n\n    expansion = data.get(\"stack_expansion\")\n    if not expansion or any(not expansion.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"liquidity_gap\")):\n        raise ValueError(\"stack expansion header is incomplete\")\n    expansion_seat_ids = unique_ids(expansion[\"seats\"], \"stack expansion seats\")\n    if len(expansion_seat_ids) != 10:\n        raise ValueError(\"stack expansion must preserve the ten legal and operating seats\")\n    sublayer_ids: set[str] = set()\n    for seat in expansion[\"seats\"]:\n        if any(not seat.get(k) for k in (\"label\", \"question\", \"sublayers\")):\n            raise ValueError(f\"incomplete stack expansion seat: {seat.get('id')}\")\n        ids_here = unique_ids(seat[\"sublayers\"], f\"stack expansion sublayers/{seat['id']}\")\n        if sublayer_ids & ids_here:\n            raise ValueError(f\"duplicate stack expansion sublayer across seats: {seat['id']}\")\n        sublayer_ids |= ids_here\n        if any(not item.get(\"label\") or not item.get(\"meaning\") for item in seat[\"sublayers\"]):\n            raise ValueError(f\"incomplete stack expansion sublayer: {seat['id']}\")\n    if len(sublayer_ids) != 34:\n        raise ValueError(f\"stack expansion must contain exactly 34 sublayers, got {len(sublayer_ids)}\")\n    expansion_system_ids = unique_ids(expansion[\"systems\"], \"stack expansion systems\")\n    if len(expansion_system_ids) != 14:\n        raise ValueError(\"stack expansion must preserve the fourteen researched system families\")\n    fit_states = {\"capability\", \"candidate\", \"support\", \"outside\"}\n    for system in expansion[\"systems\"]:\n        if any(not system.get(k) for k in (\"name\", \"kind\", \"jurisdiction\", \"model\", \"innovation_status\", \"summary\", \"boundary\", \"watch\", \"source_ids\", \"fits\", \"latest_development\", \"latest_state\", \"latest_date\", \"latest_boundary\")):\n            raise ValueError(f\"incomplete stack expansion system: {system.get('id')}\")\n        if system[\"innovation_status\"] not in innovation_statuses:\n            raise ValueError(f\"invalid stack expansion Innovation Exemption status: {system['id']}\")\n        if system[\"latest_state\"] not in buildout_state_ids:\n            raise ValueError(f\"invalid stack expansion current-development state: {system['id']}\")\n        if set(system[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown stack expansion source: {system['id']}\")\n        seen: set[str] = set()\n        for fit in system[\"fits\"]:\n            if fit.get(\"seat_id\") not in expansion_seat_ids or fit.get(\"fit\") not in fit_states or not fit.get(\"note\"):\n                raise ValueError(f\"invalid stack expansion fit: {system['id']}\")\n            if fit[\"seat_id\"] in seen:\n                raise ValueError(f\"duplicate stack expansion seat fit: {system['id']}/{fit['seat_id']}\")\n            seen.add(fit[\"seat_id\"])\n            if not fit.get(\"sublayer_ids\") or set(fit[\"sublayer_ids\"]) - sublayer_ids:\n                raise ValueError(f\"invalid stack expansion sublayer fit: {system['id']}/{fit['seat_id']}\")\n    unique_ids(expansion[\"comparison_models\"], \"stack expansion comparison models\")\n    for model in expansion[\"comparison_models\"]:\n        if not model.get(\"label\") or not model.get(\"controlling_question\") or not model.get(\"example_ids\"):\n            raise ValueError(f\"incomplete stack expansion comparison model: {model.get('id')}\")\n        if set(model[\"example_ids\"]) - expansion_system_ids:\n            raise ValueError(f\"unknown stack expansion comparison example: {model.get('id')}\")\n\n    transition = data.get(\"transition_gates\", {})\n    if any(not transition.get(key) for key in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"source_path\")):\n        raise ValueError(\"transition gates header is incomplete\")\n    transition_group_ids = unique_ids(transition[\"groups\"], \"transition gate groups\")\n    transition_fit_ids = unique_ids(transition[\"fit_states\"], \"transition gate fit states\")\n    unique_ids(transition[\"qualification_path\"], \"transition qualification path\")\n    transition_requirement_ids = unique_ids(transition[\"requirements\"], \"transition requirements\")\n    expected_requirement_ids = {f\"req-{number:02d}\" for number in range(1, 15)}\n    if transition_requirement_ids != expected_requirement_ids:\n        raise ValueError(\"transition gates must preserve all fourteen Definition-of-Done requirements\")\n    transition_system_ids = profile_ids | expansion_system_ids\n    mapped_transition_system_ids: set[str] = set()\n    for requirement in transition[\"requirements\"]:\n        if requirement.get(\"group_id\") not in transition_group_ids:\n            raise ValueError(f\"unknown transition gate group: {requirement.get('id')}\")\n        if any(not requirement.get(key) for key in (\"label\", \"question\", \"proof\", \"boundary\", \"external_joins\", \"fits\")):\n            raise ValueError(f\"incomplete transition requirement: {requirement.get('id')}\")\n        if requirement.get(\"number\") != int(requirement[\"id\"].split(\"-\")[1]):\n            raise ValueError(f\"transition requirement number mismatch: {requirement.get('id')}\")\n        fit_system_ids = [fit.get(\"system_id\") for fit in requirement[\"fits\"]]\n        if len(fit_system_ids) != len(set(fit_system_ids)):\n            raise ValueError(f\"duplicate technology in transition requirement: {requirement.get('id')}\")\n        for fit in requirement[\"fits\"]:\n            if fit.get(\"system_id\") not in transition_system_ids or fit.get(\"fit\") not in transition_fit_ids:\n                raise ValueError(f\"invalid transition technology fit: {requirement.get('id')}/{fit.get('system_id')}\")\n            if any(not fit.get(key) for key in (\"maturity\", \"note\")):\n                raise ValueError(f\"incomplete transition technology fit: {requirement.get('id')}/{fit.get('system_id')}\")\n            mapped_transition_system_ids.add(fit[\"system_id\"])\n    if mapped_transition_system_ids != transition_system_ids:\n        missing = sorted(transition_system_ids - mapped_transition_system_ids)\n        raise ValueError(f\"transition gates must map every governed and specialist system: {missing}\")\n\n    q = legal[\"qualifications\"]\n    actor_ids = unique_ids(q[\"actors\"], \"qualification actors\")\n    actor_node_ids = [a[\"node_id\"] for a in q[\"actors\"] if a.get(\"node_id\")]\n    if len(actor_node_ids) != len(set(actor_node_ids)) or set(actor_node_ids) - {n[\"id\"] for n in data[\"nodes\"]}:\n        raise ValueError(\"legal actor graph joins require unique exact node identities\")\n    function_ids = unique_ids(q[\"functions\"], \"qualification functions\")\n    status_ids = unique_ids(q[\"statuses\"], \"qualification statuses\")\n    unique_ids(q[\"records\"], \"qualification records\")\n    if any(f.get(\"step_id\") not in step_ids for f in q[\"functions\"]):\n        raise ValueError(\"invalid qualification step\")\n    if any(not f.get(\"display_title\") or not f.get(\"question\") for f in q[\"functions\"]):\n        raise ValueError(\"missing qualification job explanation\")\n    inventory = q.get(\"inventory\", [])\n    inventory_ids = [i[\"node_id\"] for i in inventory]\n    if len(inventory_ids) != len(set(inventory_ids)) or set(inventory_ids) != {n[\"id\"] for n in data[\"nodes\"]}:\n        raise ValueError(\"legal inventory must classify every Hub node exactly once\")\n    for item in inventory:\n        if item[\"classification\"] not in {\"actor\", \"aggregate\", \"object\"} or set(item[\"role_ids\"]) - function_ids:\n            raise ValueError(\"invalid legal inventory classification or role\")\n        if item[\"classification\"] != \"object\" and item[\"actor_id\"] not in actor_ids:\n            raise ValueError(\"legal inventory player missing from actor directory\")\n    if q.get(\"report_source_id\") and q[\"report_source_id\"] not in source_ids:\n        raise ValueError(\"legal coverage research source missing\")\n    cases = q.get(\"visual_cases\", [])\n    unique_ids(cases, \"visual legal cases\")\n    for case in cases:\n        unique_ids(case[\"stages\"], \"visual legal stages\")\n        for stage in case[\"stages\"]:\n            if set(stage[\"lanes\"]) != {\"asset\", \"money\", \"record\"}:\n                raise ValueError(\"legal visual must preserve asset, money and record lanes\")\n            for cell in stage[\"lanes\"].values():\n                if set(cell[\"actor_ids\"]) - actor_ids or set(cell[\"source_ids\"]) - source_ids:\n                    raise ValueError(\"invalid legal visual evidence join\")\n                for rid in cell.get(\"record_ids\", []):\n                    record = next((r for r in q[\"records\"] if r[\"id\"] == rid), None)\n                    if not record or record[\"actor_id\"] not in cell[\"actor_ids\"]:\n                        raise ValueError(\"legal visual role link needs exact actor assessment\")\n                if set(cell.get(\"object_ids\", [])) - {n[\"id\"] for n in data[\"nodes\"]}:\n                    raise ValueError(\"invalid legal visual object\")\n                if cell[\"status\"] not in {\"documented\", \"unresolved\", \"proposed\"} or not cell[\"text\"] or not cell[\"boundary\"]:\n                    raise ValueError(\"incomplete legal visual evidence\")\n                if cell[\"status\"] == \"documented\" and not cell[\"source_ids\"]:\n                    raise ValueError(\"documented legal visual needs sources\")\n    core = data[\"infrastructure_map\"]\n    institution_ids = unique_ids(core[\"entities\"], \"infrastructure entities\")\n    layer_ids = unique_ids(core[\"layers\"], \"infrastructure layers\")\n    unique_ids(core[\"edges\"], \"infrastructure relationships\")\n    for entity in core[\"entities\"]:\n        if entity[\"layer\"] not in layer_ids or not all(entity.get(k) for k in (\"scope\", \"boundary\", \"source_url\", \"jurisdiction\", \"evidence_date\")):\n            raise ValueError(\"incomplete infrastructure entity\")\n        if entity.get(\"role_actor_ref\") and entity[\"role_actor_ref\"] not in actor_ids:\n            raise ValueError(\"unknown institutional role-research link\")\n        if entity.get(\"node_ref\") and entity[\"node_ref\"] not in node_ids:\n            raise ValueError(\"unknown infrastructure node join\")\n        if set(entity.get(\"source_ids\", [])) - source_ids:\n            raise ValueError(\"unknown infrastructure source join\")\n        if entity[\"layer\"] == \"authority\" and entity[\"kind\"] == \"existing_research\":\n            raise ValueError(\"corporate inventory cannot stand in for public authority\")\n    for edge in core[\"edges\"]:\n        if edge[\"from\"] not in institution_ids or edge[\"to\"] not in institution_ids or not all(edge.get(k) for k in (\"verb\", \"claim\", \"boundary\", \"source_url\", \"evidence_date\")):\n            raise ValueError(\"invalid infrastructure relationship\")\n    unique_ids(core[\"rulebook_crosswalk\"], \"rulebook crosswalk\")\n    for rule in core[\"rulebook_crosswalk\"]:\n        if rule[\"entity_id\"] not in institution_ids or not all(rule.get(k) for k in (\"kind\", \"version\", \"establishes\", \"boundary\", \"source_url\")):\n            raise ValueError(\"invalid rulebook applicability record\")\n    unique_ids(core[\"access_paths\"], \"infrastructure access paths\")\n    for route in core[\"access_paths\"]:\n        if set(route[\"entity_ids\"]) - institution_ids or not route[\"boundary\"] or not route[\"open_question\"]:\n            raise ValueError(\"invalid access path institution or limit\")\n        if len(route[\"steps\"]) < 2 or any(not all(step.get(k) for k in (\"title\", \"text\", \"source_url\")) for step in route[\"steps\"]):\n            raise ValueError(\"access path needs sourced steps\")\n    for edge in core[\"edges\"]:\n        if set(edge.get(\"source_ids\", [])) - source_ids:\n            raise ValueError(\"unknown institutional relationship source\")\n        if edge.get(\"registry_edge_ref\"):\n            original = next((e for e in data[\"edges\"] if e[\"id\"] == edge[\"registry_edge_ref\"]), None)\n            by_id = {n[\"id\"]: n for n in core[\"entities\"]}\n            if not original or by_id[edge[\"from\"]].get(\"node_ref\") != original[\"from\"] or by_id[edge[\"to\"]].get(\"node_ref\") != original[\"to\"] or edge[\"claim\"] != original[\"claim\"]:\n                raise ValueError(\"institutional relationship must preserve original identity and claim\")\n        if edge.get(\"qualification_ref\") and edge[\"qualification_ref\"] not in {r[\"id\"] for r in q[\"records\"]}:\n            raise ValueError(\"unknown institutional qualification\")\n    if not core[\"gaps\"]:\n        raise ValueError(\"infrastructure coverage must state unresolved work\")\n    overview = data[\"market_overview\"]\n    unique_ids(overview[\"layers\"], \"market overview layers\")\n    covered_functions = [f for layer in overview[\"layers\"] for f in layer[\"function_ids\"]]\n    if len(covered_functions) != len(set(covered_functions)) or set(covered_functions) != function_ids:\n        raise ValueError(\"market overview must cover every function exactly once\")\n    if any(set(layer[\"node_ids\"]) - {n[\"id\"] for n in data[\"nodes\"]} for layer in overview[\"layers\"]):\n        raise ValueError(\"market overview has unknown node\")\n    pairs = set()\n    for r in q[\"records\"]:\n        pair = (r.get(\"actor_id\"), r.get(\"function_id\"))\n        if pair in pairs or pair[0] not in actor_ids or pair[1] not in function_ids:\n            raise ValueError(\"invalid qualification actor/function pair\")\n        pairs.add(pair)\n        if r.get(\"status\") not in status_ids or not r.get(\"source_ids\") or set(r[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid qualification status/source\")\n        if any(not isinstance(r.get(f), str) or not r[f].strip() for f in (\"finding\", \"authority\", \"conditions\", \"boundary\")):\n            raise ValueError(\"incomplete qualification evidence\")\n\n    liquidity = data[\"liquidity_hub\"]\n    unique_ids(liquidity[\"layers\"], \"liquidity layers\")\n    unique_ids(liquidity[\"routes\"], \"liquidity routes\")\n    for record in liquidity[\"layers\"] + liquidity[\"routes\"]:\n        if not record.get(\"source_ids\") or set(record[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid liquidity source references: {record['id']}\")\n        if record.get(\"trace_id\") and record[\"trace_id\"] not in trace_ids:\n            raise ValueError(f\"invalid liquidity trace: {record['id']}\")\n    if liquidity[\"report_source_id\"] not in source_ids or len(liquidity[\"stages\"]) != 5:\n        raise ValueError(\"invalid liquidity research or lifecycle\")\n\n    for source in data[\"sources\"]:\n        for field in (\"label\", \"url\", \"date\"):\n            if not source.get(field):\n                raise ValueError(f\"source {source['id']} missing {field}\")\n\n    for node in data[\"nodes\"]:\n        if node[\"lane\"] not in lane_ids:\n            raise ValueError(f\"unknown lane on node {node['id']}\")\n        unknown = set(node.get(\"sources\", [])) - source_ids\n        if unknown:\n            raise ValueError(f\"unknown sources on node {node['id']}: {sorted(unknown)}\")\n        for field in (\"label\", \"status\", \"summary\", \"boundary\"):\n            if not node.get(field):\n                raise ValueError(f\"node {node['id']} missing {field}\")\n        if node.get(\"operational_state\") not in clock_ids:\n            raise ValueError(f\"node {node['id']} has unknown operational state\")\n\n    for edge in data[\"edges\"]:\n        if edge[\"from\"] not in node_ids or edge[\"to\"] not in node_ids:\n            raise ValueError(f\"bad endpoint on edge {edge['id']}\")\n        if edge[\"type\"] not in type_ids:\n            raise ValueError(f\"bad relationship type on edge {edge['id']}\")\n        unknown = set(edge.get(\"sources\", [])) - source_ids\n        if unknown:\n            raise ValueError(f\"unknown sources on edge {edge['id']}: {sorted(unknown)}\")\n        for field in (\"label\", \"status\", \"claim\", \"boundary\"):\n            if not edge.get(field):\n                raise ValueError(f\"edge {edge['id']} missing {field}\")\n        if edge.get(\"operational_state\") not in clock_ids:\n            raise ValueError(f\"edge {edge['id']} has unknown operational state\")\n\n    for lens in data[\"lenses\"]:\n        unknown_nodes = set(lens.get(\"node_ids\", [])) - node_ids\n        unknown_types = set(lens.get(\"relationship_types\", [])) - type_ids\n        if unknown_nodes or unknown_types:\n            raise ValueError(f\"bad references on lens {lens['id']}\")\n\n    if len(ecosystem_ids) < 9:\n        raise ValueError(\"crypto hub requires at least nine governed ecosystem profiles\")\n    for ecosystem in data[\"ecosystems\"]:\n        unknown_nodes = set(ecosystem.get(\"node_ids\", [])) - node_ids\n        if ecosystem.get(\"root_node_id\") not in node_ids or unknown_nodes:\n            raise ValueError(f\"bad node references on ecosystem {ecosystem['id']}\")\n        if ecosystem[\"root_node_id\"] not in ecosystem.get(\"node_ids\", []):\n            raise ValueError(f\"ecosystem {ecosystem['id']} root is not a member\")\n        if len(ecosystem.get(\"walkthrough\", [])) < 5:\n            raise ValueError(f\"ecosystem {ecosystem['id']} needs an end-to-end walkthrough\")\n        overlay = set(ecosystem.get(\"overlay_node_ids\") or [])\n        if overlay - node_ids:\n            raise ValueError(f\"unknown overlay nodes on ecosystem {ecosystem['id']}: {sorted(overlay - node_ids)}\")\n        if overlay & set(ecosystem.get(\"node_ids\") or []):\n            raise ValueError(f\"overlay nodes must stay off the core stack: {ecosystem['id']}\")\n        for field in (\"label\", \"kind\", \"description\", \"boundary\"):\n            if not ecosystem.get(field):\n                raise ValueError(f\"ecosystem {ecosystem['id']} missing {field}\")\n\n    if len(trace_ids) < 6:\n        raise ValueError(\"crypto hub requires at least six governed asset traces\")\n    for trace in data[\"asset_traces\"]:\n        unknown_nodes = set(trace.get(\"node_ids\", [])) - node_ids\n        unknown_edges = set(trace.get(\"edge_ids\", [])) - edge_ids\n        if unknown_nodes or unknown_edges:\n            raise ValueError(f\"bad references on asset trace {trace['id']}\")\n        if len(trace.get(\"node_ids\", [])) < 3 or len(trace.get(\"walkthrough\", [])) < 3:\n            raise ValueError(f\"asset trace {trace['id']} needs an explicit path\")\n        for field in (\"label\", \"kind\", \"description\", \"boundary\"):\n            if not trace.get(field):\n                raise ValueError(f\"asset trace {trace['id']} missing {field}\")\n\n    coverage_ids: set[str] = set()\n    for process in data[\"process_maps\"]:\n        stage_ids = unique_ids(process.get(\"stages\", []), f\"process stages on {process['id']}\")\n        if len(stage_ids) < 10:\n            raise ValueError(f\"process {process['id']} must retain at least ten lifecycle stages\")\n        unknown_ecosystems = set(process.get(\"ecosystem_ids\", [])) - ecosystem_ids\n        if unknown_ecosystems:\n            raise ValueError(f\"unknown ecosystems on process {process['id']}: {sorted(unknown_ecosystems)}\")\n        if len(process.get(\"ecosystem_ids\", [])) != len(set(process.get(\"ecosystem_ids\", []))):\n            raise ValueError(f\"process {process['id']} contains duplicate ecosystem ids\")\n        for field in (\"label\", \"description\", \"boundary\"):\n            if not process.get(field):\n                raise ValueError(f\"process {process['id']} missing {field}\")\n        for stage in process[\"stages\"]:\n            for field in (\"label\", \"description\", \"question\"):\n                if not stage.get(field):\n                    raise ValueError(f\"process stage {stage['id']} missing {field}\")\n            if not stage.get(\"families\"):\n                raise ValueError(f\"process stage {stage['id']} has no lifecycle families\")\n        covered_ecosystems: set[str] = set()\n        for coverage in process.get(\"coverage\", []):\n            coverage_id = coverage.get(\"id\")\n            if not coverage_id or coverage_id in coverage_ids:\n                raise ValueError(f\"duplicate or empty process coverage id: {coverage_id}\")\n            coverage_ids.add(coverage_id)\n            if coverage.get(\"ecosystem_id\") not in process.get(\"ecosystem_ids\", []):\n                raise ValueError(f\"coverage {coverage_id} uses an ecosystem outside process {process['id']}\")\n            covered_ecosystems.add(coverage[\"ecosystem_id\"])\n            unknown_stages = set(coverage.get(\"stage_ids\", [])) - stage_ids\n            unknown_nodes = set(coverage.get(\"node_ids\", [])) - node_ids\n            unknown_edges = set(coverage.get(\"edge_ids\", [])) - edge_ids\n            unknown_sources = set(coverage.get(\"source_ids\", [])) - source_ids\n            if unknown_stages or unknown_nodes or unknown_edges or unknown_sources:\n                raise ValueError(\n                    f\"bad references on coverage {coverage_id}: stages={sorted(unknown_stages)}, \"\n                    f\"nodes={sorted(unknown_nodes)}, edges={sorted(unknown_edges)}, sources={sorted(unknown_sources)}\"\n                )\n            if len(coverage.get(\"stage_ids\", [])) != 1:\n                raise ValueError(f\"coverage {coverage_id} must describe one exact stage\")\n            if not coverage.get(\"stage_ids\") or not coverage.get(\"source_ids\"):\n                raise ValueError(f\"coverage {coverage_id} needs stages and primary sources\")\n            if not coverage.get(\"node_ids\") and not coverage.get(\"edge_ids\"):\n                raise ValueError(f\"coverage {coverage_id} needs a supporting node or edge\")\n            coverage_nodes = set(coverage.get(\"node_ids\", []))\n            for edge_id in coverage.get(\"edge_ids\", []):\n                edge = edges_by_id[edge_id]\n                missing_endpoints = {edge[\"from\"], edge[\"to\"]} - coverage_nodes\n                if missing_endpoints:\n                    raise ValueError(\n                        f\"coverage {coverage_id} omits endpoints for {edge_id}: \"\n                        f\"{sorted(missing_endpoints)}\"\n                    )\n            if coverage.get(\"role\") not in process_role_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown process role\")\n            if coverage.get(\"operational_state\") not in clock_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown operational state\")\n            if coverage.get(\"scale_state\") not in scale_state_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown scale state\")\n            if coverage.get(\"stress_state\") not in stress_state_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown stress state\")\n            for field in (\"summary\", \"boundary\"):\n                if not coverage.get(field):\n                    raise ValueError(f\"coverage {coverage_id} missing {field}\")\n        missing_coverage = set(process.get(\"ecosystem_ids\", [])) - covered_ecosystems\n        if missing_coverage:\n            raise ValueError(f\"process {process['id']} has listed ecosystems with no mapped coverage: {sorted(missing_coverage)}\")\n\n    coverage_lookup = {c[\"id\"]: (p[\"id\"], c) for p in data[\"process_maps\"] for c in p[\"coverage\"]}\n    for trace in data[\"asset_traces\"]:\n        if trace.get(\"process_id\") not in trace.get(\"process_ids\", []) or not set(trace.get(\"process_ids\", [])) <= process_ids:\n            raise ValueError(f\"trace {trace['id']} has invalid process mappings\")\n        for ref in trace.get(\"coverage_ids\", []):\n            if ref not in coverage_lookup or coverage_lookup[ref][0] not in trace[\"process_ids\"]:\n                raise ValueError(f\"trace {trace['id']} has invalid coverage {ref}\")\n        if len(trace.get(\"mapping_steps\", [])) != len(trace[\"walkthrough\"]):\n            raise ValueError(f\"trace {trace['id']} needs every narrative step assessed\")\n        for step in trace[\"mapping_steps\"]:\n            if not set(step[\"coverage_ids\"]) <= set(trace[\"coverage_ids\"]):\n                raise ValueError(f\"trace {trace['id']} step has unmapped coverage\")\n\n    unique_ids(data.get(\"evidence_questions\", []), \"evidence questions\")\n    for question in data.get(\"evidence_questions\", []):\n        for field in (\"label\", \"finding\", \"unknown\", \"needed\", \"comparison\"):\n            if not question.get(field):\n                raise ValueError(f\"evidence question missing {field}\")\n        if not question.get(\"coverage_ids\") or not set(question[\"coverage_ids\"]) <= set(coverage_lookup):\n            raise ValueError(\"evidence question has invalid coverage\")\n        if not question.get(\"source_ids\") or not set(question[\"source_ids\"]) <= source_ids:\n            raise ValueError(\"evidence question has invalid sources\")\n    for trace in data[\"asset_traces\"]:\n        if trace.get(\"sequence_label\") and not trace.get(\"sequence_boundary\"):\n            raise ValueError(\"reported sequence needs a timing boundary\")\n\n    bank_research = data.get(\"bank_research\", {})\n    if not bank_research.get(\"cutoff\") or bank_research.get(\"report_source_id\") not in source_ids:\n        raise ValueError(\"bank research needs a cutoff and saved report source\")\n    banks = bank_research.get(\"banks\", [])\n    bank_ids = [bank.get(\"node_id\") for bank in banks]\n    if len(bank_ids) != 17 or len(set(bank_ids)) != len(bank_ids) or not set(bank_ids) <= node_ids:\n        raise ValueError(\"bank research must cover the 17 unique July 2026 roster bank nodes\")\n    bank_by_id = {bank[\"node_id\"]: bank for bank in banks}\n    cases = bank_research.get(\"cases\", [])\n    if not cases:\n        raise ValueError(\"bank research needs sourced transaction cases\")\n    unique_ids(cases, \"bank research cases\")\n    completed_banks = set()\n    for case in cases:\n        participants = case.get(\"bank_ids\", [])\n        if not participants or len(set(participants)) != len(participants) or not set(participants) <= set(bank_ids):\n            raise ValueError(f\"bank case {case['id']} has invalid bank participants\")\n        if case.get(\"trace_id\") not in trace_ids:\n            raise ValueError(f\"bank case {case['id']} has an unknown trace\")\n        if not case.get(\"source_ids\") or not set(case[\"source_ids\"]) <= source_ids:\n            raise ValueError(f\"bank case {case['id']} needs valid sources\")\n        for field in (\"label\", \"publication_date\", \"summary\", \"boundary\"):\n            if not case.get(field):\n                raise ValueError(f\"bank case {case['id']} missing {field}\")\n        if \"execution_date\" not in case:\n            raise ValueError(f\"bank case {case['id']} must state its execution-date disclosure\")\n        completed_banks.update(participants)\n        for bank_id in participants:\n            if case[\"trace_id\"] not in bank_by_id[bank_id].get(\"trace_ids\", []):\n                raise ValueError(f\"bank {bank_id} omits its case trace {case['trace_id']}\")\n    for bank in banks:\n        expected = \"completed\" if bank[\"node_id\"] in completed_banks else \"roster\"\n        if bank.get(\"result\") != expected:\n            raise ValueError(f\"bank {bank['node_id']} result must agree with sourced case coverage ({expected})\")\n        refs = bank.get(\"trace_ids\", [])\n        if len(refs) != len(set(refs)) or not set(refs) <= trace_ids:\n            raise ValueError(f\"bank {bank['node_id']} has invalid trace references\")\n        for adjacent in bank.get(\"adjacent\", []):\n            if not adjacent.get(\"label\") or not adjacent.get(\"summary\"):\n                raise ValueError(f\"bank {bank['node_id']} has incomplete adjacent research\")\n            if adjacent.get(\"operational_state\") not in clock_ids:\n                raise ValueError(f\"bank {bank['node_id']} adjacent research needs an operating clock\")\n            if not adjacent.get(\"source_ids\") or not set(adjacent[\"source_ids\"]) <= source_ids:\n                raise ValueError(f\"bank {bank['node_id']} adjacent research needs valid sources\")\n            if adjacent.get(\"node_id\") and adjacent[\"node_id\"] not in node_ids:\n                raise ValueError(f\"bank {bank['node_id']} has an unknown adjacent node\")\n            if adjacent.get(\"edge_id\"):\n                edge = edges_by_id.get(adjacent[\"edge_id\"])\n                if not edge or bank[\"node_id\"] not in {edge[\"from\"], edge[\"to\"]}:\n                    raise ValueError(f\"bank {bank['node_id']} has an invalid adjacent relationship\")\n                if adjacent.get(\"node_id\") and adjacent[\"node_id\"] not in {edge[\"from\"], edge[\"to\"]}:\n                    raise ValueError(f\"bank {bank['node_id']} adjacent node and relationship disagree\")\n\n    unique_ids(data[\"accounting_layers\"], \"accounting layers\")\n    known_families = {family for process in data[\"process_maps\"] for stage in process[\"stages\"] for family in stage[\"families\"]}\n    for layer in data[\"accounting_layers\"]:\n        if not layer.get(\"families\") or set(layer[\"families\"]) - known_families:\n            raise ValueError(f\"invalid accounting families on {layer['id']}\")\n        for field in (\"label\", \"explanation\", \"question\"):\n            if not layer.get(field):\n                raise ValueError(f\"accounting layer {layer['id']} missing {field}\")\n\n    books = data[\"books_hub\"]\n    if not all(books.get(k) for k in (\"title\", \"subtitle\", \"cutoff\", \"test\", \"boundary\", \"report_source_id\")):\n        raise ValueError(\"incomplete books hub\")\n    if books[\"report_source_id\"] not in source_ids:\n        raise ValueError(\"books hub report source missing\")\n    kind_ids = unique_ids(books[\"book_kinds\"], \"book kinds\")\n    if kind_ids != {\"proprietary\", \"fiduciary\", \"memo\", \"none\"}:\n        raise ValueError(\"book kinds must be proprietary, fiduciary, memo and none\")\n    books_route_ids = unique_ids(books[\"routes\"], \"books routes\")\n    if books_route_ids != set(rights_by_route):\n        raise ValueError(\"books routes must cover the taught rights routes\")\n    for route in books[\"routes\"]:\n        if not all(route.get(k) for k in (\"title\", \"amount\", \"amount_label\", \"scope\", \"overlay_name\")):\n            raise ValueError(f\"incomplete books route {route['id']}\")\n        if not isinstance(route[\"amount\"], int) or route[\"amount\"] < 1:\n            raise ValueError(f\"books route {route['id']} needs a teaching amount\")\n        unique_ids(route[\"steps\"], \"books steps\")\n        rights_steps = {s[\"id\"] for s in rights_by_route[route[\"id\"]][\"steps\"]}\n        mapped = [s[\"rights_step_id\"] for s in route[\"steps\"]]\n        if set(mapped) != rights_steps or len(mapped) != len(rights_steps):\n            raise ValueError(f\"books steps must cover every rights step exactly once: {route['id']}\")\n        for step in route[\"steps\"]:\n            if step[\"rights_step_id\"] not in rights_steps:\n                raise ValueError(f\"unknown rights step on books {route['id']}/{step['id']}\")\n            if step.get(\"legal_step_id\") not in step_ids:\n                raise ValueError(f\"invalid books legal handoff {route['id']}/{step['id']}\")\n            if not all(step.get(k) for k in (\"title\", \"question\", \"role_test\")):\n                raise ValueError(f\"incomplete books step {step['id']}\")\n            if not step.get(\"source_ids\") or set(step[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"invalid books sources {route['id']}/{step['id']}\")\n            unique_ids(step[\"entries\"], f\"books entries {step['id']}\")\n            unique_ids(step.get(\"overlay_entries\", []), f\"books overlay entries {step['id']}\")\n            if not step[\"entries\"]:\n                raise ValueError(f\"books step {step['id']} has no ordinary entries\")\n            for entry in step[\"entries\"] + step.get(\"overlay_entries\", []):\n                if entry.get(\"book_kind\") not in kind_ids:\n                    raise ValueError(f\"invalid book kind on {entry.get('id')}\")\n                occupant = entry.get(\"occupant\")\n                if not occupant:\n                    raise ValueError(f\"books entry {entry.get('id')} missing occupant\")\n                if occupant == \"unnamed\":\n                    if entry.get(\"occupant_status\") or entry.get(\"occupant_source_ids\"):\n                        raise ValueError(f\"unnamed occupant cannot carry qualification evidence: {entry['id']}\")\n                else:\n                    if entry.get(\"occupant_status\") not in {\"verified\", \"dated\", \"conditional\", \"example\", \"lead\"}:\n                        raise ValueError(f\"invalid occupant status on {entry['id']}\")\n                    if not entry.get(\"occupant_source_ids\") or set(entry[\"occupant_source_ids\"]) - source_ids:\n                        raise ValueError(f\"named occupant needs sources: {entry['id']}\")\n                    if not entry.get(\"occupant_boundary\"):\n                        raise ValueError(f\"named occupant needs a boundary: {entry['id']}\")\n                    if entry.get(\"node_id\") and entry[\"node_id\"] not in node_ids:\n                        raise ValueError(f\"unknown occupant node {entry['id']}\")\n                if not entry.get(\"entity_label\") or not entry.get(\"role_performed\"):\n                    raise ValueError(f\"incomplete books entry {entry.get('id')}\")\n                debit, credit = (entry.get(\"debit\") or \"\").strip(), (entry.get(\"credit\") or \"\").strip()\n                if entry[\"book_kind\"] in {\"proprietary\", \"fiduciary\"}:\n                    if not debit or not credit:\n                        raise ValueError(f\"moving books need debit and credit: {entry['id']}\")\n                if entry[\"book_kind\"] == \"none\" and (debit not in {\"\", \"—\", \"-\"} or credit not in {\"\", \"—\", \"-\"}):\n                    raise ValueError(f\"no-entry row cannot book the economic object: {entry['id']}\")\n    walk = data[\"process_walk\"]\n    if not all(walk.get(k) for k in (\"title\", \"subtitle\", \"test\", \"cutoff\", \"routes\")):\n        raise ValueError(\"incomplete process walk\")\n    walk_ids = unique_ids(walk[\"routes\"], \"process walk routes\")\n    if walk_ids != set(rights_by_route):\n        raise ValueError(\"process walk must cover the taught routes\")\n    for route in walk[\"routes\"]:\n        if not all(route.get(k) for k in (\"tab\", \"title\", \"today\", \"overlay_name\")):\n            raise ValueError(f\"incomplete walk route {route['id']}\")\n        unique_ids(route[\"steps\"], \"walk steps\")\n        books_steps = {s[\"id\"] for s in rights_by_route[route[\"id\"]][\"steps\"]}\n        if {s[\"id\"] for s in route[\"steps\"]} != books_steps:\n            raise ValueError(f\"walk steps must match books/rights steps: {route['id']}\")\n        for step in route[\"steps\"]:\n            if not step.get(\"title\") or not step.get(\"what\") or not step.get(\"seats\"):\n                raise ValueError(f\"incomplete walk step {route['id']}/{step['id']}\")\n            seat_names = [s.get(\"seat\") for s in step[\"seats\"]]\n            if any(not n for n in seat_names) or len(seat_names) != len(set(seat_names)):\n                raise ValueError(f\"walk seats need unique names: {step['id']}\")\n            for seat in step[\"seats\"]:\n                if not seat.get(\"today\") or not seat.get(\"overlap\") or not seat.get(\"overtake\"):\n                    raise ValueError(f\"incomplete walk seat {step['id']}\")\n    for directory in (books.get(\"current_directories\") or {}).values():\n        if directory.get(\"source_id\") not in source_ids:\n            raise ValueError(f\"current directory missing source: {directory.get('id')}\")\n        if not directory.get(\"as_of\") or not directory.get(\"boundary\") or not directory.get(\"shown_on\"):\n            raise ValueError(f\"incomplete current directory {directory.get('id')}\")\n        unique_ids(directory[\"rows\"], f\"current directory {directory['id']}\")\n        for row in directory[\"rows\"]:\n            if not row.get(\"name\") or not row.get(\"id\"):\n                raise ValueError(f\"incomplete current directory row {directory['id']}\")\n\n    for lane in data[\"lanes\"]:\n        if not lane.get(\"color\"):\n            raise ValueError(f\"lane {lane['id']} missing governed color\")\n\n    for required in (\n        \"ripple-labs\", \"xrpl\", \"rlusd\", \"xrp\", \"securitize-llc\", \"wormhole\",\n        \"master-securityholder-file\", \"linked-electronic-systems\", \"ethereum\", \"solana\",\n        \"taurus-acquisition-inc\", \"circle-technology-services\", \"circle-payments-network\",\n        \"tazapay-pte\", \"tazapay-canada\", \"tazapay-local-rails\",\n    ):\n        if required not in node_ids:\n            raise ValueError(f\"required boundary node missing: {required}\")\n\n    tazapay_edge = edges_by_id.get(\"e-taurus-tazapay-pending-control\")\n    if not tazapay_edge:\n        raise ValueError(\"Circle–Tazapay pending-control edge is required\")\n    if (\n        tazapay_edge.get(\"from\") != \"taurus-acquisition-inc\"\n        or tazapay_edge.get(\"to\") != \"tazapay-pte\"\n        or tazapay_edge.get(\"type\") != \"pending_control\"\n        or tazapay_edge.get(\"operational_state\") != \"announced\"\n    ):\n        raise ValueError(\"Circle–Tazapay acquisition must remain pending control until a closing receipt updates the map\")\n\n    control_edges = [edge for edge in data[\"edges\"] if edge[\"type\"] == \"control\"]\n    if len(control_edges) < 8:\n        raise ValueError(\"control skeleton is unexpectedly incomplete\")\n    if len(data[\"edges\"]) < 35 or len(data[\"nodes\"]) < 25:\n        raise ValueError(\"map is unexpectedly incomplete\")\n\n\nHTML = r'''<!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<meta name=\"referrer\" content=\"no-referrer\">\n<title>Crypto Infrastructure Hub</title>\n<style>\n:root{\n  color-scheme:dark;\n  --bg:#0b0e13;--panel:#11161e;--panel-2:#151b25;--ink:#eef1f5;\n  --muted:#9ca6b5;--line:#2b3442;--gold:#e5b94b;--soft-gold:#e5b94b18;\n  --focus:#8ec7ff;--danger:#e06b76;--shadow:0 18px 50px #0007;\n}\n:root[data-theme=\"light\"]{\n  color-scheme:light;--bg:#f2f4f7;--panel:#ffffff;--panel-2:#f7f8fa;\n  --ink:#18202b;--muted:#5e6b7a;--line:#d7dde5;--soft-gold:#a97b0f18;\n  --focus:#1769aa;--shadow:0 15px 40px #33415518;\n}\n*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif}\nbody{margin:0;background:radial-gradient(circle at 18% -12%,#e5b94b12,transparent 34%),var(--bg)}\nbutton,input,select{font:inherit}button{color:inherit}.shell{max-width:1900px;margin:auto;padding:28px 20px 48px}\n.eyebrow{font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.17em;text-transform:uppercase;color:var(--gold)}\nh1{font:700 clamp(34px,5vw,66px)/1 Georgia,\"Times New Roman\",serif;margin:12px 0 12px;max-width:1100px;letter-spacing:-.025em}\n.deck{font:italic clamp(17px,2.1vw,23px)/1.45 Georgia,\"Times New Roman\",serif;color:color-mix(in srgb,var(--ink) 80%,var(--muted));max-width:1060px;margin:0}\n.thesis{max-width:1180px;margin:22px 0 0;padding-left:17px;border-left:3px solid var(--gold);font-size:15px;line-height:1.65;color:color-mix(in srgb,var(--ink) 78%,var(--muted))}\n.stats{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 0}.stat{border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 86%,transparent);border-radius:8px;padding:9px 11px;min-width:124px}.stat b{display:block;font:700 18px ui-monospace,SFMono-Regular,Menlo,monospace}.stat span{display:block;color:var(--muted);font-size:11px;margin-top:2px;text-transform:uppercase;letter-spacing:.08em}\n.toolbar{position:sticky;top:0;z-index:30;margin:27px 0 16px;padding:12px 0;background:color-mix(in srgb,var(--bg) 91%,transparent);backdrop-filter:blur(14px);border-block:1px solid var(--line)}\n.toolbar-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.toolbar-row[hidden],.context-field[hidden]{display:none}.toolbar-row+.toolbar-row{margin-top:9px}.tool-label{display:block;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:5px}.field{display:grid;gap:0}.field-grow{flex:1;min-width:210px}.field-compact{min-width:170px}.control{min-height:38px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;padding:8px 10px}.mode-group{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.mode-toggle{min-height:38px;border:0;border-right:1px solid var(--line);background:transparent;padding:8px 12px;cursor:pointer;color:var(--muted)}.mode-toggle:last-child{border-right:0}.mode-toggle[aria-pressed=\"true\"]{background:var(--ink);color:var(--bg)}.mode-toggle:hover{color:var(--ink)}.mode-toggle[aria-pressed=\"true\"]:hover{color:var(--bg)}\n.search{min-width:240px;width:100%;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;padding:8px 11px}.search::placeholder{color:var(--muted)}.toolbar-action{min-height:38px;border:1px solid var(--line);background:transparent;border-radius:8px;padding:8px 11px;cursor:pointer;color:var(--muted)}.toolbar-action:hover,.toolbar-action[aria-expanded=\"true\"]{color:var(--ink);border-color:var(--focus)}\n.refine-panel{margin-top:10px;padding:12px 0;border-top:1px solid var(--line)}.key-note{margin:0 0 10px;color:var(--muted);font-size:12px}.legend-grid{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(420px,1.35fr) minmax(260px,.8fr);gap:18px}.legend-title{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 7px}.legend-items{display:flex;flex-wrap:wrap;gap:7px}.legend-item,.type-toggle{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:transparent;border-radius:7px;padding:6px 8px;color:var(--muted);font-size:11px}.type-toggle{cursor:pointer}.type-toggle[aria-pressed=\"true\"]{color:var(--ink);border-color:var(--edge-color);background:color-mix(in srgb,var(--edge-color) 10%,transparent)}.lane-swatch{width:5px;height:20px;border-radius:3px;background:var(--lane-color)}.clock-swatch{width:8px;height:8px;border-radius:50%;background:var(--clock-color)}.edge-sample{display:block;width:34px;height:12px}.edge-sample line{stroke:var(--edge-color);stroke-width:2}\n.selection-summary{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0;flex:1}.selection-chip{border:1px solid color-mix(in srgb,var(--focus) 55%,var(--line));border-radius:999px;padding:4px 8px;color:var(--ink);font-size:11px;background:color-mix(in srgb,var(--focus) 10%,transparent)}.clear-selection{border:0;background:transparent;color:var(--focus);padding:6px 8px;cursor:pointer;font-size:11px}.clear-selection:hover{text-decoration:underline}\n.lens-note{margin:9px 0 0 80px;color:var(--muted);font-size:12px;line-height:1.4}\n.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}\n.map-frame,.detail{background:color-mix(in srgb,var(--panel) 97%,transparent);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}\n.map-frame{overflow:hidden}.map-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:14px 16px;border-bottom:1px solid var(--line)}.map-head h2{font:700 19px Georgia,serif;margin:0 0 4px}.map-head p{color:var(--muted);font-size:12px;margin:0;line-height:1.45}.map-actions{display:flex;gap:8px;align-items:center}.map-count{white-space:nowrap;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--gold)}.map-button{border:1px solid var(--line);background:transparent;border-radius:7px;padding:6px 8px;color:var(--muted);cursor:pointer;font-size:11px}.map-button:hover{color:var(--ink);border-color:var(--focus)}\n.map-scroll{overflow:auto;padding:0 10px 10px}.map-canvas{position:relative;min-width:1320px;height:860px;background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--line) calc(100% - 1px));background-size:var(--lane-width,16.666667%) 100%;background-repeat:repeat-x}\n.local-research pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 system-ui;max-height:420px;overflow:auto}.local-research summary{cursor:pointer;color:var(--focus)}.process-card-research{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.process-card-research summary{cursor:pointer;font-weight:700;color:var(--focus);padding:6px 0}.process-card-research p{margin:8px 0}.process-card-research a{font-size:11px}.comparison-picker,.follow-object,.flow-context{margin:12px 16px}.comparison-options{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}.comparison-options label{font-size:12px}.follow-object{display:flex;align-items:center;gap:12px;font-size:13px}.follow-object select{max-width:420px}.flow-context{font-size:12px;color:var(--muted)}.process-scroll{overflow:auto;padding:0 10px 14px}.process-scroll[hidden],.map-scroll[hidden]{display:none}.process-grid{display:grid;align-items:stretch;min-width:1420px}.process-head,.process-label,.process-cell{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px;min-height:68px}.process-head{display:flex;align-items:end;color:var(--muted);font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.05em;text-transform:uppercase}.process-head:first-child,.process-label{position:sticky;left:0;z-index:4;background:var(--panel)}.process-label{display:flex;align-items:center;padding:8px 10px}.process-label button{width:100%;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font-weight:700;font-size:12px;line-height:1.3;padding:7px}.process-label button:hover,.process-label button:focus-visible{color:var(--focus);outline:1px solid var(--line);border-radius:7px}.process-cell{display:grid;align-content:start;gap:6px;background:color-mix(in srgb,var(--panel) 96%,transparent)}.process-entry{width:100%;border:1px solid color-mix(in srgb,var(--role-color) 55%,var(--line));border-left:4px solid var(--role-color);border-radius:7px;background:color-mix(in srgb,var(--role-color) 10%,var(--panel));color:var(--ink);padding:7px;text-align:left;cursor:pointer}.process-entry:hover,.process-entry:focus-visible,.process-entry[aria-pressed=\"true\"]{border-color:var(--role-color);outline:2px solid color-mix(in srgb,var(--role-color) 35%,transparent);outline-offset:1px}.process-entry small{display:block;font-size:9px;line-height:1.35;margin-top:5px;color:var(--muted)}.process-entry b{display:block;font-size:10px;line-height:1.25}.process-entry span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;line-height:1.25;margin-top:4px}.process-entry span:before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--clock-color);flex:0 0 auto}.process-empty{color:var(--muted);display:grid;place-items:center;min-height:45px;font-size:12px}.process-role-swatch{width:8px;height:18px;border-radius:3px;background:var(--role-color)}.process-evidence-list{display:grid;gap:7px}.process-evidence-item{border-left:3px solid var(--lane-color);padding-left:9px}.process-evidence-item b{display:block;font-size:11px}.process-evidence-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}.process-route-button{margin-top:12px;border:1px solid var(--line);background:transparent;color:var(--focus);border-radius:7px;padding:7px 9px;cursor:pointer;font-size:11px}.process-route-button:hover{border-color:var(--focus)}\n.lane-head{position:absolute;top:14px;transform:translateX(-50%);padding-inline:12px;text-align:center;pointer-events:none}.lane-head b{display:block;font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;text-wrap:balance;color:var(--ink)}.lane-head span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:5px;text-wrap:balance}\n.edges{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.edge{fill:none;stroke-width:1.8;opacity:.5;transition:opacity .15s,stroke-width .15s}.edge.dim{opacity:.12}.edge.hot{opacity:1;stroke-width:3.2}.edge-hit{fill:none;stroke:transparent;stroke-width:15;pointer-events:stroke;cursor:pointer}.edge-end{opacity:.75;pointer-events:none}\n.node{position:absolute;width:158px;min-height:62px;transform:translate(-50%,-50%);border:1px solid var(--line);border-left:4px solid var(--lane-color);border-radius:8px;background:linear-gradient(145deg,var(--panel-2),var(--panel));padding:9px 10px;text-align:left;cursor:pointer;box-shadow:0 8px 20px #0003;transition:opacity .15s,transform .15s,border-color .15s,box-shadow .15s}.node:hover,.node.selected{transform:translate(-50%,-50%) translateY(-2px);border-color:var(--focus);box-shadow:0 0 0 2px color-mix(in srgb,var(--focus) 24%,transparent),0 10px 25px #0004}.node:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.node.dim{opacity:.36}.node.hidden{display:none}.node b{display:block;font-size:12px;line-height:1.22}.node span{display:block;color:var(--muted);font-size:10px;line-height:1.25;margin-top:4px}.node .kind{font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.06em;color:var(--lane-color);margin-top:5px}.node .clock{display:flex;align-items:center;gap:5px;color:var(--muted);font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.04em}.node .clock:before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--clock-color)}\n.detail{position:sticky;top:138px;max-height:calc(100vh - 155px);overflow:auto}.detail-top{padding:17px 18px 14px;border-bottom:1px solid var(--line)}.detail-kicker{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--gold);letter-spacing:.1em;text-transform:uppercase}.detail h2{font:700 25px/1.08 Georgia,serif;margin:8px 0}.status{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:5px 8px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}.clock-badge{display:inline-flex;align-items:center;gap:6px;margin-left:5px}.clock-badge:before{content:\"\";width:7px;height:7px;border-radius:50%;background:var(--clock-color)}.detail-body{padding:16px 18px 18px}.detail-block+.detail-block{margin-top:15px}.detail-block h3{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px}.detail-block p{font-size:13px;line-height:1.55;margin:0}.boundary{border-left:3px solid var(--danger);padding-left:10px;color:color-mix(in srgb,var(--ink) 82%,var(--muted))}.source-list{display:grid;gap:7px}.source-list a{font-size:12px;color:var(--focus);text-decoration:none}.source-list a:hover{text-decoration:underline}.empty-note{color:var(--muted);font-size:13px;line-height:1.55}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:7px}.stack-path{display:grid;gap:7px;counter-reset:stage}.stack-step{display:grid;grid-template-columns:22px 1fr;gap:7px;font-size:12px;line-height:1.4}.stack-step:before{counter-increment:stage;content:counter(stage);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--soft-gold);color:var(--gold);font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}\n.relationships{margin-top:15px;border-top:1px solid var(--line);padding-top:13px}.relationships h3{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px}.relationship-list{display:grid;gap:6px}.relationship{display:grid;grid-template-columns:10px 1fr;gap:8px;width:100%;text-align:left;border:0;border-radius:7px;background:transparent;padding:7px;cursor:pointer}.relationship:hover,.relationship:focus-visible{background:color-mix(in srgb,var(--ink) 6%,transparent);outline:1px solid var(--line)}.relationship i{display:block;width:8px;height:8px;border-radius:50%;margin-top:4px;background:var(--edge-color)}.relationship b{display:block;font-size:11px;line-height:1.35}.relationship span{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin-top:2px}\n.compare-list{display:grid;gap:8px}.compare-item{border-left:3px solid var(--lane-color);padding-left:10px}.compare-item b{display:block;font-size:12px}.compare-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}.shared-list{display:grid;gap:7px}.shared-item{border:1px solid var(--line);border-radius:7px;padding:8px 9px}.shared-item b{display:block;font-size:11px}.shared-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:3px}\n.footer{margin:17px 2px 0;color:var(--muted);font-size:11px;line-height:1.55}.footer b{color:var(--ink)}\n.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.chart-expanded .shell{max-width:none;padding:10px}.chart-expanded .shell>.eyebrow,.chart-expanded .shell>h1,.chart-expanded .shell>.deck,.chart-expanded .shell>.thesis,.chart-expanded .shell>.stats,.chart-expanded .shell>.footer{display:none}.chart-expanded .toolbar{position:static;margin:0 0 10px}.chart-expanded .workspace{grid-template-columns:minmax(0,1fr) 360px}.chart-expanded .detail{top:10px;max-height:calc(100vh - 20px)}.chart-expanded .map-scroll,.chart-expanded .process-scroll{max-height:calc(100vh - 92px)}.chart-expanded .map-canvas{min-width:1650px}\n@media(max-width:1350px){.workspace{grid-template-columns:1fr}.detail{position:static;max-height:none}.legend-grid{grid-template-columns:1fr}.chart-expanded .workspace{grid-template-columns:1fr}.chart-expanded .detail{display:none}}\n@media(max-width:700px){.shell{padding:22px 10px 36px}.field,.field-grow{min-width:100%}.mode-group{width:100%}.mode-toggle{flex:1}.map-head{display:block}.map-actions{margin-top:9px}.map-scroll{padding-inline:4px}.detail h2{font-size:22px}}\n@media(prefers-reduced-motion:reduce){*{transition:none!important}}\n.accounting-panel{padding:18px}.accounting-panel[hidden]{display:none}.accounting-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.accounting-tabs button,.accounting-open{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--ink);padding:10px;cursor:pointer}.accounting-tabs button[aria-pressed=\"true\"]{border-color:#64c9b1;background:#183a35}.accounting-intro{max-width:850px;line-height:1.6}.accounting-filters{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.accounting-filters label{display:grid;gap:6px}.accounting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.accounting-card{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:16px}.accounting-card h3{margin:9px 0}.accounting-card p{font-size:13px;line-height:1.55}.accounting-tag{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#7ce1c2}.accounting-card.comparison .accounting-tag{color:#dabd80}.accounting-card .source-list a{display:block;font-size:11px;margin:7px 0}.accounting-gap{padding:12px;border-left:3px solid #dabd80;background:var(--panel-2)}.accounting-example{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.accounting-example table{border-collapse:collapse;width:100%;font-size:12px}.accounting-example td,.accounting-example th{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.workspace.accounting-active{grid-template-columns:1fr}.workspace.accounting-active>.detail{display:none}.accounting-example input{max-width:160px}.accounting-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}\n.flow-spine{margin:0 0 16px;padding:14px 16px;border:1px solid var(--line,#d4dce6);border-radius:12px;background:var(--panel,#fff);color:var(--ink,#19232e)}\n.flow-spine-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}\n.flow-spine-heading>strong{font-size:15px}\n.flow-spine-overview{font-size:12px;color:var(--muted,#526379)}\n.flow-spine-note{margin:6px 0 10px;font-size:12px;line-height:1.5;color:var(--muted,#526379);max-width:110ch}\n.flow-spine-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:4px 3px 10px;scrollbar-width:thin}\n.flow-spine-row{display:flex;align-items:stretch;gap:7px;min-width:max-content}\n.flow-spine-step{position:relative;display:grid;grid-template-rows:18px minmax(34px,auto) 16px;gap:5px;flex:0 0 145px;width:145px;min-height:104px;padding:10px 11px;text-align:left;border:1px solid var(--line,#d4dce6);border-radius:8px;background:var(--panel,#fff);color:var(--ink,#19232e);font:inherit;cursor:pointer}\n.flow-spine-step:hover{border-color:var(--focus);background:color-mix(in srgb,var(--focus) 12%,var(--panel))}\n.flow-spine-step[aria-pressed=\"true\"]{border:2px solid #235b92;padding:9px 10px;background:color-mix(in srgb,var(--focus) 18%,var(--panel));box-shadow:inset 0 3px 0 var(--focus)}\n.flow-spine-step:focus-visible{outline:3px solid #235b92;outline-offset:3px}\n.flow-spine-number{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted)}\n.flow-spine-label{font-size:12px;font-weight:700;line-height:1.35;white-space:normal}\n.flow-spine-count{font-size:10px;line-height:1.3;white-space:nowrap;color:var(--muted)}\n.flow-spine-gap{border-style:dashed}\n.flow-spine-gap .flow-spine-count{font-style:italic}\n.flow-spine-all{flex-basis:106px;width:106px;margin-right:8px;background:var(--panel)}\n.flow-spine-arrow{align-self:center;color:#78899b;font-size:20px;line-height:1;flex:0 0 16px;text-align:center}\n@media(max-width:640px){.flow-spine{padding:12px}.flow-spine-step{flex-basis:135px;width:135px}.flow-spine-overview{font-size:11px}.flow-spine-all{flex-basis:100px;width:100px}}\n@media(forced-colors:active){.flow-spine-step[aria-pressed=\"true\"]{outline:2px solid Highlight}.flow-spine-arrow{color:CanvasText}}\n\n\n.bank-research{margin:16px 0;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.bank-research>summary{padding:15px 18px;cursor:pointer;font-weight:700;font-size:15px}.bank-research>summary small{display:block;color:var(--muted);font-weight:400;font-size:11px;line-height:1.5;margin:5px 0 0 18px}.bank-research-body{padding:0 18px 18px;border-top:1px solid var(--line)}.bank-research-intro{font-size:12px;line-height:1.6;color:var(--muted);max-width:1000px}.bank-research-filters{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.bank-research-filters label{display:grid;gap:5px;min-width:220px;max-width:100%;font-size:11px;color:var(--muted)}.bank-research-filters select{width:100%}.bank-research-count{font-size:11px;color:var(--muted)}.bank-research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin:10px 0 20px}.bank-research-card{border:1px solid var(--line);border-radius:9px;background:var(--panel-2);min-width:0}.bank-research-card>summary{padding:13px;cursor:pointer;line-height:1.4;font-size:13px;font-weight:700}.bank-research-card>summary small{display:block;font-size:10px;font-weight:400;line-height:1.5;color:var(--muted);margin-top:6px}.bank-research-card-body{padding:0 13px 13px;font-size:12px;line-height:1.6}.bank-research-card-body p{margin:9px 0}.bank-research-card .source-list{overflow-wrap:anywhere}.bank-research-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.bank-research-actions button{margin:0;white-space:normal;text-align:left}.bank-adjacent{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.bank-adjacent h4{margin:0;font-size:12px}.bank-research-section-title{font-size:14px;margin:18px 0 8px}.bank-status{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:2px 7px;font-size:10px;line-height:1.4;font-weight:500;color:var(--muted)}.bank-status.completed{color:var(--focus);border-color:var(--focus)}.bank-research-report{border-top:1px solid var(--line);padding-top:14px}.bank-research button:focus-visible,.bank-research summary:focus-visible,.bank-research select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}\n\n\n#evidenceFlow{padding:12px 16px}.reported-sequence h3{margin:0}.reported-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0}.reported-steps button{height:100%;width:100%;text-align:left;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit;cursor:pointer}.reported-steps b{display:block;color:var(--gold);margin-bottom:5px}.evidence-review{padding:12px;border:1px solid var(--line);border-radius:8px;margin:10px 0}.evidence-review>summary{cursor:pointer;font-weight:600}.evidence-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.evidence-question{min-width:0;overflow-wrap:anywhere}.reported-steps button:focus-visible{outline:3px solid var(--gold)}@media(max-width:850px){.reported-steps,.evidence-question-grid{grid-template-columns:1fr}}\n\n#infra-rulebooks table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px}#infra-rulebooks th,#infra-rulebooks td{text-align:left;vertical-align:top;padding:14px;border-bottom:1px solid #4b5e6a;line-height:1.5}#infra-rulebooks th{color:#dbc57e}#infra-rulebooks td{min-width:160px}#infra-rulebooks tr:focus{outline:2px solid #dbc57e}.infra-map{margin:36px 0 50px}.infra-map h2{font:700 30px Georgia,serif}.infra-heading{display:grid;grid-template-columns:2fr 1fr;gap:30px}.infra-map p{line-height:1.55}.infra-map select{width:100%;padding:12px;background:#1a2a36;border:1px solid #688396;border-radius:6px;color:#e7edf3;font:inherit}.infra-map label{display:block;margin-bottom:8px}.infra-inspect{scroll-margin-top:24px;display:grid;grid-template-columns:1fr 1.6fr;gap:24px;padding:24px;border:1px solid #bca159;border-radius:12px;margin:20px 0}.infra-inspect h3{font-size:25px;margin:8px 0}.infra-edges{display:grid;gap:10px;margin-top:12px}.infra-edges article{background:#1a2a36;padding:12px;border-radius:6px}.infra-map a{color:#9cd4ff}.infra-map button[data-infra]{background:none;border:0;color:#9cd4ff;font:inherit;font-weight:650;text-align:left;cursor:pointer;padding:0}.infra-map button:focus-visible{outline:2px solid #f0c65f;outline-offset:4px}.infra-row{display:grid;grid-template-columns:240px 1fr;gap:24px;padding:25px 0;border-top:1px solid #4b5e6a;scroll-margin-top:20px}.infra-row header h3{font-size:22px;margin:8px 0}.infra-row header p{font-size:14px;color:#bccbd6}.infra-nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.infra-nodes article{background:#152630;border:1px solid #3c525f;border-radius:8px;padding:14px}.infra-nodes article.wh-lit{border:2px solid #d0af57}.infra-nodes small{display:block;font-size:10px;color:#b3c1cb;margin:8px 0}.infra-nodes p{font-size:12px;margin:5px 0}.infra-gaps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.infra-gaps article{border-left:2px dotted #c8a64c;padding:0 16px;background:#18242d}.infra-gaps p{font-size:13px}.wh-jumps a{color:#9cd4ff;padding:8px;display:inline-block}@media(max-width:1050px){.infra-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}.infra-row{grid-template-columns:190px 1fr}}@media(max-width:760px){.infra-row,.infra-inspect,.infra-heading,.infra-gaps{grid-template-columns:1fr}.infra-nodes{grid-template-columns:1fr}.infra-edges{max-height:none}}\n.sx-seat-button{display:block;width:100%;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.sx-seat-button:hover h3,.sx-seat-button:focus-visible h3{color:var(--gold)}.sx-seat-button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}\n\n</style>\n</head>\n<body>\n<main class=\"shell\">\n  <div class=\"eyebrow\">Freedom 250 Observatory · evidence cutoff <span id=\"cutoff\"></span></div>\n  <h1 id=\"title\"></h1>\n  <p class=\"deck\" id=\"subtitle\"></p>\n  <p class=\"thesis\" id=\"thesis\"></p>\n  <div class=\"stats\" aria-label=\"Map summary\">\n    <div class=\"stat\"><b id=\"nodeTotal\"></b><span>entities &amp; objects</span></div>\n    <div class=\"stat\"><b id=\"edgeTotal\"></b><span>typed relationships</span></div>\n    <div class=\"stat\"><b id=\"sourceTotal\"></b><span>source objects</span></div>\n    <div class=\"stat\"><b id=\"controlTotal\"></b><span>actual control edges</span></div>\n  </div>\n\n<style>\n.crypto-rooms{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.crypto-rooms button,.liq-tabs button,.liq-action{font:inherit;padding:10px 16px;border:1px solid var(--line,#cbd5e1);border-radius:7px;background:var(--panel,#fff);color:inherit;cursor:pointer}.crypto-rooms [aria-pressed=true],.liq-tabs [aria-pressed=true]{background:#163d47;color:#fff}body.current-stack-room .mode-group,body.current-stack-room #viewField{display:none}body.current-stack-room .node.overlay-node{border-style:dashed;box-shadow:0 0 0 1px #80b4a4}.liquidity-room .stats,.liquidity-room .toolbar,.liquidity-room .bank-research,.liquidity-room .workspace,.liquidity-room .footer,.liquidity-room .thesis,.liquidity-room .deck{display:none!important}\n.hub-chrome{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:16px 0 18px;padding:10px 12px;border:1px solid var(--line,#cbd5e1);border-radius:10px;background:color-mix(in srgb,var(--bg,#0f1a21) 94%,transparent);backdrop-filter:blur(12px)}.hub-chrome-nav{display:flex;gap:7px;flex-wrap:wrap}.hub-chrome button{font:inherit;padding:9px 12px;border:1px solid var(--line,#cbd5e1);border-radius:7px;background:var(--panel,#fff);color:inherit;cursor:pointer}.hub-chrome [aria-pressed=true]{border-color:var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.hub-search-jump{white-space:nowrap}.hub-context{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:-18px 0 18px;padding:9px 13px;border:1px solid var(--line,#cbd5e1);border-top:0;border-radius:0 0 10px 10px;background:var(--panel,#172832);font-size:11px}.hub-command-room .hub-context{display:none}.hub-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--muted,#91a1ad)}.hub-breadcrumb b{color:var(--ink,#e8edf0)}.hub-current{color:var(--muted,#91a1ad);text-align:right}.hub-routebar{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line,#cbd5e1);padding-top:8px}.hub-routebar[hidden]{display:none}.hub-routebar strong{font-size:12px}.hub-routebar span{font-size:11px;color:var(--muted,#91a1ad)}.hub-routebar button{padding:7px 10px}.hub-routebar button[aria-pressed=true]{background:#163d47;color:#fff;border-color:#76b8c0}@media(max-width:720px){.hub-chrome{grid-template-columns:1fr auto}.hub-context{align-items:flex-start;flex-direction:column}.hub-current{text-align:left}}\n#hubHome[hidden],#workspaceHub[hidden],#xrayHub[hidden]{display:none}#hubHome,#workspaceHub,#xrayHub{max-width:1440px;margin:auto;padding:20px 12px 70px;line-height:1.55}.hub-home-intro{max-width:950px}.hub-home-intro h2,#workspaceHub h2,#xrayHub h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 14px}.hub-home-intro p{color:var(--muted,#aab8c2);font-size:16px}.hub-route-callout{margin:22px 0;padding:16px 18px;border-left:3px solid var(--gold,#d6b960);background:var(--panel,#172832)}.hub-question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.hub-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.hub-question{border:1px solid var(--line,#526b7a);border-radius:12px;padding:18px;background:var(--panel,#172832)}.hub-question h3{font:700 24px/1.2 Georgia,serif;margin:5px 0 8px}.hub-question>p{color:var(--muted,#aab8c2);font-size:13px;min-height:42px}.hub-room-list{display:grid;gap:8px;margin-top:15px}.hub-room-card{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;text-align:left;border:1px solid var(--line,#526b7a)!important;background:var(--bg,#10202a)!important;color:inherit!important;padding:12px 13px!important}.hub-room-card:hover{border-color:var(--focus,#78b8d8)!important}.hub-room-card b{display:block;font-size:14px}.hub-room-card small{display:block;margin-top:3px;color:var(--muted,#aab8c2);font-size:11px;line-height:1.4}.hub-room-card em{font-style:normal;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#d6b960)}.workspace-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;counter-reset:path;margin:22px 0}.workspace-path article{position:relative;border-top:3px solid var(--gold,#d6b960);background:var(--panel,#172832);padding:14px;border-radius:8px}.workspace-path article:not(:last-child):after{content:'→';position:absolute;right:-8px;top:40%;z-index:2;color:var(--gold,#d6b960)}.workspace-path b{display:block;font-size:14px}.workspace-path small{display:block;color:var(--muted,#aab8c2);font-size:11px;margin-top:5px}.rule-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.rule-package{border:1px solid var(--line,#526b7a);border-top:4px solid var(--gold,#d6b960);border-radius:10px;background:var(--panel,#172832);padding:17px}.rule-package.proposed{border-top-style:dashed;border-top-color:#d49b72}.rule-package h3{font:700 22px/1.2 Georgia,serif;margin:5px 0 12px}.rule-package dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:7px 12px;margin:0 0 14px}.rule-package dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#aab8c2)}.rule-package dd{margin:0;font-size:12px}.hub-lens{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-top:16px;padding:18px;border:1px dashed var(--gold,#d6b960);border-radius:10px}.hub-lens h3{margin:0 0 5px}.hub-lens p{margin:0;color:var(--muted,#aab8c2)}\n.home-section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:34px 0 14px}.home-section-head h3{font:700 28px/1.15 Georgia,serif;margin:4px 0}.home-section-head p{max-width:760px;margin:0;color:var(--muted);font-size:13px}.home-workspace-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 28px}.home-workspace-strip button{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px;cursor:pointer}.home-workspace-strip button:hover{border-color:var(--focus)}.home-workspace-strip b{display:block}.home-workspace-strip small{display:block;color:var(--muted);margin-top:3px}.atlas-tools{margin:16px 0}.atlas-tools label{display:grid;gap:6px;max-width:760px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.atlas-tools input{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:11px 13px}.home-search-results{margin:16px 0 26px;border-top:1px solid var(--line);padding-top:16px}.home-search-results[hidden]{display:none}.home-search-summary{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.home-search-summary b{display:block;font:700 19px/1.2 Georgia,serif}.home-search-summary small{display:block;color:var(--muted)}.home-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-search-result{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:13px;cursor:pointer}.home-search-result:hover{border-color:var(--gold)}.home-search-result small,.home-search-result span{display:block}.home-search-result small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--gold)}.home-search-result b{display:block;margin:4px 0}.home-search-result span{font-size:12px;line-height:1.45;color:var(--muted)}.visual-atlas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.atlas-family{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:17px}.atlas-family h3{font:700 22px/1.2 Georgia,serif;margin:4px 0}.atlas-family>p{color:var(--muted);font-size:12px}.atlas-family[hidden],.embedded-room[hidden]{display:none}.embedded-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.embedded-room{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:16px}.embedded-room h4{font:700 19px/1.2 Georgia,serif;margin:4px 0}.embedded-room>p{color:var(--muted);font-size:12px}.subview-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.subview-chips button{font:inherit;font-size:11px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:7px 10px;cursor:pointer}.subview-chips button:hover{border-color:var(--gold)}.home-empty{margin:18px 0;padding:20px;border:1px dashed var(--line);color:var(--muted)}\n.home-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-system-card,.home-recent-card{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;cursor:pointer}.home-system-card:hover,.home-recent-card:hover{border-color:var(--gold);transform:translateY(-1px)}.home-system-card small,.home-recent-card small{display:block;color:var(--gold);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.home-system-card b,.home-recent-card b{display:block;margin:5px 0;font-size:15px}.home-system-card span,.home-recent-card span{display:block;color:var(--muted);font-size:11px;line-height:1.45}.home-system-card em,.home-recent-card em{display:inline-block;margin-top:9px;font-style:normal;font-size:9px;border:1px solid var(--focus);border-radius:999px;padding:3px 7px;color:var(--focus)}.home-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-recent-card{border-left:3px solid var(--gold);padding:16px}.home-recent-card b{font:700 19px/1.2 Georgia,serif}.home-deep{margin:32px 0;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.home-deep>summary{cursor:pointer;padding:16px 18px;font-weight:700}.home-deep>div{padding:0 18px 18px}.home-system-card[hidden],.home-recent-card[hidden]{display:none}@media(max-width:900px){.home-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.home-system-grid,.home-recent-grid{grid-template-columns:1fr}}\n#fieldGuide[hidden]{display:none}#fieldGuide{max-width:1480px;margin:auto;padding:20px 12px 72px;line-height:1.55}.fg-intro{max-width:980px}.fg-intro h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 12px}.fg-intro>p{color:var(--muted);font-size:16px}.fg-boundary{padding:13px 16px;border-left:3px solid var(--gold);background:var(--panel);font-size:13px}.fg-distinctions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.fg-distinction{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:15px}.fg-distinction h3{font-size:16px;margin:0 0 7px}.fg-distinction p{color:var(--muted);font-size:12px;margin:0}.fg-tools{display:grid;grid-template-columns:minmax(240px,1fr) 2fr;gap:14px;margin:22px 0;align-items:start}.fg-search{display:grid;grid-template-rows:auto 44px;align-self:start;gap:6px;font-size:12px;font-weight:700}.fg-search input{width:100%;height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);font:inherit}.fg-categories{display:flex;gap:7px;flex-wrap:wrap;align-items:end}.fg-categories button,.fg-profile-list button,.fg-actions button{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 11px;cursor:pointer}.fg-categories button[aria-pressed=true],.fg-profile-list button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.fg-layout{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:20px;align-items:start}.fg-profile-list{display:grid;gap:7px;position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto;padding-right:4px}.fg-profile-list button{text-align:left}.fg-profile-list b{display:block;font-size:14px}.fg-profile-list small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.fg-detail{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.fg-hero{padding:24px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--gold) 8%,var(--panel)))}.fg-hero h2{font:700 clamp(28px,3.4vw,42px)/1.12 Georgia,serif;margin:7px 0 10px}.fg-kind{display:inline-block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.fg-why{font-size:16px;max-width:900px}.fg-special{margin:18px 0 0;padding:16px;border:1px solid var(--gold);border-radius:8px;background:var(--soft-gold)}.fg-special header{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.fg-special header b{font-size:16px}.fg-status{font-size:9px;text-transform:uppercase;letter-spacing:.08em;padding:3px 7px;border:1px solid var(--gold);border-radius:10px}.fg-status.contextual{border-color:var(--focus);color:var(--focus)}.fg-status.not_established{border-style:dashed;color:var(--muted)}.fg-special p{margin:8px 0}.fg-limit{color:var(--muted);font-size:12px}.fg-body{padding:22px}.fg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fg-card{border:1px solid var(--line);border-radius:9px;padding:17px;background:var(--panel-2)}.fg-card.wide{grid-column:1/-1}.fg-card h3{font-size:15px;margin:0 0 10px}.fg-card p,.fg-card li{font-size:13px}.fg-card ol,.fg-card ul{padding-left:20px;margin:8px 0}.fg-card li+li{margin-top:7px}.fg-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fg-yes{border-top:3px solid #5a9f85}.fg-no{border-top:3px solid #b97862}.fg-attachments{display:flex;gap:7px;flex-wrap:wrap}.fg-attachments span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--line);border-radius:12px;padding:4px 8px}.fg-confuse{border-left:3px solid #b97862}.fg-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.fg-actions button:first-child{border-color:var(--focus);color:var(--focus)}.fg-empty{padding:30px;border:1px dashed var(--line);color:var(--muted)}.fg-refresh{margin:18px 0 0;padding:16px;border:1px solid var(--focus);border-radius:9px;background:color-mix(in srgb,var(--focus) 7%,var(--panel))}.fg-refresh header{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.fg-stage{font-size:9px;text-transform:uppercase;letter-spacing:.07em;border:1px solid var(--focus);border-radius:10px;padding:3px 7px}.fg-build-list{display:grid;gap:9px}.fg-build-item{padding:11px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.fg-build-item header{display:flex;justify-content:space-between;gap:8px;align-items:start}.fg-build-item b{font-size:13px}.fg-build-item small,.fg-build-item p{font-size:11px;color:var(--muted);margin:5px 0}.fg-build-item .fg-limit{font-size:10px}.fg-assessment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fg-assessment p{margin:0;padding:9px;border-left:2px solid var(--line);background:var(--panel)}@media(max-width:900px){.fg-layout,.fg-tools{grid-template-columns:1fr}.fg-profile-list{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.fg-distinctions{grid-template-columns:1fr}}@media(max-width:620px){.fg-grid,.fg-split,.fg-profile-list,.fg-assessment{grid-template-columns:1fr}.fg-body,.fg-hero{padding:17px}}\n#bankTransitionHub[hidden]{display:none}#bankTransitionHub{max-width:1540px;margin:auto;padding:20px 12px 72px;line-height:1.55}.bt-hero{max-width:1100px}.bt-hero h2{font:700 clamp(34px,4.5vw,52px)/1.05 Georgia,serif;margin:8px 0 13px}.bt-hero>p{font-size:16px;color:var(--muted)}.bt-boundary{border-left:4px solid #c27c64;background:var(--panel);padding:15px 18px;margin:18px 0}.bt-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.bt-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.bt-metric strong{display:block;font:700 28px Georgia,serif;color:var(--gold)}.bt-metric small{color:var(--muted)}.bt-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:22px 0}.bt-tools label{display:grid;gap:5px;color:var(--muted);font-size:11px}.bt-tools input,.bt-tools select,.bt-tools button{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 12px}.bt-tools input{min-width:290px}.bt-tools button{cursor:pointer}.bt-tools button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.bt-legend{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.bt-state{display:inline-block;border:1px solid var(--state-color,var(--line));border-radius:13px;padding:4px 8px;font:700 10px ui-monospace,monospace;color:var(--state-color,var(--ink));background:color-mix(in srgb,var(--state-color,var(--line)) 9%,var(--panel))}.bt-state.m0{--state-color:#7f8b92}.bt-state.m1{--state-color:#9c84ba}.bt-state.m2{--state-color:#c48765}.bt-state.m3{--state-color:#d0aa61}.bt-state.m4{--state-color:#64a5c5}.bt-state.m5{--state-color:#63ae89}.bt-state.m6{--state-color:#e0c459}.bt-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.bt-table{width:100%;min-width:1220px;border-collapse:separate;border-spacing:0}.bt-table th,.bt-table td{vertical-align:top;text-align:left;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px}.bt-table thead th{position:sticky;top:68px;z-index:3;background:var(--bg);min-width:120px}.bt-table thead th:first-child{left:0;z-index:5;min-width:220px}.bt-table tbody th{position:sticky;left:0;z-index:2;background:var(--bg);min-width:220px}.bt-institution{width:100%;font:inherit;color:var(--ink);background:none;border:0;padding:0;text-align:left;cursor:pointer}.bt-institution b{display:block;font-size:14px}.bt-institution small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.bt-cell{width:100%;min-height:88px;text-align:left;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:7px;padding:7px;cursor:pointer}.bt-cell:hover,.bt-cell[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.bt-cell p{font-size:10px;margin:7px 0 0;line-height:1.35}.bt-cell[hidden],.bt-row[hidden]{display:none}.bt-detail{margin:22px 0;padding:20px;border:1px solid var(--gold);border-radius:12px;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.bt-detail h3{font:700 clamp(26px,3.4vw,38px) Georgia,serif;margin:5px 0 10px}.bt-detail-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:18px}.bt-profile{border-right:1px solid var(--line);padding-right:18px}.bt-profile p,.bt-capability p{font-size:13px}.bt-capability{padding:3px 0}.bt-limit{border-left:3px solid #c27c64;padding-left:11px;color:var(--muted)}.bt-sources{display:grid;gap:6px;margin-top:12px}.bt-sources a{color:var(--focus)}.bt-archetypes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:25px 0}.bt-archetypes article{border-top:3px solid var(--gold);border-radius:8px;background:var(--panel);padding:15px}.bt-archetypes h3{margin:0 0 6px}.bt-archetypes p{font-size:12px;color:var(--muted)}@media(max-width:850px){.bt-metrics{grid-template-columns:repeat(2,1fr)}.bt-detail-grid{grid-template-columns:1fr}.bt-profile{border-right:0;border-bottom:1px solid var(--line);padding:0 0 14px}.bt-table thead th{top:0}}@media(max-width:560px){#bankTransitionHub{padding:14px 4px 60px}.bt-metrics{grid-template-columns:1fr}.bt-tools>*{width:100%}.bt-tools input,.bt-tools select{width:100%;min-width:0}}\n#corporateStackHub[hidden]{display:none}#corporateStackHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.5}.cs-intro{max-width:1000px}.cs-intro h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 12px}.cs-intro>p{font-size:16px;color:var(--muted)}.cs-boundary{border-left:3px solid var(--gold);background:var(--panel);padding:13px 16px;font-size:13px}.cs-legend{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.cs-state{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:4px 8px;font-size:10px}.cs-state.live_owned{border-color:#62ad89;color:#b9ead3}.cs-state.live_separate{border-color:#62a5c8;color:#b9dcf0}.cs-state.bounded{border-color:#c0a75f;color:#eadba9}.cs-state.preopening,.cs-state.roadmap{border-style:dashed;border-color:#c78f6b;color:#edc5ad}.cs-state.gap{border-style:dotted;color:var(--muted)}.cs-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}.cs-table{width:100%;min-width:1350px;border-collapse:collapse;background:var(--panel)}.cs-table th,.cs-table td{vertical-align:top;text-align:left;padding:12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:12px}.cs-table thead th{position:sticky;top:68px;z-index:2;background:var(--bg)}.cs-table th:first-child{position:sticky;left:0;z-index:3;min-width:210px;background:var(--bg)}.cs-table thead th:first-child{z-index:4}.cs-table th small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.cs-table td p{margin:7px 0}.cs-verdict{color:var(--gold);font-size:11px}.cs-bound{color:var(--muted);font-size:10px}.cs-source{margin-top:8px}.cs-second{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin:18px 0}.cs-second article{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:16px}.cs-second h3{margin:0 0 7px}.cs-second p{font-size:13px}.cs-foot{margin-top:20px;padding:16px;border:1px dashed var(--gold);border-radius:9px}@media(max-width:700px){#corporateStackHub{padding:16px 4px 60px}.cs-table thead th{top:0}}\n#securitizeHub[hidden]{display:none}#securitizeHub{max-width:1450px;margin:auto;padding:20px 12px 72px;line-height:1.55}.sz-hero{max-width:1050px}.sz-hero h2{font:700 clamp(32px,4vw,46px)/1.08 Georgia,serif;margin:8px 0 12px}.sz-hero>p{font-size:16px;color:var(--muted)}.sz-thesis{border-left:4px solid var(--gold);background:linear-gradient(100deg,var(--panel),transparent);padding:16px 19px;margin:20px 0;font-size:17px}.sz-boundary{border:1px dashed var(--line);border-radius:9px;padding:13px 16px;color:var(--muted)}.sz-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:22px 0}.sz-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.sz-metric strong{display:block;font:700 28px/1.1 Georgia,serif;color:var(--gold)}.sz-metric b{display:block;margin:5px 0}.sz-metric small{color:var(--muted)}.sz-entities,.sz-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px;margin:16px 0 28px}.sz-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.sz-card h3{margin:4px 0 8px;font-size:20px}.sz-tag{display:inline-block;border:1px solid #6fa98f;color:#b8e3d0;border-radius:12px;padding:3px 8px;font-size:10px}.sz-status{color:var(--gold);font-size:12px}.sz-limit{border-left:2px solid #b98162;padding-left:10px;color:var(--muted);font-size:12px}.sz-flow{display:grid;grid-template-columns:repeat(7,minmax(205px,1fr));gap:10px;overflow:auto;padding-bottom:10px;margin:16px 0 30px}.sz-step{min-width:205px;border-top:3px solid #70a8bd;border-radius:8px;background:var(--panel);padding:15px}.sz-step h3{font-size:17px;margin:3px 0 10px}.sz-step p{font-size:12px}.sz-step dl{margin:10px 0}.sz-step dt{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.sz-step dd{margin:3px 0 9px;font-size:12px}.sz-model{border-top:3px solid var(--gold)}.sz-model h3{font-size:20px}.sz-model p{font-size:13px}.sz-compare{margin:34px 0}.sz-compare-intro{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.sz-compare-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.sz-compare-head,.sz-compare-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(260px,1.2fr) minmax(260px,1.2fr) minmax(260px,1.2fr);min-width:980px}.sz-compare-head{background:#18212b;color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.sz-compare-head>*{padding:12px 14px}.sz-compare-row{border-top:1px solid var(--line);background:var(--panel)}.sz-compare-row>*{padding:14px;border-right:1px solid var(--line)}.sz-compare-row>*:last-child{border-right:0}.sz-compare-row h3{margin:0;font-size:16px}.sz-compare-row p{margin:0;font-size:13px}.sz-compare-row .sz-distinction{background:rgba(229,185,75,.06)}.sz-interface{margin:18px 0;padding:20px;border:1px solid var(--gold);border-radius:10px;background:linear-gradient(130deg,rgba(229,185,75,.08),var(--panel))}.sz-interface li{margin:8px 0}.sz-genius{margin:46px 0;padding-top:30px;border-top:2px solid var(--gold)}.sz-genius-clocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:18px 0}.sz-clock{border:1px solid var(--line);border-top:3px solid #70a8bd;border-radius:9px;background:var(--panel);padding:15px}.sz-clock time{display:block;color:var(--gold);font-weight:700;margin:5px 0}.sz-genius-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.sz-genius-head,.sz-genius-row{display:grid;grid-template-columns:minmax(170px,.75fr) minmax(260px,1.15fr) minmax(260px,1.15fr) minmax(260px,1.15fr);min-width:990px}.sz-genius-head{background:#18212b;color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.sz-genius-head>*{padding:12px 14px}.sz-genius-row{border-top:1px solid var(--line);background:var(--panel)}.sz-genius-row>*{padding:14px;border-right:1px solid var(--line)}.sz-genius-row>*:last-child{border-right:0}.sz-genius-row h3{margin:0;font-size:16px}.sz-genius-row p{margin:0;font-size:13px}.sz-genius-row .sz-effect{background:rgba(112,168,189,.08)}.sz-watch{margin-top:24px;padding:19px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.sz-watch li{margin:8px 0}.sz-source summary{cursor:pointer;font-weight:650}.sz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.sz-actions button{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:inherit;padding:10px 14px;cursor:pointer}@media(max-width:700px){#securitizeHub{padding:16px 5px 60px}.sz-entities,.sz-models,.sz-compare-intro{grid-template-columns:1fr}}\n.xr-intro{max-width:980px;color:var(--muted,#aab8c2)}.xr-boundary{padding:12px 15px;border-left:3px solid var(--gold,#d6b960);background:var(--panel,#172832);font-size:13px}.xr-steps{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 14px;margin:12px 0}.xr-steps button{flex:0 0 170px;text-align:left;font:inherit;color:inherit;background:var(--panel,#172832);border:1px solid var(--line,#526b7a);border-radius:8px;padding:11px;cursor:pointer}.xr-steps button[aria-pressed=true]{border:2px solid var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.xr-steps span{display:block;font:700 10px ui-monospace,monospace;color:var(--gold,#d6b960);margin-bottom:4px}.xr-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.xr-controls button,.xr-links button,.xr-layerbar button{font:inherit;padding:9px 12px;border:1px solid var(--line,#526b7a);border-radius:7px;background:var(--panel,#172832);color:inherit;cursor:pointer}.xr-controls button:disabled{opacity:.4}.xr-progress{font-size:12px;color:var(--muted,#aab8c2)}.xr-layerbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:16px 0;padding:10px;border:1px solid var(--line,#526b7a);border-radius:9px}.xr-layerbar strong{font-size:12px;margin-right:3px}.xr-layerbar button{font-size:11px;padding:7px 9px}.xr-layerbar button[aria-pressed=true]{border-color:var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.xr-layers{display:grid;gap:10px;margin:18px 0}.xr-layer[hidden]{display:none}.xr-layer{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid var(--line,#526b7a);border-radius:10px;overflow:hidden;background:var(--panel,#172832)}.xr-layer>header{padding:16px;background:var(--bg,#10202a);border-right:1px solid var(--line,#526b7a)}.xr-layer>header span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#d6b960)}.xr-layer>header h3{font-size:17px;margin:6px 0}.xr-layer>div{padding:16px}.xr-layer p{margin:5px 0 10px}.xr-before-after,.xr-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.xr-mini{padding:11px;background:var(--bg,#10202a);border-radius:7px;font-size:12px}.xr-mini b{display:block;margin-bottom:4px}.xr-book-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.xr-book{border-left:3px solid #5e9db4}.xr-book.fiduciary{border-color:#72b89e}.xr-book.memo{border-color:#d0b064}.xr-crypto{border-color:#72b89e}.xr-crypto>header{background:#17332f}.xr-status{display:inline-block;border:1px solid #72b89e;border-radius:10px;padding:3px 8px;font-size:10px;color:#b8e4d5}.xr-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.xr-empty{font-size:12px;color:var(--muted,#aab8c2)}\n@media(max-width:900px){.hub-chrome{grid-template-columns:1fr}.hub-routebar{justify-content:flex-start}.hub-question-grid,.hub-workspace-grid,.rule-package-grid,.visual-atlas,.embedded-index,.home-search-grid{grid-template-columns:1fr}.home-workspace-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-path{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-path article:not(:last-child):after{display:none}.hub-question>p{min-height:0}.xr-layer{grid-template-columns:1fr}.xr-layer>header{border-right:0;border-bottom:1px solid var(--line,#526b7a)}.hub-lens{grid-template-columns:1fr}}@media(max-width:560px){.home-workspace-strip,.workspace-path{grid-template-columns:1fr}.home-section-head,.home-search-summary{display:block}.home-search-summary small{margin-top:6px}.rule-package dl{grid-template-columns:1fr}.xr-before-after{grid-template-columns:1fr}.hub-routebar span{display:none}.hub-chrome{position:static}}\n#stackExpansionHub[hidden]{display:none}#stackExpansionHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.sx-hero{max-width:1100px}.sx-hero h2{font:700 clamp(32px,4vw,46px)/1.08 Georgia,serif;margin:8px 0 12px}.sx-hero>p{font-size:16px;color:var(--muted)}.sx-boundary,.sx-gap{border-left:4px solid var(--gold);background:var(--panel);padding:14px 18px;margin:18px 0}.sx-gap{border-color:#d48a67}.sx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.sx-metric{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:14px}.sx-metric strong{display:block;font:700 26px Georgia,serif;color:var(--gold)}.sx-metric small{color:var(--muted)}.sx-tools{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:22px 0}.sx-tools input{min-width:280px;flex:1;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);font:inherit}.sx-tools button,.sx-chip,.sx-detail button{border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);padding:8px 11px;cursor:pointer;font:inherit}.sx-tools button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.sx-map{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.sx-row{display:grid;grid-template-columns:230px minmax(0,1fr);border-bottom:1px solid var(--line);min-height:110px}.sx-row:last-child{border:0}.sx-seat{padding:16px;background:var(--bg)}.sx-seat span{font:700 10px ui-monospace,monospace;color:var(--gold)}.sx-seat h3{font-size:16px;margin:5px 0}.sx-seat p{font-size:11px;color:var(--muted);margin:0}.sx-sublayers{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.sx-sublayers i{font-style:normal;font-size:9px;border:1px solid var(--line);border-radius:10px;padding:3px 6px}.sx-systems{display:flex;gap:8px;flex-wrap:wrap;align-content:center;padding:14px}.sx-chip{font-size:12px;text-align:left}.sx-chip.capability{border-color:#5ebd91;background:#193b31}.sx-chip.candidate{border-color:#d0a85e;background:#3b3321}.sx-chip.support{border-color:#69a9cf;background:#183244}.sx-chip.outside{border-style:dotted}.sx-chip[aria-pressed=true]{outline:3px solid var(--gold);outline-offset:2px}.sx-detail{margin:18px 0;border:1px solid var(--gold);border-radius:12px;background:linear-gradient(130deg,var(--panel),var(--soft-gold));padding:20px}.sx-detail h3{font:700 28px Georgia,serif;margin:5px 0}.sx-tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.sx-tags span{font-size:10px;border:1px solid var(--line);border-radius:12px;padding:4px 8px}.sx-fit-grid,.sx-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:16px 0}.sx-fit,.sx-model{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:14px}.sx-fit h4,.sx-model h3{margin:0 0 7px}.sx-fit p,.sx-model p{font-size:12px}.sx-fit small{color:var(--muted)}.sx-models{margin-top:20px}.sx-legend{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:12px 0}.sx-legend span{border-bottom:3px solid var(--c);padding-bottom:3px}@media(max-width:800px){.sx-metrics{grid-template-columns:repeat(2,1fr)}.sx-row{grid-template-columns:1fr}.sx-seat{border-bottom:1px solid var(--line)}}@media(max-width:500px){.sx-metrics{grid-template-columns:1fr}.sx-tools input{min-width:100%}}\n#transitionHub[hidden]{display:none}#transitionHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.tg-hero{max-width:1080px}.tg-hero h2{font:700 clamp(32px,4vw,48px)/1.08 Georgia,serif;margin:8px 0 12px}.tg-hero>p{font-size:16px;color:var(--muted)}.tg-boundary{border-left:4px solid var(--gold);background:var(--panel);padding:14px 18px;margin:18px 0}.tg-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.tg-metric{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:14px}.tg-metric strong{display:block;font:700 27px Georgia,serif;color:var(--gold)}.tg-metric small{color:var(--muted)}.tg-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:24px 0}.tg-path-step{position:relative;border-top:3px solid #6ca7b9;background:var(--panel);padding:13px;min-height:118px}.tg-path-step:not(:last-child):after{content:'→';position:absolute;right:-9px;top:43%;z-index:2;color:var(--gold);font-size:18px}.tg-path-step span{font:700 10px ui-monospace,monospace;color:var(--gold)}.tg-path-step b{display:block;margin:5px 0}.tg-path-step p{font-size:11px;color:var(--muted);margin:0}.tg-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:22px 0}.tg-toolbar button,.tg-toolbar select,.tg-gate,.tg-system,.tg-fit-card button,.tg-return{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);padding:9px 12px;cursor:pointer}.tg-toolbar button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.tg-toolbar label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.tg-group{margin:24px 0}.tg-group>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);gap:18px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:9px}.tg-group h3{font:700 24px Georgia,serif;margin:0}.tg-group header p{margin:0;color:var(--muted);font-size:12px}.tg-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin-top:12px}.tg-gate{text-align:left;min-height:94px}.tg-gate span{font:700 10px ui-monospace,monospace;color:var(--gold)}.tg-gate b{display:block;margin:5px 0}.tg-gate small{color:var(--muted)}.tg-gate[aria-pressed=true]{border:2px solid var(--gold);background:var(--soft-gold)}.tg-inspector{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.7fr);gap:16px;margin:24px 0}.tg-requirement,.tg-fit-board,.tg-system-detail{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:18px}.tg-requirement h3,.tg-system-detail h3{font:700 28px Georgia,serif;margin:6px 0 12px}.tg-proof{border-left:3px solid #73ad96;padding-left:11px}.tg-limit{border-left:3px solid #bf7f61;padding-left:11px;color:var(--muted)}.tg-joins,.tg-fit-legend{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.tg-joins span,.tg-fit-legend span,.tg-maturity{border:1px solid var(--line);border-radius:12px;padding:4px 8px;font-size:10px}.tg-fit-board h3{margin:0 0 12px}.tg-fit-section{margin:14px 0}.tg-fit-section h4{font-size:12px;text-transform:uppercase;letter-spacing:.07em;margin:0 0 7px;color:var(--muted)}.tg-fit-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:8px}.tg-fit-card button{width:100%;text-align:left;min-height:84px;border-left:4px solid var(--fit-color)}.tg-fit-card b{display:block}.tg-fit-card small{display:block;margin-top:5px;color:var(--muted)}.tg-fit-core{--fit-color:#5ebd91}.tg-fit-conditional{--fit-color:#d0a85e}.tg-fit-supporting{--fit-color:#69a9cf}.tg-fit-outside{--fit-color:#8b8b95}.tg-system-detail{grid-column:1/-1;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.tg-system-detail p{max-width:1050px}.tg-system-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px;margin:16px 0}.tg-system-req{border:1px solid var(--line);border-left:4px solid var(--fit-color);border-radius:8px;background:var(--bg);padding:14px}.tg-system-req h4{margin:4px 0 8px}.tg-system-req p{font-size:12px}.tg-system-req button{border:0;background:none;color:var(--focus);padding:0;cursor:pointer;text-align:left}.tg-source{display:inline-block;color:var(--focus);margin-top:10px}.tg-empty{padding:20px;border:1px dashed var(--line);color:var(--muted)}@media(max-width:950px){.tg-path{grid-template-columns:1fr}.tg-path-step:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-15px}.tg-inspector{grid-template-columns:1fr}.tg-group>header{grid-template-columns:1fr}}@media(max-width:600px){.tg-metrics{grid-template-columns:1fr}.tg-toolbar{align-items:stretch}.tg-toolbar label,.tg-toolbar select{width:100%}}\n#liquidityHub[hidden]{display:none}#liquidityHub{padding:24px;background:var(--panel,#fff);border:1px solid var(--line,#cbd5e1);border-radius:12px}.liq-heading{max-width:850px}.liq-heading h2{font-size:34px;margin:8px 0}.liq-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:11px;color:var(--muted,#547580)}.liq-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.liq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.liq-card{border:1px solid var(--line,#cbd5e1);border-top:3px solid #507c80;border-radius:8px;padding:20px;line-height:1.6}.liq-card h3{margin:7px 0;font-size:20px}.liq-card p{margin:10px 0}.liq-card details{border-top:1px solid var(--line,#cbd5e1);padding-top:12px;margin-top:16px}.liq-card summary{cursor:pointer;font-weight:600}.liq-caution{border-left:3px solid #be7a45;padding-left:12px}.liq-flow{display:grid;grid-template-columns:repeat(5,minmax(155px,1fr));gap:12px;overflow:auto;margin:22px 0}.liq-step{padding:18px;background:var(--bg,#f3f6f7);border-radius:8px;min-width:155px}.liq-step b{display:block;font-size:18px}.liq-table{overflow:auto}.liq-table table{width:100%;border-collapse:collapse;min-width:800px}.liq-table th,.liq-table td{padding:14px;text-align:left;border-bottom:1px solid var(--line,#cbd5e1);vertical-align:top;line-height:1.5}.liq-table th{background:var(--bg,#f3f6f7)}.liq-source{margin-top:24px}.liq-filters{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}.liq-filters input{font:inherit;padding:10px;border:1px solid #aebcc7;border-radius:6px;min-width:230px;background:var(--panel,#fff);color:inherit}.liq-empty{padding:25px;border:1px dashed #aebcc7}.liq-note{max-width:850px;line-height:1.7}.liq-card .source-list{display:block}.liq-card .source-list a{display:block;margin:8px 0}\n\n#fedGeniusHub[hidden]{display:none}#fedGeniusHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.fgx-hero{max-width:1120px}.fgx-hero h2{font:700 clamp(34px,4.5vw,52px)/1.06 Georgia,serif;margin:8px 0 13px}.fgx-hero>p{font-size:16px;color:var(--muted)}.fgx-proposal{display:inline-block;border:1px dashed #d49b72;border-radius:14px;padding:4px 9px;color:#efc6a8;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.fgx-boundary{border-left:4px solid #d49b72;background:var(--panel);padding:15px 18px;margin:20px 0}.fgx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.fgx-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.fgx-metric strong{display:block;font:700 28px Georgia,serif;color:var(--gold)}.fgx-metric small{color:var(--muted)}.fgx-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0}.fgx-tabs button,.fgx-tools input,.fgx-tools select,.fgx-action{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);padding:9px 12px}.fgx-tabs button,.fgx-action{cursor:pointer}.fgx-tabs button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.fgx-layer-map{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:9px;overflow:auto;padding:4px 0 15px}.fgx-layer{position:relative;min-width:180px;border-top:4px solid #6ca7b9;background:var(--panel);padding:15px;border-radius:8px}.fgx-layer:not(:last-child):after{content:'→';position:absolute;right:-10px;top:42%;color:var(--gold);z-index:2}.fgx-layer span{font:700 10px ui-monospace,monospace;color:var(--gold)}.fgx-layer h3{font-size:18px;margin:6px 0}.fgx-layer p{font-size:12px}.fgx-limit{border-left:2px solid #c47e62;padding-left:10px;color:var(--muted)}.fgx-gates,.fgx-clocks,.fgx-questions,.fgx-ecosystems{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:11px}.fgx-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.fgx-card h3{font-size:19px;margin:5px 0 9px}.fgx-card p{font-size:12px}.fgx-card .fgx-clock{color:var(--gold);font-size:11px}.fgx-clock-card{border-top:3px solid #6ca7b9}.fgx-clock-card strong{display:block;font:700 21px Georgia,serif;color:var(--gold);margin:6px 0}.fgx-question{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start}.fgx-question b{font:700 25px Georgia,serif;color:var(--gold)}.fgx-question h3{margin:0 0 4px;font-size:15px}.fgx-question p{margin:2px 0}.fgx-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:18px 0}.fgx-tools label{display:grid;gap:5px;color:var(--muted);font-size:11px}.fgx-tools input{min-width:280px}.fgx-status{display:inline-block;border:1px solid var(--line);border-radius:14px;padding:3px 8px;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.fgx-status.issuer_application_interface{border-color:#6fc39b;color:#b8ebd3}.fgx-status.custody_distribution_interface{border-color:#6ba7ce;color:#b8dcf1}.fgx-status.technical_control_interface{border-color:#d0aa61;color:#ebd7a8}.fgx-status.outside_direct_issuer_perimeter{border-style:dotted;color:var(--muted)}.fgx-eco{border-top:3px solid var(--line)}.fgx-eco.issuer_application_interface{border-top-color:#6fc39b}.fgx-eco.custody_distribution_interface{border-top-color:#6ba7ce}.fgx-eco.technical_control_interface{border-top-color:#d0aa61}.fgx-eco details{margin-top:12px}.fgx-eco summary{cursor:pointer;font-weight:700}.fgx-capital{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.fgx-capital article{padding:18px;border:1px solid var(--line);background:var(--panel);border-radius:9px}.fgx-capital strong{display:block;font:700 25px Georgia,serif;color:var(--gold)}.fgx-source{margin-top:24px}.fgx-source a,.fgx-source details{display:block;margin:8px 0}@media(max-width:900px){.fgx-metrics,.fgx-capital{grid-template-columns:repeat(2,1fr)}.fgx-layer-map{grid-template-columns:1fr;overflow:visible}.fgx-layer:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-16px}}@media(max-width:560px){.fgx-metrics,.fgx-capital{grid-template-columns:1fr}.fgx-tools label,.fgx-tools input,.fgx-tools select{width:100%;min-width:0}}\n.fgx-entity-intro{max-width:980px}.fgx-entity-legend{display:flex;gap:13px;flex-wrap:wrap;margin:15px 0;color:var(--muted);font-size:11px}.fgx-entity-legend span{display:flex;gap:6px;align-items:center}.fgx-entity-legend i{width:11px;height:11px;border-radius:3px;background:var(--entity-color);display:inline-block}.fgx-entity-legend .authority{--entity-color:#6ba7ce}.fgx-entity-legend .entity{--entity-color:#6fc39b}.fgx-entity-legend .asset{--entity-color:#d0aa61}.fgx-entity-legend .dependency{--entity-color:#a98cc8}.fgx-entity-legend .claim{--entity-color:#d48172}.fgx-entity-map{display:grid;gap:9px;margin:20px 0}.fgx-entity-flow{display:grid;grid-template-columns:165px minmax(0,1fr);gap:13px;align-items:center;border-top:1px solid var(--line);padding-top:9px}.fgx-flow-label span{font:700 10px ui-monospace,monospace;color:var(--gold)}.fgx-flow-label b{display:block;margin-top:3px}.fgx-entity-sequence{display:flex;align-items:stretch;gap:7px}.fgx-entity-node{flex:1;min-width:0;text-align:left;font:inherit;color:var(--ink);background:color-mix(in srgb,var(--entity-color) 12%,var(--panel));border:1px solid color-mix(in srgb,var(--entity-color) 52%,var(--line));border-top:4px solid var(--entity-color);border-radius:8px;padding:11px;cursor:pointer}.fgx-entity-node b{display:block;font-size:13px}.fgx-entity-node small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.fgx-entity-node.authority{--entity-color:#6ba7ce}.fgx-entity-node.entity{--entity-color:#6fc39b}.fgx-entity-node.asset{--entity-color:#d0aa61}.fgx-entity-node.dependency{--entity-color:#a98cc8}.fgx-entity-node.claim{--entity-color:#d48172}.fgx-entity-node[aria-pressed=true]{outline:3px solid var(--gold);outline-offset:2px;background:var(--soft-gold)}.fgx-entity-link{flex:0 0 90px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:9px;line-height:1.25}.fgx-entity-link b{display:block;color:var(--gold);font-size:18px}.fgx-entity-detail{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:16px;margin:24px 0;padding:20px;border:1px solid var(--gold);border-radius:11px;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.fgx-entity-detail h3{font:700 28px Georgia,serif;margin:5px 0 10px}.fgx-entity-detail p{font-size:13px}.fgx-entity-kind{display:inline-block;border:1px solid var(--line);border-radius:13px;padding:3px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.fgx-entity-proof{border-left:3px solid #6fc39b;padding-left:12px}.fgx-entity-gates{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.fgx-entity-gates button{font:inherit;font-size:10px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:5px 9px;cursor:pointer}.fgx-entity-examples{color:var(--muted)}@media(max-width:1050px){.fgx-entity-flow{grid-template-columns:1fr}.fgx-entity-sequence{align-items:stretch}.fgx-entity-link{flex-basis:70px}}@media(max-width:760px){.fgx-entity-sequence{display:grid;grid-template-columns:1fr}.fgx-entity-link{display:block}.fgx-entity-link b{transform:rotate(90deg)}.fgx-entity-detail{grid-template-columns:1fr}}\n\n.hub-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fg-profile-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.fg-profile-row>button:first-child{text-align:left}.fg-profile-row .fg-compare-toggle{font-size:9px;padding:7px;align-self:stretch}.fg-compare-panel{margin:0 0 20px;padding:16px;border:1px solid var(--line);border-left:4px solid var(--focus);border-radius:9px;background:var(--panel)}.fg-compare-panel>header{display:flex;justify-content:space-between;gap:14px;align-items:start}.fg-compare-panel h3{margin:4px 0}.fg-compare-panel button{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:7px 10px;cursor:pointer}.fg-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px;margin:12px 0}.fg-compare-grid article{padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.fg-compare-grid h4{margin:5px 0}.fg-compare-grid h4 button{border:0;padding:0;color:var(--focus);text-align:left}.fg-compare-grid p{font-size:11px}.xr-lens-wide{grid-column:1/-1}.xr-wide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px}.xr-route-evidence{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.xr-route-evidence summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px}.xr-route-evidence summary span{font-size:10px;color:var(--muted)}.xr-route-evidence li{margin:7px 0}.xr-route-evidence li span{display:block;color:var(--muted);font-size:11px}.xr-accounting-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.xr-accounting-head,.xr-accounting-table>article{display:grid;grid-template-columns:minmax(160px,.7fr) repeat(3,minmax(240px,1fr));min-width:980px}.xr-accounting-head{background:var(--bg);color:var(--gold);font-size:10px;text-transform:uppercase}.xr-accounting-head>*,.xr-accounting-table>article>*{padding:12px;border-right:1px solid var(--line)}.xr-accounting-table>article{border-top:1px solid var(--line)}.xr-accounting-table h3,.xr-accounting-table p{margin:0;font-size:12px}@media(max-width:900px){.hub-question-grid{grid-template-columns:1fr}.fg-profile-row{grid-template-columns:1fr}}\n.hub-evidence-drawer{width:100%;margin-top:10px;border-top:1px solid var(--line);padding-top:9px}.hub-evidence-drawer>summary{cursor:pointer;font-weight:700;color:var(--focus)}.hub-evidence-drawer .source-list{display:grid;gap:7px;margin-top:10px}.hub-evidence-drawer a{color:var(--focus);font-size:11px}\n#commandHub[hidden]{display:none}#commandHub{max-width:1540px;margin:auto;padding:4px 0 72px;line-height:1.5}.cmd-shell{display:grid;grid-template-columns:230px minmax(0,1fr) 285px;min-height:760px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg)}.cmd-rail,.cmd-proof{background:var(--panel);padding:17px 13px}.cmd-rail{border-right:1px solid var(--line)}.cmd-proof{border-left:1px solid var(--line)}.cmd-main{padding:22px;min-width:0}.cmd-kicker{display:block;font-size:9px;letter-spacing:.09em;text-transform:uppercase;color:var(--gold);margin-bottom:7px}.cmd-rail h2,.cmd-proof h2{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:4px 5px 9px}.cmd-lenses,.cmd-systems{display:grid;gap:4px}.cmd-lenses{margin-bottom:20px}.cmd-lenses button,.cmd-systems button,.cmd-action,.cmd-route-button,.cmd-filter-button{font:inherit;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:7px;padding:9px 10px;text-align:left;cursor:pointer}.cmd-lenses button[aria-pressed=true],.cmd-systems button[aria-pressed=true],.cmd-filter-button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.cmd-lenses button b,.cmd-systems button b{display:block;font-size:12px}.cmd-lenses button small,.cmd-systems button small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.cmd-search{display:grid;gap:5px;margin:10px 0 12px;color:var(--muted);font-size:10px}.cmd-search input{width:100%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:9px}.cmd-systems{max-height:520px;overflow:auto;padding-right:3px}.cmd-main h2{font:700 clamp(30px,3.4vw,43px)/1.08 Georgia,serif;margin:5px 0 9px}.cmd-lede{max-width:900px;color:var(--muted);font-size:15px}.cmd-header-row{display:flex;justify-content:space-between;gap:18px;align-items:start}.cmd-actions,.cmd-filters{display:flex;gap:7px;flex-wrap:wrap}.cmd-action,.cmd-route-button,.cmd-filter-button{border-color:var(--line);background:var(--panel);white-space:normal}.cmd-action:hover,.cmd-route-button:hover,.cmd-filter-button:hover{border-color:var(--gold)}.cmd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}.cmd-stat{padding:12px;background:var(--panel);border-radius:8px}.cmd-stat small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.cmd-stat b{font-size:13px}.cmd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:14px}.cmd-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px;min-width:0}.cmd-card.command-focus{outline:2px solid var(--gold);outline-offset:2px}.cmd-card.wide{grid-column:1/-1}.cmd-card h3{font-size:17px;margin:0 0 8px}.cmd-card h4{font-size:13px;margin:10px 0 5px}.cmd-card p,.cmd-card li{font-size:12px}.cmd-card p{color:var(--muted)}.cmd-card ul,.cmd-card ol{padding-left:20px}.cmd-update{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--line)}.cmd-update:first-of-type{border-top:0}.cmd-update time{color:var(--gold);font-size:9px}.cmd-update p{margin:3px 0}.cmd-route-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.cmd-route-button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.cmd-flow{display:flex;gap:6px;overflow:auto;padding:8px 0 4px}.cmd-flow article{flex:1 0 145px;padding:11px;background:var(--bg);border-radius:7px;position:relative}.cmd-flow article:not(:last-child):after{content:'→';position:absolute;right:-7px;top:30%;color:var(--muted);z-index:2}.cmd-flow span{font:600 10px ui-monospace,monospace;color:var(--gold)}.cmd-flow b{display:block;font-size:12px;margin:4px 0}.cmd-flow small{color:var(--muted);font-size:9px}.cmd-feed{display:grid;gap:9px;margin-top:14px}.cmd-feed article{display:grid;grid-template-columns:120px minmax(0,1fr) 165px;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.cmd-feed article:first-child{border-top:0}.cmd-feed h3{font-size:16px;margin:0 0 5px}.cmd-feed p{margin:0;color:var(--muted);font-size:11px}.cmd-feed-meta{color:var(--gold);font-size:9px;text-transform:uppercase}.cmd-feed-state{font-size:10px;color:var(--muted)}.cmd-proof section{padding:12px 3px;border-top:1px solid var(--line)}.cmd-proof section:first-of-type{border-top:0}.cmd-proof b{display:block;font-size:12px;margin:3px 0 6px}.cmd-proof p{font-size:10px;color:var(--muted);margin:0}.cmd-proof .source-list{display:grid;gap:6px;margin-top:8px;overflow-wrap:anywhere}.cmd-proof .source-list a,.cmd-proof .source-list details{font-size:9px}.cmd-state{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:var(--focus)}.cmd-boundary{border-left:2px solid #d49b72;padding-left:9px}.cmd-tools{margin-top:18px;border-top:1px solid var(--line);padding-top:13px}.cmd-tools>summary{cursor:pointer;color:var(--muted);font-size:10px}.cmd-tools div{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.cmd-empty{padding:24px;border:1px dashed var(--line);color:var(--muted)}@media(max-width:1080px){.cmd-shell{grid-template-columns:200px minmax(0,1fr)}.cmd-proof{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cmd-proof h2{grid-column:1/-1}.cmd-proof section{border-top:0;border-left:1px solid var(--line);padding-left:12px}.cmd-proof section:first-of-type{border-left:0}}@media(max-width:720px){.cmd-shell{display:block}.cmd-rail{border-right:0;border-bottom:1px solid var(--line)}.cmd-lenses,.cmd-systems{display:flex;flex-wrap:wrap;max-height:none}.cmd-lenses button,.cmd-systems button{flex:1 1 120px}.cmd-main{padding:17px 12px}.cmd-header-row{display:block}.cmd-actions{margin-top:12px}.cmd-stats,.cmd-grid,.cmd-proof{grid-template-columns:1fr}.cmd-card.wide{grid-column:auto}.cmd-route-list{grid-template-columns:1fr}.cmd-feed article{grid-template-columns:1fr}.cmd-proof section{border-left:0;border-top:1px solid var(--line)}}\n</style>\n<nav class=\"hub-chrome\" aria-label=\"Crypto Infrastructure Hub navigation\">\n  <div class=\"hub-chrome-nav\"><button type=\"button\" data-command-landscape data-hub-job=\"command\" aria-pressed=\"true\">Overview</button></div>\n  <button class=\"hub-search-jump\" type=\"button\" data-hub-search>Search the Hub</button>\n  <div class=\"hub-routebar\" aria-label=\"Keep one route while changing transaction lenses\" hidden><strong>Follow one route</strong><span>while movement, records, books, authority, remedy and evidence stay aligned</span><button type=\"button\" data-hub-route=\"securities\" aria-pressed=\"true\">Share</button><button type=\"button\" data-hub-route=\"payment\" aria-pressed=\"false\">Dollar</button><button type=\"button\" data-hub-route=\"fund\" aria-pressed=\"false\">Fund</button></div>\n</nav>\n<div class=\"hub-context\" aria-live=\"polite\"><div class=\"hub-breadcrumb\" id=\"hubBreadcrumb\"><b>Command surface</b></div><div class=\"hub-current\" id=\"hubCurrent\">One evidence base · change the lens, not the page</div></div>\n<section id=\"commandHub\" aria-label=\"Crypto Infrastructure command surface\" hidden></section>\n<section id=\"fedGeniusHub\" aria-label=\"Federal Reserve GENIUS Act proposed-rule hub\" hidden></section>\n<section id=\"transitionHub\" aria-label=\"DLT transition technology qualification gates\" hidden></section>\n<section id=\"fieldGuide\" aria-label=\"Tracked Systems Field Guide\" hidden></section>\n<section id=\"stackExpansionHub\" aria-label=\"Market-structure stack expansion\" hidden></section>\n<section id=\"bankTransitionHub\" aria-label=\"Major bank digital transition comparison\" hidden></section>\n<section id=\"corporateStackHub\" aria-label=\"Corporate stack comparison\" hidden></section>\n<section id=\"securitizeHub\" aria-label=\"Securitize infrastructure anatomy\" hidden></section>\n<section id=\"xrayHub\" aria-label=\"Transaction X-ray\" hidden></section>\n<section id=\"walkHub\" aria-label=\"How it works today\" hidden></section>\n<section id=\"liquidityHub\" aria-label=\"Liquidity hub\" hidden>\n<div class=\"liq-heading\"><div class=\"liq-kicker\">Crypto stack / Liquidity · research through September 10, 2026</div><h2>Where funding becomes usable</h2><p>Who provides it, what restricts it, and when it becomes available again.</p><p class=\"liq-note\">Bank rules, product terms and market liquidity meet here. Start with the layers, compare a route, or follow the funding lifecycle.</p></div>\n<div class=\"liq-tabs\" role=\"group\" aria-label=\"Liquidity views\"><button data-liq-tab=\"layers\" aria-pressed=\"true\">Rule layers</button><button data-liq-tab=\"routes\" aria-pressed=\"false\">Route comparisons</button><button data-liq-tab=\"flow\" aria-pressed=\"false\">Funding lifecycle</button></div>\n<div id=\"liqContent\"></div>\n<div class=\"liq-source\"><details><summary>Full research & worked examples</summary><div id=\"liqReport\"></div></details></div>\n</section>\n\n\n<style>\n.crypto-rooms{flex-wrap:wrap}#legalHub[hidden]{display:none}#legalHub{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.legal-case-label{display:grid;gap:8px;max-width:640px;margin:22px 0;font-weight:600}.legal-walk{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:24px;align-items:start}.legal-spine{display:grid;gap:7px;position:sticky;top:18px}.legal-spine button{display:flex;gap:13px;align-items:center;text-align:left;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:14px;border-radius:7px;cursor:pointer;line-height:1.35}.legal-spine button span{font:600 13px ui-monospace,monospace;color:var(--muted)}.legal-spine [aria-current=step]{border-color:var(--gold);background:var(--soft-gold)}.legal-detail{border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:8px;padding:26px;line-height:1.7}.legal-detail h3{font:600 clamp(25px,3vw,35px)/1.2 Georgia,serif;margin:12px 0 20px}.legal-explanation{font-size:17px}.legal-facts{display:grid;gap:18px;margin:24px 0}.legal-facts div{border-top:1px solid var(--line);padding-top:12px}.legal-facts dt{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.legal-facts dd{margin:6px 0 0}.legal-detail details{margin:20px 0}.legal-detail summary{cursor:pointer;font-weight:600}.legal-example{margin:26px 0;padding:20px;border:1px solid var(--line);border-left:3px solid var(--focus);background:var(--bg);border-radius:7px}.legal-example h4{font-size:20px;margin:8px 0}.legal-next{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.legal-next button:disabled{opacity:.4;cursor:default}#legalHub .source-list a{display:block;margin:8px 0}#legalHub button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}@media(max-width:750px){#legalHub{padding:14px}.legal-walk{grid-template-columns:1fr}.legal-spine{position:static;display:flex;overflow:auto;padding-bottom:8px}.legal-spine button{flex:0 0 185px}.legal-detail{padding:18px}}\n.ix-hero{max-width:1000px}.ix-hero h3{font:700 clamp(28px,3.5vw,42px)/1.15 Georgia,serif;margin:8px 0}.ix-boundary{border-left:3px solid var(--gold);padding:13px 16px;background:var(--bg);color:var(--muted)}.ix-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:20px 0}.ix-gate,.ix-card{border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:15px}.ix-gate h4,.ix-card h4{margin:4px 0 8px}.ix-gate p,.ix-card p{font-size:12px;line-height:1.55}.ix-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.ix-tools label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.ix-tools input,.ix-tools select{font:inherit;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);min-width:220px}.ix-legend{display:flex;gap:8px;flex-wrap:wrap}.ix-status{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:3px 8px;font-size:9px;letter-spacing:.05em;text-transform:uppercase}.ix-status.core_candidate{border-color:#5ebd91;color:#a9e4c9}.ix-status.conditional_candidate{border-color:#d0a85e;color:#ead4a4;border-style:dashed}.ix-status.supporting_layer{border-color:#69a9cf;color:#afd7ed}.ix-status.outside_core{border-style:dotted;color:var(--muted)}.ix-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.ix-card{border-top:3px solid var(--line)}.ix-card.core_candidate{border-top-color:#5ebd91}.ix-card.conditional_candidate{border-top-color:#d0a85e}.ix-card.supporting_layer{border-top-color:#69a9cf}.ix-card.outside_core{border-top-style:dotted}.ix-card details{margin-top:10px}.ix-card summary{cursor:pointer;font-weight:700;font-size:12px}.ix-card .ix-missing{color:var(--muted)}\n\n\n</style>\n<style>.qual-reading #legalHub>.liq-heading{display:none}.qual-reading .shell>h1{font-size:38px;margin-block:10px}.qual-reading #legalHub>.liq-tabs{margin-top:0}.q-intro{max-width:850px;margin:24px 0}.q-intro h3{font:600 28px Georgia,serif;margin:8px 0}.q-intro p{line-height:1.6;color:var(--muted)}.q-view{display:flex;gap:8px;margin:20px 0}.q-view [aria-pressed=true]{background:var(--ink);color:var(--bg)}.q-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:30px;align-items:start}.q-navigation{position:sticky;top:18px}.q-navigation h4,.q-navigation label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);display:block;margin:0 0 12px}.lv-modes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.lv-modes [aria-pressed=true]{background:#273a47;border-color:#75baff;color:#fff}.lv-heading h3{font:700 32px/1.15 Georgia,serif;margin:10px 0}.lv-heading p{color:#aab5c2;max-width:850px;line-height:1.6}.lv-label{display:inline-block;margin:12px 10px 12px 0;font-size:13px;font-weight:700}.lv-legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0;color:#abb8c6;font-size:11px}.lv-tag{display:inline-block;padding:5px 11px;border:1px solid #718fa6;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#cee0ef;align-self:start}.lv-tag.lv-entity{border-radius:3px;background:#182c39}.lv-tag.lv-role{border-radius:50%;background:#302c1a;border-color:#d0ad54;color:#eee0ab}.lv-tag.lv-asset{border-radius:20px;background:#17382f;border-color:#5cb89a;color:#b0e6d5}.lv-tag.lv-system{clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%);background:#34304a;border:0;color:#d8c9f6;padding:6px 15px}.lv-dashed{border-bottom:1px dashed #cda65b;padding-bottom:4px}.lv-dotted{border-bottom:2px dotted #899ba9;padding-bottom:4px}.lv-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.lv-canvas{min-width:0}.lv-detail{position:sticky;top:16px;max-height:80vh;overflow:auto;border:1px solid #364957;background:#15202a;border-radius:12px;padding:20px;font-size:13px;line-height:1.6}.lv-detail h4{font-size:20px;line-height:1.25}.lv-detail h5{font-size:13px;margin:20px 0 8px}.lv-detail a{display:block;color:#90cbff;margin:10px 0}.lv-detail pre{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}.lv-close{float:right;margin:0 0 12px 12px}.lv-boundary{border-left:2px solid #d3b25c;padding-left:12px}.lv-links{display:flex;flex-direction:column;gap:8px}.lv-node{padding:10px;text-align:left;color:#dce9f3;background:#192e3c;border:1px solid #5c7890;border-radius:5px;cursor:pointer}.lv-scroll{overflow:auto;padding:0 8px 12px 0}.lv-swim{display:grid;grid-template-columns:90px repeat(var(--steps),minmax(170px,1fr));gap:12px;min-width:750px}.lv-stage{display:flex;gap:10px;align-items:start;padding:10px 0}.lv-stage span{color:#dbba65;border:1px solid #746134;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;flex-shrink:0}.lv-stage h4{font-size:14px;line-height:1.4;margin:2px 0}.lv-corner,.lv-lane{font-size:12px;font-weight:700;align-self:center;color:#a8bbcb}.lv-cell{position:relative;display:flex;flex-direction:column;align-items:start;gap:12px;min-height:160px;padding:14px;background:#16232d;border:1px solid #4d7189;border-radius:8px;color:#e8eff5;text-align:left;cursor:pointer}.lv-cell strong{font-size:13px;font-weight:500;line-height:1.5}.lv-cell small{color:#adbfce;font-size:10px;text-transform:uppercase;margin-top:auto}.lv-arrow{position:absolute;right:-13px;top:50%;color:#809ab0;z-index:1}.lv-cell:nth-child(5n) .lv-arrow{display:none}.lv-note{font-size:12px;line-height:1.6;color:#a8b7c4}.lv-role-map{max-width:950px;margin:auto}.lv-requirements{display:block;width:100%;text-align:left;background:#18242c;color:#dce6ee;border:1px solid #587585;border-radius:10px;padding:18px;cursor:pointer;font-size:14px;line-height:1.6}.lv-bridge{text-align:center;color:#a5b7c5;padding:10px;font-size:12px}.lv-role-center{border:1px solid #b89a4c;border-radius:42px;padding:22px;text-align:center;background:#292819}.lv-role-center h4,.lv-player-center h4{font-size:22px;margin:10px 0}.lv-role-actors{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.lv-assignment{display:flex;flex-direction:column;align-items:start;gap:10px;text-align:left;padding:16px;background:#17242f;color:#e0eaf2;border:1px solid #527d96;border-radius:8px;font:inherit;cursor:pointer;line-height:1.5}.lv-assignment strong{font-size:15px}.lv-assignment small{font-size:11px;color:#bac9d4}.lv-assignment span:not(.lv-tag){font-size:12px;color:#bdcbd6}.lv-unresolved{border-style:dotted;border-width:2px;border-color:#84929d;background:#1b232a}.lv-conditional{border-style:dashed;border-color:#c2a25a}.lv-player-center{border:1px solid #668da8;background:#162d3d;border-radius:8px;padding:22px}.lv-player-center p{font-size:13px;color:#b8c9d7;line-height:1.5}.lv-section-title{margin-top:28px;font-size:16px}.lv-edge-map{display:grid;gap:12px}.lv-edge{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:center;width:100%;background:#17242c;color:#dce6ee;padding:16px;border:1px solid #4b6376;border-radius:8px;text-align:center;cursor:pointer}.lv-edge-node{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px}.lv-edge-verb{font-size:12px;color:#bad0e0}.lv-edge-verb b{display:block;font-size:30px;font-weight:400}.lv-edge-verb small{font-size:10px;display:block;color:#aab8c6}.lv-cell:hover,.lv-assignment:hover,.lv-edge:hover{background:#203443;outline:1px solid #8abbdc}.lv-cell:focus-visible,.lv-assignment:focus-visible,.lv-edge:focus-visible{outline:3px solid #f0ce71;outline-offset:2px}@media(max-width:1100px){.lv-workspace{grid-template-columns:minmax(0,1fr)}.lv-detail{position:static;max-height:60vh}.lv-swim{min-width:700px}}@media(max-width:650px){.lv-heading h3{font-size:25px}.lv-edge{grid-template-columns:1fr}.lv-edge-verb b{transform:rotate(90deg)}.lv-modes button{flex:1 1 40%}}\n\n.lv-workspace{grid-template-columns:minmax(0,1fr)}.lv-detail{display:none;position:fixed;right:24px;top:180px;width:330px;max-height:calc(100vh - 205px);z-index:90;box-shadow:0 12px 60px #000a}.lv-detail.is-open{display:block}.lv-heading h3{font-size:28px}.lv-heading p{margin:8px 0 12px}.lv-modes{margin-bottom:16px}.lv-legend{margin:16px 0}.lv-stage h4{font-size:13px}@media(max-width:650px){.lv-detail{left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:65vh}}\n.lv-tag.lv-group{border-radius:5px;border-style:dashed;background:#292735}.lv-edge.lv-conditional{border-style:dashed;border-color:#c2a25a}.lv-edge.lv-unresolved{border-style:dotted;border-width:2px;border-color:#84929d}\n.lv-cell-actors{font-size:11px;line-height:1.4;color:#9ac3df}.lv-cell[aria-pressed=true]{outline:2px solid #edc969;outline-offset:2px}\n#infra-ecosystem-coverage table{width:100%;border-collapse:collapse;table-layout:fixed}#infra-ecosystem-coverage th,#infra-ecosystem-coverage td{text-align:left;vertical-align:top;padding:14px 10px;border-bottom:1px solid #344650;font-size:13px;line-height:1.5}#infra-ecosystem-coverage th:nth-child(1){width:27%}#infra-ecosystem-coverage th:nth-child(2){width:7%}#infra-ecosystem-coverage th:nth-child(3){width:40%}#infra-ecosystem-coverage th:nth-child(4){width:26%}#infra-ecosystem-coverage td:nth-child(3) p{display:inline-block;margin:3px 4px 3px 0;padding:5px 7px;background:#1a2a36;border-radius:5px}#infra-ecosystem-coverage td p{margin:8px 0}@media(max-width:700px){#infra-ecosystem-coverage table{min-width:760px}}\n.infra-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.infra-overview a{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #6c684a;border-radius:9px;background:#172630;color:#d9e5ed;text-decoration:none;line-height:1.4}.infra-overview a strong{font-size:16px;color:#b7dcfa}.infra-overview a:hover,.infra-overview a:focus-visible{border-color:#edc85d;background:#213441;outline:2px solid #edc85d}.infra-overview a>span:last-child{font-size:12px}@media(max-width:900px){.infra-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.infra-overview{grid-template-columns:1fr}}\n\n\n\nbody.legal-routes-room #title{font-size:23px;margin:7px 0}body.legal-routes-room .crypto-rooms{flex-wrap:wrap;margin:12px 0}body.legal-routes-room .crypto-rooms button{font-size:13px;padding:8px 11px}#legalRoutesHub{padding:18px 12px 50px;max-width:1500px;margin:auto;line-height:1.5}#legalRoutesHub h2{font-size:30px;margin:8px 0}#legalRoutesHub h3{font-size:22px;margin:5px 0 12px}#legalRoutesHub h4{font-size:17px;margin:6px 0}#legalRoutesHub p{margin:7px 0 13px}#legalRoutesHub button,#legalRoutesHub input{font:inherit;background:#1d303c;color:#edf2f6;border:1px solid #526e80;border-radius:6px;padding:8px 10px}#legalRoutesHub button{cursor:pointer}#legalRoutesHub button:focus-visible,#legalRoutesHub a:focus-visible{outline:3px solid #e4c36b;outline-offset:3px}#legalRoutesHub a{color:#a4d4f5}.lr-explainer{max-width:1050px;font-size:15px;color:#bdcdd7}.lr-sequence{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.lr-sequence span{padding:8px 12px;background:#20343e;border:1px solid #688493;border-radius:7px;font-size:13px}.lr-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin:20px 0}.lr-functions [hidden]{display:none!important}.lr-functions{display:flex;flex-direction:column;gap:5px}.lr-functions button{text-align:left;font-size:12px!important}.lr-functions button[aria-pressed=true]{border:2px solid #e5c375!important;background:#393322!important}.lr-functions small{display:block;color:#afc1cd;font-size:10px}.lr-functions input{width:100%;box-sizing:border-box;margin-bottom:10px}.lr-role-header{border-left:3px solid #d5b963;background:#172a33;padding:14px 18px}.lr-role-header p{font-size:13px}.lr-branches{display:grid;gap:20px;margin-top:18px}.lr-branch{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1.2fr);border:1px solid #56707d;border-radius:10px;overflow:hidden}.lr-path{padding:20px;background:#172932;border-right:1px solid #56707d}.lr-path p,.lr-path li{font-size:13px}.lr-path ol{padding-left:20px}.lr-path li{padding-bottom:8px}.lr-players{padding:18px;background:#14232d;display:flex;flex-direction:column;gap:12px}.lr-player{padding:14px;border:1px solid #587286;border-radius:8px;background:#1c303d}.lr-player p{font-size:12px}.lr-player button{font-weight:700!important;color:#a9d8fa!important;text-align:left;background:none!important;border:0!important;padding:0!important;font-size:15px!important}.lr-status{display:inline-block;border:1px solid #a3b6c7;padding:3px 6px;border-radius:5px;font-size:10px;margin:6px 0}.lr-status.authority{border-color:#95cbb7;color:#c2ebda}.lr-status.role{border-color:#d4bc79;color:#efdda6}.lr-state{font-size:11px;color:#d7c384}.lr-limit{border-left:2px solid #c4a65a;padding-left:10px;color:#ccdae2}.lr-sources{display:flex;flex-direction:column;gap:6px;font-size:11px;margin-top:12px}.lr-empty{padding:20px;border:1px dashed #8eabbd;border-radius:8px;font-size:13px}.lr-focus{padding:20px;border:2px solid #d8bc6e;border-radius:10px;margin:16px 0;background:#20343e}.lr-focus p{font-size:14px}.lr-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.lr-count{font-size:12px;color:#b7c9d6}.lr-unmapped{margin-top:20px;padding:18px;background:#172731;border:1px solid #56707d}.lr-unmapped p{font-size:13px}.lr-research-links{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.lr-research-links button{font-size:12px!important}@media(max-width:1000px){.lr-branch{grid-template-columns:1fr}.lr-path{border-right:0;border-bottom:1px solid #56707d}}@media(max-width:700px){.lr-layout,.lr-focus-grid{grid-template-columns:1fr}.lr-functions{display:grid;grid-template-columns:1fr 1fr}.lr-functions label,.lr-functions input{grid-column:1/-1}}\n\nbody.journey-room #title{font-size:22px;margin:6px 0}body.journey-room .crypto-rooms{margin:10px 0}body.journey-room .crypto-rooms button{padding:8px 12px;font-size:13px}body.journey-room .eyebrow{font-size:9px}#journeyHub{max-width:1460px;margin:auto;padding:10px 16px 40px;line-height:1.5}#journeyHub h2{font-size:27px;margin:6px 0}#journeyHub p{margin:6px 0 12px}.j-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.j-tools,.j-legend,.j-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}.j-tools label{display:flex;gap:8px;align-items:center;font-size:13px}#journeyHub button,#journeyHub select{background:#20333f;color:#edf4f7;border:1px solid #658092;border-radius:6px;padding:8px 12px;font:inherit;cursor:pointer}#journeyHub a{color:#a8d8ff}#journeyHub button:focus-visible,#journeyHub select:focus-visible{outline:3px solid #ebcd7a;outline-offset:3px}.j-legend{font-size:11px;color:#c2cdd5}.j-legend span{border-bottom:3px solid var(--edge);padding:2px 5px}.j-mapwrap{overflow-x:auto;border:1px solid #526675;border-radius:10px;background:#12212a}.j-map{display:block;width:100%;min-width:850px}.j-map text{font-family:system-ui,sans-serif;fill:#d4e1e8}.j-map .j-phase{font-size:13px;font-weight:700;fill:#e5d19a}.j-map .j-lane{font-size:12px;font-weight:650}.j-map .j-label{font-size:12px;font-weight:650;pointer-events:none}.j-map .j-edge-label{font-size:9px;fill:#cbd9e2;paint-order:stroke;stroke:#12212a;stroke-width:5px;stroke-linejoin:round}.j-map .j-node{cursor:pointer}.j-map .j-node rect{fill:#223947;stroke:#658194;stroke-width:1.5}.j-map .j-node[aria-pressed=true] rect{stroke:#f0ca68;stroke-width:3;fill:#3a3829}.j-map .j-node:focus{outline:none}.j-map .j-node:focus rect{stroke:#ffffff;stroke-width:3}.j-map .j-node.j-overlay rect{stroke:#8bcbb7;stroke-width:3}.j-map .j-node.j-gap rect{stroke:#e7ab86;stroke-dasharray:5 3}.j-map .j-node[aria-pressed=true] rect{stroke:#f0ca68}.j-note{font-size:11px;color:#b3c6d2}.j-inspector{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;margin:14px 0;background:#182832;border:1px solid #bda261;border-radius:10px}.j-inspector h3{font-size:21px;margin:0 0 9px}.j-inspector h4{font-size:12px;text-transform:uppercase;color:#b6d9ed;margin:0 0 7px}.j-inspector p{font-size:14px}.j-change{display:grid;grid-template-columns:1fr 1fr;gap:12px}.j-change article{padding:12px;background:#213741;border-radius:6px}.j-crypto{border-left:3px solid #8bcbb7;padding-left:14px}.j-warning{border:1px solid #c5956d;padding:12px 16px;background:#372b23}.j-warning p{font-size:13px}.j-source-links{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0}.j-context{display:flex;gap:7px;flex-wrap:wrap;font-size:11px;margin:10px 0}.j-context a{border:1px solid #415967;border-radius:5px;padding:5px 8px}.j-current{font-size:14px;border-left:3px solid #d9bd6b;padding:9px 13px;background:#23323a}.j-route-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.j-route-nav button{text-align:left}.j-route-nav small{display:block;font-size:12px;margin-top:6px;color:#bfd1dd}.j-route-nav button[aria-pressed=true]{border:2px solid #e3c270!important;background:#343326!important}.j-route-title{font-size:21px;margin:16px 0 6px}.j-footprint{padding:12px 15px;border:1px solid #80b4a4;background:#1c332e;margin:12px 0}.j-footprint p{font-size:14px}.j-footprint small{font-size:11px;color:#c4ddd4}.j-coverage{border-top:1px solid #526675;margin-top:24px;padding-top:16px}.j-coverage p{font-size:13px}.j-warning button{margin:4px 8px 0 0}@media(max-width:700px){.j-route-nav{grid-template-columns:1fr}.j-tools select{max-width:280px}}.j-progress{color:#e8d291;font-size:12px}.j-overlay-key{font-size:12px;color:#bfdfd1}@media(max-width:760px){.j-inspector,.j-change{grid-template-columns:1fr}.j-top{display:block}#journeyHub{padding:15px 10px}.j-mapwrap:before{content:'Scroll sideways to see all phases →';display:block;padding:8px;font-size:12px;color:#bbceda}}\n\nbody.books-room #title{font-size:22px;margin:6px 0}body.books-room .crypto-rooms{margin:10px 0}body.books-room .crypto-rooms button{padding:8px 12px;font-size:13px}#booksHub{max-width:1280px;margin:auto;padding:16px 18px 56px;line-height:1.55}#booksHub h2{font:700 34px/1.15 Georgia,serif;margin:8px 0}#booksHub h3{font-size:22px;margin:10px 0}#booksHub p{margin:8px 0 14px}#booksHub button,#booksHub select,#booksHub input{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:9px 12px}#booksHub button{cursor:pointer}#booksHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#booksHub button:focus-visible,#booksHub a:focus-visible,#booksHub select:focus-visible{outline:3px solid #e4c467;outline-offset:3px}#booksHub a{color:#a2d6ff}.bk-intro{max-width:920px;color:#c2ced6}.bk-test{border-left:3px solid #d9b860;padding:10px 16px;background:#1d303a;max-width:980px}.bk-routes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.bk-routes button{text-align:left}.bk-routes small{display:block;margin-top:6px;color:#bfd1dd;font-size:12px}.bk-tools{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:14px 0}.bk-tools label{display:flex;gap:8px;align-items:center;font-size:13px}.bk-spine{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.bk-spine button{font-size:13px}.bk-spine span{font:600 12px ui-monospace,monospace;color:#e8d291;margin-right:6px}.bk-step{border:1px solid #526b7a;border-radius:12px;padding:20px;background:#162530;margin:18px 0}.bk-kind{font-size:10px;letter-spacing:.06em;text-transform:uppercase;border:1px solid #83b9c9;color:#ccebf0;border-radius:4px;padding:3px 7px}.bk-kind.fiduciary{border-color:#8bcbb7;color:#b0e6d5}.bk-kind.memo{border-style:dashed;border-color:#d2b76d;color:#efdfb2}.bk-kind.none{border-style:dotted;border-color:#ce9d88;color:#f2ccbb}.bk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:14px}.bk-card{border:1px solid #4d7189;border-radius:8px;padding:14px;background:#182732}.bk-card h4{font-size:16px;margin:8px 0}.bk-card p{font-size:13px;margin:6px 0}.bk-t{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;font:13px ui-monospace,monospace}.bk-t div{background:#12212a;border-radius:6px;padding:10px}.bk-t b{display:block;font-size:10px;color:#9fb5c5;text-transform:uppercase;margin-bottom:4px}.bk-empty{color:#adbfce;font-size:12px}.bk-office{font-size:11px;color:#e3c879}.bk-fail{border:1px solid #c5956d;padding:12px 16px;background:#372b23;margin:14px 0}.bk-overlay{border-top:1px solid #80b4a4;margin-top:20px;padding-top:12px}.bk-overlay h3{color:#b0e6d5}.bk-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#b9c9d3;margin:12px 0}.bk-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}@media(max-width:800px){.bk-routes{grid-template-columns:1fr}.bk-t{grid-template-columns:1fr}#booksHub{padding:14px 10px}}\n\nbody.walk-room #title{font-size:22px;margin:6px 0}body.walk-room .crypto-rooms{margin:10px 0}body.walk-room .eyebrow{font-size:9px}#walkHub{max-width:820px;margin:auto;padding:12px 18px 80px;line-height:1.6}#walkHub h2{font:700 34px/1.15 Georgia,serif;margin:8px 0 12px}#walkHub h3{font-size:22px;margin:0 0 8px}#walkHub p{margin:8px 0 14px}#walkHub button{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:9px 14px;cursor:pointer}#walkHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#walkHub button:focus-visible{outline:3px solid #e4c467;outline-offset:3px}.wk-intro{color:#c2ced6}.wk-test{border-left:3px solid #d9b860;padding:10px 16px;background:#1d303a}.wk-tabs{position:sticky;top:0;z-index:2;display:flex;gap:8px;padding:10px 0;background:var(--bg,#0f1a21);flex-wrap:wrap}.wk-step{border:1px solid #526b7a;border-radius:12px;padding:22px 22px 16px;background:#162530;margin:22px 0}.wk-n{font:600 12px ui-monospace,monospace;color:#e8d291;letter-spacing:.08em}.wk-table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0}.wk-table th{text-align:left;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#9fb5c5;padding:8px 10px;border-bottom:1px solid #4d7189}.wk-table td{vertical-align:top;padding:10px;border-bottom:1px solid #314550;line-height:1.45}.wk-table td:first-child{font-weight:650;white-space:nowrap}.wk-no{color:#8bcbb7}.wk-step details{margin-top:12px;border-top:1px solid #3d5663;padding-top:10px}.wk-step summary{cursor:pointer;font-weight:650}.wk-t{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;font:12px ui-monospace,monospace}.wk-t div{background:#12212a;border-radius:6px;padding:8px}.wk-empty{color:#adbfce;font-size:13px}@media(max-width:700px){.wk-table td:first-child{white-space:normal}#walkHub{padding:10px 12px 70px}}\n\n#rightsHub{max-width:1440px;margin:auto;padding:28px 24px 70px;line-height:1.55}#rightsHub h2{font:700 36px/1.15 Georgia,serif;margin:12px 0}#rightsHub h3{font-size:23px;margin:8px 0}#rightsHub h4{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#9cceea;margin:0 0 12px}#rightsHub p{margin:8px 0 14px}#rightsHub a{color:#a2d6ff}#rightsHub button,#rightsHub select{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:10px 14px;cursor:pointer}#rightsHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#rightsHub button:focus-visible,#rightsHub a:focus-visible,#rightsHub select:focus-visible{outline:3px solid #e4c467;outline-offset:3px}.rights-route-nav,.rights-tools,.rights-jumps{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.rights-intro{max-width:980px;color:#c2ced6}.rights-scope{border-left:3px solid #8ba3b8;padding:8px 18px;background:#162530;margin:18px 0}.rights-chain{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;list-style:none;padding:0}.rights-chain li{padding:14px;border:1px solid #456272;border-radius:8px;background:#182732;font-size:13px}.rights-jumps a{font-size:13px;padding:7px;border-bottom:1px solid #607482}.rights-card{border:1px solid #526b7a;border-radius:12px;margin:26px 0;scroll-margin-top:20px;overflow:hidden}.rights-card>header{padding:16px 22px;border-bottom:1px solid #526b7a;background:#1c2d39;display:flex;align-items:center;gap:16px}.rights-num{border:1px solid #dfc271;border-radius:50%;color:#f0d789;padding:5px 11px}.rights-columns{display:grid;grid-template-columns:1fr 1fr 1.1fr}.rights-cell{padding:22px;border-right:1px solid #405464;font-size:14px}.rights-cell:last-child{border:0;background:#172b30}.rights-cell strong{color:#f0dfad}.rights-cell dl{margin:14px 0}.rights-cell dt{font-size:12px;color:#9fb5c5;font-weight:700}.rights-cell dd{margin:4px 0 14px}.rights-evidence{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-top:16px}.rights-proof{border-left:3px solid #d9b860;padding:8px 12px;background:#1d303a}.rights-status{display:inline-block;padding:4px 9px;border:1px solid #83b9c9;color:#ccebf0;border-radius:5px;font-size:12px}.rights-status.dependency{border-color:#d2b76d;color:#efdfb2}.rights-status.unproven{border-style:dashed;border-color:#d5b6df;color:#ecd7f5}.rights-status.outside_scope{border-color:#ce9d88;color:#f2ccbb}.rights-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;font-size:12px}.rights-legend p{color:#b9c9d3}.rights-base .rights-columns{grid-template-columns:1fr 1fr}.rights-base .rights-crypto{display:none}.rights-card footer{padding:10px 22px;background:#17232c}.rights-empty{padding:30px;border:1px dashed #9cb4c4}.rights-tools label{display:flex;align-items:center;gap:10px}.rights-tools input{width:18px;height:18px}@media(max-width:900px){.rights-columns,.rights-base .rights-columns{grid-template-columns:1fr}.rights-cell{border-right:0;border-bottom:1px solid #405464}.rights-chain,.rights-legend{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){#rightsHub{padding:22px 12px}.rights-chain,.rights-legend{grid-template-columns:1fr}#rightsHub h2{font-size:29px}.rights-cell{padding:17px}}\n\n#wholeHub{padding:24px 20px;max-width:1500px;margin:auto}.wh-hero h2{font:700 36px/1.15 Georgia,serif;margin:10px 0}.wh-hero p{font-size:16px;color:#b5c3ce;max-width:850px;line-height:1.6}.wh-tools{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0 12px}.wh-tools label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.wh-tools input,.wh-tools select{width:100%;padding:13px;border:1px solid #4b6578;border-radius:7px;background:#18242e;color:#e7edf3;font:inherit}.wh-routes{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.wh-boundary,.wh-count{font-size:12px;color:#a8b8c5;line-height:1.5}.wh-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.wh-layer{border:1px solid #435967;border-radius:12px;background:#141f28;padding:22px}.wh-layer-top{display:flex;align-items:center;gap:12px}.wh-layer-top>span{border:1px solid #b59c52;border-radius:50%;padding:6px 10px;color:#e2c979}.wh-layer h3{font-size:22px;margin:0}.wh-layer>p{color:#b8c8d3;line-height:1.5}.wh-roles{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.wh-roles button{padding:7px 10px;border:1px solid #716441;border-radius:18px;background:#2a291e;color:#e6dcbf;cursor:pointer;font-size:12px}.wh-findings{display:grid;gap:10px}.wh-findings article,.wh-results article,.wh-connections article{background:#1a2a36;border-radius:7px;padding:13px}.wh-findings p,.wh-results p,.wh-connections p{font-size:13px;line-height:1.55;margin:8px 0}.wh-link{background:none;border:0;padding:0;color:#94ccf7;text-align:left;cursor:pointer;font:inherit;font-weight:600}.wh-findings small,.wh-results small,.wh-connections small{display:block;font-size:11px;color:#b4c2cb;margin:5px 0}.wh-gap{border-left:2px dotted #d1af62;padding-left:12px;font-size:13px}.wh-lit{border:2px solid #d0af57}.wh-match{margin-left:auto;color:#e3c879;font-size:10px;max-width:70px}.wh-selected{box-shadow:inset 3px 0 #e2bd5b}.wh-focus{padding:20px;border:1px solid #8b7545;border-radius:10px;margin:20px 0;display:grid;grid-template-columns:1fr 1.7fr;gap:22px}.wh-focus h3{font-size:25px}.wh-focus p{font-size:13px;line-height:1.5}.wh-connections{display:grid;gap:10px}.wh-guidance{border-left:3px solid #688eaa;padding:10px 16px;background:#162631}.wh-guidance p{margin:8px 0;font-size:13px;color:#b9cbd8}.wh-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wh-results a{color:#94ccf7}.wh-layer button:focus-visible,.wh-link:focus-visible{outline:2px solid #f0c65f;outline-offset:4px}#wholeResults pre{white-space:pre-wrap;max-height:65vh;overflow:auto}@media(max-width:760px){.wh-stack,.wh-tools,.wh-focus,.wh-results{grid-template-columns:1fr}.wh-hero h2{font-size:29px}}\n\n.wh-leads{font-size:12px;line-height:1.5;margin-top:16px;color:#b6c7d3}.wh-leads>b{font-size:11px;text-transform:uppercase;color:#ceb66e}.wh-leads p{border-top:1px dotted #52606b;padding-top:9px}.wh-leads span{display:block;margin-top:4px}\n.wh-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.wh-jumps button{border:1px solid #59778c;background:#182c3a;color:#c7e2f6;border-radius:6px;padding:10px;font:inherit;font-size:12px;cursor:pointer}.wh-layer{scroll-margin-top:20px}\n.q-navigation nav{display:grid;gap:6px}.q-navigation nav button{display:flex;gap:12px;text-align:left;padding:13px 12px;border:1px solid transparent;background:transparent;color:var(--ink);border-radius:6px;font-size:13px;line-height:1.4;cursor:pointer}.q-navigation nav button span{font:11px ui-monospace,monospace;color:var(--muted);padding-top:3px}.q-navigation [aria-current=true]{background:var(--soft-gold);border-color:var(--gold)}.q-navigation select{width:100%}.q-scope{font-size:13px;color:var(--muted);line-height:1.6}.q-job-heading{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:24px}.q-job-heading h3{font:600 clamp(23px,2.7vw,32px)/1.25 Georgia,serif;margin:10px 0}.q-job-heading p{font-size:14px;line-height:1.6;color:var(--muted);max-width:740px}.q-step-link{padding:0;border:0;background:none;color:var(--focus);font-size:13px;cursor:pointer}.q-group{margin:0 0 28px}.q-group-title{font-size:14px;margin:0 0 14px}.q-group-note{font-size:13px;color:var(--muted)}.q-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.q-card{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);padding:20px;line-height:1.6;display:flex;flex-direction:column}.q-card h4{font-size:20px;line-height:1.3;margin:12px 0}.q-status{font-size:11px;border-radius:4px;padding:4px 8px;background:var(--bg);color:var(--muted);border:1px solid var(--line)}.q-proposed .q-status{color:#baaceb}.q-finding{margin:4px 0 18px;font-size:15px}.q-condition{border-left:2px solid var(--gold);padding-left:12px;margin-top:auto}.q-condition b{font-size:12px;color:var(--muted)}.q-condition p{font-size:14px;margin:6px 0}.q-evidence{margin-top:18px;padding-top:12px;border-top:1px solid var(--line);font-size:13px}.q-evidence summary,.q-limits summary{cursor:pointer;font-weight:600}.q-card-actions{margin-top:16px}.q-card-actions button{font-size:12px;padding:8px 10px}.q-limits{border-top:1px solid var(--line);padding:16px 0;font-size:13px;line-height:1.65}.q-limits .q-cards{margin-top:16px}.q-navigation nav{max-height:70vh;overflow:auto}.q-navigation nav h4{margin:18px 10px 4px;font-size:11px}.q-card-top{display:flex;gap:8px;flex-wrap:wrap}#qualInventoryResults{max-height:70vh;overflow:auto;margin-bottom:24px}#qualInventorySearch{margin:8px 16px 12px 0;min-width:280px}#qualInventoryType{margin:8px 0 12px 8px}.q-footnote{font-size:12px;line-height:1.6;color:var(--muted);max-width:800px;margin:24px 0}.q-evidence .local-research pre{max-height:500px;overflow:auto}@media(max-width:800px){.q-layout{grid-template-columns:1fr;gap:20px}.q-navigation{position:static}.q-navigation nav{display:flex;overflow:auto;padding-bottom:8px}.q-navigation nav button{flex:0 0 190px;border:1px solid var(--line)}.q-view{flex-wrap:wrap}.q-card{padding:16px}}\n\n/* The specialized rooms predate the shared light palette and originally used\n   fixed night surfaces. Keep their night treatment, but give every fixed-dark\n   surface an explicit light-mode counterpart so inherited ink never becomes\n   dark text on a dark card. */\n:root[data-theme=\"light\"] #walkHub button,\n:root[data-theme=\"light\"] #booksHub button,\n:root[data-theme=\"light\"] #booksHub select,\n:root[data-theme=\"light\"] #booksHub input,\n:root[data-theme=\"light\"] #journeyHub button,\n:root[data-theme=\"light\"] #journeyHub select,\n:root[data-theme=\"light\"] #rightsHub button,\n:root[data-theme=\"light\"] #rightsHub select,\n:root[data-theme=\"light\"] #legalRoutesHub button,\n:root[data-theme=\"light\"] #legalRoutesHub input,\n:root[data-theme=\"light\"] .wh-tools input,\n:root[data-theme=\"light\"] .wh-tools select,\n:root[data-theme=\"light\"] .wh-jumps button{background:var(--panel);color:var(--ink);border-color:var(--line)}\n:root[data-theme=\"light\"] #walkHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #booksHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #journeyHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #rightsHub button[aria-pressed=true],\n:root[data-theme=\"light\"] .lr-functions button[aria-pressed=true],\n:root[data-theme=\"light\"] .j-route-nav button[aria-pressed=true]{background:var(--soft-gold)!important;color:var(--ink);border-color:var(--gold)!important}\n:root[data-theme=\"light\"] .wk-intro,\n:root[data-theme=\"light\"] .wk-empty,\n:root[data-theme=\"light\"] .bk-intro,\n:root[data-theme=\"light\"] .bk-empty,\n:root[data-theme=\"light\"] .bk-legend,\n:root[data-theme=\"light\"] .bk-routes small,\n:root[data-theme=\"light\"] .j-legend,\n:root[data-theme=\"light\"] .j-note,\n:root[data-theme=\"light\"] .j-route-nav small,\n:root[data-theme=\"light\"] .rights-intro,\n:root[data-theme=\"light\"] .rights-legend p,\n:root[data-theme=\"light\"] .lr-explainer,\n:root[data-theme=\"light\"] .lr-count,\n:root[data-theme=\"light\"] .lr-functions small,\n:root[data-theme=\"light\"] .wh-hero p,\n:root[data-theme=\"light\"] .wh-boundary,\n:root[data-theme=\"light\"] .wh-count,\n:root[data-theme=\"light\"] .wh-layer>p,\n:root[data-theme=\"light\"] .wh-findings small,\n:root[data-theme=\"light\"] .wh-results small,\n:root[data-theme=\"light\"] .wh-connections small,\n:root[data-theme=\"light\"] .wh-leads,\n:root[data-theme=\"light\"] .wh-guidance p,\n:root[data-theme=\"light\"] .lv-heading p,\n:root[data-theme=\"light\"] .lv-legend,\n:root[data-theme=\"light\"] .lv-corner,\n:root[data-theme=\"light\"] .lv-lane,\n:root[data-theme=\"light\"] .lv-note,\n:root[data-theme=\"light\"] .lv-bridge,\n:root[data-theme=\"light\"] .infra-row header p,\n:root[data-theme=\"light\"] .infra-nodes small{color:var(--muted)}\n:root[data-theme=\"light\"] .wk-test,\n:root[data-theme=\"light\"] .wk-step,\n:root[data-theme=\"light\"] .wk-t div,\n:root[data-theme=\"light\"] .bk-test,\n:root[data-theme=\"light\"] .bk-step,\n:root[data-theme=\"light\"] .bk-card,\n:root[data-theme=\"light\"] .bk-t div,\n:root[data-theme=\"light\"] .j-inspector,\n:root[data-theme=\"light\"] .j-change article,\n:root[data-theme=\"light\"] .j-current,\n:root[data-theme=\"light\"] .j-footprint,\n:root[data-theme=\"light\"] .rights-scope,\n:root[data-theme=\"light\"] .rights-chain li,\n:root[data-theme=\"light\"] .rights-card>header,\n:root[data-theme=\"light\"] .rights-cell:last-child,\n:root[data-theme=\"light\"] .rights-proof,\n:root[data-theme=\"light\"] .rights-card footer,\n:root[data-theme=\"light\"] .lr-sequence span,\n:root[data-theme=\"light\"] .lr-role-header,\n:root[data-theme=\"light\"] .lr-path,\n:root[data-theme=\"light\"] .lr-players,\n:root[data-theme=\"light\"] .lr-player,\n:root[data-theme=\"light\"] .lr-focus,\n:root[data-theme=\"light\"] .lr-unmapped,\n:root[data-theme=\"light\"] .wh-layer,\n:root[data-theme=\"light\"] .wh-findings article,\n:root[data-theme=\"light\"] .wh-results article,\n:root[data-theme=\"light\"] .wh-connections article,\n:root[data-theme=\"light\"] .wh-guidance,\n:root[data-theme=\"light\"] .infra-overview a,\n:root[data-theme=\"light\"] .infra-nodes article,\n:root[data-theme=\"light\"] .infra-edges article,\n:root[data-theme=\"light\"] .infra-gaps article,\n:root[data-theme=\"light\"] #infra-ecosystem-coverage td:nth-child(3) p{background:var(--panel);color:var(--ink)}\n:root[data-theme=\"light\"] .wk-step,\n:root[data-theme=\"light\"] .bk-step,\n:root[data-theme=\"light\"] .bk-card,\n:root[data-theme=\"light\"] .j-inspector,\n:root[data-theme=\"light\"] .rights-card,\n:root[data-theme=\"light\"] .rights-chain li,\n:root[data-theme=\"light\"] .lr-branch,\n:root[data-theme=\"light\"] .lr-player,\n:root[data-theme=\"light\"] .wh-layer,\n:root[data-theme=\"light\"] .infra-overview a,\n:root[data-theme=\"light\"] .infra-nodes article,\n:root[data-theme=\"light\"] .infra-inspect,\n:root[data-theme=\"light\"] .infra-row,\n:root[data-theme=\"light\"] .infra-gaps article{border-color:var(--line)}\n:root[data-theme=\"light\"] .wk-table th,\n:root[data-theme=\"light\"] .wk-table td,\n:root[data-theme=\"light\"] .wk-step details,\n:root[data-theme=\"light\"] .rights-card>header,\n:root[data-theme=\"light\"] .rights-cell,\n:root[data-theme=\"light\"] .rights-card footer{border-color:var(--line)}\n:root[data-theme=\"light\"] .wk-table th,\n:root[data-theme=\"light\"] .bk-t b,\n:root[data-theme=\"light\"] .rights-cell dt{color:var(--muted)}\n:root[data-theme=\"light\"] .wk-n,\n:root[data-theme=\"light\"] .bk-spine span,\n:root[data-theme=\"light\"] .bk-office,\n:root[data-theme=\"light\"] .j-progress,\n:root[data-theme=\"light\"] .rights-num,\n:root[data-theme=\"light\"] .rights-cell strong,\n:root[data-theme=\"light\"] .lr-state,\n:root[data-theme=\"light\"] .wh-layer-top>span,\n:root[data-theme=\"light\"] .wh-match,\n:root[data-theme=\"light\"] .wh-leads>b{color:#755400}\n:root[data-theme=\"light\"] .wk-no,\n:root[data-theme=\"light\"] .rights-status.authority{color:#08624f}\n:root[data-theme=\"light\"] .rights-status,\n:root[data-theme=\"light\"] .bk-kind{color:#165c75}\n:root[data-theme=\"light\"] .rights-status.dependency,\n:root[data-theme=\"light\"] .bk-kind.memo{color:#755400}\n:root[data-theme=\"light\"] .rights-status.unproven{color:#6b3e82}\n:root[data-theme=\"light\"] .rights-status.outside_scope,\n:root[data-theme=\"light\"] .bk-kind.none{color:#8a3f28}\n:root[data-theme=\"light\"] #walkHub a,\n:root[data-theme=\"light\"] #booksHub a,\n:root[data-theme=\"light\"] #journeyHub a,\n:root[data-theme=\"light\"] #rightsHub a,\n:root[data-theme=\"light\"] #legalRoutesHub a,\n:root[data-theme=\"light\"] .wh-link,\n:root[data-theme=\"light\"] .wh-results a,\n:root[data-theme=\"light\"] .infra-map a,\n:root[data-theme=\"light\"] .infra-map button[data-infra],\n:root[data-theme=\"light\"] .infra-overview a strong{color:var(--focus)}\n:root[data-theme=\"light\"] .j-warning,\n:root[data-theme=\"light\"] .bk-fail{background:#fff5ed;color:#71361f}\n:root[data-theme=\"light\"] .j-footprint{background:#eef9f5}\n:root[data-theme=\"light\"] .rights-status{background:var(--panel)}\n:root[data-theme=\"light\"] .infra-map select{background:var(--panel);color:var(--ink);border-color:var(--line)}\n:root[data-theme=\"light\"] #infra-rulebooks th{color:#755400}\n:root[data-theme=\"light\"] .lv-detail,\n:root[data-theme=\"light\"] .lv-role-center,\n:root[data-theme=\"light\"] .lv-player-center{color:#e8edf0}\n\n\n</style>\n<span id=\"routes\" hidden></span>\n<section id=\"legalRoutesHub\" aria-label=\"Legal routes and eligible players\" hidden></section>\n<section id=\"journeyHub\" aria-label=\"Transaction maps\" hidden></section>\n<section id=\"booksHub\" aria-label=\"Debits and credits\" hidden></section>\n<section id=\"rightsHub\" aria-label=\"Current system and crypto comparison\" hidden></section>\n<section id=\"wholeHub\" aria-label=\"Whole market overview\" hidden></section>\n<section id=\"legalHub\" aria-label=\"Legal process hub\" hidden>\n <div class=\"liq-heading\"><div class=\"liq-kicker\">Crypto stack / Legal process · operative Innovation Exemption through September 17, 2026; proposed Fed GENIUS architecture through September 24 lives in its own Hub room</div><h2>How a transaction acquires legal effect</h2><p>Follow the claim, the responsible institutions and the documents that connect one step to the next.</p></div>\n <div class=\"liq-tabs\" role=\"group\" aria-label=\"Legal process views\"><button data-legal-tab=\"walk\" aria-pressed=\"true\">Step by step</button><button data-legal-tab=\"innovation\" aria-pressed=\"false\">Innovation order</button><button data-legal-tab=\"layers\" aria-pressed=\"false\">Authority layers</button><button data-legal-tab=\"qualifications\" aria-pressed=\"false\">Who does what?</button><button data-legal-tab=\"cases\" aria-pressed=\"false\">Worked cases</button><button data-room=\"genius\">Open Fed GENIUS hub →</button><button data-room=\"liquidity\">Connect to liquidity →</button></div>\n <div id=\"legalContent\"></div>\n <div class=\"liq-source\"><details><summary>Full legal research</summary><div id=\"legalReport\"></div></details></div>\n</section>\n\n  <section class=\"toolbar\" aria-label=\"Map controls\">\n    <div class=\"toolbar-row\">\n      <div class=\"field\"><span class=\"tool-label\">Mode</span><div class=\"mode-group\" role=\"group\" aria-label=\"Exploration mode\"><button class=\"mode-toggle\" type=\"button\" data-mode=\"process\" aria-pressed=\"false\">Process</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"trace\" aria-pressed=\"false\">Trace</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"compare\" aria-pressed=\"false\">Compare</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"accounting\" aria-pressed=\"false\">Accounting</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"explore\" aria-pressed=\"true\">Explore</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"full\" aria-pressed=\"false\">Full map</button></div></div>\n      <label class=\"field field-grow context-field\" id=\"stackField\" for=\"stackSelect\" hidden><span class=\"tool-label\">Current stack</span><select class=\"control\" id=\"stackSelect\"></select></label>\n      <label class=\"field\" id=\"stackOverlayField\" hidden><span class=\"tool-label\">Overlay</span><span class=\"mode-group\"><label class=\"mode-toggle\" style=\"display:flex;gap:8px;align-items:center;padding:8px 12px\"><input type=\"checkbox\" id=\"stackOverlay\"> Crypto overlap</label></span></label>\n      <label class=\"field field-grow context-field\" id=\"ecosystemField\" for=\"ecosystemSelect\"><span class=\"tool-label\">Ecosystem</span><select class=\"control\" id=\"ecosystemSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"processField\" for=\"processSelect\" hidden><span class=\"tool-label\">Process map</span><select class=\"control\" id=\"processSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"processStageField\" for=\"processStageSelect\" hidden><span class=\"tool-label\">Exact stage</span><select class=\"control\" id=\"processStageSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"traceField\" for=\"traceSelect\" hidden><span class=\"tool-label\">Evidence trace</span><select class=\"control\" id=\"traceSelect\"></select></label>\n      <label class=\"field field-grow context-field\" for=\"viewSelect\" id=\"viewField\"><span class=\"tool-label\">View</span><select class=\"control\" id=\"viewSelect\"><option value=\"stack\">Structural layers</option><option value=\"sec-chain\">SEC proposal overlap</option><option value=\"control\">Legal control</option><option value=\"cash\">Products &amp; flows</option><option value=\"cash-leg\">Cash-leg comparison</option><option value=\"networks\">Network architecture</option><option value=\"capital\">Capital &amp; influence</option><option value=\"full\">All relationships</option></select></label>\n      <label class=\"field field-compact\" for=\"clockSelect\"><span class=\"tool-label\">Operational clock</span><select class=\"control\" id=\"clockSelect\"><option value=\"all\">All states</option></select></label>\n      <label class=\"field field-grow\" for=\"search\"><span class=\"tool-label\">Find</span><input class=\"search\" id=\"search\" type=\"search\" placeholder=\"Entity, product, role or relationship…\"></label>\n      <button class=\"toolbar-action\" id=\"refineToggle\" type=\"button\" aria-expanded=\"false\" aria-controls=\"refinePanel\">Refine &amp; key</button>\n    </div>\n    <div class=\"refine-panel\" id=\"refinePanel\" hidden><p class=\"key-note\"><b>Node rail</b> = functional lane. <b>Line color and pattern</b> = relationship class, never confidence or legal effect. <b>Process role</b> = what an exact entity does at one lifecycle stage. <b>Clock dot</b> = operational state.</p><div class=\"legend-grid\"><div><p class=\"legend-title\">Node rails</p><div class=\"legend-items\" id=\"laneLegend\"></div></div><div><p class=\"legend-title\">Relationship lines · refine structural views</p><div class=\"legend-items\" id=\"typeRow\"></div></div><div><p class=\"legend-title\">Process roles</p><div class=\"legend-items\" id=\"processRoleLegend\"></div></div><div><p class=\"legend-title\">Operational clocks</p><div class=\"legend-items\" id=\"clockLegend\"></div></div></div></div>\n    <div class=\"toolbar-row\" id=\"selectionRow\" hidden><span class=\"tool-label\">Selected</span><div class=\"selection-summary\" id=\"selectionSummary\" aria-live=\"polite\"></div><button class=\"clear-selection\" id=\"clearSelection\" type=\"button\">Clear comparison</button></div>\n    <p class=\"lens-note\" id=\"lensNote\" aria-live=\"polite\"></p>\n  </section>\n\n  <details class=\"bank-research\" id=\"bankResearch\"><summary>SWIFT banks &amp; tests<small id=\"bankResearchOverview\"></small></summary><div class=\"bank-research-body\" id=\"bankResearchBody\"></div></details>\n\n  <div class=\"workspace\">\n    <section class=\"map-frame\" aria-labelledby=\"mapTitle\">\n      <div class=\"map-head\"><div><h2 id=\"mapTitle\">Ecosystem stack</h2><p id=\"mapHelp\">Choose an ecosystem or click its root to trace organizations, operators, products, networks and market rails end to end.</p></div><div class=\"map-actions\"><div class=\"map-count\" id=\"mapCount\"></div><button class=\"map-button\" id=\"expandMap\" type=\"button\" aria-pressed=\"false\">Expand map</button></div></div>\n      <div class=\"map-scroll\"><div class=\"map-canvas\" id=\"canvas\"><svg class=\"edges\" id=\"edgeSvg\" aria-hidden=\"true\"></svg></div></div>\n      <div class=\"accounting-panel\" id=\"accountingPanel\" hidden></div>\n      <div id=\"flowControls\" hidden></div><div id=\"evidenceFlow\" hidden></div><div id=\"flowSpine\" hidden></div><div class=\"process-scroll\" id=\"processScroll\" hidden><div class=\"process-grid\" id=\"processGrid\" role=\"grid\" aria-label=\"Process coverage by ecosystem and lifecycle stage\"></div></div>\n    </section>\n    <aside class=\"detail\" id=\"detail\"></aside>\n  </div>\n  <p class=\"footer\"><b>Reading rule:</b> a dense web of partnership and technical edges is not a control structure. A process role is stage-specific: operating, integrating or transporting does not confer legal control, cash finality or a public backstop. Proposal status, exact legal entity, date and claim boundary remain decisive.</p>\n</main>\n<script type=\"application/json\" id=\"mapData\">__DATA__</script>\n<script>\nconst data=JSON.parse(document.getElementById('mapData').textContent);\nconst byId=items=>new Map(items.map(item=>[item.id,item]));\nconst nodesById=byId(data.nodes),typesById=byId(data.relationship_types),sourcesById=byId(data.sources),lanesById=byId(data.lanes),lensesById=byId(data.lenses),ecosystemsById=byId(data.ecosystems),clocksById=byId(data.operational_states),tracesById=byId(data.asset_traces),processesById=byId(data.process_maps),processRolesById=byId(data.process_roles),scaleStatesById=byId(data.scale_states),stressStatesById=byId(data.stress_states);\nconst rootToEcosystem=new Map(data.ecosystems.map(item=>[item.root_node_id,item.id]));\nconst nodeToEcosystems=new Map();\nfor(const ecosystem of data.ecosystems)for(const id of ecosystem.node_ids){if(!nodeToEcosystems.has(id))nodeToEcosystems.set(id,[]);nodeToEcosystems.get(id).push(ecosystem.id)}\nconst allTypeIds=data.relationship_types.map(type=>type.id);\nconst currentStackIds=new Set(data.current_stack_ids||[]);\nconst overlayNodeIds=new Set((data.ecosystems||[]).flatMap(e=>e.overlay_node_ids||[]));\nconst state={compareEcosystems:new Set(['ripple','swift-ledger']),followNode:'all',mode:'explore',ecosystem:'us-equity-now',process:data.process_maps[0].id,processStage:'all',trace:data.asset_traces[0].id,view:'stack',clock:'all',types:new Set(allTypeIds),query:'',selectedNodes:new Set(),focusedNode:'us-street-name',selectedEdge:null,selectedCoverage:null,hover:null,visibleEdges:[],accountingUseFlow:true,flowScope:null,accountingLayer:'claim',accountingScope:'all',accountingEcosystem:'all',accountingAmount:1000000,stackOverlay:false};\nconst canvas=document.getElementById('canvas'),svg=document.getElementById('edgeSvg'),detail=document.getElementById('detail'),mapScroll=document.querySelector('.map-scroll'),processScroll=document.getElementById('processScroll'),processGrid=document.getElementById('processGrid');\ncanvas.style.setProperty('--lane-width',`${100/data.lanes.length}%`);\nconst nodeEls=new Map(),edgeEls=new Map();\nconst esc=s=>String(s??'').replace(/[&<>\"']/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c]));\nconst setText=(id,value)=>{document.getElementById(id).textContent=value};\nsetText('cutoff',data.evidence_cutoff);setText('title',data.title);setText('subtitle',data.subtitle);setText('thesis',data.thesis);setText('nodeTotal',data.nodes.length);setText('edgeTotal',data.edges.length);setText('sourceTotal',data.sources.length);setText('controlTotal',data.edges.filter(edge=>edge.type==='control').length);\n\nfunction applyTheme(theme){if(theme==='light'||theme==='dark')document.documentElement.dataset.theme=theme}\nwindow.addEventListener('message',event=>{const msg=event.data||{};if(msg.action==='setTheme'||msg.type==='theme')applyTheme(msg.theme||msg.value)});\napplyTheme(new URLSearchParams(location.search).get('theme'));\n\nconst ecosystemSelect=document.getElementById('ecosystemSelect'),processSelect=document.getElementById('processSelect'),processStageSelect=document.getElementById('processStageSelect'),traceSelect=document.getElementById('traceSelect'),viewSelect=document.getElementById('viewSelect'),clockSelect=document.getElementById('clockSelect');\nfor(const ecosystem of data.ecosystems){const option=document.createElement('option');option.value=ecosystem.id;option.textContent=ecosystem.label;ecosystemSelect.appendChild(option)}\nfor(const process of data.process_maps){const option=document.createElement('option');option.value=process.id;option.textContent=process.label;processSelect.appendChild(option)}\nfor(const trace of data.asset_traces){const option=document.createElement('option');option.value=trace.id;option.textContent=trace.label;traceSelect.appendChild(option)}\nfor(const clock of data.operational_states){const option=document.createElement('option');option.value=clock.id;option.textContent=clock.label;clockSelect.appendChild(option)}\nconst stackSelect=document.getElementById('stackSelect');\nfor(const id of data.current_stack_ids||[]){const eco=ecosystemsById.get(id);if(!eco)continue;const option=document.createElement('option');option.value=eco.id;option.textContent=eco.label;stackSelect.appendChild(option)}\nstackSelect.value=currentStackIds.has(state.ecosystem)?state.ecosystem:'us-equity-now';\nstackSelect.addEventListener('change',event=>setEcosystem(event.target.value));\ndocument.getElementById('stackOverlay').addEventListener('change',event=>{state.stackOverlay=event.target.checked;render()});\necosystemSelect.value=state.ecosystem;processSelect.value=state.process;traceSelect.value=state.trace;viewSelect.value=state.view;clockSelect.value=state.clock;\nfor(const lane of data.lanes){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--lane-color',lane.color);item.innerHTML=`<i class=\"lane-swatch\"></i>${esc(lane.label)}`;document.getElementById('laneLegend').appendChild(item)}\nfor(const clock of data.operational_states){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--clock-color',clock.color);item.innerHTML=`<i class=\"clock-swatch\"></i>${esc(clock.label)}`;document.getElementById('clockLegend').appendChild(item)}\nfor(const role of data.process_roles){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--role-color',role.color);item.innerHTML=`<i class=\"process-role-swatch\"></i>${esc(role.label)}`;document.getElementById('processRoleLegend').appendChild(item)}\nfor(const type of data.relationship_types){const button=document.createElement('button');button.type='button';button.className='type-toggle';button.dataset.type=type.id;button.style.setProperty('--edge-color',type.color);button.setAttribute('aria-pressed','true');button.innerHTML=`<svg class=\"edge-sample\" viewBox=\"0 0 34 12\" aria-hidden=\"true\"><line x1=\"1\" y1=\"6\" x2=\"31\" y2=\"6\" stroke-dasharray=\"${esc(type.dash||'')}\"></line></svg>${esc(type.label)}`;button.addEventListener('click',()=>{state.types.has(type.id)?state.types.delete(type.id):state.types.add(type.id);syncTypeButtons();render()});document.getElementById('typeRow').appendChild(button)}\n\ndocument.querySelectorAll('[data-mode]').forEach(button=>button.addEventListener('click',()=>setMode(button.dataset.mode)));\necosystemSelect.addEventListener('change',event=>setEcosystem(event.target.value));\nprocessSelect.addEventListener('change',event=>setProcess(event.target.value));\nprocessStageSelect.addEventListener('change',event=>{state.processStage=event.target.value;state.selectedCoverage=null;render()});\ntraceSelect.addEventListener('change',event=>setTrace(event.target.value));\nviewSelect.addEventListener('change',event=>setView(event.target.value));\nclockSelect.addEventListener('change',event=>{state.clock=event.target.value;state.selectedEdge=null;render()});\ndocument.getElementById('search').addEventListener('input',event=>{state.query=event.target.value.trim().toLowerCase();render()});\ndocument.getElementById('clearSelection').addEventListener('click',()=>{state.selectedNodes.clear();state.selectedEdge=null;render()});\ndocument.getElementById('refineToggle').addEventListener('click',event=>{const panel=document.getElementById('refinePanel'),open=panel.hidden;panel.hidden=!open;event.currentTarget.setAttribute('aria-expanded',String(open))});\ndocument.getElementById('expandMap').addEventListener('click',event=>{const expanded=document.body.classList.toggle('chart-expanded');event.currentTarget.setAttribute('aria-pressed',String(expanded));event.currentTarget.textContent=expanded?'Exit expanded':'Expand map';render()});\n\nfor(const [index,lane] of data.lanes.entries()){const head=document.createElement('div');head.className='lane-head';head.style.left=((index+.5)/data.lanes.length*100)+'%';head.style.width=`calc(${100/data.lanes.length}% - 24px)`;head.innerHTML=`<b>${esc(lane.label)}</b><span>${esc(lane.description)}</span>`;canvas.appendChild(head)}\nconst defs=document.createElementNS('http://www.w3.org/2000/svg','defs');svg.appendChild(defs);\nfor(const type of data.relationship_types){const marker=document.createElementNS('http://www.w3.org/2000/svg','marker');marker.setAttribute('id','arrow-'+type.id);marker.setAttribute('viewBox','0 0 10 10');marker.setAttribute('refX','8');marker.setAttribute('refY','5');marker.setAttribute('markerWidth','5');marker.setAttribute('markerHeight','5');marker.setAttribute('orient','auto-start-reverse');const path=document.createElementNS('http://www.w3.org/2000/svg','path');path.setAttribute('d','M 0 0 L 10 5 L 0 10 z');path.setAttribute('fill',type.color);marker.appendChild(path);defs.appendChild(marker)}\nfor(const edge of data.edges){const group=document.createElementNS('http://www.w3.org/2000/svg','g'),type=typesById.get(edge.type),path=document.createElementNS('http://www.w3.org/2000/svg','path'),hit=document.createElementNS('http://www.w3.org/2000/svg','path');path.classList.add('edge');path.setAttribute('stroke',type.color);path.setAttribute('stroke-dasharray',type.dash||'');path.setAttribute('marker-end',`url(#arrow-${type.id})`);hit.classList.add('edge-hit');hit.addEventListener('click',()=>selectEdge(edge.id));group.append(path,hit);svg.appendChild(group);edgeEls.set(edge.id,{g:group,path,hit})}\nfor(const node of data.nodes){const button=document.createElement('button'),lane=lanesById.get(node.lane),clock=clocksById.get(node.operational_state);button.type='button';button.className='node';button.dataset.id=node.id;button.style.setProperty('--lane-color',lane.color);button.style.setProperty('--clock-color',clock.color);button.innerHTML=`<b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)}</span><span class=\"kind\">${esc(node.kind.replaceAll('_',' '))}</span><span class=\"clock\">${esc(clock.label)}</span>`;if(overlayNodeIds.has(node.id))button.classList.add('overlay-node');\nbutton.setAttribute('aria-label',`${node.label}. ${node.status}. ${clock.label}`);button.setAttribute('aria-pressed','false');button.addEventListener('click',()=>selectNode(node.id));button.addEventListener('mouseenter',()=>{state.hover=node.id;applyHighlight()});button.addEventListener('mouseleave',()=>{state.hover=null;applyHighlight()});button.addEventListener('focus',()=>{state.hover=node.id;applyHighlight()});button.addEventListener('blur',()=>{state.hover=null;applyHighlight()});canvas.appendChild(button);nodeEls.set(node.id,button)}\n\nfunction setMode(mode){\n if(mode==='accounting'&&['process','trace','compare'].includes(state.mode)&&state.accountingUseFlow&&state.processStage!=='all'){const step=processesById.get(state.process).stages.find(s=>s.id===state.processStage);const layer=data.accounting_layers.find(l=>step?.families.some(f=>l.families.includes(f)));if(layer)state.accountingLayer=layer.id}\n const flow=['process','trace','compare'].includes(mode);state.mode=mode;state.selectedEdge=null;\n if(mode==='trace'){const t=tracesById.get(state.trace);if(t.process_id&&!t.process_ids.includes(state.process)){state.process=t.process_id;state.processStage='all';state.selectedCoverage=null}}\n document.querySelector('.workspace').classList.toggle('accounting-active',mode==='accounting');document.getElementById('accountingPanel').hidden=mode!=='accounting';\n if(mode==='explore'&&!state.focusedNode)state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;\n document.querySelectorAll('[data-mode]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.mode===mode)));\n document.getElementById('ecosystemField').hidden=mode!=='explore'||document.body.classList.contains('current-stack-room');document.getElementById('processField').hidden=!flow;processSelect.disabled=false;document.getElementById('processStageField').hidden=!flow;document.getElementById('traceField').hidden=mode!=='trace';\n document.querySelectorAll('.type-toggle').forEach(b=>b.disabled=flow||mode==='accounting');document.getElementById('viewField').hidden=flow||mode==='accounting';viewSelect.disabled=flow||mode==='accounting';mapScroll.hidden=flow||mode==='accounting';processScroll.hidden=!flow;document.getElementById('flowSpine').hidden=!flow;document.getElementById('flowControls').hidden=!flow;document.getElementById('evidenceFlow').hidden=!flow;document.getElementById('selectionRow').hidden=true;render();\n}\nfunction setEcosystem(id){state.ecosystem=id;state.selectedEdge=null;const root=ecosystemsById.get(id).root_node_id;if(state.mode==='compare')state.selectedNodes.add(root);else state.focusedNode=root;render()}\nfunction setProcess(id){state.process=id;state.processStage='all';state.selectedCoverage=null;render()}\nfunction openEcosystemProcess(id){state.process=id;state.processStage='all';setMode('process')}\nfunction processRoutes(ecosystem){return `<button class=\"process-route-button\" data-compare-current=\"${ecosystem.id}\">Compare this system</button><div class=\"detail-block\"><h3>Compare lifecycle stages</h3><p>Explore groups objects by structural role. Process follows the sequence of work and compares the same stage across ecosystems.</p>${data.process_maps.filter(process=>process.ecosystem_ids.includes(ecosystem.id)).map(process=>`<button class=\"process-route-button\" type=\"button\" data-open-process=\"${esc(process.id)}\">Compare ${esc(process.label)} stages</button>`).join('')}</div>`}\nfunction setTrace(id){state.trace=id;state.process=tracesById.get(id).process_id;state.processStage='all';state.selectedCoverage=null;state.followNode='all';render()}\nfunction setView(id){state.view=id;state.selectedEdge=null;const lens=lensesById.get(id);state.types=new Set(lens?.relationship_types||allTypeIds);if(id==='sec-chain')state.types.add('advocacy');syncTypeButtons();render()}\nfunction syncTypeButtons(){document.querySelectorAll('.type-toggle').forEach(button=>button.setAttribute('aria-pressed',String(state.types.has(button.dataset.type))))}\nfunction searchMatchNode(node){if(!state.query)return true;return [node.label,node.status,node.summary,node.boundary,node.kind].join(' ').toLowerCase().includes(state.query)}\nfunction searchMatchEdge(edge){if(!state.query)return true;const a=nodesById.get(edge.from),b=nodesById.get(edge.to);return [edge.label,edge.status,edge.claim,edge.boundary,a.label,b.label].join(' ').toLowerCase().includes(state.query)}\nfunction profileScope(){if(state.mode==='full')return new Set(data.nodes.map(node=>node.id));if(state.mode==='trace')return new Set(tracesById.get(state.trace).node_ids);const eco=ecosystemsById.get(state.ecosystem);const ids=new Set(eco.node_ids);if(state.stackOverlay)for(const id of eco.overlay_node_ids||[])ids.add(id);if(state.mode==='compare'){for(const id of state.selectedNodes){for(const ecosystemId of nodeToEcosystems.get(id)||[])for(const member of ecosystemsById.get(ecosystemId).node_ids)ids.add(member)}}if(state.view==='sec-chain')for(const id of lensesById.get('sec-chain').node_ids)ids.add(id);return ids}\nfunction clockMatch(item){return state.clock==='all'||item.operational_state===state.clock}\nfunction visibleEdges(){const scope=profileScope(),traceEdgeIds=state.mode==='trace'?new Set(tracesById.get(state.trace).edge_ids):null;return data.edges.filter(edge=>scope.has(edge.from)&&scope.has(edge.to)&&(!traceEdgeIds||traceEdgeIds.has(edge.id))&&state.types.has(edge.type)&&clockMatch(edge)&&(!state.query||searchMatchEdge(edge)||searchMatchNode(nodesById.get(edge.from))||searchMatchNode(nodesById.get(edge.to))))}\nfunction visibleNodes(edges){const scope=profileScope(),connected=new Set(edges.flatMap(edge=>[edge.from,edge.to]));return data.nodes.filter(node=>scope.has(node.id)&&(state.clock==='all'||clockMatch(node)||connected.has(node.id))&&(!state.query||searchMatchNode(node)||connected.has(node.id)))}\nfunction layout(nodes){const grouped=new Map(data.lanes.map(lane=>[lane.id,[]]));for(const node of nodes)grouped.get(node.lane).push(node);const root=ecosystemsById.get(state.ecosystem)?.root_node_id;for(const list of grouped.values())list.sort((a,b)=>(a.id===root?-1:b.id===root?1:0)||a.label.localeCompare(b.label));const maxLane=Math.max(1,...[...grouped.values()].map(list=>list.length)),top=132,gap=142,height=Math.max(560,top+maxLane*gap+45);canvas.style.height=height+'px';const width=canvas.clientWidth,positions=new Map();data.lanes.forEach((lane,index)=>grouped.get(lane.id).forEach((node,row)=>positions.set(node.id,{x:(index+.5)/data.lanes.length*width,y:top+row*gap})));return positions}\nfunction pathFor(a,b,edge){const sameLane=Math.abs(a.x-b.x)<30,offset=(data.edges.indexOf(edge)%5-2)*7;if(sameLane)return `M ${a.x} ${a.y+32} C ${a.x+50+offset} ${a.y+44}, ${b.x+50+offset} ${b.y-44}, ${b.x} ${b.y-32}`;const direction=b.x>a.x?1:-1,startX=a.x+direction*81,endX=b.x-direction*81,curve=Math.max(42,Math.abs(endX-startX)*.45);return `M ${startX} ${a.y} C ${startX+curve*direction} ${a.y+offset}, ${endX-curve*direction} ${b.y+offset}, ${endX} ${b.y}`}\nfunction questionsFor(ids){const chosen=new Set(ids);return (data.evidence_questions||[]).filter(q=>q.coverage_ids.some(id=>chosen.has(id)))}\nfunction questionCards(ids){return questionsFor(ids).map(q=>`<details class=\"process-card-research evidence-question\" data-question=\"${esc(q.id)}\"><summary>${esc(q.label)}</summary><p><b>Established:</b> ${esc(q.finding)}</p><p class=\"accounting-gap\"><b>Still undisclosed:</b> ${esc(q.unknown)}</p><p><b>Evidence needed:</b> ${esc(q.needed)}</p><p>${esc(q.comparison)}</p><div class=\"source-list\">${sourceLinks(q.source_ids)}</div></details>`).join('')}\nfunction renderEvidenceFlow(trace,records){\n const panel=document.getElementById('evidenceFlow');\n const sequence=trace?.sequence_label?`<section class=\"reported-sequence\"><h3>${esc(trace.sequence_label)}</h3><p>${esc(trace.sequence_boundary)}</p><ol class=\"reported-steps\">${trace.mapping_steps.map((step,i)=>`<li><button type=\"button\" data-sequence-role=\"${esc(step.coverage_ids[0])}\"><b>${i+1}</b> ${esc(trace.walkthrough[i])}</button></li>`).join('')}</ol><p class=\"accounting-gap\"><b>Exposure interval:</b> receiving funds available → external settlement completed. Financing instrument and loss allocation remain undisclosed.</p></section>`:'';\n const cards=questionCards(records.map(c=>c.id));panel.innerHTML=sequence+(cards?`<details class=\"evidence-review\" ${trace?.sequence_label?'open':''}><summary>Funding, legal effect &amp; risk · ${questionsFor(records.map(c=>c.id)).length} researched questions</summary><div class=\"evidence-question-grid\">${cards}</div></details>`:'');\n panel.querySelectorAll('[data-sequence-role]').forEach(b=>b.addEventListener('click',()=>{const p=processesById.get(state.process),c=p.coverage.find(c=>c.id===b.dataset.sequenceRole);state.processStage=c.stage_ids[0];state.selectedCoverage=c.id;render()}));\n}\nfunction searchMatchCoverage(coverage,process,stage,ecosystem){if(!state.query)return true;const nodes=coverage.node_ids.map(id=>nodesById.get(id)?.label||'').join(' '),sources=coverage.source_ids.map(id=>sourcesById.get(id)?.label||'').join(' ');return [coverage.summary,coverage.boundary,JSON.stringify(questionsFor([coverage.id])),process.label,stage.label,stage.description,stage.question,ecosystem.label,nodes,sources].join(' ').toLowerCase().includes(state.query)}\nfunction renderProcessDetail(process,coverage){if(!coverage){detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Process map</div><h2>${esc(process.label)}</h2><span class=\"status\">${process.coverage.length} sourced role records</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(process.description)}</p><div class=\"detail-block\"><h3>Walk the process</h3><div class=\"stack-path\">${process.stages.map(stage=>`<div class=\"stack-step\">${esc(stage.label)} — ${esc(stage.question)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Process boundary</h3><p>${esc(process.boundary)}</p></div></div>`;return}const ecosystem=ecosystemsById.get(coverage.ecosystem_id),role=processRolesById.get(coverage.role),clock=clocksById.get(coverage.operational_state),scale=scaleStatesById.get(coverage.scale_state),stress=stressStatesById.get(coverage.stress_state),stageLabels=coverage.stage_ids.map(id=>process.stages.find(stage=>stage.id===id)?.label).filter(Boolean),evidence=coverage.node_ids.map(id=>nodesById.get(id)).filter(Boolean).map(node=>`<div class=\"process-evidence-item\" style=\"--lane-color:${lanesById.get(node.lane).color}\"><b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)}</span></div>`).join('');detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\" style=\"color:${role.color}\">${esc(ecosystem.label)} · ${esc(role.label)}</div><h2>${esc(stageLabels.join(' · '))}</h2><span class=\"status\">${esc(scale.label)}</span>${clockBadge(clock.id)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Stage role</h3><p>${esc(coverage.summary)}</p></div><div class=\"detail-block\"><h3>Evidence depth</h3><p><b>Scale:</b> ${esc(scale.label)} — ${esc(scale.description)}<br><b>Stress:</b> ${esc(stress.label)} — ${esc(stress.description)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(coverage.boundary)}</p></div><div class=\"detail-block\"><h3>Supporting objects</h3><div class=\"process-evidence-list\">${evidence}</div></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(coverage.source_ids)}</div>${questionCards([coverage.id])}</div><button class=\"process-route-button\" type=\"button\" data-open-ecosystem=\"${esc(ecosystem.id)}\">Open ${esc(ecosystem.label)} structure</button></div>`;detail.querySelector('[data-open-ecosystem]')?.addEventListener('click',event=>{state.ecosystem=event.currentTarget.dataset.openEcosystem;state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;ecosystemSelect.value=state.ecosystem;setMode('explore')})}\n/* Pass records filtered by ecosystem/search/clock, BEFORE exact-stage filtering.\n   Counts describe distinct sourced role records, never transaction volume. */\nfunction renderFlowSpine(process, visibleRecords, targetElement, unfilteredRecords = visibleRecords) {\n  if (!targetElement) return;\n  const previousFocus = targetElement.contains(document.activeElement)\n    ? document.activeElement.dataset.flowStage : null;\n  targetElement.replaceChildren();\n  if (!process || !Array.isArray(process.stages)) return;\n  const stages = process.stages;\n  const records = [...new Map((visibleRecords || []).map(record => [record.id, record])).values()];\n  const selected = stages.some(stage => stage.id === state.processStage) ? state.processStage : 'all';\n  const heading = document.createElement('div');\n  heading.className = 'flow-spine-heading';\n  const title = document.createElement('strong');\n  title.textContent = 'Follow the process';\n  const overview = document.createElement('span');\n  overview.className = 'flow-spine-overview';\n  overview.textContent = `${stages.length} steps · ${records.length} sourced role${records.length === 1 ? '' : 's'} · ${new Set(records.map(record => record.ecosystem_id)).size} ecosystems in view`;\n  heading.append(title, overview);\n  const note = document.createElement('p');\n  note.className = 'flow-spine-note';\n  note.textContent = 'Arrows show an analytical sequence, not a verified transaction route or money movement. A gap means no evidence mapped in this view, not an absent capability.';\n  const scroller = document.createElement('nav');\n  scroller.className = 'flow-spine-scroll';\n  scroller.setAttribute('aria-label', `${process.label} process steps`);\n  const row = document.createElement('div');\n  row.className = 'flow-spine-row';\n  const buttons = [];\n  function makeButton(id, label, count, index) {\n    const button = document.createElement('button');\n    button.type = 'button';\n    button.className = 'flow-spine-step' + (id === 'all' ? ' flow-spine-all' : '') + (count === 0 ? ' flow-spine-gap' : '');\n    button.dataset.flowStage = id;\n    button.setAttribute('aria-pressed', String(selected === id));\n    const number = document.createElement('span');\n    number.className = 'flow-spine-number';\n    number.textContent = index === null ? 'All' : String(index + 1).padStart(2, '0');\n    number.setAttribute('aria-hidden', 'true');\n    const text = document.createElement('span');\n    text.className = 'flow-spine-label';\n    text.textContent = label;\n    const metric = document.createElement('span');\n    metric.className = 'flow-spine-count';\n    const hiddenByFilters = !count && unfilteredRecords.some(c=>id==='all'||c.stage_ids.includes(id));\n    metric.textContent = count ? `${count} sourced role${count === 1 ? '' : 's'}` : hiddenByFilters ? 'Hidden by filters' : 'No mapped evidence';\n    button.setAttribute('aria-label', `${index === null ? '' : `Step ${index + 1}: `}${label}. ${count ? `${count} distinct sourced role records in this view.` : hiddenByFilters ? 'Mapped evidence is hidden by current filters.' : 'No mapped evidence in this view; not proof of an absent capability.'}`);\n    button.append(number, text, metric);\n    button.addEventListener('click', () => {\n      state.processStage = id;\n      state.selectedCoverage = null;\n      render();\n    });\n    button.addEventListener('keydown', event => {\n      let next;\n      const current = buttons.indexOf(button);\n      if (event.key === 'ArrowRight') next = Math.min(current + 1, buttons.length - 1);\n      else if (event.key === 'ArrowLeft') next = Math.max(current - 1, 0);\n      else if (event.key === 'Home') next = 0;\n      else if (event.key === 'End') next = buttons.length - 1;\n      else return;\n      event.preventDefault();\n      buttons[next].focus();\n      buttons[next].scrollIntoView({block: 'nearest', inline: 'nearest'});\n    });\n    buttons.push(button);\n    return button;\n  }\n  row.append(makeButton('all', 'All steps', records.length, null));\n  stages.forEach((stage, index) => {\n    if (index > 0) {\n      const arrow = document.createElement('span');\n      arrow.className = 'flow-spine-arrow';\n      arrow.setAttribute('aria-hidden', 'true');\n      arrow.textContent = '→';\n      row.append(arrow);\n    }\n    const stageCount = records.filter(record => (record.stage_ids || []).includes(stage.id)).length;\n    row.append(makeButton(stage.id, stage.label, stageCount, index));\n  });\n  scroller.append(row);\n  targetElement.classList.add('flow-spine');\n  targetElement.append(heading, note, scroller);\n  if (previousFocus) {\n    const restore = buttons.find(button => button.dataset.flowStage === previousFocus);\n    if (restore) {\n      restore.focus({preventScroll: true});\n      restore.scrollIntoView({block: 'nearest', inline: 'nearest'});\n    }\n  }\n}\n\nfunction renderFlowControls(process,baseRecords){\n const box=document.getElementById('flowControls');const available=process.ecosystem_ids.map(id=>ecosystemsById.get(id));\n const nodeIds=new Set(baseRecords.flatMap(c=>c.node_ids));\n if(state.followNode!=='all'&&!nodeIds.has(state.followNode))state.followNode='all';\n box.innerHTML=`${state.mode==='compare'?`<details class=\"comparison-picker\" open><summary>Systems to compare · choose explicitly</summary><div class=\"comparison-options\">${available.map(e=>`<label><input type=\"checkbox\" data-compare-eco=\"${e.id}\" ${state.compareEcosystems.has(e.id)?'checked':''}> ${esc(e.label)}</label>`).join('')}</div></details>`:''}<label class=\"follow-object\">Follow a technology or object <select class=\"control\" id=\"followObject\"><option value=\"all\">All objects in this view</option>${[...nodeIds].map(id=>nodesById.get(id)).sort((a,b)=>a.label.localeCompare(b.label)).map(n=>`<option value=\"${n.id}\">${esc(n.short_label||n.label)}</option>`).join('')}</select></label><p class=\"flow-context\">${state.mode==='trace'?'Curated evidence for this trace; unmapped steps remain visible.':state.mode==='compare'?'Only checked ecosystems appear. Shared objects do not add other systems.':'All mapped ecosystems follow the same stage order. Use Compare to choose a smaller set.'} Following an object shows its sourced roles, not every role in its ecosystem.</p>`;\n const follow=document.getElementById('followObject');follow.value=state.followNode;follow.addEventListener('change',e=>{state.followNode=e.target.value;state.selectedCoverage=null;render()});\n box.querySelectorAll('[data-compare-eco]').forEach(e=>e.addEventListener('change',()=>{e.checked?state.compareEcosystems.add(e.dataset.compareEco):state.compareEcosystems.delete(e.dataset.compareEco);state.selectedCoverage=null;render()}));\n}\nfunction renderProcess(){\n const process=processesById.get(state.process),trace=state.mode==='trace'?tracesById.get(state.trace):null;processSelect.innerHTML=data.process_maps.filter(p=>!trace||trace.process_ids.includes(p.id)).map(p=>`<option value=\"${p.id}\">${esc(p.label)}</option>`).join('');\n if(!process.stages.some(s=>s.id===state.processStage))state.processStage='all';\n processStageSelect.innerHTML='<option value=\"all\">All stages</option>'+process.stages.map(s=>`<option value=\"${s.id}\">${esc(s.label)}</option>`).join('');processStageSelect.value=state.processStage;\n const stages=state.processStage==='all'?process.stages:process.stages.filter(s=>s.id===state.processStage);\n const traceIds=trace?new Set(trace.coverage_ids||[]):null;\n const base=process.coverage.filter(c=>(!traceIds||traceIds.has(c.id))&&(state.mode!=='compare'||state.compareEcosystems.has(c.ecosystem_id)));\n renderFlowControls(process,base);\n const filtered=base.filter(c=>clockMatch(c)&&(state.followNode==='all'||c.node_ids.includes(state.followNode))&&searchMatchCoverage(c,process,process.stages.find(s=>s.id===c.stage_ids[0]),ecosystemsById.get(c.ecosystem_id)));\n renderFlowSpine(process,filtered,document.getElementById('flowSpine'),base);\n state.flowScope={label:`${process.label} · ${state.mode==='trace'?trace.label:state.mode==='compare'?'selected systems':'all mapped systems'} · ${state.processStage==='all'?'all stages':stages[0].label}${state.followNode==='all'?'':' · '+nodesById.get(state.followNode).label}`,ids:base.filter(c=>(state.followNode==='all'||c.node_ids.includes(state.followNode))&&stages.some(s=>c.stage_ids.includes(s.id))).map(c=>c.id)};\n const visible=filtered.filter(c=>stages.some(s=>c.stage_ids.includes(s.id)));\n renderEvidenceFlow(trace,visible);\n let ecoIds=state.mode==='trace'?[...new Set(base.map(c=>c.ecosystem_id))]:state.mode==='compare'?process.ecosystem_ids.filter(id=>state.compareEcosystems.has(id)):process.ecosystem_ids;\n const ecosystems=ecoIds.map(id=>ecosystemsById.get(id)).sort((a,b)=>(a.id===state.ecosystem?-1:b.id===state.ecosystem?1:0));\n processGrid.replaceChildren();processGrid.style.minWidth=stages.length===1?'0':(190+stages.length*210)+'px';processGrid.style.gridTemplateColumns=`190px repeat(${stages.length},minmax(210px,1fr))`;\n const corner=document.createElement('div');corner.className='process-head';corner.textContent='System / sourced role';processGrid.appendChild(corner);\n for(const stage of stages){const h=document.createElement('div');h.className='process-head';h.textContent=`${process.stages.indexOf(stage)+1}. ${stage.label}`;h.title=stage.question;processGrid.appendChild(h)}\n for(const eco of ecosystems){const label=document.createElement('div');label.className='process-label';const open=document.createElement('button');open.textContent=eco.label;open.setAttribute('aria-label',`Open ${eco.label} structure`);open.addEventListener('click',()=>{state.ecosystem=eco.id;state.focusedNode=eco.root_node_id;setMode('explore')});label.appendChild(open);processGrid.appendChild(label);\n  for(const stage of stages){const cell=document.createElement('div');cell.className='process-cell';const rows=visible.filter(c=>c.ecosystem_id===eco.id&&c.stage_ids.includes(stage.id));\n   if(!rows.length){const gap=document.createElement('div');gap.className='process-empty';gap.textContent=base.some(c=>c.ecosystem_id===eco.id&&c.stage_ids.includes(stage.id))?'Hidden by filters':'No mapped role';cell.appendChild(gap)}\n   for(const c of rows){const role=processRolesById.get(c.role),clock=clocksById.get(c.operational_state),button=document.createElement('button');button.className='process-entry';button.dataset.coverage=c.id;button.style.setProperty('--role-color',role.color);button.style.setProperty('--clock-color',clock.color);button.setAttribute('aria-pressed',String(state.selectedCoverage===c.id));button.setAttribute('aria-label',`${eco.label}, ${stage.label}: ${role.label}. ${c.summary}`);button.innerHTML=`<b>${esc(role.label)}</b><small>${esc(c.node_ids.map(id=>nodesById.get(id).short_label||nodesById.get(id).label).join(' · '))}</small><span>${esc(clock.label)}</span>`;button.addEventListener('click',()=>{state.selectedCoverage=c.id;renderProcessDetail(process,c);processGrid.querySelectorAll('.process-entry').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.coverage===c.id)))});cell.appendChild(button);\n    const research=document.createElement('details');research.className='process-card-research';research.innerHTML=`<summary>Research · ${c.source_ids.length} source${c.source_ids.length===1?'':'s'}</summary><p>${esc(c.summary)}</p><p class=\"accounting-gap\"><b>Evidence limit:</b> ${esc(c.boundary)}</p><p><b>Scale:</b> ${esc(scaleStatesById.get(c.scale_state).label)}<br><b>Stress:</b> ${esc(stressStatesById.get(c.stress_state).label)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}`;cell.appendChild(research);\n   }processGrid.appendChild(cell)\n  }\n }\n if(!visible.length){const gap=document.createElement('p');gap.className='empty-note';gap.style.gridColumn='1 / -1';gap.textContent=base.length?'No role is visible at this step under the current filters. Empty steps do not establish absence of a capability.':'No systems or trace roles are selected. Choose systems to compare; no relationship is inferred automatically.';processGrid.appendChild(gap)}\n const selected=visible.find(c=>c.id===state.selectedCoverage)||null;\n setText('mapTitle',trace?trace.label+' · process trace':state.mode==='compare'?process.label+' · selected-system comparison':process.label+' · process flow');setText('mapHelp',trace?trace.description:process.description);setText('mapCount',`${ecosystems.length} systems · ${visible.length} visible roles`);setText('lensNote',`${state.processStage==='all'?'Whole lifecycle':stages[0].label} · ${process.boundary}`);processSelect.value=process.id;traceSelect.value=state.trace;clockSelect.value=state.clock;document.getElementById('selectionRow').hidden=true;\n renderProcessDetail(process,selected);\n if(!selected&&trace){detail.innerHTML=`<div class=\"detail-top\"><h2>${esc(trace.label)}</h2><span class=\"status\">Curated evidence path</span></div><div class=\"detail-body\"><p>${esc(trace.description)}</p><div class=\"stack-path\">${trace.walkthrough.map((s,i)=>`<div class=\"stack-step\">${esc(s)}<br><b>${esc(trace.mapping_steps?.[i]?.status||'unmapped')}</b><br>${esc(trace.mapping_steps?.[i]?.boundary||'Stage role mapped; see source scope and disclosure limits.')}</div>`).join('')}</div><p class=\"accounting-gap\">${esc(trace.boundary)}</p><p>${esc(trace.mapping_note||'Only cited stage roles are shown; gaps remain visible.')}</p><details class=\"process-card-research\"><summary>Documented relationships for this trace</summary>${relationshipList(trace.edge_ids.map(id=>data.edges.find(e=>e.id===id)).filter(Boolean),null)}</details></div>`;bindRelationshipButtons()}\n if(!selected&&state.mode==='compare'){const ids=new Set(base.flatMap(c=>c.node_ids));const links=data.edges.filter(e=>ids.has(e.from)&&ids.has(e.to));detail.innerHTML=`<div class=\"detail-top\"><h2>Comparison scope</h2></div><div class=\"detail-body\"><p>${esc(ecosystems.map(e=>e.label).join(' · ')||'Choose systems above.')}</p><p>Columns align functions; matching columns do not prove integration, equal authority or substitutability.</p><details class=\"process-card-research\"><summary>Documented relationships among shown objects</summary>${relationshipList(links,null)}</details></div>`;bindRelationshipButtons()}\n}\n\nfunction renderAccounting(){\n const panel=document.getElementById('accountingPanel'),layer=data.accounting_layers.find(x=>x.id===state.accountingLayer);\n setText('mapTitle','Accounting · follow the claim and the money');setText('mapHelp','Accounting layers group related functions. Use See process role and the exact-stage selector to compare the same lifecycle step across ecosystems.');setText('lensNote','Direct SWIFT evidence and comparisons are separate. Other ecosystems keep their original evidence dates.');\n const rows=[];\n for(const process of data.process_maps)for(const coverage of process.coverage){if(state.accountingUseFlow&&state.flowScope&&!state.flowScope.ids.includes(coverage.id))continue;const stages=process.stages.filter(x=>coverage.stage_ids.includes(x.id)&&x.families.some(f=>layer.families.includes(f)));if(!stages.length)continue;const eco=ecosystemsById.get(coverage.ecosystem_id),direct=eco.id==='swift-ledger';if(state.accountingScope==='direct'&&!direct||state.accountingScope==='comparison'&&direct)continue;if(state.accountingEcosystem!=='all'&&state.accountingEcosystem!==eco.id)continue;if(state.clock!=='all'&&coverage.operational_state!==state.clock)continue;const hay=[eco.label,coverage.summary,coverage.boundary,...coverage.node_ids.map(id=>nodesById.get(id).label)].join(' ').toLowerCase();if(state.query&&!hay.includes(state.query))continue;rows.push({process,coverage,stages,eco,direct})}\n rows.sort((a,b)=>Number(b.direct)-Number(a.direct)||a.eco.label.localeCompare(b.eco.label));setText('mapCount',`${rows.length} sourced roles`);\n const money=new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(state.accountingAmount);\n panel.innerHTML=`<div class=\"accounting-tabs\" role=\"group\" aria-label=\"Accounting layers\">${data.accounting_layers.map(x=>`<button type=\"button\" data-accounting-layer=\"${x.id}\" aria-pressed=\"${x.id===layer.id}\">${esc(x.label)}</button>`).join('')}</div><div class=\"accounting-intro\"><h2>${esc(layer.question)}</h2><p>${esc(layer.explanation)}</p><p class=\"accounting-gap\"><b>SWIFT and coins:</b> the documented implementation uses Besu / EVM software and bank deposit commitments. These sources do not establish an ETH, XRP, LINK, QNT, USDC or RLUSD requirement. A comparable function elsewhere is not a SWIFT-ledger integration. Ripple Treasury’s separate messaging connection does not establish XRPL settlement.</p></div>\n <div class=\"accounting-filters\">${state.flowScope?`<label><input type=\"checkbox\" id=\"accountingUseFlow\" ${state.accountingUseFlow?'checked':''}> Use last process selection<br><small>${esc(state.flowScope.label)}</small></label>`:''}<label>Relationship to SWIFT<select class=\"control\" id=\"accountingScope\"><option value=\"all\">Direct evidence + comparisons</option><option value=\"direct\">Direct SWIFT evidence</option><option value=\"comparison\">Other systems · compare roles</option></select></label><label>System / ecosystem<select class=\"control\" id=\"accountingEcosystem\"><option value=\"all\">All mapped systems</option>${data.ecosystems.map(x=>`<option value=\"${x.id}\">${esc(x.label)}</option>`).join('')}</select></label></div>\n <details class=\"accounting-example\"><summary><b>Walk the Saturday payment · illustrative journal entries</b></summary><p>This teaching example assumes immediate customer booking, a direct interbank claim and later correspondent settlement. It is not a disclosed SWIFT booking policy.</p><label>Payment amount (USD) <input class=\"control\" id=\"accountingAmount\" type=\"number\" min=\"1\" max=\"1000000000000\" step=\"1\" value=\"${state.accountingAmount}\"></label><table><thead><tr><th>Stage</th><th>Bank A</th><th>Bank B</th></tr></thead><tbody><tr><td>Customer payment booked</td><td>Dr customer deposit liability <span class=\"journal-amount\">${money}</span><br>Cr payable to Bank B <span class=\"journal-amount\">${money}</span></td><td>Dr receivable from Bank A <span class=\"journal-amount\">${money}</span><br>Cr supplier deposit liability <span class=\"journal-amount\">${money}</span></td></tr><tr><td>External settlement</td><td>Dr payable to Bank B <span class=\"journal-amount\">${money}</span><br>Cr correspondent asset <span class=\"journal-amount\">${money}</span></td><td>Dr correspondent asset <span class=\"journal-amount\">${money}</span><br>Cr receivable from Bank A <span class=\"journal-amount\">${money}</span></td></tr></tbody></table><p>If Bank B has credited spendable money and settlement fails, identify the contract and balance sheet carrying that exposure. Shared ledger entries are not automatically additional assets.</p></details>\n <details class=\"evidence-review\"><summary>Funding, legal effect &amp; risk for this selection</summary>${questionCards(rows.map(r=>r.coverage.id))||'<p>No additional research questions mapped to this selection.</p>'}</details><div class=\"accounting-grid\">${rows.map(({process,coverage:c,stages,eco,direct})=>`<article class=\"accounting-card ${direct?'direct':'comparison'}\"><span class=\"accounting-tag\">${direct?'Direct SWIFT evidence':'Comparable role · no SWIFT link implied'}</span><h3>${esc(eco.label)}</h3><p><b>${esc(processRolesById.get(c.role).label)}</b> · ${esc(process.label)}<br>${esc(stages.map(x=>x.label).join(' / '))}</p><p>${esc(c.summary)}</p><p><b>Objects:</b> ${esc(c.node_ids.map(id=>nodesById.get(id).short_label||nodesById.get(id).label).join(' · '))}</p><p>${clockBadge(c.operational_state)} · ${esc(scaleStatesById.get(c.scale_state).label)}<br><b>Stress:</b> ${esc(stressStatesById.get(c.stress_state).label)}</p><p class=\"accounting-gap\">${esc(c.boundary)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}<div class=\"accounting-nav\"><button class=\"accounting-open\" data-accounting-open=\"${eco.id}\">Open ecosystem</button><button class=\"accounting-open\" data-accounting-process=\"${process.id}\" data-coverage=\"${c.id}\" data-stage=\"${stages[0].id}\" data-ecosystem=\"${eco.id}\">See process role</button></div></article>`).join('')||'<p class=\"accounting-gap\">No roles match this accounting layer and scope. Choose another layer, turn off Use last process selection, or clear the system, Find and clock filters. An empty view does not establish an absent capability.</p>'}</div>`;\n document.getElementById('accountingUseFlow')?.addEventListener('change',e=>{state.accountingUseFlow=e.target.checked;render()});\n panel.querySelectorAll('[data-accounting-layer]').forEach(b=>b.addEventListener('click',()=>{state.accountingLayer=b.dataset.accountingLayer;render()}));\n for(const [id,key] of [['accountingScope','accountingScope'],['accountingEcosystem','accountingEcosystem']]){const e=document.getElementById(id);e.value=state[key];e.addEventListener('change',()=>{state[key]=e.value;render()})}\n panel.querySelectorAll('[data-accounting-open]').forEach(b=>b.addEventListener('click',()=>{state.ecosystem=b.dataset.accountingOpen;state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;setMode('explore')}));\n panel.querySelectorAll('[data-accounting-process]').forEach(b=>b.addEventListener('click',()=>{state.followNode='all';state.process=b.dataset.accountingProcess;state.processStage=b.dataset.stage;state.ecosystem=b.dataset.ecosystem;setMode('process');state.selectedCoverage=b.dataset.coverage;render()}));\n document.getElementById('accountingAmount').addEventListener('input',e=>{const n=Number(e.target.value);if(!Number.isFinite(n)||n<1||n>1e12)return;state.accountingAmount=Math.round(n);const formatted=new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(state.accountingAmount);panel.querySelectorAll('.journal-amount').forEach(el=>el.textContent=formatted)});\n}\n\nfunction render(){if(state.mode==='accounting'){renderAccounting();return}if(['process','trace','compare'].includes(state.mode)){renderProcess();return}const edges=visibleEdges(),nodes=visibleNodes(edges),visibleIds=new Set(nodes.map(node=>node.id)),positions=layout(nodes);state.visibleEdges=edges;if(state.selectedEdge&&!edges.some(edge=>edge.id===state.selectedEdge))state.selectedEdge=null;for(const node of data.nodes){const element=nodeEls.get(node.id),position=positions.get(node.id);element.classList.toggle('hidden',!position);if(position){element.style.left=position.x+'px';element.style.top=position.y+'px'}}for(const edge of data.edges){const element=edgeEls.get(edge.id),show=edges.includes(edge)&&visibleIds.has(edge.from)&&visibleIds.has(edge.to);element.g.style.display=show?'':'none';if(show){const path=pathFor(positions.get(edge.from),positions.get(edge.to),edge);element.path.setAttribute('d',path);element.hit.setAttribute('d',path)}}const ecosystem=ecosystemsById.get(state.ecosystem),trace=tracesById.get(state.trace),viewLabel=state.mode==='trace'?'Governed asset path':viewSelect.options[viewSelect.selectedIndex].text,clockLabel=state.clock==='all'?'all operational states':clocksById.get(state.clock).label;setText('mapTitle',state.mode==='full'?'Full relationship field':state.mode==='compare'?'Comparison field':state.mode==='trace'?trace.label:ecosystem.label+' stack');setText('mapHelp',currentStackIds.has(state.ecosystem)?ecosystem.description+(state.stackOverlay?' Crypto overlap is on: dashed nodes attach to these rails without inheriting them.':' Overlay off: this is today’s machine only.'):state.mode==='explore'?'Structural classification: organizations, products, networks and market rails. Use Process to compare the sequence of work. '+ecosystem.description:state.mode==='compare'?'Choose another ecosystem, then select objects to compare direct links and shared control surfaces.':state.mode==='trace'?trace.description:'Click an ecosystem root such as Ripple to open its governed end-to-end stack.');setText('mapCount',`${nodes.length} nodes · ${edges.length} relationships`);setText('lensNote',`${viewLabel} · ${clockLabel} · ${state.mode==='trace'?trace.boundary:state.mode==='full'?'all governed objects':ecosystem.boundary}`);ecosystemSelect.value=state.ecosystem;if(currentStackIds.has(state.ecosystem))stackSelect.value=state.ecosystem;traceSelect.value=state.trace;clockSelect.value=state.clock;updateSelectionBar();applyHighlight();renderDetail(edges)}\nfunction updateSelectionBar(){const row=document.getElementById('selectionRow'),summary=document.getElementById('selectionSummary'),selected=[...state.selectedNodes].map(id=>nodesById.get(id)).filter(Boolean);row.hidden=state.mode!=='compare'||!selected.length;summary.innerHTML=selected.map(node=>`<span class=\"selection-chip\">${esc(node.short_label||node.label)}</span>`).join('')}\nfunction applyHighlight(){const focusIds=state.hover?new Set([state.hover]):state.mode==='compare'?new Set(state.selectedNodes):new Set(state.focusedNode?[state.focusedNode]:[]),activeEdges=new Set();for(const edge of state.visibleEdges)if(focusIds.has(edge.from)||focusIds.has(edge.to))activeEdges.add(edge.id);const activeNodes=new Set(focusIds);for(const edge of state.visibleEdges)if(activeEdges.has(edge.id)){activeNodes.add(edge.from);activeNodes.add(edge.to)}const hasFocus=focusIds.size>0;for(const [id,element] of nodeEls){const selected=state.mode==='compare'?state.selectedNodes.has(id):state.focusedNode===id;element.classList.toggle('selected',selected);element.setAttribute('aria-pressed',String(selected));element.classList.toggle('dim',hasFocus&&!activeNodes.has(id))}for(const [id,element] of edgeEls){element.path.classList.toggle('hot',activeEdges.has(id)||state.selectedEdge===id);element.path.classList.toggle('dim',hasFocus&&!activeEdges.has(id))}}\n\nconst bankResearchState={bank:'all',result:'all'};\nfunction bankResearchLink(node){return data.bank_research.banks.some(bank=>bank.node_id===node.id)?`<button class=\"process-route-button\" type=\"button\" data-bank-research-id=\"${esc(node.id)}\">SWIFT bank research &amp; tests</button>`:''}\nfunction bankResearchSources(ids){return sourceLinks(ids.filter(id=>id!==data.bank_research.report_source_id))}\nfunction renderBankResearch(){\n const research=data.bank_research,bankName=id=>nodesById.get(id).short_label||nodesById.get(id).label;\n const banks=research.banks.filter(bank=>(bankResearchState.bank==='all'||bank.node_id===bankResearchState.bank)&&(bankResearchState.result==='all'||bank.result===bankResearchState.result));\n const visibleBankIds=new Set(banks.map(bank=>bank.node_id));const cases=research.cases.filter(item=>item.bank_ids.some(id=>visibleBankIds.has(id)));\n setText('bankResearchOverview',`${research.banks.length} roster banks · ${research.cases.length} sourced transaction cases · cutoff ${research.cutoff}`);\n document.getElementById('bankResearchBody').innerHTML=`<p class=\"bank-research-intro\">Compare documented SWIFT-ledger transactions with each bank's adjacent projects. A roster place is participation evidence; a separate chain, stablecoin or custody relationship does not establish its use on SWIFT's ledger. These research filters are independent of the map's Find and Operational clock controls.</p><div class=\"bank-research-filters\"><label>Bank<select class=\"control\" id=\"bankResearchSelect\"><option value=\"all\">All ${research.banks.length} roster banks</option>${research.banks.map(bank=>`<option value=\"${esc(bank.node_id)}\">${esc(bankName(bank.node_id))}</option>`).join('')}</select></label><label>Direct ledger evidence<select class=\"control\" id=\"bankResearchResult\"><option value=\"all\">All evidence states</option><option value=\"completed\">Completed transaction reported</option><option value=\"roster\">Roster · no transaction receipt found</option></select></label></div><p class=\"bank-research-count\" aria-live=\"polite\">${banks.length} banks · ${cases.length} matching transaction cases. Case counts are disclosures, not transaction volume.</p><h3 class=\"bank-research-section-title\">Direct SWIFT-ledger cases</h3><div class=\"bank-research-grid\">${cases.map(item=>`<details class=\"bank-research-card\"><summary>${esc(item.label)}<small>Published ${esc(item.publication_date)} · Executed ${esc(item.execution_date||'not disclosed')}</small></summary><div class=\"bank-research-card-body\"><p><b>Banks:</b> ${esc(item.bank_ids.map(bankName).join(' · '))}</p><p>${esc(item.summary)}</p><p class=\"accounting-gap\"><b>Evidence limit:</b> ${esc(item.boundary)}</p><div class=\"source-list\">${bankResearchSources(item.source_ids)}</div><div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-trace=\"${esc(item.trace_id)}\">Open transaction trace</button></div></div></details>`).join('')||'<p class=\"bank-research-intro\">No completed transaction receipt is mapped for this selection. That is a research gap, not proof that no transaction occurred.</p>'}</div><h3 class=\"bank-research-section-title\">Bank research &amp; adjacent projects</h3><div class=\"bank-research-grid\">${banks.map(bank=>{const node=nodesById.get(bank.node_id);return `<details class=\"bank-research-card\" data-bank-card=\"${esc(bank.node_id)}\"><summary>${esc(node.label)}<small><span class=\"bank-status ${bank.result}\">${bank.result==='completed'?'Completed ledger transaction reported':'Roster · no ledger transaction receipt found'}</span></small></summary><div class=\"bank-research-card-body\"><p>${esc(node.summary)}</p><p class=\"accounting-gap\">${esc(node.boundary)}</p><div class=\"source-list\">${bankResearchSources(node.sources)}</div><div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-node=\"${esc(bank.node_id)}\">Open bank structure</button>${(bank.trace_ids||[]).map(id=>`<button class=\"process-route-button\" type=\"button\" data-bank-trace=\"${esc(id)}\">${esc(tracesById.get(id).label)}</button>`).join('')}</div>${(bank.adjacent||[]).map(item=>`<section class=\"bank-adjacent\"><h4>${esc(item.label)}</h4><p><b>Adjacent project · separate from SWIFT-ledger evidence</b><br>${clockBadge(item.operational_state)}</p><p>${esc(item.summary)}</p><div class=\"source-list\">${bankResearchSources(item.source_ids)}</div>${item.node_id?`<div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-node=\"${esc(item.node_id)}\">Open related object</button></div>`:''}</section>`).join('')||'<p class=\"bank-research-intro\">No adjacent project is mapped in this research snapshot.</p>'}</div></details>`}).join('')||'<p class=\"bank-research-intro\">No bank matches both research filters. Choose all evidence states or another bank.</p>'}</div><div class=\"bank-research-report\"><h3 class=\"bank-research-section-title\">Saved bank research</h3><div class=\"source-list\">${sourceLinks([research.report_source_id])}</div></div>`;\n document.getElementById('bankResearchSelect').value=bankResearchState.bank;document.getElementById('bankResearchResult').value=bankResearchState.result;\n}\nfunction openBankResearch(id){\n bankResearchState.bank=id;bankResearchState.result='all';renderBankResearch();const panel=document.getElementById('bankResearch');panel.open=true;\n const card=[...panel.querySelectorAll('[data-bank-card]')].find(el=>el.dataset.bankCard===id);if(card)card.open=true;\n panel.scrollIntoView({block:'start',behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'});document.getElementById('bankResearchSelect').focus({preventScroll:true});\n}\nfunction clearBankRouteFilters(){state.clock='all';state.query='';state.followNode='all';state.selectedCoverage=null;state.selectedEdge=null;document.getElementById('search').value='';state.types=new Set(allTypeIds);syncTypeButtons()}\ndocument.getElementById('bankResearchBody').addEventListener('change',event=>{if(event.target.id==='bankResearchSelect')bankResearchState.bank=event.target.value;else if(event.target.id==='bankResearchResult')bankResearchState.result=event.target.value;else return;const restore=event.target.id;renderBankResearch();document.getElementById(restore).focus({preventScroll:true})});\ndocument.addEventListener('click',event=>{\n const button=event.target.closest('button[data-bank-research-id],button[data-bank-node],button[data-bank-trace]');if(!button)return;\n if(button.dataset.bankResearchId){openBankResearch(button.dataset.bankResearchId);return}\n document.getElementById('bankResearch').open=false;\n clearBankRouteFilters();\n if(button.dataset.bankNode){const id=button.dataset.bankNode,ecosystem=data.ecosystems.find(e=>e.id==='swift-ledger'&&e.node_ids.includes(id))||data.ecosystems.find(e=>e.node_ids.includes(id));state.focusedNode=id;state.view='stack';viewSelect.value='stack';if(ecosystem)state.ecosystem=ecosystem.id;setMode(ecosystem?'explore':'full')}\n else{const trace=tracesById.get(button.dataset.bankTrace);state.trace=trace.id;state.process=trace.process_id;state.processStage='all';setMode('trace')}\n const workspace=document.querySelector('.workspace'),toolbar=document.querySelector('.toolbar');window.scrollTo({top:Math.max(0,workspace.getBoundingClientRect().top+window.scrollY-(toolbar?.getBoundingClientRect().height||0)-20),behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'});\n});\n\nfunction sourceLinks(ids){return ids.map(id=>sourcesById.get(id)).filter(Boolean).map(source=>source.local_text?`<details class=\"local-research\"><summary>${esc(source.label)} · ${esc(source.date)} · saved research</summary><p>${esc(source.boundary||'Workbench research; follow its primary sources.')}</p><pre>${esc(source.local_text)}</pre></details>`:`<a href=\"${esc(source.url)}\" target=\"_blank\" rel=\"noopener\">${esc(source.label)} · ${esc(source.date)}</a>`).join('')}\nfunction evidenceDrawer(ids,boundary='',label='Evidence, sources & boundary'){return `<details class=\"hub-evidence-drawer\"><summary>${esc(label)}</summary>${boundary?`<p class=\"fg-limit\"><b>Boundary:</b> ${esc(boundary)}</p>`:''}<div class=\"source-list\">${sourceLinks([...new Set(ids)])}</div></details>`;}\nfunction clockBadge(id){const clock=clocksById.get(id);return `<span class=\"status clock-badge\" style=\"--clock-color:${clock.color}\">${esc(clock.label)}</span>`}\nfunction relationshipList(edges,focusNode,title){const list=focusNode?edges.filter(edge=>edge.from===focusNode||edge.to===focusNode):edges;return `<div class=\"relationships\"><h3>${esc(title||(focusNode?'Direct relationships':'Visible relationships'))}</h3><div class=\"relationship-list\">${list.map(edge=>{const type=typesById.get(edge.type),a=nodesById.get(edge.from),b=nodesById.get(edge.to);return `<button class=\"relationship\" type=\"button\" data-edge=\"${edge.id}\" style=\"--edge-color:${type.color}\"><i></i><span><b>${esc(a.short_label||a.label)} → ${esc(b.short_label||b.label)}</b><span>${esc(type.label)} · ${esc(edge.label)}</span></span></button>`}).join('')||'<p class=\"empty-note\">No relationships match this view and search.</p>'}</div></div>`}\nfunction sharedSurfaces(edges,selectedIds){const touches=new Map();for(const edge of edges){const from=selectedIds.has(edge.from),to=selectedIds.has(edge.to);if(from===to)continue;const selected=from?edge.from:edge.to,neighbor=from?edge.to:edge.from;if(!touches.has(neighbor))touches.set(neighbor,{selected:new Set(),edges:[]});touches.get(neighbor).selected.add(selected);touches.get(neighbor).edges.push(edge)}return [...touches.entries()].filter(([,value])=>value.selected.size>1).sort((a,b)=>b[1].selected.size-a[1].selected.size)}\nfunction renderComparison(edges){const selected=[...state.selectedNodes].map(id=>nodesById.get(id)).filter(Boolean),selectedIds=new Set(selected.map(node=>node.id)),direct=edges.filter(edge=>selectedIds.has(edge.from)&&selectedIds.has(edge.to)),touching=edges.filter(edge=>selectedIds.has(edge.from)||selectedIds.has(edge.to)),shared=sharedSurfaces(edges,selectedIds),selectedHtml=selected.map(node=>`<div class=\"compare-item\" style=\"--lane-color:${lanesById.get(node.lane).color}\"><b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)} · ${esc(node.summary)}</span></div>`).join(''),sharedHtml=shared.map(([id,value])=>{const node=nodesById.get(id),names=[...value.selected].map(selectedId=>nodesById.get(selectedId).short_label||nodesById.get(selectedId).label).join(' + ');return `<div class=\"shared-item\"><b>${esc(node.short_label||node.label)}</b><span>Shared by ${esc(names)} through ${value.edges.length} visible relationship${value.edges.length===1?'':'s'}.</span></div>`}).join('')||'<p class=\"empty-note\">No shared intermediate surface is visible. That gap can be meaningful: adjacency is not shared legal control.</p>';detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Comparison</div><h2>${selected.length} selected object${selected.length===1?'':'s'}</h2><span class=\"status\">${direct.length} direct · ${shared.length} shared surfaces</span></div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Selected roles</h3><div class=\"compare-list\">${selectedHtml}</div></div><div class=\"detail-block\"><h3>Shared relationship objects</h3><div class=\"shared-list\">${sharedHtml}</div></div><div class=\"detail-block boundary\"><h3>Comparison rule</h3><p>A shared technical or commercial surface is not shared legal control. Proposal overlap is not SEC approval or a final-rule finding.</p></div>${relationshipList(direct.length?direct:touching,null,direct.length?'Direct relationships':'Relationships touching selected objects')}</div>`}\nfunction nodeProcessResearch(node){const rows=[];for(const p of data.process_maps)for(const c of p.coverage)if(c.node_ids.includes(node.id))rows.push({p,c});return `${bankResearchLink(node)}<div class=\"detail-block\"><h3>Researched process roles</h3>${rows.map(({p,c})=>`<details class=\"process-card-research\"><summary>${esc(p.label)} · ${esc(c.stage_ids.map(id=>p.stages.find(s=>s.id===id).label).join(' / '))} · ${esc(ecosystemsById.get(c.ecosystem_id).label)}</summary><p>${esc(c.summary)}</p><p class=\"accounting-gap\">${esc(c.boundary)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}<button class=\"process-route-button\" data-role-process=\"${p.id}\" data-role-stage=\"${c.stage_ids[0]}\" data-role-id=\"${c.id}\" data-role-ecosystem=\"${c.ecosystem_id}\">Compare this step</button></details>`).join('')||'<p>No process role is mapped for this object. Its structural presence alone does not establish a transaction role.</p>'}</div>`}\nfunction renderDetail(edges){if(state.selectedEdge){const edge=data.edges.find(item=>item.id===state.selectedEdge);if(edge){const type=typesById.get(edge.type),a=nodesById.get(edge.from),b=nodesById.get(edge.to);detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\" style=\"color:${type.color}\">${esc(type.label)}</div><h2>${esc(a.short_label||a.label)} → ${esc(b.short_label||b.label)}</h2><span class=\"status\">${esc(edge.status)} · ${esc(edge.date)}</span>${clockBadge(edge.operational_state)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Relationship</h3><p>${esc(edge.label)}</p></div><div class=\"detail-block\"><h3>Verified claim</h3><p>${esc(edge.claim)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(edge.boundary)}</p></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(edge.sources)}</div></div>${relationshipList(edges,null)}</div>`;bindRelationshipButtons();return}}\n  if(state.mode==='compare'){renderComparison(edges);bindRelationshipButtons();return}\n  if(state.mode==='trace'){const trace=tracesById.get(state.trace);detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">${esc(trace.kind)}</div><h2>${esc(trace.label)}</h2><span class=\"status\">governed asset trace</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(trace.description)}</p><div class=\"detail-block\"><h3>Follow the asset</h3><div class=\"stack-path\">${trace.walkthrough.map(step=>`<div class=\"stack-step\">${esc(step)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Finality firewall</h3><p>${esc(trace.boundary)}</p></div>${relationshipList(edges,null,'Trace relationships')}</div>`;bindRelationshipButtons();return}\n  const ecosystem=ecosystemsById.get(state.ecosystem),node=state.focusedNode?nodesById.get(state.focusedNode):null;\n  if(node&&node.id!==ecosystem.root_node_id){const lane=lanesById.get(node.lane);detail.innerHTML=`<div class=\"detail-top\"><div class=\"breadcrumb\">${esc(ecosystem.label)} / ${esc(node.short_label||node.label)}</div><div class=\"detail-kicker\">${esc(lane.label)} · ${esc(node.kind.replaceAll('_',' '))}</div><h2>${esc(node.label)}</h2><span class=\"status\">${esc(node.status)}</span>${clockBadge(node.operational_state)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Role</h3><p>${esc(node.summary)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(node.boundary)}</p></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(node.sources)}</div></div>${nodeProcessResearch(node)}${relationshipList(edges,node.id)}</div>`;bindRelationshipButtons();return}\n  if(state.mode==='full'){detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Full map</div><h2>Click an ecosystem root</h2><span class=\"status\">${data.ecosystems.length} governed stacks</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(data.ecosystems.map(item=>item.label).join(', '))} each open as explicit end-to-end stacks.</p><div class=\"detail-block boundary\"><h3>Global boundary</h3><p>${esc(data.boundary)}</p></div>${relationshipList(edges,null)}</div>`;bindRelationshipButtons();return}\n  detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">${esc(ecosystem.kind)}</div><h2>${esc(ecosystem.label)}</h2><span class=\"status\">structural layers</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(ecosystem.description)}</p><div class=\"detail-block\"><h3>Explore the structure</h3><div class=\"stack-path\">${ecosystem.walkthrough.map(step=>`<div class=\"stack-step\">${esc(step)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Do not collapse the layers</h3><p>${esc(ecosystem.boundary)}</p></div>${nodeProcessResearch(nodesById.get(ecosystem.root_node_id))}<div class=\"detail-block\"><h3>Root sources & saved research</h3><div class=\"source-list\">${sourceLinks(nodesById.get(ecosystem.root_node_id).sources)}</div></div>${processRoutes(ecosystem)}${relationshipList(edges,ecosystem.root_node_id,'Root relationships')}</div>`;bindRelationshipButtons()}\nfunction bindRelationshipButtons(){detail.querySelectorAll('[data-compare-current]').forEach(b=>b.addEventListener('click',()=>{state.compareEcosystems=new Set([b.dataset.compareCurrent]);const p=data.process_maps.find(p=>p.ecosystem_ids.includes(b.dataset.compareCurrent));state.process=p.id;state.processStage='all';setMode('compare')}));detail.querySelectorAll('[data-role-process]').forEach(button=>button.addEventListener('click',()=>{state.followNode='all';state.process=button.dataset.roleProcess;state.processStage=button.dataset.roleStage;state.ecosystem=button.dataset.roleEcosystem;state.selectedCoverage=button.dataset.roleId;setMode('process')}));detail.querySelectorAll('[data-open-process]').forEach(button=>button.addEventListener('click',()=>openEcosystemProcess(button.dataset.openProcess)));detail.querySelectorAll('[data-edge]').forEach(button=>button.addEventListener('click',()=>selectEdge(button.dataset.edge)))}\nfunction selectNode(id){state.selectedEdge=null;const ecosystemId=rootToEcosystem.get(id);if(state.mode==='full'&&ecosystemId){state.ecosystem=ecosystemId;ecosystemSelect.value=ecosystemId;setMode('explore');return}if(state.mode==='explore'&&ecosystemId&&ecosystemId!==state.ecosystem){state.ecosystem=ecosystemId;ecosystemSelect.value=ecosystemId;state.focusedNode=id;render();return}if(state.mode==='compare'){state.selectedNodes.has(id)?state.selectedNodes.delete(id):state.selectedNodes.add(id)}else state.focusedNode=id;render()}\nfunction selectEdge(id){if(['process','trace','compare'].includes(state.mode)){state.selectedEdge=id;renderDetail(state.visibleEdges);return}state.selectedEdge=state.selectedEdge===id?null:id;render();detail.scrollIntoView({block:'nearest',behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'})}\n\nrenderBankResearch();syncTypeButtons();setMode('process');window.addEventListener('resize',render);\n</script>\n</body>\n</html>\n'''\n\n\nLIQUIDITY_SCRIPT = r\"\"\"\nconst liquidity=data.liquidity_hub;\nconst expansion=data.stack_expansion;\nconst transition=data.transition_gates;\nlet liqTab='layers',liqQuery='';\nlet expansionSeat='all',expansionQuery='',expansionSelected='',expansionSelectedSeat='';\nlet transitionView='gate',transitionRequirement='req-08',transitionSystem='',transitionFit='all';\nlet bankSelected='citi',bankDimension='all',bankArchetype='all',bankQuery='',bankCapability='money';\nlet activeRoom='command';\nconst hubRouteTable={command:{job:'command'},home:{job:'command'},systems:{job:'command'},expansion:{job:'systems'},banks:{job:'systems'},corporate:{job:'systems'},securitize:{job:'systems'},overview:{job:'systems'},stack:{job:'systems'},map:{job:'systems'},xray:{job:'how'},walk:{job:'how'},journey:{job:'how'},books:{job:'how'},rights:{job:'how'},rules:{job:'rules'},genius:{job:'rules'},legal:{job:'rules'},routes:{job:'rules'},transition:{job:'rules'},liquidity:{job:'rules'}};\nconst legacyRoomAliases={guide:'systems',transactions:'xray',qualification:'rules'};\nfunction hubJobForRoom(room){\n if(room==='map')return ['process','trace','compare','accounting'].includes(state.mode)?'how':'systems';\n return hubRouteTable[room]?.job||'command';\n}\nfunction hubContextForRoom(room){\n const job=hubJobForRoom(room),labels={command:'Command surface',systems:'Systems',how:'How it works',rules:'Rules & proof'},roomLabels={expansion:'Stack-role comparison',banks:'Major-bank comparison',corporate:'Corporate comparison',securitize:'Securitize anatomy',overview:'Institutional context',stack:'Current stack',map:'Relationship and lifecycle map',xray:'Joined route',walk:'Plain-language route',journey:'Participant journey',rights:'Rights and records',books:'Books and cash',rules:'Rules & proof',genius:'Fed GENIUS proposals',legal:'Legal process',routes:'Who may do this?',transition:'Readiness gates',liquidity:'Liquidity and collateral'};\n const crumbs=[labels[job]];if(roomLabels[room]&&roomLabels[room]!==labels[job])crumbs.push(roomLabels[room]);\n let current={command:'One evidence base · change the lens, not the page',systems:'All 34 tracked systems',how:'Follow one Share, Dollar or Fund route',rules:'Permission, readiness and evidence'}[job];\n if(room==='systems'){const system=systemRecordById(guideSelected);if(system){crumbs.push(system.label);current=system.summary;}}\n if(job==='how')current=`${hubRouteRecord().tab} route · ${roomLabels[room]||'joined evidence'}`;\n return {crumbs,current};\n}\nfunction syncHubContext(){\n const context=hubContextForRoom(activeRoom),breadcrumb=document.getElementById('hubBreadcrumb'),current=document.getElementById('hubCurrent');\n if(breadcrumb)breadcrumb.innerHTML=context.crumbs.map((label,index)=>`${index?'<span aria-hidden=\"true\">›</span>':''}<b>${esc(label)}</b>`).join('');\n if(current)current.textContent=context.current;\n}\nfunction openCryptoRoom(room,updateHash=true){\n if(room==='innovation'){legalTab='innovation';room='legal';}\n room=legacyRoomAliases[room]||room;\n document.body.classList.toggle('qual-reading',room==='legal' && legalTab==='qualifications');\n document.body.classList.toggle('hub-command-room',room==='command');\n if(!hubRouteTable[room])room='command';\n activeRoom=room;\n const onMap=room==='map'||room==='stack';\n document.body.classList.toggle('liquidity-room',!onMap);\n document.body.classList.toggle('hub-home-room',room==='home');\n document.body.classList.toggle('xray-room',room==='xray');\n document.body.classList.toggle('current-stack-room',room==='stack');\n document.body.classList.toggle('walk-room',room==='walk');\n document.getElementById('commandHub').hidden=room!=='command';\n document.getElementById('fedGeniusHub').hidden=room!=='genius';\n document.getElementById('transitionHub').hidden=room!=='transition';\n document.getElementById('fieldGuide').hidden=room!=='systems';\n document.getElementById('stackExpansionHub').hidden=room!=='expansion';\n document.getElementById('bankTransitionHub').hidden=room!=='banks';\n document.getElementById('corporateStackHub').hidden=room!=='corporate';\n document.getElementById('securitizeHub').hidden=room!=='securitize';\n document.getElementById('xrayHub').hidden=room!=='xray';\n document.getElementById('liquidityHub').hidden=room!=='liquidity';\n document.getElementById('legalHub').hidden=room!=='legal';\n document.getElementById('wholeHub').hidden=room!=='overview';\n document.getElementById('rightsHub').hidden=room!=='rights';\n document.getElementById('journeyHub').hidden=room!=='journey';\n document.getElementById('booksHub').hidden=room!=='books';\n document.getElementById('walkHub').hidden=room!=='walk';\n document.getElementById('legalRoutesHub').hidden=room!=='routes';\n document.body.classList.toggle('legal-routes-room',room==='routes');\n document.body.classList.toggle('journey-room',room==='journey');\n document.body.classList.toggle('books-room',room==='books');\n document.getElementById('stackField').hidden=room!=='stack';\n document.getElementById('stackOverlayField').hidden=room!=='stack';\n document.getElementById('ecosystemField').hidden=room==='stack'||state.mode!=='explore';\n const job=hubJobForRoom(room);\n document.querySelectorAll('.hub-chrome-nav [data-hub-job]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.hubJob===job)));\n document.querySelector('.hub-routebar').hidden=job!=='how';\n syncHubRouteBar();\n if(room==='stack'){if(!currentStackIds.has(state.ecosystem)){state.ecosystem='us-equity-now';state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;}state.mode='explore';setMode('explore')}\n else if(room==='map'){if(currentStackIds.has(state.ecosystem)){state.ecosystem='ripple';state.focusedNode=ecosystemsById.get('ripple').root_node_id;}}\n const targetHash=room==='map'?'#map?mode='+state.mode:room==='systems'?'#systems-'+guideSelected:room==='command'?'#command?lens='+commandLens+(['systems','evidence'].includes(commandLens)?'&system='+encodeURIComponent(guideSelected):'')+(['flows','rules'].includes(commandLens)?'&route='+encodeURIComponent(hubRoute):'')+(commandLens==='rules'?'&law='+encodeURIComponent(commandLawFocus):''):'#'+room;\n if(updateHash && location.hash!==targetHash)history.replaceState(null,'',targetHash);\n if(room==='command')renderCommandSurface();else if(room==='genius')renderFedGenius();else if(room==='transition')renderTransition();else if(room==='systems')renderFieldGuide();else if(room==='expansion')renderStackExpansion();else if(room==='banks')renderBankTransition();else if(room==='corporate')renderCorporateStacks();else if(room==='securitize')renderSecuritizeAnatomy();else if(room==='xray')renderXray();else if(room==='walk')renderWalk();else if(room==='routes')renderLegalRoutes();else if(room==='journey')renderJourney();else if(room==='books')renderBooks();else if(room==='rights')renderRights();else if(room==='overview')renderWhole();else if(room==='liquidity')renderLiquidity();else if(room==='legal')renderLegal();else render();\n syncHubContext();\n}\nfunction liqResearch(ids){return `<details><summary>Sources & evidence</summary>${sourceLinks(ids)}</details>`}\nfunction expansionSystemMatches(system){const q=expansionQuery.trim().toLowerCase();return (!q||[system.name,system.kind,system.jurisdiction,system.model,system.summary,system.boundary,system.watch,...system.fits.map(f=>f.note)].join(' ').toLowerCase().includes(q))&&(expansionSeat==='all'||system.fits.some(f=>f.seat_id===expansionSeat));}\nfunction renderExpansionDetail(){\n const target=document.getElementById('sxDetail');if(!target)return;\n const selectedSeat=expansion.seats.find(s=>s.id===expansionSelectedSeat);\n if(selectedSeat){target.innerHTML=`<article class=\"sx-detail\"><span class=\"liq-kicker\">Layer ${String(selectedSeat.order).padStart(2,'0')} · quick definition</span><h3>${esc(selectedSeat.label)}</h3><p>${esc(selectedSeat.question)}</p><div class=\"sx-fit-grid\">${selectedSeat.sublayers.map(s=>`<section class=\"sx-fit\"><h4>${esc(s.label)}</h4><p>${esc(s.meaning)}</p></section>`).join('')}</div><p class=\"sx-boundary\"><b>Proof rule:</b> Each sublayer needs its own named actor, authority and operating receipt. A system touching one sublayer does not inherit the whole seat.</p></article>`;return;}\n const system=expansion.systems.find(s=>s.id===expansionSelected);\n if(!system){target.innerHTML=`<div class=\"sx-detail\"><span class=\"liq-kicker\">Select a system</span><h3>Inspect exactly what it fills</h3><p>Choose any colored system label in the map. The detail card will show its legal model, occupied sublayers, missing proof and primary sources.</p></div>`;return;}\n const seatById=Object.fromEntries(expansion.seats.map(s=>[s.id,s]));\n target.innerHTML=`<article class=\"sx-detail\"><span class=\"liq-kicker\">${esc(system.kind)}</span><h3>${esc(system.name)}</h3><div class=\"sx-tags\"><span>${esc(system.jurisdiction)}</span><span>${esc(system.model)}</span><span>${esc(system.innovation_status.replaceAll('_',' '))}</span></div><section class=\"fg-refresh\"><header><b>Current development · ${esc(system.latest_date)}</b><span class=\"fg-stage\">${esc(guideStageLabel(system.latest_state))}</span></header><p>${esc(system.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(system.latest_boundary)}</p></section><p>${esc(system.summary)}</p><p class=\"sx-boundary\"><b>Architecture boundary:</b> ${esc(system.boundary)}</p><div class=\"sx-fit-grid\">${system.fits.map(f=>{const seat=seatById[f.seat_id],subs=seat.sublayers.filter(s=>f.sublayer_ids.includes(s.id));return `<section class=\"sx-fit\"><small>${esc(f.fit)} · ${esc(seat.label)}</small><h4>${esc(subs.map(s=>s.label).join(' · '))}</h4><p>${esc(f.note)}</p></section>`;}).join('')}</div><p><b>Next operating proof:</b> ${esc(system.watch)}</p>${liqResearch(system.source_ids)}<div class=\"sx-tags\"><button data-room=\"legal\">See it against the SEC order →</button><a href=\"../../Tokenized NMS Stock Innovation Exemption 2026-09-17/outputs/SEC Innovation Exemption Hub.html\">Open the dedicated SEC hub ↗</a></div></article>`;\n}\nfunction renderStackExpansion(){\n const target=document.getElementById('stackExpansionHub'),subCount=expansion.seats.reduce((n,s)=>n+s.sublayers.length,0),visible=expansion.systems.filter(expansionSystemMatches),systemById=Object.fromEntries(expansion.systems.map(s=>[s.id,s]));\n target.innerHTML=`<header class=\"sx-hero\"><span class=\"liq-kicker\">Shared hub owner · evidence cutoff ${esc(expansion.evidence_cutoff)}</span><h2>${esc(expansion.title)}</h2><p>${esc(expansion.subtitle)}</p><p>${esc(expansion.summary)}</p><p class=\"sx-boundary\">${esc(expansion.boundary)}</p></header><div class=\"sx-metrics\"><div class=\"sx-metric\"><strong>${expansion.systems.length}</strong><small>new system families</small></div><div class=\"sx-metric\"><strong>${expansion.seats.length}</strong><small>shared legal + operating seats</small></div><div class=\"sx-metric\"><strong>${subCount}</strong><small>separately provable sublayers</small></div><div class=\"sx-metric\"><strong>${expansion.comparison_models.length}</strong><small>rights and market models</small></div></div><div class=\"sx-legend\"><span style=\"--c:#5ebd91\">documented capability</span><span style=\"--c:#d0a85e\">architectural candidate</span><span style=\"--c:#69a9cf\">supporting layer</span><span style=\"--c:#8b8b95\">outside the U.S. core / comparison</span></div><div class=\"sx-tools\"><input id=\"sxSearch\" type=\"search\" value=\"${esc(expansionQuery)}\" placeholder=\"Find Ondo, custody, CAT, cash settlement…\" aria-label=\"Search expansion systems\"><button data-sx-seat=\"all\" aria-pressed=\"${expansionSeat==='all'}\">All seats</button>${expansion.seats.map(s=>`<button data-sx-seat=\"${esc(s.id)}\" aria-pressed=\"${expansionSeat===s.id}\">${esc(s.label)}</button>`).join('')}</div><p><b>${visible.length} of ${expansion.systems.length}</b> expansion systems visible.</p><div class=\"sx-map\">${expansion.seats.map(seat=>{const occupants=visible.flatMap(system=>system.fits.filter(f=>f.seat_id===seat.id).map(f=>({system,fit:f})));return `<section class=\"sx-row\"><header class=\"sx-seat\"><button class=\"sx-seat-button\" data-sx-seat-info=\"${esc(seat.id)}\" aria-label=\"Explain ${esc(seat.label)}\"><span>${String(seat.order).padStart(2,'0')}</span><h3>${esc(seat.label)}</h3><p>${esc(seat.question)}</p></button><div class=\"sx-sublayers\">${seat.sublayers.map(s=>`<i title=\"${esc(s.meaning)}\">${esc(s.label)}</i>`).join('')}</div></header><div class=\"sx-systems\">${occupants.length?occupants.map(({system,fit})=>`<button class=\"sx-chip ${esc(fit.fit)}\" data-sx-system=\"${esc(system.id)}\" aria-pressed=\"${system.id===expansionSelected}\" title=\"${esc(fit.note)}\">${esc(system.name)}</button>`).join(''):'<span class=\"empty-note\">No visible expansion system mapped here.</span>'}</div></section>`;}).join('')}</div><div id=\"sxDetail\"></div><aside class=\"sx-gap\"><b>Why liquidity stays different</b><p>${esc(expansion.liquidity_gap)}</p></aside><h2>Do not collapse the product models</h2><div class=\"sx-models\">${expansion.comparison_models.map(model=>`<article class=\"sx-model\"><span class=\"liq-kicker\">${model.example_ids.map(id=>esc(systemById[id].name)).join(' · ')}</span><h3>${esc(model.label)}</h3><p>${esc(model.controlling_question)}</p></article>`).join('')}</div>`;\n renderExpansionDetail();\n}\ndocument.addEventListener('click',e=>{const seat=e.target.closest('[data-sx-seat]');if(seat){expansionSeat=seat.dataset.sxSeat;renderStackExpansion();}const seatInfo=e.target.closest('[data-sx-seat-info]');if(seatInfo){expansionSelectedSeat=seatInfo.dataset.sxSeatInfo;expansionSelected='';renderStackExpansion();document.getElementById('sxDetail')?.scrollIntoView({block:'nearest'});}const system=e.target.closest('[data-sx-system]');if(system){expansionSelected=system.dataset.sxSystem;expansionSelectedSeat='';renderStackExpansion();document.getElementById('sxDetail')?.scrollIntoView({block:'nearest'});}});\ndocument.addEventListener('input',e=>{if(e.target.id==='sxSearch'){const cursor=e.target.selectionStart;expansionQuery=e.target.value;renderStackExpansion();requestAnimationFrame(()=>{const input=document.getElementById('sxSearch');if(input){input.focus();input.setSelectionRange(cursor,cursor);}});}});\nfunction transitionSystems(){\n const profiles=data.technology_field_guide.profiles.map(profile=>({id:profile.ecosystem_id,label:profile.plain_name,kind:'Governed Hub profile',summary:profile.what_it_is+' '+profile.observed_state,boundary:profile.does_not_control.join(' · '),room:'guide'}));\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,kind:'Specialist system family',summary:system.summary,boundary:system.boundary,room:'expansion'}));\n return profiles.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction transitionFitState(id){return transition.fit_states.find(state=>state.id===id)}\nfunction transitionSystemById(id){return transitionSystems().find(system=>system.id===id)}\nfunction transitionRequirementById(id){return transition.requirements.find(requirement=>requirement.id===id)}\nfunction transitionRelation(systemId,requirementId){return transitionRequirementById(requirementId)?.fits.find(fit=>fit.system_id===systemId)}\nfunction transitionSystemDetail(system,relation,requirement){\n if(!system||!relation)return '';\n return `<article class=\"tg-system-detail\" aria-live=\"polite\"><span class=\"liq-kicker\">${esc(system.kind)} · ${esc(transitionFitState(relation.fit).label)}</span><h3>${esc(system.label)}</h3><span class=\"tg-maturity\">${esc(relation.maturity)}</span><p><b>Why it applies to Gate ${requirement.number}:</b> ${esc(relation.note)}</p><p class=\"tg-limit\"><b>What it still does not establish:</b> ${esc(system.boundary)}</p><button class=\"tg-return\" data-transition-open-system=\"${esc(system.id)}\">Open its governed Hub evidence →</button></article>`;\n}\nfunction transitionGateInspector(requirement){\n const visibleFits=requirement.fits.filter(fit=>transitionFit==='all'||fit.fit===transitionFit),fitGroups=transition.fit_states.map(state=>({state,rows:visibleFits.filter(fit=>fit.fit===state.id)})).filter(group=>group.rows.length),selectedRelation=transitionSystem?transitionRelation(transitionSystem,requirement.id):null,selectedSystem=selectedRelation?transitionSystemById(transitionSystem):null;\n return `<div class=\"tg-inspector\" id=\"tgInspector\"><article class=\"tg-requirement\"><span class=\"liq-kicker\">Gate ${String(requirement.number).padStart(2,'0')} · ${esc(transition.groups.find(group=>group.id===requirement.group_id).label)}</span><h3>${esc(requirement.label)}</h3><p>${esc(requirement.question)}</p><p class=\"tg-proof\"><b>Qualification receipt:</b> ${esc(requirement.proof)}</p><p class=\"tg-limit\"><b>Boundary:</b> ${esc(requirement.boundary)}</p><h4>Indispensable external joins</h4><div class=\"tg-joins\">${requirement.external_joins.map(join=>`<span>${esc(join)}</span>`).join('')}</div></article><section class=\"tg-fit-board\" aria-label=\"Technologies mapped to this gate\"><h3>Where the current stack applies</h3><div class=\"tg-fit-legend\">${transition.fit_states.map(state=>`<span class=\"tg-fit-${esc(state.id)}\">${esc(state.label)}</span>`).join('')}</div>${fitGroups.length?fitGroups.map(group=>`<section class=\"tg-fit-section\"><h4>${esc(group.state.label)} · ${group.rows.length}</h4><div class=\"tg-fit-cards\">${group.rows.map(fit=>{const system=transitionSystemById(fit.system_id);return `<article class=\"tg-fit-card tg-fit-${esc(fit.fit)}\"><button data-transition-system=\"${esc(fit.system_id)}\" aria-pressed=\"${transitionSystem===fit.system_id}\"><b>${esc(system.label)}</b><small>${esc(fit.maturity)}</small></button></article>`;}).join('')}</div></section>`).join(''):`<div class=\"tg-empty\">No technologies match this fit filter. This does not establish ineligibility.</div>`}</section>${transitionSystemDetail(selectedSystem,selectedRelation,requirement)}</div>`;\n}\nfunction transitionGateView(){\n const selected=transitionRequirementById(transitionRequirement)||transition.requirements[0];\n return `${transition.groups.map(group=>{const rows=transition.requirements.filter(requirement=>requirement.group_id===group.id);return `<section class=\"tg-group\"><header><h3>${esc(group.label)}</h3><p>${esc(group.description)}</p></header><div class=\"tg-gates\">${rows.map(requirement=>`<button class=\"tg-gate\" data-transition-requirement=\"${esc(requirement.id)}\" aria-pressed=\"${requirement.id===selected.id}\"><span>GATE ${String(requirement.number).padStart(2,'0')}</span><b>${esc(requirement.label)}</b><small>${requirement.fits.length} mapped systems</small></button>`).join('')}</div></section>`;}).join('')}${transitionGateInspector(selected)}`;\n}\nfunction transitionSystemView(){\n const systems=transitionSystems();if(!transitionSystem)transitionSystem='ripple';const system=transitionSystemById(transitionSystem)||systems[0],relations=transition.requirements.map(requirement=>({requirement,relation:requirement.fits.find(fit=>fit.system_id===system.id)})).filter(item=>item.relation&&(transitionFit==='all'||item.relation.fit===transitionFit));\n return `<article class=\"tg-system-detail\"><span class=\"liq-kicker\">${esc(system.kind)}</span><h3>${esc(system.label)}</h3><p>${esc(system.summary)}</p><p class=\"tg-limit\"><b>Boundary:</b> ${esc(system.boundary)}</p><button class=\"tg-return\" data-transition-open-system=\"${esc(system.id)}\">Open its governed Hub evidence →</button></article><div class=\"tg-system-grid\">${relations.length?relations.map(({requirement,relation})=>`<article class=\"tg-system-req tg-fit-${esc(relation.fit)}\"><span class=\"liq-kicker\">Gate ${String(requirement.number).padStart(2,'0')} · ${esc(transitionFitState(relation.fit).label)}</span><h4><button data-transition-requirement=\"${esc(requirement.id)}\">${esc(requirement.label)} →</button></h4><span class=\"tg-maturity\">${esc(relation.maturity)}</span><p>${esc(relation.note)}</p></article>`).join(''):`<div class=\"tg-empty\">No mapped requirements match this fit filter. An absent mapping is an evidence gap, not a finding of ineligibility.</div>`}</div>`;\n}\nfunction renderTransition(){\n const target=document.getElementById('transitionHub'),systems=transitionSystems();\n target.innerHTML=`<header class=\"tg-hero\"><span class=\"liq-kicker\">Requirements constitution · evidence through ${esc(transition.evidence_cutoff)}</span><h2>${esc(transition.title)}</h2><p>${esc(transition.subtitle)}</p><p>${esc(transition.summary)}</p><p class=\"tg-boundary\">${esc(transition.boundary)}</p></header><div class=\"tg-metrics\"><div class=\"tg-metric\"><strong>${transition.requirements.length}</strong><small>non-negotiable requirements</small></div><div class=\"tg-metric\"><strong>${data.technology_field_guide.profiles.length}</strong><small>governed Hub profiles</small></div><div class=\"tg-metric\"><strong>${expansion.systems.length}</strong><small>specialist system families</small></div></div><div class=\"tg-path\" aria-label=\"Technology qualification path\">${transition.qualification_path.map((step,index)=>`<article class=\"tg-path-step\"><span>${String(index+1).padStart(2,'0')}</span><b>${esc(step.label)}</b><p>${esc(step.question)}</p></article>`).join('')}</div><div class=\"tg-toolbar\"><button data-transition-view=\"gate\" aria-pressed=\"${transitionView==='gate'}\">Start with a gate</button><button data-transition-view=\"system\" aria-pressed=\"${transitionView==='system'}\">Start with a system</button>${transitionView==='system'?`<label>Technology or system<select id=\"transitionSystemSelect\"><option value=\"\">Choose a system</option>${systems.map(system=>`<option value=\"${esc(system.id)}\" ${system.id===transitionSystem?'selected':''}>${esc(system.label)}</option>`).join('')}</select></label>`:''}<label>Functional fit<select id=\"transitionFitSelect\"><option value=\"all\">All fit states</option>${transition.fit_states.map(state=>`<option value=\"${esc(state.id)}\" ${state.id===transitionFit?'selected':''}>${esc(state.label)}</option>`).join('')}</select></label><a class=\"tg-source\" href=\"${esc(transition.source_path)}\">Read the saved crosswalk ↗</a></div><div id=\"transitionContent\">${transitionView==='gate'?transitionGateView():transitionSystemView()}</div>`;\n}\ndocument.addEventListener('click',event=>{\n const view=event.target.closest('[data-transition-view]');if(view){transitionView=view.dataset.transitionView;transitionSystem=transitionView==='system'?(transitionSystem||'ripple'):'';renderTransition();return;}\n const requirement=event.target.closest('[data-transition-requirement]');if(requirement){transitionRequirement=requirement.dataset.transitionRequirement;transitionView='gate';transitionSystem='';renderTransition();requestAnimationFrame(()=>document.getElementById('tgInspector')?.scrollIntoView({block:'start'}));return;}\n const system=event.target.closest('[data-transition-system]');if(system){transitionSystem=transitionSystem===system.dataset.transitionSystem?'':system.dataset.transitionSystem;renderTransition();requestAnimationFrame(()=>document.querySelector('.tg-system-detail')?.scrollIntoView({block:'nearest'}));return;}\n const open=event.target.closest('[data-transition-open-system]');if(open){guideSelected=open.dataset.transitionOpenSystem;systemsScope='all';guideQuery='';openCryptoRoom('systems');return;}\n});\ndocument.addEventListener('change',event=>{if(event.target.id==='transitionSystemSelect'){transitionSystem=event.target.value;renderTransition();}if(event.target.id==='transitionFitSelect'){transitionFit=event.target.value;renderTransition();}});\nfunction renderLiquidity(){\n document.querySelectorAll('[data-liq-tab]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.liqTab===liqTab)));\n const target=document.getElementById('liqContent');\n if(liqTab==='layers')target.innerHTML=`<p class=\"liq-note\">These constraints operate together. They are not eight consecutive payment steps. Open a card’s sources to see the authority behind it.</p><div class=\"liq-grid\">${liquidity.layers.map((r,i)=>`<article class=\"liq-card\"><span class=\"liq-kicker\">${i+1} / ${esc(r.kind)}</span><h3>${esc(r.title)}</h3><p>${esc(r.summary)}</p><p><b>Ask:</b> ${esc(r.question)}</p><p class=\"liq-caution\">${esc(r.boundary)}</p>${liqResearch(r.source_ids)}</article>`).join('')}</div>`;\n if(liqTab==='routes'){target.innerHTML=`<p class=\"liq-note\">Compare claims, funding providers and exits. These routes have different evidence scopes; this is not a ranking or proof of integration.</p><label class=\"liq-filters\">Find a route <input id=\"liqSearch\" type=\"search\" value=\"${esc(liqQuery)}\" placeholder=\"SWIFT, redemption, collateral…\"></label><div id=\"liqRouteResults\"></div>`;renderLiquidityRoutes();}\n if(liqTab==='flow')target.innerHTML=`<p class=\"liq-note\">Follow each change in rights and funding. Reuse may begin before external settlement when a bank supplies credit; withdrawal, redemption and sale are different exits.</p><div class=\"liq-flow\">${liquidity.stages.map((s,i)=>`<div class=\"liq-step\"><span class=\"liq-kicker\">${i+1}${i<4?' →':''}</span><b>${esc(s.title)}</b><p>${esc(s.question)}</p></div>`).join('')}</div><div class=\"liq-grid\"><article class=\"liq-card\"><h3>Backing</h3><p>What supports the claim? Identify the assets, custodian, restrictions and holder rights.</p></article><article class=\"liq-card\"><h3>Settlement asset</h3><p>What changes hands to discharge this particular obligation?</p></article><article class=\"liq-card\"><h3>Finality</h3><p>When does the relevant transfer become legally unconditional and irrevocable?</p></article></div><p class=\"liq-note\">These three dimensions apply across the lifecycle. Blockchain confirmation does not alone establish invoice discharge or completed bank payout.</p><article class=\"liq-card\"><h3>Record each interval</h3><p>Entity · account · asset and currency · usable amount · reserved amount · credit or collateral · deadline · release condition · failure responsibility.</p><p class=\"liq-caution\">Lower funding at one participant may mean funding moved to another. Compare peak requirements and duration as well as speed.</p>${liqResearch([liquidity.report_source_id])}</article>`;\n}\nfunction renderLiquidityRoutes(){const rows=liquidity.routes.filter(r=>[r.title,r.asset,r.funding,r.exit,r.limit].join(' ').toLowerCase().includes(liqQuery.toLowerCase()));document.getElementById('liqRouteResults').innerHTML=rows.length?`<p>${rows.length} route${rows.length===1?'':'s'}</p><div class=\"liq-table\"><table><thead><tr><th scope=\"col\">Route / evidence</th><th scope=\"col\">Asset</th><th scope=\"col\">Funding</th><th scope=\"col\">Exit</th><th scope=\"col\">Constraint</th></tr></thead><tbody>${rows.map(r=>`<tr><th scope=\"row\">${esc(r.title)}<p class=\"liq-kicker\">${esc(r.kind)}</p>${r.trace_id?`<button class=\"liq-action\" data-liq-trace=\"${esc(r.trace_id)}\">Open existing trace</button>`:''}${liqResearch(r.source_ids)}</th><td>${esc(r.asset)}</td><td>${esc(r.funding)}</td><td>${esc(r.exit)}</td><td>${esc(r.limit)}</td></tr>`).join('')}</tbody></table></div>`:'<p class=\"liq-empty\">No matching route. Try a different asset, system or funding term.</p>';}\ndocument.addEventListener('click',e=>{if(e.target.closest('[data-hub-search]')){commandQuery='';openCryptoRoom('command');requestAnimationFrame(()=>{const input=document.getElementById('commandSearch');input?.focus();input?.scrollIntoView({block:'center'});});return;}const room=e.target.closest('[data-room]');if(room)openCryptoRoom(room.dataset.room);const mapMode=e.target.closest('[data-workspace-map-mode]');if(mapMode){setMode(mapMode.dataset.workspaceMapMode);openCryptoRoom('map');}const tab=e.target.closest('[data-liq-tab]');if(tab){liqTab=tab.dataset.liqTab;renderLiquidity();}const trace=e.target.closest('[data-liq-trace]');if(trace){state.query='';document.getElementById('search').value='';state.clock='all';clockSelect.value='all';setTrace(trace.dataset.liqTrace);setMode('trace');openCryptoRoom('map');}});\ndocument.addEventListener('input',e=>{if(e.target.id==='liqSearch'){liqQuery=e.target.value;renderLiquidityRoutes();}});\ndocument.getElementById('liqReport').innerHTML=sourceLinks([liquidity.report_source_id]);\n\n\n\"\"\"\n\nLEGAL_SCRIPT = r\"\"\"\nconst legal=data.legal_process_hub;\nconst innovation=legal.innovation_exemption_overlay;\nconst fedGenius=data.fed_genius_hub;\nlet fedTab='entities',fedStatus='all',fedGate='all',fedQuery='',fedEntity='issuer';\nfunction fedSourceLinks(ids){return `<details class=\"fgx-source\"><summary>Research &amp; source documents</summary>${sourceLinks(ids)}</details>`;}\nfunction fedEntityType(node){const kind=node.kind.toLowerCase();if(kind.includes('authority')||kind.includes('supervisory'))return 'authority';if(kind.includes('asset'))return 'asset';if(kind.includes('technical'))return 'dependency';if(kind.includes('claim'))return 'claim';return 'entity';}\nfunction renderFedEntityMap(){\n const map=fedGenius.entity_map,nodes=new Map(map.nodes.map(node=>[node.id,node])),selected=nodes.get(fedEntity)||nodes.get('issuer');\n const flows=map.flows.map((flow,index)=>`<div class=\"fgx-entity-flow\"><div class=\"fgx-flow-label\"><span>${String(index+1).padStart(2,'0')}</span><b>${esc(flow.label)}</b></div><div class=\"fgx-entity-sequence\">${flow.node_ids.map((id,nodeIndex)=>{const node=nodes.get(id),link=nodeIndex?`<span class=\"fgx-entity-link\"><span>${esc(flow.relationship_labels[nodeIndex-1])}</span><b aria-hidden=\"true\">→</b></span>`:'';return `${link}<button type=\"button\" class=\"fgx-entity-node ${fedEntityType(node)}\" data-fed-entity=\"${esc(node.id)}\" aria-pressed=\"${selected.id===node.id}\"><b>${esc(node.label)}</b><small>${esc(node.kind)}</small></button>`;}).join('')}</div></div>`).join('');\n const examples=selected.ecosystem_ids.map(id=>ecosystemsById.get(id)?.label).filter(Boolean);\n return `<section><div class=\"fgx-entity-intro\"><h2>${esc(map.title)}</h2><p>${esc(map.summary)}</p><p class=\"fgx-limit\"><b>Reading boundary:</b> ${esc(map.boundary)}</p></div><div class=\"fgx-entity-legend\" aria-label=\"Map legend\"><span class=\"authority\"><i></i>Regulator or supervisor</span><span class=\"entity\"><i></i>Legal entity</span><span class=\"asset\"><i></i>Asset or claim record</span><span class=\"dependency\"><i></i>Technical dependency</span><span class=\"claim\"><i></i>Holder position</span></div><div class=\"fgx-entity-map\" aria-label=\"Proposed stablecoin legal entity relationship map\">${flows}</div><article class=\"fgx-entity-detail\" id=\"fedEntityDetail\" aria-live=\"polite\"><div><span class=\"fgx-entity-kind\">${esc(selected.kind)}</span><h3>${esc(selected.label)}</h3><p>${esc(selected.role)}</p></div><div><p class=\"fgx-entity-proof\"><b>What must be proven</b><br>${esc(selected.proof)}</p><p class=\"fgx-limit\"><b>Do not collapse:</b> ${esc(selected.boundary)}</p><p><b>Attached proposal gates</b></p><div class=\"fgx-entity-gates\">${selected.gate_ids.map(id=>{const gate=fedGenius.gates.find(item=>item.id===id);return `<button type=\"button\" data-fed-entity-gate=\"${esc(id)}\">${esc(gate.title)} →</button>`;}).join('')}</div>${examples.length?`<p class=\"fgx-entity-examples\"><b>Current Hub surfaces touching this seat:</b> ${examples.map(esc).join(' · ')}</p>`:'<p class=\"fgx-entity-examples\">This is a regulatory or supervisory seat rather than a mapped commercial ecosystem.</p>'}</div></article>${fedSourceLinks(fedGenius.source_ids)}</section>`;\n}\nfunction fedEcosystemRows(){\n const q=fedQuery.trim().toLowerCase();\n return fedGenius.overlaps.map(row=>({...row,label:ecosystemsById.get(row.ecosystem_id).label})).filter(row=>(fedStatus==='all'||row.status===fedStatus)&&(fedGate==='all'||row.gate_ids.includes(fedGate))&&(!q||[row.label,row.impact,row.not_changed,row.watch,...row.gate_ids].join(' ').toLowerCase().includes(q)));\n}\nfunction renderFedEcosystems(){\n const rows=fedEcosystemRows();\n return `<div class=\"fgx-tools\"><label>Find a system, control or boundary<input id=\"fedSearch\" type=\"search\" value=\"${esc(fedQuery)}\" placeholder=\"Circle, custody, bridge, redemption…\"></label><label>Interface type<select id=\"fedStatus\"><option value=\"all\">All interface types</option>${fedGenius.status_legend.map(item=>`<option value=\"${esc(item.id)}\" ${fedStatus===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><label>Proposed gate<select id=\"fedGate\"><option value=\"all\">All twelve gates</option>${fedGenius.gates.map(item=>`<option value=\"${esc(item.id)}\" ${fedGate===item.id?'selected':''}>${esc(item.title)}</option>`).join('')}</select></label></div><p><b>${rows.length} of ${fedGenius.overlaps.length}</b> governed ecosystems visible. A mapped interface is not issuer eligibility or approval.</p><div class=\"fgx-ecosystems\">${rows.map(row=>{const status=fedGenius.status_legend.find(item=>item.id===row.status);return `<article class=\"fgx-card fgx-eco ${esc(row.status)}\"><span class=\"fgx-status ${esc(row.status)}\" title=\"${esc(status.meaning)}\">${esc(status.label)}</span><h3>${esc(row.label)}</h3><p>${esc(row.impact)}</p><p class=\"fgx-limit\"><b>Not changed:</b> ${esc(row.not_changed)}</p><details><summary>What to watch</summary><p>${esc(row.watch)}</p><p><b>Attached gates:</b> ${row.gate_ids.map(id=>esc(fedGenius.gates.find(g=>g.id===id).title)).join(' · ')}</p>${fedSourceLinks(row.source_ids)}</details><button class=\"fgx-action\" data-fed-map=\"${esc(row.ecosystem_id)}\">Open this ecosystem in the Crypto map →</button></article>`;}).join('')||'<p class=\"liq-empty\">No ecosystem matches these filters. Clear the search or choose all gates.</p>'}</div>`;\n}\nfunction renderFedGenius(){\n const target=document.getElementById('fedGeniusHub');\n const tabs=[['entities','Entity map'],['layers','Seven layers'],['gates','Twelve gates'],['clocks','Nine clocks'],['ecosystems','Twenty ecosystems'],['questions','277 questions']];\n let content='';\n if(fedTab==='entities')content=renderFedEntityMap();\n if(fedTab==='layers')content=`<section><h2>The proposed organism</h2><p class=\"liq-note\">Read left to right as an institutional dependency chain, not a claim that every duty waits for the prior layer.</p><div class=\"fgx-layer-map\">${fedGenius.layers.map(layer=>`<article class=\"fgx-layer\"><span>${String(layer.order).padStart(2,'0')}</span><h3>${esc(layer.title)}</h3><p><b>${esc(layer.question)}</b></p><p>${esc(layer.summary)}</p><p class=\"fgx-limit\">${esc(layer.boundary)}</p><small>${layer.gate_ids.map(id=>esc(fedGenius.gates.find(g=>g.id===id).title)).join(' · ')}</small></article>`).join('')}</div><div class=\"fgx-capital\"><article><span class=\"liq-kicker\">R-1900 · 60 pages</span><strong>Entry machine</strong><p>Insured-state-member-bank subsidiary application, completeness, decision, conditions, denial and hearing.</p></article><article><span class=\"liq-kicker\">R-1899 · 392 pages</span><strong>Operating constitution</strong><p>Business, reserves, redemption, risk, reports, capital, custody, state enforcement and parent treatment.</p></article><article><span class=\"liq-kicker\">Proposal boundary</span><strong>0 approved stacks</strong><p>The notices propose tests. They do not choose an issuer, chain, custodian, reserve or distribution system.</p></article></div>${fedSourceLinks(fedGenius.source_ids)}</section>`;\n if(fedTab==='gates')content=`<section><h2>Twelve independently provable gates</h2><p class=\"liq-note\">A technology or provider touching one gate does not inherit the others.</p><div class=\"fgx-gates\">${fedGenius.gates.map((gate,index)=>`<article class=\"fgx-card\"><span class=\"liq-kicker\">Gate ${String(index+1).padStart(2,'0')}</span><h3>${esc(gate.title)}</h3><p>${esc(gate.rule)}</p><p><b>Infrastructure effect:</b> ${esc(gate.infrastructure_effect)}</p><p class=\"fgx-clock\"><b>Clock:</b> ${esc(gate.implementation_clock)}</p><p class=\"fgx-limit\"><b>Watch:</b> ${esc(gate.watch)}</p><button class=\"fgx-action\" data-fed-gate-open=\"${esc(gate.id)}\">See affected ecosystems →</button></article>`).join('')}</div></section>`;\n if(fedTab==='clocks')content=`<section><h2>Nine clocks that must not be collapsed</h2><p class=\"liq-note\">Proposal, statutory effectiveness, application review, reserve measurement, redemption, publication, supervisory reporting and examination all run on different anchors.</p><div class=\"fgx-clocks\">${fedGenius.clocks.map(clock=>`<article class=\"fgx-card fgx-clock-card\"><span class=\"liq-kicker\">${esc(clock.label)}</span><strong>${esc(clock.value)}</strong><p>${esc(clock.anchor)}</p><p class=\"fgx-limit\"><b>${esc(clock.state)}</b><br>${esc(clock.meaning)}</p></article>`).join('')}</div></section>`;\n if(fedTab==='ecosystems')content=`<section><h2>Where the proposal touches the governed stack</h2>${renderFedEcosystems()}</section>`;\n if(fedTab==='questions')content=`<section><h2>The open calibration surface</h2><p class=\"liq-note\">The 254 framework questions and 23 application questions identify where the final architecture may still move.</p><div class=\"fgx-questions\">${fedGenius.question_clusters.map(cluster=>`<article class=\"fgx-card fgx-question\"><b>${cluster.count}</b><div><h3>${esc(cluster.label)}</h3><p class=\"liq-kicker\">${esc(cluster.range)}</p><p>${esc(cluster.open_issue)}</p></div></article>`).join('')}</div></section>`;\n target.innerHTML=`<header class=\"fgx-hero\"><span class=\"fgx-proposal\">Two proposals · not final</span><h2>${esc(fedGenius.title)}</h2><p>${esc(fedGenius.subtitle)}</p><p>${esc(fedGenius.summary)}</p><p class=\"fgx-boundary\"><b>Evidence boundary:</b> ${esc(fedGenius.boundary)}</p></header><div class=\"fgx-metrics\"><div class=\"fgx-metric\"><strong>452</strong><small>source PDF pages reviewed</small></div><div class=\"fgx-metric\"><strong>${fedGenius.layers.length}</strong><small>institutional layers</small></div><div class=\"fgx-metric\"><strong>${fedGenius.gates.length}</strong><small>separately provable gates</small></div><div class=\"fgx-metric\"><strong>${fedGenius.question_clusters.reduce((sum,item)=>sum+item.count,0)}</strong><small>numbered questions</small></div></div><nav class=\"fgx-tabs\" aria-label=\"Fed GENIUS hub views\">${tabs.map(([id,label])=>`<button data-fed-tab=\"${id}\" aria-pressed=\"${fedTab===id}\">${label}</button>`).join('')}</nav><div id=\"fedContent\">${content}</div>`;\n}\nlet legalTab='walk',legalStep=0,legalCase='',innovationStatus='all',innovationQuery='';\nfunction legalSources(ids){return `<details><summary>Research & source documents</summary>${sourceLinks(ids)}</details>`;}\nfunction renderInnovationRows(){\n const q=innovationQuery.toLowerCase(),base=innovation.overlaps.map(r=>{const e=ecosystemsById.get(r.ecosystem_id);return {...r,label:e.label,open_id:e.id,adjacent:false};}),adjacent=expansion.systems.map(system=>({status:system.innovation_status,label:system.name,open_id:system.id,adjacent:true,overlap:system.summary,missing:system.boundary,watch:system.watch,source_ids:system.source_ids})),all=base.concat(adjacent),rows=all.filter(r=>innovationStatus==='all'||r.status===innovationStatus).filter(r=>[r.label,r.overlap,r.missing,r.watch].join(' ').toLowerCase().includes(q));\n document.getElementById('innovationResults').innerHTML=`<p class=\"liq-note\"><b>${rows.length} of ${all.length} tracked systems</b> · 20 deep ecosystem profiles plus ${expansion.systems.length} adjacent technology, control and settlement families. Every row remains not selected and not operating under the order.</p><div class=\"ix-grid\">${rows.map(r=>{const s=innovation.status_legend.find(x=>x.id===r.status);return `<article class=\"ix-card ${esc(r.status)}\"><span class=\"ix-status ${esc(r.status)}\">${esc(s.label)}</span><h4>${esc(r.label)}</h4><p>${esc(r.overlap)}</p><p class=\"ix-missing\"><b>Still missing / boundary:</b> ${esc(r.missing)}</p><details><summary>What to watch</summary><p>${esc(r.watch)}</p>${legalSources(r.source_ids)}</details><button class=\"liq-action\" ${r.adjacent?`data-innovation-expansion=\"${esc(r.open_id)}\"`:`data-innovation-map=\"${esc(r.open_id)}\"`}>${r.adjacent?'Open in Stack expansion':'Open this system in the Crypto map'} →</button></article>`;}).join('')}</div>`;\n}\nfunction renderInnovation(){\n document.getElementById('legalContent').innerHTML=`<header class=\"ix-hero\"><span class=\"liq-kicker\">Effective order · evidence cutoff ${esc(innovation.evidence_cutoff)}</span><h3>${esc(innovation.title)}</h3><p>${esc(innovation.subtitle)}</p><p>${esc(innovation.summary)}</p><p class=\"ix-boundary\">${esc(innovation.boundary)}</p></header><h3>The eight gates every implementation must cross</h3><div class=\"ix-gates\">${innovation.gates.map((g,i)=>`<article class=\"ix-gate\"><span class=\"liq-kicker\">${i+1} / ${innovation.gates.length}</span><h4>${esc(g.title)}</h4><p>${esc(g.rule)}</p><p><b>Watch:</b> ${esc(g.watch)}</p></article>`).join('')}</div><h3>Technology overlap matrix</h3><div class=\"ix-legend\">${innovation.status_legend.map(s=>`<span class=\"ix-status ${esc(s.id)}\" title=\"${esc(s.meaning)}\">${esc(s.label)}</span>`).join('')}</div><div class=\"ix-tools\"><label>Find a system, role or missing receipt<input id=\"innovationSearch\" type=\"search\" value=\"${esc(innovationQuery)}\" placeholder=\"XRP, public chain, transfer agent…\"></label><label>Overlap state<select id=\"innovationStatus\"><option value=\"all\">All states</option>${innovation.status_legend.map(s=>`<option value=\"${esc(s.id)}\" ${innovationStatus===s.id?'selected':''}>${esc(s.label)}</option>`).join('')}</select></label></div><div id=\"innovationResults\"></div><div class=\"liq-source\">${legalSources(innovation.source_ids)}</div>`;\n renderInnovationRows();\n}\nfunction renderLegal(){\n document.body.classList.toggle('qual-reading',legalTab==='qualifications');\n document.querySelectorAll('[data-legal-tab]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.legalTab===legalTab)));\n const target=document.getElementById('legalContent');\n if(legalTab==='qualifications'){renderQualifications();return;}\n if(legalTab==='innovation'){renderInnovation();return;}\n if(legalTab==='walk'){\n  const s=legal.steps[legalStep],c=legal.cases.find(c=>c.id===legalCase),item=c?.steps.find(t=>t.step_id===s.id);\n  target.innerHTML=`<p class=\"liq-note\">Follow the questions in order. Several legal duties operate at once; these steps organize the inquiry rather than prescribe a universal transaction sequence.</p><label class=\"legal-case-label\">Carry a worked case through the steps <select id=\"legalCase\" class=\"control\"><option value=\"\">Start with the general questions</option>${legal.cases.map(c=>`<option value=\"${esc(c.id)}\" ${c.id===legalCase?'selected':''}>${esc(c.title)}</option>`).join('')}</select></label><div class=\"legal-walk\"><nav class=\"legal-spine\" aria-label=\"Legal process steps\">${legal.steps.map((r,i)=>`<button data-legal-step=\"${i}\" aria-current=\"${i===legalStep?'step':'false'}\"><span>${String(i+1).padStart(2,'0')}</span>${esc(r.title)}</button>`).join('')}</nav><article class=\"legal-detail\" aria-label=\"Selected legal step\"><div class=\"liq-kicker\">Step ${legalStep+1} of ${legal.steps.length}</div><h3 tabindex=\"-1\" id=\"legalStepHeading\">${esc(s.question)}</h3><p class=\"legal-explanation\">${esc(s.explanation)}</p><dl class=\"legal-facts\"><div><dt>Who carries the responsibility</dt><dd>${esc(s.actors)}</dd></div><div><dt>What to inspect</dt><dd>${esc(s.required_evidence)}</dd></div><div><dt>What this step establishes</dt><dd>${esc(s.output)}</dd></div></dl><p class=\"liq-caution\">${esc(s.boundary)}</p>${legalSources(s.source_ids)}${c?`<section class=\"legal-example\"><div class=\"liq-kicker\">${esc(c.status)}</div><h4>${esc(c.title)} · this step</h4><p>${esc(item.finding)}</p><p><b>Still to establish:</b> ${esc(item.gap)}</p>${legalSources(c.source_ids)}</section>`:''}<div class=\"legal-next\"><button class=\"liq-action\" data-legal-step=\"${legalStep-1}\" ${legalStep===0?'disabled':''}>Previous</button><button class=\"liq-action\" data-legal-step=\"${legalStep+1}\" ${legalStep===legal.steps.length-1?'disabled':''}>Next step →</button></div></article></div>`;\n }\n if(legalTab==='layers')target.innerHTML=`<p class=\"liq-note\">These authorities can apply simultaneously. Start with the jurisdiction, legal entity and function to determine which instrument governs each question.</p><div class=\"liq-grid\">${legal.layers.map(r=>`<article class=\"liq-card\"><h3>${esc(r.title)}</h3><p>${esc(r.summary)}</p><p><b>Locate:</b> ${esc(r.question)}</p><p class=\"liq-caution\">${esc(r.boundary)}</p>${legalSources(r.source_ids)}</article>`).join('')}</div>`;\n if(legalTab==='cases')target.innerHTML=`<p class=\"liq-note\">Each case uses the same questions. Their evidence states remain distinct: proposals, effective conditional exemptions, operating services and reported arrangements do not carry the same authority or operating clock.</p><div class=\"liq-grid\">${legal.cases.map(c=>`<article class=\"liq-card\"><span class=\"liq-kicker\">${esc(c.status)}</span><h3>${esc(c.title)}</h3><p>${esc(c.summary)}</p><p class=\"liq-caution\">${esc(c.boundary)}</p><button class=\"liq-action\" data-legal-case=\"${esc(c.id)}\">Walk through this case →</button>${c.trace_id?` <button class=\"liq-action\" data-liq-trace=\"${esc(c.trace_id)}\">Open asset trace</button>`:''}${legalSources(c.source_ids)}</article>`).join('')}</div>`;\n}\ndocument.addEventListener('click',e=>{\n const tab=e.target.closest('[data-legal-tab]');if(tab){legalTab=tab.dataset.legalTab;renderLegal();}\n const step=e.target.closest('[data-legal-step]');if(step){const i=Number(step.dataset.legalStep);if(i>=0&&i<legal.steps.length){legalStep=i;renderLegal();document.getElementById('legalStepHeading').focus({preventScroll:true});}}\n const c=e.target.closest('[data-legal-case]');if(c){legalCase=c.dataset.legalCase;legalStep=0;legalTab='walk';renderLegal();}\n const map=e.target.closest('[data-innovation-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.innovationMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}}\n const adjacent=e.target.closest('[data-innovation-expansion]');if(adjacent){expansionSelected=adjacent.dataset.innovationExpansion;openCryptoRoom('expansion');}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='legalCase'){legalCase=e.target.value;renderLegal();}if(e.target.id==='innovationStatus'){innovationStatus=e.target.value;renderInnovationRows();}});\ndocument.addEventListener('input',e=>{if(e.target.id==='innovationSearch'){innovationQuery=e.target.value;renderInnovationRows();}});\ndocument.addEventListener('click',e=>{\n const tab=e.target.closest('[data-fed-tab]');if(tab){fedTab=tab.dataset.fedTab;renderFedGenius();return;}\n const entity=e.target.closest('[data-fed-entity]');if(entity){fedEntity=entity.dataset.fedEntity;renderFedGenius();requestAnimationFrame(()=>document.getElementById('fedEntityDetail')?.scrollIntoView({block:'nearest'}));return;}\n const entityGate=e.target.closest('[data-fed-entity-gate]');if(entityGate){fedGate=entityGate.dataset.fedEntityGate;fedTab='ecosystems';renderFedGenius();return;}\n const gate=e.target.closest('[data-fed-gate-open]');if(gate){fedGate=gate.dataset.fedGateOpen;fedTab='ecosystems';renderFedGenius();return;}\n const map=e.target.closest('[data-fed-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.fedMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='fedStatus'){fedStatus=e.target.value;renderFedGenius();}if(e.target.id==='fedGate'){fedGate=e.target.value;renderFedGenius();}});\ndocument.addEventListener('input',e=>{if(e.target.id==='fedSearch'){fedQuery=e.target.value;renderFedGenius();document.getElementById('fedSearch')?.focus();}});\ndocument.getElementById('legalReport').innerHTML=sourceLinks(legal.report_source_ids);\nconst qualifications=data.legal_process_hub.qualifications;\nlet qualMode='transaction',qualFunction='recordkeeping',qualActor='securitize-ta';\nfunction renderQualifications(){\n if(qualMode==='transaction')renderLegalTransaction();\n else if(qualMode==='role')renderLegalRole();\n else if(qualMode==='player')renderLegalPlayer();\n else renderQualificationDirectory();\n}\ndocument.addEventListener('change',e=>{if(e.target.id==='qualActorSelect'){qualActor=e.target.value;renderQualifications();}});\ndocument.addEventListener('click',e=>{\n const mode=e.target.closest('[data-qual-mode]');if(mode){qualMode=mode.dataset.qualMode;lvSelection=null;renderQualifications();}\n const actor=e.target.closest('[data-qual-view-actor]');if(actor){qualActor=actor.dataset.qualViewActor;qualMode='player';lvSelection=null;renderQualifications();document.getElementById('qualJobHeading').focus({preventScroll:true});}\n const job=e.target.closest('[data-qual-view-job]');if(job){qualFunction=job.dataset.qualViewJob;qualMode='role';lvSelection=null;renderQualifications();document.getElementById('qualJobHeading').focus({preventScroll:true});}\n const step=e.target.closest('[data-qual-step]');if(step){legalStep=legal.steps.findIndex(s=>s.id===step.dataset.qualStep);legalTab='walk';legalCase='';renderLegal();document.getElementById('legalStepHeading').focus();}\n});\n\nfunction qualificationInventoryCard(item){\n const n=data.nodes.find(n=>n.id===item.node_id);\n const names=item.role_ids.map(id=>qualifications.functions.find(f=>f.id===id)?.display_title||id);\n return `<article class=\"q-card\"><div class=\"q-card-top\"><span class=\"q-status\">${esc(item.classification==='object'?'Supporting object':item.classification==='aggregate'?'Group / mixed entry':'Player or operator')}</span><span class=\"q-status\">${esc(n.status)}</span></div><h4>${esc(n.label)}</h4><p>${esc(n.summary)}</p><p class=\"q-scope\">${esc(item.actor_type)}</p><p><b>Role leads:</b> ${names.length?names.map(esc).join(' · '):'No function assigned from this entry alone.'}</p><details class=\"q-evidence\"><summary>Evidence and limits</summary><p>${esc(n.boundary)}</p><p>These are inventory research leads. They do not establish registration, appointment, eligibility or current operational readiness.</p>${legalSources(n.sources)}</details>${qualifications.actors.some(a=>a.id===item.actor_id)?`<button class=\"liq-action\" data-qual-view-actor=\"${esc(item.actor_id)}\">Inspect this entry’s roles</button>`:''}</article>`;\n}\nfunction qualificationModes(){return lvModes();}\nfunction renderQualificationDirectory(){\n const counts={};qualifications.inventory.forEach(i=>counts[i.classification]=(counts[i.classification]||0)+1);\n document.getElementById('legalContent').innerHTML=`<div class=\"q-intro\"><h3>All players & coverage</h3><p>${esc(qualifications.coverage_boundary)}</p></div>${qualificationModes()}<div class=\"q-job-heading\"><h3 id=\"qualJobHeading\" tabindex=\"-1\">Who is in the map—and what still needs proof?</h3><p><b>${qualifications.inventory.length} Hub entries reviewed</b> · ${counts.actor} players / operators · ${counts.aggregate} groups / mixed entries · ${counts.object} supporting objects</p><p>${qualifications.functions.length} role families · ${qualifications.records.length} scoped assessments. Additional researched actors are included in this search and in “Explore a player.”</p></div><label for=\"qualInventorySearch\">Find a player, role or product</label><input class=\"control\" id=\"qualInventorySearch\" type=\"search\" placeholder=\"Try issuer, BNY, custody, Circle…\"><label for=\"qualInventoryType\">Show</label><select class=\"control\" id=\"qualInventoryType\"><option value=\"all\">All inventory entries</option value=\"actor\">Players and operators</option><option value=\"aggregate\">Groups and unresolved identities</option><option value=\"object\">Assets, products and supporting objects</option></select><p id=\"qualInventoryCount\" role=\"status\"></p><div class=\"q-cards\" id=\"qualInventoryResults\"></div><section class=\"q-group\"><h4>Research needed to complete the legal assignments</h4>${qualifications.research_gaps.map(g=>`<details class=\"q-limits\"><summary>${esc(g.title)}</summary><p>${esc(g.detail)}</p></details>`).join('')}${qualifications.report_source_id?legalSources([qualifications.report_source_id]):''}</section>`;\n updateQualificationDirectory();\n}\nfunction updateQualificationDirectory(){\n const term=document.getElementById('qualInventorySearch').value.toLowerCase(),type=document.getElementById('qualInventoryType').value;\n const rows=qualifications.inventory.filter(i=>{const n=data.nodes.find(n=>n.id===i.node_id);return (type==='all'||i.classification===type)&&[n.label,n.summary,i.actor_type,...i.role_ids,...i.role_ids.map(id=>qualifications.functions.find(f=>f.id===id)?.display_title||'')].join(' ').toLowerCase().includes(term);});\n const extras=qualifications.actors.filter(a=>!qualifications.inventory.some(i=>i.classification!=='object'&&i.actor_id===a.id)).filter(a=>{const roles=qualifications.records.filter(r=>r.actor_id===a.id).map(r=>qualifications.functions.find(f=>f.id===r.function_id).display_title);return (type==='all'||type==='actor')&&[a.label,a.scope,...roles].join(' ').toLowerCase().includes(term);});\n document.getElementById('qualInventoryCount').textContent=`${rows.length} matching Hub entries + ${extras.length} additional researched actors`;\n document.getElementById('qualInventoryResults').innerHTML=(rows.map(qualificationInventoryCard).join('')+extras.map(a=>`<article class=\"q-card\"><span class=\"q-status\">Additional researched actor / role</span><h4>${esc(a.label)}</h4><p>${esc(a.scope)}</p><button class=\"liq-action\" data-qual-view-actor=\"${esc(a.id)}\">Inspect this entry’s roles</button></article>`).join(''))||'<p>No matching entries. Try another name or role.</p>';\n}\n\ndocument.addEventListener('input',e=>{if(e.target.id==='qualInventorySearch')updateQualificationDirectory();});\ndocument.addEventListener('change',e=>{if(e.target.id==='qualInventoryType')updateQualificationDirectory();});\nlet lvCase='',lvSelection=null,lvReturn=null;\nfunction lvModes(){return `<div class=\"lv-modes\" role=\"group\" aria-label=\"Explore legal relationships\">${[['transaction','Follow a transaction'],['role','Understand a role'],['player','Explore a player'],['directory','Directory & coverage']].map(([id,t])=>`<button class=\"liq-action\" data-qual-mode=\"${id}\" aria-pressed=\"${qualMode===id}\">${t}</button>`).join('')}</div>`;}\nfunction lvTag(type){return `<span class=\"lv-tag lv-${type}\">${esc(type)}</span>`;}\nfunction lvFrame(title,intro,controls,body){\n document.getElementById('legalContent').innerHTML=`${lvModes()}<div class=\"lv-heading\"><div class=\"liq-kicker\">Legal relationships · saved evidence through ${esc(qualifications.evidence_cutoff)}</div><h3 id=\"qualJobHeading\" tabindex=\"-1\">${esc(title)}</h3><p>${esc(intro)}</p></div>${controls}${qualMode==='role'&&lvReturn?`<button class=\"liq-action\" data-lv-return>Return to transaction</button>`:''}<div class=\"lv-legend\" aria-label=\"Diagram legend\">${['entity','role','asset','system','group'].map(lvTag).join('')}<span>Solid: documented</span><span class=\"lv-dashed\">Dashed: proposed / conditional</span><span class=\"lv-dotted\">Dotted: unresolved / research lead</span></div><div class=\"lv-workspace\"><section class=\"lv-canvas\" aria-label=\"Relationship diagram\">${body}</section><aside class=\"lv-detail\" aria-label=\"Evidence panel\" tabindex=\"-1\" id=\"lvDetail\"><h4>Select a step or connection</h4><p>Its meaning, limits and source documents appear here. You can move from a transaction to a role or player without losing the case.</p></aside></div>`;\n if(lvSelection)lvShowDetail(lvSelection);\n}\nfunction lvState(s){return ['proposed','conditional'].includes(s)?'conditional':s==='documented'||s==='established_scope'?'documented':'unresolved';}\nfunction lvActorType(a){const n=data.nodes.find(n=>n.id===a.node_id);return n?lvNodeShape(n):'entity';}\nfunction lvActorButtons(ids){return ids.map(id=>{const a=qualifications.actors.find(a=>a.id===id);return a?`<button class=\"lv-node lv-entity\" data-lv-player=\"${esc(id)}\">${esc(a.label)} →</button>`:'';}).join('');}\nfunction lvShowDetail(sel){\n const panel=document.getElementById('lvDetail');if(!panel)return;lvSelection=sel;document.querySelectorAll('[data-lv-cell]').forEach(el=>el.setAttribute('aria-pressed',String(sel.kind==='cell'&&el.dataset.lvCell===sel.stage&&el.dataset.lvLane===sel.lane)));\n let title='',text='',boundary='',sources=[],links='',status='';\n if(sel.kind==='cell'){\n  const c=qualifications.visual_cases.find(c=>c.id===sel.case),st=c.stages.find(st=>st.id===sel.stage),v=st.lanes[sel.lane];title=st.title+' · '+sel.lane;text=v.text;boundary=v.boundary;sources=v.source_ids;status=v.status;links=lvActorButtons(v.actor_ids)+(v.record_ids||[]).map(id=>{const r=qualifications.records.find(r=>r.id===id);return `<button class=\"liq-action\" data-lv-record=\"${esc(id)}\">Role assessment: ${esc(qualifications.actors.find(a=>a.id===r.actor_id).label)} — ${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)} →</button>`;}).join('');\n }else if(sel.kind==='record'){\n  const r=qualifications.records.find(r=>r.id===sel.id);title=qualifications.actors.find(a=>a.id===r.actor_id).label;text=r.finding;boundary=r.boundary;sources=r.source_ids;status=r.status;links=`<h5>Required for this arrangement</h5><p>${esc(r.conditions)}</p><p>${esc(r.authority)}</p>`+lvActorButtons([r.actor_id])+`<button class=\"liq-action\" data-lv-role=\"${esc(r.function_id)}\">Explore this role →</button>`;\n }else if(sel.kind==='edge'){\n  const e=data.edges.find(e=>e.id===sel.id);title=e.label;text=e.claim;boundary=e.boundary;sources=e.sources;status=e.status;links=[e.from,e.to].map(id=>{const a=qualifications.actors.find(a=>a.node_id===id);return a?lvActorButtons([a.id]):'';}).join('');\n }else if(sel.kind==='lead'){\n  const i=qualifications.inventory.find(i=>i.node_id===sel.id),n=data.nodes.find(n=>n.id===sel.id);title=n.label;text=n.summary;boundary=n.boundary+' Inventory role leads do not establish authorization or appointment.';sources=n.sources;status=n.status;links=lvActorButtons([i.actor_id]);\n }else if(sel.kind==='requirement'){\n  const f=qualifications.functions.find(f=>f.id===sel.id);title=f.display_title;text=f.qualification_check;boundary='This is an applicability checklist, not a determination that every actor qualifies.';sources=[qualifications.report_source_id];status='Eligibility question';\n }\n panel.classList.add('is-open');\n panel.innerHTML=`<button class=\"lv-close liq-action\" data-lv-close>Close details</button><span class=\"liq-kicker\">${esc(status.replaceAll('_',' '))}</span><h4>${esc(title)}</h4><p>${esc(text)}</p><div class=\"lv-boundary\"><b>What this does—and does not—establish</b><p>${esc(boundary)}</p></div><div class=\"lv-links\">${links}</div><h5>Evidence</h5>${sources.length?sourceLinks(sources):'<p>No transaction-specific evidence is mapped for this connection.</p>'}`;\n}\nfunction renderLegalTransaction(){\n const cases=qualifications.visual_cases;if(!cases?.length)return;\n const c=cases.find(c=>c.id===lvCase)||cases[0];lvCase=c.id;\n const controls=`<label class=\"lv-label\" for=\"lvCase\">Choose an arrangement</label><select class=\"control\" id=\"lvCase\">${cases.map(x=>`<option value=\"${esc(x.id)}\" ${x.id===c.id?'selected':''}>${esc(x.title)}</option>`).join('')}</select>`;\n const body=`<div class=\"lv-scroll\"><div class=\"lv-swim\" style=\"--steps:${c.stages.length}\"><div class=\"lv-corner\">Follow each lane →</div>${c.stages.map((s,i)=>`<div class=\"lv-stage\"><span>${i+1}</span><h4>${esc(s.title)}</h4></div>`).join('')}${[['asset','The asset','asset'],['money','The money','asset'],['record','The record','system']].map(([lane,label,type])=>`<div class=\"lv-lane\">${label}</div>${c.stages.map(s=>{const v=s.lanes[lane];return `<button class=\"lv-cell lv-${lvState(v.status)}\" data-lv-cell=\"${esc(s.id)}\" data-lv-lane=\"${lane}\">${lvTag(type)}<strong>${esc(v.text)}</strong><span class=\"lv-cell-actors\">${v.actor_ids.map(id=>{const a=qualifications.actors.find(a=>a.id===id),n=data.nodes.find(n=>n.id===a.node_id);return esc(n?.short_label||a.label);}).join(' · ')}</span><small>${esc(v.status)}</small><span class=\"lv-arrow\" aria-hidden=\"true\">→</span></button>`;}).join('')}`).join('')}</div></div><p class=\"lv-note\">Read left to right within each lane. Columns organize the arrangement; they do not assert atomic settlement or identical timing across lanes. Click a dotted connection to see the missing evidence.</p>`;\n lvFrame(c.title,c.description,controls,body);\n}\nfunction renderLegalRole(){\n const f=qualifications.functions.find(f=>f.id===qualFunction);const rows=qualifications.records.filter(r=>r.function_id===f.id);const leads=qualifications.inventory.filter(i=>i.classification!=='object'&&i.role_ids.includes(f.id)&&!rows.some(r=>r.actor_id===i.actor_id));\n const controls=`<label class=\"lv-label\" for=\"lvRole\">Choose the role</label><select class=\"control\" id=\"lvRole\">${qualifications.role_groups.map(g=>`<optgroup label=\"${esc(g)}\">${qualifications.functions.filter(x=>x.group===g).map(x=>`<option value=\"${esc(x.id)}\" ${x.id===f.id?'selected':''}>${esc(x.display_title)}</option>`).join('')}</optgroup>`).join('')}</select>`;\n const body=`<div class=\"lv-role-map\"><button class=\"lv-requirements\" data-lv-requirement=\"${esc(f.id)}\"><span class=\"liq-kicker\">What establishes eligibility?</span><p>${esc(f.qualification_check)}</p><small>Inspect the legal gateways →</small></button><div class=\"lv-bridge\">qualifies for ↓</div><div class=\"lv-role-center\">${lvTag('role')}<h4>${esc(f.display_title)}</h4><p>${esc(f.question)}</p></div><div class=\"lv-bridge\">scoped role assessments ↓</div><div class=\"lv-role-actors\">${rows.map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return `<button class=\"lv-assignment lv-${lvState(r.status)}\" data-lv-record=\"${esc(r.id)}\">${lvTag(lvActorType(a))}<strong>${esc(a.label)}</strong><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><span>${esc(r.finding)}</span></button>`;}).join('')||'<div class=\"lv-assignment lv-unresolved\">No scoped assignment saved for this role yet. This is an evidence gap, not a finding of ineligibility.</div>'}</div></div><details class=\"q-limits\"><summary>Other inventory leads (${leads.length})</summary><p>Function mentions to investigate; these are not established assignments.</p><div class=\"lv-role-actors\">${leads.map(i=>`<button class=\"lv-assignment lv-unresolved\" data-lv-lead=\"${esc(i.node_id)}\">${esc(data.nodes.find(n=>n.id===i.node_id).label)}</button>`).join('')}</div></details>`;\n lvFrame('Understand a role','Read the qualification requirements, then inspect each player’s actual appointment and limits.',controls,body);\n}\nfunction lvNodeShape(n){const i=qualifications.inventory.find(i=>i.node_id===n.id);if(i?.actor_type==='role'||n.kind==='role')return 'role';if(i?.classification==='aggregate')return 'group';if(i?.classification==='actor')return /technical|network/.test(i.actor_type)?'system':'entity';if(/asset|token|fund|money|share|deposit/.test(n.kind))return 'asset';if(/role/.test(n.kind))return 'role';return 'system';}\nfunction renderLegalPlayer(){\n const a=qualifications.actors.find(a=>a.id===qualActor);const rows=qualifications.records.filter(r=>r.actor_id===a.id);const edges=a.node_id?data.edges.filter(e=>e.from===a.node_id||e.to===a.node_id):[];\n const controls=`<label class=\"lv-label\" for=\"lvPlayer\">Choose a player or operator group</label><select class=\"control\" id=\"lvPlayer\">${[...qualifications.actors].sort((a,b)=>a.label.localeCompare(b.label)).map(x=>`<option value=\"${esc(x.id)}\" ${x.id===a.id?'selected':''}>${esc(x.label)}</option>`).join('')}</select>${lvReturn?`<button class=\"liq-action\" data-lv-return>Return to ${esc(qualifications.visual_cases.find(c=>c.id===lvReturn).title)}</button>`:''}`;\n const body=`<div class=\"lv-player-center\">${lvTag(lvActorType(a))}<h4>${esc(a.label)}</h4><p>${esc(a.scope)}</p></div><h4 class=\"lv-section-title\">Roles held or assessed</h4><div class=\"lv-role-actors\">${rows.map(r=>`<button class=\"lv-assignment lv-${lvState(r.status)}\" data-lv-record=\"${esc(r.id)}\">${lvTag('role')}<strong>${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)}</strong><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small></button>`).join('')||'<div class=\"lv-assignment lv-unresolved\">No completed role assessment for this entry. Use its relationship evidence below to investigate.</div>'}</div><h4 class=\"lv-section-title\">Connected entities, products and systems</h4><p>Arrows preserve the source relationship’s direction. Ownership, service, capital and technical links retain their original meaning.</p><div class=\"lv-edge-map\">${edges.map(e=>{const from=data.nodes.find(n=>n.id===e.from),to=data.nodes.find(n=>n.id===e.to);const state=e.operational_state==='proposed'||['pending_control','proposal_fit'].includes(e.type)||/propos|pending/.test(e.status)?'conditional':['planned','announced','pilot_test'].includes(e.operational_state)?'unresolved':'documented';return `<button class=\"lv-edge lv-${state}\" data-lv-edge=\"${esc(e.id)}\"><span class=\"lv-edge-node\">${lvTag(lvNodeShape(from))}<strong>${esc(from.label)}</strong></span><span class=\"lv-edge-verb\">${esc(e.label)}<b aria-hidden=\"true\">⟶</b><small>${esc(e.status)}</small></span><span class=\"lv-edge-node\">${lvTag(lvNodeShape(to))}<strong>${esc(to.label)}</strong></span></button>`;}).join('')||'<div class=\"lv-assignment lv-unresolved\">No direct structural connections are saved for this exact entry. Its scoped assessments above remain available.</div>'}</div>`;\n lvFrame('Explore a player','See this entry’s legal roles and its directly sourced relationships. A parent’s permissions do not pass automatically to its subsidiaries or products.',controls,body);\n}\ndocument.addEventListener('click',e=>{\n const cell=e.target.closest('[data-lv-cell]');if(cell)lvShowDetail({kind:'cell',case:lvCase,stage:cell.dataset.lvCell,lane:cell.dataset.lvLane});\n for(const [attr,kind] of [['lvRecord','record'],['lvEdge','edge'],['lvLead','lead'],['lvRequirement','requirement']]){const el=e.target.closest('[data-'+attr.replace(/[A-Z]/g,m=>'-'+m.toLowerCase())+']');if(el)lvShowDetail({kind,id:el.dataset[attr]});}\n const player=e.target.closest('[data-lv-player]');if(player){if(qualMode==='transaction')lvReturn=lvCase;qualActor=player.dataset.lvPlayer;qualMode='player';lvSelection=null;renderQualifications();}\n const role=e.target.closest('[data-lv-role]');if(role){if(qualMode==='transaction')lvReturn=lvCase;qualFunction=role.dataset.lvRole;qualMode='role';lvSelection=null;renderQualifications();}\n if(e.target.closest('[data-lv-return]')){lvCase=lvReturn;qualMode='transaction';lvSelection=null;renderQualifications();}\n if(e.target.closest('[data-lv-close]')){lvSelection=null;document.querySelectorAll('[data-lv-cell]').forEach(el=>el.setAttribute('aria-pressed','false'));document.getElementById('lvDetail').classList.remove('is-open');document.getElementById('lvDetail').innerHTML='<h4>Select a step or connection</h4><p>Inspect its evidence here.</p>';}\n});\ndocument.addEventListener('keydown',e=>{if(e.key==='Escape'){const close=document.querySelector('[data-lv-close]');if(close)close.click();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='lvCase'){lvCase=e.target.value;lvSelection=null;renderQualifications();}if(e.target.id==='lvRole'){qualFunction=e.target.value;lvSelection=null;renderQualifications();}if(e.target.id==='lvPlayer'){qualActor=e.target.value;lvSelection=null;renderQualifications();}});\n\nlet wholeQuery='',wholeCase='',wholeNode='',wholeEdge='',wholeLimit=18;\nfunction wholeIndex(){\n const entries=data.nodes.map(n=>({id:n.id,type:'entry',label:n.label,text:n.summary,status:n.status}));\n data.legal_routes_map.routes.forEach(r=>entries.push({id:r.id,type:'legal pathway',label:r.label,text:r.trigger+' '+r.basis,searchText:r.conditions.concat(r.eligible_categories||[]).join(' '),status:r.state}));\n data.legal_routes_map.players.forEach(p=>entries.push({id:p.id,type:'route player',label:p.label,text:p.evidence+' '+p.remaining,searchText:p.appointment,status:lrStatus(p)}));\n (data.legal_routes_map.participation_directory?.rows||[]).forEach(r=>entries.push({id:r.id,type:'member account',label:r.name,text:r.services,searchText:r.id,status:'GSD directory '+data.legal_routes_map.participation_directory.as_of}));\n data.infrastructure_map.rulebook_crosswalk.forEach(r=>entries.push({id:r.id,type:'rulebook',label:r.label,text:r.establishes+' '+r.boundary,searchText:r.kind+' '+r.version,status:r.version}));\n data.infrastructure_map.access_paths.forEach(r=>entries.push({id:r.id,type:'access path',label:r.title,text:r.boundary+' '+r.open_question,searchText:r.steps.map(s=>s.title+' '+s.text).join(' '),status:'Sourced access model'}));\n data.infrastructure_map.entities.forEach(n=>entries.push({id:n.id,type:'institution',label:n.label,text:n.scope+' '+n.boundary,searchText:n.jurisdiction+' '+n.kind,status:n.evidence_date}));\n data.infrastructure_map.edges.forEach(e=>entries.push({id:e.id,type:'institutional connection',label:infraName(e.from)+' → '+e.verb.replaceAll('_',' ')+' → '+infraName(e.to),text:e.claim+' '+e.boundary,status:e.evidence_date}));\n qualifications.actors.filter(a=>!a.node_id).forEach(a=>entries.push({id:a.id,type:'player',label:a.label,text:a.scope,status:'Scoped research'}));\n qualifications.functions.forEach(f=>entries.push({id:f.id,type:'role',label:f.display_title,text:f.question+' '+f.qualification_check,status:'Role family'}));\n data.sources.forEach(s=>entries.push({id:s.id,type:'source',label:s.label,text:s.publisher+' '+(s.boundary||''),searchText:s.local_text||'',status:s.date}));\n data.edges.forEach(e=>entries.push({id:e.id,type:'relationship',label:data.nodes.find(n=>n.id===e.from).label+' — '+e.label+' — '+data.nodes.find(n=>n.id===e.to).label,text:e.claim+' '+e.boundary,searchText:e.sources.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:e.status}));\n qualifications.records.forEach(r=>entries.push({id:r.id,type:'assessment',label:qualifications.actors.find(a=>a.id===r.actor_id).label+' · '+qualifications.functions.find(f=>f.id===r.function_id).display_title,text:r.finding+' '+r.conditions+' '+r.boundary,searchText:r.authority+' '+r.source_ids.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:r.status}));\n liquidity.layers.forEach(r=>entries.push({id:r.id,type:'liquidity layer',label:r.title,text:r.summary+' '+r.question+' '+r.boundary,status:r.kind}));\n liquidity.routes.forEach(r=>entries.push({id:r.id,type:'liquidity route',label:r.title,text:r.asset+' '+r.funding+' '+r.exit+' '+r.limit,status:r.kind}));\n qualifications.visual_cases.forEach(c=>entries.push({id:c.id,type:'arrangement',label:c.title,text:c.description,status:'Bounded case'}));\n qualifications.visual_cases.forEach(c=>c.stages.forEach(st=>Object.entries(st.lanes).forEach(([lane,v])=>entries.push({id:[c.id,st.id,lane].join('|'),type:'transaction step',label:c.title+' · '+st.title+' · '+lane,text:v.text+' '+v.boundary,searchText:v.source_ids.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:v.status}))));\n legal.steps.forEach(st=>entries.push({id:st.id,type:'legal foundation',label:st.title,text:st.question||st.title,searchText:JSON.stringify(st),status:'Legal process step'}));\n data.transaction_maps.routes.forEach(r=>{\n  entries.push({id:r.id,type:'transaction map',label:r.title,text:r.scope+' '+r.footprint,status:r.overlay_name});\n  r.nodes.concat(r.overlay_nodes).forEach(n=>entries.push({id:r.id+'|'+n.id,type:'map milestone',label:r.title+' · '+n.label.join(' '),text:n.explain+' '+n.before+' '+n.after+' '+n.overlay,status:r.overlay_nodes.some(x=>x.id===n.id)?'Digital comparison':'Conventional route / context'}));\n });\n data.books_hub.routes.forEach(r=>{\n  entries.push({id:r.id,type:'books route',label:r.title+' · debits & credits',text:r.scope+' '+r.overlay_name,status:r.overlay_name});\n  r.steps.forEach(s=>entries.push({id:r.id+'|'+s.id,type:'books step',label:r.title+' · '+s.title,text:s.question+' '+s.role_test+' '+s.entries.map(e=>e.entity_label+' '+e.role_performed+' '+e.debit+' '+e.credit).join(' '),status:'Teaching journals · occupants unnamed'}));\n });\n return entries;\n}\nfunction wholeScope(){\n const ids=new Set();const c=qualifications.visual_cases.find(c=>c.id===wholeCase);\n if(c)c.stages.forEach(s=>Object.values(s.lanes).forEach(v=>{v.object_ids.forEach(id=>ids.add(id));v.actor_ids.forEach(id=>{ids.add(id);const a=qualifications.actors.find(a=>a.id===id);if(a?.node_id)ids.add(a.node_id);});}));\n if(wholeNode){ids.add(wholeNode);data.edges.filter(e=>e.from===wholeNode||e.to===wholeNode).forEach(e=>{ids.add(e.from);ids.add(e.to);});}return ids;\n}\nfunction wholePlayerLink(a){return `<button class=\"wh-link\" data-wh-player=\"${esc(a.id)}\">${esc(a.label)} →</button>`;}\nfunction wholeLayer(layer,scope){\n const fs=qualifications.functions.filter(f=>layer.function_ids.includes(f.id));let records=qualifications.records.filter(r=>layer.function_ids.includes(r.function_id));\n const scoped=r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return scope.has(a.id)||scope.has(a.node_id);};records.sort((a,b)=>Number(scoped(b))-Number(scoped(a)));\n const leads=layer.id==='authority'?[]:qualifications.inventory.filter(i=>i.classification!=='object'&&i.role_ids.some(id=>layer.function_ids.includes(id)));\n const highlighted=scope.size&& (records.some(scoped)||leads.some(i=>scope.has(i.node_id))||layer.node_ids.some(id=>scope.has(id)));\n return `<section id=\"wh-layer-${esc(layer.id)}\" class=\"wh-layer ${highlighted?'wh-lit':''}\"><div class=\"wh-layer-top\"><span>${esc(layer.number)}</span><h3>${esc(layer.title)}</h3>${highlighted?'<b class=\"wh-match\">Connected to focus</b>':''}</div><p>${esc(layer.question)}</p><div class=\"wh-roles\">${fs.map(f=>`<button data-wh-role=\"${esc(f.id)}\">${esc(f.display_title)}</button>`).join('')}</div><div class=\"wh-findings\">${records.slice(0,3).map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return `<article class=\"${scoped(r)?'wh-selected':''}\">${wholePlayerLink(a)}<small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><p>${esc(r.finding)}</p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">Conditions & evidence →</button></article>`;}).join('')}${layer.node_ids.slice(0,2).map(id=>{const n=data.nodes.find(n=>n.id===id);return `<article><button class=\"wh-link\" data-wh-node=\"${esc(id)}\">${esc(n.label)} →</button><small>${esc(n.status)}</small><p>${esc(n.summary)}</p></article>`;}).join('')}</div><div class=\"wh-leads\"><b>Inventory leads · role not yet assessed</b>${leads.filter(i=>!records.some(r=>r.actor_id===i.actor_id)).sort((a,b)=>Number(scope.has(b.node_id))-Number(scope.has(a.node_id))).slice(0,3).map(i=>{const n=data.nodes.find(n=>n.id===i.node_id);return `<p><button class=\"wh-link\" data-wh-node=\"${esc(n.id)}\">${esc(n.label)} →</button><span> ${esc(n.summary)}</span></p>`;}).join('')}</div><p class=\"wh-gap\"><b>Open question:</b> ${esc(layer.gap)}</p><p class=\"wh-count\">${records.length} scoped assessments · ${leads.length} inventory leads. Choose a role above to inspect all.</p></section>`;\n}\nfunction wholeInstitutionLinks(nodeId){\n const matches=data.infrastructure_map.entities.filter(n=>n.node_ref===nodeId||(n.role_actor_ref&&qualifications.actors.find(a=>a.id===n.role_actor_ref)?.node_id===nodeId));\n return `<div class=\"infra-role-links\"><h4>Institutional connections</h4>${matches.length?matches.map(n=>`<p><button class=\"liq-action\" data-infra=\"${esc(n.id)}\">Inspect ${esc(n.label)} in the institutional map →</button></p>`).join(''):'<p class=\"wh-gap\">This entry has not yet been joined to the institutional map. Its saved relationships below may contain relevant evidence; an absent join does not mean it is unregulated.</p>'}<p class=\"wh-boundary\">Check the exact legal entity, activity, jurisdiction and permission. A parent company’s connections do not automatically apply to its subsidiaries or products.</p></div>`;\n}\nfunction wholeConnections(){\n if(!wholeNode)return '<div class=\"wh-guidance\"><b>Explore across layers</b><p>Choose an arrangement to highlight its footprint, or search for a player, product, rule or relationship. Selecting a map entry shows its direct connections here.</p></div>';\n const n=data.nodes.find(n=>n.id===wholeNode);const es=data.edges.filter(e=>e.from===n.id||e.to===n.id).sort((a,b)=>Number(b.id===wholeEdge)-Number(a.id===wholeEdge));\n return `<section class=\"wh-focus\" id=\"wholeEntryFocus\" tabindex=\"-1\"><div><span class=\"liq-kicker\">Selected entry · ${esc(n.status)}</span><h3>${esc(n.label)}</h3><p>${esc(n.summary)}</p><p>${esc(n.boundary)}</p><button class=\"liq-action\" data-wh-clear>Clear focus</button> <span>${qualifications.actors.filter(a=>a.node_id===n.id).map(wholePlayerLink).join('')}</span>${wholeInstitutionLinks(n.id)}</div><div class=\"wh-connections\">${es.map(e=>`<article class=\"${e.id===wholeEdge?'wh-selected':''}\">${e.id===wholeEdge?'<strong>Matched relationship</strong>':''}<button class=\"wh-link\" data-wh-node=\"${esc(e.from)}\">${esc(data.nodes.find(n=>n.id===e.from).label)}</button><b> ${esc(e.label)} → </b><button class=\"wh-link\" data-wh-node=\"${esc(e.to)}\">${esc(data.nodes.find(n=>n.id===e.to).label)}</button><small>${esc(e.status)} · ${esc(e.date)}</small><p>${esc(e.claim)}</p><details ${e.id===wholeEdge?'open':''}><summary>Limit and source</summary><p>${esc(e.boundary)}</p>${sourceLinks(e.sources)}</details></article>`).join('')||'<p>No direct structural relationships are saved for this entry.</p>'}</div></section>`;\n}\nlet infraSelected='dtc',infraJurisdiction=data.infrastructure_map.default_scope||'',infraRelation='';\nfunction infraInScope(n){return !infraJurisdiction||(infraJurisdiction==='US focus'?(n.jurisdiction==='US'||n.jurisdiction.startsWith('US /')||data.infrastructure_map.us_focus_context_ids.includes(n.id)):n.jurisdiction===infraJurisdiction);}\nfunction infraName(id){return data.infrastructure_map.entities.find(n=>n.id===id)?.label||id;}\nfunction infraEvidence(n){return n.source_ids?sourceLinks(n.source_ids):`<a href=\"${esc(n.source_url)}\" target=\"_blank\" rel=\"noopener\">Primary source ↗</a>`;}\nfunction infraRoleLinks(n){\n if(!n.role_actor_ref)return '';\n const rs=qualifications.records.filter(r=>r.actor_id===n.role_actor_ref);\n return `<div class=\"infra-role-links\"><h4>Existing role research</h4><button class=\"wh-link\" data-wh-player=\"${esc(n.role_actor_ref)}\">Open the full role profile →</button>${rs.map(r=>`<p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)} →</button><br><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><br>${esc(r.finding)}</p>`).join('')||'<p>No scoped role assessment is saved for this profile.</p>'}</div>`;\n}\nfunction infraPanel(){\n const m=data.infrastructure_map,n=m.entities.find(n=>n.id===infraSelected);\n const edges=m.edges.filter(e=>(e.from===infraSelected||e.to===infraSelected)&&(!infraRelation||e.verb===infraRelation));\n return `<section class=\"infra-inspect\" id=\"infraInspect\" tabindex=\"-1\"><div><span class=\"liq-kicker\">Selected institution / instrument</span><h3>${esc(n.label)}</h3><p>${esc(n.scope)}</p><p class=\"wh-gap\">${esc(n.boundary)}</p><small>${esc(n.evidence_date)}</small><p>${infraEvidence(n)}</p>${infraRoleLinks(n)}${n.node_ref?`<button class=\"liq-action\" data-wh-node=\"${esc(n.node_ref)}\">Open existing company / arrangement research →</button>`:''}</div><div><label for=\"infraRelation\">Connection type</label><select id=\"infraRelation\"><option value=\"\">All documented connections</option>${[...new Set(m.edges.filter(e=>e.from===infraSelected||e.to===infraSelected).map(e=>e.verb))].map(v=>`<option value=\"${esc(v)}\" ${v===infraRelation?'selected':''}>${esc(v.replaceAll('_',' '))}</option>`).join('')}</select><div class=\"infra-edges\">${edges.map(e=>`<article><button data-infra=\"${esc(e.from)}\">${esc(infraName(e.from))}</button><strong> — ${esc(e.verb.replaceAll('_',' '))} → </strong><button data-infra=\"${esc(e.to)}\">${esc(infraName(e.to))}</button><p>${esc(e.claim)}</p><p class=\"wh-boundary\">${esc(e.boundary)}</p><small>${esc(e.evidence_date)}</small><br>${e.source_ids?sourceLinks(e.source_ids):`<a href=\"${esc(e.source_url)}\" target=\"_blank\" rel=\"noopener\">Relationship source ↗</a>`}</article>`).join('')||'<p>No institution-to-institution connection is assessed here. This is a coverage gap, not evidence of independence. For a company, open its existing arrangement research.</p>'}</div></div></section>`;\n}\nfunction infraAccessPaths(){return `<section id=\"infra-access-paths\"><h3>How participants gain access</h3><p>Compare the gates and responsibilities. Each path describes a particular access model; it does not approve a named firm.</p><div class=\"infra-gaps\">${data.infrastructure_map.access_paths.filter(r=>infraJurisdiction!=='US focus'||r.id!=='boe_omnibus').map(r=>`<article id=\"infra-route-${esc(r.id)}\" tabindex=\"-1\"><h4>${esc(r.title)}</h4><p>${r.entity_ids.map(id=>`<button data-infra=\"${esc(id)}\">${esc(infraName(id))} →</button>`).join(' · ')}</p><ol>${r.steps.map(s=>`<li><b>${esc(s.title.replace(/^\\d+ · /,''))}</b><p>${esc(s.text)} <a href=\"${esc(s.source_url)}\" target=\"_blank\" rel=\"noopener\">Source ↗</a></p></li>`).join('')}</ol><p class=\"wh-gap\">${esc(r.boundary)}</p><p><b>Still to establish:</b> ${esc(r.open_question)}</p></article>`).join('')}</div></section>`;}\nfunction infraRules(){return `<section id=\"infra-rulebooks\"><h3>Which rules govern which part?</h3><p>Source versions from the saved research are shown explicitly. A standard, regulation, rulebook and private agreement do different legal work.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Instrument / version</th><th>Applies to</th><th>What it establishes</th><th>What remains separate</th></tr></thead><tbody>${data.infrastructure_map.rulebook_crosswalk.map(r=>`<tr id=\"infra-rule-${esc(r.id)}\" tabindex=\"-1\"><td><a href=\"${esc(r.source_url)}\" target=\"_blank\" rel=\"noopener\">${esc(r.label)} ↗</a><p>${esc(r.kind)} · ${esc(r.version)}</p></td><td><button data-infra=\"${esc(r.entity_id)}\">${esc(infraName(r.entity_id))} →</button></td><td>${esc(r.establishes)}</td><td>${esc(r.boundary)}</td></tr>`).join('')}</tbody></table></div></section>`;}\nfunction infraRoleCoverage(){return `<section id=\"infra-role-coverage\"><h3>Every mapped job · evidence and gaps</h3><p>All ${qualifications.functions.length} role families are shown. A scoped assessment can be documented, conditional, proposed or not established; it is not blanket approval for the actor. Public-authority relationships are mapped separately above.</p><div class=\"infra-gaps\">${qualifications.functions.map(f=>{const rs=qualifications.records.filter(r=>r.function_id===f.id);return `<article><h4><button class=\"wh-link\" data-wh-role=\"${esc(f.id)}\">${esc(f.display_title)} →</button></h4><p>${esc(f.question)}</p>${rs.length?rs.map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id),st=qualifications.statuses.find(s=>s.id===r.status);return `<p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">${esc(a.label)} →</button><br><small>${esc(st.label)}</small></p>`;}).join(''):'<p class=\"wh-gap\">No actor-level qualification assessment in the saved role records.</p>'}<p><b>Evidence needed:</b> ${esc(f.qualification_check)}</p></article>`;}).join('')}</div></section>`;}\nfunction infraEcosystemCoverage(){\n return `<section id=\"infra-ecosystem-coverage\"><h3>Coverage across the saved ecosystems</h3><p>Every saved ecosystem is listed. Counts describe this research model, not approved institutions or complete regulatory coverage. A joined entry may be a company, service, instrument or authority. Assessment counts include conditional and negative findings; read each finding’s status and evidence.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Ecosystem and saved research</th><th>Saved entries</th><th>Institutional connections</th><th>Scoped role assessments</th></tr></thead><tbody>${data.ecosystems.map(c=>{\n const ids=new Set(c.node_ids),joined=data.infrastructure_map.entities.filter(n=>ids.has(n.node_ref)||(n.role_actor_ref&&ids.has(qualifications.actors.find(a=>a.id===n.role_actor_ref)?.node_id)));\n const actors=new Set(qualifications.actors.filter(a=>ids.has(a.node_id)).map(a=>a.id)),rs=qualifications.records.filter(r=>actors.has(r.actor_id));\n return `<tr><td><button class=\"wh-link\" data-wh-node=\"${esc(c.root_node_id)}\">${esc(c.label)} →</button><p>${esc(c.boundary)}</p></td><td>${ids.size}</td><td>${joined.length?joined.map(n=>`<p><button data-infra=\"${esc(n.id)}\">${esc(n.label)} →</button></p>`).join(''):'<p class=\"wh-gap\">No exact institutional joins yet.</p>'}</td><td>${rs.length?`${rs.length} scoped assessments across ${new Set(rs.map(r=>r.function_id)).size} role families`:'No scoped role assessments linked to these entries.'}</td></tr>`;\n }).join('')}</tbody></table></div></section>`;\n}\nfunction infraOverview(){\n const m=data.infrastructure_map;\n return `<nav id=\"infra-overview\" class=\"infra-overview\" aria-label=\"Whole infrastructure at a glance\">${m.layers.map((l,i)=>`<a href=\"#infra-${esc(l.id)}\"><span class=\"liq-kicker\">${i+1} · ${m.entities.filter(n=>n.layer===l.id&&infraInScope(n)).length} mapped entries</span><strong>${esc(l.title)}</strong><span>${esc(l.question)}</span></a>`).join('')}</nav>`;\n}\nfunction infraMap(){\n const m=data.infrastructure_map;\n return `<section class=\"infra-map\"><div class=\"infra-heading\"><div><span class=\"liq-kicker\">Institutional map · evidence checked ${esc(m.cutoff)}</span><h2>Who has authority—and how the layers connect</h2><p>${esc(m.scope)}</p><p><b>${m.entities.filter(infraInScope).length} entries in this view · ${m.entities.length} in the saved reference · ${m.edges.length} saved typed connections</b></p></div><div><label for=\"infraJurisdiction\">Show jurisdiction</label><select id=\"infraJurisdiction\"><option value=\"US focus\" ${infraJurisdiction==='US focus'?'selected':''}>U.S. focus + relevant international context</option><option value=\"\" ${!infraJurisdiction?'selected':''}>All saved jurisdictions</option>${[...new Set(m.entities.map(n=>n.jurisdiction))].map(j=>`<option ${j===infraJurisdiction?'selected':''}>${esc(j)}</option>`).join('')}</select></div></div><p class=\"wh-guidance\">Read each connection by its verb: <b>supervises · designates · sets standards · operates · provides services</b>. Rows organize functions; they do not imply that every row commands the next. Select any name to inspect its relationships. All mapped names remain visible below.</p>${infraOverview()}<div id=\"infraPanel\">${infraPanel()}</div><nav class=\"wh-jumps\" aria-label=\"Institutional layers\">${m.layers.map(l=>`<a href=\"#infra-${esc(l.id)}\">${esc(l.title)}</a>`).join('')}<a href=\"#infra-role-coverage\">All roles & coverage</a><a href=\"#infra-access-paths\">Access paths</a><a href=\"#infra-rulebooks\">Rulebooks</a><a href=\"#infra-ecosystem-coverage\">Ecosystem coverage</a><a href=\"#infra-gaps\">Unmapped work</a></nav><div class=\"infra-layers\">${m.layers.map((l,i)=>{const ns=m.entities.filter(n=>n.layer===l.id&&infraInScope(n));return `<section id=\"infra-${esc(l.id)}\" class=\"infra-row\"><header><span class=\"liq-kicker\">${i+1} · ${ns.length} mapped</span><h3>${esc(l.title)}</h3><p>${esc(l.question)}</p></header><div class=\"infra-nodes\">${ns.map(n=>`<article class=\"${n.id===infraSelected?'wh-lit':''}\"><button data-infra=\"${esc(n.id)}\" aria-pressed=\"${n.id===infraSelected}\">${esc(n.label)}</button><small>${esc(n.jurisdiction)} · ${esc(n.kind.replaceAll('_',' '))}</small><p>${esc(n.scope)}</p></article>`).join('')||'<p>No entries in this jurisdiction are mapped in this row.</p>'}</div></section>`;}).join('')}</div>${infraEcosystemCoverage()}${infraRoleCoverage()}${infraAccessPaths()}${infraRules()}<section id=\"infra-source-audit\"><h3>Source links needing follow-up</h3><p>${esc(data.infrastructure_map.source_audit.boundary)}</p><p>${data.infrastructure_map.source_audit.returned_content} of ${data.infrastructure_map.source_audit.total} URLs returned content in the September 10 browser check.</p><ul>${data.infrastructure_map.source_audit.exceptions.map(x=>`<li><a href=\"${esc(x.url)}\" target=\"_blank\" rel=\"noopener\">${esc(new URL(x.url).hostname)} source ↗</a> — ${esc(x.status)}</li>`).join('')}</ul></section><section id=\"infra-gaps\"><h3>Where the map is still incomplete</h3><p>These are explicit research gaps. An absent connection does not mean no legal relationship exists.</p><div class=\"infra-gaps\">${m.gaps.map(g=>`<article><h4>${esc(g.title)}</h4><p>${esc(g.detail)}</p></article>`).join('')}</div></section></section>`;\n}\ndocument.addEventListener('click',e=>{const b=e.target.closest('[data-infra]');if(b){infraSelected=b.dataset.infra;infraRelation='';history.pushState(null,'','#infra-entity-'+encodeURIComponent(infraSelected));renderWhole();document.getElementById('infraInspect').focus({preventScroll:true});document.getElementById('infraInspect').scrollIntoView({block:'start'});}});\ndocument.addEventListener('change',e=>{if(e.target.id==='infraJurisdiction'){infraJurisdiction=e.target.value;renderWhole();}if(e.target.id==='infraRelation'){infraRelation=e.target.value;document.getElementById('infraPanel').innerHTML=infraPanel();}});\n\nfunction renderWhole(){\n const scope=wholeScope();document.getElementById('wholeHub').innerHTML=`<div id=\"infra-top\" class=\"wh-hero\"><span class=\"liq-kicker\">One connected reference · sources retain their own dates</span><h2>How the market fits together</h2><p>See who creates the claim, who controls the records, how money moves, and who has authority when something changes.</p></div><div class=\"wh-tools\"><div><label for=\"wholeSearch\">Search the whole hub</label><input id=\"wholeSearch\" type=\"search\" placeholder=\"Player, role, product, rule or relationship…\" value=\"${esc(wholeQuery)}\"></div><div><label for=\"wholeCase\">Highlight an arrangement</label><select id=\"wholeCase\"><option value=\"\">Whole market structure</option>${qualifications.visual_cases.map(c=>`<option value=\"${esc(c.id)}\" ${wholeCase===c.id?'selected':''}>${esc(c.title)}</option>`).join('')}</select></div></div><div id=\"wholeResults\" aria-live=\"polite\"></div><div class=\"wh-routes\"><button class=\"liq-action\" data-room=\"routes\">Find legal routes &amp; players →</button><button class=\"liq-action\" data-room=\"journey\">Start with a transaction →</button><button class=\"liq-action\" data-room=\"books\">Walk the books →</button><button class=\"liq-action\" data-room=\"rights\">Start with steps &amp; rights →</button><a class=\"liq-action\" href=\"#infra-overview\">See the whole structure →</a><button class=\"liq-action\" data-wh-transaction>Follow the selected transaction →</button><button class=\"liq-action\" data-room=\"liquidity\">Explore liquidity →</button><button class=\"liq-action\" data-wh-directory>Full directory & coverage →</button><button class=\"liq-action\" data-wh-foundations>Legal foundations →</button></div><p class=\"wh-boundary\">This overview organizes the saved research. Layer placement is a navigation aid, not a license or proof that systems integrate. Highlighting follows explicit case membership or direct relationships.</p>${wholeConnections()}${infraMap()}<p><a href=\"#infra-top\" class=\"wh-link\">Back to search and overview ↑</a></p><h2>Follow a transaction through its working roles</h2><p>These supporting views connect the institutional picture to the saved arrangements. Company role leads remain unassessed until supported by a scoped finding.</p><nav class=\"wh-jumps\" aria-label=\"Market structure layers\">${data.market_overview.layers.map(l=>`<button data-wh-layer=\"${esc(l.id)}\">${esc(l.number)} · ${esc(l.title)}</button>`).join('')}</nav><div class=\"wh-stack\">${data.market_overview.layers.map(l=>wholeLayer(l,scope)).join('')}</div>`;wholeResults();\n}\nfunction wholeResults(){\n const target=document.getElementById('wholeResults');if(!target)return;if(!wholeQuery.trim()){target.innerHTML='';return;}\n const terms=wholeQuery.toLowerCase().trim().split(/\\s+/);const matches=wholeIndex().filter(x=>terms.every(t=>(x.label+' '+x.text+' '+(x.searchText||'')+' '+x.type).toLowerCase().includes(t)));\n const phrase=wholeQuery.toLowerCase().trim(),score=x=>Number(x.label.toLowerCase().includes(phrase))*10+terms.filter(t=>x.label.toLowerCase().includes(t)).length;matches.sort((a,b)=>score(b)-score(a));\n target.innerHTML=`<p><b>${matches.length} results</b> across maps, milestones, entries, roles, assessments, transaction steps, liquidity and sources</p><div class=\"wh-results\">${matches.slice(0,wholeLimit).map(x=>`<article><small>${esc(x.type)} · ${esc(x.status)}</small>${x.type==='source'?`<a href=\"${esc(data.sources.find(s=>s.id===x.id).url)}\" data-wh-source=\"${esc(x.id)}\">${esc(x.label)}</a>`:`<button class=\"wh-link\" data-wh-result=\"${esc(x.id)}\" data-wh-type=\"${esc(x.type)}\">${esc(x.label)} →</button>`}<p>${esc(x.text)}</p></article>`).join('')}</div>${matches.length>wholeLimit?`<button class=\"liq-action\" data-wh-more>Show more (${matches.length-wholeLimit} remaining)</button>`:''}`;\n}\nfunction wholeOpenLegal(mode){qualMode=mode;lvSelection=null;legalTab='qualifications';openCryptoRoom('legal');}\ndocument.addEventListener('input',e=>{if(e.target.id==='wholeSearch'){wholeQuery=e.target.value;wholeLimit=18;wholeResults();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='wholeCase'){wholeCase=e.target.value;wholeNode='';wholeEdge='';renderWhole();}});\ndocument.addEventListener('click',e=>{\n const jump=e.target.closest('[data-wh-layer]');if(jump)document.getElementById('wh-layer-'+jump.dataset.whLayer).scrollIntoView({block:'start'});\n const node=e.target.closest('[data-wh-node]');if(node){wholeNode=node.dataset.whNode;wholeEdge='';renderWhole();document.getElementById('wholeEntryFocus').focus({preventScroll:true});document.getElementById('wholeEntryFocus').scrollIntoView({block:'start'});}\n const role=e.target.closest('[data-wh-role]');if(role){qualFunction=role.dataset.whRole;wholeOpenLegal('role');}\n const player=e.target.closest('[data-wh-player]');if(player){qualActor=player.dataset.whPlayer;wholeOpenLegal('player');}\n const assessment=e.target.closest('[data-wh-assessment]');if(assessment){const r=qualifications.records.find(r=>r.id===assessment.dataset.whAssessment);qualActor=r.actor_id;wholeOpenLegal('player');lvShowDetail({kind:'record',id:r.id});}\n if(e.target.closest('[data-wh-foundations]')){legalTab='walk';openCryptoRoom('legal');}\n if(e.target.closest('[data-wh-clear]')){wholeNode='';wholeEdge='';renderWhole();}\n if(e.target.closest('[data-wh-more]')){wholeLimit+=18;wholeResults();}\n if(e.target.closest('[data-wh-directory]'))wholeOpenLegal('directory');\n if(e.target.closest('[data-wh-transaction]')){lvCase=wholeCase||qualifications.visual_cases[0].id;wholeOpenLegal('transaction');}\n const result=e.target.closest('[data-wh-result]');if(result){const id=result.dataset.whResult,type=result.dataset.whType;if(type==='member account'){lrDirectoryQuery=id;location.hash='routes-participation';}if(type==='legal pathway'){const r=data.legal_routes_map.routes.find(x=>x.id===id);location.hash='routes-'+r.function_ids[0];}if(type==='route player'){const r=data.legal_routes_map.routes.find(x=>x.player_ids.includes(id));if(r)location.hash='routes-'+r.function_ids[0]+'?player='+encodeURIComponent(id);}if(type==='transaction map'||type==='map milestone'){const [r,n]=id.split('|'),route=data.transaction_maps.routes.find(x=>x.id===r),node=n||route.nodes[0].id;location.hash='journey-'+r+'-'+node+'?overlay='+(route.overlay_nodes.some(x=>x.id===node)?'1':'0')+'&scenario=ordinary';}if(type==='books route'||type==='books step'){const [r,s]=id.split('|');location.hash='books-'+(r||id)+'-'+(s||data.books_hub.routes.find(x=>x.id===(r||id)).steps[0].id);}if(type==='rulebook'){renderWhole();const el=document.getElementById('infra-rule-'+id);el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(type==='access path'){renderWhole();const el=document.getElementById('infra-route-'+id);el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(type==='institution'){infraSelected=id;infraRelation='';renderWhole();document.getElementById('infraInspect').scrollIntoView({block:'start'});}if(type==='institutional connection'){infraSelected=data.infrastructure_map.edges.find(e=>e.id===id).from;infraRelation=data.infrastructure_map.edges.find(e=>e.id===id).verb;renderWhole();document.getElementById('infraInspect').scrollIntoView({block:'start'});}if(type==='entry'){wholeNode=id;wholeEdge='';renderWhole();}if(type==='role'){qualFunction=id;wholeOpenLegal('role');}if(type==='player'){qualActor=id;wholeOpenLegal('player');}if(type==='legal foundation'){legalTab='walk';legalStep=legal.steps.findIndex(s=>s.id===id);legalCase='';openCryptoRoom('legal');}if(type==='assessment'){const r=qualifications.records.find(r=>r.id===id);qualActor=r.actor_id;wholeOpenLegal('player');lvShowDetail({kind:'record',id});}if(type==='arrangement'){lvCase=id;wholeOpenLegal('transaction');}if(type==='liquidity route'){liqTab='routes';liqQuery=liquidity.routes.find(r=>r.id===id).title;openCryptoRoom('liquidity');}if(type==='liquidity layer'){liqTab='layers';openCryptoRoom('liquidity');const idx=liquidity.layers.findIndex(r=>r.id===id);document.querySelectorAll('#liqContent .liq-card')[idx]?.scrollIntoView({block:'center'});}if(type==='transaction step'){const [c,st,lane]=id.split('|');lvCase=c;wholeOpenLegal('transaction');lvShowDetail({kind:'cell',case:c,stage:st,lane});}if(type==='relationship'){wholeEdge=id;wholeNode=data.edges.find(e=>e.id===id).from;renderWhole();}}\n const source=e.target.closest('[data-wh-source]');if(source){e.preventDefault();const s=data.sources.find(s=>s.id===source.dataset.whSource);document.getElementById('wholeResults').innerHTML=`<button class=\"liq-action\" data-wh-backresults>Back to results</button><h3>${esc(s.label)}</h3>${sourceLinks([s.id])}`;}\n if(e.target.closest('[data-wh-backresults]'))wholeResults();\n});\n\n\nlet rightsRoute='securities',rightsOverlay=true,rightsFilter='all';\nfunction renderRights(){\n const hub=data.steps_rights_hub,r=hub.routes.find(r=>r.id===rightsRoute)||hub.routes[0];\n const rows=r.steps.filter(s=>!rightsOverlay||rightsFilter==='all'||s.status===rightsFilter);\n document.getElementById('rightsHub').classList.toggle('rights-base',!rightsOverlay);\n document.getElementById('rightsHub').innerHTML=`<span class=\"liq-kicker\">U.S. walkthroughs · checked ${esc(hub.cutoff)} · source versions shown below</span><h2>What happens—and what right changes?</h2><p class=\"rights-intro\">Read the current system first. Then compare the crypto function at the same step. Each card names the action, the person who can act, the right or obligation, the controlling record, and the evidence needed to call that step complete.</p><nav class=\"rights-route-nav\" aria-label=\"Choose a transaction\">${hub.routes.map(x=>`<button data-rights-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\">${esc(x.title)}</button>`).join('')}</nav><section class=\"rights-scope\"><h3>${esc(r.baseline)}</h3><p>${esc(r.scope)}</p><p class=\"wh-boundary\">${esc(r.clock)}</p></section><h3>Whose right are we following?</h3><ul class=\"rights-chain\">${r.chain.map(x=>`<li>${esc(x)}</li>`).join('')}</ul><p class=\"wh-boundary\">These relationships coexist. The numbered steps are a teaching sequence; postings, funding and legal rights can arise at different times or overlap. They are not a claim that every transaction follows one clock.</p><div class=\"rights-tools\"><label><input id=\"rightsOverlay\" type=\"checkbox\" ${rightsOverlay?'checked':''}> Show crypto comparison: ${esc(r.overlay)}</label>${rightsOverlay?`<label for=\"rightsFilter\">Focus <select id=\"rightsFilter\"><option value=\"all\">All steps</option>${hub.statuses.map(x=>`<option value=\"${esc(x.id)}\" ${rightsFilter===x.id?'selected':''}>${esc(x.label)}</option>`).join('')}</select></label>`:''}<button data-rights-copy>Copy evidence checklist</button><span id=\"rightsCopyStatus\" role=\"status\"></span></div>${rightsOverlay?`<div class=\"rights-legend\">${hub.statuses.map(x=>`<div><span class=\"rights-status ${esc(x.id)}\">${esc(x.label)}</span><p>${esc(x.meaning)}</p></div>`).join('')}</div><p class=\"wh-boundary\">“Continuing dependency” is not necessarily a defect crypto must remove. A technical ledger alone cannot grant a charter, create an issuer obligation or adjudicate a legal claim. “Outside reviewed design” is not a prediction that technology can never change.</p>`:''}<nav class=\"rights-jumps\" aria-label=\"Jump to a step\">${rows.map(s=>`<a href=\"#rights-${esc(r.id)}-${esc(s.id)}\">${r.steps.indexOf(s)+1}. ${esc(s.title)}</a>`).join('')}</nav><p role=\"status\" class=\"wh-count\">Showing ${rows.length} of ${r.steps.length} steps${rightsFilter!=='all'&&rightsOverlay?' · filtered; choose All steps to restore the full route':''}. All main findings and evidence questions are visible.</p>${rows.length?rows.map(s=>{const st=hub.statuses.find(x=>x.id===s.status);return `<article class=\"rights-card\" id=\"rights-${esc(r.id)}-${esc(s.id)}\" tabindex=\"-1\"><header><span class=\"rights-num\">${r.steps.indexOf(s)+1}</span><h3>${esc(s.title)}</h3></header><div class=\"rights-columns\"><section class=\"rights-cell\"><h4>Current system · action</h4><p>${esc(s.action)}</p><dl><dt>Who can act</dt><dd>${esc(s.actors)}</dd></dl><p class=\"rights-proof\"><strong>Completion evidence</strong><br>${esc(s.proof)}</p><div class=\"rights-evidence\">${sourceLinks(s.baseline_sources)}</div>${s.source_note?`<p class=\"wh-boundary\">${esc(s.source_note)}</p>`:''}</section><section class=\"rights-cell\"><h4>Rights &amp; obligations</h4><p>${esc(s.right)}</p><dl><dt>Controlling record / receipt</dt><dd>${esc(s.record)}</dd></dl></section><section class=\"rights-cell rights-crypto\"><h4>${esc(r.overlay)} · at this step</h4><span class=\"rights-status ${esc(s.status)}\">${esc(st.label)}</span><p>${esc(s.crypto)}</p><p><strong>What remains</strong><br>${esc(s.gap)}</p><p class=\"rights-proof\"><strong>Next evidence to obtain</strong><br>${esc(s.needed)}</p><div class=\"rights-evidence\">${sourceLinks(s.crypto_sources)}</div></section></div><footer><button data-rights-legal=\"${esc(s.legal_step_id)}\">Related legal question →</button></footer></article>`;}).join(''):'<p class=\"rights-empty\">No steps have this classification in the selected route. Choose All steps to see the complete workflow.</p>'}<div class=\"rights-tools\"><button data-room=\"overview\">Who has authority? →</button><button data-room=\"map\">Explore crypto research →</button><button data-room=\"liquidity\">Follow funding constraints →</button></div>`;\n}\ndocument.addEventListener('click',async e=>{\n const r=e.target.closest('[data-rights-route]');if(r){setHubRoute(r.dataset.rightsRoute,false);rightsFilter='all';history.replaceState(null,'','#rights-'+rightsRoute);renderRights();}\n const l=e.target.closest('[data-rights-legal]');if(l){legalTab='walk';legalStep=legal.steps.findIndex(s=>s.id===l.dataset.rightsLegal);legalCase='';openCryptoRoom('legal');document.getElementById('legalStepHeading')?.focus();}\n if(e.target.closest('[data-rights-copy]')){const r=data.steps_rights_hub.routes.find(r=>r.id===rightsRoute);const text=[r.title,r.scope,r.clock,...r.steps.map((s,i)=>`${i+1}. ${s.title}\\nCurrent action: ${s.action}\\nWho acts: ${s.actors}\\nRights: ${s.right}\\nRecord: ${s.record}\\nEvidence: ${s.proof}\\nCrypto: ${s.crypto}\\nRemaining: ${s.gap}\\nNext evidence: ${s.needed}\\nSources: ${[...new Set([...s.baseline_sources,...s.crypto_sources])].map(id=>{const x=sourcesById.get(id);return x.label+' — '+x.url;}).join('\\n')}`)].join('\\n\\n');try{await navigator.clipboard.writeText(text);document.getElementById('rightsCopyStatus').textContent='Full route checklist copied, including sources.';}catch{document.getElementById('rightsCopyStatus').textContent='Clipboard unavailable. Select and copy the visible route text.';}}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='rightsOverlay'){rightsOverlay=e.target.checked;renderRights();}if(e.target.id==='rightsFilter'){rightsFilter=e.target.value;renderRights();}});\n\n\n\nlet journeyRoute='securities',journeySelected='order',journeyOverlay=false,journeyScenario='ordinary',journeyZoom='100';\nfunction journeyData(){return data.transaction_maps.routes.find(r=>r.id===journeyRoute);}\nfunction journeyNodes(){const p=journeyData();return p.nodes.concat(journeyOverlay?p.overlay_nodes:[]);}\nfunction journeyHash(){return '#journey-'+journeyRoute+'-'+journeySelected+'?overlay='+(journeyOverlay?'1':'0')+'&scenario='+encodeURIComponent(journeyScenario);}\nfunction journeyCommit(){history.replaceState(null,'',journeyHash());renderJourney();}\nfunction journeySvg(){\n const p=journeyData(),lanes=p.lanes.concat(journeyOverlay?p.overlay_lanes:[]),nodes=journeyNodes(),links=p.connections.concat(journeyOverlay?p.overlay_connections:[]),xy=n=>({x:160+n.col*190,y:64+n.row*62}),height=78+lanes.length*62,sc=p.scenarios.find(x=>x.id===journeyScenario);\n const colors={instruction:'#8bbfe6',securities:'#b9a7e6',money:'#e3c66f',record:'#8cb4a7',token:'#64d7df'};\n return `<svg class=\"j-map\" style=\"width:${journeyZoom}%\" viewBox=\"0 0 1130 ${height}\" role=\"group\" aria-label=\"${esc(p.title)}: complete mapped route; select any milestone.\"><defs>${Object.entries(colors).map(([k,c])=>`<marker id=\"j-arrow-${k}\" markerWidth=\"7\" markerHeight=\"7\" refX=\"6\" refY=\"3\" orient=\"auto\"><path d=\"M0,0 L6,3 L0,6\" fill=\"${c}\"/></marker>`).join('')}</defs>${p.phases.map((x,i)=>`<text class=\"j-phase\" x=\"${230+i*190}\" y=\"25\" text-anchor=\"middle\">${esc(x)}</text>`).join('')}${lanes.map((x,i)=>`<rect x=\"0\" y=\"${43+i*62}\" width=\"1130\" height=\"62\" fill=\"${i>=p.lanes.length?'#203733':i%2?'#172a35':'#13232d'}\"/>${i===p.lanes.length?`<line x1=\"0\" y1=\"${43+i*62}\" x2=\"1130\" y2=\"${43+i*62}\" stroke=\"#8bcbb7\" stroke-dasharray=\"6 4\"/>`:''}<text class=\"j-lane\" x=\"12\" y=\"${78+i*62}\">${esc(x)}</text>`).join('')}${links.map(e=>{const a=xy(nodes.find(n=>n.id===e.from_id)),b=xy(nodes.find(n=>n.id===e.to_id));let x1=a.x+150,y1=a.y+18,x2=b.x,y2=b.y+18;if(a.x===b.x){x1=a.x+75;x2=b.x+75;y1=a.y+(b.y>a.y?36:0);y2=b.y+(b.y>a.y?0:36);}if(e.id==='money'){x1=a.x+75;y1=a.y+36;x2=b.x;y2=b.y+18;}return `<path d=\"M${x1},${y1} L${x2},${y2}\" stroke=\"${colors[e.kind]}\" stroke-width=\"1.6\" fill=\"none\" ${e.kind==='record'?'stroke-dasharray=\"4 3\"':''} ${e.kind!=='record'?`marker-end=\"url(#j-arrow-${e.kind})\"`:''}/><text class=\"j-edge-label\" x=\"${(x1+x2)/2}\" y=\"${y1===y2?a.y-7:(y1+y2)/2-5}\" text-anchor=\"middle\">${esc(e.label)}</text>`;}).join('')}${nodes.map(n=>{const a=xy(n),over=journeyOverlay&&n.overlay_role==='specified',gap=(journeyOverlay&&n.overlay_role==='dependency')||(sc?.node_id===n.id);return `<g class=\"j-node ${over?'j-overlay':''} ${gap?'j-gap':''}\" role=\"button\" tabindex=\"0\" data-journey-node=\"${esc(n.id)}\" aria-pressed=\"${journeySelected===n.id}\" aria-label=\"${esc(n.label.join(' '))}\"><rect x=\"${a.x}\" y=\"${a.y}\" width=\"150\" height=\"36\" rx=\"7\"/>${n.label.map((t,i)=>`<text class=\"j-label\" x=\"${a.x+75}\" y=\"${a.y+(n.label.length===1?23:14+i*14)}\" text-anchor=\"middle\">${esc(t)}</text>`).join('')}</g>`;}).join('')}<text x=\"15\" y=\"${height-12}\" font-size=\"10\">${journeyOverlay?'The lower lane is a separate comparison detail—not an automatic continuation of the conventional transaction.':'Arrows identify instructions or obligations. Dashed lines connect records and rights; they do not prescribe timing.'}</text></svg>`;\n}\nfunction renderJourney(){\n const active=document.activeElement;let restore='';\n if(active&&document.getElementById('journeyHub').contains(active)){\n  if(active.id)restore='#'+CSS.escape(active.id);\n  else for(const attr of ['data-journey-route','data-journey-node','data-journey-prev','data-journey-next','data-journey-restart','data-journey-normal','data-journey-scenario-focus'])if(active.hasAttribute(attr)){restore='['+attr+'=\"'+CSS.escape(active.getAttribute(attr))+'\"]';break;}\n }\n const p=journeyData(),ns=journeyNodes();if(!ns.some(n=>n.id===journeySelected))journeySelected=p.nodes[0].id;\n const n=ns.find(n=>n.id===journeySelected),r=data.steps_rights_hub.routes.find(r=>r.id===p.id),base=r.steps.find(s=>s.id===n.step_ref),walk=p.nodes.filter(n=>!n.context),i=walk.findIndex(x=>x.id===n.id),scenario=p.scenarios.find(x=>x.id===journeyScenario),v=scenario?.node_id===n.id?scenario:n,extra=p.overlay_nodes.some(x=>x.id===n.id);\n document.getElementById('journeyHub').innerHTML=`<div class=\"j-top\"><div><h2>Transaction maps</h2><p class=\"j-note\">U.S. routes · evidence through ${esc(data.transaction_maps.cutoff)}</p></div><a href=\"#infra-overview\">See the wider system →</a> <a href=\"#books\">See the books →</a></div><nav class=\"j-route-nav\" aria-label=\"Choose a transaction map\">${data.transaction_maps.routes.map(x=>`<button data-journey-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===p.id}\"><b>${esc(x.title)}</b><small>Compare ${esc(x.overlay_name)}</small></button>`).join('')}</nav><h3 class=\"j-route-title\">${esc(p.subtitle)}</h3><p class=\"j-note\">${esc(p.scope)}</p><div class=\"j-tools\"><label>Scenario <select id=\"journeyScenario\"><option value=\"ordinary\" ${journeyScenario==='ordinary'?'selected':''}>Ordinary route</option>${p.scenarios.map(x=>`<option value=\"${esc(x.id)}\" ${journeyScenario===x.id?'selected':''}>${esc(x.title)}</option>`).join('')}</select></label><label><input type=\"checkbox\" id=\"journeyOverlay\" ${journeyOverlay?'checked':''}> Compare ${esc(p.overlay_name)}</label><button data-journey-restart>Start walkthrough</button><label>Map size <select id=\"journeyZoom\">${[100,125,150].map(z=>`<option value=\"${z}\" ${journeyZoom===String(z)?'selected':''}>${z===100?'Fit':z+'%'}</option>`).join('')}</select></label></div><div class=\"j-legend\"><span style=\"--edge:#8bbfe6\">Instruction / condition</span><span style=\"--edge:#b9a7e6\">Securities obligation</span><span style=\"--edge:#e3c66f\">Money obligation / payment</span><span style=\"--edge:#8cb4a7\">Record / rights relationship · dashed</span>${journeyOverlay?'<span style=\"--edge:#64d7df\">Token movement · separate from bank payout</span>':''}</div>${journeyOverlay?`<p class=\"j-overlay-key\">Lower lane: ${esc(p.overlay_name)} comparison. Green = specified function; dashed amber = separate dependency; gold = selection.</p>`:''}<p class=\"j-current\" aria-live=\"polite\"><b>${esc(v.title||n.label.join(' '))}:</b> ${esc(v.explain)}</p><div class=\"j-mapwrap\">${journeySvg()}</div>${journeyOverlay?`<aside class=\"j-footprint\"><b>${esc(p.overlay_name)} · footprint</b><p>${esc(p.footprint)}</p><small>Green: bounded specified function. Dashed amber: a separate dependency or missing evidence. Gold: selected milestone. Select the lower-lane boxes to inspect the digital route.</small></aside>`:''}<div class=\"j-context\"><span>Governing context:</span><a href=\"#infra-authority\">Who authorizes the actors?</a><a href=\"#rights-${esc(p.id)}\">Exact rights &amp; conditions</a><a href=\"#infra-rulebooks\">System rulebooks</a><a href=\"#liquidity\">Funding constraints</a></div>${scenario?`<aside class=\"j-warning\"><b>Exception branch · ${esc(scenario.title)}</b><p>${esc(scenario.after)}</p><button data-journey-scenario-focus>Inspect the affected milestone →</button><button data-journey-normal>Return to ordinary route</button></aside>`:''}<div class=\"j-controls\"><button data-journey-prev ${i<=0?'disabled':''}>← Previous</button><span class=\"j-progress\">${extra?'Digital comparison detail':n.context?'Continuing legal / record context':`Milestone ${i+1} of ${walk.length}`} · ${esc(n.label.join(' '))}</span><button data-journey-next ${i<0||i===walk.length-1?'disabled':''}>Next →</button></div><section class=\"j-inspector\" aria-live=\"polite\"><div><h3>${esc(v.title||n.label.join(' '))}</h3><p>${esc(v.explain)}</p><div class=\"j-change\"><article><h4>Before</h4><p>${esc(v.before)}</p></article><article><h4>After / required result</h4><p>${esc(v.after)}</p></article></div></div><div>${journeyOverlay?`<div class=\"j-crypto\"><h4>${esc(p.overlay_name)} at this point</h4><p>${esc(v.overlay)}</p></div>`:'<h4>Who acts, and what proves it?</h4>'}<p><b>Actors:</b> ${esc(base.actors)}</p><p><b>Record:</b> ${esc(base.record)}</p><p><b>Evidence to check:</b> ${esc(base.proof)}</p><a href=\"#rights-${esc(p.id)}-${esc(base.id)}\">Read exact rights, conditions and gaps →</a><details><summary>Sources and dated evidence</summary><p class=\"j-note\">${esc(r.clock)}</p><div class=\"j-source-links\">${sourceLinks([...new Set([...base.baseline_sources,...(journeyOverlay?p.overlay_sources:[])])])}</div>${base.source_note?`<p class=\"j-note\">${esc(base.source_note)}</p>`:''}</details></div></section><p class=\"j-note\"><b>Timing:</b> ${esc(p.timing)}</p><p class=\"j-note\">${esc(p.boundary)}</p><section class=\"j-coverage\"><h3>Continue exploring</h3><p>These maps cover the three researched walkthroughs. The wider library includes more systems; a saved role is not yet a complete transaction route.</p><div class=\"j-tools\"><button data-room=\"overview\">Institutional map →</button><button data-room=\"map\">All crypto research →</button><button data-room=\"rights\">Detailed steps &amp; rights →</button></div><details><summary>Routes still to map</summary><ul>${data.transaction_maps.unmapped.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></details></section>`;\n if(restore)document.querySelector(restore)?.focus({preventScroll:true});\n}\nfunction journeySelect(id){journeySelected=id;journeyCommit();}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-journey-route]');if(route){setHubRoute(route.dataset.journeyRoute,false);journeySelected=journeyData().nodes[0].id;journeyScenario='ordinary';journeyCommit();return;}\n const b=e.target.closest('[data-journey-node]');if(b)journeySelect(b.dataset.journeyNode);\n const p=journeyData(),ns=p.nodes.filter(n=>!n.context),i=ns.findIndex(n=>n.id===journeySelected);\n if(e.target.closest('[data-journey-next]')&&i>=0&&i<ns.length-1)journeySelect(ns[i+1].id);\n if(e.target.closest('[data-journey-prev]')&&i>0)journeySelect(ns[i-1].id);\n if(e.target.closest('[data-journey-restart]')){journeyScenario='ordinary';journeySelect(ns[0].id);}\n if(e.target.closest('[data-journey-normal]')){journeyScenario='ordinary';journeyCommit();}\n if(e.target.closest('[data-journey-scenario-focus]')){const sc=p.scenarios.find(s=>s.id===journeyScenario);if(sc)journeySelect(sc.node_id);}\n});\ndocument.addEventListener('keydown',e=>{const b=e.target.closest('[data-journey-node]');if(b&&['Enter',' '].includes(e.key)){e.preventDefault();journeySelect(b.dataset.journeyNode);document.querySelector(`[data-journey-node=\"${journeySelected}\"]`)?.focus();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='journeyZoom'){journeyZoom=e.target.value;renderJourney();}if(e.target.id==='journeyOverlay'){journeyOverlay=e.target.checked;const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc?.requires_overlay&&!journeyOverlay)journeyScenario='ordinary';if(!journeyNodes().some(n=>n.id===journeySelected))journeySelected=journeyData().nodes[0].id;journeyCommit();}if(e.target.id==='journeyScenario'){journeyScenario=e.target.value;const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc){journeySelected=sc.node_id;if(sc.requires_overlay)journeyOverlay=true;}journeyCommit();}});\n\n\nlet lrFunction='recordkeeping',lrPlayer='',lrFind='';\nlet lrDirectoryQuery='';\nfunction lrSources(ids){return `<div class=\"lr-sources\">${sourceLinks(ids)}</div>`;}\nfunction lrStatus(p){return data.legal_routes_map.statuses.find(s=>s.id===p.status)?.label||p.status;}\nfunction lrAssignmentStatus(a){return ({verified:'Primary record checked',dated:'Dated evidence',conditional:'Conditional scope',lead:'Research lead'})[a.status];}\nfunction lrPlayerCard(p,r){const a=(data.legal_routes_map.assignments||[]).find(x=>x.route_id===r.id&&x.player_id===p.id);return `<article class=\"lr-player\"><button data-lr-player=\"${esc(p.id)}\">${esc(p.label)} →</button><br>${a?`<p><b>Capacity on this route:</b> ${esc(a.capacity)}</p><span class=\"lr-status\">${esc(lrAssignmentStatus(a))}</span><p>${esc(a.evidence)}</p>${lrSources(a.source_ids)}`:''}<span class=\"lr-status ${esc(p.status)}\">${esc(lrStatus(p))}</span><p><b>Entity evidence:</b> ${esc(p.evidence)}</p><p><b>Still required:</b> ${esc(p.remaining)}</p>${lrSources(p.source_ids)}</article>`;}\nfunction lrEntitySummary(routes){const rows=(data.legal_routes_map.assignments||[]).filter(a=>routes.some(r=>r.id===a.route_id));if(!rows.length)return '';return `<section class=\"lr-unmapped\"><h4>Who fills which capacity?</h4><p>These are sourced examples, not the complete membership or eligibility universe. “Primary record checked” describes the evidence check, not approval for your transaction.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Exact entity</th><th>Capacity</th><th>Evidence</th></tr></thead><tbody>${rows.map(a=>{const p=data.legal_routes_map.players.find(x=>x.id===a.player_id);return `<tr><td><button data-lr-player=\"${esc(p.id)}\">${esc(p.label)} →</button></td><td>${esc(a.capacity)}</td><td>${esc(lrAssignmentStatus(a))}</td></tr>`;}).join('')}</tbody></table></div></section>`;}\n\nfunction lrDirectoryRows(){const d=data.legal_routes_map.participation_directory;if(!d)return '';const rows=d.rows.filter(r=>(r.name+' '+r.id+' '+r.services).toLowerCase().includes(lrDirectoryQuery.toLowerCase()));return `<p>${rows.length} of ${d.rows.length} member/account rows shown · effective ${esc(d.as_of)}</p><div style=\"max-height:400px;overflow:auto\"><table><thead><tr><th>Member/account number</th><th>Publisher’s member/account name</th><th>Listed services</th></tr></thead><tbody>${rows.map(r=>`<tr><td>${esc(r.id)}</td><td>${esc(r.name)}</td><td>${esc(r.services)}</td></tr>`).join('')}</tbody></table></div>`;}\nfunction lrDirectory(){const d=data.legal_routes_map.participation_directory;if(lrFunction!=='participation'||!d)return '';return `<section class=\"lr-unmapped\"><h4>Search the full public GSD directory snapshot</h4><p>${esc(d.boundary)}</p><label for=\"lrDirectorySearch\">Member, account number or listed service</label><input id=\"lrDirectorySearch\" type=\"search\" placeholder=\"Try JPMorgan, Hidden Road, Netting…\" value=\"${esc(lrDirectoryQuery)}\"><div id=\"lrDirectoryRows\">${lrDirectoryRows()}</div>${lrSources([d.source_id])}</section>`;}\nfunction renderLegalRoutes(){\n const m=data.legal_routes_map,f=qualifications.functions.find(x=>x.id===lrFunction),routes=m.routes.filter(r=>r.function_ids.includes(lrFunction)),playerIds=new Set(routes.flatMap(r=>r.player_ids)),focus=m.players.find(p=>p.id===lrPlayer),records=qualifications.records.filter(r=>r.function_id===lrFunction);\n document.getElementById('legalRoutesHub').innerHTML=`<span class=\"liq-kicker\">U.S. legal routes · research assembled ${esc(m.cutoff)}</span><h2>What permits this role—and who has the evidence?</h2><p class=\"lr-explainer\">Choose the legal function first. Follow the applicable branch, check its conditions, then inspect the exact entity. Registration, a documented service role and an appointment to your arrangement answer different questions.</p><div class=\"lr-sequence\"><span>1 · Function needed</span>→<span>2 · Legal pathway</span>→<span>3 · Conditions to satisfy</span>→<span>4 · Named entity &amp; evidence</span>→<span>5 · Arrangement still to establish</span></div><p class=\"lr-count\">${m.routes.length} mapped pathways · ${m.players.length} named evidence profiles · ${qualifications.functions.length} functions visible. Every function has its own applicability test. Eligible categories describe who may qualify; named profiles show the evidence recovered so far.</p><div class=\"lr-layout\"><nav class=\"lr-functions\" aria-label=\"Choose a legal function\"><label for=\"lrFind\">Find a function</label><input id=\"lrFind\" type=\"search\" placeholder=\"Record, custody, clear…\" value=\"${esc(lrFind)}\">${qualifications.functions.map(x=>{const rs=m.routes.filter(r=>r.function_ids.includes(x.id)),count=rs.length,named=new Set(rs.flatMap(r=>r.player_ids)).size;return `<button ${(x.display_title+' '+x.question).toLowerCase().includes(lrFind.toLowerCase())?'':'hidden'} data-lr-function=\"${esc(x.id)}\" aria-pressed=\"${x.id===f.id}\">${esc(x.display_title)}<small>${count?count+' pathway'+(count===1?'':'s')+' · '+named+' named profile'+(named===1?'':'s'):'Route mapping still needed'}</small></button>`;}).join('')}</nav><div><header class=\"lr-role-header\"><h3>${esc(f.display_title)}</h3><p>${esc(f.question)}</p><p><b>Qualification test:</b> ${esc(f.qualification_check)}</p></header>${focus?`<section class=\"lr-focus\" id=\"legalEntityFocus\" tabindex=\"-1\"><button data-lr-close>Close entity detail</button><h3>${esc(focus.label)}</h3><span class=\"lr-status ${esc(focus.status)}\">${esc(lrStatus(focus))}</span><div class=\"lr-focus-grid\"><div><h4>Evidence for the entity</h4><p>${esc(focus.evidence)}</p>${lrSources(focus.source_ids)}</div><div><h4>Related pathways in this map</h4><div class=\"lr-research-links\">${m.routes.filter(r=>r.player_ids.includes(focus.id)).map(r=>`<button data-lr-function=\"${esc(r.function_ids[0])}\">${esc(r.label)} →</button>`).join('')}</div><h4>Appointment to an arrangement</h4><p>${esc(focus.appointment)}</p><h4>Remaining requirements</h4><p>${esc(focus.remaining)}</p>${focus.actor_ref?`<button data-lr-profile=\"${esc(focus.actor_ref)}\">Existing role research →</button>`:''}</div></div></section>`:''}<p class=\"lr-count\">${routes.length} pathways for this function · ${playerIds.size} distinct named profiles. Branches depend on the activity and entity; they are not interchangeable options.</p>${lrEntitySummary(routes)}${lrDirectory()}<div class=\"lr-branches\">${routes.map((r,i)=>`<section class=\"lr-branch\" id=\"lr-route-${esc(r.id)}\"><div class=\"lr-path\"><span class=\"lr-state\">PATH ${i+1} · ${r.state==='proposed'?'PROPOSED · NO CURRENT PERMISSION':'MAPPED LEGAL / CONTRACTUAL PATH'}</span><h4>${esc(r.label)}</h4><p><b>Applies when:</b> ${esc(r.trigger)}</p><p><b>Legal basis:</b> ${esc(r.basis)}</p>${r.eligible_categories?.length?`<h4>Who can use this route?</h4><ul>${r.eligible_categories.map(c=>`<li>${esc(c)}</li>`).join('')}</ul>`:''}<h4>Conditions to satisfy</h4><ol>${r.conditions.map(c=>`<li>${esc(c)}</li>`).join('')}</ol><p class=\"lr-limit\">${esc(r.limit)}</p>${lrSources(r.source_ids)}</div><div class=\"lr-players\"><h4>Named entities with relevant evidence</h4>${r.player_ids.length?r.player_ids.map(id=>lrPlayerCard(m.players.find(p=>p.id===id),r)).join(''):`<div class=\"lr-empty\">${r.state==='proposed'?'This proposal qualifies no entity.':'No named player has been assessed against this pathway here. The pathway is mapped; its player evidence is still missing.'}</div>`}</div></section>`).join('')||`<div class=\"lr-empty\"><h4>The legal routes for this function still need mapping</h4><p>${esc(f.qualification_check)}</p><p>This is an explicit research gap, not a finding that no legal route or eligible player exists.</p></div>`}</div><section class=\"lr-unmapped\"><h4>Related saved role assessments · not automatic qualification</h4><p>${records.length} saved assessment${records.length===1?'':'s'} for this function. These can include proposals, outside-role findings and foreign examples; the original scope remains controlling.</p><div class=\"lr-research-links\">${records.map(r=>{const a=qualifications.actors.find(x=>x.id===r.actor_id);return `<button data-wh-assessment=\"${esc(r.id)}\">${esc(a.label)} · ${esc(qualifications.statuses.find(x=>x.id===r.status).label)} →</button>`;}).join('')||'<span>No scoped actor assessment saved.</span>'}</div></section><div class=\"lr-research-links\"><button data-room=\"journey\">See roles work together in a transaction →</button><button data-room=\"overview\">Wider institutional map →</button></div></div></div><p class=\"lr-count\">${esc(m.scope)} Technology does not substitute for entity identity, powers, registration, service admission or a required appointment. The current-status labels describe the cited evidence, not a compliance certification.</p>`;\n}\ndocument.addEventListener('click',e=>{const f=e.target.closest('[data-lr-function]');if(f){lrFunction=f.dataset.lrFunction;lrPlayer='';history.replaceState(null,'','#routes-'+lrFunction);renderLegalRoutes();}const p=e.target.closest('[data-lr-player]');if(p){lrPlayer=p.dataset.lrPlayer;history.replaceState(null,'','#routes-'+lrFunction+'?player='+encodeURIComponent(lrPlayer));renderLegalRoutes();const el=document.getElementById('legalEntityFocus');el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(e.target.closest('[data-lr-close]')){lrPlayer='';history.replaceState(null,'','#routes-'+lrFunction);renderLegalRoutes();}const profile=e.target.closest('[data-lr-profile]');if(profile){qualActor=profile.dataset.lrProfile;wholeOpenLegal('player');}});\ndocument.addEventListener('input',e=>{if(e.target.id==='lrDirectorySearch'){lrDirectoryQuery=e.target.value;document.getElementById('lrDirectoryRows').innerHTML=lrDirectoryRows();}if(e.target.id==='lrFind'){lrFind=e.target.value;document.querySelectorAll('.lr-functions [data-lr-function]').forEach(b=>{const f=qualifications.functions.find(x=>x.id===b.dataset.lrFunction);b.hidden=!(f.display_title+' '+f.question).toLowerCase().includes(lrFind.toLowerCase());});}});\n\nlet walkRoute='securities';\nfunction walkBooks(routeId,stepId){\n const r=data.books_hub.routes.find(x=>x.id===routeId),s=r&&r.steps.find(x=>x.id===stepId);\n if(!s)return '';\n const cards=[...s.entries,...(s.overlay_entries||[])].filter(e=>e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n if(!cards.length)return '';\n return `<details><summary>T-accounts for this step</summary>${cards.map(e=>`<p><b>${esc(e.entity_label)}</b> · ${e.occupant==='unnamed'?'unnamed':esc(e.occupant)}</p><div class=\"wk-t\"><div><b>Debit</b>${esc(e.debit)}</div><div><b>Credit</b>${esc(e.credit)}</div></div><p class=\"wk-empty\">${esc(e.role_performed)}</p>`).join('')}</details>`;\n}\nfunction renderWalk(){\n const hub=data.process_walk,r=hub.routes.find(x=>x.id===walkRoute)||hub.routes[0];\n history.replaceState(null,'','#walk-'+r.id);\n document.getElementById('walkHub').innerHTML=`<p class=\"wk-empty\">${esc(hub.cutoff)}</p><h2>${esc(hub.title)}</h2><p class=\"wk-intro\">${esc(hub.subtitle)}</p><p class=\"wk-test\">${esc(hub.test)}</p>\n<nav class=\"wk-tabs\" aria-label=\"Choose a process\">${hub.routes.map(x=>`<button data-walk-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\">${esc(x.tab)}</button>`).join('')}</nav>\n<p><b>${esc(r.title)}</b></p><p class=\"wk-empty\">${esc(r.today)}</p><p class=\"wk-empty\">Overlay: ${esc(r.overlay_name)}</p>\n${r.steps.map((s,i)=>`<section class=\"wk-step\" id=\"walk-${esc(r.id)}-${esc(s.id)}\"><div class=\"wk-n\">${String(i+1).padStart(2,'0')}</div><h3>${esc(s.title)}</h3><p>${esc(s.what)}</p>\n<table class=\"wk-table\"><thead><tr><th>Seat</th><th>Today</th><th>Crypto overlap</th><th>Took the books?</th></tr></thead><tbody>${s.seats.map(row=>`<tr><td>${esc(row.seat)}</td><td>${esc(row.today)}</td><td>${esc(row.overlap)}</td><td class=\"wk-no\">${esc(row.overtake)}</td></tr>`).join('')}</tbody></table>\n${walkBooks(r.id,s.id)}</section>`).join('')}`;\n}\ndocument.addEventListener('click',e=>{\n const wr=e.target.closest('[data-walk-route]');if(wr){setHubRoute(wr.dataset.walkRoute,false);renderWalk();window.scrollTo({top:0});}\n});\n\nlet booksRoute='securities',booksStep='access',booksOverlay=false,booksMoved=false,booksDirQuery='';\nfunction booksData(){return data.books_hub.routes.find(r=>r.id===booksRoute)||data.books_hub.routes[0];}\nfunction booksHash(){return 'books-'+booksRoute+'-'+booksStep+'?overlay='+(booksOverlay?'1':'0')+'&moved='+(booksMoved?'1':'0');}\nfunction booksMoney(n){return new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(n);}\nfunction booksKind(id){return data.books_hub.book_kinds.find(k=>k.id===id);}\nfunction booksOccupant(e){\n if(e.occupant==='unnamed')return `<p class=\"bk-empty\">Occupant: unnamed — not a finding that the seat is empty</p>`;\n const st=({verified:'Sourced process office / primary record',dated:'Dated appointment or disclosure',conditional:'Conditional / design-limited',example:'Sourced example — not this teaching party',lead:'Research lead'})[e.occupant_status]||e.occupant_status;\n return `<p><b>Occupant:</b> ${esc(e.occupant)}</p><span class=\"bk-kind ${e.occupant_status==='verified'?'fiduciary':e.occupant_status==='conditional'?'memo':'none'}\">${esc(st)}</span>${e.occupant_boundary?`<p class=\"bk-empty\">${esc(e.occupant_boundary)}</p>`:''}${e.occupant_source_ids?`<div class=\"bk-jumps\">${sourceLinks(e.occupant_source_ids)}</div>`:''}`;\n}\nfunction booksDirectory(){\n const dirs=Object.values(data.books_hub.current_directories||{}).filter(x=>x.shown_on==='securities-'+booksStep);\n if(!dirs.length)return '';\n const q=booksDirQuery.toLowerCase();\n return dirs.map((d,i)=>{\n  const rows=d.rows.filter(r=>(r.name+' '+(r.aba||'')+' '+r.id+' '+(r.services||'')).toLowerCase().includes(q));\n  const extra=d.rows[0]&&d.rows[0].aba?'<th>ABA</th>':'';\n  const svc=d.rows[0]&&d.rows[0].services?'<th>Directory services</th>':'';\n  return `<section class=\"bk-overlay\"><h3>${esc(d.title)}</h3><p class=\"bk-empty\">${esc(d.boundary)} Snapshot ${esc(d.as_of)} · ${d.rows.length} rows.</p>${i===0?`<label>Find <input id=\"booksDirSearch\" type=\"search\" value=\"${esc(booksDirQuery)}\" placeholder=\"Bank, ABA, member, flag…\"></label>`:''}<p class=\"bk-empty\">${rows.length} shown</p><div style=\"max-height:280px;overflow:auto\"><table><thead><tr><th>Name</th><th>Number</th>${extra}${svc}</tr></thead><tbody>${rows.map(r=>`<tr><td>${esc(r.name)}</td><td>${esc(r.id)}</td>${r.aba?`<td>${esc(r.aba)}</td>`:''}${r.services?`<td>${esc(r.services)}</td>`:''}</tr>`).join('')}</tbody></table></div></section>`;\n }).join('');\n}\nfunction booksCard(e){\n const kind=booksKind(e.book_kind);\n const idle=e.book_kind==='none'||e.book_kind==='memo';\n return `<article class=\"bk-card\"><span class=\"bk-kind ${esc(e.book_kind)}\">${esc(kind.label)}</span>${e.process_office?'<span class=\"bk-office\"> Process office</span>':''}<h4>${esc(e.entity_label)}</h4>${booksOccupant(e)}${idle?'':`<div class=\"bk-t\"><div><b>Debit</b>${esc(e.debit)}</div><div><b>Credit</b>${esc(e.credit)}</div></div>`}<p><b>Role this entry performs:</b> ${esc(e.role_performed)}</p>${e.note?`<p>${esc(e.note)}</p>`:''}</article>`;\n}\nfunction renderBooks(){\n const hub=data.books_hub,r=booksData();\n if(!r.steps.some(s=>s.id===booksStep))booksStep=r.steps[0].id;\n const step=r.steps.find(s=>s.id===booksStep);\n const money=booksMoney(r.amount);\n const ordinary=step.entries.filter(e=>!booksMoved||e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n const overlay=(step.overlay_entries||[]).filter(e=>!booksMoved||e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n history.replaceState(null,'','#'+booksHash());\n document.getElementById('booksHub').innerHTML=`<span class=\"liq-kicker\">U.S. teaching books · ${esc(hub.cutoff)} · occupants unnamed</span><h2>${esc(hub.title)}</h2><p class=\"bk-intro\">${esc(hub.subtitle)}</p><p class=\"bk-test\">${esc(hub.test)}</p><p class=\"bk-empty\">${esc(hub.boundary)}</p>\n<nav class=\"bk-routes\" aria-label=\"Choose a process\">${hub.routes.map(x=>`<button data-books-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\"><b>${esc(x.title)}</b><small>${esc(x.overlay_name)}</small></button>`).join('')}</nav>\n<div class=\"bk-tools\"><label>${esc(r.amount_label)} <input id=\"booksAmount\" type=\"number\" min=\"1\" max=\"1000000000000\" step=\"1\" value=\"${r.amount}\" disabled></label><span class=\"bk-empty\">${money} teaching amount</span><label><input type=\"checkbox\" id=\"booksOverlay\" ${booksOverlay?'checked':''}> Compare ${esc(r.overlay_name)}</label><label><input type=\"checkbox\" id=\"booksMoved\" ${booksMoved?'checked':''}> Only rows whose books moved</label></div>\n<p class=\"bk-empty\">${esc(r.scope)}</p>\n<div class=\"bk-legend\">${hub.book_kinds.map(k=>`<span class=\"bk-kind ${esc(k.id)}\">${esc(k.label)}</span>`).join('')}<span>Occupant names stay empty. Process offices (CCP, CSD, Reserve Banks) are the taught constitution, not a member census.</span></div>\n<nav class=\"bk-spine\" aria-label=\"Steps\">${r.steps.map((s,i)=>`<button data-books-step=\"${esc(s.id)}\" aria-pressed=\"${s.id===step.id}\"><span>${i+1}</span>${esc(s.title)}</button>`).join('')}</nav>\n<section class=\"bk-step\"><h3>${esc(step.title)}</h3><p><b>Ask:</b> ${esc(step.question)}</p><p class=\"bk-test\">${esc(step.role_test)}</p>${step.fail_discriminator?`<div class=\"bk-fail\"><p><b>Fail discriminator:</b> ${esc(step.fail_discriminator)}</p></div>`:''}${(()=>{const named=[...step.entries,...(step.overlay_entries||[])].filter(e=>e.occupant&&e.occupant!=='unnamed');return named.length?`<p><b>Named on this step:</b> ${named.map(e=>esc(e.occupant)+' <span class=\"bk-empty\">('+esc(e.entity_label)+')</span>').join(' · ')}</p>`:'<p class=\"bk-empty\">No named legal person on this step yet. The T-accounts still show which office would have to move.</p>';})()}\n<h4>Ordinary path</h4><div class=\"bk-grid\">${ordinary.map(booksCard).join('')||'<p class=\"bk-empty\">No moving books on this step.</p>'}</div>\n${booksOverlay?`<div class=\"bk-overlay\"><h3>Overlay · ${esc(r.overlay_name)}</h3><div class=\"bk-grid\">${overlay.map(booksCard).join('')||'<p class=\"bk-empty\">No overlay books at this step.</p>'}</div></div>`:''}${booksDirectory()}\n<div class=\"bk-jumps\"><button data-room=\"journey\">Transaction map →</button><button data-books-rights=\"${esc(r.id)}\">Steps &amp; rights →</button><button data-room=\"legal\">Legal inquiry →</button><details><summary>Sources</summary>${sourceLinks(step.source_ids)}</details></div></section>`;\n document.getElementById('booksOverlay').addEventListener('change',e=>{booksOverlay=e.target.checked;renderBooks();});\n document.getElementById('booksMoved').addEventListener('change',e=>{booksMoved=e.target.checked;renderBooks();});\n document.getElementById('booksDirSearch')?.addEventListener('input',e=>{booksDirQuery=e.target.value;renderBooks();document.getElementById('booksDirSearch')?.focus();});\n}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-books-route]');if(route){setHubRoute(route.dataset.booksRoute,false);booksStep=(data.books_hub.routes.find(r=>r.id===booksRoute).steps[0]||{}).id;renderBooks();}\n const step=e.target.closest('[data-books-step]');if(step){booksStep=step.dataset.booksStep;renderBooks();}\n const toRights=e.target.closest('[data-books-rights]');if(toRights){setHubRoute(toRights.dataset.booksRights,false);openCryptoRoom('rights');}\n});\n\nconst fieldGuide=data.technology_field_guide;\nconst guideCategories=byId(fieldGuide.categories);\nconst technologyBuildout=data.technology_buildout;\nconst buildoutByEcosystem=new Map(technologyBuildout.profiles.map(profile=>[profile.ecosystem_id,profile]));\nconst buildoutStates=byId(technologyBuildout.states);\nlet guideSelected='quant',systemsScope='all',guideQuery='',systemsCompare=new Set();\nlet commandLens='briefing',commandQuery='',commandLawFocus='genius';\nfunction guideStatusLabel(status){return ({meaningful:'Meaningful distinction',contextual:'Contextual distinction',not_established:'No distinct edge established'})[status]||status;}\nfunction guideStageLabel(state){return buildoutStates.get(state)?.label||state;}\nfunction guideBuildItems(items,deal=false){return `<div class=\"fg-build-list\">${items.map(item=>`<article class=\"fg-build-item\"><header><b>${esc(deal?item.counterparty:item.name)}</b><span class=\"fg-stage\">${esc(guideStageLabel(item.state))}</span></header><small>${esc(item.date)}</small><p>${esc(item.summary)}</p>${evidenceDrawer(item.source_ids,item.boundary)}</article>`).join('')}</div>`;}\nfunction systemRecords(){\n const core=fieldGuide.profiles.map(profile=>{const build=buildoutByEcosystem.get(profile.ecosystem_id);return {id:profile.ecosystem_id,label:profile.plain_name,coverage:'deep',kind:guideCategories.get(profile.category).label,state:build.transition_state,date:build.refreshed_through,summary:profile.what_it_is,boundary:build.transition_assessment.not_proved,search:[profile.plain_name,profile.what_it_is,profile.why_following,profile.differentiator,...profile.do_not_confuse,...profile.attachments,build.headline,build.strongest_receipt,build.native_token.symbol,build.native_token.role,...build.current_builds.flatMap(item=>[item.name,item.summary]),...build.deals_and_integrations.flatMap(item=>[item.counterparty,item.summary])].join(' ').toLowerCase(),profile,build};});\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,coverage:'specialist',kind:'Specialist system family',state:system.latest_state,date:system.latest_date,summary:system.summary,boundary:system.boundary,search:[system.name,system.kind,system.jurisdiction,system.model,system.summary,system.latest_development,system.latest_boundary,system.boundary,system.watch,...system.fits.map(fit=>fit.note)].join(' ').toLowerCase(),specialist:system}));\n return core.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction systemRecordById(id){return systemRecords().find(system=>system.id===id);}\nfunction guideList(items){return `<nav class=\"fg-profile-list\" aria-label=\"All tracked systems\">${items.map(system=>`<article class=\"fg-profile-row\"><button type=\"button\" data-guide-profile=\"${esc(system.id)}\" aria-pressed=\"${system.id===guideSelected}\"><b>${esc(system.label)}</b><small>${esc(system.kind)} · ${esc(guideStageLabel(system.state))}</small></button><button type=\"button\" class=\"fg-compare-toggle\" data-system-compare=\"${esc(system.id)}\" aria-pressed=\"${systemsCompare.has(system.id)}\" aria-label=\"${systemsCompare.has(system.id)?'Remove':'Add'} ${esc(system.label)} ${systemsCompare.has(system.id)?'from':'to'} comparison\">${systemsCompare.has(system.id)?'✓ Compare':'＋ Compare'}</button></article>`).join('')}</nav>`;}\nfunction systemComparePanel(){\n const selected=[...systemsCompare].map(systemRecordById).filter(Boolean);\n if(!selected.length)return `<aside class=\"fg-compare-panel\"><span class=\"liq-kicker\">Compare systems</span><p>Choose <b>Compare</b> beside up to three systems. The comparison stays inside Systems; it is not another room.</p></aside>`;\n return `<aside class=\"fg-compare-panel\"><header><div><span class=\"liq-kicker\">Contextual comparison · ${selected.length} of 3</span><h3>${selected.map(system=>esc(system.label)).join(' ↔ ')}</h3></div><button type=\"button\" data-system-compare-clear>Clear</button></header><div class=\"fg-compare-grid\">${selected.map(system=>`<article><span class=\"fg-kind\">${esc(system.kind)}</span><h4><button type=\"button\" data-guide-profile=\"${esc(system.id)}\">${esc(system.label)} →</button></h4><p><b>Current state:</b> ${esc(guideStageLabel(system.state))} · ${esc(system.date)}</p><p>${esc(system.coverage==='deep'?system.build.headline:system.specialist.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(system.boundary)}</p></article>`).join('')}</div><p class=\"fg-limit\">Different coverage depth is shown, not normalized away. A specialist record is not silently promoted to a deep architecture, deals or token-value-capture profile.</p></aside>`;\n}\nfunction coreSystemDetail(system){\n const p=system.profile,b=system.build;\n return `<article class=\"fg-detail\"><header class=\"fg-hero\"><span class=\"fg-kind\">${esc(system.kind)} · deep profile</span><h2>${esc(p.plain_name)}</h2><p><b>Plain answer:</b> ${esc(p.what_it_is)}</p><p class=\"fg-why\"><b>Why we follow it:</b> ${esc(p.why_following)}</p><section class=\"fg-refresh\"><header><b>Current evidence state · ${esc(b.refreshed_through)}</b><span class=\"fg-stage\">${esc(guideStageLabel(b.transition_state))}</span></header><p>${esc(b.headline)}</p><p class=\"fg-limit\"><b>Strongest current receipt:</b> ${esc(b.strongest_receipt)}</p></section><section class=\"fg-special\"><header><b>What makes it different</b><span class=\"fg-status ${esc(p.differentiator_status)}\">${esc(guideStatusLabel(p.differentiator_status))}</span></header><p>${esc(p.differentiator)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(p.differentiator_boundary)}</p></section></header><div class=\"fg-body\"><div class=\"fg-grid\"><section class=\"fg-card wide\"><h3>What they are building now</h3>${guideBuildItems(b.current_builds)}</section><section class=\"fg-card wide\"><h3>Deals &amp; connections</h3>${guideBuildItems(b.deals_and_integrations,true)}</section><section class=\"fg-card wide\"><h3>What is live / still building / not proved</h3><div class=\"fg-assessment\"><p><b>What changed</b><br>${esc(b.transition_assessment.what_changed)}</p><p><b>Live now</b><br>${esc(b.transition_assessment.live_now)}</p><p><b>Still building</b><br>${esc(b.transition_assessment.still_building)}</p><p><b>Not proved</b><br>${esc(b.transition_assessment.not_proved)}</p></div></section><section class=\"fg-card wide\"><h3>Token or issued claim · ${esc(b.native_token.symbol)}</h3><p><b>Role:</b> ${esc(b.native_token.role)}</p><p><b>Required channel:</b> ${esc(b.native_token.required_channel)}</p><p><b>Value-capture reading:</b> ${esc(b.native_token.value_capture)}</p>${sourceLinks(b.native_token.source_ids)}</section><section class=\"fg-card wide\"><h3>Evidence and next receipt</h3><ul>${b.return_gates.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card wide\"><h3>How it actually works</h3><ol>${p.how_it_works.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section><div class=\"fg-split wide\"><section class=\"fg-card fg-yes\"><h3>What it controls</h3><ul>${p.controls.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card fg-no\"><h3>What it does not control</h3><ul>${p.does_not_control.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section></div><section class=\"fg-card\"><h3>Role in the stack</h3><div class=\"fg-attachments\">${p.attachments.map(x=>`<span>${esc(x)}</span>`).join('')}</div><p>${esc(p.observed_state)}</p></section><section class=\"fg-card\"><h3>What we are watching next</h3><ul>${p.watch_for.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card wide fg-confuse\"><h3>Do not confuse</h3><ul>${p.do_not_confuse.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><details class=\"fg-card wide\"><summary><b>Evidence drawer</b></summary>${sourceLinks(p.source_ids)}</details></div><div class=\"fg-actions\"><button type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button>${p.ecosystem_id==='securitize'?'<button type=\"button\" data-room=\"securitize\">Open Securitize anatomy →</button>':''}<button type=\"button\" data-guide-map=\"${esc(p.ecosystem_id)}\">Role in the relationship map →</button><button type=\"button\" data-system-readiness=\"${esc(system.id)}\">Readiness gates →</button></div></div></article>`;\n}\nfunction specialistSystemDetail(system){\n const s=system.specialist,seatById=Object.fromEntries(expansion.seats.map(seat=>[seat.id,seat]));\n return `<article class=\"fg-detail\"><header class=\"fg-hero\"><span class=\"fg-kind\">${esc(system.kind)} · specialist coverage</span><h2>${esc(s.name)}</h2><p><b>Plain answer:</b> ${esc(s.summary)}</p><section class=\"fg-refresh\"><header><b>Current evidence state · ${esc(s.latest_date)}</b><span class=\"fg-stage\">${esc(guideStageLabel(s.latest_state))}</span></header><p>${esc(s.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(s.latest_boundary)}</p></section><p class=\"fg-boundary\"><b>Coverage note:</b> This record supports architecture, stack-role and current-development analysis. It does not yet carry a separate governed deals ledger, deep transaction anatomy or token-value-capture profile.</p></header><div class=\"fg-body\"><div class=\"fg-grid\"><section class=\"fg-card wide\"><h3>What changed</h3><p>${esc(s.latest_development)}</p><p class=\"fg-limit\"><b>Current receipt boundary:</b> ${esc(s.latest_boundary)}</p></section><section class=\"fg-card wide\"><h3>What is live / still building / not proved</h3><div class=\"fg-assessment\"><p><b>Documented state</b><br>${esc(guideStageLabel(s.latest_state))} as of ${esc(s.latest_date)}.</p><p><b>Current model</b><br>${esc(s.model)} · ${esc(s.jurisdiction)}</p><p><b>Still needs a receipt</b><br>${esc(s.watch)}</p><p><b>Not proved</b><br>${esc(s.boundary)}</p></div></section><section class=\"fg-card wide\"><h3>Role in the stack</h3><div class=\"sx-fit-grid\">${s.fits.map(fit=>{const seat=seatById[fit.seat_id],subs=seat.sublayers.filter(layer=>fit.sublayer_ids.includes(layer.id));return `<article class=\"sx-fit\"><small>${esc(fit.fit)} · ${esc(seat.label)}</small><h4>${esc(subs.map(layer=>layer.label).join(' · '))}</h4><p>${esc(fit.note)}</p></article>`;}).join('')}</div></section><section class=\"fg-card\"><h3>Deals &amp; connections</h3><p>No separate governed deals ledger is attached to this specialist record. Connections remain available through its cited sources and relationship context where mapped.</p></section><section class=\"fg-card\"><h3>Token or issued claim</h3><p>No separate governed token or value-capture profile is attached here. The system’s product model must not be treated as proof of token demand or holder value capture.</p></section><section class=\"fg-card wide\"><h3>Evidence and next receipt</h3><p><b>Next operating proof:</b> ${esc(s.watch)}</p><details open><summary>Evidence drawer</summary>${sourceLinks(s.source_ids)}</details></section></div><div class=\"fg-actions\"><button type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button><button type=\"button\" data-system-role-map=\"${esc(system.id)}\">Open stack-role comparison →</button><button type=\"button\" data-system-readiness=\"${esc(system.id)}\">Readiness gates →</button>${ecosystemsById.has(system.id)?`<button type=\"button\" data-guide-map=\"${esc(system.id)}\">Relationship map →</button>`:''}</div></div></article>`;\n}\nfunction renderFieldGuide(){\n const q=guideQuery.trim().toLowerCase();\n const records=systemRecords(),visible=records.filter(system=>(systemsScope==='all'||system.coverage===systemsScope)&&(!q||system.search.includes(q)));\n if(visible.length&&!visible.some(system=>system.id===guideSelected))guideSelected=visible[0].id;\n const selected=visible.find(system=>system.id===guideSelected),detail=selected?(selected.coverage==='deep'?coreSystemDetail(selected):specialistSystemDetail(selected)):'<div class=\"fg-empty\">No tracked system matches this filter. Clear the search or show all coverage.</div>';\n document.getElementById('fieldGuide').innerHTML=`<header class=\"fg-intro\"><span class=\"liq-kicker\">Systems · 34 tracked technologies and operating families · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>One directory. One stable system page.</h2><p>Every system now enters through the same page grammar: plain answer, current evidence state, what changed, stack role, boundaries and next receipt. Coverage differences remain explicit.</p><p class=\"fg-boundary\">${esc(technologyBuildout.boundary)}</p></header>\n <section class=\"fg-distinctions\" aria-label=\"Important distinctions\">${fieldGuide.quick_distinctions.map(x=>`<article class=\"fg-distinction\"><h3>${esc(x.title)}</h3><p>${esc(x.explanation)}</p></article>`).join('')}</section>\n <div class=\"fg-tools\"><label class=\"fg-search\">Find any tracked system, token, deal, role or build<input id=\"guideSearch\" type=\"search\" value=\"${esc(guideQuery)}\" placeholder=\"QNT, Ondo, Stellar, XRP, custody, CAT…\"></label><div class=\"fg-categories\" role=\"group\" aria-label=\"Filter by evidence coverage\"><button type=\"button\" data-systems-scope=\"all\" aria-pressed=\"${systemsScope==='all'}\">All systems · ${records.length}</button><button type=\"button\" data-systems-scope=\"deep\" aria-pressed=\"${systemsScope==='deep'}\">Deep profiles · ${fieldGuide.profiles.length}</button><button type=\"button\" data-systems-scope=\"specialist\" aria-pressed=\"${systemsScope==='specialist'}\">Specialist coverage · ${expansion.systems.length}</button></div></div>\n ${systemComparePanel()}<div class=\"fg-layout\">${guideList(visible)}${detail}</div>`;\n document.getElementById('guideSearch')?.addEventListener('input',e=>{guideQuery=e.target.value;renderFieldGuide();document.getElementById('guideSearch')?.focus();});\n syncHubContext();\n}\nfunction commandSourceIds(system){\n if(!system)return [];\n if(system.coverage==='specialist')return [...new Set(system.specialist.source_ids||[])];\n const p=system.profile,b=system.build;\n return [...new Set([...(p.source_ids||[]),...(b.current_builds||[]).flatMap(item=>item.source_ids||[]),...(b.deals_and_integrations||[]).flatMap(item=>item.source_ids||[]),...(b.native_token?.source_ids||[])])];\n}\nfunction commandCurrent(system){\n if(system.coverage==='specialist')return {headline:system.specialist.latest_development,date:system.specialist.latest_date,state:guideStageLabel(system.specialist.latest_state),boundary:system.specialist.latest_boundary};\n return {headline:system.build.headline,date:system.build.refreshed_through,state:guideStageLabel(system.build.transition_state),boundary:system.build.transition_assessment.not_proved};\n}\nfunction commandRail(records){\n const q=commandQuery.trim().toLowerCase(),visible=records.filter(system=>!q||system.search.includes(q));\n const lenses=[['briefing','Overview','The whole field',['briefing']],['systems','Structure','Who and what connects',['systems']],['flows','Operation','How things move',['flows']],['rules','Change','Law, state and proof',['rules','evidence']]];\n let context='';\n if(commandLens==='systems'||commandLens==='evidence')context=`<h2>${commandLens==='systems'?'Structure in view':'Evidence for one system'} · ${records.length}</h2><div class=\"cmd-systems\">${visible.map(system=>`<button type=\"button\" data-command-system=\"${esc(system.id)}\" aria-pressed=\"${guideSelected===system.id}\"><b>${esc(system.label)}</b><small>${esc(system.kind)} · ${esc(guideStageLabel(system.state))}</small></button>`).join('')||'<p class=\"cmd-empty\">No tracked system matches that search.</p>'}</div>`;\n else if(commandLens==='flows')context=`<h2>Transaction routes</h2><div class=\"cmd-systems\">${data.process_walk.routes.map(route=>`<button type=\"button\" data-command-route=\"${esc(route.id)}\" aria-pressed=\"${route.id===hubRoute}\"><b>${esc(route.tab)}</b><small>${esc(route.title)}</small></button>`).join('')}</div>`;\n else if(commandLens==='rules')context=`<h2>Change in view</h2><div class=\"cmd-systems\"><button type=\"button\" data-command-law=\"genius\" aria-pressed=\"${commandLawFocus==='genius'}\"><b>GENIUS proposals</b><small>Rule package and issuer gates</small></button><button type=\"button\" data-command-law=\"innovation\" aria-pressed=\"${commandLawFocus==='innovation'}\"><b>SEC Innovation order</b><small>Eligibility and transaction design</small></button><button type=\"button\" data-command-law=\"functions\" aria-pressed=\"${commandLawFocus==='functions'}\"><b>Who may do what?</b><small>${qualifications.functions.length} legal functions</small></button><button type=\"button\" data-command-law=\"readiness\" aria-pressed=\"${commandLawFocus==='readiness'}\"><b>Readiness requirements</b><small>${transition.requirements.length} separate gates</small></button><button type=\"button\" data-command-lens=\"evidence\"><b>Evidence and open receipts</b><small>Sources, gaps and clocks for a selected system</small></button></div>`;\n else context=`<h2>Joined questions</h2><div class=\"cmd-systems\"><button type=\"button\" data-command-preset=\"QNT\"><b>Why did QNT rise?</b><small>Buildout · law · value capture · causation</small></button><button type=\"button\" data-command-system=\"ondo-us-stack\"><b>What is Ondo actually operating?</b><small>Product · market access · record · cash</small></button><button type=\"button\" data-command-law=\"genius\"><b>What would GENIUS change?</b><small>Authority · eligibility · operation</small></button><button type=\"button\" data-command-route=\"securities\"><b>How does a tokenized share work?</b><small>Movement · rights · books · remedy</small></button></div>`;\n return `<nav class=\"cmd-rail\" aria-label=\"Crypto knowledge roots and contextual index\"><h2>Choose a root</h2><div class=\"cmd-lenses\">${lenses.map(([id,label,note,active])=>`<button type=\"button\" data-command-lens=\"${id}\" aria-pressed=\"${active.includes(commandLens)}\"><b>${label}</b><small>${note}</small></button>`).join('')}</div><label class=\"cmd-search\">Search the complete Hub<input id=\"commandSearch\" type=\"search\" value=\"${esc(commandQuery)}\" placeholder=\"System, rule, function, route, source…\"></label>${context}</nav>`;\n}\nfunction commandProof(system){\n if(commandLens==='briefing')return `<aside class=\"cmd-proof\" aria-label=\"Knowledge roots in view\"><h2>Roots in view</h2><section><span class=\"cmd-state\">STRUCTURE</span><b>${systemRecords().length} tracked families</b><p>Technology, issuer, operator, network, token and dependency remain separate objects.</p></section><section><span class=\"cmd-state\">OPERATION</span><b>${data.process_walk.routes.length} joined routes</b><p>Movement, rights, records, books, cash, authority, finality and remedy stay aligned.</p></section><section><span class=\"cmd-state\">CHANGE</span><b>${qualifications.functions.length} legal functions</b><p>Proposal, permission, appointment, operation, scale and correction keep separate clocks.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">PROOF FLOOR</span><b>${data.sources.length} source objects</b><p>Coverage never substitutes for exact claim support; gaps remain visible.</p></section></aside>`;\n if(commandLens==='flows'){const route=hubRouteRecord();return `<aside class=\"cmd-proof\" aria-label=\"Transaction context in view\"><h2>Transaction context</h2><section><span class=\"cmd-state\">ROUTE</span><b>${esc(route.tab)} · ${esc(route.title)}</b><p>${esc(route.today)}</p></section><section><span class=\"cmd-state\">LEGAL JOIN</span><b>Rights and authority travel with the route</b><p>A technical event does not silently create title, permission or discharge.</p></section><section><span class=\"cmd-state\">BOOKS JOIN</span><b>Record and accounting clocks stay visible</b><p>Network movement, authoritative posting and cash settlement can occur at different times.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">SEQUENCE RULE</span><b>Teaching order is not one universal clock</b><p>Steps may overlap, branch or remain external to the crypto layer.</p></section></aside>`;}\n if(commandLens==='rules')return `<aside class=\"cmd-proof\" aria-label=\"Legal clocks in view\"><h2>Legal clocks in view</h2><section><span class=\"cmd-state\">PROPOSAL</span><b>Fed GENIUS package</b><p>A proposal qualifies no entity and proves no operating route.</p></section><section><span class=\"cmd-state\">EFFECTIVE ORDER</span><b>SEC Innovation package</b><p>Eligibility and transaction conditions do not establish that a named system is selected or live.</p></section><section><span class=\"cmd-state\">ENTITY</span><b>Capacity must be exact</b><p>Registration, membership, service role and appointment answer different questions.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">READINESS</span><b>Operation still needs a receipt</b><p>Functional fit and legal permission do not prove production, scale or stress recovery.</p></section></aside>`;\n const current=commandCurrent(system),ids=commandSourceIds(system),coverage=system.coverage==='deep'?'Deep architecture, build, deals and value-capture profile':'Specialist architecture and current-development coverage';\n return `<aside class=\"cmd-proof\" aria-label=\"Evidence in view\"><h2>Evidence in view</h2><section><span class=\"cmd-state\">CURRENT RECORD</span><b>${esc(current.state)} · ${esc(current.date)}</b><p>${esc(current.headline)}</p></section><section><span class=\"cmd-state\">COVERAGE</span><b>${esc(coverage)}</b><p>${system.coverage==='deep'?'This profile carries the shared deep-field grammar.':'Missing parity is shown rather than invented.'}</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">DO NOT OVERCLAIM</span><b>Current boundary</b><p>${esc(current.boundary||system.boundary)}</p></section><section><span class=\"cmd-state\">SOURCES</span><b>${ids.length} joined records for ${esc(system.label)}</b><div class=\"source-list\">${sourceLinks(ids)}</div></section></aside>`;\n}\nfunction commandBriefing(records){\n const quant=records.find(system=>system.id==='quant')||records[0],ondo=records.find(system=>system.id==='ondo-us-stack')||records.find(system=>system.label.toLowerCase().includes('ondo')),qc=commandCurrent(quant),oc=ondo?commandCurrent(ondo):null,commentClock=fedGenius.clocks.find(clock=>clock.id==='comment-period')||fedGenius.clocks[0];\n return `<header><span class=\"cmd-kicker\">Crypto knowledge roots · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>Structure. Operation. Change.</h2><p class=\"cmd-lede\">The Hub keeps one body of research and lets each root become the focus without losing the others. Sources and cutoffs remain underneath every answer.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Structure</small><b>${records.length} tracked families</b></div><div class=\"cmd-stat\"><small>Operation</small><b>${data.process_walk.routes.length} joined routes</b></div><div class=\"cmd-stat\"><small>Change</small><b>${qualifications.functions.length} legal functions</b></div><div class=\"cmd-stat\"><small>Proof floor</small><b>${data.sources.length} source objects</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card\"><span class=\"cmd-kicker\">STRUCTURE · WHO AND WHAT EXISTS</span><h3>${esc(quant.label)} · ${esc(qc.state)}</h3><p>${esc(qc.headline)}</p>${ondo?`<h4>${esc(ondo.label)} · ${esc(oc.state)}</h4><p>${esc(oc.headline)}</p>`:''}<p class=\"cmd-boundary\">A company, product, network, token, issuer and regulated operator never inherit one another’s roles.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"systems\">Explore structure</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">OPERATION · HOW IT WORKS</span><h3>Share · Dollar · Fund</h3>${data.process_walk.routes.map(route=>`<h4>${esc(route.tab)}</h4><p>${esc(route.title)}</p>`).join('')}<p class=\"cmd-boundary\">Technical movement, authoritative record, books, cash settlement and remedy are separate endpoints.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"flows\">Follow an operation</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">CHANGE · WHAT STATE MOVED</span><h3>Law, permission and readiness</h3><p>${esc(fedGenius.status)} · ${esc(commentClock.label)}: ${esc(commentClock.value)}</p><h4>${esc(innovation.title)}</h4><p>${esc(innovation.boundary)}</p><p class=\"cmd-boundary\">Proposal, permission, operation, scale, stress and correction keep separate clocks.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"rules\">Inspect change</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">PROOF FLOOR · SOURCES AND BOUNDARIES</span><h3>What the record establishes</h3><p>Capability, relationship, pilot, production, scale, stress and causal effect are distinct evidence states.</p><h4>Current held questions</h4><p>Direct QNT price causation · mandatory token demand · generalized adoption from a named pilot · legal effect inferred from technical state.</p><p class=\"cmd-boundary\">An absent receipt stays visible as a gap, never a negative finding.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"evidence\">Inspect sources and boundaries</button></section></div>`;\n}\nfunction commandSystemView(system){\n const current=commandCurrent(system);\n if(system.coverage==='specialist'){\n  const s=system.specialist,seatById=Object.fromEntries(expansion.seats.map(seat=>[seat.id,seat]));\n  return `<header class=\"cmd-header-row\"><div><span class=\"cmd-kicker\">${esc(system.kind)} · specialist coverage</span><h2>${esc(system.label)}</h2><p class=\"cmd-lede\">${esc(system.summary)}</p></div><div class=\"cmd-actions\"><button class=\"cmd-action\" type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button></div></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Observed state</small><b>${esc(current.state)}</b></div><div class=\"cmd-stat\"><small>Latest record</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Model</small><b>${esc(s.model)}</b></div><div class=\"cmd-stat\"><small>Jurisdiction</small><b>${esc(s.jurisdiction)}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>What changed</h3><p>${esc(s.latest_development)}</p><p class=\"cmd-boundary\"><b>Receipt boundary:</b> ${esc(s.latest_boundary)}</p></section><section class=\"cmd-card wide\"><h3>Where it sits in the stack</h3>${s.fits.map(fit=>{const seat=seatById[fit.seat_id],subs=seat.sublayers.filter(layer=>fit.sublayer_ids.includes(layer.id));return `<h4>${esc(seat.label)} · ${esc(subs.map(layer=>layer.label).join(' · '))}</h4><p>${esc(fit.note)}</p>`;}).join('')}</section><section class=\"cmd-card\"><h3>Still needed</h3><p>${esc(s.watch)}</p></section><section class=\"cmd-card\"><h3>Not proved</h3><p>${esc(s.boundary)}</p></section><section class=\"cmd-card wide\"><h3>Coverage honesty</h3><p>This specialist record does not silently inherit a deals ledger, transaction anatomy, legal-register role or token-value-capture profile. Those fields remain visibly unproved.</p></section></div>${commandDeepTools(system)}`;\n }\n const p=system.profile,b=system.build;\n return `<header class=\"cmd-header-row\"><div><span class=\"cmd-kicker\">${esc(system.kind)} · deep profile</span><h2>${esc(system.label)}</h2><p class=\"cmd-lede\"><b>Plain answer:</b> ${esc(p.what_it_is)} ${esc(p.why_following)}</p></div><div class=\"cmd-actions\"><button class=\"cmd-action\" type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button></div></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Observed state</small><b>${esc(current.state)}</b></div><div class=\"cmd-stat\"><small>Latest record</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Primary role</small><b>${esc(p.attachments.slice(0,2).join(' · '))}</b></div><div class=\"cmd-stat\"><small>Token / claim</small><b>${esc(b.native_token.symbol)}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>What changed</h3><p>${esc(b.transition_assessment.what_changed)}</p><div class=\"cmd-update\"><time>LIVE NOW</time><div><p>${esc(b.transition_assessment.live_now)}</p></div></div><div class=\"cmd-update\"><time>BUILDING</time><div><p>${esc(b.transition_assessment.still_building)}</p></div></div><div class=\"cmd-update\"><time>NOT PROVED</time><div><p>${esc(b.transition_assessment.not_proved)}</p></div></div></section><section class=\"cmd-card wide\"><h3>What they are building</h3>${b.current_builds.map(item=>`<div class=\"cmd-update\"><time>${esc(item.date)}</time><div><h4>${esc(item.name)} · ${esc(guideStageLabel(item.state))}</h4><p>${esc(item.summary)}</p><p class=\"cmd-boundary\">${esc(item.boundary)}</p></div></div>`).join('')}</section><section class=\"cmd-card wide\"><h3>Deals and connections</h3>${b.deals_and_integrations.map(item=>`<div class=\"cmd-update\"><time>${esc(item.date)}</time><div><h4>${esc(item.counterparty)} · ${esc(guideStageLabel(item.state))}</h4><p>${esc(item.summary)}</p><p class=\"cmd-boundary\">${esc(item.boundary)}</p></div></div>`).join('')}</section><section class=\"cmd-card\"><h3>How it works</h3><ol>${p.how_it_works.map(step=>`<li>${esc(step)}</li>`).join('')}</ol></section><section class=\"cmd-card\"><h3>Role in the stack</h3><p>${esc(p.observed_state)}</p><p><b>Controls:</b> ${esc(p.controls.join(' · '))}</p><p><b>Does not control:</b> ${esc(p.does_not_control.join(' · '))}</p></section><section class=\"cmd-card wide\"><h3>${esc(b.native_token.symbol)} · token or issued claim</h3><p><b>Role:</b> ${esc(b.native_token.role)}</p><p><b>Required channel:</b> ${esc(b.native_token.required_channel)}</p><p><b>Value-capture reading:</b> ${esc(b.native_token.value_capture)}</p></section><section class=\"cmd-card\"><h3>What we are watching next</h3><ul>${p.watch_for.map(item=>`<li>${esc(item)}</li>`).join('')}</ul></section><section class=\"cmd-card\"><h3>Do not confuse</h3><ul>${p.do_not_confuse.map(item=>`<li>${esc(item)}</li>`).join('')}</ul></section></div>${commandDeepTools(system)}`;\n}\nfunction commandDeepTools(system){\n return `<details class=\"cmd-tools\"><summary>Specialist analytical views · only when you need them</summary><div>${system.coverage==='specialist'?'<button class=\"cmd-action\" data-room=\"expansion\">Stack-role map</button>':'<button class=\"cmd-action\" data-room=\"map\">Relationship map</button>'}<button class=\"cmd-action\" data-room=\"transition\">Readiness matrix</button><button class=\"cmd-action\" data-room=\"overview\">Institutional map</button><button class=\"cmd-action\" data-room=\"legal\">Legal process</button></div></details>`;\n}\nfunction commandDeals(records){\n const rows=records.flatMap(system=>system.coverage==='deep'?system.build.deals_and_integrations.map(item=>({system,item,type:'deal'})):[{system,item:{counterparty:'Specialist current development',date:system.specialist.latest_date,state:system.specialist.latest_state,summary:system.specialist.latest_development,boundary:'No separate governed deals ledger: '+system.specialist.latest_boundary},type:'specialist'}]).sort((a,b)=>String(b.item.date).localeCompare(String(a.item.date)));\n return `<header><span class=\"cmd-kicker\">Deals, builds and institutional connections</span><h2>What is connected—and at what evidence state?</h2><p class=\"cmd-lede\">Named relationships, software availability, pilots and completed operating events stay different. Specialist developments are shown, but never relabeled as deals.</p></header><div class=\"cmd-feed\">${rows.map(({system,item,type})=>`<article><div><span class=\"cmd-feed-meta\">${esc(system.label)} · ${esc(item.date)}</span><div class=\"cmd-feed-state\">${esc(guideStageLabel(item.state))}</div></div><div><h3>${esc(item.counterparty)}</h3><p>${esc(item.summary)}</p></div><div><p><b>${type==='specialist'?'Coverage note':'Boundary'}</b><br>${esc(item.boundary)}</p><button class=\"cmd-action\" type=\"button\" data-command-system=\"${esc(system.id)}\">System context</button></div></article>`).join('')}</div>`;\n}\nfunction commandFlows(){\n const route=hubRouteRecord();\n return `<header><span class=\"cmd-kicker\">Transaction flows · one route, all lenses</span><h2>Follow ${esc(route.tab)} without leaving the canvas.</h2><p class=\"cmd-lede\">Movement, rights, records, books, authority, cash, remedy and evidence stay aligned. The numbered sequence is explanatory; legal and accounting clocks can overlap.</p></header><div class=\"cmd-route-list\">${data.process_walk.routes.map(r=>`<button class=\"cmd-route-button\" type=\"button\" data-command-route=\"${esc(r.id)}\" aria-pressed=\"${r.id===hubRoute}\"><b>${esc(r.tab)}</b><br><small>${esc(r.title)}</small></button>`).join('')}</div><section class=\"cmd-card wide\"><h3>${esc(route.title)}</h3><p>${esc(route.today)}</p><div class=\"cmd-flow\">${route.steps.map((step,index)=>`<article><span>${String(index+1).padStart(2,'0')}</span><b>${esc(step.title)}</b><small>${esc(step.what)}</small></article>`).join('')}</div></section><div class=\"cmd-grid\">${route.steps.map((step,index)=>`<section class=\"cmd-card\"><span class=\"cmd-kicker\">Step ${index+1}</span><h3>${esc(step.title)}</h3><p>${esc(step.what)}</p>${step.seats.slice(0,3).map(seat=>`<h4>${esc(seat.seat)}</h4><p><b>Today:</b> ${esc(seat.today)}<br><b>Crypto overlap:</b> ${esc(seat.overlap)}<br><b>Did it take the books?</b> ${esc(seat.overtake)}</p>`).join('')}</section>`).join('')}</div><details class=\"cmd-tools\"><summary>Specialist route tools</summary><div><button class=\"cmd-action\" data-room=\"xray\">Aligned X-ray</button><button class=\"cmd-action\" data-room=\"journey\">Participant map</button><button class=\"cmd-action\" data-room=\"rights\">Rights and records</button><button class=\"cmd-action\" data-room=\"books\">Books and cash</button></div></details>`;\n}\nfunction commandRules(){\n const commentClock=fedGenius.clocks.find(clock=>clock.id==='comment-period')||fedGenius.clocks[0];\n return `<header><span class=\"cmd-kicker\">Rules, permissions and readiness</span><h2>What is permitted—and what is actually operating?</h2><p class=\"cmd-lede\">Functional fit, legal seat, appointment, operating receipt, scale and stress are separate gates. Rule packages remain labeled by their own legal clock.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Legal functions</small><b>${qualifications.functions.length}</b></div><div class=\"cmd-stat\"><small>Readiness requirements</small><b>${transition.requirements.length}</b></div><div class=\"cmd-stat\"><small>Tracked systems</small><b>${systemRecords().length}</b></div><div class=\"cmd-stat\"><small>Current route</small><b>${esc(hubRouteRecord().tab)}</b></div></div><div class=\"cmd-grid\"><section id=\"command-law-genius\" tabindex=\"-1\" class=\"cmd-card ${commandLawFocus==='genius'?'command-focus':''}\"><span class=\"cmd-kicker\">PROPOSAL CLOCK</span><h3>Federal Reserve GENIUS package</h3><p>${esc(fedGenius.status)}</p><p><b>${esc(commentClock.label)}:</b> ${esc(commentClock.value)} · ${esc(commentClock.state)}</p><p class=\"cmd-boundary\">A final rule, entity approval and operating receipt remain separate future facts.</p></section><section id=\"command-law-innovation\" tabindex=\"-1\" class=\"cmd-card ${commandLawFocus==='innovation'?'command-focus':''}\"><span class=\"cmd-kicker\">EFFECTIVE ORDER</span><h3>${esc(innovation.title)}</h3><p>${esc(innovation.summary||innovation.scope||innovation.boundary)}</p><p class=\"cmd-boundary\">${esc(innovation.boundary)}</p></section><section id=\"command-law-functions\" tabindex=\"-1\" class=\"cmd-card wide ${commandLawFocus==='functions'?'command-focus':''}\"><h3>Who may perform each function?</h3><div class=\"cmd-grid\">${qualifications.functions.map(fn=>`<article><h4>${esc(fn.display_title)}</h4><p>${esc(fn.question)}</p><p><b>Qualification test:</b> ${esc(fn.qualification_check)}</p></article>`).join('')}</div></section><section id=\"command-law-readiness\" tabindex=\"-1\" class=\"cmd-card wide ${commandLawFocus==='readiness'?'command-focus':''}\"><h3>Readiness is a chain, not a badge</h3><div class=\"cmd-flow\"><article><span>01</span><b>Functional fit</b><small>Can it perform the job?</small></article><article><span>02</span><b>Legal seat</b><small>May an eligible entity occupy it?</small></article><article><span>03</span><b>Appointment</b><small>Is it named for this arrangement?</small></article><article><span>04</span><b>Operating receipt</b><small>Did the exact route complete?</small></article><article><span>05</span><b>Scale and stress</b><small>Does it recur and recover?</small></article></div></section></div><details class=\"cmd-tools\"><summary>Specialist legal and readiness tools</summary><div><button class=\"cmd-action\" data-room=\"routes\">Exact legal pathways</button><button class=\"cmd-action\" data-room=\"transition\">34-system readiness matrix</button><button class=\"cmd-action\" data-room=\"genius\">Fed GENIUS package</button><button class=\"cmd-action\" data-room=\"legal\">SEC and legal process</button><button class=\"cmd-action\" data-room=\"liquidity\">Liquidity and collateral</button></div></details>`;\n}\nfunction commandEvidence(system){\n const ids=commandSourceIds(system),current=commandCurrent(system);\n return `<header><span class=\"cmd-kicker\">Evidence and boundaries</span><h2>What supports the current ${esc(system.label)} reading?</h2><p class=\"cmd-lede\">The answer, source, operating clock and limit stay together. Source count is coverage, not proof of importance or adoption.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Joined system sources</small><b>${ids.length}</b></div><div class=\"cmd-stat\"><small>Hub sources</small><b>${data.sources.length}</b></div><div class=\"cmd-stat\"><small>Evidence cutoff</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Coverage depth</small><b>${system.coverage==='deep'?'Deep profile':'Specialist'}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>Current finding</h3><p>${esc(current.headline)}</p><p class=\"cmd-boundary\"><b>Limit:</b> ${esc(current.boundary)}</p></section><section class=\"cmd-card\"><h3>Reading rule</h3><p>Proposal, agreement, investment, software capability, pilot, production, scale, settlement and legal effect are different facts and clocks.</p></section><section class=\"cmd-card\"><h3>Coverage rule</h3><p>A missing relationship is an explicit evidence gap, not proof that the relationship does not exist.</p></section><section class=\"cmd-card wide\"><h3>Joined source records</h3><div class=\"source-list\">${sourceLinks(ids)}</div></section></div>`;\n}\nfunction commandSearchView(records){\n const q=commandQuery.trim().toLowerCase(),stop=new Set(['a','an','and','at','did','does','for','how','in','is','of','on','the','to','what','why','with']),tokens=[...new Set(q.split(/[^a-z0-9]+/).filter(token=>token.length>1&&!stop.has(token)))];\n const score=text=>{const hay=String(text).toLowerCase();return (hay.includes(q)?tokens.length+3:0)+tokens.reduce((sum,token)=>sum+(hay.includes(token)?1:0),0)};\n const ranked=(items,text)=>items.map(item=>({item,score:score(text(item))})).filter(row=>row.score>0).sort((a,b)=>b.score-a.score).map(row=>row.item);\n const systems=ranked(records,system=>system.search);\n const functions=ranked(qualifications.functions,fn=>[fn.display_title,fn.question,fn.qualification_check].join(' '));\n const routes=ranked(data.process_walk.routes,route=>[route.tab,route.title,route.today,...route.steps.flatMap(step=>[step.title,step.what,...step.seats.flatMap(seat=>[seat.seat,seat.today,seat.overlap,seat.overtake])])].join(' '));\n const sources=ranked(data.sources,source=>[source.label,source.date,source.boundary,source.url].join(' ')).slice(0,20);\n const total=systems.length+functions.length+routes.length+sources.length;\n return `<header><span class=\"cmd-kicker\">Search every research dimension</span><h2>${total} joined result${total===1?'':'s'} for “${esc(commandQuery)}”</h2><p class=\"cmd-lede\">Results remain grouped by what they are. A matching technology, legal function, transaction route and source are not flattened into one evidence class.</p></header><div class=\"cmd-grid\">${systems.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">SYSTEMS & ENTITIES · ${systems.length}</span>${systems.map(system=>{const current=commandCurrent(system);return `<h3><button class=\"cmd-action\" type=\"button\" data-command-system=\"${esc(system.id)}\">${esc(system.label)}</button></h3><p>${esc(current.headline)}</p><p class=\"cmd-boundary\">${esc(current.boundary)}</p>`;}).join('')}</section>`:''}${functions.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">LAW & AUTHORITY · ${functions.length}</span>${functions.map(fn=>`<h3>${esc(fn.display_title)}</h3><p>${esc(fn.question)}</p><p><b>Qualification test:</b> ${esc(fn.qualification_check)}</p>`).join('')}</section>`:''}${routes.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">TRANSACTIONS · ${routes.length}</span>${routes.map(route=>`<h3>${esc(route.tab)} · ${esc(route.title)}</h3><p>${esc(route.today)}</p><button class=\"cmd-action\" type=\"button\" data-command-route=\"${esc(route.id)}\">Keep this route in view</button>`).join('')}</section>`:''}${sources.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">SOURCE OBJECTS · ${sources.length}${sources.length===20?' shown':''}</span><div class=\"source-list\">${sourceLinks(sources.map(source=>source.id))}</div></section>`:''}${!total?'<p class=\"cmd-empty\">No exact joined result. Try one remembered word, a system, legal function, transaction step or source label.</p>':''}</div>`;\n}\nfunction renderCommandSurface(){\n const records=systemRecords(),system=systemRecordById(guideSelected)||records[0];\n const body=commandQuery.trim()?commandSearchView(records):commandLens==='briefing'?commandBriefing(records):commandLens==='systems'?commandSystemView(system):commandLens==='flows'?commandFlows():commandLens==='rules'?commandRules():commandEvidence(system);\n document.getElementById('commandHub').innerHTML=`<div class=\"cmd-shell\">${commandRail(records)}<main class=\"cmd-main\">${body}</main>${commandProof(system)}</div>`;\n document.getElementById('commandSearch')?.addEventListener('input',event=>{commandQuery=event.target.value;renderCommandSurface();document.getElementById('commandSearch')?.focus();});\n syncHubContext();\n}\ndocument.addEventListener('click',event=>{\n const landscape=event.target.closest('[data-command-landscape]');if(landscape){commandLens='briefing';commandQuery='';openCryptoRoom('command');return;}\n const lens=event.target.closest('[data-command-lens]');if(lens){commandLens=lens.dataset.commandLens;openCryptoRoom('command');return;}\n const system=event.target.closest('[data-command-system]');if(system){guideSelected=system.dataset.commandSystem;commandLens='systems';commandQuery='';openCryptoRoom('command');return;}\n const route=event.target.closest('[data-command-route]');if(route){setHubRoute(route.dataset.commandRoute,false);commandLens='flows';openCryptoRoom('command');return;}\n const preset=event.target.closest('[data-command-preset]');if(preset){commandQuery=preset.dataset.commandPreset;openCryptoRoom('command');return;}\n const law=event.target.closest('[data-command-law]');if(law){commandQuery='';commandLens='rules';commandLawFocus=law.dataset.commandLaw;openCryptoRoom('command');requestAnimationFrame(()=>{const target=document.getElementById('command-law-'+commandLawFocus);target?.focus({preventScroll:true});target?.scrollIntoView({block:'center'});});return;}\n});\ndocument.addEventListener('click',e=>{\n const profile=e.target.closest('[data-guide-profile]');if(profile){guideSelected=profile.dataset.guideProfile;history.replaceState(null,'','#systems-'+guideSelected);renderFieldGuide();syncHubContext();return;}\n const scope=e.target.closest('[data-systems-scope]');if(scope){systemsScope=scope.dataset.systemsScope;renderFieldGuide();return;}\n const compare=e.target.closest('[data-system-compare]');if(compare){const id=compare.dataset.systemCompare;if(systemsCompare.has(id))systemsCompare.delete(id);else if(systemsCompare.size<3)systemsCompare.add(id);renderFieldGuide();return;}\n if(e.target.closest('[data-system-compare-clear]')){systemsCompare.clear();renderFieldGuide();return;}\n const roleMap=e.target.closest('[data-system-role-map]');if(roleMap){expansionSelected=roleMap.dataset.systemRoleMap;expansionSelectedSeat='';expansionSeat='all';expansionQuery='';openCryptoRoom('expansion');requestAnimationFrame(()=>document.getElementById('sxDetail')?.scrollIntoView({block:'start'}));return;}\n const readiness=e.target.closest('[data-system-readiness]');if(readiness){transitionView='system';transitionSystem=readiness.dataset.systemReadiness;openCryptoRoom('transition');return;}\n const map=e.target.closest('[data-guide-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.guideMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}return;}\n});\n\nlet hubRoute='securities',xrayStep=0,xrayOverlay=true,xrayLayer='all';\nfunction hubRouteRecord(id=hubRoute){return data.process_walk.routes.find(r=>r.id===id)||data.process_walk.routes[0];}\nfunction syncHubRouteBar(){document.querySelectorAll('[data-hub-route]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.hubRoute===hubRoute)));}\nfunction setHubRoute(id,rerender=true){\n if(!data.process_walk.routes.some(r=>r.id===id))return;\n hubRoute=id;walkRoute=id;rightsRoute=id;booksRoute=id;journeyRoute=id;rightsFilter='all';journeyScenario='ordinary';\n const b=data.books_hub.routes.find(r=>r.id===id),j=data.transaction_maps.routes.find(r=>r.id===id);\n booksStep=b.steps[0].id;journeySelected=j.nodes[0].id;xrayStep=0;syncHubRouteBar();\n if(!rerender)return;\n if(activeRoom==='command')renderCommandSurface();else if(activeRoom==='xray')renderXray();else if(activeRoom==='walk')renderWalk();else if(activeRoom==='journey')journeyCommit();else if(activeRoom==='books')renderBooks();else if(activeRoom==='rights')renderRights();\n}\nfunction hubRoomCard(room,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-room=\"${esc(room)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubMapCard(mode,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-workspace-map-mode=\"${esc(mode)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubViewCard(room,view,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-hub-subview-room=\"${esc(room)}\" data-hub-subview=\"${esc(view)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubSubviewButton(room,view,label){return `<button type=\"button\" data-hub-subview-room=\"${esc(room)}\" data-hub-subview=\"${esc(view)}\">${esc(label)}</button>`;}\nfunction openHubSubview(room,view){\n if(room==='map'){setMode(view);openCryptoRoom('map');return;}\n if(view==='room'){openCryptoRoom(room);return;}\n if(room==='genius')fedTab=view;\n if(room==='transition'){transitionView=view;transitionSystem=view==='system'?(transitionSystem||'ripple'):'';}\n if(room==='legal')legalTab=view;\n if(room==='liquidity')liqTab=view;\n if(room==='xray'){xrayLayer=view;openCryptoRoom('xray');return;}\n openCryptoRoom(room,false);\n history.replaceState(null,'',`#${room}?view=${encodeURIComponent(view)}`);\n}\nlet homeDeepSearchIndex=null;\nfunction homeSearchStrings(value,out=[]){\n if(value===null||value===undefined)return out;\n if(typeof value==='string'||typeof value==='number'){const raw=String(value),parts=raw.length>4000?raw.split(/\\n{2,}/):[raw];parts.forEach(part=>{const text=part.replace(/\\s+/g,' ').trim();if(!text)return;if(text.length<=1200)out.push(text);else for(let start=0;start<text.length;start+=1100)out.push(text.slice(start,start+1200));});return out;}\n if(Array.isArray(value)){value.forEach(item=>homeSearchStrings(item,out));return out;}\n if(typeof value==='object')Object.entries(value).forEach(([key,item])=>{if(!['color','dash','url'].includes(key))homeSearchStrings(item,out);});\n return out;\n}\nfunction homeSearchNormalize(value){return String(value||'').normalize('NFKD').replace(/[\\u0300-\\u036f]/g,'').toLowerCase().replace(/[^a-z0-9]+/g,' ').trim();}\nfunction homeSearchStem(value){return value.length>5?value.replace(/(ization|ational|ments|ment|ingly|edly|ing|ers|ies|ed|es|s)$/,''):value;}\nfunction homeSearchTokens(value){return [...new Set(homeSearchNormalize(value).split(' ').filter(token=>token.length>1).map(homeSearchStem))];}\nfunction homeSearchWordMatch(word,token){return word===token||word.startsWith(token)||token.length>3&&token.startsWith(word)||token.length>3&&word.includes(token);}\nfunction homeSearchBuildIndex(){\n const fed=data.fed_genius_hub,legal=data.legal_process_hub,liq=data.liquidity_hub,transition=data.transition_gates,currentIds=new Set(data.current_stack_ids||[]),currentEcosystems=data.ecosystems.filter(item=>currentIds.has(item.id)),currentNodeIds=new Set(currentEcosystems.flatMap(item=>item.node_ids||[])),currentNodes=data.nodes.filter(item=>currentNodeIds.has(item.id)),currentEdges=data.edges.filter(item=>currentNodeIds.has(item.from)&&currentNodeIds.has(item.to)),sourceIndex=data.sources.map(source=>({id:source.id,label:source.label,publisher:source.publisher,date:source.date,url:source.url})),sourceReports=data.sources.filter(source=>source.local_text).map(source=>({id:source.id,label:source.label,text:source.local_text}));\n const targets=[\n  ['guide','room','Systems & entities → Field Guide','Tracked Systems Field Guide','company network token connector plain language controls deals integrations builds transition value capture return gates', [data.technology_field_guide,data.technology_buildout]],\n  ['map','explore','Systems & entities → Crypto map','Entities, relationships and ecosystems','entity organization product network rail relationship control partnership operating source',[data.nodes,data.edges,data.ecosystems,data.relationship_types,sourceIndex,data.bank_research]],\n  ['overview','room','Systems & entities → Whole institutional map','Institutions, access routes and rulebooks','institution member access route rulebook authority arrangement market structure',[data.infrastructure_map,data.market_overview]],\n  ['overview','room','Evidence → Saved Hub reports','Full source reports connected to the Hub','research report source evidence analysis finding boundary',sourceReports],\n  ['stack','room','Systems & entities → Current stack','Current securities, dollar and fund rails','incumbent current share dollar fund rail cash settlement',[currentEcosystems,currentNodes,currentEdges]],\n  ['expansion','room','Systems & entities → Stack expansion','Expanded technology and control stack','technology control rights settlement sublayer seat architecture',data.stack_expansion],\n  ['banks','room','Systems & entities → Major bank transition','Major bank digital transition comparison','bank asset manager digital money tokenization custody settlement collateral financing recovery research thesis',data.bank_transition_comparison],\n  ['corporate','room','Systems & entities → Corporate stacks','Corporate stack comparison','company group ownership operating dimension peer',data.corporate_stack_comparison],\n  ['securitize','room','Systems & entities → Securitize anatomy','Securitize anatomy','regulated entity lifecycle record model security fund cash leg ripple genius',data.securitize_anatomy],\n  ['xray','all','Transactions → X-ray','Transaction X-ray','movement rights record books cash authority permission remedy failure correction',[data.process_walk,data.steps_rights_hub,data.books_hub,data.transaction_maps]],\n  ['walk','room','Transactions → Walk','Plain-language transaction walk','today overlap overtake step sequence share dollar fund',data.process_walk],\n  ['journey','room','Transactions → Transaction maps','Transaction maps and exceptions','participant lane milestone scenario exception overlay',data.transaction_maps],\n  ['rights','room','Transactions → Steps & rights','Rights, obligations and controlling records','right obligation authoritative controlling record completion evidence',data.steps_rights_hub],\n  ['books','room','Transactions → Debits & credits','Books, accounts and fiduciary records','debit credit ledger account cash posting reconciliation',data.books_hub],\n  ['map','process','Transactions → Crypto map → Process','Process coverage','tokenization stablecoin foreign exchange lifecycle stage process role coverage',data.process_maps],\n  ['map','trace','Transactions → Crypto map → Trace','Evidence traces','asset claim evidence path walkthrough boundary',data.asset_traces],\n  ['map','accounting','Transactions → Crypto map → Accounting','Accounting and finality','claim record cash settlement finality balance sheet accounting',data.accounting_layers],\n  ['genius','entities','Rules & permissions → Fed GENIUS','Fed GENIUS entity map','federal reserve payment stablecoin issuer subsidiary legal entity reserve custodian distributor',fed.entity_map],\n  ['genius','layers','Rules & permissions → Fed GENIUS','Fed GENIUS seven layers','institutional layer supervision reserve redemption custody reporting examination capital',fed.layers],\n  ['genius','gates','Rules & permissions → Fed GENIUS','Fed GENIUS twelve gates','application approval eligibility operating gate proof receipt',fed.gates],\n  ['genius','clocks','Rules & permissions → Fed GENIUS','Fed GENIUS nine clocks','proposal comment final rule effective date application approval redemption reporting examination',fed.clocks],\n  ['genius','ecosystems','Rules & permissions → Fed GENIUS','Fed GENIUS ecosystem impacts','ecosystem overlap impact company network adapter reserve custody',fed.overlaps],\n  ['genius','questions','Rules & permissions → Fed GENIUS','Fed GENIUS 277 questions','request for comment question cluster issue section',fed.question_clusters],\n  ['legal','walk','Rules & permissions → Legal process','Legal foundations and process','authority statute rule contract claim evidence legal effect',[legal.steps,legal.subtitle]],\n  ['legal','innovation','Rules & permissions → SEC package','SEC Innovation Exemption','securities exchange commission order exemption eligible actor tokenized stock',legal.innovation_exemption_overlay],\n  ['legal','layers','Rules & permissions → Legal process','Authority layers','legal authority layer regulator rulebook contract arrangement',legal.layers],\n  ['legal','qualifications','Rules & permissions → Legal process','Actors and qualifications','actor function qualification assessment assignment eligibility',legal.qualifications],\n  ['legal','cases','Rules & permissions → Legal process','Worked legal cases','case finding gap status transaction',legal.cases],\n  ['routes','room','Rules & permissions → Permissions & players','Legal pathways and named players','function pathway condition legal basis entity appointment participation',data.legal_routes_map],\n  ['transition','gate','Qualification & evidence → Transition gates','Fourteen transition requirements','functional fit legal seat exact route operating receipt scale stress requirement proof boundary',[transition.requirements,transition.qualification_path,transition.groups]],\n  ['transition','system','Qualification & evidence → Transition gates','System qualification results','technology system family fit dependency evidence',transition.requirements.map(requirement=>requirement.fits)],\n  ['liquidity','layers','Qualification & evidence → Liquidity','Liquidity rule layers','liquidity collateral reserve capital rule funding constraint',liq.layers],\n  ['liquidity','routes','Qualification & evidence → Liquidity','Liquidity route comparisons','route cash collateral provider restriction comparison',liq.routes],\n  ['liquidity','flow','Qualification & evidence → Liquidity','Funding lifecycle','funding stage available reusable release lifecycle',liq.stages]\n ];\n homeDeepSearchIndex=targets.map(([room,view,breadcrumb,label,aliases,payload])=>{const strings=[label,breadcrumb,aliases,...homeSearchStrings(payload)],normalized=homeSearchNormalize(strings.join(' ')),words=[...new Set(normalized.split(' ').filter(Boolean).map(homeSearchStem))];return {room,view,breadcrumb,label,strings,normalized,words};});\n return homeDeepSearchIndex;\n}\nfunction homeSearchSnippet(row,tokens){\n const candidates=row.strings.map(text=>({text,normalized:homeSearchNormalize(text),hits:tokens.filter(token=>homeSearchNormalize(text).split(' ').some(word=>homeSearchWordMatch(homeSearchStem(word),token))).length})).filter(item=>item.hits).sort((a,b)=>b.hits-a.hits||a.text.length-b.text.length);\n const selected=[];for(const item of candidates){if(selected.some(text=>text.toLowerCase()===item.text.toLowerCase()))continue;selected.push(item.text.length>210?item.text.slice(0,207)+'…':item.text);if(selected.length===2)break;}\n return selected.join(' · ')||'Matching content is inside this room.';\n}\nfunction homeDeepSearch(query){\n const tokens=homeSearchTokens(query);if(!tokens.length)return [];\n return (homeDeepSearchIndex||homeSearchBuildIndex()).map(row=>{const matches=tokens.every(token=>row.words.some(word=>homeSearchWordMatch(word,token)));if(!matches)return null;const heading=homeSearchNormalize(row.label+' '+row.breadcrumb),headingHits=tokens.filter(token=>heading.split(' ').some(word=>homeSearchWordMatch(homeSearchStem(word),token))).length;return {...row,score:headingHits*20+tokens.filter(token=>row.normalized.includes(token)).length,snippet:homeSearchSnippet(row,tokens)};}).filter(Boolean).sort((a,b)=>b.score-a.score||a.label.localeCompare(b.label));\n}\nfunction filterHomeAtlas(){\n const q=homeAtlasQuery.trim().toLowerCase();let visible=0;\n document.querySelectorAll('#hubHome .home-system-card,#hubHome .home-recent-card').forEach(card=>{const show=!q||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)visible+=1;});\n document.querySelectorAll('#hubHome .atlas-family').forEach(family=>{const meta=[family.querySelector('.liq-kicker')?.textContent,family.querySelector('h3')?.textContent,family.querySelector(':scope>p')?.textContent].join(' ').toLowerCase(),familyMatch=!q||meta.includes(q);let cards=0;family.querySelectorAll('.hub-room-card').forEach(card=>{const show=familyMatch||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)cards+=1;});family.hidden=cards===0;if(cards)visible+=1;});\n document.querySelectorAll('#hubHome .embedded-room').forEach(card=>{const show=!q||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)visible+=1;});\n const results=document.getElementById('homeSearchResults'),matches=q?homeDeepSearch(q):[];\n if(results){results.hidden=!q;results.innerHTML=q?`<div class=\"home-search-summary\"><b>${matches.length} matching ${matches.length===1?'room':'rooms'} inside the Hub</b><small>Full-content search · titles, explanations, entities, relationships, questions, boundaries and source labels</small></div><div class=\"home-search-grid\">${matches.slice(0,24).map(row=>`<button type=\"button\" class=\"home-search-result\" data-hub-subview-room=\"${esc(row.room)}\" data-hub-subview=\"${esc(row.view)}\"><small>${esc(row.breadcrumb)}</small><b>${esc(row.label)}</b><span>${esc(row.snippet)}</span></button>`).join('')}</div>${matches.length>24?`<p class=\"home-empty\">Showing the 24 strongest room matches. Add another remembered word to narrow ${matches.length-24} more.</p>`:''}`:'';}\n const empty=document.getElementById('homeAtlasEmpty');if(empty)empty.hidden=visible>0||matches.length>0;\n}\nfunction renderWorkspaceHub(workspace){\n const target=document.getElementById('workspaceHub');\n const commentClock=fedGenius.clocks.find(clock=>clock.id==='comment')||fedGenius.clocks[0];\n target.innerHTML=`<header class=\"hub-home-intro\"><span class=\"liq-kicker\">Rules &amp; proof · authority, readiness and evidence</span><h2>What is permitted—and what is actually proved?</h2><p>Start with the question. Legal permission, technical fit, operating receipt, scale and stress evidence remain separate clocks.</p></header><div class=\"hub-workspace-grid\"><article class=\"hub-question\"><span class=\"liq-kicker\">Who may do this?</span><h3>Permission and responsible actors</h3><div class=\"hub-room-list\">${hubRoomCard('routes','Who may perform the function?','Follow function → pathway → conditions → eligible entity → named evidence.','Start here')}${hubRoomCard('legal','How does legal effect arise?','Inspect legal foundations, actor qualifications, transaction assignments and worked cases.')}${hubRoomCard('overview','Institutional context','See institutions, access routes, rulebooks, arrangements and transaction cells.')}</div></article><article class=\"hub-question\"><span class=\"liq-kicker\">Is it actually ready?</span><h3>Qualification and operating proof</h3><div class=\"hub-room-list\">${hubRoomCard('transition','Readiness gates','Test fourteen requirements against all 34 governed technology families.','Gate matrix')}${hubRoomCard('liquidity','Liquidity and collateral','Compare rule layers, reserve constraints, funding routes and reuse clocks.')}${hubMapCard('accounting','Accounting and finality','Inspect which claim, record or book changed—and what still did not settle.')}</div></article></div><section aria-label=\"Current rule packages\"><span class=\"liq-kicker\">What rule changes it?</span><div class=\"rule-package-grid\"><article class=\"rule-package proposed\"><span class=\"fgx-proposal\">${esc(fedGenius.status)}</span><h3>Federal Reserve GENIUS proposals</h3><dl><dt>Authority</dt><dd>Federal Reserve Board</dd><dt>Legal subject</dt><dd>Payment stablecoin issuer and the insured-state-member-bank subsidiary route</dd><dt>Current clock</dt><dd>${esc(commentClock.label)} · ${esc(commentClock.value)} · ${esc(commentClock.state)}</dd><dt>Receipt needed</dt><dd>A final rule, entity-specific approval and operating evidence remain distinct future receipts.</dd></dl>${hubRoomCard('genius','Open the Fed package','Entity map, seven layers, twelve gates, nine clocks and 277 questions.')}</article><article class=\"rule-package\"><span class=\"xr-status\">Effective order</span><h3>${esc(innovation.title)}</h3><dl><dt>Authority</dt><dd>Securities and Exchange Commission</dd><dt>Legal subject</dt><dd>The eligible actor and transaction design defined by the order</dd><dt>Current clock</dt><dd>Effective at the ${esc(innovation.evidence_cutoff.slice(0,10))} saved cutoff</dd><dt>Receipt needed</dt><dd>${esc(innovation.boundary)}</dd></dl>${hubRoomCard('innovation','Open the SEC package','Eight gates, overlap states, ecosystem matrix and implementation watches.')}</article></div></section><section aria-label=\"Qualification evidence chain\"><div class=\"workspace-path\"><article><b>1 · Functional fit</b><small>Can it perform the required function?</small></article><article><b>2 · Legal seat</b><small>May an eligible entity occupy the role?</small></article><article><b>3 · Operating receipt</b><small>Did the exact route complete in production?</small></article><article><b>4 · Scale and stress</b><small>Does it recur and recover under pressure?</small></article></div></section>`;\n}\nfunction homeTrackedSystems(){\n const dated=(items,fallback)=>items.map(item=>item.date).filter(date=>/^\\d{4}-\\d{2}-\\d{2}$/.test(date)).sort().at(-1)||fallback;\n const core=fieldGuide.profiles.map(profile=>{const build=buildoutByEcosystem.get(profile.ecosystem_id),items=build.current_builds.concat(build.deals_and_integrations);return {id:profile.ecosystem_id,label:profile.plain_name,group:'Core profile',room:'guide',state:build.transition_state,date:dated(items,build.refreshed_through),summary:build.headline};});\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,group:'Specialist system',room:'expansion',state:system.latest_state,date:system.latest_date,summary:system.latest_development}));\n return core.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction homeSystemCard(system,recent=false){return `<button type=\"button\" class=\"${recent?'home-recent-card':'home-system-card'}\" data-home-system=\"${esc(system.id)}\" data-home-system-room=\"${esc(system.room)}\"><small>${esc(system.group)} · ${esc(system.date)}</small><b>${esc(system.label)}</b><span>${esc(system.summary)}</span><em>${esc(guideStageLabel(system.state))}</em></button>`;}\nfunction renderHubHome(){\n const family=(kicker,title,description,cards)=>`<article class=\"atlas-family\" data-atlas-searchable><span class=\"liq-kicker\">${esc(kicker)}</span><h3>${esc(title)}</h3><p>${esc(description)}</p><div class=\"hub-room-list\">${cards}</div></article>`;\n const embedded=(workspace,title,description,buttons)=>`<article class=\"embedded-room\" data-atlas-searchable><span class=\"liq-kicker\">${esc(workspace)}</span><h4>${esc(title)}</h4><p>${esc(description)}</p><div class=\"subview-chips\">${buttons}</div></article>`;\n const systems=hubRoomCard('guide','Tracked Systems Field Guide','Plain-language directory for all governed systems.')+hubViewCard('map','explore','Crypto relationship map','Entities, products, networks and typed relationships.')+hubRoomCard('overview','Whole institutional map','Institutions, access routes, rulebooks and connections.')+hubRoomCard('stack','Current stack map','Today’s securities, dollar and fund rails.')+hubRoomCard('expansion','Stack expansion','Ten seats and 34 technology/control sublayers.')+hubRoomCard('banks','Major bank transition','Sixteen institutions across seven separately evidenced transition surfaces.','New')+hubRoomCard('corporate','Corporate stack comparison','Seven groups across seven operating dimensions.')+hubRoomCard('securitize','Securitize anatomy','Entities, lifecycle, record models and cash-leg interfaces.');\n const transactions=hubViewCard('xray','all','Transaction X-ray','Five aligned layers for Share, Dollar or Fund.','Start here')+hubRoomCard('walk','Plain-language Walk','Read one route from beginning to end.')+hubRoomCard('journey','Transaction maps','Participant lanes, overlays and exceptions.')+hubRoomCard('rights','Steps & rights','Rights, obligations and authoritative records.')+hubRoomCard('books','Debits & credits','Whose books or fiduciary records move.')+hubViewCard('map','process','Process coverage','Tokenization, stablecoin and FX lifecycle grids.')+hubViewCard('map','trace','Evidence traces','Follow a named asset or claim.')+hubViewCard('map','compare','Lifecycle comparison','Compare systems at the same stage.')+hubViewCard('map','accounting','Accounting & finality','Separate claims, records, cash and settlement.');\n const rules=hubViewCard('genius','entities','Fed GENIUS entity map','Legal entities, claims, assets and dependencies.','New')+hubViewCard('legal','innovation','SEC Innovation Exemption','Eight gates and technology-overlap matrix.')+hubRoomCard('routes','Permissions & players','Function → pathway → conditions → evidence.')+hubViewCard('legal','qualifications','Who does what?','Actors, roles, assessments and transaction assignments.');\n const qualificationCards=hubViewCard('transition','gate','Transition gates','Fourteen requirements across 34 system families.')+hubViewCard('transition','system','System qualification view','Start with a system and inspect every gate it touches.')+hubViewCard('liquidity','layers','Liquidity & collateral','Rule layers and funding constraints.')+hubViewCard('map','accounting','Accounting & finality','What changed on which book—and what did not settle.');\n const embeddedViews=[\n  embedded('Rules & permissions → Fed GENIUS','Six coordinated Fed views','The proposal room contains six separate infographics; open any one directly.',hubSubviewButton('genius','entities','Entity map')+hubSubviewButton('genius','layers','Seven layers')+hubSubviewButton('genius','gates','Twelve gates')+hubSubviewButton('genius','clocks','Nine clocks')+hubSubviewButton('genius','ecosystems','Twenty ecosystems')+hubSubviewButton('genius','questions','277 questions')),\n  embedded('Systems + Transactions → Crypto map','Six map modes','The same governed registry can be read structurally, sequentially, comparatively or as accounting.',hubSubviewButton('map','explore','Explore')+hubSubviewButton('map','full','Full map')+hubSubviewButton('map','process','Process')+hubSubviewButton('map','trace','Trace')+hubSubviewButton('map','compare','Compare')+hubSubviewButton('map','accounting','Accounting')),\n  embedded('Transactions → X-ray','Six layer settings','All-aligned is the default; isolate a layer without losing the joined route context.',hubSubviewButton('xray','all','All aligned')+hubSubviewButton('xray','movement','Movement')+hubSubviewButton('xray','record','Rights & record')+hubSubviewButton('xray','books','Books & cash')+hubSubviewButton('xray','authority','Authority')+hubSubviewButton('xray','remedy','Remedy')),\n  embedded('Rules & permissions → Legal process','Five legal views','Keep legal foundations, an effective order, authority layers, qualifications and cases distinct.',hubSubviewButton('legal','walk','Step by step')+hubSubviewButton('legal','innovation','Innovation order')+hubSubviewButton('legal','layers','Authority layers')+hubSubviewButton('legal','qualifications','Who does what?')+hubSubviewButton('legal','cases','Worked cases')),\n  embedded('Qualification & evidence → Transition gates','Two directions through the matrix','Start with a required function or with a named technology family.',hubSubviewButton('transition','gate','Start with a gate')+hubSubviewButton('transition','system','Start with a system')),\n  embedded('Qualification & evidence → Liquidity','Three liquidity views','Separate rule constraints, route comparisons and the funding lifecycle.',hubSubviewButton('liquidity','layers','Rule layers')+hubSubviewButton('liquidity','routes','Route comparisons')+hubSubviewButton('liquidity','flow','Funding lifecycle')),\n  embedded('Systems & entities → Securitize anatomy','Embedded company layers','Regulated entities · operating scale · security lifecycle · record models · Ripple comparison · GENIUS cash-leg interface · watch questions.',hubSubviewButton('securitize','room','Open anatomy room')),\n  embedded('Systems & entities → Stack comparisons','Embedded structural layers','Current stack: Share, Dollar and Fund rails. Stack expansion: ten seats and 34 sublayers. Major-bank transition: 16 institutions and seven capability surfaces. Corporate comparison: seven operating dimensions.',hubSubviewButton('stack','room','Current stack')+hubSubviewButton('expansion','room','Stack expansion')+hubSubviewButton('banks','room','Major banks')+hubSubviewButton('corporate','room','Corporate comparison')),\n  embedded('Systems & entities → Whole institutional map','Embedded market layers','Institutions · member and access routes · rulebooks · roles · legal foundations · assessments · arrangements · transaction cells · liquidity.',hubSubviewButton('overview','room','Open whole map'))\n ].join('');\n const allSystems=homeTrackedSystems(),featuredIds=['quant','ondo-us-stack','fireblocks-tokeny','cat-reporting','backed-xstocks','dinari-dshares','circle','partior-money'],recent=featuredIds.map(id=>allSystems.find(system=>system.id===id)).filter(Boolean);\n document.getElementById('hubHome').innerHTML=`<header class=\"hub-home-intro\"><span class=\"liq-kicker\">Crypto Infrastructure Hub · 34 tracked systems · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>What do you want to understand?</h2><p>Begin with the remembered question—not the Hub’s filing system. Every path below opens the governed evidence directly.</p></header><section class=\"hub-question-grid\" aria-label=\"Start with a question\"><article class=\"hub-question\"><span class=\"liq-kicker\">A system</span><h3>What is it building?</h3><p>Open one stable profile for QNT, Ondo, Stellar, Ripple or any other tracked system.</p>${hubRoomCard('systems','Browse all 34 systems','Architecture, current developments, deals, stack role and evidence.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A transaction</span><h3>How does it actually work?</h3><p>Keep one Share, Dollar or Fund route while inspecting movement, records, books, authority and remedy.</p>${hubRoomCard('xray','Follow a route','Start with the joined transaction view.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A permission</span><h3>Who may do this?</h3><p>Follow the function through its legal pathway, conditions, eligible entity and named evidence.</p>${hubRoomCard('routes','Check permission','Open the function-to-actor route.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A claim</span><h3>Is it actually ready?</h3><p>Test functional fit, legal seat, exact route, operating receipt, scale and stress separately.</p>${hubRoomCard('transition','Test readiness','Open the fourteen-gate matrix.')}</article></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">Search the complete Hub</span><h3>Use any word you remember</h3></div><p>Search entities, technologies, deals, explanations, relationships, questions, evidence boundaries and source labels.</p></div><div class=\"atlas-tools\"><label>Search everything inside the Hub<input id=\"homeAtlasSearch\" type=\"search\" value=\"${esc(homeAtlasQuery)}\" placeholder=\"Try Ondo, QNT, Fund/SERV, tokenized deposits or a half-remembered phrase…\"></label></div><div class=\"home-search-results\" id=\"homeSearchResults\" aria-live=\"polite\" hidden></div></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">What changed recently</span><h3>Current developments, without opening another gate</h3></div><p>Each card preserves its own evidence state. Announcement, pilot, live availability and named use are not interchangeable.</p></div><div class=\"home-recent-grid\">${recent.map(system=>homeSystemCard(system,true)).join('')}</div></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">Complete technology directory</span><h3>All 34 systems we follow</h3></div><p>Twenty systems have full architecture, build, deal and value-capture profiles. Fourteen specialist families carry the fields their governed records actually support.</p></div><div class=\"home-system-grid\">${allSystems.map(system=>homeSystemCard(system)).join('')}</div><p class=\"home-empty\" id=\"homeAtlasEmpty\" hidden>No Hub content matches that search. Try one remembered word or a shorter phrase.</p></section><details class=\"home-deep\"><summary>Specialist comparison and analysis tools</summary><div><div class=\"visual-atlas\">${family('Systems','Compare or inspect structure','Relationship, stack, bank, corporate and company-control tools.',systems)}${family('How it works','Change the transaction lens','Route, rights, books, lifecycle and finality tools.',transactions)}${family('Rules & proof','Authority, qualification and evidence','Rule packages, legal routes, readiness, liquidity and finality.',rules+qualificationCards)}</div></div></details><details class=\"home-deep\"><summary>Exact lenses inside those tools</summary><div><p>These direct links are available when you already know the exact lens you want.</p><div class=\"embedded-index\">${embeddedViews}</div></div></details><section class=\"hub-lens\"><div><span class=\"liq-kicker\">Reading rule</span><h3>Easy to reach does not mean proved.</h3><p>The rebuilt front door removes navigation gates while preserving the exact data owner, legal state, operating clock, boundary and source record behind every answer.</p></div></section>`;\n filterHomeAtlas();\n}\nconst corporateStack=data.corporate_stack_comparison;\nconst corporateStates=new Map(corporateStack.states.map(x=>[x.id,x]));\nconst bankTransition=data.bank_transition_comparison;\nconst bankStates=new Map(bankTransition.states.map(x=>[x.id,x]));\nconst bankSources=new Map(bankTransition.sources.map(x=>[x.id,x]));\nconst bankArchetypes=new Map(bankTransition.archetypes.map(x=>[x.id,x]));\nfunction bankSourceLinks(ids){return `<div class=\"bt-sources\">${ids.map(id=>bankSources.get(id)).filter(Boolean).map(source=>`<a href=\"${esc(source.url)}\" target=\"_blank\" rel=\"noopener\">${esc(source.publisher)} · ${esc(source.title)} · ${esc(source.date)}</a>`).join('')}</div>`;}\nfunction bankStateBadge(id){const state=bankStates.get(id);return `<span class=\"bt-state ${esc(id)}\" title=\"${esc(state.meaning)}\">${esc(state.id.toUpperCase())} · ${esc(state.label)}</span>`;}\nfunction renderBankDetail(){\n const institution=bankTransition.institutions.find(item=>item.id===bankSelected)||bankTransition.institutions[0],dimension=bankTransition.dimensions.find(item=>item.id===bankCapability)||bankTransition.dimensions[0],capability=institution.capabilities[dimension.id],archetype=bankArchetypes.get(institution.archetype_id);\n const target=document.getElementById('btDetail');if(!target)return;\n target.innerHTML=`<div class=\"bt-detail-grid\"><section class=\"bt-profile\"><span class=\"liq-kicker\">${esc(archetype.label)} · ${institution.g_sib?'2025 G-SIB':'incumbent asset-manager comparator'}</span><h3>${esc(institution.label)}</h3><p><b>Operating thesis:</b> ${esc(institution.thesis)}</p><p><b>Current frontier:</b> ${esc(institution.frontier)}</p><p class=\"bt-limit\"><b>Whole-institution boundary:</b> ${esc(institution.boundary)}</p><p><b>Next receipt:</b> ${esc(institution.watch)}</p><details><summary>Institution source base</summary>${bankSourceLinks(institution.source_ids)}</details></section><section class=\"bt-capability\"><span class=\"liq-kicker\">Selected surface · ${esc(dimension.label)}</span><h3>${esc(dimension.question)}</h3>${bankStateBadge(capability.state)}<p>${esc(capability.detail)}</p><p class=\"bt-limit\"><b>Do not overclaim:</b> ${esc(capability.boundary)}</p><details open><summary>Evidence for this cell</summary>${bankSourceLinks(capability.source_ids)}</details><p><b>Why this surface matters:</b> ${esc(dimension.description)}</p></section></div>`;\n}\nfunction bankVisible(institution){const query=bankQuery.trim().toLowerCase(),archetypeMatch=bankArchetype==='all'||institution.archetype_id===bankArchetype,queryMatch=!query||[institution.label,institution.kind,institution.domicile,institution.thesis,institution.frontier,institution.boundary,institution.watch,...Object.values(institution.capabilities).flatMap(item=>[item.detail,item.boundary])].join(' ').toLowerCase().includes(query);return archetypeMatch&&queryMatch;}\nfunction renderBankTransition(){\n const target=document.getElementById('bankTransitionHub'),gSibs=bankTransition.institutions.filter(item=>item.g_sib).length,liveCells=bankTransition.institutions.flatMap(item=>Object.values(item.capabilities)).filter(item=>['m4','m5','m6'].includes(item.state)).length;\n target.innerHTML=`<header class=\"bt-hero\"><span class=\"liq-kicker\">Comparative transition constitution · evidence through ${esc(bankTransition.cutoff)}</span><h2>${esc(bankTransition.title)}</h2><p>${esc(bankTransition.summary)}</p><p class=\"bt-boundary\">${esc(bankTransition.boundary)}</p></header><div class=\"bt-metrics\"><article class=\"bt-metric\"><strong>${bankTransition.institutions.length}</strong><small>institutions in the governed cohort</small></article><article class=\"bt-metric\"><strong>${gSibs}</strong><small>2025 FSB G-SIB groups</small></article><article class=\"bt-metric\"><strong>${bankTransition.dimensions.length}</strong><small>separately evidenced capability surfaces</small></article><article class=\"bt-metric\"><strong>${liveCells}</strong><small>bounded-live or recurring-production cells</small></article></div><p><b>Method:</b> ${esc(bankTransition.method_note)}</p><div class=\"bt-legend\">${bankTransition.states.map(state=>bankStateBadge(state.id)).join('')}</div><div class=\"bt-tools\"><label>Find an institution, product or transition claim<input id=\"bankSearch\" type=\"search\" value=\"${esc(bankQuery)}\" placeholder=\"Citi, collateral, tokenized deposits…\"></label><label>Transition model<select id=\"bankArchetype\"><option value=\"all\">All models</option>${bankTransition.archetypes.map(item=>`<option value=\"${esc(item.id)}\" ${bankArchetype===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><label>Focus one surface<select id=\"bankDimension\"><option value=\"all\">All seven surfaces</option>${bankTransition.dimensions.map(item=>`<option value=\"${esc(item.id)}\" ${bankDimension===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><button type=\"button\" id=\"bankReset\">Reset view</button></div><div class=\"bt-table-wrap\"><table class=\"bt-table\"><thead><tr><th>Institution <small>select a row</small></th>${bankTransition.dimensions.map(dimension=>`<th ${bankDimension!=='all'&&bankDimension!==dimension.id?'hidden':''}>${esc(dimension.label)}<small>${esc(dimension.question)}</small></th>`).join('')}</tr></thead><tbody>${bankTransition.institutions.map(institution=>`<tr class=\"bt-row\" data-bank-row=\"${esc(institution.id)}\" ${bankVisible(institution)?'':'hidden'}><th scope=\"row\"><button class=\"bt-institution\" type=\"button\" data-bank-institution=\"${esc(institution.id)}\"><b>${esc(institution.label)}</b><small>${esc(institution.kind)} · ${esc(bankArchetypes.get(institution.archetype_id).label)}</small></button></th>${bankTransition.dimensions.map(dimension=>{const capability=institution.capabilities[dimension.id];return `<td ${bankDimension!=='all'&&bankDimension!==dimension.id?'hidden':''}><button class=\"bt-cell\" type=\"button\" data-bank-institution=\"${esc(institution.id)}\" data-bank-capability=\"${esc(dimension.id)}\" aria-pressed=\"${institution.id===bankSelected&&dimension.id===bankCapability}\">${bankStateBadge(capability.state)}<p>${esc(capability.detail)}</p></button></td>`;}).join('')}</tr>`).join('')}</tbody></table></div><section class=\"bt-detail\" id=\"btDetail\" aria-live=\"polite\"></section><section><span class=\"liq-kicker\">Five recurring transition models</span><div class=\"bt-archetypes\">${bankTransition.archetypes.map(item=>`<article><h3>${esc(item.label)}</h3><p>${esc(item.description)}</p><small>${bankTransition.institutions.filter(institution=>institution.archetype_id===item.id).map(institution=>esc(institution.label)).join(' · ')}</small></article>`).join('')}</div></section><p class=\"bt-boundary\"><b>Reading rule:</b> M5 on one surface does not pull the other six surfaces forward. Institution-authored research is doctrine evidence; only a named operating route, legal seat and receipt advances an operating cell.</p>`;\n renderBankDetail();\n}\ndocument.addEventListener('click',event=>{\n const bank=event.target.closest('[data-bank-institution]');if(bank){bankSelected=bank.dataset.bankInstitution;if(bank.dataset.bankCapability)bankCapability=bank.dataset.bankCapability;document.querySelectorAll('.bt-cell').forEach(cell=>cell.setAttribute('aria-pressed',String(cell.dataset.bankInstitution===bankSelected&&cell.dataset.bankCapability===bankCapability)));renderBankDetail();document.getElementById('btDetail')?.scrollIntoView({behavior:'smooth',block:'nearest'});return;}\n if(event.target.closest('#bankReset')){bankSelected='citi';bankCapability='money';bankDimension='all';bankArchetype='all';bankQuery='';renderBankTransition();}\n});\ndocument.addEventListener('input',event=>{if(event.target.id==='bankSearch'){bankQuery=event.target.value;document.querySelectorAll('[data-bank-row]').forEach(row=>row.hidden=!bankVisible(bankTransition.institutions.find(item=>item.id===row.dataset.bankRow)));}});\ndocument.addEventListener('change',event=>{if(event.target.id==='bankArchetype'){bankArchetype=event.target.value;renderBankTransition();}if(event.target.id==='bankDimension'){bankDimension=event.target.value;renderBankTransition();}});\nfunction corporateSeat(seat){const st=corporateStates.get(seat.state);return `<span class=\"cs-state ${esc(seat.state)}\" title=\"${esc(st.meaning)}\">${esc(st.label)}</span><p>${esc(seat.text)}</p>`;}\nfunction renderCorporateStacks(){\n const target=document.getElementById('corporateStackHub');\n target.innerHTML=`<header class=\"cs-intro\"><span class=\"liq-kicker\">Corporate stack comparison · evidence through ${esc(corporateStack.cutoff)}</span><h2>${esc(corporateStack.title)}</h2><p>${esc(corporateStack.summary)}</p><p class=\"cs-boundary\">${esc(corporateStack.boundary)}</p></header><div class=\"cs-legend\">${corporateStack.states.map(s=>`<span class=\"cs-state ${esc(s.id)}\" title=\"${esc(s.meaning)}\">${esc(s.label)}</span>`).join('')}</div><div class=\"cs-table-wrap\"><table class=\"cs-table\"><thead><tr><th>Group <small>Bottom-line reading</small></th>${corporateStack.dimensions.map(d=>`<th>${esc(d.label)}<small>${esc(d.question)}</small></th>`).join('')}</tr></thead><tbody>${corporateStack.groups.map(g=>`<tr><th scope=\"row\"><b>${esc(g.label)}</b><p class=\"cs-verdict\">${esc(g.verdict)}</p><p class=\"cs-bound\">${esc(g.boundary)}</p><details class=\"cs-source\"><summary>Evidence</summary>${sourceLinks(g.source_ids)}</details></th>${corporateStack.dimensions.map(d=>`<td>${corporateSeat(g.seats[d.id])}</td>`).join('')}</tr>`).join('')}</tbody></table></div><section class=\"cs-foot\"><span class=\"liq-kicker\">Second ring</span><div class=\"cs-second\">${corporateStack.second_ring.map(x=>`<article><h3>${esc(x.label)}</h3><p>${esc(x.finding)}</p><details><summary>Evidence</summary>${sourceLinks(x.source_ids)}</details></article>`).join('')}</div><p><b>Reading rule:</b> a group enters the closest-peer set when it occupies most seats with operating products. Partners, pending acquisitions, pre-opening charters and roadmaps can form a powerful federation without proving vertical control.</p></section>`;\n}\nconst securitizeAnatomy=data.securitize_anatomy;\nfunction securitizeSources(ids){return `<details class=\"sz-source\"><summary>Primary evidence</summary>${sourceLinks(ids)}</details>`;}\nfunction renderSecuritizeAnatomy(){\n const a=securitizeAnatomy,c=a.ripple_comparison,g=a.genius_act,target=document.getElementById('securitizeHub');\n target.innerHTML=`<header class=\"sz-hero\"><span class=\"liq-kicker\">Company anatomy · evidence through ${esc(a.cutoff)}</span><h2>${esc(a.title)}</h2><p>${esc(a.summary)}</p><p class=\"sz-thesis\"><b>The lens:</b> ${esc(a.thesis)}</p><p class=\"sz-boundary\">${esc(a.boundary)}</p></header>\n <section aria-labelledby=\"sz-scale\"><h2 id=\"sz-scale\">What the operating scale says</h2><div class=\"sz-metrics\">${a.scale.map(x=>`<article class=\"sz-metric\"><strong>${esc(x.value)}</strong><b>${esc(x.label)}</b><small>As of ${esc(x.as_of)}</small><p>${esc(x.meaning)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-body\"><h2 id=\"sz-body\">The regulated operating body</h2><p>The brand is one group; permissions and customer duties attach to the exact entities below.</p><div class=\"sz-entities\">${a.entities.map(x=>`<article class=\"sz-card\"><span class=\"sz-tag\">${esc(x.kind)}</span><h3>${esc(x.label)}</h3><p class=\"sz-status\">${esc(x.status)}</p><p>${esc(x.role)}</p><p class=\"sz-limit\">${esc(x.boundary)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-life\"><h2 id=\"sz-life\">Follow one security through the machine</h2><p>These are functional stages, not a claim that every product uses one route or one clock.</p><div class=\"sz-flow\">${a.lifecycle.map(x=>`<article class=\"sz-step\"><h3>${esc(x.label)}</h3><p>${esc(x.action)}</p><dl><dt>Control seat</dt><dd>${esc(x.control)}</dd><dt>Record to inspect</dt><dd>${esc(x.record)}</dd></dl><p class=\"sz-limit\">${esc(x.boundary)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-models\"><h2 id=\"sz-models\">“On-chain ownership” is not one record model</h2><p>The governing documents decide how public-chain state, identity records and incumbent registers fit together.</p><div class=\"sz-models\">${a.record_models.map(x=>`<article class=\"sz-card sz-model\"><span class=\"sz-status\">${esc(x.state)}</span><h3>${esc(x.label)}</h3><p><b>Authoritative pattern</b><br>${esc(x.authoritative_pattern)}</p><p><b>Outside bodies</b><br>${esc(x.outside_bodies)}</p><p class=\"sz-limit\"><b>Why it matters:</b> ${esc(x.lesson)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section class=\"sz-compare\" aria-labelledby=\"sz-compare\"><span class=\"liq-kicker\">Direct comparison</span><h2 id=\"sz-compare\">${esc(c.title)}</h2><div class=\"sz-compare-intro\"><p class=\"sz-thesis\"><b>Working thesis:</b> ${esc(c.thesis)}</p><p class=\"sz-boundary\">${esc(c.boundary)}</p></div><div class=\"sz-compare-table\"><div class=\"sz-compare-head\"><b>Control seat</b><b>Ripple</b><b>Securitize</b><b>Decisive distinction</b></div>${c.rows.map(x=>`<article class=\"sz-compare-row\"><h3>${esc(x.seat)}</h3><p>${esc(x.ripple)}</p><p>${esc(x.securitize)}</p><div class=\"sz-distinction\"><p><b>${esc(x.distinction)}</b></p>${securitizeSources(x.source_ids)}</div></article>`).join('')}</div><article class=\"sz-interface\"><span class=\"sz-tag\">Live interface · bounded public evidence</span><h3>${esc(c.interface.title)}</h3><ol>${c.interface.steps.map(x=>`<li>${esc(x)}</li>`).join('')}</ol><p class=\"sz-limit\"><b>What the evidence proves:</b> ${esc(c.interface.proof_state)}</p>${securitizeSources(c.interface.source_ids)}</article><section class=\"sz-watch\"><h3>What would deepen or change this comparison</h3><ol>${c.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section></section>\n <section class=\"sz-genius\" aria-labelledby=\"sz-genius\"><span class=\"liq-kicker\">Enacted law · implementation clock through ${esc(g.cutoff)}</span><h2 id=\"sz-genius\">${esc(g.title)}</h2><p class=\"sz-status\">${esc(g.status)}</p><div class=\"sz-compare-intro\"><p class=\"sz-thesis\"><b>The fit:</b> ${esc(g.thesis)}</p><p class=\"sz-boundary\">${esc(g.boundary)}</p></div><div class=\"sz-genius-clocks\">${g.clocks.map(x=>`<article class=\"sz-clock\"><span class=\"sz-tag\">${esc(x.state)}</span><h3>${esc(x.label)}</h3><time>${esc(x.date)}</time><p>${esc(x.meaning)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div><div class=\"sz-genius-table\"><div class=\"sz-genius-head\"><b>Legal question</b><b>Ripple</b><b>Securitize</b><b>What the Act changes</b></div>${g.rows.map(x=>`<article class=\"sz-genius-row\"><h3>${esc(x.question)}</h3><p>${esc(x.ripple)}</p><p>${esc(x.securitize)}</p><div class=\"sz-effect\"><p><b>${esc(x.effect)}</b></p>${securitizeSources(x.source_ids)}</div></article>`).join('')}</div><article class=\"sz-interface\"><span class=\"sz-tag\">Joined transaction · separate claims</span><h3>${esc(g.interface.title)}</h3><ol>${g.interface.steps.map(x=>`<li>${esc(x)}</li>`).join('')}</ol><p class=\"sz-limit\"><b>Reading rule:</b> ${esc(g.interface.reading)}</p>${securitizeSources(g.interface.source_ids)}</article><section class=\"sz-watch\"><h3>GENIUS evidence to watch next</h3><ol>${g.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section></section>\n <section class=\"sz-watch\"><h2>What would change the Securitize reading</h2><ol>${a.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section><div class=\"sz-actions\"><button type=\"button\" data-room=\"corporate\">Return to corporate stacks</button><button type=\"button\" data-guide-securitize>Open Securitize in the Field Guide</button><button type=\"button\" data-map-securitize>Open the governed relationship map</button></div>`;\n}\ndocument.addEventListener('click',e=>{\n if(e.target.closest('[data-guide-securitize]')){guideSelected='securitize';systemsScope='all';guideQuery='';openCryptoRoom('systems');return;}\n if(e.target.closest('[data-map-securitize]')){state.ecosystem='securitize';state.focusedNode=ecosystemsById.get('securitize').root_node_id;ecosystemSelect.value='securitize';state.mode='explore';setMode('explore');openCryptoRoom('map');}\n});\nfunction xrayJoined(){\n const rightsRouteData=data.steps_rights_hub.routes.find(r=>r.id===hubRoute),walkRouteData=data.process_walk.routes.find(r=>r.id===hubRoute),booksRouteData=data.books_hub.routes.find(r=>r.id===hubRoute),journeyRouteData=data.transaction_maps.routes.find(r=>r.id===hubRoute);\n if(xrayStep>=rightsRouteData.steps.length)xrayStep=0;\n const right=rightsRouteData.steps[xrayStep],walk=walkRouteData.steps.find(s=>s.id===right.id),books=booksRouteData.steps.find(s=>s.id===right.id),journey=journeyRouteData.nodes.filter(n=>n.step_ref===right.id);\n return {rightsRouteData,walkRouteData,booksRouteData,journeyRouteData,right,walk,books,journey};\n}\nfunction xrayBookCards(step){\n const rows=[...(step.entries||[]).map(x=>({...x,xrPath:'Ordinary'})),...(xrayOverlay?(step.overlay_entries||[]).map(x=>({...x,xrPath:'Crypto comparison'})):[])];\n const moving=rows.filter(x=>x.book_kind!=='none').slice(0,8),idle=rows.filter(x=>x.book_kind==='none').length;\n if(!moving.length)return `<p class=\"xr-empty\">No proprietary or fiduciary book entry is shown at this step. ${idle} explicit no-entry role${idle===1?'':'s'} remain visible in Debits &amp; credits.</p>`;\n return `<div class=\"xr-book-grid\">${moving.map(x=>`<article class=\"xr-mini xr-book ${esc(x.book_kind)}\"><b>${esc(x.entity_label)} · ${esc(x.xrPath)}</b><span class=\"xr-empty\">${esc(booksKind(x.book_kind).label)}</span>${x.book_kind==='proprietary'||x.book_kind==='fiduciary'?`<p><b>Debit</b> ${esc(x.debit)}</p><p><b>Credit</b> ${esc(x.credit)}</p>`:`<p>${esc(x.role_performed)}</p>`}</article>`).join('')}</div>${idle?`<p class=\"xr-empty\">Plus ${idle} explicit no-entry role${idle===1?'':'s'}; open Debits &amp; credits for the complete discriminator.</p>`:''}`;\n}\nfunction xrayProcessIds(){return ({securities:['tokenization'],payment:['stablecoins','fx-cross-border'],fund:['tokenization']})[hubRoute]||['tokenization'];}\nfunction xrayProcessPanel(){\n const processes=xrayProcessIds().map(id=>processesById.get(id)).filter(Boolean);\n return `<div class=\"xr-wide-grid\">${processes.map(process=>`<article class=\"xr-route-evidence\"><span class=\"liq-kicker\">${esc(process.label)} · lifecycle context</span><h3>${esc(process.label)} process</h3><ol>${process.stages.map((stage,index)=>`<li><b>${index+1}. ${esc(stage.label)}</b><span>${esc(stage.question||stage.description||'Inspect the exact sourced coverage at this stage.')}</span></li>`).join('')}</ol><p class=\"xr-empty\">This is the process constitution around the selected ${esc(hubRouteRecord().tab)} route. It does not assert that one transaction crosses every stage or system.</p></article>`).join('')}</div>`;\n}\nfunction xrayTracePanel(){\n const processIds=new Set(xrayProcessIds()),traces=data.asset_traces.filter(trace=>(trace.process_ids||[trace.process_id]).some(id=>processIds.has(id)));\n return `<div class=\"xr-wide-grid\">${traces.map(trace=>`<details class=\"xr-route-evidence\"><summary><b>${esc(trace.label)}</b><span>${esc(trace.kind||'evidence trace')}</span></summary><p>${esc(trace.description)}</p><ol>${trace.walkthrough.map(step=>`<li>${esc(step)}</li>`).join('')}</ol><p class=\"xr-empty\"><b>Boundary:</b> ${esc(trace.boundary)}</p><p class=\"xr-empty\">${esc(trace.mapping_note||'The trace preserves explicit evidence gaps.')}</p></details>`).join('')}</div>`;\n}\nfunction xrayAccountingPanel(){\n const route=data.books_hub.routes.find(item=>item.id===hubRoute),rights=data.steps_rights_hub.routes.find(item=>item.id===hubRoute);\n return `<div class=\"xr-accounting-table\"><div class=\"xr-accounting-head\"><b>Step</b><b>Right / authoritative record</b><b>Books and cash</b><b>What remains open</b></div>${route.steps.map((step,index)=>{const right=rights.steps[index],entries=[...(step.entries||[]),...(xrayOverlay?(step.overlay_entries||[]):[])],moving=entries.filter(entry=>entry.book_kind!=='none');return `<article><h3>${index+1}. ${esc(step.title)}</h3><p>${esc(right.record)}</p><p>${moving.length?esc(moving.map(entry=>`${entry.entity_label}: ${entry.book_kind}`).join(' · ')):'No proprietary or fiduciary entry shown at this step.'}</p><p class=\"xr-empty\">${esc(right.gap)}</p></article>`;}).join('')}</div><p class=\"xr-empty\">Book entry, authoritative record, cash discharge and legal finality are shown together because they can occur on different clocks.</p>`;\n}\nfunction renderXray(){\n const {rightsRouteData,walkRouteData,journeyRouteData,right,walk,books,journey}=xrayJoined(),status=data.steps_rights_hub.statuses.find(s=>s.id===right.status),before=journey[0]?.before||walk?.what||right.action,after=journey[journey.length-1]?.after||right.proof,sourceIds=[...new Set([...(right.baseline_sources||[]),...(right.crypto_sources||[]),...(books.source_ids||[])])];\n const layerChoices=[['all','Step view'],['movement','Movement'],['record','Rights & record'],['books','Books & cash'],['authority','Authority'],['remedy','Remedy'],['process','Process'],['trace','Evidence traces'],['accounting','Accounting & finality']];\n history.replaceState(null,'','#xray-'+hubRoute+'-'+right.id+'?overlay='+(xrayOverlay?'1':'0')+'&layer='+xrayLayer);\n document.getElementById('xrayHub').innerHTML=`\n  <span class=\"liq-kicker\">Synthesis view · joins existing route, rights and books owners</span>\n  <h2>How it works</h2>\n  <p class=\"xr-intro\"><b>${esc(hubRouteRecord().tab)} · ${esc(rightsRouteData.title)}</b><br>Move one step at a time without leaving the route. Change the lens to inspect movement, records, books, authority, remedy, the wider process, named evidence traces or accounting and finality.</p>\n  <p class=\"xr-boundary\">This is a joined reading of existing evidence, not a new transaction receipt. Technical movement, legal title, book entry, cash discharge and remedy can occur on different clocks.</p>\n  <nav class=\"xr-steps\" aria-label=\"Choose an X-ray step\">${rightsRouteData.steps.map((s,i)=>`<button type=\"button\" data-xray-step=\"${i}\" aria-pressed=\"${i===xrayStep}\"><span>${i+1} / ${rightsRouteData.steps.length}</span>${esc(s.title)}</button>`).join('')}</nav>\n  <div class=\"xr-controls\"><button type=\"button\" data-xray-prev ${xrayStep===0?'disabled':''}>← Previous</button><span class=\"xr-progress\">Step ${xrayStep+1} of ${rightsRouteData.steps.length} · ${esc(right.title)}</span><label><input id=\"xrayOverlay\" type=\"checkbox\" ${xrayOverlay?'checked':''}> Show ${esc(rightsRouteData.overlay)} comparison</label><button type=\"button\" data-xray-next ${xrayStep===rightsRouteData.steps.length-1?'disabled':''}>Next →</button></div>\n  <nav class=\"xr-layerbar\" aria-label=\"Choose X-ray layers\"><strong>Layer focus</strong>${layerChoices.map(([id,label])=>`<button type=\"button\" data-xray-layer=\"${id}\" aria-pressed=\"${xrayLayer===id}\">${label}</button>`).join('')}</nav>\n  <div class=\"xr-layers\">\n   <article class=\"xr-layer\" data-xray-layer-panel=\"movement\"><header><span>Layer 1</span><h3>Action &amp; movement</h3></header><div><p><b>What happens:</b> ${esc(walk?.what||right.action)}</p>${journey.map(n=>`<p>${esc(n.explain)}</p>`).join('')}<div class=\"xr-before-after\"><div class=\"xr-mini\"><b>Before</b>${esc(before)}</div><div class=\"xr-mini\"><b>After / required result</b>${esc(after)}</div></div></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"record\"><header><span>Layer 2</span><h3>Right &amp; authoritative record</h3></header><div><p><b>Right or obligation:</b> ${esc(right.right)}</p><p><b>Controlling record or receipt:</b> ${esc(right.record)}</p></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"books\"><header><span>Layer 3</span><h3>Books &amp; cash</h3></header><div>${xrayBookCards(books)}</div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"authority\"><header><span>Layer 4</span><h3>Authority &amp; permission</h3></header><div><p><b>Who can act:</b> ${esc(right.actors)}</p><p><b>Evidence that completes this step:</b> ${esc(right.proof)}</p></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"remedy\"><header><span>Layer 5</span><h3>Correction, failure &amp; remedy</h3></header><div><p><b>What remains unresolved:</b> ${esc(right.gap)}</p><p><b>Next evidence to obtain:</b> ${esc(right.needed)}</p></div></article>\n   ${xrayOverlay?`<article class=\"xr-layer xr-crypto\" data-xray-layer-panel=\"comparison\"><header><span>Crypto comparison</span><h3>${esc(rightsRouteData.overlay)}</h3></header><div><span class=\"xr-status\">${esc(status?.label||right.status)}</span><p>${esc(right.crypto)}</p><p class=\"xr-empty\">${esc(status?.meaning||'The cited evidence boundary remains controlling.')}</p></div></article>`:''}\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"process\">${xrayProcessPanel()}</section>\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"trace\">${xrayTracePanel()}</section>\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"accounting\">${xrayAccountingPanel()}</section>\n  </div>\n  <div class=\"xr-links\"><details><summary>Specialist detail views</summary><div><button type=\"button\" data-xray-open=\"walk\">Plain-language Walk</button><button type=\"button\" data-xray-open=\"journey\">Participant map</button><button type=\"button\" data-xray-open=\"rights\">Detailed rights</button><button type=\"button\" data-xray-open=\"books\">Full books</button><button type=\"button\" data-xray-open=\"legal\">Related legal question</button></div></details>${evidenceDrawer(sourceIds,right.gap,'Evidence behind this step')}</div>\n  <p class=\"xr-empty\"><b>Route timing:</b> ${esc(journeyRouteData.timing)} ${esc(rightsRouteData.clock)}</p>`;\n document.querySelectorAll('#xrayHub [data-xray-layer-panel]').forEach(panel=>{const name=panel.dataset.xrayLayerPanel,special=['process','trace','accounting'].includes(name),show=xrayLayer==='all'?!special:name===xrayLayer||name==='comparison'&&['movement','record','books','authority','remedy'].includes(xrayLayer);panel.hidden=!show;});\n}\nfunction openXraySource(room){\n const {right,journeyRouteData}=xrayJoined();\n if(room==='journey'){journeySelected=(journeyRouteData.nodes.find(n=>n.step_ref===right.id)||journeyRouteData.nodes[0]).id;journeyScenario='ordinary';}\n if(room==='rights'){rightsFilter='all';}\n if(room==='books'){booksStep=right.id;}\n if(room==='legal'){legalTab='walk';legalStep=Math.max(0,legal.steps.findIndex(s=>s.id===right.legal_step_id));legalCase='';}\n openCryptoRoom(room);\n if(room==='rights')requestAnimationFrame(()=>document.getElementById('rights-'+hubRoute+'-'+right.id)?.scrollIntoView({block:'start'}));\n}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-hub-route]');if(route){setHubRoute(route.dataset.hubRoute);return;}\n const layer=e.target.closest('[data-xray-layer]');if(layer){xrayLayer=layer.dataset.xrayLayer;renderXray();return;}\n const step=e.target.closest('[data-xray-step]');if(step){xrayStep=Number(step.dataset.xrayStep);renderXray();return;}\n if(e.target.closest('[data-xray-prev]')&&xrayStep>0){xrayStep-=1;renderXray();return;}\n if(e.target.closest('[data-xray-next]')){const total=data.steps_rights_hub.routes.find(r=>r.id===hubRoute).steps.length;if(xrayStep<total-1){xrayStep+=1;renderXray();}return;}\n const open=e.target.closest('[data-xray-open]');if(open){openXraySource(open.dataset.xrayOpen);return;}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='xrayOverlay'){xrayOverlay=e.target.checked;renderXray();}});\n\nfunction roomFromHash(){\n const room=location.hash.slice(1)||'command';\n if(room==='command'||room.startsWith('command?')){const q=room.includes('?')?new URLSearchParams(room.split('?')[1]):null,lens=q?.get('lens'),system=q?.get('system'),law=q?.get('law'),route=q?.get('route');if(['briefing','systems','flows','rules','evidence'].includes(lens))commandLens=lens;if(system&&systemRecordById(system))guideSelected=system;if(data.process_walk.routes.some(item=>item.id===route))setHubRoute(route,false);if(['genius','innovation','functions','readiness'].includes(law))commandLawFocus=law;openCryptoRoom('command',false);return;}\n if(room==='home'){commandLens='briefing';openCryptoRoom('command',false);return;}\n if(room==='transactions'){commandLens='flows';openCryptoRoom('command',false);return;}\n if(room==='qualification'){commandLens='rules';openCryptoRoom('command',false);return;}\n if(room==='rules'){commandLens='rules';openCryptoRoom('command',false);return;}\n if(room==='systems'||room.startsWith('systems-')){\n  const id=room.slice(8);if(systemRecordById(id))guideSelected=id;commandLens='systems';openCryptoRoom('command',false);return;\n }\n if(room.startsWith('genius?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['entities','layers','gates','clocks','ecosystems','questions'].includes(view))fedTab=view;openCryptoRoom('genius',false);return;}\n if(room.startsWith('transition?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['gate','system'].includes(view)){transitionView=view;transitionSystem=view==='system'?(transitionSystem||'ripple'):'';}openCryptoRoom('transition',false);return;}\n if(room.startsWith('legal?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['walk','innovation','layers','qualifications','cases'].includes(view))legalTab=view;openCryptoRoom('legal',false);return;}\n if(room.startsWith('liquidity?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['layers','routes','flow'].includes(view))liqTab=view;openCryptoRoom('liquidity',false);return;}\n if(room.startsWith('xray?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['all','movement','record','books','authority','remedy','process','trace','accounting'].includes(view))xrayLayer=view;openCryptoRoom('xray',false);return;}\n if(room==='innovation'){openCryptoRoom('innovation',false);return;}\n if(room==='map'||room.startsWith('map?')){const q=room.includes('?')?new URLSearchParams(room.split('?')[1]):null,mode=q?.get('mode');setMode(['process','trace','compare','accounting','explore','full'].includes(mode)?mode:'explore');openCryptoRoom('map',false);return;}\n if(room==='guide'||room.startsWith('guide-')){\n  const id=room.slice(6);if(systemRecordById(id))guideSelected=id;commandLens='systems';openCryptoRoom('command',false);return;\n }\n if(room==='banks'){openCryptoRoom('banks',false);return;}\n if(room==='corporate'){openCryptoRoom('corporate',false);return;}\n if(room==='securitize'){openCryptoRoom('securitize',false);return;}\n if(room==='xray'||room.startsWith('xray-')){\n  const [path,query]=room.split('?'),route=data.steps_rights_hub.routes.find(r=>path==='xray-'+r.id||path.startsWith('xray-'+r.id+'-'));\n  if(route){setHubRoute(route.id,false);const stepId=path.slice(('xray-'+route.id+'-').length),idx=route.steps.findIndex(s=>s.id===stepId);xrayStep=idx>=0?idx:0;}\n  if(query){const q=new URLSearchParams(query);xrayOverlay=q.get('overlay')!=='0';if(['all','movement','record','books','authority','remedy','process','trace','accounting'].includes(q.get('layer')))xrayLayer=q.get('layer');}\n  openCryptoRoom('xray',false);return;\n }\n if(room==='routes'||room.startsWith('routes-')){const [path,q]=room.split('?'),id=path.slice(7);if(qualifications.functions.some(f=>f.id===id))lrFunction=id;lrPlayer=q?new URLSearchParams(q).get('player')||'':'';if(!data.legal_routes_map.players.some(p=>p.id===lrPlayer))lrPlayer='';openCryptoRoom('routes',false);return;}\n\n if(room==='books'||room.startsWith('books-')){\n  const [path,query]=room.split('?'),r=data.books_hub.routes.find(r=>path==='books-'+r.id||path.startsWith('books-'+r.id+'-')||path==='books');\n  if(r){setHubRoute(r.id,false);const prefix='books-'+r.id+'-';booksStep=path.startsWith(prefix)&&r.steps.some(s=>s.id===path.slice(prefix.length))?path.slice(prefix.length):r.steps[0].id;}\n  if(query){const q=new URLSearchParams(query);booksOverlay=q.get('overlay')==='1';booksMoved=q.get('moved')==='1';}\n  openCryptoRoom('books',false);return;\n }\n if(room==='journey'||room.startsWith('journey-')){\n  const [path,query]=room.split('?'),r=data.transaction_maps.routes.find(r=>path==='journey-'+r.id||path.startsWith('journey-'+r.id+'-'));\n  if(r){setHubRoute(r.id,false);const id=path.slice(('journey-'+r.id+'-').length);journeySelected=r.nodes.concat(r.overlay_nodes).some(n=>n.id===id)?id:r.nodes[0].id;}\n  else {const legacy=path.slice(8);if(journeyData().nodes.some(n=>n.id===legacy))journeySelected=legacy;}\n  if(query){const q=new URLSearchParams(query);journeyOverlay=q.get('overlay')==='1';journeyScenario=journeyData().scenarios.some(s=>s.id===q.get('scenario'))?q.get('scenario'):'ordinary';const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc?.requires_overlay)journeyOverlay=true;}\n  openCryptoRoom('journey',false);return;\n }\n if(room==='rights'||room.startsWith('rights-')){\n  const route=data.steps_rights_hub.routes.find(r=>room==='rights-'+r.id||room.startsWith('rights-'+r.id+'-'));\n  if(route)setHubRoute(route.id,false);\n  if(route&&room!=='rights-'+route.id)rightsFilter='all';\n  openCryptoRoom('rights',false);\n  const target=document.getElementById(room);if(target)requestAnimationFrame(()=>{target.focus({preventScroll:true});target.scrollIntoView({block:'start'});});\n  return;\n }\n\n if(room.startsWith('infra-')){\n  if(room.startsWith('infra-entity-')){const id=room.slice(13);if(data.infrastructure_map.entities.some(n=>n.id===id)){infraSelected=id;infraRelation='';}}\n  openCryptoRoom('overview',false);\n  const target=room.startsWith('infra-entity-')?document.getElementById('infraInspect'):document.getElementById(room);\n  if(target)requestAnimationFrame(()=>target.scrollIntoView({block:'start'}));\n  return;\n }\n if(room==='walk'||room.startsWith('walk-')){\n  const id=room.slice(5);if(data.process_walk.routes.some(r=>r.id===id))setHubRoute(id,false);\n  openCryptoRoom('walk',false);return;\n }\n if(['overview','legal','liquidity','map','books','stack','expansion','banks','corporate','securitize','transition','genius'].includes(room))openCryptoRoom(room,false);\n else openCryptoRoom('command',false);\n}\nwindow.addEventListener('hashchange',roomFromHash);\nroomFromHash();\n\n\"\"\"\n\ndef merge_current_stack(data: dict) -> None:\n    stack = json.loads((ROOT / \"current_stack.json\").read_text(encoding=\"utf-8\"))\n    have_nodes = {n[\"id\"] for n in data[\"nodes\"]}\n    have_edges = {e[\"id\"] for e in data[\"edges\"]}\n    have_ecos = {e[\"id\"] for e in data[\"ecosystems\"]}\n    new_node_ids = []\n    for node in stack[\"nodes\"]:\n        if node[\"id\"] not in have_nodes:\n            data[\"nodes\"].append(node)\n            have_nodes.add(node[\"id\"])\n            new_node_ids.append(node[\"id\"])\n    for edge in stack[\"edges\"]:\n        if edge[\"id\"] not in have_edges:\n            data[\"edges\"].append(edge)\n            have_edges.add(edge[\"id\"])\n    for ecosystem in stack[\"ecosystems\"]:\n        if ecosystem[\"id\"] not in have_ecos:\n            data[\"ecosystems\"].append(ecosystem)\n            have_ecos.add(ecosystem[\"id\"])\n    data[\"current_stack_ids\"] = [e[\"id\"] for e in stack[\"ecosystems\"]]\n    inventory = data[\"legal_process_hub\"][\"qualifications\"][\"inventory\"]\n    inventoried = {item[\"node_id\"] for item in inventory}\n    actors = data[\"legal_process_hub\"][\"qualifications\"][\"actors\"]\n    actor_ids = {a[\"id\"] for a in actors}\n    person_nodes = {\"nscc\", \"federal-reserve-banks\", \"payward-financial\"}\n    for node_id in new_node_ids:\n        if node_id in inventoried:\n            continue\n        node = next(n for n in data[\"nodes\"] if n[\"id\"] == node_id)\n        if node_id in person_nodes:\n            if node_id not in actor_ids:\n                actors.append(\n                    {\n                        \"id\": node_id,\n                        \"label\": node[\"label\"],\n                        \"scope\": node[\"boundary\"],\n                        \"node_id\": node_id,\n                        \"actor_type\": \"legal_person_org\",\n                    }\n                )\n                actor_ids.add(node_id)\n            inventory.append(\n                {\n                    \"node_id\": node_id,\n                    \"classification\": \"actor\",\n                    \"actor_type\": \"organization / exact entity scope below\",\n                    \"role_ids\": [],\n                    \"reason\": node[\"summary\"],\n                    \"assessment\": \"inventory_lead\",\n                    \"actor_id\": node_id,\n                }\n            )\n        else:\n            inventory.append(\n                {\n                    \"node_id\": node_id,\n                    \"classification\": \"object\",\n                    \"actor_type\": \"supporting object\",\n                    \"role_ids\": [],\n                    \"reason\": node[\"summary\"],\n                    \"assessment\": \"inventory_lead\",\n                    \"actor_id\": f\"object-{node_id}\",\n                }\n            )\n\n\ndef main() -> None:\n    data = json.loads(REGISTRY.read_text(encoding=\"utf-8\"))\n    data[\"technology_field_guide\"] = json.loads(FIELD_GUIDE.read_text(encoding=\"utf-8\"))\n    data[\"technology_buildout\"] = json.loads(TECHNOLOGY_BUILDOUT.read_text(encoding=\"utf-8\"))\n    data[\"corporate_stack_comparison\"] = json.loads(CORPORATE_STACK.read_text(encoding=\"utf-8\"))\n    data[\"bank_transition_comparison\"] = json.loads(BANK_TRANSITION.read_text(encoding=\"utf-8\"))\n    data[\"securitize_anatomy\"] = json.loads(SECURITIZE_ANATOMY.read_text(encoding=\"utf-8\"))\n    data[\"stack_expansion\"] = json.loads(STACK_EXPANSION.read_text(encoding=\"utf-8\"))\n    data[\"transition_gates\"] = json.loads(TRANSITION_GATES.read_text(encoding=\"utf-8\"))\n    fed_genius = json.loads(FED_GENIUS_HUB.read_text(encoding=\"utf-8\"))\n    data[\"fed_genius_hub\"] = {key: value for key, value in fed_genius.items() if key not in {\"sources\", \"case\"}}\n    data[\"legal_process_hub\"][\"cases\"].append(fed_genius[\"case\"])\n    existing_source_ids = {source[\"id\"] for source in data[\"sources\"]}\n    for source in data[\"technology_buildout\"][\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate technology buildout source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    for source in data[\"stack_expansion\"][\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate stack expansion source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    for source in fed_genius[\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate Fed GENIUS source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    data[\"books_hub\"] = json.loads((ROOT / \"books_hub.json\").read_text(encoding=\"utf-8\"))\n    data[\"process_walk\"] = json.loads((ROOT / \"process_walk.json\").read_text(encoding=\"utf-8\"))\n    merge_current_stack(data)\n    validate(data)\n    for source in data[\"sources\"]:\n        if not source[\"url\"].startswith((\"https://\", \"http://\")):\n            source_path = (REGISTRY.parent / source[\"url\"]).resolve()\n            source[\"local_text\"] = source_path.read_text(encoding=\"utf-8\")\n    payload = json.dumps(data, ensure_ascii=False, separators=(\",\", \":\")).replace(\"</\", \"<\\\\/\")\n    rendered = HTML.replace(\"__DATA__\", payload)\n    rendered = rendered.replace(\"</body>\", \"<script>\" + LIQUIDITY_SCRIPT + LEGAL_SCRIPT + \"</script></body>\")\n    OUTPUT.parent.mkdir(parents=True, exist_ok=True)\n    OUTPUT.write_text(rendered, encoding=\"utf-8\")\n    print(\n        f\"PASS: generated {OUTPUT.name} with {len(data['nodes'])} nodes, \"\n        f\"{len(data['edges'])} relationships, {len(data['sources'])} sources and \"\n        f\"{len(data['process_maps'])} process maps\"\n    )\n\n\nif __name__ == \"__main__\":\n    main()\n","sections":[{"section_id":"s00001","ordinal":1,"label":"Opening section","source_page":null,"start_character":0,"end_character":11521,"start_line":1,"end_line":170,"text":"#!/usr/bin/env python3\n\"\"\"Validate the entity registry and generate the standalone Research Desk visual.\"\"\"\n\nfrom __future__ import annotations\n\nimport json\nfrom pathlib import Path\n\n\nROOT = Path(__file__).resolve().parent\nREGISTRY = ROOT / \"TOKENIZATION_ENTITY_RELATIONSHIP_REGISTRY_2026-09-01.json\"\nFIELD_GUIDE = ROOT / \"technology_field_guide.json\"\nTECHNOLOGY_BUILDOUT = ROOT / \"TECHNOLOGY_BUILDOUT_LEDGER_2026-09-27.json\"\nCORPORATE_STACK = ROOT / \"CORPORATE_STACK_COMPARISON_2026-09-17.json\"\nBANK_TRANSITION = ROOT / \"BANK_TRANSITION_COMPARISON_2026-09-26.json\"\nSECURITIZE_ANATOMY = ROOT / \"SECURITIZE_INFRASTRUCTURE_ANATOMY_2026-09-17.json\"\nSTACK_EXPANSION = ROOT / \"STACK_EXPANSION_2026-09-17.json\"\nTRANSITION_GATES = ROOT / \"TRANSITION_GATES_2026-09-22.json\"\nFED_GENIUS_HUB = ROOT / \"FED_GENIUS_INFRASTRUCTURE_CHANGE_MAP_2026-09-24.json\"\nOUTPUT = ROOT / \"outputs\" / \"Tokenization Entity and Control Map.html\"\n\n\ndef unique_ids(items: list[dict], label: str) -> set[str]:\n    ids = [item.get(\"id\") for item in items]\n    if any(not value for value in ids):\n        raise ValueError(f\"{label} contains an empty id\")\n    if len(ids) != len(set(ids)):\n        raise ValueError(f\"{label} contains duplicate ids\")\n    return set(ids)\n\n\ndef validate(data: dict) -> None:\n    lane_ids = unique_ids(data[\"lanes\"], \"lanes\")\n    type_ids = unique_ids(data[\"relationship_types\"], \"relationship types\")\n    lens_ids = unique_ids(data[\"lenses\"], \"lenses\")\n    node_ids = unique_ids(data[\"nodes\"], \"nodes\")\n    edge_ids = unique_ids(data[\"edges\"], \"edges\")\n    source_ids = unique_ids(data[\"sources\"], \"sources\")\n    ecosystem_ids = unique_ids(data[\"ecosystems\"], \"ecosystems\")\n    clock_ids = unique_ids(data[\"operational_states\"], \"operational states\")\n    trace_ids = unique_ids(data[\"asset_traces\"], \"asset traces\")\n    process_role_ids = unique_ids(data[\"process_roles\"], \"process roles\")\n    scale_state_ids = unique_ids(data[\"scale_states\"], \"scale states\")\n    stress_state_ids = unique_ids(data[\"stress_states\"], \"stress states\")\n    process_ids = unique_ids(data[\"process_maps\"], \"process maps\")\n    edges_by_id = {edge[\"id\"]: edge for edge in data[\"edges\"]}\n\n    guide = data[\"technology_field_guide\"]\n    category_ids = unique_ids(guide[\"categories\"], \"field guide categories\")\n    profiles = guide[\"profiles\"]\n    profile_ids = {profile.get(\"ecosystem_id\") for profile in profiles}\n    guide_ecosystem_ids = ecosystem_ids - set(data.get(\"current_stack_ids\", []))\n    if profile_ids != guide_ecosystem_ids or len(profiles) != len(guide_ecosystem_ids):\n        raise ValueError(\"field guide must contain exactly one profile for every tracked technology ecosystem\")\n    required_guide_fields = {\n        \"plain_name\", \"category\", \"what_it_is\", \"why_following\", \"differentiator_status\",\n        \"differentiator\", \"differentiator_boundary\", \"how_it_works\", \"controls\",\n        \"does_not_control\", \"attachments\", \"observed_state\", \"watch_for\",\n        \"do_not_confuse\", \"source_ids\",\n    }\n    for profile in profiles:\n        if required_guide_fields - set(profile):\n            raise ValueError(f\"incomplete field guide profile: {profile.get('ecosystem_id')}\")\n        if profile[\"category\"] not in category_ids:\n            raise ValueError(f\"unknown field guide category: {profile['category']}\")\n        if profile[\"differentiator_status\"] not in {\"meaningful\", \"contextual\", \"not_established\"}:\n            raise ValueError(f\"invalid differentiator status: {profile['ecosystem_id']}\")\n        for key in (\"plain_name\", \"what_it_is\", \"why_following\", \"differentiator\", \"differentiator_boundary\", \"observed_state\"):\n            if not isinstance(profile[key], str) or not profile[key].strip():\n                raise ValueError(f\"empty field guide value {profile['ecosystem_id']}/{key}\")\n        for key in (\"how_it_works\", \"controls\", \"does_not_control\", \"attachments\", \"watch_for\", \"do_not_confuse\", \"source_ids\"):\n            if not profile[key] or not all(isinstance(value, str) and value.strip() for value in profile[key]):\n                raise ValueError(f\"empty field guide list {profile['ecosystem_id']}/{key}\")\n        if set(profile[\"attachments\"]) - {\"banks\", \"markets\", \"records\", \"cash\"}:\n            raise ValueError(f\"invalid field guide attachment: {profile['ecosystem_id']}\")\n        if set(profile[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown field guide source: {profile['ecosystem_id']}\")\n    if len(guide.get(\"quick_distinctions\", [])) < 3 or any(\n        not item.get(\"title\") or not item.get(\"explanation\") for item in guide[\"quick_distinctions\"]\n    ):\n        raise ValueError(\"field guide quick distinctions are incomplete\")\n\n    buildout = data[\"technology_buildout\"]\n    buildout_state_ids = unique_ids(buildout[\"states\"], \"technology buildout states\")\n    buildout_profiles = buildout[\"profiles\"]\n    buildout_profile_ids = {profile.get(\"ecosystem_id\") for profile in buildout_profiles}\n    if buildout_profile_ids != profile_ids or len(buildout_profiles) != len(profile_ids):\n        raise ValueError(\"technology buildout ledger must contain exactly one profile for every field guide profile\")\n    required_buildout_fields = {\n        \"refreshed_through\", \"headline\", \"transition_state\", \"strongest_receipt\",\n        \"current_builds\", \"deals_and_integrations\", \"native_token\",\n        \"transition_assessment\", \"return_gates\",\n    }\n    for profile in buildout_profiles:\n        ecosystem_id = profile.get(\"ecosystem_id\")\n        if required_buildout_fields - set(profile):\n            raise ValueError(f\"incomplete technology buildout profile: {ecosystem_id}\")\n        if profile[\"transition_state\"] not in buildout_state_ids:\n            raise ValueError(f\"invalid technology buildout state: {ecosystem_id}\")\n        if not profile[\"current_builds\"] or not profile[\"deals_and_integrations\"]:\n            raise ValueError(f\"technology buildout profile needs builds and deals: {ecosystem_id}\")\n        if not profile[\"return_gates\"] or not all(isinstance(value, str) and value.strip() for value in profile[\"return_gates\"]):\n            raise ValueError(f\"invalid technology buildout return gates: {ecosystem_id}\")\n        for item in profile[\"current_builds\"] + profile[\"deals_and_integrations\"]:\n            if item.get(\"state\") not in buildout_state_ids:\n                raise ValueError(f\"invalid technology buildout item state: {ecosystem_id}\")\n            if not all(item.get(key) for key in (\"date\", \"summary\", \"boundary\", \"source_ids\")):\n                raise ValueError(f\"incomplete technology buildout item: {ecosystem_id}\")\n            if set(item[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"unknown technology buildout item source: {ecosystem_id}\")\n        token = profile[\"native_token\"]\n        if not all(token.get(key) for key in (\"symbol\", \"role\", \"required_channel\", \"value_capture\", \"source_ids\")):\n            raise ValueError(f\"incomplete technology buildout token analysis: {ecosystem_id}\")\n        if set(token[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown technology buildout token source: {ecosystem_id}\")\n        assessment = profile[\"transition_assessment\"]\n        if not all(assessment.get(key) for key in (\"what_changed\", \"live_now\", \"still_building\", \"not_proved\")):\n            raise ValueError(f\"incomplete technology buildout transition assessment: {ecosystem_id}\")\n\n    corporate = data[\"corporate_stack_comparison\"]\n    corporate_state_ids = unique_ids(corporate[\"states\"], \"corporate stack states\")\n    corporate_dimension_ids = unique_ids(corporate[\"dimensions\"], \"corporate stack dimensions\")\n    unique_ids(corporate[\"groups\"], \"corporate stack groups\")\n    if not all(corporate.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\")):\n        raise ValueError(\"corporate stack comparison header is incomplete\")\n    for group in corporate[\"groups\"]:\n        if set(group.get(\"seats\", {})) != corporate_dimension_ids:\n            raise ValueError(f\"corporate stack group must cover every dimension: {group.get('id')}\")\n        if not group.get(\"label\") or not group.get(\"verdict\") or not group.get(\"boundary\"):\n            raise ValueError(f\"incomplete corporate stack group: {group.get('id')}\")\n        if not group.get(\"source_ids\") or set(group[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid corporate stack group evidence: {group.get('id')}\")\n        for dimension_id, seat in group[\"seats\"].items():\n            if seat.get(\"state\") not in corporate_state_ids or not seat.get(\"text\"):\n                raise ValueError(f\"invalid corporate stack seat: {group.get('id')}/{dimension_id}\")\n    for item in corporate.get(\"second_ring\", []):\n        if not item.get(\"label\") or not item.get(\"finding\") or not item.get(\"source_ids\"):\n            raise ValueError(\"incomplete corporate stack second-ring item\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown corporate stack second-ring source: {item.get('label')}\")\n\n    bank_transition = data[\"bank_transition_comparison\"]\n    bank_state_ids = unique_ids(bank_transition[\"states\"], \"bank transition states\")\n    bank_dimension_ids = unique_ids(bank_transition[\"dimensions\"], \"bank transition dimensions\")\n    bank_archetype_ids = unique_ids(bank_transition[\"archetypes\"], \"bank transition archetypes\")\n    bank_source_ids = unique_ids(bank_transition[\"sources\"], \"bank transition sources\")\n    unique_ids(bank_transition[\"institutions\"], \"bank transition institutions\")\n    if len(bank_transition[\"institutions\"]) != 16:\n        raise ValueError(\"bank transition comparison must contain the governed 16-institution cohort\")\n    if not all(bank_transition.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\", \"method_note\", \"research_route\")):\n        raise ValueError(\"bank transition comparison header is incomplete\")\n    for source in bank_transition[\"sources\"]:\n        if not all(source.get(key) for key in (\"title\", \"publisher\", \"date\", \"url\")) or not source[\"url\"].startswith((\"https://\", \"http://\")):\n            raise ValueError(f\"invalid bank transition source: {source.get('id')}\")\n    for institution in bank_transition[\"institutions\"]:\n        if institution.get(\"archetype_id\") not in bank_archetype_ids:\n            raise ValueError(f\"unknown bank transition archetype: {institution.get('id')}\")\n        if set(institution.get(\"capabilities\", {})) != bank_dimension_ids:\n            raise ValueError(f\"bank transition institution must cover every dimension: {institution.get('id')}\")\n        if any(not institution.get(key) for key in (\"label\", \"kind\", \"domicile\", \"thesis\", \"frontier\", \"boundary\", \"watch\")):\n            raise ValueError(f\"incomplete bank transition institution: {institution.get('id')}\")\n        if not institution.get(\"source_ids\") or set(institution[\"source_ids\"]) - bank_source_ids:\n            raise ValueError(f\"invalid bank transition institution evidence: {institution.get('id')}\")\n        for dimension_id, capability in institution[\"capabilities\"].items():\n            if capability.get(\"state\") not in bank_state_ids or not capability.get(\"detail\") or not capability.get(\"boundary\"):\n                raise ValueError(f\"invalid bank transition capability: {institution.get('id')}/{dimension_id}\")\n            if not capability.get(\"source_ids\") or set(capability[\"source_ids\"]) - bank_source_ids:\n                raise ValueError(f\"invalid bank transition capability evidence: {institution.get('id')}/{dimension_id}\")\n\n","next_section_id":"s00002","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00001.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00002.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00001.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00002.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00001.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00002.json"},{"section_id":"s00002","ordinal":2,"label":"Section 2 (continued)","source_page":null,"start_character":11521,"end_character":24691,"start_line":170,"end_line":358,"text":"    anatomy = data[\"securitize_anatomy\"]\n    if not all(anatomy.get(key) for key in (\"title\", \"cutoff\", \"summary\", \"boundary\", \"thesis\")):\n        raise ValueError(\"Securitize anatomy header is incomplete\")\n    anatomy_sections = {\n        \"entities\": (\"label\", \"kind\", \"role\", \"status\", \"boundary\", \"source_ids\"),\n        \"lifecycle\": (\"label\", \"action\", \"control\", \"record\", \"boundary\", \"source_ids\"),\n        \"record_models\": (\"label\", \"state\", \"authoritative_pattern\", \"outside_bodies\", \"lesson\", \"source_ids\"),\n        \"scale\": (\"label\", \"value\", \"as_of\", \"meaning\", \"source_ids\"),\n    }\n    for section, required in anatomy_sections.items():\n        unique_ids(anatomy[section], f\"Securitize anatomy {section}\") if section != \"scale\" else None\n        for item in anatomy[section]:\n            if any(not item.get(key) for key in required):\n                raise ValueError(f\"incomplete Securitize anatomy {section} item: {item.get('id') or item.get('label')}\")\n            if set(item[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"unknown Securitize anatomy source: {item.get('id') or item.get('label')}\")\n    comparison = anatomy.get(\"ripple_comparison\", {})\n    if not all(comparison.get(key) for key in (\"title\", \"thesis\", \"boundary\", \"rows\", \"interface\", \"watch\")):\n        raise ValueError(\"Ripple-Securitize comparison is incomplete\")\n    unique_ids(comparison[\"rows\"], \"Ripple-Securitize comparison rows\")\n    for item in comparison[\"rows\"]:\n        if any(not item.get(key) for key in (\"seat\", \"ripple\", \"securitize\", \"distinction\", \"source_ids\")):\n            raise ValueError(f\"incomplete Ripple-Securitize comparison row: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown Ripple-Securitize comparison source: {item.get('id')}\")\n    interface = comparison[\"interface\"]\n    if not all(interface.get(key) for key in (\"title\", \"steps\", \"proof_state\", \"source_ids\")):\n        raise ValueError(\"Ripple-Securitize interface is incomplete\")\n    if len(interface[\"steps\"]) < 3 or set(interface[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Ripple-Securitize interface evidence is incomplete\")\n    if len(comparison[\"watch\"]) < 3 or any(not isinstance(item, str) or not item.strip() for item in comparison[\"watch\"]):\n        raise ValueError(\"Ripple-Securitize watch list is incomplete\")\n    genius = anatomy.get(\"genius_act\", {})\n    if not all(genius.get(key) for key in (\"title\", \"cutoff\", \"status\", \"thesis\", \"boundary\", \"clocks\", \"rows\", \"interface\", \"watch\")):\n        raise ValueError(\"Ripple-Securitize GENIUS Act interface is incomplete\")\n    unique_ids(genius[\"clocks\"], \"Ripple-Securitize GENIUS clocks\")\n    for item in genius[\"clocks\"]:\n        if any(not item.get(key) for key in (\"label\", \"date\", \"state\", \"meaning\", \"source_ids\")):\n            raise ValueError(f\"incomplete GENIUS clock: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown GENIUS clock source: {item.get('id')}\")\n    unique_ids(genius[\"rows\"], \"Ripple-Securitize GENIUS rows\")\n    for item in genius[\"rows\"]:\n        if any(not item.get(key) for key in (\"question\", \"ripple\", \"securitize\", \"effect\", \"source_ids\")):\n            raise ValueError(f\"incomplete GENIUS row: {item.get('id')}\")\n        if set(item[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown GENIUS row source: {item.get('id')}\")\n    genius_interface = genius[\"interface\"]\n    if not all(genius_interface.get(key) for key in (\"title\", \"steps\", \"reading\", \"source_ids\")):\n        raise ValueError(\"Ripple-Securitize GENIUS interface walk is incomplete\")\n    if len(genius_interface[\"steps\"]) < 3 or set(genius_interface[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Ripple-Securitize GENIUS interface evidence is incomplete\")\n    if len(genius[\"watch\"]) < 3 or any(not isinstance(item, str) or not item.strip() for item in genius[\"watch\"]):\n        raise ValueError(\"Ripple-Securitize GENIUS watch list is incomplete\")\n    if len(anatomy.get(\"watch\", [])) < 3 or any(not isinstance(item, str) or not item.strip() for item in anatomy[\"watch\"]):\n        raise ValueError(\"Securitize anatomy watch list is incomplete\")\n\n    required_types = {\n        \"control\", \"capital\", \"board\", \"regulatory\", \"partnership\",\n        \"technical\", \"asset_flow\", \"historical\", \"proposal_fit\", \"operating\", \"advocacy\",\n        \"pending_control\",\n    }\n    if type_ids != required_types:\n        raise ValueError(f\"relationship types must equal {sorted(required_types)}\")\n    required_lenses = {\"triangle\", \"sec-chain\", \"networks\", \"control\", \"capital\", \"cash\", \"cash-leg\", \"full\"}\n    if lens_ids != required_lenses:\n        raise ValueError(f\"lenses must equal {sorted(required_lenses)}\")\n    required_clocks = {\n        \"proposed\", \"announced\", \"planned\", \"pilot_test\", \"limited_production\",\n        \"live_production\", \"current_operating\", \"historical\",\n    }\n    if clock_ids != required_clocks:\n        raise ValueError(f\"operational states must equal {sorted(required_clocks)}\")\n    required_process_roles = {\"controller\", \"operator\", \"integrator\", \"external_dependency\"}\n    if process_role_ids != required_process_roles:\n        raise ValueError(f\"process roles must equal {sorted(required_process_roles)}\")\n    required_scale_states = {\n        \"not_applicable\", \"not_public\", \"single_event\", \"bounded_cohort\",\n        \"general_access\", \"reported_aggregate\", \"material_volume\",\n    }\n    if scale_state_ids != required_scale_states:\n        raise ValueError(f\"scale states must equal {sorted(required_scale_states)}\")\n    required_stress_states = {\n        \"not_applicable\", \"not_public\", \"untested\", \"contractual_controls_only\",\n        \"controlled_test\", \"observed_stress\",\n    }\n    if stress_state_ids != required_stress_states:\n        raise ValueError(f\"stress states must equal {sorted(required_stress_states)}\")\n    required_processes = {\"tokenization\", \"stablecoins\", \"fx-cross-border\"}\n    if process_ids != required_processes:\n        raise ValueError(f\"process maps must equal {sorted(required_processes)}\")\n\n    lr = data[\"legal_routes_map\"]\n    lr_functions = {f[\"id\"] for f in data[\"legal_process_hub\"][\"qualifications\"][\"functions\"]}\n    lr_players = unique_ids(lr[\"players\"], \"legal route players\")\n    lr_statuses = unique_ids(lr[\"statuses\"], \"legal route statuses\")\n    unique_ids(lr[\"routes\"], \"legal routes\")\n    for player in lr[\"players\"]:\n        if player[\"status\"] not in lr_statuses or not all(player.get(k) for k in (\"label\", \"evidence\", \"remaining\", \"appointment\")):\n            raise ValueError(\"incomplete legal route player\")\n        if not player.get(\"source_ids\") or set(player[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route player evidence\")\n        if player.get(\"actor_ref\") and player[\"actor_ref\"] not in {a[\"id\"] for a in data[\"legal_process_hub\"][\"qualifications\"][\"actors\"]}:\n            raise ValueError(\"invalid legal route actor join\")\n        if player.get(\"assessment_ref\") and player[\"assessment_ref\"] not in {a[\"id\"] for a in data[\"legal_process_hub\"][\"qualifications\"][\"records\"]}:\n            raise ValueError(\"invalid legal route assessment join\")\n        if player.get(\"assessment_ref\") and player.get(\"actor_ref\"):\n            assessment = next(a for a in data[\"legal_process_hub\"][\"qualifications\"][\"records\"] if a[\"id\"] == player[\"assessment_ref\"])\n            if assessment[\"actor_id\"] != player[\"actor_ref\"]:\n                raise ValueError(\"legal route actor assessment mismatch\")\n    if lr.get(\"all_functions_have_routes\") and {fid for r in lr[\"routes\"] for fid in r[\"function_ids\"]} != lr_functions:\n        raise ValueError(\"legal route function coverage is incomplete\")\n    for route in lr[\"routes\"]:\n        if not route.get(\"eligible_categories\") or not all(isinstance(x, str) and x.strip() for x in route[\"eligible_categories\"]):\n            raise ValueError(\"legal route eligible categories missing\")\n        if not route[\"function_ids\"] or set(route[\"function_ids\"]) - lr_functions or set(route[\"player_ids\"]) - lr_players:\n            raise ValueError(\"invalid legal route connection\")\n        if route[\"state\"] not in {\"current\", \"proposed\"} or not all(route.get(k) for k in (\"label\", \"trigger\", \"basis\", \"conditions\", \"limit\")):\n            raise ValueError(\"incomplete legal route\")\n        if not route.get(\"source_ids\") or set(route[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route evidence\")\n        if route[\"state\"] == \"proposed\" and route[\"player_ids\"]:\n            raise ValueError(\"proposal cannot qualify a player\")\n    assignment_keys = set()\n    routes_by_id = {r[\"id\"]: r for r in lr[\"routes\"]}\n    for assignment in lr.get(\"assignments\", []):\n        key = (assignment[\"route_id\"], assignment[\"player_id\"])\n        if key in assignment_keys:\n            raise ValueError(\"duplicate legal route entity assignment\")\n        assignment_keys.add(key)\n        route = routes_by_id.get(assignment[\"route_id\"])\n        if not route or assignment[\"player_id\"] not in route[\"player_ids\"]:\n            raise ValueError(\"invalid legal route entity assignment\")\n        if assignment.get(\"status\") not in {\"verified\", \"dated\", \"conditional\", \"lead\"}:\n            raise ValueError(\"invalid legal route assignment status\")\n        if not all(assignment.get(k) for k in (\"capacity\", \"evidence\", \"source_ids\")) or set(assignment[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid legal route assignment evidence\")\n        if route[\"state\"] == \"proposed\":\n            raise ValueError(\"proposal cannot establish entity capacity\")\n    directory = lr.get(\"participation_directory\")\n    if directory:\n        if directory[\"source_id\"] not in source_ids or not directory.get(\"as_of\"):\n            raise ValueError(\"invalid participation directory source\")\n        unique_ids(directory[\"rows\"], \"participation directory accounts\")\n        for row in directory[\"rows\"]:\n            if not all(row.get(k) for k in (\"name\", \"services\", \"source_row\")):\n                raise ValueError(\"incomplete participation directory row\")\n    maps = data[\"transaction_maps\"]\n    route_ids = unique_ids(maps[\"routes\"], \"transaction routes\")\n    rights_by_route = {r[\"id\"]: r for r in data[\"steps_rights_hub\"][\"routes\"]}\n    if route_ids != set(rights_by_route):\n        raise ValueError(\"transaction routes must cover the researched rights routes\")\n    for proto in maps[\"routes\"]:\n        ref_ids = {x[\"id\"] for x in rights_by_route[proto[\"id\"]][\"steps\"]}\n        proto_ids = unique_ids(proto[\"nodes\"] + proto[\"overlay_nodes\"], \"transaction milestones\")\n        unique_ids(proto[\"connections\"] + proto[\"overlay_connections\"], \"transaction connections\")\n        unique_ids(proto[\"scenarios\"], \"transaction scenarios\")\n        for n in proto[\"nodes\"] + proto[\"overlay_nodes\"]:\n            if n[\"step_ref\"] not in ref_ids or not (0 <= n[\"row\"] < len(proto[\"lanes\"] + proto[\"overlay_lanes\"]) and 0 <= n[\"col\"] < len(proto[\"phases\"])):\n                raise ValueError(\"invalid transaction milestone\")\n            if not all(n.get(k) for k in (\"before\", \"after\", \"explain\", \"overlay\", \"label\")) or n.get(\"overlay_role\") not in {\"specified\", \"dependency\"}:\n                raise ValueError(\"incomplete transaction explanation\")\n        for e in proto[\"connections\"] + proto[\"overlay_connections\"]:\n            if e[\"from_id\"] not in proto_ids or e[\"to_id\"] not in proto_ids or e[\"kind\"] not in {\"instruction\", \"securities\", \"money\", \"record\", \"token\"}:\n                raise ValueError(\"invalid transaction connection\")\n        if not proto.get(\"overlay_sources\") or set(proto[\"overlay_sources\"]) - source_ids:\n            raise ValueError(\"invalid transaction overlay evidence\")\n        for scenario in proto[\"scenarios\"]:\n            if scenario.get(\"node_id\") not in proto_ids or not all(scenario.get(k) for k in (\"title\", \"before\", \"after\", \"explain\", \"overlay\")):\n                raise ValueError(\"invalid transaction scenario\")\n    rights = data[\"steps_rights_hub\"]\n    unique_ids(rights[\"routes\"], \"rights routes\")\n    rights_statuses = unique_ids(rights[\"statuses\"], \"rights statuses\")\n    for route in rights[\"routes\"]:\n        unique_ids(route[\"steps\"], \"rights steps\")\n        if not all(route.get(k) for k in (\"title\", \"baseline\", \"overlay\", \"scope\", \"clock\", \"chain\")):\n            raise ValueError(\"incomplete rights route\")\n        for step in route[\"steps\"]:\n            if not all(step.get(k) for k in (\"action\", \"actors\", \"right\", \"record\", \"proof\", \"crypto\", \"gap\", \"needed\")):\n                raise ValueError(\"incomplete rights receipt\")\n            if step.get(\"status\") not in rights_statuses:\n                raise ValueError(\"invalid rights status\")\n            if step.get(\"legal_step_id\") not in {r[\"id\"] for r in data[\"legal_process_hub\"][\"steps\"]}:\n                raise ValueError(\"invalid rights legal handoff\")\n            for key in (\"baseline_sources\", \"crypto_sources\"):\n                if not step.get(key) or set(step[key]) - source_ids:\n                    raise ValueError(\"invalid rights evidence\")\n\n","next_section_id":"s00003","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00002.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00003.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00002.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00003.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00002.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00003.json"},{"section_id":"s00003","ordinal":3,"label":"Section 3 (continued)","source_page":null,"start_character":24691,"end_character":35686,"start_line":358,"end_line":503,"text":"    legal = data[\"legal_process_hub\"]\n    step_ids = unique_ids(legal[\"steps\"], \"legal steps\")\n    unique_ids(legal[\"layers\"], \"legal layers\")\n    unique_ids(legal[\"cases\"], \"legal cases\")\n    if not step_ids or not legal.get(\"report_source_ids\") or set(legal[\"report_source_ids\"]) - source_ids:\n        raise ValueError(\"invalid legal process research\")\n    for collection, fields in [(\"steps\", (\"title\", \"question\", \"explanation\", \"actors\", \"required_evidence\", \"output\", \"boundary\")), (\"layers\", (\"title\", \"summary\", \"question\", \"boundary\")), (\"cases\", (\"title\", \"status\", \"summary\", \"boundary\"))]:\n        for record in legal[collection]:\n            if any(not isinstance(record.get(f), str) or not record[f].strip() for f in fields):\n                raise ValueError(f\"incomplete legal {collection}: {record['id']}\")\n            if not record.get(\"source_ids\") or set(record[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"invalid legal sources: {record['id']}\")\n    for case in legal[\"cases\"]:\n        refs = [r.get(\"step_id\") for r in case[\"steps\"]]\n        if set(refs) != step_ids or len(refs) != len(step_ids):\n            raise ValueError(f\"incomplete legal case steps: {case['id']}\")\n        if any(not r.get(\"finding\") or not r.get(\"gap\") for r in case[\"steps\"]):\n            raise ValueError(f\"missing legal case evidence: {case['id']}\")\n        if case.get(\"trace_id\") and case[\"trace_id\"] not in trace_ids:\n            raise ValueError(f\"invalid legal trace: {case['id']}\")\n\n    innovation = legal.get(\"innovation_exemption_overlay\")\n    if not innovation or any(not innovation.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"source_ids\")):\n        raise ValueError(\"Innovation Exemption overlay is incomplete\")\n    innovation_statuses = unique_ids(innovation[\"status_legend\"], \"Innovation Exemption statuses\")\n    if innovation_statuses != {\"core_candidate\", \"conditional_candidate\", \"supporting_layer\", \"outside_core\"}:\n        raise ValueError(\"Innovation Exemption status set is incomplete\")\n    unique_ids(innovation[\"gates\"], \"Innovation Exemption gates\")\n    innovation_ecosystems = [r.get(\"ecosystem_id\") for r in innovation[\"overlaps\"]]\n    if len(innovation_ecosystems) != len(set(innovation_ecosystems)) or set(innovation_ecosystems) != guide_ecosystem_ids:\n        raise ValueError(\"Innovation Exemption overlay must cover every tracked technology ecosystem exactly once\")\n    if set(innovation[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Innovation Exemption overlay has unknown sources\")\n    for gate in innovation[\"gates\"]:\n        if any(not gate.get(k) for k in (\"title\", \"rule\", \"watch\")):\n            raise ValueError(f\"incomplete Innovation Exemption gate: {gate.get('id')}\")\n    for row in innovation[\"overlaps\"]:\n        if row.get(\"status\") not in innovation_statuses or any(not row.get(k) for k in (\"overlap\", \"missing\", \"watch\", \"source_ids\")):\n            raise ValueError(f\"incomplete Innovation Exemption overlap: {row.get('ecosystem_id')}\")\n        if set(row[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown Innovation Exemption source: {row.get('ecosystem_id')}\")\n\n    fed = data.get(\"fed_genius_hub\")\n    if not fed or any(not fed.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"status\", \"summary\", \"boundary\", \"source_ids\")):\n        raise ValueError(\"Fed GENIUS hub header is incomplete\")\n    if fed[\"status\"] != \"proposed\":\n        raise ValueError(\"Fed GENIUS hub must preserve proposal status\")\n    fed_statuses = unique_ids(fed[\"status_legend\"], \"Fed GENIUS statuses\")\n    if fed_statuses != {\"issuer_application_interface\", \"custody_distribution_interface\", \"technical_control_interface\", \"outside_direct_issuer_perimeter\"}:\n        raise ValueError(\"Fed GENIUS status set is incomplete\")\n    fed_gate_ids = unique_ids(fed[\"gates\"], \"Fed GENIUS gates\")\n    if len(fed_gate_ids) != 12:\n        raise ValueError(\"Fed GENIUS hub must preserve twelve gates\")\n    fed_layer_ids = unique_ids(fed[\"layers\"], \"Fed GENIUS layers\")\n    if len(fed_layer_ids) != 7:\n        raise ValueError(\"Fed GENIUS hub must preserve seven layers\")\n    for layer in fed[\"layers\"]:\n        if any(not layer.get(k) for k in (\"order\", \"title\", \"question\", \"summary\", \"boundary\", \"gate_ids\")) or set(layer[\"gate_ids\"]) - fed_gate_ids:\n            raise ValueError(f\"incomplete Fed GENIUS layer: {layer.get('id')}\")\n    if sorted(layer[\"order\"] for layer in fed[\"layers\"]) != list(range(1, 8)):\n        raise ValueError(\"Fed GENIUS layer order is incomplete\")\n    entity_map = fed.get(\"entity_map\", {})\n    if any(not entity_map.get(key) for key in (\"title\", \"summary\", \"boundary\", \"nodes\", \"flows\")):\n        raise ValueError(\"Fed GENIUS entity map is incomplete\")\n    fed_entity_ids = unique_ids(entity_map[\"nodes\"], \"Fed GENIUS entity-map nodes\")\n    if \"issuer\" not in fed_entity_ids or len(fed_entity_ids) < 9:\n        raise ValueError(\"Fed GENIUS entity map must preserve the central issuer and surrounding legal seats\")\n    for node in entity_map[\"nodes\"]:\n        if any(not node.get(key) for key in (\"label\", \"kind\", \"role\", \"proof\", \"boundary\", \"gate_ids\")):\n            raise ValueError(f\"incomplete Fed GENIUS entity-map node: {node.get('id')}\")\n        if set(node[\"gate_ids\"]) - fed_gate_ids or set(node.get(\"ecosystem_ids\", [])) - guide_ecosystem_ids:\n            raise ValueError(f\"invalid Fed GENIUS entity-map references: {node.get('id')}\")\n    unique_ids(entity_map[\"flows\"], \"Fed GENIUS entity-map flows\")\n    for flow in entity_map[\"flows\"]:\n        flow_node_ids = flow.get(\"node_ids\", [])\n        labels = flow.get(\"relationship_labels\", [])\n        if not flow.get(\"label\") or len(flow_node_ids) < 2 or set(flow_node_ids) - fed_entity_ids or len(labels) != len(flow_node_ids) - 1 or any(not label for label in labels):\n            raise ValueError(f\"invalid Fed GENIUS entity-map flow: {flow.get('id')}\")\n    unique_ids(fed[\"clocks\"], \"Fed GENIUS clocks\")\n    if len(fed[\"clocks\"]) < 8 or any(any(not clock.get(k) for k in (\"label\", \"value\", \"anchor\", \"state\", \"meaning\")) for clock in fed[\"clocks\"]):\n        raise ValueError(\"Fed GENIUS clocks are incomplete\")\n    unique_ids(fed[\"question_clusters\"], \"Fed GENIUS question clusters\")\n    if sum(cluster.get(\"count\", 0) for cluster in fed[\"question_clusters\"]) != 277:\n        raise ValueError(\"Fed GENIUS question clusters must total 277\")\n    for gate in fed[\"gates\"]:\n        if any(not gate.get(k) for k in (\"title\", \"rule\", \"infrastructure_effect\", \"implementation_clock\", \"watch\")):\n            raise ValueError(f\"incomplete Fed GENIUS gate: {gate.get('id')}\")\n    fed_ecosystems = [row.get(\"ecosystem_id\") for row in fed[\"overlaps\"]]\n    if len(fed_ecosystems) != len(set(fed_ecosystems)) or set(fed_ecosystems) != guide_ecosystem_ids:\n        raise ValueError(\"Fed GENIUS hub must cover every tracked technology ecosystem exactly once\")\n    if set(fed[\"source_ids\"]) - source_ids:\n        raise ValueError(\"Fed GENIUS hub has unknown sources\")\n    for row in fed[\"overlaps\"]:\n        if row.get(\"status\") not in fed_statuses or any(not row.get(k) for k in (\"impact\", \"not_changed\", \"watch\", \"gate_ids\", \"source_ids\")):\n            raise ValueError(f\"incomplete Fed GENIUS overlap: {row.get('ecosystem_id')}\")\n        if set(row[\"gate_ids\"]) - fed_gate_ids or set(row[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid Fed GENIUS references: {row.get('ecosystem_id')}\")\n\n    expansion = data.get(\"stack_expansion\")\n    if not expansion or any(not expansion.get(k) for k in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"liquidity_gap\")):\n        raise ValueError(\"stack expansion header is incomplete\")\n    expansion_seat_ids = unique_ids(expansion[\"seats\"], \"stack expansion seats\")\n    if len(expansion_seat_ids) != 10:\n        raise ValueError(\"stack expansion must preserve the ten legal and operating seats\")\n    sublayer_ids: set[str] = set()\n    for seat in expansion[\"seats\"]:\n        if any(not seat.get(k) for k in (\"label\", \"question\", \"sublayers\")):\n            raise ValueError(f\"incomplete stack expansion seat: {seat.get('id')}\")\n        ids_here = unique_ids(seat[\"sublayers\"], f\"stack expansion sublayers/{seat['id']}\")\n        if sublayer_ids & ids_here:\n            raise ValueError(f\"duplicate stack expansion sublayer across seats: {seat['id']}\")\n        sublayer_ids |= ids_here\n        if any(not item.get(\"label\") or not item.get(\"meaning\") for item in seat[\"sublayers\"]):\n            raise ValueError(f\"incomplete stack expansion sublayer: {seat['id']}\")\n    if len(sublayer_ids) != 34:\n        raise ValueError(f\"stack expansion must contain exactly 34 sublayers, got {len(sublayer_ids)}\")\n    expansion_system_ids = unique_ids(expansion[\"systems\"], \"stack expansion systems\")\n    if len(expansion_system_ids) != 14:\n        raise ValueError(\"stack expansion must preserve the fourteen researched system families\")\n    fit_states = {\"capability\", \"candidate\", \"support\", \"outside\"}\n    for system in expansion[\"systems\"]:\n        if any(not system.get(k) for k in (\"name\", \"kind\", \"jurisdiction\", \"model\", \"innovation_status\", \"summary\", \"boundary\", \"watch\", \"source_ids\", \"fits\", \"latest_development\", \"latest_state\", \"latest_date\", \"latest_boundary\")):\n            raise ValueError(f\"incomplete stack expansion system: {system.get('id')}\")\n        if system[\"innovation_status\"] not in innovation_statuses:\n            raise ValueError(f\"invalid stack expansion Innovation Exemption status: {system['id']}\")\n        if system[\"latest_state\"] not in buildout_state_ids:\n            raise ValueError(f\"invalid stack expansion current-development state: {system['id']}\")\n        if set(system[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"unknown stack expansion source: {system['id']}\")\n        seen: set[str] = set()\n        for fit in system[\"fits\"]:\n            if fit.get(\"seat_id\") not in expansion_seat_ids or fit.get(\"fit\") not in fit_states or not fit.get(\"note\"):\n                raise ValueError(f\"invalid stack expansion fit: {system['id']}\")\n            if fit[\"seat_id\"] in seen:\n                raise ValueError(f\"duplicate stack expansion seat fit: {system['id']}/{fit['seat_id']}\")\n            seen.add(fit[\"seat_id\"])\n            if not fit.get(\"sublayer_ids\") or set(fit[\"sublayer_ids\"]) - sublayer_ids:\n                raise ValueError(f\"invalid stack expansion sublayer fit: {system['id']}/{fit['seat_id']}\")\n    unique_ids(expansion[\"comparison_models\"], \"stack expansion comparison models\")\n    for model in expansion[\"comparison_models\"]:\n        if not model.get(\"label\") or not model.get(\"controlling_question\") or not model.get(\"example_ids\"):\n            raise ValueError(f\"incomplete stack expansion comparison model: {model.get('id')}\")\n        if set(model[\"example_ids\"]) - expansion_system_ids:\n            raise ValueError(f\"unknown stack expansion comparison example: {model.get('id')}\")\n\n","next_section_id":"s00004","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00003.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00004.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00003.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00004.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00003.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00004.json"},{"section_id":"s00004","ordinal":4,"label":"Section 4 (continued)","source_page":null,"start_character":35686,"end_character":47932,"start_line":503,"end_line":678,"text":"    transition = data.get(\"transition_gates\", {})\n    if any(not transition.get(key) for key in (\"title\", \"subtitle\", \"evidence_cutoff\", \"summary\", \"boundary\", \"source_path\")):\n        raise ValueError(\"transition gates header is incomplete\")\n    transition_group_ids = unique_ids(transition[\"groups\"], \"transition gate groups\")\n    transition_fit_ids = unique_ids(transition[\"fit_states\"], \"transition gate fit states\")\n    unique_ids(transition[\"qualification_path\"], \"transition qualification path\")\n    transition_requirement_ids = unique_ids(transition[\"requirements\"], \"transition requirements\")\n    expected_requirement_ids = {f\"req-{number:02d}\" for number in range(1, 15)}\n    if transition_requirement_ids != expected_requirement_ids:\n        raise ValueError(\"transition gates must preserve all fourteen Definition-of-Done requirements\")\n    transition_system_ids = profile_ids | expansion_system_ids\n    mapped_transition_system_ids: set[str] = set()\n    for requirement in transition[\"requirements\"]:\n        if requirement.get(\"group_id\") not in transition_group_ids:\n            raise ValueError(f\"unknown transition gate group: {requirement.get('id')}\")\n        if any(not requirement.get(key) for key in (\"label\", \"question\", \"proof\", \"boundary\", \"external_joins\", \"fits\")):\n            raise ValueError(f\"incomplete transition requirement: {requirement.get('id')}\")\n        if requirement.get(\"number\") != int(requirement[\"id\"].split(\"-\")[1]):\n            raise ValueError(f\"transition requirement number mismatch: {requirement.get('id')}\")\n        fit_system_ids = [fit.get(\"system_id\") for fit in requirement[\"fits\"]]\n        if len(fit_system_ids) != len(set(fit_system_ids)):\n            raise ValueError(f\"duplicate technology in transition requirement: {requirement.get('id')}\")\n        for fit in requirement[\"fits\"]:\n            if fit.get(\"system_id\") not in transition_system_ids or fit.get(\"fit\") not in transition_fit_ids:\n                raise ValueError(f\"invalid transition technology fit: {requirement.get('id')}/{fit.get('system_id')}\")\n            if any(not fit.get(key) for key in (\"maturity\", \"note\")):\n                raise ValueError(f\"incomplete transition technology fit: {requirement.get('id')}/{fit.get('system_id')}\")\n            mapped_transition_system_ids.add(fit[\"system_id\"])\n    if mapped_transition_system_ids != transition_system_ids:\n        missing = sorted(transition_system_ids - mapped_transition_system_ids)\n        raise ValueError(f\"transition gates must map every governed and specialist system: {missing}\")\n\n    q = legal[\"qualifications\"]\n    actor_ids = unique_ids(q[\"actors\"], \"qualification actors\")\n    actor_node_ids = [a[\"node_id\"] for a in q[\"actors\"] if a.get(\"node_id\")]\n    if len(actor_node_ids) != len(set(actor_node_ids)) or set(actor_node_ids) - {n[\"id\"] for n in data[\"nodes\"]}:\n        raise ValueError(\"legal actor graph joins require unique exact node identities\")\n    function_ids = unique_ids(q[\"functions\"], \"qualification functions\")\n    status_ids = unique_ids(q[\"statuses\"], \"qualification statuses\")\n    unique_ids(q[\"records\"], \"qualification records\")\n    if any(f.get(\"step_id\") not in step_ids for f in q[\"functions\"]):\n        raise ValueError(\"invalid qualification step\")\n    if any(not f.get(\"display_title\") or not f.get(\"question\") for f in q[\"functions\"]):\n        raise ValueError(\"missing qualification job explanation\")\n    inventory = q.get(\"inventory\", [])\n    inventory_ids = [i[\"node_id\"] for i in inventory]\n    if len(inventory_ids) != len(set(inventory_ids)) or set(inventory_ids) != {n[\"id\"] for n in data[\"nodes\"]}:\n        raise ValueError(\"legal inventory must classify every Hub node exactly once\")\n    for item in inventory:\n        if item[\"classification\"] not in {\"actor\", \"aggregate\", \"object\"} or set(item[\"role_ids\"]) - function_ids:\n            raise ValueError(\"invalid legal inventory classification or role\")\n        if item[\"classification\"] != \"object\" and item[\"actor_id\"] not in actor_ids:\n            raise ValueError(\"legal inventory player missing from actor directory\")\n    if q.get(\"report_source_id\") and q[\"report_source_id\"] not in source_ids:\n        raise ValueError(\"legal coverage research source missing\")\n    cases = q.get(\"visual_cases\", [])\n    unique_ids(cases, \"visual legal cases\")\n    for case in cases:\n        unique_ids(case[\"stages\"], \"visual legal stages\")\n        for stage in case[\"stages\"]:\n            if set(stage[\"lanes\"]) != {\"asset\", \"money\", \"record\"}:\n                raise ValueError(\"legal visual must preserve asset, money and record lanes\")\n            for cell in stage[\"lanes\"].values():\n                if set(cell[\"actor_ids\"]) - actor_ids or set(cell[\"source_ids\"]) - source_ids:\n                    raise ValueError(\"invalid legal visual evidence join\")\n                for rid in cell.get(\"record_ids\", []):\n                    record = next((r for r in q[\"records\"] if r[\"id\"] == rid), None)\n                    if not record or record[\"actor_id\"] not in cell[\"actor_ids\"]:\n                        raise ValueError(\"legal visual role link needs exact actor assessment\")\n                if set(cell.get(\"object_ids\", [])) - {n[\"id\"] for n in data[\"nodes\"]}:\n                    raise ValueError(\"invalid legal visual object\")\n                if cell[\"status\"] not in {\"documented\", \"unresolved\", \"proposed\"} or not cell[\"text\"] or not cell[\"boundary\"]:\n                    raise ValueError(\"incomplete legal visual evidence\")\n                if cell[\"status\"] == \"documented\" and not cell[\"source_ids\"]:\n                    raise ValueError(\"documented legal visual needs sources\")\n    core = data[\"infrastructure_map\"]\n    institution_ids = unique_ids(core[\"entities\"], \"infrastructure entities\")\n    layer_ids = unique_ids(core[\"layers\"], \"infrastructure layers\")\n    unique_ids(core[\"edges\"], \"infrastructure relationships\")\n    for entity in core[\"entities\"]:\n        if entity[\"layer\"] not in layer_ids or not all(entity.get(k) for k in (\"scope\", \"boundary\", \"source_url\", \"jurisdiction\", \"evidence_date\")):\n            raise ValueError(\"incomplete infrastructure entity\")\n        if entity.get(\"role_actor_ref\") and entity[\"role_actor_ref\"] not in actor_ids:\n            raise ValueError(\"unknown institutional role-research link\")\n        if entity.get(\"node_ref\") and entity[\"node_ref\"] not in node_ids:\n            raise ValueError(\"unknown infrastructure node join\")\n        if set(entity.get(\"source_ids\", [])) - source_ids:\n            raise ValueError(\"unknown infrastructure source join\")\n        if entity[\"layer\"] == \"authority\" and entity[\"kind\"] == \"existing_research\":\n            raise ValueError(\"corporate inventory cannot stand in for public authority\")\n    for edge in core[\"edges\"]:\n        if edge[\"from\"] not in institution_ids or edge[\"to\"] not in institution_ids or not all(edge.get(k) for k in (\"verb\", \"claim\", \"boundary\", \"source_url\", \"evidence_date\")):\n            raise ValueError(\"invalid infrastructure relationship\")\n    unique_ids(core[\"rulebook_crosswalk\"], \"rulebook crosswalk\")\n    for rule in core[\"rulebook_crosswalk\"]:\n        if rule[\"entity_id\"] not in institution_ids or not all(rule.get(k) for k in (\"kind\", \"version\", \"establishes\", \"boundary\", \"source_url\")):\n            raise ValueError(\"invalid rulebook applicability record\")\n    unique_ids(core[\"access_paths\"], \"infrastructure access paths\")\n    for route in core[\"access_paths\"]:\n        if set(route[\"entity_ids\"]) - institution_ids or not route[\"boundary\"] or not route[\"open_question\"]:\n            raise ValueError(\"invalid access path institution or limit\")\n        if len(route[\"steps\"]) < 2 or any(not all(step.get(k) for k in (\"title\", \"text\", \"source_url\")) for step in route[\"steps\"]):\n            raise ValueError(\"access path needs sourced steps\")\n    for edge in core[\"edges\"]:\n        if set(edge.get(\"source_ids\", [])) - source_ids:\n            raise ValueError(\"unknown institutional relationship source\")\n        if edge.get(\"registry_edge_ref\"):\n            original = next((e for e in data[\"edges\"] if e[\"id\"] == edge[\"registry_edge_ref\"]), None)\n            by_id = {n[\"id\"]: n for n in core[\"entities\"]}\n            if not original or by_id[edge[\"from\"]].get(\"node_ref\") != original[\"from\"] or by_id[edge[\"to\"]].get(\"node_ref\") != original[\"to\"] or edge[\"claim\"] != original[\"claim\"]:\n                raise ValueError(\"institutional relationship must preserve original identity and claim\")\n        if edge.get(\"qualification_ref\") and edge[\"qualification_ref\"] not in {r[\"id\"] for r in q[\"records\"]}:\n            raise ValueError(\"unknown institutional qualification\")\n    if not core[\"gaps\"]:\n        raise ValueError(\"infrastructure coverage must state unresolved work\")\n    overview = data[\"market_overview\"]\n    unique_ids(overview[\"layers\"], \"market overview layers\")\n    covered_functions = [f for layer in overview[\"layers\"] for f in layer[\"function_ids\"]]\n    if len(covered_functions) != len(set(covered_functions)) or set(covered_functions) != function_ids:\n        raise ValueError(\"market overview must cover every function exactly once\")\n    if any(set(layer[\"node_ids\"]) - {n[\"id\"] for n in data[\"nodes\"]} for layer in overview[\"layers\"]):\n        raise ValueError(\"market overview has unknown node\")\n    pairs = set()\n    for r in q[\"records\"]:\n        pair = (r.get(\"actor_id\"), r.get(\"function_id\"))\n        if pair in pairs or pair[0] not in actor_ids or pair[1] not in function_ids:\n            raise ValueError(\"invalid qualification actor/function pair\")\n        pairs.add(pair)\n        if r.get(\"status\") not in status_ids or not r.get(\"source_ids\") or set(r[\"source_ids\"]) - source_ids:\n            raise ValueError(\"invalid qualification status/source\")\n        if any(not isinstance(r.get(f), str) or not r[f].strip() for f in (\"finding\", \"authority\", \"conditions\", \"boundary\")):\n            raise ValueError(\"incomplete qualification evidence\")\n\n    liquidity = data[\"liquidity_hub\"]\n    unique_ids(liquidity[\"layers\"], \"liquidity layers\")\n    unique_ids(liquidity[\"routes\"], \"liquidity routes\")\n    for record in liquidity[\"layers\"] + liquidity[\"routes\"]:\n        if not record.get(\"source_ids\") or set(record[\"source_ids\"]) - source_ids:\n            raise ValueError(f\"invalid liquidity source references: {record['id']}\")\n        if record.get(\"trace_id\") and record[\"trace_id\"] not in trace_ids:\n            raise ValueError(f\"invalid liquidity trace: {record['id']}\")\n    if liquidity[\"report_source_id\"] not in source_ids or len(liquidity[\"stages\"]) != 5:\n        raise ValueError(\"invalid liquidity research or lifecycle\")\n\n    for source in data[\"sources\"]:\n        for field in (\"label\", \"url\", \"date\"):\n            if not source.get(field):\n                raise ValueError(f\"source {source['id']} missing {field}\")\n\n    for node in data[\"nodes\"]:\n        if node[\"lane\"] not in lane_ids:\n            raise ValueError(f\"unknown lane on node {node['id']}\")\n        unknown = set(node.get(\"sources\", [])) - source_ids\n        if unknown:\n            raise ValueError(f\"unknown sources on node {node['id']}: {sorted(unknown)}\")\n        for field in (\"label\", \"status\", \"summary\", \"boundary\"):\n            if not node.get(field):\n                raise ValueError(f\"node {node['id']} missing {field}\")\n        if node.get(\"operational_state\") not in clock_ids:\n            raise ValueError(f\"node {node['id']} has unknown operational state\")\n\n    for edge in data[\"edges\"]:\n        if edge[\"from\"] not in node_ids or edge[\"to\"] not in node_ids:\n            raise ValueError(f\"bad endpoint on edge {edge['id']}\")\n        if edge[\"type\"] not in type_ids:\n            raise ValueError(f\"bad relationship type on edge {edge['id']}\")\n        unknown = set(edge.get(\"sources\", [])) - source_ids\n        if unknown:\n            raise ValueError(f\"unknown sources on edge {edge['id']}: {sorted(unknown)}\")\n        for field in (\"label\", \"status\", \"claim\", \"boundary\"):\n            if not edge.get(field):\n                raise ValueError(f\"edge {edge['id']} missing {field}\")\n        if edge.get(\"operational_state\") not in clock_ids:\n            raise ValueError(f\"edge {edge['id']} has unknown operational state\")\n\n","next_section_id":"s00005","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00004.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00005.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00004.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00005.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00004.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00005.json"},{"section_id":"s00005","ordinal":5,"label":"Section 5 (continued)","source_page":null,"start_character":47932,"end_character":60148,"start_line":678,"end_line":862,"text":"    for lens in data[\"lenses\"]:\n        unknown_nodes = set(lens.get(\"node_ids\", [])) - node_ids\n        unknown_types = set(lens.get(\"relationship_types\", [])) - type_ids\n        if unknown_nodes or unknown_types:\n            raise ValueError(f\"bad references on lens {lens['id']}\")\n\n    if len(ecosystem_ids) < 9:\n        raise ValueError(\"crypto hub requires at least nine governed ecosystem profiles\")\n    for ecosystem in data[\"ecosystems\"]:\n        unknown_nodes = set(ecosystem.get(\"node_ids\", [])) - node_ids\n        if ecosystem.get(\"root_node_id\") not in node_ids or unknown_nodes:\n            raise ValueError(f\"bad node references on ecosystem {ecosystem['id']}\")\n        if ecosystem[\"root_node_id\"] not in ecosystem.get(\"node_ids\", []):\n            raise ValueError(f\"ecosystem {ecosystem['id']} root is not a member\")\n        if len(ecosystem.get(\"walkthrough\", [])) < 5:\n            raise ValueError(f\"ecosystem {ecosystem['id']} needs an end-to-end walkthrough\")\n        overlay = set(ecosystem.get(\"overlay_node_ids\") or [])\n        if overlay - node_ids:\n            raise ValueError(f\"unknown overlay nodes on ecosystem {ecosystem['id']}: {sorted(overlay - node_ids)}\")\n        if overlay & set(ecosystem.get(\"node_ids\") or []):\n            raise ValueError(f\"overlay nodes must stay off the core stack: {ecosystem['id']}\")\n        for field in (\"label\", \"kind\", \"description\", \"boundary\"):\n            if not ecosystem.get(field):\n                raise ValueError(f\"ecosystem {ecosystem['id']} missing {field}\")\n\n    if len(trace_ids) < 6:\n        raise ValueError(\"crypto hub requires at least six governed asset traces\")\n    for trace in data[\"asset_traces\"]:\n        unknown_nodes = set(trace.get(\"node_ids\", [])) - node_ids\n        unknown_edges = set(trace.get(\"edge_ids\", [])) - edge_ids\n        if unknown_nodes or unknown_edges:\n            raise ValueError(f\"bad references on asset trace {trace['id']}\")\n        if len(trace.get(\"node_ids\", [])) < 3 or len(trace.get(\"walkthrough\", [])) < 3:\n            raise ValueError(f\"asset trace {trace['id']} needs an explicit path\")\n        for field in (\"label\", \"kind\", \"description\", \"boundary\"):\n            if not trace.get(field):\n                raise ValueError(f\"asset trace {trace['id']} missing {field}\")\n\n    coverage_ids: set[str] = set()\n    for process in data[\"process_maps\"]:\n        stage_ids = unique_ids(process.get(\"stages\", []), f\"process stages on {process['id']}\")\n        if len(stage_ids) < 10:\n            raise ValueError(f\"process {process['id']} must retain at least ten lifecycle stages\")\n        unknown_ecosystems = set(process.get(\"ecosystem_ids\", [])) - ecosystem_ids\n        if unknown_ecosystems:\n            raise ValueError(f\"unknown ecosystems on process {process['id']}: {sorted(unknown_ecosystems)}\")\n        if len(process.get(\"ecosystem_ids\", [])) != len(set(process.get(\"ecosystem_ids\", []))):\n            raise ValueError(f\"process {process['id']} contains duplicate ecosystem ids\")\n        for field in (\"label\", \"description\", \"boundary\"):\n            if not process.get(field):\n                raise ValueError(f\"process {process['id']} missing {field}\")\n        for stage in process[\"stages\"]:\n            for field in (\"label\", \"description\", \"question\"):\n                if not stage.get(field):\n                    raise ValueError(f\"process stage {stage['id']} missing {field}\")\n            if not stage.get(\"families\"):\n                raise ValueError(f\"process stage {stage['id']} has no lifecycle families\")\n        covered_ecosystems: set[str] = set()\n        for coverage in process.get(\"coverage\", []):\n            coverage_id = coverage.get(\"id\")\n            if not coverage_id or coverage_id in coverage_ids:\n                raise ValueError(f\"duplicate or empty process coverage id: {coverage_id}\")\n            coverage_ids.add(coverage_id)\n            if coverage.get(\"ecosystem_id\") not in process.get(\"ecosystem_ids\", []):\n                raise ValueError(f\"coverage {coverage_id} uses an ecosystem outside process {process['id']}\")\n            covered_ecosystems.add(coverage[\"ecosystem_id\"])\n            unknown_stages = set(coverage.get(\"stage_ids\", [])) - stage_ids\n            unknown_nodes = set(coverage.get(\"node_ids\", [])) - node_ids\n            unknown_edges = set(coverage.get(\"edge_ids\", [])) - edge_ids\n            unknown_sources = set(coverage.get(\"source_ids\", [])) - source_ids\n            if unknown_stages or unknown_nodes or unknown_edges or unknown_sources:\n                raise ValueError(\n                    f\"bad references on coverage {coverage_id}: stages={sorted(unknown_stages)}, \"\n                    f\"nodes={sorted(unknown_nodes)}, edges={sorted(unknown_edges)}, sources={sorted(unknown_sources)}\"\n                )\n            if len(coverage.get(\"stage_ids\", [])) != 1:\n                raise ValueError(f\"coverage {coverage_id} must describe one exact stage\")\n            if not coverage.get(\"stage_ids\") or not coverage.get(\"source_ids\"):\n                raise ValueError(f\"coverage {coverage_id} needs stages and primary sources\")\n            if not coverage.get(\"node_ids\") and not coverage.get(\"edge_ids\"):\n                raise ValueError(f\"coverage {coverage_id} needs a supporting node or edge\")\n            coverage_nodes = set(coverage.get(\"node_ids\", []))\n            for edge_id in coverage.get(\"edge_ids\", []):\n                edge = edges_by_id[edge_id]\n                missing_endpoints = {edge[\"from\"], edge[\"to\"]} - coverage_nodes\n                if missing_endpoints:\n                    raise ValueError(\n                        f\"coverage {coverage_id} omits endpoints for {edge_id}: \"\n                        f\"{sorted(missing_endpoints)}\"\n                    )\n            if coverage.get(\"role\") not in process_role_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown process role\")\n            if coverage.get(\"operational_state\") not in clock_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown operational state\")\n            if coverage.get(\"scale_state\") not in scale_state_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown scale state\")\n            if coverage.get(\"stress_state\") not in stress_state_ids:\n                raise ValueError(f\"coverage {coverage_id} has unknown stress state\")\n            for field in (\"summary\", \"boundary\"):\n                if not coverage.get(field):\n                    raise ValueError(f\"coverage {coverage_id} missing {field}\")\n        missing_coverage = set(process.get(\"ecosystem_ids\", [])) - covered_ecosystems\n        if missing_coverage:\n            raise ValueError(f\"process {process['id']} has listed ecosystems with no mapped coverage: {sorted(missing_coverage)}\")\n\n    coverage_lookup = {c[\"id\"]: (p[\"id\"], c) for p in data[\"process_maps\"] for c in p[\"coverage\"]}\n    for trace in data[\"asset_traces\"]:\n        if trace.get(\"process_id\") not in trace.get(\"process_ids\", []) or not set(trace.get(\"process_ids\", [])) <= process_ids:\n            raise ValueError(f\"trace {trace['id']} has invalid process mappings\")\n        for ref in trace.get(\"coverage_ids\", []):\n            if ref not in coverage_lookup or coverage_lookup[ref][0] not in trace[\"process_ids\"]:\n                raise ValueError(f\"trace {trace['id']} has invalid coverage {ref}\")\n        if len(trace.get(\"mapping_steps\", [])) != len(trace[\"walkthrough\"]):\n            raise ValueError(f\"trace {trace['id']} needs every narrative step assessed\")\n        for step in trace[\"mapping_steps\"]:\n            if not set(step[\"coverage_ids\"]) <= set(trace[\"coverage_ids\"]):\n                raise ValueError(f\"trace {trace['id']} step has unmapped coverage\")\n\n    unique_ids(data.get(\"evidence_questions\", []), \"evidence questions\")\n    for question in data.get(\"evidence_questions\", []):\n        for field in (\"label\", \"finding\", \"unknown\", \"needed\", \"comparison\"):\n            if not question.get(field):\n                raise ValueError(f\"evidence question missing {field}\")\n        if not question.get(\"coverage_ids\") or not set(question[\"coverage_ids\"]) <= set(coverage_lookup):\n            raise ValueError(\"evidence question has invalid coverage\")\n        if not question.get(\"source_ids\") or not set(question[\"source_ids\"]) <= source_ids:\n            raise ValueError(\"evidence question has invalid sources\")\n    for trace in data[\"asset_traces\"]:\n        if trace.get(\"sequence_label\") and not trace.get(\"sequence_boundary\"):\n            raise ValueError(\"reported sequence needs a timing boundary\")\n\n    bank_research = data.get(\"bank_research\", {})\n    if not bank_research.get(\"cutoff\") or bank_research.get(\"report_source_id\") not in source_ids:\n        raise ValueError(\"bank research needs a cutoff and saved report source\")\n    banks = bank_research.get(\"banks\", [])\n    bank_ids = [bank.get(\"node_id\") for bank in banks]\n    if len(bank_ids) != 17 or len(set(bank_ids)) != len(bank_ids) or not set(bank_ids) <= node_ids:\n        raise ValueError(\"bank research must cover the 17 unique July 2026 roster bank nodes\")\n    bank_by_id = {bank[\"node_id\"]: bank for bank in banks}\n    cases = bank_research.get(\"cases\", [])\n    if not cases:\n        raise ValueError(\"bank research needs sourced transaction cases\")\n    unique_ids(cases, \"bank research cases\")\n    completed_banks = set()\n    for case in cases:\n        participants = case.get(\"bank_ids\", [])\n        if not participants or len(set(participants)) != len(participants) or not set(participants) <= set(bank_ids):\n            raise ValueError(f\"bank case {case['id']} has invalid bank participants\")\n        if case.get(\"trace_id\") not in trace_ids:\n            raise ValueError(f\"bank case {case['id']} has an unknown trace\")\n        if not case.get(\"source_ids\") or not set(case[\"source_ids\"]) <= source_ids:\n            raise ValueError(f\"bank case {case['id']} needs valid sources\")\n        for field in (\"label\", \"publication_date\", \"summary\", \"boundary\"):\n            if not case.get(field):\n                raise ValueError(f\"bank case {case['id']} missing {field}\")\n        if \"execution_date\" not in case:\n            raise ValueError(f\"bank case {case['id']} must state its execution-date disclosure\")\n        completed_banks.update(participants)\n        for bank_id in participants:\n            if case[\"trace_id\"] not in bank_by_id[bank_id].get(\"trace_ids\", []):\n                raise ValueError(f\"bank {bank_id} omits its case trace {case['trace_id']}\")\n    for bank in banks:\n        expected = \"completed\" if bank[\"node_id\"] in completed_banks else \"roster\"\n        if bank.get(\"result\") != expected:\n            raise ValueError(f\"bank {bank['node_id']} result must agree with sourced case coverage ({expected})\")\n        refs = bank.get(\"trace_ids\", [])\n        if len(refs) != len(set(refs)) or not set(refs) <= trace_ids:\n            raise ValueError(f\"bank {bank['node_id']} has invalid trace references\")\n        for adjacent in bank.get(\"adjacent\", []):\n            if not adjacent.get(\"label\") or not adjacent.get(\"summary\"):\n                raise ValueError(f\"bank {bank['node_id']} has incomplete adjacent research\")\n            if adjacent.get(\"operational_state\") not in clock_ids:\n                raise ValueError(f\"bank {bank['node_id']} adjacent research needs an operating clock\")\n            if not adjacent.get(\"source_ids\") or not set(adjacent[\"source_ids\"]) <= source_ids:\n                raise ValueError(f\"bank {bank['node_id']} adjacent research needs valid sources\")\n            if adjacent.get(\"node_id\") and adjacent[\"node_id\"] not in node_ids:\n                raise ValueError(f\"bank {bank['node_id']} has an unknown adjacent node\")\n            if adjacent.get(\"edge_id\"):\n                edge = edges_by_id.get(adjacent[\"edge_id\"])\n                if not edge or bank[\"node_id\"] not in {edge[\"from\"], edge[\"to\"]}:\n                    raise ValueError(f\"bank {bank['node_id']} has an invalid adjacent relationship\")\n                if adjacent.get(\"node_id\") and adjacent[\"node_id\"] not in {edge[\"from\"], edge[\"to\"]}:\n                    raise ValueError(f\"bank {bank['node_id']} adjacent node and relationship disagree\")\n\n","next_section_id":"s00006","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00005.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00006.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00005.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00006.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00005.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00006.json"},{"section_id":"s00006","ordinal":6,"label":"Section 6 (continued)","source_page":null,"start_character":60148,"end_character":68765,"start_line":862,"end_line":993,"text":"    unique_ids(data[\"accounting_layers\"], \"accounting layers\")\n    known_families = {family for process in data[\"process_maps\"] for stage in process[\"stages\"] for family in stage[\"families\"]}\n    for layer in data[\"accounting_layers\"]:\n        if not layer.get(\"families\") or set(layer[\"families\"]) - known_families:\n            raise ValueError(f\"invalid accounting families on {layer['id']}\")\n        for field in (\"label\", \"explanation\", \"question\"):\n            if not layer.get(field):\n                raise ValueError(f\"accounting layer {layer['id']} missing {field}\")\n\n    books = data[\"books_hub\"]\n    if not all(books.get(k) for k in (\"title\", \"subtitle\", \"cutoff\", \"test\", \"boundary\", \"report_source_id\")):\n        raise ValueError(\"incomplete books hub\")\n    if books[\"report_source_id\"] not in source_ids:\n        raise ValueError(\"books hub report source missing\")\n    kind_ids = unique_ids(books[\"book_kinds\"], \"book kinds\")\n    if kind_ids != {\"proprietary\", \"fiduciary\", \"memo\", \"none\"}:\n        raise ValueError(\"book kinds must be proprietary, fiduciary, memo and none\")\n    books_route_ids = unique_ids(books[\"routes\"], \"books routes\")\n    if books_route_ids != set(rights_by_route):\n        raise ValueError(\"books routes must cover the taught rights routes\")\n    for route in books[\"routes\"]:\n        if not all(route.get(k) for k in (\"title\", \"amount\", \"amount_label\", \"scope\", \"overlay_name\")):\n            raise ValueError(f\"incomplete books route {route['id']}\")\n        if not isinstance(route[\"amount\"], int) or route[\"amount\"] < 1:\n            raise ValueError(f\"books route {route['id']} needs a teaching amount\")\n        unique_ids(route[\"steps\"], \"books steps\")\n        rights_steps = {s[\"id\"] for s in rights_by_route[route[\"id\"]][\"steps\"]}\n        mapped = [s[\"rights_step_id\"] for s in route[\"steps\"]]\n        if set(mapped) != rights_steps or len(mapped) != len(rights_steps):\n            raise ValueError(f\"books steps must cover every rights step exactly once: {route['id']}\")\n        for step in route[\"steps\"]:\n            if step[\"rights_step_id\"] not in rights_steps:\n                raise ValueError(f\"unknown rights step on books {route['id']}/{step['id']}\")\n            if step.get(\"legal_step_id\") not in step_ids:\n                raise ValueError(f\"invalid books legal handoff {route['id']}/{step['id']}\")\n            if not all(step.get(k) for k in (\"title\", \"question\", \"role_test\")):\n                raise ValueError(f\"incomplete books step {step['id']}\")\n            if not step.get(\"source_ids\") or set(step[\"source_ids\"]) - source_ids:\n                raise ValueError(f\"invalid books sources {route['id']}/{step['id']}\")\n            unique_ids(step[\"entries\"], f\"books entries {step['id']}\")\n            unique_ids(step.get(\"overlay_entries\", []), f\"books overlay entries {step['id']}\")\n            if not step[\"entries\"]:\n                raise ValueError(f\"books step {step['id']} has no ordinary entries\")\n            for entry in step[\"entries\"] + step.get(\"overlay_entries\", []):\n                if entry.get(\"book_kind\") not in kind_ids:\n                    raise ValueError(f\"invalid book kind on {entry.get('id')}\")\n                occupant = entry.get(\"occupant\")\n                if not occupant:\n                    raise ValueError(f\"books entry {entry.get('id')} missing occupant\")\n                if occupant == \"unnamed\":\n                    if entry.get(\"occupant_status\") or entry.get(\"occupant_source_ids\"):\n                        raise ValueError(f\"unnamed occupant cannot carry qualification evidence: {entry['id']}\")\n                else:\n                    if entry.get(\"occupant_status\") not in {\"verified\", \"dated\", \"conditional\", \"example\", \"lead\"}:\n                        raise ValueError(f\"invalid occupant status on {entry['id']}\")\n                    if not entry.get(\"occupant_source_ids\") or set(entry[\"occupant_source_ids\"]) - source_ids:\n                        raise ValueError(f\"named occupant needs sources: {entry['id']}\")\n                    if not entry.get(\"occupant_boundary\"):\n                        raise ValueError(f\"named occupant needs a boundary: {entry['id']}\")\n                    if entry.get(\"node_id\") and entry[\"node_id\"] not in node_ids:\n                        raise ValueError(f\"unknown occupant node {entry['id']}\")\n                if not entry.get(\"entity_label\") or not entry.get(\"role_performed\"):\n                    raise ValueError(f\"incomplete books entry {entry.get('id')}\")\n                debit, credit = (entry.get(\"debit\") or \"\").strip(), (entry.get(\"credit\") or \"\").strip()\n                if entry[\"book_kind\"] in {\"proprietary\", \"fiduciary\"}:\n                    if not debit or not credit:\n                        raise ValueError(f\"moving books need debit and credit: {entry['id']}\")\n                if entry[\"book_kind\"] == \"none\" and (debit not in {\"\", \"—\", \"-\"} or credit not in {\"\", \"—\", \"-\"}):\n                    raise ValueError(f\"no-entry row cannot book the economic object: {entry['id']}\")\n    walk = data[\"process_walk\"]\n    if not all(walk.get(k) for k in (\"title\", \"subtitle\", \"test\", \"cutoff\", \"routes\")):\n        raise ValueError(\"incomplete process walk\")\n    walk_ids = unique_ids(walk[\"routes\"], \"process walk routes\")\n    if walk_ids != set(rights_by_route):\n        raise ValueError(\"process walk must cover the taught routes\")\n    for route in walk[\"routes\"]:\n        if not all(route.get(k) for k in (\"tab\", \"title\", \"today\", \"overlay_name\")):\n            raise ValueError(f\"incomplete walk route {route['id']}\")\n        unique_ids(route[\"steps\"], \"walk steps\")\n        books_steps = {s[\"id\"] for s in rights_by_route[route[\"id\"]][\"steps\"]}\n        if {s[\"id\"] for s in route[\"steps\"]} != books_steps:\n            raise ValueError(f\"walk steps must match books/rights steps: {route['id']}\")\n        for step in route[\"steps\"]:\n            if not step.get(\"title\") or not step.get(\"what\") or not step.get(\"seats\"):\n                raise ValueError(f\"incomplete walk step {route['id']}/{step['id']}\")\n            seat_names = [s.get(\"seat\") for s in step[\"seats\"]]\n            if any(not n for n in seat_names) or len(seat_names) != len(set(seat_names)):\n                raise ValueError(f\"walk seats need unique names: {step['id']}\")\n            for seat in step[\"seats\"]:\n                if not seat.get(\"today\") or not seat.get(\"overlap\") or not seat.get(\"overtake\"):\n                    raise ValueError(f\"incomplete walk seat {step['id']}\")\n    for directory in (books.get(\"current_directories\") or {}).values():\n        if directory.get(\"source_id\") not in source_ids:\n            raise ValueError(f\"current directory missing source: {directory.get('id')}\")\n        if not directory.get(\"as_of\") or not directory.get(\"boundary\") or not directory.get(\"shown_on\"):\n            raise ValueError(f\"incomplete current directory {directory.get('id')}\")\n        unique_ids(directory[\"rows\"], f\"current directory {directory['id']}\")\n        for row in directory[\"rows\"]:\n            if not row.get(\"name\") or not row.get(\"id\"):\n                raise ValueError(f\"incomplete current directory row {directory['id']}\")\n\n    for lane in data[\"lanes\"]:\n        if not lane.get(\"color\"):\n            raise ValueError(f\"lane {lane['id']} missing governed color\")\n\n    for required in (\n        \"ripple-labs\", \"xrpl\", \"rlusd\", \"xrp\", \"securitize-llc\", \"wormhole\",\n        \"master-securityholder-file\", \"linked-electronic-systems\", \"ethereum\", \"solana\",\n        \"taurus-acquisition-inc\", \"circle-technology-services\", \"circle-payments-network\",\n        \"tazapay-pte\", \"tazapay-canada\", \"tazapay-local-rails\",\n    ):\n        if required not in node_ids:\n            raise ValueError(f\"required boundary node missing: {required}\")\n\n    tazapay_edge = edges_by_id.get(\"e-taurus-tazapay-pending-control\")\n    if not tazapay_edge:\n        raise ValueError(\"Circle–Tazapay pending-control edge is required\")\n    if (\n        tazapay_edge.get(\"from\") != \"taurus-acquisition-inc\"\n        or tazapay_edge.get(\"to\") != \"tazapay-pte\"\n        or tazapay_edge.get(\"type\") != \"pending_control\"\n        or tazapay_edge.get(\"operational_state\") != \"announced\"\n    ):\n        raise ValueError(\"Circle–Tazapay acquisition must remain pending control until a closing receipt updates the map\")\n\n    control_edges = [edge for edge in data[\"edges\"] if edge[\"type\"] == \"control\"]\n    if len(control_edges) < 8:\n        raise ValueError(\"control skeleton is unexpectedly incomplete\")\n    if len(data[\"edges\"]) < 35 or len(data[\"nodes\"]) < 25:\n        raise ValueError(\"map is unexpectedly incomplete\")\n\n","next_section_id":"s00007","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00006.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00007.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00006.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00007.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00006.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00007.json"},{"section_id":"s00007","ordinal":7,"label":"Section 7 (continued)","source_page":null,"start_character":68765,"end_character":89081,"start_line":993,"end_line":1066,"text":"\nHTML = r'''<!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<meta name=\"referrer\" content=\"no-referrer\">\n<title>Crypto Infrastructure Hub</title>\n<style>\n:root{\n  color-scheme:dark;\n  --bg:#0b0e13;--panel:#11161e;--panel-2:#151b25;--ink:#eef1f5;\n  --muted:#9ca6b5;--line:#2b3442;--gold:#e5b94b;--soft-gold:#e5b94b18;\n  --focus:#8ec7ff;--danger:#e06b76;--shadow:0 18px 50px #0007;\n}\n:root[data-theme=\"light\"]{\n  color-scheme:light;--bg:#f2f4f7;--panel:#ffffff;--panel-2:#f7f8fa;\n  --ink:#18202b;--muted:#5e6b7a;--line:#d7dde5;--soft-gold:#a97b0f18;\n  --focus:#1769aa;--shadow:0 15px 40px #33415518;\n}\n*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif}\nbody{margin:0;background:radial-gradient(circle at 18% -12%,#e5b94b12,transparent 34%),var(--bg)}\nbutton,input,select{font:inherit}button{color:inherit}.shell{max-width:1900px;margin:auto;padding:28px 20px 48px}\n.eyebrow{font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.17em;text-transform:uppercase;color:var(--gold)}\nh1{font:700 clamp(34px,5vw,66px)/1 Georgia,\"Times New Roman\",serif;margin:12px 0 12px;max-width:1100px;letter-spacing:-.025em}\n.deck{font:italic clamp(17px,2.1vw,23px)/1.45 Georgia,\"Times New Roman\",serif;color:color-mix(in srgb,var(--ink) 80%,var(--muted));max-width:1060px;margin:0}\n.thesis{max-width:1180px;margin:22px 0 0;padding-left:17px;border-left:3px solid var(--gold);font-size:15px;line-height:1.65;color:color-mix(in srgb,var(--ink) 78%,var(--muted))}\n.stats{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 0}.stat{border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 86%,transparent);border-radius:8px;padding:9px 11px;min-width:124px}.stat b{display:block;font:700 18px ui-monospace,SFMono-Regular,Menlo,monospace}.stat span{display:block;color:var(--muted);font-size:11px;margin-top:2px;text-transform:uppercase;letter-spacing:.08em}\n.toolbar{position:sticky;top:0;z-index:30;margin:27px 0 16px;padding:12px 0;background:color-mix(in srgb,var(--bg) 91%,transparent);backdrop-filter:blur(14px);border-block:1px solid var(--line)}\n.toolbar-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.toolbar-row[hidden],.context-field[hidden]{display:none}.toolbar-row+.toolbar-row{margin-top:9px}.tool-label{display:block;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:5px}.field{display:grid;gap:0}.field-grow{flex:1;min-width:210px}.field-compact{min-width:170px}.control{min-height:38px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;padding:8px 10px}.mode-group{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.mode-toggle{min-height:38px;border:0;border-right:1px solid var(--line);background:transparent;padding:8px 12px;cursor:pointer;color:var(--muted)}.mode-toggle:last-child{border-right:0}.mode-toggle[aria-pressed=\"true\"]{background:var(--ink);color:var(--bg)}.mode-toggle:hover{color:var(--ink)}.mode-toggle[aria-pressed=\"true\"]:hover{color:var(--bg)}\n.search{min-width:240px;width:100%;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:8px;padding:8px 11px}.search::placeholder{color:var(--muted)}.toolbar-action{min-height:38px;border:1px solid var(--line);background:transparent;border-radius:8px;padding:8px 11px;cursor:pointer;color:var(--muted)}.toolbar-action:hover,.toolbar-action[aria-expanded=\"true\"]{color:var(--ink);border-color:var(--focus)}\n.refine-panel{margin-top:10px;padding:12px 0;border-top:1px solid var(--line)}.key-note{margin:0 0 10px;color:var(--muted);font-size:12px}.legend-grid{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(420px,1.35fr) minmax(260px,.8fr);gap:18px}.legend-title{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 7px}.legend-items{display:flex;flex-wrap:wrap;gap:7px}.legend-item,.type-toggle{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:transparent;border-radius:7px;padding:6px 8px;color:var(--muted);font-size:11px}.type-toggle{cursor:pointer}.type-toggle[aria-pressed=\"true\"]{color:var(--ink);border-color:var(--edge-color);background:color-mix(in srgb,var(--edge-color) 10%,transparent)}.lane-swatch{width:5px;height:20px;border-radius:3px;background:var(--lane-color)}.clock-swatch{width:8px;height:8px;border-radius:50%;background:var(--clock-color)}.edge-sample{display:block;width:34px;height:12px}.edge-sample line{stroke:var(--edge-color);stroke-width:2}\n.selection-summary{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0;flex:1}.selection-chip{border:1px solid color-mix(in srgb,var(--focus) 55%,var(--line));border-radius:999px;padding:4px 8px;color:var(--ink);font-size:11px;background:color-mix(in srgb,var(--focus) 10%,transparent)}.clear-selection{border:0;background:transparent;color:var(--focus);padding:6px 8px;cursor:pointer;font-size:11px}.clear-selection:hover{text-decoration:underline}\n.lens-note{margin:9px 0 0 80px;color:var(--muted);font-size:12px;line-height:1.4}\n.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}\n.map-frame,.detail{background:color-mix(in srgb,var(--panel) 97%,transparent);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}\n.map-frame{overflow:hidden}.map-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:14px 16px;border-bottom:1px solid var(--line)}.map-head h2{font:700 19px Georgia,serif;margin:0 0 4px}.map-head p{color:var(--muted);font-size:12px;margin:0;line-height:1.45}.map-actions{display:flex;gap:8px;align-items:center}.map-count{white-space:nowrap;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--gold)}.map-button{border:1px solid var(--line);background:transparent;border-radius:7px;padding:6px 8px;color:var(--muted);cursor:pointer;font-size:11px}.map-button:hover{color:var(--ink);border-color:var(--focus)}\n.map-scroll{overflow:auto;padding:0 10px 10px}.map-canvas{position:relative;min-width:1320px;height:860px;background-image:linear-gradient(to right,transparent calc(100% - 1px),var(--line) calc(100% - 1px));background-size:var(--lane-width,16.666667%) 100%;background-repeat:repeat-x}\n.local-research pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 system-ui;max-height:420px;overflow:auto}.local-research summary{cursor:pointer;color:var(--focus)}.process-card-research{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.process-card-research summary{cursor:pointer;font-weight:700;color:var(--focus);padding:6px 0}.process-card-research p{margin:8px 0}.process-card-research a{font-size:11px}.comparison-picker,.follow-object,.flow-context{margin:12px 16px}.comparison-options{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}.comparison-options label{font-size:12px}.follow-object{display:flex;align-items:center;gap:12px;font-size:13px}.follow-object select{max-width:420px}.flow-context{font-size:12px;color:var(--muted)}.process-scroll{overflow:auto;padding:0 10px 14px}.process-scroll[hidden],.map-scroll[hidden]{display:none}.process-grid{display:grid;align-items:stretch;min-width:1420px}.process-head,.process-label,.process-cell{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px;min-height:68px}.process-head{display:flex;align-items:end;color:var(--muted);font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.05em;text-transform:uppercase}.process-head:first-child,.process-label{position:sticky;left:0;z-index:4;background:var(--panel)}.process-label{display:flex;align-items:center;padding:8px 10px}.process-label button{width:100%;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font-weight:700;font-size:12px;line-height:1.3;padding:7px}.process-label button:hover,.process-label button:focus-visible{color:var(--focus);outline:1px solid var(--line);border-radius:7px}.process-cell{display:grid;align-content:start;gap:6px;background:color-mix(in srgb,var(--panel) 96%,transparent)}.process-entry{width:100%;border:1px solid color-mix(in srgb,var(--role-color) 55%,var(--line));border-left:4px solid var(--role-color);border-radius:7px;background:color-mix(in srgb,var(--role-color) 10%,var(--panel));color:var(--ink);padding:7px;text-align:left;cursor:pointer}.process-entry:hover,.process-entry:focus-visible,.process-entry[aria-pressed=\"true\"]{border-color:var(--role-color);outline:2px solid color-mix(in srgb,var(--role-color) 35%,transparent);outline-offset:1px}.process-entry small{display:block;font-size:9px;line-height:1.35;margin-top:5px;color:var(--muted)}.process-entry b{display:block;font-size:10px;line-height:1.25}.process-entry span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;line-height:1.25;margin-top:4px}.process-entry span:before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--clock-color);flex:0 0 auto}.process-empty{color:var(--muted);display:grid;place-items:center;min-height:45px;font-size:12px}.process-role-swatch{width:8px;height:18px;border-radius:3px;background:var(--role-color)}.process-evidence-list{display:grid;gap:7px}.process-evidence-item{border-left:3px solid var(--lane-color);padding-left:9px}.process-evidence-item b{display:block;font-size:11px}.process-evidence-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}.process-route-button{margin-top:12px;border:1px solid var(--line);background:transparent;color:var(--focus);border-radius:7px;padding:7px 9px;cursor:pointer;font-size:11px}.process-route-button:hover{border-color:var(--focus)}\n.lane-head{position:absolute;top:14px;transform:translateX(-50%);padding-inline:12px;text-align:center;pointer-events:none}.lane-head b{display:block;font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;text-wrap:balance;color:var(--ink)}.lane-head span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:5px;text-wrap:balance}\n.edges{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.edge{fill:none;stroke-width:1.8;opacity:.5;transition:opacity .15s,stroke-width .15s}.edge.dim{opacity:.12}.edge.hot{opacity:1;stroke-width:3.2}.edge-hit{fill:none;stroke:transparent;stroke-width:15;pointer-events:stroke;cursor:pointer}.edge-end{opacity:.75;pointer-events:none}\n.node{position:absolute;width:158px;min-height:62px;transform:translate(-50%,-50%);border:1px solid var(--line);border-left:4px solid var(--lane-color);border-radius:8px;background:linear-gradient(145deg,var(--panel-2),var(--panel));padding:9px 10px;text-align:left;cursor:pointer;box-shadow:0 8px 20px #0003;transition:opacity .15s,transform .15s,border-color .15s,box-shadow .15s}.node:hover,.node.selected{transform:translate(-50%,-50%) translateY(-2px);border-color:var(--focus);box-shadow:0 0 0 2px color-mix(in srgb,var(--focus) 24%,transparent),0 10px 25px #0004}.node:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.node.dim{opacity:.36}.node.hidden{display:none}.node b{display:block;font-size:12px;line-height:1.22}.node span{display:block;color:var(--muted);font-size:10px;line-height:1.25;margin-top:4px}.node .kind{font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.06em;color:var(--lane-color);margin-top:5px}.node .clock{display:flex;align-items:center;gap:5px;color:var(--muted);font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.04em}.node .clock:before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--clock-color)}\n.detail{position:sticky;top:138px;max-height:calc(100vh - 155px);overflow:auto}.detail-top{padding:17px 18px 14px;border-bottom:1px solid var(--line)}.detail-kicker{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--gold);letter-spacing:.1em;text-transform:uppercase}.detail h2{font:700 25px/1.08 Georgia,serif;margin:8px 0}.status{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:5px 8px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}.clock-badge{display:inline-flex;align-items:center;gap:6px;margin-left:5px}.clock-badge:before{content:\"\";width:7px;height:7px;border-radius:50%;background:var(--clock-color)}.detail-body{padding:16px 18px 18px}.detail-block+.detail-block{margin-top:15px}.detail-block h3{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px}.detail-block p{font-size:13px;line-height:1.55;margin:0}.boundary{border-left:3px solid var(--danger);padding-left:10px;color:color-mix(in srgb,var(--ink) 82%,var(--muted))}.source-list{display:grid;gap:7px}.source-list a{font-size:12px;color:var(--focus);text-decoration:none}.source-list a:hover{text-decoration:underline}.empty-note{color:var(--muted);font-size:13px;line-height:1.55}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:7px}.stack-path{display:grid;gap:7px;counter-reset:stage}.stack-step{display:grid;grid-template-columns:22px 1fr;gap:7px;font-size:12px;line-height:1.4}.stack-step:before{counter-increment:stage;content:counter(stage);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--soft-gold);color:var(--gold);font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}\n.relationships{margin-top:15px;border-top:1px solid var(--line);padding-top:13px}.relationships h3{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px}.relationship-list{display:grid;gap:6px}.relationship{display:grid;grid-template-columns:10px 1fr;gap:8px;width:100%;text-align:left;border:0;border-radius:7px;background:transparent;padding:7px;cursor:pointer}.relationship:hover,.relationship:focus-visible{background:color-mix(in srgb,var(--ink) 6%,transparent);outline:1px solid var(--line)}.relationship i{display:block;width:8px;height:8px;border-radius:50%;margin-top:4px;background:var(--edge-color)}.relationship b{display:block;font-size:11px;line-height:1.35}.relationship span{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin-top:2px}\n.compare-list{display:grid;gap:8px}.compare-item{border-left:3px solid var(--lane-color);padding-left:10px}.compare-item b{display:block;font-size:12px}.compare-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}.shared-list{display:grid;gap:7px}.shared-item{border:1px solid var(--line);border-radius:7px;padding:8px 9px}.shared-item b{display:block;font-size:11px}.shared-item span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:3px}\n.footer{margin:17px 2px 0;color:var(--muted);font-size:11px;line-height:1.55}.footer b{color:var(--ink)}\n.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.chart-expanded .shell{max-width:none;padding:10px}.chart-expanded .shell>.eyebrow,.chart-expanded .shell>h1,.chart-expanded .shell>.deck,.chart-expanded .shell>.thesis,.chart-expanded .shell>.stats,.chart-expanded .shell>.footer{display:none}.chart-expanded .toolbar{position:static;margin:0 0 10px}.chart-expanded .workspace{grid-template-columns:minmax(0,1fr) 360px}.chart-expanded .detail{top:10px;max-height:calc(100vh - 20px)}.chart-expanded .map-scroll,.chart-expanded .process-scroll{max-height:calc(100vh - 92px)}.chart-expanded .map-canvas{min-width:1650px}\n@media(max-width:1350px){.workspace{grid-template-columns:1fr}.detail{position:static;max-height:none}.legend-grid{grid-template-columns:1fr}.chart-expanded .workspace{grid-template-columns:1fr}.chart-expanded .detail{display:none}}\n@media(max-width:700px){.shell{padding:22px 10px 36px}.field,.field-grow{min-width:100%}.mode-group{width:100%}.mode-toggle{flex:1}.map-head{display:block}.map-actions{margin-top:9px}.map-scroll{padding-inline:4px}.detail h2{font-size:22px}}\n@media(prefers-reduced-motion:reduce){*{transition:none!important}}\n.accounting-panel{padding:18px}.accounting-panel[hidden]{display:none}.accounting-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.accounting-tabs button,.accounting-open{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--ink);padding:10px;cursor:pointer}.accounting-tabs button[aria-pressed=\"true\"]{border-color:#64c9b1;background:#183a35}.accounting-intro{max-width:850px;line-height:1.6}.accounting-filters{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.accounting-filters label{display:grid;gap:6px}.accounting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.accounting-card{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:16px}.accounting-card h3{margin:9px 0}.accounting-card p{font-size:13px;line-height:1.55}.accounting-tag{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#7ce1c2}.accounting-card.comparison .accounting-tag{color:#dabd80}.accounting-card .source-list a{display:block;font-size:11px;margin:7px 0}.accounting-gap{padding:12px;border-left:3px solid #dabd80;background:var(--panel-2)}.accounting-example{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.accounting-example table{border-collapse:collapse;width:100%;font-size:12px}.accounting-example td,.accounting-example th{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.workspace.accounting-active{grid-template-columns:1fr}.workspace.accounting-active>.detail{display:none}.accounting-example input{max-width:160px}.accounting-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}\n.flow-spine{margin:0 0 16px;padding:14px 16px;border:1px solid var(--line,#d4dce6);border-radius:12px;background:var(--panel,#fff);color:var(--ink,#19232e)}\n.flow-spine-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}\n.flow-spine-heading>strong{font-size:15px}\n.flow-spine-overview{font-size:12px;color:var(--muted,#526379)}\n.flow-spine-note{margin:6px 0 10px;font-size:12px;line-height:1.5;color:var(--muted,#526379);max-width:110ch}\n.flow-spine-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:4px 3px 10px;scrollbar-width:thin}\n.flow-spine-row{display:flex;align-items:stretch;gap:7px;min-width:max-content}\n.flow-spine-step{position:relative;display:grid;grid-template-rows:18px minmax(34px,auto) 16px;gap:5px;flex:0 0 145px;width:145px;min-height:104px;padding:10px 11px;text-align:left;border:1px solid var(--line,#d4dce6);border-radius:8px;background:var(--panel,#fff);color:var(--ink,#19232e);font:inherit;cursor:pointer}\n.flow-spine-step:hover{border-color:var(--focus);background:color-mix(in srgb,var(--focus) 12%,var(--panel))}\n.flow-spine-step[aria-pressed=\"true\"]{border:2px solid #235b92;padding:9px 10px;background:color-mix(in srgb,var(--focus) 18%,var(--panel));box-shadow:inset 0 3px 0 var(--focus)}\n.flow-spine-step:focus-visible{outline:3px solid #235b92;outline-offset:3px}\n.flow-spine-number{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted)}\n.flow-spine-label{font-size:12px;font-weight:700;line-height:1.35;white-space:normal}\n.flow-spine-count{font-size:10px;line-height:1.3;white-space:nowrap;color:var(--muted)}\n.flow-spine-gap{border-style:dashed}\n.flow-spine-gap .flow-spine-count{font-style:italic}\n.flow-spine-all{flex-basis:106px;width:106px;margin-right:8px;background:var(--panel)}\n.flow-spine-arrow{align-self:center;color:#78899b;font-size:20px;line-height:1;flex:0 0 16px;text-align:center}\n@media(max-width:640px){.flow-spine{padding:12px}.flow-spine-step{flex-basis:135px;width:135px}.flow-spine-overview{font-size:11px}.flow-spine-all{flex-basis:100px;width:100px}}\n@media(forced-colors:active){.flow-spine-step[aria-pressed=\"true\"]{outline:2px solid Highlight}.flow-spine-arrow{color:CanvasText}}\n\n","next_section_id":"s00008","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00007.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00008.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00007.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00008.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00007.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00008.json"},{"section_id":"s00008","ordinal":8,"label":"Section 8 (continued)","source_page":null,"start_character":89081,"end_character":95510,"start_line":1066,"end_line":1090,"text":"\n.bank-research{margin:16px 0;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.bank-research>summary{padding:15px 18px;cursor:pointer;font-weight:700;font-size:15px}.bank-research>summary small{display:block;color:var(--muted);font-weight:400;font-size:11px;line-height:1.5;margin:5px 0 0 18px}.bank-research-body{padding:0 18px 18px;border-top:1px solid var(--line)}.bank-research-intro{font-size:12px;line-height:1.6;color:var(--muted);max-width:1000px}.bank-research-filters{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.bank-research-filters label{display:grid;gap:5px;min-width:220px;max-width:100%;font-size:11px;color:var(--muted)}.bank-research-filters select{width:100%}.bank-research-count{font-size:11px;color:var(--muted)}.bank-research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin:10px 0 20px}.bank-research-card{border:1px solid var(--line);border-radius:9px;background:var(--panel-2);min-width:0}.bank-research-card>summary{padding:13px;cursor:pointer;line-height:1.4;font-size:13px;font-weight:700}.bank-research-card>summary small{display:block;font-size:10px;font-weight:400;line-height:1.5;color:var(--muted);margin-top:6px}.bank-research-card-body{padding:0 13px 13px;font-size:12px;line-height:1.6}.bank-research-card-body p{margin:9px 0}.bank-research-card .source-list{overflow-wrap:anywhere}.bank-research-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.bank-research-actions button{margin:0;white-space:normal;text-align:left}.bank-adjacent{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.bank-adjacent h4{margin:0;font-size:12px}.bank-research-section-title{font-size:14px;margin:18px 0 8px}.bank-status{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:2px 7px;font-size:10px;line-height:1.4;font-weight:500;color:var(--muted)}.bank-status.completed{color:var(--focus);border-color:var(--focus)}.bank-research-report{border-top:1px solid var(--line);padding-top:14px}.bank-research button:focus-visible,.bank-research summary:focus-visible,.bank-research select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}\n\n\n#evidenceFlow{padding:12px 16px}.reported-sequence h3{margin:0}.reported-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0}.reported-steps button{height:100%;width:100%;text-align:left;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit;cursor:pointer}.reported-steps b{display:block;color:var(--gold);margin-bottom:5px}.evidence-review{padding:12px;border:1px solid var(--line);border-radius:8px;margin:10px 0}.evidence-review>summary{cursor:pointer;font-weight:600}.evidence-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.evidence-question{min-width:0;overflow-wrap:anywhere}.reported-steps button:focus-visible{outline:3px solid var(--gold)}@media(max-width:850px){.reported-steps,.evidence-question-grid{grid-template-columns:1fr}}\n\n#infra-rulebooks table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px}#infra-rulebooks th,#infra-rulebooks td{text-align:left;vertical-align:top;padding:14px;border-bottom:1px solid #4b5e6a;line-height:1.5}#infra-rulebooks th{color:#dbc57e}#infra-rulebooks td{min-width:160px}#infra-rulebooks tr:focus{outline:2px solid #dbc57e}.infra-map{margin:36px 0 50px}.infra-map h2{font:700 30px Georgia,serif}.infra-heading{display:grid;grid-template-columns:2fr 1fr;gap:30px}.infra-map p{line-height:1.55}.infra-map select{width:100%;padding:12px;background:#1a2a36;border:1px solid #688396;border-radius:6px;color:#e7edf3;font:inherit}.infra-map label{display:block;margin-bottom:8px}.infra-inspect{scroll-margin-top:24px;display:grid;grid-template-columns:1fr 1.6fr;gap:24px;padding:24px;border:1px solid #bca159;border-radius:12px;margin:20px 0}.infra-inspect h3{font-size:25px;margin:8px 0}.infra-edges{display:grid;gap:10px;margin-top:12px}.infra-edges article{background:#1a2a36;padding:12px;border-radius:6px}.infra-map a{color:#9cd4ff}.infra-map button[data-infra]{background:none;border:0;color:#9cd4ff;font:inherit;font-weight:650;text-align:left;cursor:pointer;padding:0}.infra-map button:focus-visible{outline:2px solid #f0c65f;outline-offset:4px}.infra-row{display:grid;grid-template-columns:240px 1fr;gap:24px;padding:25px 0;border-top:1px solid #4b5e6a;scroll-margin-top:20px}.infra-row header h3{font-size:22px;margin:8px 0}.infra-row header p{font-size:14px;color:#bccbd6}.infra-nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.infra-nodes article{background:#152630;border:1px solid #3c525f;border-radius:8px;padding:14px}.infra-nodes article.wh-lit{border:2px solid #d0af57}.infra-nodes small{display:block;font-size:10px;color:#b3c1cb;margin:8px 0}.infra-nodes p{font-size:12px;margin:5px 0}.infra-gaps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.infra-gaps article{border-left:2px dotted #c8a64c;padding:0 16px;background:#18242d}.infra-gaps p{font-size:13px}.wh-jumps a{color:#9cd4ff;padding:8px;display:inline-block}@media(max-width:1050px){.infra-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}.infra-row{grid-template-columns:190px 1fr}}@media(max-width:760px){.infra-row,.infra-inspect,.infra-heading,.infra-gaps{grid-template-columns:1fr}.infra-nodes{grid-template-columns:1fr}.infra-edges{max-height:none}}\n.sx-seat-button{display:block;width:100%;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.sx-seat-button:hover h3,.sx-seat-button:focus-visible h3{color:var(--gold)}.sx-seat-button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}\n\n</style>\n</head>\n<body>\n<main class=\"shell\">\n  <div class=\"eyebrow\">Freedom 250 Observatory · evidence cutoff <span id=\"cutoff\"></span></div>\n  <h1 id=\"title\"></h1>\n  <p class=\"deck\" id=\"subtitle\"></p>\n  <p class=\"thesis\" id=\"thesis\"></p>\n  <div class=\"stats\" aria-label=\"Map summary\">\n    <div class=\"stat\"><b id=\"nodeTotal\"></b><span>entities &amp; objects</span></div>\n    <div class=\"stat\"><b id=\"edgeTotal\"></b><span>typed relationships</span></div>\n    <div class=\"stat\"><b id=\"sourceTotal\"></b><span>source objects</span></div>\n    <div class=\"stat\"><b id=\"controlTotal\"></b><span>actual control edges</span></div>\n  </div>\n\n","next_section_id":"s00009","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00008.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00009.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00008.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00009.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00008.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00009.json"},{"section_id":"s00009","ordinal":9,"label":"Section 9 (continued)","source_page":null,"start_character":95510,"end_character":105560,"start_line":1090,"end_line":1096,"text":"<style>\n.crypto-rooms{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.crypto-rooms button,.liq-tabs button,.liq-action{font:inherit;padding:10px 16px;border:1px solid var(--line,#cbd5e1);border-radius:7px;background:var(--panel,#fff);color:inherit;cursor:pointer}.crypto-rooms [aria-pressed=true],.liq-tabs [aria-pressed=true]{background:#163d47;color:#fff}body.current-stack-room .mode-group,body.current-stack-room #viewField{display:none}body.current-stack-room .node.overlay-node{border-style:dashed;box-shadow:0 0 0 1px #80b4a4}.liquidity-room .stats,.liquidity-room .toolbar,.liquidity-room .bank-research,.liquidity-room .workspace,.liquidity-room .footer,.liquidity-room .thesis,.liquidity-room .deck{display:none!important}\n.hub-chrome{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:16px 0 18px;padding:10px 12px;border:1px solid var(--line,#cbd5e1);border-radius:10px;background:color-mix(in srgb,var(--bg,#0f1a21) 94%,transparent);backdrop-filter:blur(12px)}.hub-chrome-nav{display:flex;gap:7px;flex-wrap:wrap}.hub-chrome button{font:inherit;padding:9px 12px;border:1px solid var(--line,#cbd5e1);border-radius:7px;background:var(--panel,#fff);color:inherit;cursor:pointer}.hub-chrome [aria-pressed=true]{border-color:var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.hub-search-jump{white-space:nowrap}.hub-context{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:-18px 0 18px;padding:9px 13px;border:1px solid var(--line,#cbd5e1);border-top:0;border-radius:0 0 10px 10px;background:var(--panel,#172832);font-size:11px}.hub-command-room .hub-context{display:none}.hub-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--muted,#91a1ad)}.hub-breadcrumb b{color:var(--ink,#e8edf0)}.hub-current{color:var(--muted,#91a1ad);text-align:right}.hub-routebar{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line,#cbd5e1);padding-top:8px}.hub-routebar[hidden]{display:none}.hub-routebar strong{font-size:12px}.hub-routebar span{font-size:11px;color:var(--muted,#91a1ad)}.hub-routebar button{padding:7px 10px}.hub-routebar button[aria-pressed=true]{background:#163d47;color:#fff;border-color:#76b8c0}@media(max-width:720px){.hub-chrome{grid-template-columns:1fr auto}.hub-context{align-items:flex-start;flex-direction:column}.hub-current{text-align:left}}\n#hubHome[hidden],#workspaceHub[hidden],#xrayHub[hidden]{display:none}#hubHome,#workspaceHub,#xrayHub{max-width:1440px;margin:auto;padding:20px 12px 70px;line-height:1.55}.hub-home-intro{max-width:950px}.hub-home-intro h2,#workspaceHub h2,#xrayHub h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 14px}.hub-home-intro p{color:var(--muted,#aab8c2);font-size:16px}.hub-route-callout{margin:22px 0;padding:16px 18px;border-left:3px solid var(--gold,#d6b960);background:var(--panel,#172832)}.hub-question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.hub-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.hub-question{border:1px solid var(--line,#526b7a);border-radius:12px;padding:18px;background:var(--panel,#172832)}.hub-question h3{font:700 24px/1.2 Georgia,serif;margin:5px 0 8px}.hub-question>p{color:var(--muted,#aab8c2);font-size:13px;min-height:42px}.hub-room-list{display:grid;gap:8px;margin-top:15px}.hub-room-card{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;text-align:left;border:1px solid var(--line,#526b7a)!important;background:var(--bg,#10202a)!important;color:inherit!important;padding:12px 13px!important}.hub-room-card:hover{border-color:var(--focus,#78b8d8)!important}.hub-room-card b{display:block;font-size:14px}.hub-room-card small{display:block;margin-top:3px;color:var(--muted,#aab8c2);font-size:11px;line-height:1.4}.hub-room-card em{font-style:normal;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#d6b960)}.workspace-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;counter-reset:path;margin:22px 0}.workspace-path article{position:relative;border-top:3px solid var(--gold,#d6b960);background:var(--panel,#172832);padding:14px;border-radius:8px}.workspace-path article:not(:last-child):after{content:'→';position:absolute;right:-8px;top:40%;z-index:2;color:var(--gold,#d6b960)}.workspace-path b{display:block;font-size:14px}.workspace-path small{display:block;color:var(--muted,#aab8c2);font-size:11px;margin-top:5px}.rule-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.rule-package{border:1px solid var(--line,#526b7a);border-top:4px solid var(--gold,#d6b960);border-radius:10px;background:var(--panel,#172832);padding:17px}.rule-package.proposed{border-top-style:dashed;border-top-color:#d49b72}.rule-package h3{font:700 22px/1.2 Georgia,serif;margin:5px 0 12px}.rule-package dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:7px 12px;margin:0 0 14px}.rule-package dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#aab8c2)}.rule-package dd{margin:0;font-size:12px}.hub-lens{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-top:16px;padding:18px;border:1px dashed var(--gold,#d6b960);border-radius:10px}.hub-lens h3{margin:0 0 5px}.hub-lens p{margin:0;color:var(--muted,#aab8c2)}\n.home-section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:34px 0 14px}.home-section-head h3{font:700 28px/1.15 Georgia,serif;margin:4px 0}.home-section-head p{max-width:760px;margin:0;color:var(--muted);font-size:13px}.home-workspace-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 28px}.home-workspace-strip button{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px;cursor:pointer}.home-workspace-strip button:hover{border-color:var(--focus)}.home-workspace-strip b{display:block}.home-workspace-strip small{display:block;color:var(--muted);margin-top:3px}.atlas-tools{margin:16px 0}.atlas-tools label{display:grid;gap:6px;max-width:760px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.atlas-tools input{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:11px 13px}.home-search-results{margin:16px 0 26px;border-top:1px solid var(--line);padding-top:16px}.home-search-results[hidden]{display:none}.home-search-summary{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.home-search-summary b{display:block;font:700 19px/1.2 Georgia,serif}.home-search-summary small{display:block;color:var(--muted)}.home-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-search-result{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:13px;cursor:pointer}.home-search-result:hover{border-color:var(--gold)}.home-search-result small,.home-search-result span{display:block}.home-search-result small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--gold)}.home-search-result b{display:block;margin:4px 0}.home-search-result span{font-size:12px;line-height:1.45;color:var(--muted)}.visual-atlas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.atlas-family{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:17px}.atlas-family h3{font:700 22px/1.2 Georgia,serif;margin:4px 0}.atlas-family>p{color:var(--muted);font-size:12px}.atlas-family[hidden],.embedded-room[hidden]{display:none}.embedded-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.embedded-room{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:16px}.embedded-room h4{font:700 19px/1.2 Georgia,serif;margin:4px 0}.embedded-room>p{color:var(--muted);font-size:12px}.subview-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.subview-chips button{font:inherit;font-size:11px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:7px 10px;cursor:pointer}.subview-chips button:hover{border-color:var(--gold)}.home-empty{margin:18px 0;padding:20px;border:1px dashed var(--line);color:var(--muted)}\n.home-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-system-card,.home-recent-card{font:inherit;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;cursor:pointer}.home-system-card:hover,.home-recent-card:hover{border-color:var(--gold);transform:translateY(-1px)}.home-system-card small,.home-recent-card small{display:block;color:var(--gold);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.home-system-card b,.home-recent-card b{display:block;margin:5px 0;font-size:15px}.home-system-card span,.home-recent-card span{display:block;color:var(--muted);font-size:11px;line-height:1.45}.home-system-card em,.home-recent-card em{display:inline-block;margin-top:9px;font-style:normal;font-size:9px;border:1px solid var(--focus);border-radius:999px;padding:3px 7px;color:var(--focus)}.home-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-recent-card{border-left:3px solid var(--gold);padding:16px}.home-recent-card b{font:700 19px/1.2 Georgia,serif}.home-deep{margin:32px 0;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.home-deep>summary{cursor:pointer;padding:16px 18px;font-weight:700}.home-deep>div{padding:0 18px 18px}.home-system-card[hidden],.home-recent-card[hidden]{display:none}@media(max-width:900px){.home-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.home-system-grid,.home-recent-grid{grid-template-columns:1fr}}\n","next_section_id":"s00010","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00009.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00010.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00009.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00010.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00009.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00010.json"},{"section_id":"s00010","ordinal":10,"label":"Section 10 (continued)","source_page":null,"start_character":105560,"end_character":117030,"start_line":1096,"end_line":1099,"text":"#fieldGuide[hidden]{display:none}#fieldGuide{max-width:1480px;margin:auto;padding:20px 12px 72px;line-height:1.55}.fg-intro{max-width:980px}.fg-intro h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 12px}.fg-intro>p{color:var(--muted);font-size:16px}.fg-boundary{padding:13px 16px;border-left:3px solid var(--gold);background:var(--panel);font-size:13px}.fg-distinctions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.fg-distinction{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:15px}.fg-distinction h3{font-size:16px;margin:0 0 7px}.fg-distinction p{color:var(--muted);font-size:12px;margin:0}.fg-tools{display:grid;grid-template-columns:minmax(240px,1fr) 2fr;gap:14px;margin:22px 0;align-items:start}.fg-search{display:grid;grid-template-rows:auto 44px;align-self:start;gap:6px;font-size:12px;font-weight:700}.fg-search input{width:100%;height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);font:inherit}.fg-categories{display:flex;gap:7px;flex-wrap:wrap;align-items:end}.fg-categories button,.fg-profile-list button,.fg-actions button{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 11px;cursor:pointer}.fg-categories button[aria-pressed=true],.fg-profile-list button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.fg-layout{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:20px;align-items:start}.fg-profile-list{display:grid;gap:7px;position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto;padding-right:4px}.fg-profile-list button{text-align:left}.fg-profile-list b{display:block;font-size:14px}.fg-profile-list small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.fg-detail{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.fg-hero{padding:24px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--gold) 8%,var(--panel)))}.fg-hero h2{font:700 clamp(28px,3.4vw,42px)/1.12 Georgia,serif;margin:7px 0 10px}.fg-kind{display:inline-block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.fg-why{font-size:16px;max-width:900px}.fg-special{margin:18px 0 0;padding:16px;border:1px solid var(--gold);border-radius:8px;background:var(--soft-gold)}.fg-special header{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.fg-special header b{font-size:16px}.fg-status{font-size:9px;text-transform:uppercase;letter-spacing:.08em;padding:3px 7px;border:1px solid var(--gold);border-radius:10px}.fg-status.contextual{border-color:var(--focus);color:var(--focus)}.fg-status.not_established{border-style:dashed;color:var(--muted)}.fg-special p{margin:8px 0}.fg-limit{color:var(--muted);font-size:12px}.fg-body{padding:22px}.fg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fg-card{border:1px solid var(--line);border-radius:9px;padding:17px;background:var(--panel-2)}.fg-card.wide{grid-column:1/-1}.fg-card h3{font-size:15px;margin:0 0 10px}.fg-card p,.fg-card li{font-size:13px}.fg-card ol,.fg-card ul{padding-left:20px;margin:8px 0}.fg-card li+li{margin-top:7px}.fg-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fg-yes{border-top:3px solid #5a9f85}.fg-no{border-top:3px solid #b97862}.fg-attachments{display:flex;gap:7px;flex-wrap:wrap}.fg-attachments span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--line);border-radius:12px;padding:4px 8px}.fg-confuse{border-left:3px solid #b97862}.fg-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.fg-actions button:first-child{border-color:var(--focus);color:var(--focus)}.fg-empty{padding:30px;border:1px dashed var(--line);color:var(--muted)}.fg-refresh{margin:18px 0 0;padding:16px;border:1px solid var(--focus);border-radius:9px;background:color-mix(in srgb,var(--focus) 7%,var(--panel))}.fg-refresh header{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.fg-stage{font-size:9px;text-transform:uppercase;letter-spacing:.07em;border:1px solid var(--focus);border-radius:10px;padding:3px 7px}.fg-build-list{display:grid;gap:9px}.fg-build-item{padding:11px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.fg-build-item header{display:flex;justify-content:space-between;gap:8px;align-items:start}.fg-build-item b{font-size:13px}.fg-build-item small,.fg-build-item p{font-size:11px;color:var(--muted);margin:5px 0}.fg-build-item .fg-limit{font-size:10px}.fg-assessment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fg-assessment p{margin:0;padding:9px;border-left:2px solid var(--line);background:var(--panel)}@media(max-width:900px){.fg-layout,.fg-tools{grid-template-columns:1fr}.fg-profile-list{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.fg-distinctions{grid-template-columns:1fr}}@media(max-width:620px){.fg-grid,.fg-split,.fg-profile-list,.fg-assessment{grid-template-columns:1fr}.fg-body,.fg-hero{padding:17px}}\n#bankTransitionHub[hidden]{display:none}#bankTransitionHub{max-width:1540px;margin:auto;padding:20px 12px 72px;line-height:1.55}.bt-hero{max-width:1100px}.bt-hero h2{font:700 clamp(34px,4.5vw,52px)/1.05 Georgia,serif;margin:8px 0 13px}.bt-hero>p{font-size:16px;color:var(--muted)}.bt-boundary{border-left:4px solid #c27c64;background:var(--panel);padding:15px 18px;margin:18px 0}.bt-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.bt-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.bt-metric strong{display:block;font:700 28px Georgia,serif;color:var(--gold)}.bt-metric small{color:var(--muted)}.bt-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:22px 0}.bt-tools label{display:grid;gap:5px;color:var(--muted);font-size:11px}.bt-tools input,.bt-tools select,.bt-tools button{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 12px}.bt-tools input{min-width:290px}.bt-tools button{cursor:pointer}.bt-tools button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.bt-legend{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.bt-state{display:inline-block;border:1px solid var(--state-color,var(--line));border-radius:13px;padding:4px 8px;font:700 10px ui-monospace,monospace;color:var(--state-color,var(--ink));background:color-mix(in srgb,var(--state-color,var(--line)) 9%,var(--panel))}.bt-state.m0{--state-color:#7f8b92}.bt-state.m1{--state-color:#9c84ba}.bt-state.m2{--state-color:#c48765}.bt-state.m3{--state-color:#d0aa61}.bt-state.m4{--state-color:#64a5c5}.bt-state.m5{--state-color:#63ae89}.bt-state.m6{--state-color:#e0c459}.bt-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.bt-table{width:100%;min-width:1220px;border-collapse:separate;border-spacing:0}.bt-table th,.bt-table td{vertical-align:top;text-align:left;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px}.bt-table thead th{position:sticky;top:68px;z-index:3;background:var(--bg);min-width:120px}.bt-table thead th:first-child{left:0;z-index:5;min-width:220px}.bt-table tbody th{position:sticky;left:0;z-index:2;background:var(--bg);min-width:220px}.bt-institution{width:100%;font:inherit;color:var(--ink);background:none;border:0;padding:0;text-align:left;cursor:pointer}.bt-institution b{display:block;font-size:14px}.bt-institution small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.bt-cell{width:100%;min-height:88px;text-align:left;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:7px;padding:7px;cursor:pointer}.bt-cell:hover,.bt-cell[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.bt-cell p{font-size:10px;margin:7px 0 0;line-height:1.35}.bt-cell[hidden],.bt-row[hidden]{display:none}.bt-detail{margin:22px 0;padding:20px;border:1px solid var(--gold);border-radius:12px;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.bt-detail h3{font:700 clamp(26px,3.4vw,38px) Georgia,serif;margin:5px 0 10px}.bt-detail-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:18px}.bt-profile{border-right:1px solid var(--line);padding-right:18px}.bt-profile p,.bt-capability p{font-size:13px}.bt-capability{padding:3px 0}.bt-limit{border-left:3px solid #c27c64;padding-left:11px;color:var(--muted)}.bt-sources{display:grid;gap:6px;margin-top:12px}.bt-sources a{color:var(--focus)}.bt-archetypes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:25px 0}.bt-archetypes article{border-top:3px solid var(--gold);border-radius:8px;background:var(--panel);padding:15px}.bt-archetypes h3{margin:0 0 6px}.bt-archetypes p{font-size:12px;color:var(--muted)}@media(max-width:850px){.bt-metrics{grid-template-columns:repeat(2,1fr)}.bt-detail-grid{grid-template-columns:1fr}.bt-profile{border-right:0;border-bottom:1px solid var(--line);padding:0 0 14px}.bt-table thead th{top:0}}@media(max-width:560px){#bankTransitionHub{padding:14px 4px 60px}.bt-metrics{grid-template-columns:1fr}.bt-tools>*{width:100%}.bt-tools input,.bt-tools select{width:100%;min-width:0}}\n#corporateStackHub[hidden]{display:none}#corporateStackHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.5}.cs-intro{max-width:1000px}.cs-intro h2{font:700 clamp(30px,4vw,44px)/1.12 Georgia,serif;margin:8px 0 12px}.cs-intro>p{font-size:16px;color:var(--muted)}.cs-boundary{border-left:3px solid var(--gold);background:var(--panel);padding:13px 16px;font-size:13px}.cs-legend{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.cs-state{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:4px 8px;font-size:10px}.cs-state.live_owned{border-color:#62ad89;color:#b9ead3}.cs-state.live_separate{border-color:#62a5c8;color:#b9dcf0}.cs-state.bounded{border-color:#c0a75f;color:#eadba9}.cs-state.preopening,.cs-state.roadmap{border-style:dashed;border-color:#c78f6b;color:#edc5ad}.cs-state.gap{border-style:dotted;color:var(--muted)}.cs-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}.cs-table{width:100%;min-width:1350px;border-collapse:collapse;background:var(--panel)}.cs-table th,.cs-table td{vertical-align:top;text-align:left;padding:12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:12px}.cs-table thead th{position:sticky;top:68px;z-index:2;background:var(--bg)}.cs-table th:first-child{position:sticky;left:0;z-index:3;min-width:210px;background:var(--bg)}.cs-table thead th:first-child{z-index:4}.cs-table th small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.cs-table td p{margin:7px 0}.cs-verdict{color:var(--gold);font-size:11px}.cs-bound{color:var(--muted);font-size:10px}.cs-source{margin-top:8px}.cs-second{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin:18px 0}.cs-second article{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:16px}.cs-second h3{margin:0 0 7px}.cs-second p{font-size:13px}.cs-foot{margin-top:20px;padding:16px;border:1px dashed var(--gold);border-radius:9px}@media(max-width:700px){#corporateStackHub{padding:16px 4px 60px}.cs-table thead th{top:0}}\n","next_section_id":"s00011","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00010.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00011.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00010.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00011.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00010.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00011.json"},{"section_id":"s00011","ordinal":11,"label":"Section 11 (continued)","source_page":null,"start_character":117030,"end_character":135167,"start_line":1099,"end_line":1106,"text":"#securitizeHub[hidden]{display:none}#securitizeHub{max-width:1450px;margin:auto;padding:20px 12px 72px;line-height:1.55}.sz-hero{max-width:1050px}.sz-hero h2{font:700 clamp(32px,4vw,46px)/1.08 Georgia,serif;margin:8px 0 12px}.sz-hero>p{font-size:16px;color:var(--muted)}.sz-thesis{border-left:4px solid var(--gold);background:linear-gradient(100deg,var(--panel),transparent);padding:16px 19px;margin:20px 0;font-size:17px}.sz-boundary{border:1px dashed var(--line);border-radius:9px;padding:13px 16px;color:var(--muted)}.sz-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:22px 0}.sz-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.sz-metric strong{display:block;font:700 28px/1.1 Georgia,serif;color:var(--gold)}.sz-metric b{display:block;margin:5px 0}.sz-metric small{color:var(--muted)}.sz-entities,.sz-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px;margin:16px 0 28px}.sz-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.sz-card h3{margin:4px 0 8px;font-size:20px}.sz-tag{display:inline-block;border:1px solid #6fa98f;color:#b8e3d0;border-radius:12px;padding:3px 8px;font-size:10px}.sz-status{color:var(--gold);font-size:12px}.sz-limit{border-left:2px solid #b98162;padding-left:10px;color:var(--muted);font-size:12px}.sz-flow{display:grid;grid-template-columns:repeat(7,minmax(205px,1fr));gap:10px;overflow:auto;padding-bottom:10px;margin:16px 0 30px}.sz-step{min-width:205px;border-top:3px solid #70a8bd;border-radius:8px;background:var(--panel);padding:15px}.sz-step h3{font-size:17px;margin:3px 0 10px}.sz-step p{font-size:12px}.sz-step dl{margin:10px 0}.sz-step dt{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.sz-step dd{margin:3px 0 9px;font-size:12px}.sz-model{border-top:3px solid var(--gold)}.sz-model h3{font-size:20px}.sz-model p{font-size:13px}.sz-compare{margin:34px 0}.sz-compare-intro{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.sz-compare-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.sz-compare-head,.sz-compare-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(260px,1.2fr) minmax(260px,1.2fr) minmax(260px,1.2fr);min-width:980px}.sz-compare-head{background:#18212b;color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.sz-compare-head>*{padding:12px 14px}.sz-compare-row{border-top:1px solid var(--line);background:var(--panel)}.sz-compare-row>*{padding:14px;border-right:1px solid var(--line)}.sz-compare-row>*:last-child{border-right:0}.sz-compare-row h3{margin:0;font-size:16px}.sz-compare-row p{margin:0;font-size:13px}.sz-compare-row .sz-distinction{background:rgba(229,185,75,.06)}.sz-interface{margin:18px 0;padding:20px;border:1px solid var(--gold);border-radius:10px;background:linear-gradient(130deg,rgba(229,185,75,.08),var(--panel))}.sz-interface li{margin:8px 0}.sz-genius{margin:46px 0;padding-top:30px;border-top:2px solid var(--gold)}.sz-genius-clocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:18px 0}.sz-clock{border:1px solid var(--line);border-top:3px solid #70a8bd;border-radius:9px;background:var(--panel);padding:15px}.sz-clock time{display:block;color:var(--gold);font-weight:700;margin:5px 0}.sz-genius-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.sz-genius-head,.sz-genius-row{display:grid;grid-template-columns:minmax(170px,.75fr) minmax(260px,1.15fr) minmax(260px,1.15fr) minmax(260px,1.15fr);min-width:990px}.sz-genius-head{background:#18212b;color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.sz-genius-head>*{padding:12px 14px}.sz-genius-row{border-top:1px solid var(--line);background:var(--panel)}.sz-genius-row>*{padding:14px;border-right:1px solid var(--line)}.sz-genius-row>*:last-child{border-right:0}.sz-genius-row h3{margin:0;font-size:16px}.sz-genius-row p{margin:0;font-size:13px}.sz-genius-row .sz-effect{background:rgba(112,168,189,.08)}.sz-watch{margin-top:24px;padding:19px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.sz-watch li{margin:8px 0}.sz-source summary{cursor:pointer;font-weight:650}.sz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.sz-actions button{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:inherit;padding:10px 14px;cursor:pointer}@media(max-width:700px){#securitizeHub{padding:16px 5px 60px}.sz-entities,.sz-models,.sz-compare-intro{grid-template-columns:1fr}}\n.xr-intro{max-width:980px;color:var(--muted,#aab8c2)}.xr-boundary{padding:12px 15px;border-left:3px solid var(--gold,#d6b960);background:var(--panel,#172832);font-size:13px}.xr-steps{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 14px;margin:12px 0}.xr-steps button{flex:0 0 170px;text-align:left;font:inherit;color:inherit;background:var(--panel,#172832);border:1px solid var(--line,#526b7a);border-radius:8px;padding:11px;cursor:pointer}.xr-steps button[aria-pressed=true]{border:2px solid var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.xr-steps span{display:block;font:700 10px ui-monospace,monospace;color:var(--gold,#d6b960);margin-bottom:4px}.xr-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.xr-controls button,.xr-links button,.xr-layerbar button{font:inherit;padding:9px 12px;border:1px solid var(--line,#526b7a);border-radius:7px;background:var(--panel,#172832);color:inherit;cursor:pointer}.xr-controls button:disabled{opacity:.4}.xr-progress{font-size:12px;color:var(--muted,#aab8c2)}.xr-layerbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:16px 0;padding:10px;border:1px solid var(--line,#526b7a);border-radius:9px}.xr-layerbar strong{font-size:12px;margin-right:3px}.xr-layerbar button{font-size:11px;padding:7px 9px}.xr-layerbar button[aria-pressed=true]{border-color:var(--gold,#d6b960);background:var(--soft-gold,#3b3524)}.xr-layers{display:grid;gap:10px;margin:18px 0}.xr-layer[hidden]{display:none}.xr-layer{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid var(--line,#526b7a);border-radius:10px;overflow:hidden;background:var(--panel,#172832)}.xr-layer>header{padding:16px;background:var(--bg,#10202a);border-right:1px solid var(--line,#526b7a)}.xr-layer>header span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold,#d6b960)}.xr-layer>header h3{font-size:17px;margin:6px 0}.xr-layer>div{padding:16px}.xr-layer p{margin:5px 0 10px}.xr-before-after,.xr-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.xr-mini{padding:11px;background:var(--bg,#10202a);border-radius:7px;font-size:12px}.xr-mini b{display:block;margin-bottom:4px}.xr-book-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.xr-book{border-left:3px solid #5e9db4}.xr-book.fiduciary{border-color:#72b89e}.xr-book.memo{border-color:#d0b064}.xr-crypto{border-color:#72b89e}.xr-crypto>header{background:#17332f}.xr-status{display:inline-block;border:1px solid #72b89e;border-radius:10px;padding:3px 8px;font-size:10px;color:#b8e4d5}.xr-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.xr-empty{font-size:12px;color:var(--muted,#aab8c2)}\n@media(max-width:900px){.hub-chrome{grid-template-columns:1fr}.hub-routebar{justify-content:flex-start}.hub-question-grid,.hub-workspace-grid,.rule-package-grid,.visual-atlas,.embedded-index,.home-search-grid{grid-template-columns:1fr}.home-workspace-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-path{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-path article:not(:last-child):after{display:none}.hub-question>p{min-height:0}.xr-layer{grid-template-columns:1fr}.xr-layer>header{border-right:0;border-bottom:1px solid var(--line,#526b7a)}.hub-lens{grid-template-columns:1fr}}@media(max-width:560px){.home-workspace-strip,.workspace-path{grid-template-columns:1fr}.home-section-head,.home-search-summary{display:block}.home-search-summary small{margin-top:6px}.rule-package dl{grid-template-columns:1fr}.xr-before-after{grid-template-columns:1fr}.hub-routebar span{display:none}.hub-chrome{position:static}}\n#stackExpansionHub[hidden]{display:none}#stackExpansionHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.sx-hero{max-width:1100px}.sx-hero h2{font:700 clamp(32px,4vw,46px)/1.08 Georgia,serif;margin:8px 0 12px}.sx-hero>p{font-size:16px;color:var(--muted)}.sx-boundary,.sx-gap{border-left:4px solid var(--gold);background:var(--panel);padding:14px 18px;margin:18px 0}.sx-gap{border-color:#d48a67}.sx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.sx-metric{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:14px}.sx-metric strong{display:block;font:700 26px Georgia,serif;color:var(--gold)}.sx-metric small{color:var(--muted)}.sx-tools{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:22px 0}.sx-tools input{min-width:280px;flex:1;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);font:inherit}.sx-tools button,.sx-chip,.sx-detail button{border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);padding:8px 11px;cursor:pointer;font:inherit}.sx-tools button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.sx-map{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.sx-row{display:grid;grid-template-columns:230px minmax(0,1fr);border-bottom:1px solid var(--line);min-height:110px}.sx-row:last-child{border:0}.sx-seat{padding:16px;background:var(--bg)}.sx-seat span{font:700 10px ui-monospace,monospace;color:var(--gold)}.sx-seat h3{font-size:16px;margin:5px 0}.sx-seat p{font-size:11px;color:var(--muted);margin:0}.sx-sublayers{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.sx-sublayers i{font-style:normal;font-size:9px;border:1px solid var(--line);border-radius:10px;padding:3px 6px}.sx-systems{display:flex;gap:8px;flex-wrap:wrap;align-content:center;padding:14px}.sx-chip{font-size:12px;text-align:left}.sx-chip.capability{border-color:#5ebd91;background:#193b31}.sx-chip.candidate{border-color:#d0a85e;background:#3b3321}.sx-chip.support{border-color:#69a9cf;background:#183244}.sx-chip.outside{border-style:dotted}.sx-chip[aria-pressed=true]{outline:3px solid var(--gold);outline-offset:2px}.sx-detail{margin:18px 0;border:1px solid var(--gold);border-radius:12px;background:linear-gradient(130deg,var(--panel),var(--soft-gold));padding:20px}.sx-detail h3{font:700 28px Georgia,serif;margin:5px 0}.sx-tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.sx-tags span{font-size:10px;border:1px solid var(--line);border-radius:12px;padding:4px 8px}.sx-fit-grid,.sx-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:16px 0}.sx-fit,.sx-model{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:14px}.sx-fit h4,.sx-model h3{margin:0 0 7px}.sx-fit p,.sx-model p{font-size:12px}.sx-fit small{color:var(--muted)}.sx-models{margin-top:20px}.sx-legend{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:12px 0}.sx-legend span{border-bottom:3px solid var(--c);padding-bottom:3px}@media(max-width:800px){.sx-metrics{grid-template-columns:repeat(2,1fr)}.sx-row{grid-template-columns:1fr}.sx-seat{border-bottom:1px solid var(--line)}}@media(max-width:500px){.sx-metrics{grid-template-columns:1fr}.sx-tools input{min-width:100%}}\n#transitionHub[hidden]{display:none}#transitionHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.tg-hero{max-width:1080px}.tg-hero h2{font:700 clamp(32px,4vw,48px)/1.08 Georgia,serif;margin:8px 0 12px}.tg-hero>p{font-size:16px;color:var(--muted)}.tg-boundary{border-left:4px solid var(--gold);background:var(--panel);padding:14px 18px;margin:18px 0}.tg-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.tg-metric{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:14px}.tg-metric strong{display:block;font:700 27px Georgia,serif;color:var(--gold)}.tg-metric small{color:var(--muted)}.tg-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:24px 0}.tg-path-step{position:relative;border-top:3px solid #6ca7b9;background:var(--panel);padding:13px;min-height:118px}.tg-path-step:not(:last-child):after{content:'→';position:absolute;right:-9px;top:43%;z-index:2;color:var(--gold);font-size:18px}.tg-path-step span{font:700 10px ui-monospace,monospace;color:var(--gold)}.tg-path-step b{display:block;margin:5px 0}.tg-path-step p{font-size:11px;color:var(--muted);margin:0}.tg-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:22px 0}.tg-toolbar button,.tg-toolbar select,.tg-gate,.tg-system,.tg-fit-card button,.tg-return{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);padding:9px 12px;cursor:pointer}.tg-toolbar button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.tg-toolbar label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.tg-group{margin:24px 0}.tg-group>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);gap:18px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:9px}.tg-group h3{font:700 24px Georgia,serif;margin:0}.tg-group header p{margin:0;color:var(--muted);font-size:12px}.tg-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin-top:12px}.tg-gate{text-align:left;min-height:94px}.tg-gate span{font:700 10px ui-monospace,monospace;color:var(--gold)}.tg-gate b{display:block;margin:5px 0}.tg-gate small{color:var(--muted)}.tg-gate[aria-pressed=true]{border:2px solid var(--gold);background:var(--soft-gold)}.tg-inspector{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.7fr);gap:16px;margin:24px 0}.tg-requirement,.tg-fit-board,.tg-system-detail{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:18px}.tg-requirement h3,.tg-system-detail h3{font:700 28px Georgia,serif;margin:6px 0 12px}.tg-proof{border-left:3px solid #73ad96;padding-left:11px}.tg-limit{border-left:3px solid #bf7f61;padding-left:11px;color:var(--muted)}.tg-joins,.tg-fit-legend{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.tg-joins span,.tg-fit-legend span,.tg-maturity{border:1px solid var(--line);border-radius:12px;padding:4px 8px;font-size:10px}.tg-fit-board h3{margin:0 0 12px}.tg-fit-section{margin:14px 0}.tg-fit-section h4{font-size:12px;text-transform:uppercase;letter-spacing:.07em;margin:0 0 7px;color:var(--muted)}.tg-fit-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:8px}.tg-fit-card button{width:100%;text-align:left;min-height:84px;border-left:4px solid var(--fit-color)}.tg-fit-card b{display:block}.tg-fit-card small{display:block;margin-top:5px;color:var(--muted)}.tg-fit-core{--fit-color:#5ebd91}.tg-fit-conditional{--fit-color:#d0a85e}.tg-fit-supporting{--fit-color:#69a9cf}.tg-fit-outside{--fit-color:#8b8b95}.tg-system-detail{grid-column:1/-1;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.tg-system-detail p{max-width:1050px}.tg-system-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px;margin:16px 0}.tg-system-req{border:1px solid var(--line);border-left:4px solid var(--fit-color);border-radius:8px;background:var(--bg);padding:14px}.tg-system-req h4{margin:4px 0 8px}.tg-system-req p{font-size:12px}.tg-system-req button{border:0;background:none;color:var(--focus);padding:0;cursor:pointer;text-align:left}.tg-source{display:inline-block;color:var(--focus);margin-top:10px}.tg-empty{padding:20px;border:1px dashed var(--line);color:var(--muted)}@media(max-width:950px){.tg-path{grid-template-columns:1fr}.tg-path-step:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-15px}.tg-inspector{grid-template-columns:1fr}.tg-group>header{grid-template-columns:1fr}}@media(max-width:600px){.tg-metrics{grid-template-columns:1fr}.tg-toolbar{align-items:stretch}.tg-toolbar label,.tg-toolbar select{width:100%}}\n#liquidityHub[hidden]{display:none}#liquidityHub{padding:24px;background:var(--panel,#fff);border:1px solid var(--line,#cbd5e1);border-radius:12px}.liq-heading{max-width:850px}.liq-heading h2{font-size:34px;margin:8px 0}.liq-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:11px;color:var(--muted,#547580)}.liq-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.liq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.liq-card{border:1px solid var(--line,#cbd5e1);border-top:3px solid #507c80;border-radius:8px;padding:20px;line-height:1.6}.liq-card h3{margin:7px 0;font-size:20px}.liq-card p{margin:10px 0}.liq-card details{border-top:1px solid var(--line,#cbd5e1);padding-top:12px;margin-top:16px}.liq-card summary{cursor:pointer;font-weight:600}.liq-caution{border-left:3px solid #be7a45;padding-left:12px}.liq-flow{display:grid;grid-template-columns:repeat(5,minmax(155px,1fr));gap:12px;overflow:auto;margin:22px 0}.liq-step{padding:18px;background:var(--bg,#f3f6f7);border-radius:8px;min-width:155px}.liq-step b{display:block;font-size:18px}.liq-table{overflow:auto}.liq-table table{width:100%;border-collapse:collapse;min-width:800px}.liq-table th,.liq-table td{padding:14px;text-align:left;border-bottom:1px solid var(--line,#cbd5e1);vertical-align:top;line-height:1.5}.liq-table th{background:var(--bg,#f3f6f7)}.liq-source{margin-top:24px}.liq-filters{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}.liq-filters input{font:inherit;padding:10px;border:1px solid #aebcc7;border-radius:6px;min-width:230px;background:var(--panel,#fff);color:inherit}.liq-empty{padding:25px;border:1px dashed #aebcc7}.liq-note{max-width:850px;line-height:1.7}.liq-card .source-list{display:block}.liq-card .source-list a{display:block;margin:8px 0}\n\n","next_section_id":"s00012","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00011.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00012.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00011.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00012.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00011.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00012.json"},{"section_id":"s00012","ordinal":12,"label":"Section 12 (continued)","source_page":null,"start_character":135167,"end_character":142560,"start_line":1106,"end_line":1109,"text":"#fedGeniusHub[hidden]{display:none}#fedGeniusHub{max-width:1500px;margin:auto;padding:20px 12px 72px;line-height:1.55}.fgx-hero{max-width:1120px}.fgx-hero h2{font:700 clamp(34px,4.5vw,52px)/1.06 Georgia,serif;margin:8px 0 13px}.fgx-hero>p{font-size:16px;color:var(--muted)}.fgx-proposal{display:inline-block;border:1px dashed #d49b72;border-radius:14px;padding:4px 9px;color:#efc6a8;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.fgx-boundary{border-left:4px solid #d49b72;background:var(--panel);padding:15px 18px;margin:20px 0}.fgx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.fgx-metric{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px}.fgx-metric strong{display:block;font:700 28px Georgia,serif;color:var(--gold)}.fgx-metric small{color:var(--muted)}.fgx-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0}.fgx-tabs button,.fgx-tools input,.fgx-tools select,.fgx-action{font:inherit;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);padding:9px 12px}.fgx-tabs button,.fgx-action{cursor:pointer}.fgx-tabs button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.fgx-layer-map{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:9px;overflow:auto;padding:4px 0 15px}.fgx-layer{position:relative;min-width:180px;border-top:4px solid #6ca7b9;background:var(--panel);padding:15px;border-radius:8px}.fgx-layer:not(:last-child):after{content:'→';position:absolute;right:-10px;top:42%;color:var(--gold);z-index:2}.fgx-layer span{font:700 10px ui-monospace,monospace;color:var(--gold)}.fgx-layer h3{font-size:18px;margin:6px 0}.fgx-layer p{font-size:12px}.fgx-limit{border-left:2px solid #c47e62;padding-left:10px;color:var(--muted)}.fgx-gates,.fgx-clocks,.fgx-questions,.fgx-ecosystems{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:11px}.fgx-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.fgx-card h3{font-size:19px;margin:5px 0 9px}.fgx-card p{font-size:12px}.fgx-card .fgx-clock{color:var(--gold);font-size:11px}.fgx-clock-card{border-top:3px solid #6ca7b9}.fgx-clock-card strong{display:block;font:700 21px Georgia,serif;color:var(--gold);margin:6px 0}.fgx-question{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start}.fgx-question b{font:700 25px Georgia,serif;color:var(--gold)}.fgx-question h3{margin:0 0 4px;font-size:15px}.fgx-question p{margin:2px 0}.fgx-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:18px 0}.fgx-tools label{display:grid;gap:5px;color:var(--muted);font-size:11px}.fgx-tools input{min-width:280px}.fgx-status{display:inline-block;border:1px solid var(--line);border-radius:14px;padding:3px 8px;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.fgx-status.issuer_application_interface{border-color:#6fc39b;color:#b8ebd3}.fgx-status.custody_distribution_interface{border-color:#6ba7ce;color:#b8dcf1}.fgx-status.technical_control_interface{border-color:#d0aa61;color:#ebd7a8}.fgx-status.outside_direct_issuer_perimeter{border-style:dotted;color:var(--muted)}.fgx-eco{border-top:3px solid var(--line)}.fgx-eco.issuer_application_interface{border-top-color:#6fc39b}.fgx-eco.custody_distribution_interface{border-top-color:#6ba7ce}.fgx-eco.technical_control_interface{border-top-color:#d0aa61}.fgx-eco details{margin-top:12px}.fgx-eco summary{cursor:pointer;font-weight:700}.fgx-capital{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.fgx-capital article{padding:18px;border:1px solid var(--line);background:var(--panel);border-radius:9px}.fgx-capital strong{display:block;font:700 25px Georgia,serif;color:var(--gold)}.fgx-source{margin-top:24px}.fgx-source a,.fgx-source details{display:block;margin:8px 0}@media(max-width:900px){.fgx-metrics,.fgx-capital{grid-template-columns:repeat(2,1fr)}.fgx-layer-map{grid-template-columns:1fr;overflow:visible}.fgx-layer:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-16px}}@media(max-width:560px){.fgx-metrics,.fgx-capital{grid-template-columns:1fr}.fgx-tools label,.fgx-tools input,.fgx-tools select{width:100%;min-width:0}}\n.fgx-entity-intro{max-width:980px}.fgx-entity-legend{display:flex;gap:13px;flex-wrap:wrap;margin:15px 0;color:var(--muted);font-size:11px}.fgx-entity-legend span{display:flex;gap:6px;align-items:center}.fgx-entity-legend i{width:11px;height:11px;border-radius:3px;background:var(--entity-color);display:inline-block}.fgx-entity-legend .authority{--entity-color:#6ba7ce}.fgx-entity-legend .entity{--entity-color:#6fc39b}.fgx-entity-legend .asset{--entity-color:#d0aa61}.fgx-entity-legend .dependency{--entity-color:#a98cc8}.fgx-entity-legend .claim{--entity-color:#d48172}.fgx-entity-map{display:grid;gap:9px;margin:20px 0}.fgx-entity-flow{display:grid;grid-template-columns:165px minmax(0,1fr);gap:13px;align-items:center;border-top:1px solid var(--line);padding-top:9px}.fgx-flow-label span{font:700 10px ui-monospace,monospace;color:var(--gold)}.fgx-flow-label b{display:block;margin-top:3px}.fgx-entity-sequence{display:flex;align-items:stretch;gap:7px}.fgx-entity-node{flex:1;min-width:0;text-align:left;font:inherit;color:var(--ink);background:color-mix(in srgb,var(--entity-color) 12%,var(--panel));border:1px solid color-mix(in srgb,var(--entity-color) 52%,var(--line));border-top:4px solid var(--entity-color);border-radius:8px;padding:11px;cursor:pointer}.fgx-entity-node b{display:block;font-size:13px}.fgx-entity-node small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.fgx-entity-node.authority{--entity-color:#6ba7ce}.fgx-entity-node.entity{--entity-color:#6fc39b}.fgx-entity-node.asset{--entity-color:#d0aa61}.fgx-entity-node.dependency{--entity-color:#a98cc8}.fgx-entity-node.claim{--entity-color:#d48172}.fgx-entity-node[aria-pressed=true]{outline:3px solid var(--gold);outline-offset:2px;background:var(--soft-gold)}.fgx-entity-link{flex:0 0 90px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:9px;line-height:1.25}.fgx-entity-link b{display:block;color:var(--gold);font-size:18px}.fgx-entity-detail{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:16px;margin:24px 0;padding:20px;border:1px solid var(--gold);border-radius:11px;background:linear-gradient(130deg,var(--panel),var(--soft-gold))}.fgx-entity-detail h3{font:700 28px Georgia,serif;margin:5px 0 10px}.fgx-entity-detail p{font-size:13px}.fgx-entity-kind{display:inline-block;border:1px solid var(--line);border-radius:13px;padding:3px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.fgx-entity-proof{border-left:3px solid #6fc39b;padding-left:12px}.fgx-entity-gates{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.fgx-entity-gates button{font:inherit;font-size:10px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:5px 9px;cursor:pointer}.fgx-entity-examples{color:var(--muted)}@media(max-width:1050px){.fgx-entity-flow{grid-template-columns:1fr}.fgx-entity-sequence{align-items:stretch}.fgx-entity-link{flex-basis:70px}}@media(max-width:760px){.fgx-entity-sequence{display:grid;grid-template-columns:1fr}.fgx-entity-link{display:block}.fgx-entity-link b{transform:rotate(90deg)}.fgx-entity-detail{grid-template-columns:1fr}}\n\n","next_section_id":"s00013","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00012.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00013.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00012.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00013.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00012.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00013.json"},{"section_id":"s00013","ordinal":13,"label":"Section 13 (continued)","source_page":null,"start_character":142560,"end_character":154042,"start_line":1109,"end_line":1136,"text":".hub-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fg-profile-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.fg-profile-row>button:first-child{text-align:left}.fg-profile-row .fg-compare-toggle{font-size:9px;padding:7px;align-self:stretch}.fg-compare-panel{margin:0 0 20px;padding:16px;border:1px solid var(--line);border-left:4px solid var(--focus);border-radius:9px;background:var(--panel)}.fg-compare-panel>header{display:flex;justify-content:space-between;gap:14px;align-items:start}.fg-compare-panel h3{margin:4px 0}.fg-compare-panel button{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:7px 10px;cursor:pointer}.fg-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px;margin:12px 0}.fg-compare-grid article{padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.fg-compare-grid h4{margin:5px 0}.fg-compare-grid h4 button{border:0;padding:0;color:var(--focus);text-align:left}.fg-compare-grid p{font-size:11px}.xr-lens-wide{grid-column:1/-1}.xr-wide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px}.xr-route-evidence{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:17px}.xr-route-evidence summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px}.xr-route-evidence summary span{font-size:10px;color:var(--muted)}.xr-route-evidence li{margin:7px 0}.xr-route-evidence li span{display:block;color:var(--muted);font-size:11px}.xr-accounting-table{overflow:auto;border:1px solid var(--line);border-radius:10px}.xr-accounting-head,.xr-accounting-table>article{display:grid;grid-template-columns:minmax(160px,.7fr) repeat(3,minmax(240px,1fr));min-width:980px}.xr-accounting-head{background:var(--bg);color:var(--gold);font-size:10px;text-transform:uppercase}.xr-accounting-head>*,.xr-accounting-table>article>*{padding:12px;border-right:1px solid var(--line)}.xr-accounting-table>article{border-top:1px solid var(--line)}.xr-accounting-table h3,.xr-accounting-table p{margin:0;font-size:12px}@media(max-width:900px){.hub-question-grid{grid-template-columns:1fr}.fg-profile-row{grid-template-columns:1fr}}\n.hub-evidence-drawer{width:100%;margin-top:10px;border-top:1px solid var(--line);padding-top:9px}.hub-evidence-drawer>summary{cursor:pointer;font-weight:700;color:var(--focus)}.hub-evidence-drawer .source-list{display:grid;gap:7px;margin-top:10px}.hub-evidence-drawer a{color:var(--focus);font-size:11px}\n#commandHub[hidden]{display:none}#commandHub{max-width:1540px;margin:auto;padding:4px 0 72px;line-height:1.5}.cmd-shell{display:grid;grid-template-columns:230px minmax(0,1fr) 285px;min-height:760px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg)}.cmd-rail,.cmd-proof{background:var(--panel);padding:17px 13px}.cmd-rail{border-right:1px solid var(--line)}.cmd-proof{border-left:1px solid var(--line)}.cmd-main{padding:22px;min-width:0}.cmd-kicker{display:block;font-size:9px;letter-spacing:.09em;text-transform:uppercase;color:var(--gold);margin-bottom:7px}.cmd-rail h2,.cmd-proof h2{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:4px 5px 9px}.cmd-lenses,.cmd-systems{display:grid;gap:4px}.cmd-lenses{margin-bottom:20px}.cmd-lenses button,.cmd-systems button,.cmd-action,.cmd-route-button,.cmd-filter-button{font:inherit;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:7px;padding:9px 10px;text-align:left;cursor:pointer}.cmd-lenses button[aria-pressed=true],.cmd-systems button[aria-pressed=true],.cmd-filter-button[aria-pressed=true]{background:var(--soft-gold);border-color:var(--gold)}.cmd-lenses button b,.cmd-systems button b{display:block;font-size:12px}.cmd-lenses button small,.cmd-systems button small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.cmd-search{display:grid;gap:5px;margin:10px 0 12px;color:var(--muted);font-size:10px}.cmd-search input{width:100%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:9px}.cmd-systems{max-height:520px;overflow:auto;padding-right:3px}.cmd-main h2{font:700 clamp(30px,3.4vw,43px)/1.08 Georgia,serif;margin:5px 0 9px}.cmd-lede{max-width:900px;color:var(--muted);font-size:15px}.cmd-header-row{display:flex;justify-content:space-between;gap:18px;align-items:start}.cmd-actions,.cmd-filters{display:flex;gap:7px;flex-wrap:wrap}.cmd-action,.cmd-route-button,.cmd-filter-button{border-color:var(--line);background:var(--panel);white-space:normal}.cmd-action:hover,.cmd-route-button:hover,.cmd-filter-button:hover{border-color:var(--gold)}.cmd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}.cmd-stat{padding:12px;background:var(--panel);border-radius:8px}.cmd-stat small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.cmd-stat b{font-size:13px}.cmd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:14px}.cmd-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:15px;min-width:0}.cmd-card.command-focus{outline:2px solid var(--gold);outline-offset:2px}.cmd-card.wide{grid-column:1/-1}.cmd-card h3{font-size:17px;margin:0 0 8px}.cmd-card h4{font-size:13px;margin:10px 0 5px}.cmd-card p,.cmd-card li{font-size:12px}.cmd-card p{color:var(--muted)}.cmd-card ul,.cmd-card ol{padding-left:20px}.cmd-update{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--line)}.cmd-update:first-of-type{border-top:0}.cmd-update time{color:var(--gold);font-size:9px}.cmd-update p{margin:3px 0}.cmd-route-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.cmd-route-button[aria-pressed=true]{border-color:var(--gold);background:var(--soft-gold)}.cmd-flow{display:flex;gap:6px;overflow:auto;padding:8px 0 4px}.cmd-flow article{flex:1 0 145px;padding:11px;background:var(--bg);border-radius:7px;position:relative}.cmd-flow article:not(:last-child):after{content:'→';position:absolute;right:-7px;top:30%;color:var(--muted);z-index:2}.cmd-flow span{font:600 10px ui-monospace,monospace;color:var(--gold)}.cmd-flow b{display:block;font-size:12px;margin:4px 0}.cmd-flow small{color:var(--muted);font-size:9px}.cmd-feed{display:grid;gap:9px;margin-top:14px}.cmd-feed article{display:grid;grid-template-columns:120px minmax(0,1fr) 165px;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.cmd-feed article:first-child{border-top:0}.cmd-feed h3{font-size:16px;margin:0 0 5px}.cmd-feed p{margin:0;color:var(--muted);font-size:11px}.cmd-feed-meta{color:var(--gold);font-size:9px;text-transform:uppercase}.cmd-feed-state{font-size:10px;color:var(--muted)}.cmd-proof section{padding:12px 3px;border-top:1px solid var(--line)}.cmd-proof section:first-of-type{border-top:0}.cmd-proof b{display:block;font-size:12px;margin:3px 0 6px}.cmd-proof p{font-size:10px;color:var(--muted);margin:0}.cmd-proof .source-list{display:grid;gap:6px;margin-top:8px;overflow-wrap:anywhere}.cmd-proof .source-list a,.cmd-proof .source-list details{font-size:9px}.cmd-state{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:var(--focus)}.cmd-boundary{border-left:2px solid #d49b72;padding-left:9px}.cmd-tools{margin-top:18px;border-top:1px solid var(--line);padding-top:13px}.cmd-tools>summary{cursor:pointer;color:var(--muted);font-size:10px}.cmd-tools div{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.cmd-empty{padding:24px;border:1px dashed var(--line);color:var(--muted)}@media(max-width:1080px){.cmd-shell{grid-template-columns:200px minmax(0,1fr)}.cmd-proof{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cmd-proof h2{grid-column:1/-1}.cmd-proof section{border-top:0;border-left:1px solid var(--line);padding-left:12px}.cmd-proof section:first-of-type{border-left:0}}@media(max-width:720px){.cmd-shell{display:block}.cmd-rail{border-right:0;border-bottom:1px solid var(--line)}.cmd-lenses,.cmd-systems{display:flex;flex-wrap:wrap;max-height:none}.cmd-lenses button,.cmd-systems button{flex:1 1 120px}.cmd-main{padding:17px 12px}.cmd-header-row{display:block}.cmd-actions{margin-top:12px}.cmd-stats,.cmd-grid,.cmd-proof{grid-template-columns:1fr}.cmd-card.wide{grid-column:auto}.cmd-route-list{grid-template-columns:1fr}.cmd-feed article{grid-template-columns:1fr}.cmd-proof section{border-left:0;border-top:1px solid var(--line)}}\n</style>\n<nav class=\"hub-chrome\" aria-label=\"Crypto Infrastructure Hub navigation\">\n  <div class=\"hub-chrome-nav\"><button type=\"button\" data-command-landscape data-hub-job=\"command\" aria-pressed=\"true\">Overview</button></div>\n  <button class=\"hub-search-jump\" type=\"button\" data-hub-search>Search the Hub</button>\n  <div class=\"hub-routebar\" aria-label=\"Keep one route while changing transaction lenses\" hidden><strong>Follow one route</strong><span>while movement, records, books, authority, remedy and evidence stay aligned</span><button type=\"button\" data-hub-route=\"securities\" aria-pressed=\"true\">Share</button><button type=\"button\" data-hub-route=\"payment\" aria-pressed=\"false\">Dollar</button><button type=\"button\" data-hub-route=\"fund\" aria-pressed=\"false\">Fund</button></div>\n</nav>\n<div class=\"hub-context\" aria-live=\"polite\"><div class=\"hub-breadcrumb\" id=\"hubBreadcrumb\"><b>Command surface</b></div><div class=\"hub-current\" id=\"hubCurrent\">One evidence base · change the lens, not the page</div></div>\n<section id=\"commandHub\" aria-label=\"Crypto Infrastructure command surface\" hidden></section>\n<section id=\"fedGeniusHub\" aria-label=\"Federal Reserve GENIUS Act proposed-rule hub\" hidden></section>\n<section id=\"transitionHub\" aria-label=\"DLT transition technology qualification gates\" hidden></section>\n<section id=\"fieldGuide\" aria-label=\"Tracked Systems Field Guide\" hidden></section>\n<section id=\"stackExpansionHub\" aria-label=\"Market-structure stack expansion\" hidden></section>\n<section id=\"bankTransitionHub\" aria-label=\"Major bank digital transition comparison\" hidden></section>\n<section id=\"corporateStackHub\" aria-label=\"Corporate stack comparison\" hidden></section>\n<section id=\"securitizeHub\" aria-label=\"Securitize infrastructure anatomy\" hidden></section>\n<section id=\"xrayHub\" aria-label=\"Transaction X-ray\" hidden></section>\n<section id=\"walkHub\" aria-label=\"How it works today\" hidden></section>\n<section id=\"liquidityHub\" aria-label=\"Liquidity hub\" hidden>\n<div class=\"liq-heading\"><div class=\"liq-kicker\">Crypto stack / Liquidity · research through September 10, 2026</div><h2>Where funding becomes usable</h2><p>Who provides it, what restricts it, and when it becomes available again.</p><p class=\"liq-note\">Bank rules, product terms and market liquidity meet here. Start with the layers, compare a route, or follow the funding lifecycle.</p></div>\n<div class=\"liq-tabs\" role=\"group\" aria-label=\"Liquidity views\"><button data-liq-tab=\"layers\" aria-pressed=\"true\">Rule layers</button><button data-liq-tab=\"routes\" aria-pressed=\"false\">Route comparisons</button><button data-liq-tab=\"flow\" aria-pressed=\"false\">Funding lifecycle</button></div>\n<div id=\"liqContent\"></div>\n<div class=\"liq-source\"><details><summary>Full research & worked examples</summary><div id=\"liqReport\"></div></details></div>\n</section>\n\n","next_section_id":"s00014","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00013.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00014.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00013.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00014.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00013.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00014.json"},{"section_id":"s00014","ordinal":14,"label":"Section 14 (continued)","source_page":null,"start_character":154042,"end_character":166101,"start_line":1136,"end_line":1151,"text":"\n<style>\n.crypto-rooms{flex-wrap:wrap}#legalHub[hidden]{display:none}#legalHub{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.legal-case-label{display:grid;gap:8px;max-width:640px;margin:22px 0;font-weight:600}.legal-walk{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:24px;align-items:start}.legal-spine{display:grid;gap:7px;position:sticky;top:18px}.legal-spine button{display:flex;gap:13px;align-items:center;text-align:left;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:14px;border-radius:7px;cursor:pointer;line-height:1.35}.legal-spine button span{font:600 13px ui-monospace,monospace;color:var(--muted)}.legal-spine [aria-current=step]{border-color:var(--gold);background:var(--soft-gold)}.legal-detail{border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:8px;padding:26px;line-height:1.7}.legal-detail h3{font:600 clamp(25px,3vw,35px)/1.2 Georgia,serif;margin:12px 0 20px}.legal-explanation{font-size:17px}.legal-facts{display:grid;gap:18px;margin:24px 0}.legal-facts div{border-top:1px solid var(--line);padding-top:12px}.legal-facts dt{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.legal-facts dd{margin:6px 0 0}.legal-detail details{margin:20px 0}.legal-detail summary{cursor:pointer;font-weight:600}.legal-example{margin:26px 0;padding:20px;border:1px solid var(--line);border-left:3px solid var(--focus);background:var(--bg);border-radius:7px}.legal-example h4{font-size:20px;margin:8px 0}.legal-next{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.legal-next button:disabled{opacity:.4;cursor:default}#legalHub .source-list a{display:block;margin:8px 0}#legalHub button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}@media(max-width:750px){#legalHub{padding:14px}.legal-walk{grid-template-columns:1fr}.legal-spine{position:static;display:flex;overflow:auto;padding-bottom:8px}.legal-spine button{flex:0 0 185px}.legal-detail{padding:18px}}\n.ix-hero{max-width:1000px}.ix-hero h3{font:700 clamp(28px,3.5vw,42px)/1.15 Georgia,serif;margin:8px 0}.ix-boundary{border-left:3px solid var(--gold);padding:13px 16px;background:var(--bg);color:var(--muted)}.ix-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:20px 0}.ix-gate,.ix-card{border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:15px}.ix-gate h4,.ix-card h4{margin:4px 0 8px}.ix-gate p,.ix-card p{font-size:12px;line-height:1.55}.ix-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.ix-tools label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.ix-tools input,.ix-tools select{font:inherit;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);min-width:220px}.ix-legend{display:flex;gap:8px;flex-wrap:wrap}.ix-status{display:inline-block;border:1px solid var(--line);border-radius:12px;padding:3px 8px;font-size:9px;letter-spacing:.05em;text-transform:uppercase}.ix-status.core_candidate{border-color:#5ebd91;color:#a9e4c9}.ix-status.conditional_candidate{border-color:#d0a85e;color:#ead4a4;border-style:dashed}.ix-status.supporting_layer{border-color:#69a9cf;color:#afd7ed}.ix-status.outside_core{border-style:dotted;color:var(--muted)}.ix-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.ix-card{border-top:3px solid var(--line)}.ix-card.core_candidate{border-top-color:#5ebd91}.ix-card.conditional_candidate{border-top-color:#d0a85e}.ix-card.supporting_layer{border-top-color:#69a9cf}.ix-card.outside_core{border-top-style:dotted}.ix-card details{margin-top:10px}.ix-card summary{cursor:pointer;font-weight:700;font-size:12px}.ix-card .ix-missing{color:var(--muted)}\n\n\n</style>\n<style>.qual-reading #legalHub>.liq-heading{display:none}.qual-reading .shell>h1{font-size:38px;margin-block:10px}.qual-reading #legalHub>.liq-tabs{margin-top:0}.q-intro{max-width:850px;margin:24px 0}.q-intro h3{font:600 28px Georgia,serif;margin:8px 0}.q-intro p{line-height:1.6;color:var(--muted)}.q-view{display:flex;gap:8px;margin:20px 0}.q-view [aria-pressed=true]{background:var(--ink);color:var(--bg)}.q-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:30px;align-items:start}.q-navigation{position:sticky;top:18px}.q-navigation h4,.q-navigation label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);display:block;margin:0 0 12px}.lv-modes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.lv-modes [aria-pressed=true]{background:#273a47;border-color:#75baff;color:#fff}.lv-heading h3{font:700 32px/1.15 Georgia,serif;margin:10px 0}.lv-heading p{color:#aab5c2;max-width:850px;line-height:1.6}.lv-label{display:inline-block;margin:12px 10px 12px 0;font-size:13px;font-weight:700}.lv-legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0;color:#abb8c6;font-size:11px}.lv-tag{display:inline-block;padding:5px 11px;border:1px solid #718fa6;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#cee0ef;align-self:start}.lv-tag.lv-entity{border-radius:3px;background:#182c39}.lv-tag.lv-role{border-radius:50%;background:#302c1a;border-color:#d0ad54;color:#eee0ab}.lv-tag.lv-asset{border-radius:20px;background:#17382f;border-color:#5cb89a;color:#b0e6d5}.lv-tag.lv-system{clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%);background:#34304a;border:0;color:#d8c9f6;padding:6px 15px}.lv-dashed{border-bottom:1px dashed #cda65b;padding-bottom:4px}.lv-dotted{border-bottom:2px dotted #899ba9;padding-bottom:4px}.lv-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.lv-canvas{min-width:0}.lv-detail{position:sticky;top:16px;max-height:80vh;overflow:auto;border:1px solid #364957;background:#15202a;border-radius:12px;padding:20px;font-size:13px;line-height:1.6}.lv-detail h4{font-size:20px;line-height:1.25}.lv-detail h5{font-size:13px;margin:20px 0 8px}.lv-detail a{display:block;color:#90cbff;margin:10px 0}.lv-detail pre{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}.lv-close{float:right;margin:0 0 12px 12px}.lv-boundary{border-left:2px solid #d3b25c;padding-left:12px}.lv-links{display:flex;flex-direction:column;gap:8px}.lv-node{padding:10px;text-align:left;color:#dce9f3;background:#192e3c;border:1px solid #5c7890;border-radius:5px;cursor:pointer}.lv-scroll{overflow:auto;padding:0 8px 12px 0}.lv-swim{display:grid;grid-template-columns:90px repeat(var(--steps),minmax(170px,1fr));gap:12px;min-width:750px}.lv-stage{display:flex;gap:10px;align-items:start;padding:10px 0}.lv-stage span{color:#dbba65;border:1px solid #746134;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;flex-shrink:0}.lv-stage h4{font-size:14px;line-height:1.4;margin:2px 0}.lv-corner,.lv-lane{font-size:12px;font-weight:700;align-self:center;color:#a8bbcb}.lv-cell{position:relative;display:flex;flex-direction:column;align-items:start;gap:12px;min-height:160px;padding:14px;background:#16232d;border:1px solid #4d7189;border-radius:8px;color:#e8eff5;text-align:left;cursor:pointer}.lv-cell strong{font-size:13px;font-weight:500;line-height:1.5}.lv-cell small{color:#adbfce;font-size:10px;text-transform:uppercase;margin-top:auto}.lv-arrow{position:absolute;right:-13px;top:50%;color:#809ab0;z-index:1}.lv-cell:nth-child(5n) .lv-arrow{display:none}.lv-note{font-size:12px;line-height:1.6;color:#a8b7c4}.lv-role-map{max-width:950px;margin:auto}.lv-requirements{display:block;width:100%;text-align:left;background:#18242c;color:#dce6ee;border:1px solid #587585;border-radius:10px;padding:18px;cursor:pointer;font-size:14px;line-height:1.6}.lv-bridge{text-align:center;color:#a5b7c5;padding:10px;font-size:12px}.lv-role-center{border:1px solid #b89a4c;border-radius:42px;padding:22px;text-align:center;background:#292819}.lv-role-center h4,.lv-player-center h4{font-size:22px;margin:10px 0}.lv-role-actors{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.lv-assignment{display:flex;flex-direction:column;align-items:start;gap:10px;text-align:left;padding:16px;background:#17242f;color:#e0eaf2;border:1px solid #527d96;border-radius:8px;font:inherit;cursor:pointer;line-height:1.5}.lv-assignment strong{font-size:15px}.lv-assignment small{font-size:11px;color:#bac9d4}.lv-assignment span:not(.lv-tag){font-size:12px;color:#bdcbd6}.lv-unresolved{border-style:dotted;border-width:2px;border-color:#84929d;background:#1b232a}.lv-conditional{border-style:dashed;border-color:#c2a25a}.lv-player-center{border:1px solid #668da8;background:#162d3d;border-radius:8px;padding:22px}.lv-player-center p{font-size:13px;color:#b8c9d7;line-height:1.5}.lv-section-title{margin-top:28px;font-size:16px}.lv-edge-map{display:grid;gap:12px}.lv-edge{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:center;width:100%;background:#17242c;color:#dce6ee;padding:16px;border:1px solid #4b6376;border-radius:8px;text-align:center;cursor:pointer}.lv-edge-node{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px}.lv-edge-verb{font-size:12px;color:#bad0e0}.lv-edge-verb b{display:block;font-size:30px;font-weight:400}.lv-edge-verb small{font-size:10px;display:block;color:#aab8c6}.lv-cell:hover,.lv-assignment:hover,.lv-edge:hover{background:#203443;outline:1px solid #8abbdc}.lv-cell:focus-visible,.lv-assignment:focus-visible,.lv-edge:focus-visible{outline:3px solid #f0ce71;outline-offset:2px}@media(max-width:1100px){.lv-workspace{grid-template-columns:minmax(0,1fr)}.lv-detail{position:static;max-height:60vh}.lv-swim{min-width:700px}}@media(max-width:650px){.lv-heading h3{font-size:25px}.lv-edge{grid-template-columns:1fr}.lv-edge-verb b{transform:rotate(90deg)}.lv-modes button{flex:1 1 40%}}\n\n.lv-workspace{grid-template-columns:minmax(0,1fr)}.lv-detail{display:none;position:fixed;right:24px;top:180px;width:330px;max-height:calc(100vh - 205px);z-index:90;box-shadow:0 12px 60px #000a}.lv-detail.is-open{display:block}.lv-heading h3{font-size:28px}.lv-heading p{margin:8px 0 12px}.lv-modes{margin-bottom:16px}.lv-legend{margin:16px 0}.lv-stage h4{font-size:13px}@media(max-width:650px){.lv-detail{left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:65vh}}\n.lv-tag.lv-group{border-radius:5px;border-style:dashed;background:#292735}.lv-edge.lv-conditional{border-style:dashed;border-color:#c2a25a}.lv-edge.lv-unresolved{border-style:dotted;border-width:2px;border-color:#84929d}\n.lv-cell-actors{font-size:11px;line-height:1.4;color:#9ac3df}.lv-cell[aria-pressed=true]{outline:2px solid #edc969;outline-offset:2px}\n#infra-ecosystem-coverage table{width:100%;border-collapse:collapse;table-layout:fixed}#infra-ecosystem-coverage th,#infra-ecosystem-coverage td{text-align:left;vertical-align:top;padding:14px 10px;border-bottom:1px solid #344650;font-size:13px;line-height:1.5}#infra-ecosystem-coverage th:nth-child(1){width:27%}#infra-ecosystem-coverage th:nth-child(2){width:7%}#infra-ecosystem-coverage th:nth-child(3){width:40%}#infra-ecosystem-coverage th:nth-child(4){width:26%}#infra-ecosystem-coverage td:nth-child(3) p{display:inline-block;margin:3px 4px 3px 0;padding:5px 7px;background:#1a2a36;border-radius:5px}#infra-ecosystem-coverage td p{margin:8px 0}@media(max-width:700px){#infra-ecosystem-coverage table{min-width:760px}}\n.infra-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.infra-overview a{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #6c684a;border-radius:9px;background:#172630;color:#d9e5ed;text-decoration:none;line-height:1.4}.infra-overview a strong{font-size:16px;color:#b7dcfa}.infra-overview a:hover,.infra-overview a:focus-visible{border-color:#edc85d;background:#213441;outline:2px solid #edc85d}.infra-overview a>span:last-child{font-size:12px}@media(max-width:900px){.infra-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.infra-overview{grid-template-columns:1fr}}\n\n","next_section_id":"s00015","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00014.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00015.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00014.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00015.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00014.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00015.json"},{"section_id":"s00015","ordinal":15,"label":"Section 15 (continued)","source_page":null,"start_character":166101,"end_character":178608,"start_line":1151,"end_line":1161,"text":"\n\nbody.legal-routes-room #title{font-size:23px;margin:7px 0}body.legal-routes-room .crypto-rooms{flex-wrap:wrap;margin:12px 0}body.legal-routes-room .crypto-rooms button{font-size:13px;padding:8px 11px}#legalRoutesHub{padding:18px 12px 50px;max-width:1500px;margin:auto;line-height:1.5}#legalRoutesHub h2{font-size:30px;margin:8px 0}#legalRoutesHub h3{font-size:22px;margin:5px 0 12px}#legalRoutesHub h4{font-size:17px;margin:6px 0}#legalRoutesHub p{margin:7px 0 13px}#legalRoutesHub button,#legalRoutesHub input{font:inherit;background:#1d303c;color:#edf2f6;border:1px solid #526e80;border-radius:6px;padding:8px 10px}#legalRoutesHub button{cursor:pointer}#legalRoutesHub button:focus-visible,#legalRoutesHub a:focus-visible{outline:3px solid #e4c36b;outline-offset:3px}#legalRoutesHub a{color:#a4d4f5}.lr-explainer{max-width:1050px;font-size:15px;color:#bdcdd7}.lr-sequence{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.lr-sequence span{padding:8px 12px;background:#20343e;border:1px solid #688493;border-radius:7px;font-size:13px}.lr-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin:20px 0}.lr-functions [hidden]{display:none!important}.lr-functions{display:flex;flex-direction:column;gap:5px}.lr-functions button{text-align:left;font-size:12px!important}.lr-functions button[aria-pressed=true]{border:2px solid #e5c375!important;background:#393322!important}.lr-functions small{display:block;color:#afc1cd;font-size:10px}.lr-functions input{width:100%;box-sizing:border-box;margin-bottom:10px}.lr-role-header{border-left:3px solid #d5b963;background:#172a33;padding:14px 18px}.lr-role-header p{font-size:13px}.lr-branches{display:grid;gap:20px;margin-top:18px}.lr-branch{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1.2fr);border:1px solid #56707d;border-radius:10px;overflow:hidden}.lr-path{padding:20px;background:#172932;border-right:1px solid #56707d}.lr-path p,.lr-path li{font-size:13px}.lr-path ol{padding-left:20px}.lr-path li{padding-bottom:8px}.lr-players{padding:18px;background:#14232d;display:flex;flex-direction:column;gap:12px}.lr-player{padding:14px;border:1px solid #587286;border-radius:8px;background:#1c303d}.lr-player p{font-size:12px}.lr-player button{font-weight:700!important;color:#a9d8fa!important;text-align:left;background:none!important;border:0!important;padding:0!important;font-size:15px!important}.lr-status{display:inline-block;border:1px solid #a3b6c7;padding:3px 6px;border-radius:5px;font-size:10px;margin:6px 0}.lr-status.authority{border-color:#95cbb7;color:#c2ebda}.lr-status.role{border-color:#d4bc79;color:#efdda6}.lr-state{font-size:11px;color:#d7c384}.lr-limit{border-left:2px solid #c4a65a;padding-left:10px;color:#ccdae2}.lr-sources{display:flex;flex-direction:column;gap:6px;font-size:11px;margin-top:12px}.lr-empty{padding:20px;border:1px dashed #8eabbd;border-radius:8px;font-size:13px}.lr-focus{padding:20px;border:2px solid #d8bc6e;border-radius:10px;margin:16px 0;background:#20343e}.lr-focus p{font-size:14px}.lr-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.lr-count{font-size:12px;color:#b7c9d6}.lr-unmapped{margin-top:20px;padding:18px;background:#172731;border:1px solid #56707d}.lr-unmapped p{font-size:13px}.lr-research-links{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.lr-research-links button{font-size:12px!important}@media(max-width:1000px){.lr-branch{grid-template-columns:1fr}.lr-path{border-right:0;border-bottom:1px solid #56707d}}@media(max-width:700px){.lr-layout,.lr-focus-grid{grid-template-columns:1fr}.lr-functions{display:grid;grid-template-columns:1fr 1fr}.lr-functions label,.lr-functions input{grid-column:1/-1}}\n\nbody.journey-room #title{font-size:22px;margin:6px 0}body.journey-room .crypto-rooms{margin:10px 0}body.journey-room .crypto-rooms button{padding:8px 12px;font-size:13px}body.journey-room .eyebrow{font-size:9px}#journeyHub{max-width:1460px;margin:auto;padding:10px 16px 40px;line-height:1.5}#journeyHub h2{font-size:27px;margin:6px 0}#journeyHub p{margin:6px 0 12px}.j-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.j-tools,.j-legend,.j-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}.j-tools label{display:flex;gap:8px;align-items:center;font-size:13px}#journeyHub button,#journeyHub select{background:#20333f;color:#edf4f7;border:1px solid #658092;border-radius:6px;padding:8px 12px;font:inherit;cursor:pointer}#journeyHub a{color:#a8d8ff}#journeyHub button:focus-visible,#journeyHub select:focus-visible{outline:3px solid #ebcd7a;outline-offset:3px}.j-legend{font-size:11px;color:#c2cdd5}.j-legend span{border-bottom:3px solid var(--edge);padding:2px 5px}.j-mapwrap{overflow-x:auto;border:1px solid #526675;border-radius:10px;background:#12212a}.j-map{display:block;width:100%;min-width:850px}.j-map text{font-family:system-ui,sans-serif;fill:#d4e1e8}.j-map .j-phase{font-size:13px;font-weight:700;fill:#e5d19a}.j-map .j-lane{font-size:12px;font-weight:650}.j-map .j-label{font-size:12px;font-weight:650;pointer-events:none}.j-map .j-edge-label{font-size:9px;fill:#cbd9e2;paint-order:stroke;stroke:#12212a;stroke-width:5px;stroke-linejoin:round}.j-map .j-node{cursor:pointer}.j-map .j-node rect{fill:#223947;stroke:#658194;stroke-width:1.5}.j-map .j-node[aria-pressed=true] rect{stroke:#f0ca68;stroke-width:3;fill:#3a3829}.j-map .j-node:focus{outline:none}.j-map .j-node:focus rect{stroke:#ffffff;stroke-width:3}.j-map .j-node.j-overlay rect{stroke:#8bcbb7;stroke-width:3}.j-map .j-node.j-gap rect{stroke:#e7ab86;stroke-dasharray:5 3}.j-map .j-node[aria-pressed=true] rect{stroke:#f0ca68}.j-note{font-size:11px;color:#b3c6d2}.j-inspector{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;margin:14px 0;background:#182832;border:1px solid #bda261;border-radius:10px}.j-inspector h3{font-size:21px;margin:0 0 9px}.j-inspector h4{font-size:12px;text-transform:uppercase;color:#b6d9ed;margin:0 0 7px}.j-inspector p{font-size:14px}.j-change{display:grid;grid-template-columns:1fr 1fr;gap:12px}.j-change article{padding:12px;background:#213741;border-radius:6px}.j-crypto{border-left:3px solid #8bcbb7;padding-left:14px}.j-warning{border:1px solid #c5956d;padding:12px 16px;background:#372b23}.j-warning p{font-size:13px}.j-source-links{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0}.j-context{display:flex;gap:7px;flex-wrap:wrap;font-size:11px;margin:10px 0}.j-context a{border:1px solid #415967;border-radius:5px;padding:5px 8px}.j-current{font-size:14px;border-left:3px solid #d9bd6b;padding:9px 13px;background:#23323a}.j-route-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.j-route-nav button{text-align:left}.j-route-nav small{display:block;font-size:12px;margin-top:6px;color:#bfd1dd}.j-route-nav button[aria-pressed=true]{border:2px solid #e3c270!important;background:#343326!important}.j-route-title{font-size:21px;margin:16px 0 6px}.j-footprint{padding:12px 15px;border:1px solid #80b4a4;background:#1c332e;margin:12px 0}.j-footprint p{font-size:14px}.j-footprint small{font-size:11px;color:#c4ddd4}.j-coverage{border-top:1px solid #526675;margin-top:24px;padding-top:16px}.j-coverage p{font-size:13px}.j-warning button{margin:4px 8px 0 0}@media(max-width:700px){.j-route-nav{grid-template-columns:1fr}.j-tools select{max-width:280px}}.j-progress{color:#e8d291;font-size:12px}.j-overlay-key{font-size:12px;color:#bfdfd1}@media(max-width:760px){.j-inspector,.j-change{grid-template-columns:1fr}.j-top{display:block}#journeyHub{padding:15px 10px}.j-mapwrap:before{content:'Scroll sideways to see all phases →';display:block;padding:8px;font-size:12px;color:#bbceda}}\n\nbody.books-room #title{font-size:22px;margin:6px 0}body.books-room .crypto-rooms{margin:10px 0}body.books-room .crypto-rooms button{padding:8px 12px;font-size:13px}#booksHub{max-width:1280px;margin:auto;padding:16px 18px 56px;line-height:1.55}#booksHub h2{font:700 34px/1.15 Georgia,serif;margin:8px 0}#booksHub h3{font-size:22px;margin:10px 0}#booksHub p{margin:8px 0 14px}#booksHub button,#booksHub select,#booksHub input{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:9px 12px}#booksHub button{cursor:pointer}#booksHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#booksHub button:focus-visible,#booksHub a:focus-visible,#booksHub select:focus-visible{outline:3px solid #e4c467;outline-offset:3px}#booksHub a{color:#a2d6ff}.bk-intro{max-width:920px;color:#c2ced6}.bk-test{border-left:3px solid #d9b860;padding:10px 16px;background:#1d303a;max-width:980px}.bk-routes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.bk-routes button{text-align:left}.bk-routes small{display:block;margin-top:6px;color:#bfd1dd;font-size:12px}.bk-tools{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:14px 0}.bk-tools label{display:flex;gap:8px;align-items:center;font-size:13px}.bk-spine{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.bk-spine button{font-size:13px}.bk-spine span{font:600 12px ui-monospace,monospace;color:#e8d291;margin-right:6px}.bk-step{border:1px solid #526b7a;border-radius:12px;padding:20px;background:#162530;margin:18px 0}.bk-kind{font-size:10px;letter-spacing:.06em;text-transform:uppercase;border:1px solid #83b9c9;color:#ccebf0;border-radius:4px;padding:3px 7px}.bk-kind.fiduciary{border-color:#8bcbb7;color:#b0e6d5}.bk-kind.memo{border-style:dashed;border-color:#d2b76d;color:#efdfb2}.bk-kind.none{border-style:dotted;border-color:#ce9d88;color:#f2ccbb}.bk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:14px}.bk-card{border:1px solid #4d7189;border-radius:8px;padding:14px;background:#182732}.bk-card h4{font-size:16px;margin:8px 0}.bk-card p{font-size:13px;margin:6px 0}.bk-t{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;font:13px ui-monospace,monospace}.bk-t div{background:#12212a;border-radius:6px;padding:10px}.bk-t b{display:block;font-size:10px;color:#9fb5c5;text-transform:uppercase;margin-bottom:4px}.bk-empty{color:#adbfce;font-size:12px}.bk-office{font-size:11px;color:#e3c879}.bk-fail{border:1px solid #c5956d;padding:12px 16px;background:#372b23;margin:14px 0}.bk-overlay{border-top:1px solid #80b4a4;margin-top:20px;padding-top:12px}.bk-overlay h3{color:#b0e6d5}.bk-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#b9c9d3;margin:12px 0}.bk-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}@media(max-width:800px){.bk-routes{grid-template-columns:1fr}.bk-t{grid-template-columns:1fr}#booksHub{padding:14px 10px}}\n\nbody.walk-room #title{font-size:22px;margin:6px 0}body.walk-room .crypto-rooms{margin:10px 0}body.walk-room .eyebrow{font-size:9px}#walkHub{max-width:820px;margin:auto;padding:12px 18px 80px;line-height:1.6}#walkHub h2{font:700 34px/1.15 Georgia,serif;margin:8px 0 12px}#walkHub h3{font-size:22px;margin:0 0 8px}#walkHub p{margin:8px 0 14px}#walkHub button{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:9px 14px;cursor:pointer}#walkHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#walkHub button:focus-visible{outline:3px solid #e4c467;outline-offset:3px}.wk-intro{color:#c2ced6}.wk-test{border-left:3px solid #d9b860;padding:10px 16px;background:#1d303a}.wk-tabs{position:sticky;top:0;z-index:2;display:flex;gap:8px;padding:10px 0;background:var(--bg,#0f1a21);flex-wrap:wrap}.wk-step{border:1px solid #526b7a;border-radius:12px;padding:22px 22px 16px;background:#162530;margin:22px 0}.wk-n{font:600 12px ui-monospace,monospace;color:#e8d291;letter-spacing:.08em}.wk-table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0}.wk-table th{text-align:left;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#9fb5c5;padding:8px 10px;border-bottom:1px solid #4d7189}.wk-table td{vertical-align:top;padding:10px;border-bottom:1px solid #314550;line-height:1.45}.wk-table td:first-child{font-weight:650;white-space:nowrap}.wk-no{color:#8bcbb7}.wk-step details{margin-top:12px;border-top:1px solid #3d5663;padding-top:10px}.wk-step summary{cursor:pointer;font-weight:650}.wk-t{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;font:12px ui-monospace,monospace}.wk-t div{background:#12212a;border-radius:6px;padding:8px}.wk-empty{color:#adbfce;font-size:13px}@media(max-width:700px){.wk-table td:first-child{white-space:normal}#walkHub{padding:10px 12px 70px}}\n\n","next_section_id":"s00016","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00015.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00016.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00015.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00016.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00015.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00016.json"},{"section_id":"s00016","ordinal":16,"label":"Section 16 (continued)","source_page":null,"start_character":178608,"end_character":187842,"start_line":1161,"end_line":1169,"text":"#rightsHub{max-width:1440px;margin:auto;padding:28px 24px 70px;line-height:1.55}#rightsHub h2{font:700 36px/1.15 Georgia,serif;margin:12px 0}#rightsHub h3{font-size:23px;margin:8px 0}#rightsHub h4{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#9cceea;margin:0 0 12px}#rightsHub p{margin:8px 0 14px}#rightsHub a{color:#a2d6ff}#rightsHub button,#rightsHub select{font:inherit;color:#e8edf0;background:#1b2b36;border:1px solid #587183;border-radius:7px;padding:10px 14px;cursor:pointer}#rightsHub button[aria-pressed=true]{border:2px solid #e4c467;background:#383323}#rightsHub button:focus-visible,#rightsHub a:focus-visible,#rightsHub select:focus-visible{outline:3px solid #e4c467;outline-offset:3px}.rights-route-nav,.rights-tools,.rights-jumps{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.rights-intro{max-width:980px;color:#c2ced6}.rights-scope{border-left:3px solid #8ba3b8;padding:8px 18px;background:#162530;margin:18px 0}.rights-chain{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;list-style:none;padding:0}.rights-chain li{padding:14px;border:1px solid #456272;border-radius:8px;background:#182732;font-size:13px}.rights-jumps a{font-size:13px;padding:7px;border-bottom:1px solid #607482}.rights-card{border:1px solid #526b7a;border-radius:12px;margin:26px 0;scroll-margin-top:20px;overflow:hidden}.rights-card>header{padding:16px 22px;border-bottom:1px solid #526b7a;background:#1c2d39;display:flex;align-items:center;gap:16px}.rights-num{border:1px solid #dfc271;border-radius:50%;color:#f0d789;padding:5px 11px}.rights-columns{display:grid;grid-template-columns:1fr 1fr 1.1fr}.rights-cell{padding:22px;border-right:1px solid #405464;font-size:14px}.rights-cell:last-child{border:0;background:#172b30}.rights-cell strong{color:#f0dfad}.rights-cell dl{margin:14px 0}.rights-cell dt{font-size:12px;color:#9fb5c5;font-weight:700}.rights-cell dd{margin:4px 0 14px}.rights-evidence{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-top:16px}.rights-proof{border-left:3px solid #d9b860;padding:8px 12px;background:#1d303a}.rights-status{display:inline-block;padding:4px 9px;border:1px solid #83b9c9;color:#ccebf0;border-radius:5px;font-size:12px}.rights-status.dependency{border-color:#d2b76d;color:#efdfb2}.rights-status.unproven{border-style:dashed;border-color:#d5b6df;color:#ecd7f5}.rights-status.outside_scope{border-color:#ce9d88;color:#f2ccbb}.rights-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;font-size:12px}.rights-legend p{color:#b9c9d3}.rights-base .rights-columns{grid-template-columns:1fr 1fr}.rights-base .rights-crypto{display:none}.rights-card footer{padding:10px 22px;background:#17232c}.rights-empty{padding:30px;border:1px dashed #9cb4c4}.rights-tools label{display:flex;align-items:center;gap:10px}.rights-tools input{width:18px;height:18px}@media(max-width:900px){.rights-columns,.rights-base .rights-columns{grid-template-columns:1fr}.rights-cell{border-right:0;border-bottom:1px solid #405464}.rights-chain,.rights-legend{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){#rightsHub{padding:22px 12px}.rights-chain,.rights-legend{grid-template-columns:1fr}#rightsHub h2{font-size:29px}.rights-cell{padding:17px}}\n\n#wholeHub{padding:24px 20px;max-width:1500px;margin:auto}.wh-hero h2{font:700 36px/1.15 Georgia,serif;margin:10px 0}.wh-hero p{font-size:16px;color:#b5c3ce;max-width:850px;line-height:1.6}.wh-tools{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0 12px}.wh-tools label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.wh-tools input,.wh-tools select{width:100%;padding:13px;border:1px solid #4b6578;border-radius:7px;background:#18242e;color:#e7edf3;font:inherit}.wh-routes{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.wh-boundary,.wh-count{font-size:12px;color:#a8b8c5;line-height:1.5}.wh-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.wh-layer{border:1px solid #435967;border-radius:12px;background:#141f28;padding:22px}.wh-layer-top{display:flex;align-items:center;gap:12px}.wh-layer-top>span{border:1px solid #b59c52;border-radius:50%;padding:6px 10px;color:#e2c979}.wh-layer h3{font-size:22px;margin:0}.wh-layer>p{color:#b8c8d3;line-height:1.5}.wh-roles{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.wh-roles button{padding:7px 10px;border:1px solid #716441;border-radius:18px;background:#2a291e;color:#e6dcbf;cursor:pointer;font-size:12px}.wh-findings{display:grid;gap:10px}.wh-findings article,.wh-results article,.wh-connections article{background:#1a2a36;border-radius:7px;padding:13px}.wh-findings p,.wh-results p,.wh-connections p{font-size:13px;line-height:1.55;margin:8px 0}.wh-link{background:none;border:0;padding:0;color:#94ccf7;text-align:left;cursor:pointer;font:inherit;font-weight:600}.wh-findings small,.wh-results small,.wh-connections small{display:block;font-size:11px;color:#b4c2cb;margin:5px 0}.wh-gap{border-left:2px dotted #d1af62;padding-left:12px;font-size:13px}.wh-lit{border:2px solid #d0af57}.wh-match{margin-left:auto;color:#e3c879;font-size:10px;max-width:70px}.wh-selected{box-shadow:inset 3px 0 #e2bd5b}.wh-focus{padding:20px;border:1px solid #8b7545;border-radius:10px;margin:20px 0;display:grid;grid-template-columns:1fr 1.7fr;gap:22px}.wh-focus h3{font-size:25px}.wh-focus p{font-size:13px;line-height:1.5}.wh-connections{display:grid;gap:10px}.wh-guidance{border-left:3px solid #688eaa;padding:10px 16px;background:#162631}.wh-guidance p{margin:8px 0;font-size:13px;color:#b9cbd8}.wh-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wh-results a{color:#94ccf7}.wh-layer button:focus-visible,.wh-link:focus-visible{outline:2px solid #f0c65f;outline-offset:4px}#wholeResults pre{white-space:pre-wrap;max-height:65vh;overflow:auto}@media(max-width:760px){.wh-stack,.wh-tools,.wh-focus,.wh-results{grid-template-columns:1fr}.wh-hero h2{font-size:29px}}\n\n.wh-leads{font-size:12px;line-height:1.5;margin-top:16px;color:#b6c7d3}.wh-leads>b{font-size:11px;text-transform:uppercase;color:#ceb66e}.wh-leads p{border-top:1px dotted #52606b;padding-top:9px}.wh-leads span{display:block;margin-top:4px}\n.wh-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.wh-jumps button{border:1px solid #59778c;background:#182c3a;color:#c7e2f6;border-radius:6px;padding:10px;font:inherit;font-size:12px;cursor:pointer}.wh-layer{scroll-margin-top:20px}\n.q-navigation nav{display:grid;gap:6px}.q-navigation nav button{display:flex;gap:12px;text-align:left;padding:13px 12px;border:1px solid transparent;background:transparent;color:var(--ink);border-radius:6px;font-size:13px;line-height:1.4;cursor:pointer}.q-navigation nav button span{font:11px ui-monospace,monospace;color:var(--muted);padding-top:3px}.q-navigation [aria-current=true]{background:var(--soft-gold);border-color:var(--gold)}.q-navigation select{width:100%}.q-scope{font-size:13px;color:var(--muted);line-height:1.6}.q-job-heading{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:24px}.q-job-heading h3{font:600 clamp(23px,2.7vw,32px)/1.25 Georgia,serif;margin:10px 0}.q-job-heading p{font-size:14px;line-height:1.6;color:var(--muted);max-width:740px}.q-step-link{padding:0;border:0;background:none;color:var(--focus);font-size:13px;cursor:pointer}.q-group{margin:0 0 28px}.q-group-title{font-size:14px;margin:0 0 14px}.q-group-note{font-size:13px;color:var(--muted)}.q-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.q-card{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);padding:20px;line-height:1.6;display:flex;flex-direction:column}.q-card h4{font-size:20px;line-height:1.3;margin:12px 0}.q-status{font-size:11px;border-radius:4px;padding:4px 8px;background:var(--bg);color:var(--muted);border:1px solid var(--line)}.q-proposed .q-status{color:#baaceb}.q-finding{margin:4px 0 18px;font-size:15px}.q-condition{border-left:2px solid var(--gold);padding-left:12px;margin-top:auto}.q-condition b{font-size:12px;color:var(--muted)}.q-condition p{font-size:14px;margin:6px 0}.q-evidence{margin-top:18px;padding-top:12px;border-top:1px solid var(--line);font-size:13px}.q-evidence summary,.q-limits summary{cursor:pointer;font-weight:600}.q-card-actions{margin-top:16px}.q-card-actions button{font-size:12px;padding:8px 10px}.q-limits{border-top:1px solid var(--line);padding:16px 0;font-size:13px;line-height:1.65}.q-limits .q-cards{margin-top:16px}.q-navigation nav{max-height:70vh;overflow:auto}.q-navigation nav h4{margin:18px 10px 4px;font-size:11px}.q-card-top{display:flex;gap:8px;flex-wrap:wrap}#qualInventoryResults{max-height:70vh;overflow:auto;margin-bottom:24px}#qualInventorySearch{margin:8px 16px 12px 0;min-width:280px}#qualInventoryType{margin:8px 0 12px 8px}.q-footnote{font-size:12px;line-height:1.6;color:var(--muted);max-width:800px;margin:24px 0}.q-evidence .local-research pre{max-height:500px;overflow:auto}@media(max-width:800px){.q-layout{grid-template-columns:1fr;gap:20px}.q-navigation{position:static}.q-navigation nav{display:flex;overflow:auto;padding-bottom:8px}.q-navigation nav button{flex:0 0 190px;border:1px solid var(--line)}.q-view{flex-wrap:wrap}.q-card{padding:16px}}\n\n","next_section_id":"s00017","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00016.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00017.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00016.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00017.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00016.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00017.json"},{"section_id":"s00017","ordinal":17,"label":"Section 17 (continued)","source_page":null,"start_character":187842,"end_character":200926,"start_line":1169,"end_line":1353,"text":"/* The specialized rooms predate the shared light palette and originally used\n   fixed night surfaces. Keep their night treatment, but give every fixed-dark\n   surface an explicit light-mode counterpart so inherited ink never becomes\n   dark text on a dark card. */\n:root[data-theme=\"light\"] #walkHub button,\n:root[data-theme=\"light\"] #booksHub button,\n:root[data-theme=\"light\"] #booksHub select,\n:root[data-theme=\"light\"] #booksHub input,\n:root[data-theme=\"light\"] #journeyHub button,\n:root[data-theme=\"light\"] #journeyHub select,\n:root[data-theme=\"light\"] #rightsHub button,\n:root[data-theme=\"light\"] #rightsHub select,\n:root[data-theme=\"light\"] #legalRoutesHub button,\n:root[data-theme=\"light\"] #legalRoutesHub input,\n:root[data-theme=\"light\"] .wh-tools input,\n:root[data-theme=\"light\"] .wh-tools select,\n:root[data-theme=\"light\"] .wh-jumps button{background:var(--panel);color:var(--ink);border-color:var(--line)}\n:root[data-theme=\"light\"] #walkHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #booksHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #journeyHub button[aria-pressed=true],\n:root[data-theme=\"light\"] #rightsHub button[aria-pressed=true],\n:root[data-theme=\"light\"] .lr-functions button[aria-pressed=true],\n:root[data-theme=\"light\"] .j-route-nav button[aria-pressed=true]{background:var(--soft-gold)!important;color:var(--ink);border-color:var(--gold)!important}\n:root[data-theme=\"light\"] .wk-intro,\n:root[data-theme=\"light\"] .wk-empty,\n:root[data-theme=\"light\"] .bk-intro,\n:root[data-theme=\"light\"] .bk-empty,\n:root[data-theme=\"light\"] .bk-legend,\n:root[data-theme=\"light\"] .bk-routes small,\n:root[data-theme=\"light\"] .j-legend,\n:root[data-theme=\"light\"] .j-note,\n:root[data-theme=\"light\"] .j-route-nav small,\n:root[data-theme=\"light\"] .rights-intro,\n:root[data-theme=\"light\"] .rights-legend p,\n:root[data-theme=\"light\"] .lr-explainer,\n:root[data-theme=\"light\"] .lr-count,\n:root[data-theme=\"light\"] .lr-functions small,\n:root[data-theme=\"light\"] .wh-hero p,\n:root[data-theme=\"light\"] .wh-boundary,\n:root[data-theme=\"light\"] .wh-count,\n:root[data-theme=\"light\"] .wh-layer>p,\n:root[data-theme=\"light\"] .wh-findings small,\n:root[data-theme=\"light\"] .wh-results small,\n:root[data-theme=\"light\"] .wh-connections small,\n:root[data-theme=\"light\"] .wh-leads,\n:root[data-theme=\"light\"] .wh-guidance p,\n:root[data-theme=\"light\"] .lv-heading p,\n:root[data-theme=\"light\"] .lv-legend,\n:root[data-theme=\"light\"] .lv-corner,\n:root[data-theme=\"light\"] .lv-lane,\n:root[data-theme=\"light\"] .lv-note,\n:root[data-theme=\"light\"] .lv-bridge,\n:root[data-theme=\"light\"] .infra-row header p,\n:root[data-theme=\"light\"] .infra-nodes small{color:var(--muted)}\n:root[data-theme=\"light\"] .wk-test,\n:root[data-theme=\"light\"] .wk-step,\n:root[data-theme=\"light\"] .wk-t div,\n:root[data-theme=\"light\"] .bk-test,\n:root[data-theme=\"light\"] .bk-step,\n:root[data-theme=\"light\"] .bk-card,\n:root[data-theme=\"light\"] .bk-t div,\n:root[data-theme=\"light\"] .j-inspector,\n:root[data-theme=\"light\"] .j-change article,\n:root[data-theme=\"light\"] .j-current,\n:root[data-theme=\"light\"] .j-footprint,\n:root[data-theme=\"light\"] .rights-scope,\n:root[data-theme=\"light\"] .rights-chain li,\n:root[data-theme=\"light\"] .rights-card>header,\n:root[data-theme=\"light\"] .rights-cell:last-child,\n:root[data-theme=\"light\"] .rights-proof,\n:root[data-theme=\"light\"] .rights-card footer,\n:root[data-theme=\"light\"] .lr-sequence span,\n:root[data-theme=\"light\"] .lr-role-header,\n:root[data-theme=\"light\"] .lr-path,\n:root[data-theme=\"light\"] .lr-players,\n:root[data-theme=\"light\"] .lr-player,\n:root[data-theme=\"light\"] .lr-focus,\n:root[data-theme=\"light\"] .lr-unmapped,\n:root[data-theme=\"light\"] .wh-layer,\n:root[data-theme=\"light\"] .wh-findings article,\n:root[data-theme=\"light\"] .wh-results article,\n:root[data-theme=\"light\"] .wh-connections article,\n:root[data-theme=\"light\"] .wh-guidance,\n:root[data-theme=\"light\"] .infra-overview a,\n:root[data-theme=\"light\"] .infra-nodes article,\n:root[data-theme=\"light\"] .infra-edges article,\n:root[data-theme=\"light\"] .infra-gaps article,\n:root[data-theme=\"light\"] #infra-ecosystem-coverage td:nth-child(3) p{background:var(--panel);color:var(--ink)}\n:root[data-theme=\"light\"] .wk-step,\n:root[data-theme=\"light\"] .bk-step,\n:root[data-theme=\"light\"] .bk-card,\n:root[data-theme=\"light\"] .j-inspector,\n:root[data-theme=\"light\"] .rights-card,\n:root[data-theme=\"light\"] .rights-chain li,\n:root[data-theme=\"light\"] .lr-branch,\n:root[data-theme=\"light\"] .lr-player,\n:root[data-theme=\"light\"] .wh-layer,\n:root[data-theme=\"light\"] .infra-overview a,\n:root[data-theme=\"light\"] .infra-nodes article,\n:root[data-theme=\"light\"] .infra-inspect,\n:root[data-theme=\"light\"] .infra-row,\n:root[data-theme=\"light\"] .infra-gaps article{border-color:var(--line)}\n:root[data-theme=\"light\"] .wk-table th,\n:root[data-theme=\"light\"] .wk-table td,\n:root[data-theme=\"light\"] .wk-step details,\n:root[data-theme=\"light\"] .rights-card>header,\n:root[data-theme=\"light\"] .rights-cell,\n:root[data-theme=\"light\"] .rights-card footer{border-color:var(--line)}\n:root[data-theme=\"light\"] .wk-table th,\n:root[data-theme=\"light\"] .bk-t b,\n:root[data-theme=\"light\"] .rights-cell dt{color:var(--muted)}\n:root[data-theme=\"light\"] .wk-n,\n:root[data-theme=\"light\"] .bk-spine span,\n:root[data-theme=\"light\"] .bk-office,\n:root[data-theme=\"light\"] .j-progress,\n:root[data-theme=\"light\"] .rights-num,\n:root[data-theme=\"light\"] .rights-cell strong,\n:root[data-theme=\"light\"] .lr-state,\n:root[data-theme=\"light\"] .wh-layer-top>span,\n:root[data-theme=\"light\"] .wh-match,\n:root[data-theme=\"light\"] .wh-leads>b{color:#755400}\n:root[data-theme=\"light\"] .wk-no,\n:root[data-theme=\"light\"] .rights-status.authority{color:#08624f}\n:root[data-theme=\"light\"] .rights-status,\n:root[data-theme=\"light\"] .bk-kind{color:#165c75}\n:root[data-theme=\"light\"] .rights-status.dependency,\n:root[data-theme=\"light\"] .bk-kind.memo{color:#755400}\n:root[data-theme=\"light\"] .rights-status.unproven{color:#6b3e82}\n:root[data-theme=\"light\"] .rights-status.outside_scope,\n:root[data-theme=\"light\"] .bk-kind.none{color:#8a3f28}\n:root[data-theme=\"light\"] #walkHub a,\n:root[data-theme=\"light\"] #booksHub a,\n:root[data-theme=\"light\"] #journeyHub a,\n:root[data-theme=\"light\"] #rightsHub a,\n:root[data-theme=\"light\"] #legalRoutesHub a,\n:root[data-theme=\"light\"] .wh-link,\n:root[data-theme=\"light\"] .wh-results a,\n:root[data-theme=\"light\"] .infra-map a,\n:root[data-theme=\"light\"] .infra-map button[data-infra],\n:root[data-theme=\"light\"] .infra-overview a strong{color:var(--focus)}\n:root[data-theme=\"light\"] .j-warning,\n:root[data-theme=\"light\"] .bk-fail{background:#fff5ed;color:#71361f}\n:root[data-theme=\"light\"] .j-footprint{background:#eef9f5}\n:root[data-theme=\"light\"] .rights-status{background:var(--panel)}\n:root[data-theme=\"light\"] .infra-map select{background:var(--panel);color:var(--ink);border-color:var(--line)}\n:root[data-theme=\"light\"] #infra-rulebooks th{color:#755400}\n:root[data-theme=\"light\"] .lv-detail,\n:root[data-theme=\"light\"] .lv-role-center,\n:root[data-theme=\"light\"] .lv-player-center{color:#e8edf0}\n\n\n</style>\n<span id=\"routes\" hidden></span>\n<section id=\"legalRoutesHub\" aria-label=\"Legal routes and eligible players\" hidden></section>\n<section id=\"journeyHub\" aria-label=\"Transaction maps\" hidden></section>\n<section id=\"booksHub\" aria-label=\"Debits and credits\" hidden></section>\n<section id=\"rightsHub\" aria-label=\"Current system and crypto comparison\" hidden></section>\n<section id=\"wholeHub\" aria-label=\"Whole market overview\" hidden></section>\n<section id=\"legalHub\" aria-label=\"Legal process hub\" hidden>\n <div class=\"liq-heading\"><div class=\"liq-kicker\">Crypto stack / Legal process · operative Innovation Exemption through September 17, 2026; proposed Fed GENIUS architecture through September 24 lives in its own Hub room</div><h2>How a transaction acquires legal effect</h2><p>Follow the claim, the responsible institutions and the documents that connect one step to the next.</p></div>\n <div class=\"liq-tabs\" role=\"group\" aria-label=\"Legal process views\"><button data-legal-tab=\"walk\" aria-pressed=\"true\">Step by step</button><button data-legal-tab=\"innovation\" aria-pressed=\"false\">Innovation order</button><button data-legal-tab=\"layers\" aria-pressed=\"false\">Authority layers</button><button data-legal-tab=\"qualifications\" aria-pressed=\"false\">Who does what?</button><button data-legal-tab=\"cases\" aria-pressed=\"false\">Worked cases</button><button data-room=\"genius\">Open Fed GENIUS hub →</button><button data-room=\"liquidity\">Connect to liquidity →</button></div>\n <div id=\"legalContent\"></div>\n <div class=\"liq-source\"><details><summary>Full legal research</summary><div id=\"legalReport\"></div></details></div>\n</section>\n\n  <section class=\"toolbar\" aria-label=\"Map controls\">\n    <div class=\"toolbar-row\">\n      <div class=\"field\"><span class=\"tool-label\">Mode</span><div class=\"mode-group\" role=\"group\" aria-label=\"Exploration mode\"><button class=\"mode-toggle\" type=\"button\" data-mode=\"process\" aria-pressed=\"false\">Process</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"trace\" aria-pressed=\"false\">Trace</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"compare\" aria-pressed=\"false\">Compare</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"accounting\" aria-pressed=\"false\">Accounting</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"explore\" aria-pressed=\"true\">Explore</button><button class=\"mode-toggle\" type=\"button\" data-mode=\"full\" aria-pressed=\"false\">Full map</button></div></div>\n      <label class=\"field field-grow context-field\" id=\"stackField\" for=\"stackSelect\" hidden><span class=\"tool-label\">Current stack</span><select class=\"control\" id=\"stackSelect\"></select></label>\n      <label class=\"field\" id=\"stackOverlayField\" hidden><span class=\"tool-label\">Overlay</span><span class=\"mode-group\"><label class=\"mode-toggle\" style=\"display:flex;gap:8px;align-items:center;padding:8px 12px\"><input type=\"checkbox\" id=\"stackOverlay\"> Crypto overlap</label></span></label>\n      <label class=\"field field-grow context-field\" id=\"ecosystemField\" for=\"ecosystemSelect\"><span class=\"tool-label\">Ecosystem</span><select class=\"control\" id=\"ecosystemSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"processField\" for=\"processSelect\" hidden><span class=\"tool-label\">Process map</span><select class=\"control\" id=\"processSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"processStageField\" for=\"processStageSelect\" hidden><span class=\"tool-label\">Exact stage</span><select class=\"control\" id=\"processStageSelect\"></select></label>\n      <label class=\"field field-grow context-field\" id=\"traceField\" for=\"traceSelect\" hidden><span class=\"tool-label\">Evidence trace</span><select class=\"control\" id=\"traceSelect\"></select></label>\n      <label class=\"field field-grow context-field\" for=\"viewSelect\" id=\"viewField\"><span class=\"tool-label\">View</span><select class=\"control\" id=\"viewSelect\"><option value=\"stack\">Structural layers</option><option value=\"sec-chain\">SEC proposal overlap</option><option value=\"control\">Legal control</option><option value=\"cash\">Products &amp; flows</option><option value=\"cash-leg\">Cash-leg comparison</option><option value=\"networks\">Network architecture</option><option value=\"capital\">Capital &amp; influence</option><option value=\"full\">All relationships</option></select></label>\n      <label class=\"field field-compact\" for=\"clockSelect\"><span class=\"tool-label\">Operational clock</span><select class=\"control\" id=\"clockSelect\"><option value=\"all\">All states</option></select></label>\n      <label class=\"field field-grow\" for=\"search\"><span class=\"tool-label\">Find</span><input class=\"search\" id=\"search\" type=\"search\" placeholder=\"Entity, product, role or relationship…\"></label>\n      <button class=\"toolbar-action\" id=\"refineToggle\" type=\"button\" aria-expanded=\"false\" aria-controls=\"refinePanel\">Refine &amp; key</button>\n    </div>\n    <div class=\"refine-panel\" id=\"refinePanel\" hidden><p class=\"key-note\"><b>Node rail</b> = functional lane. <b>Line color and pattern</b> = relationship class, never confidence or legal effect. <b>Process role</b> = what an exact entity does at one lifecycle stage. <b>Clock dot</b> = operational state.</p><div class=\"legend-grid\"><div><p class=\"legend-title\">Node rails</p><div class=\"legend-items\" id=\"laneLegend\"></div></div><div><p class=\"legend-title\">Relationship lines · refine structural views</p><div class=\"legend-items\" id=\"typeRow\"></div></div><div><p class=\"legend-title\">Process roles</p><div class=\"legend-items\" id=\"processRoleLegend\"></div></div><div><p class=\"legend-title\">Operational clocks</p><div class=\"legend-items\" id=\"clockLegend\"></div></div></div></div>\n    <div class=\"toolbar-row\" id=\"selectionRow\" hidden><span class=\"tool-label\">Selected</span><div class=\"selection-summary\" id=\"selectionSummary\" aria-live=\"polite\"></div><button class=\"clear-selection\" id=\"clearSelection\" type=\"button\">Clear comparison</button></div>\n    <p class=\"lens-note\" id=\"lensNote\" aria-live=\"polite\"></p>\n  </section>\n\n","next_section_id":"s00018","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00017.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00018.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00017.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00018.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00017.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00018.json"},{"section_id":"s00018","ordinal":18,"label":"Section 18 (continued)","source_page":null,"start_character":200926,"end_character":213006,"start_line":1353,"end_line":1424,"text":"  <details class=\"bank-research\" id=\"bankResearch\"><summary>SWIFT banks &amp; tests<small id=\"bankResearchOverview\"></small></summary><div class=\"bank-research-body\" id=\"bankResearchBody\"></div></details>\n\n  <div class=\"workspace\">\n    <section class=\"map-frame\" aria-labelledby=\"mapTitle\">\n      <div class=\"map-head\"><div><h2 id=\"mapTitle\">Ecosystem stack</h2><p id=\"mapHelp\">Choose an ecosystem or click its root to trace organizations, operators, products, networks and market rails end to end.</p></div><div class=\"map-actions\"><div class=\"map-count\" id=\"mapCount\"></div><button class=\"map-button\" id=\"expandMap\" type=\"button\" aria-pressed=\"false\">Expand map</button></div></div>\n      <div class=\"map-scroll\"><div class=\"map-canvas\" id=\"canvas\"><svg class=\"edges\" id=\"edgeSvg\" aria-hidden=\"true\"></svg></div></div>\n      <div class=\"accounting-panel\" id=\"accountingPanel\" hidden></div>\n      <div id=\"flowControls\" hidden></div><div id=\"evidenceFlow\" hidden></div><div id=\"flowSpine\" hidden></div><div class=\"process-scroll\" id=\"processScroll\" hidden><div class=\"process-grid\" id=\"processGrid\" role=\"grid\" aria-label=\"Process coverage by ecosystem and lifecycle stage\"></div></div>\n    </section>\n    <aside class=\"detail\" id=\"detail\"></aside>\n  </div>\n  <p class=\"footer\"><b>Reading rule:</b> a dense web of partnership and technical edges is not a control structure. A process role is stage-specific: operating, integrating or transporting does not confer legal control, cash finality or a public backstop. Proposal status, exact legal entity, date and claim boundary remain decisive.</p>\n</main>\n<script type=\"application/json\" id=\"mapData\">__DATA__</script>\n<script>\nconst data=JSON.parse(document.getElementById('mapData').textContent);\nconst byId=items=>new Map(items.map(item=>[item.id,item]));\nconst nodesById=byId(data.nodes),typesById=byId(data.relationship_types),sourcesById=byId(data.sources),lanesById=byId(data.lanes),lensesById=byId(data.lenses),ecosystemsById=byId(data.ecosystems),clocksById=byId(data.operational_states),tracesById=byId(data.asset_traces),processesById=byId(data.process_maps),processRolesById=byId(data.process_roles),scaleStatesById=byId(data.scale_states),stressStatesById=byId(data.stress_states);\nconst rootToEcosystem=new Map(data.ecosystems.map(item=>[item.root_node_id,item.id]));\nconst nodeToEcosystems=new Map();\nfor(const ecosystem of data.ecosystems)for(const id of ecosystem.node_ids){if(!nodeToEcosystems.has(id))nodeToEcosystems.set(id,[]);nodeToEcosystems.get(id).push(ecosystem.id)}\nconst allTypeIds=data.relationship_types.map(type=>type.id);\nconst currentStackIds=new Set(data.current_stack_ids||[]);\nconst overlayNodeIds=new Set((data.ecosystems||[]).flatMap(e=>e.overlay_node_ids||[]));\nconst state={compareEcosystems:new Set(['ripple','swift-ledger']),followNode:'all',mode:'explore',ecosystem:'us-equity-now',process:data.process_maps[0].id,processStage:'all',trace:data.asset_traces[0].id,view:'stack',clock:'all',types:new Set(allTypeIds),query:'',selectedNodes:new Set(),focusedNode:'us-street-name',selectedEdge:null,selectedCoverage:null,hover:null,visibleEdges:[],accountingUseFlow:true,flowScope:null,accountingLayer:'claim',accountingScope:'all',accountingEcosystem:'all',accountingAmount:1000000,stackOverlay:false};\nconst canvas=document.getElementById('canvas'),svg=document.getElementById('edgeSvg'),detail=document.getElementById('detail'),mapScroll=document.querySelector('.map-scroll'),processScroll=document.getElementById('processScroll'),processGrid=document.getElementById('processGrid');\ncanvas.style.setProperty('--lane-width',`${100/data.lanes.length}%`);\nconst nodeEls=new Map(),edgeEls=new Map();\nconst esc=s=>String(s??'').replace(/[&<>\"']/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c]));\nconst setText=(id,value)=>{document.getElementById(id).textContent=value};\nsetText('cutoff',data.evidence_cutoff);setText('title',data.title);setText('subtitle',data.subtitle);setText('thesis',data.thesis);setText('nodeTotal',data.nodes.length);setText('edgeTotal',data.edges.length);setText('sourceTotal',data.sources.length);setText('controlTotal',data.edges.filter(edge=>edge.type==='control').length);\n\nfunction applyTheme(theme){if(theme==='light'||theme==='dark')document.documentElement.dataset.theme=theme}\nwindow.addEventListener('message',event=>{const msg=event.data||{};if(msg.action==='setTheme'||msg.type==='theme')applyTheme(msg.theme||msg.value)});\napplyTheme(new URLSearchParams(location.search).get('theme'));\n\nconst ecosystemSelect=document.getElementById('ecosystemSelect'),processSelect=document.getElementById('processSelect'),processStageSelect=document.getElementById('processStageSelect'),traceSelect=document.getElementById('traceSelect'),viewSelect=document.getElementById('viewSelect'),clockSelect=document.getElementById('clockSelect');\nfor(const ecosystem of data.ecosystems){const option=document.createElement('option');option.value=ecosystem.id;option.textContent=ecosystem.label;ecosystemSelect.appendChild(option)}\nfor(const process of data.process_maps){const option=document.createElement('option');option.value=process.id;option.textContent=process.label;processSelect.appendChild(option)}\nfor(const trace of data.asset_traces){const option=document.createElement('option');option.value=trace.id;option.textContent=trace.label;traceSelect.appendChild(option)}\nfor(const clock of data.operational_states){const option=document.createElement('option');option.value=clock.id;option.textContent=clock.label;clockSelect.appendChild(option)}\nconst stackSelect=document.getElementById('stackSelect');\nfor(const id of data.current_stack_ids||[]){const eco=ecosystemsById.get(id);if(!eco)continue;const option=document.createElement('option');option.value=eco.id;option.textContent=eco.label;stackSelect.appendChild(option)}\nstackSelect.value=currentStackIds.has(state.ecosystem)?state.ecosystem:'us-equity-now';\nstackSelect.addEventListener('change',event=>setEcosystem(event.target.value));\ndocument.getElementById('stackOverlay').addEventListener('change',event=>{state.stackOverlay=event.target.checked;render()});\necosystemSelect.value=state.ecosystem;processSelect.value=state.process;traceSelect.value=state.trace;viewSelect.value=state.view;clockSelect.value=state.clock;\nfor(const lane of data.lanes){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--lane-color',lane.color);item.innerHTML=`<i class=\"lane-swatch\"></i>${esc(lane.label)}`;document.getElementById('laneLegend').appendChild(item)}\nfor(const clock of data.operational_states){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--clock-color',clock.color);item.innerHTML=`<i class=\"clock-swatch\"></i>${esc(clock.label)}`;document.getElementById('clockLegend').appendChild(item)}\nfor(const role of data.process_roles){const item=document.createElement('span');item.className='legend-item';item.style.setProperty('--role-color',role.color);item.innerHTML=`<i class=\"process-role-swatch\"></i>${esc(role.label)}`;document.getElementById('processRoleLegend').appendChild(item)}\nfor(const type of data.relationship_types){const button=document.createElement('button');button.type='button';button.className='type-toggle';button.dataset.type=type.id;button.style.setProperty('--edge-color',type.color);button.setAttribute('aria-pressed','true');button.innerHTML=`<svg class=\"edge-sample\" viewBox=\"0 0 34 12\" aria-hidden=\"true\"><line x1=\"1\" y1=\"6\" x2=\"31\" y2=\"6\" stroke-dasharray=\"${esc(type.dash||'')}\"></line></svg>${esc(type.label)}`;button.addEventListener('click',()=>{state.types.has(type.id)?state.types.delete(type.id):state.types.add(type.id);syncTypeButtons();render()});document.getElementById('typeRow').appendChild(button)}\n\ndocument.querySelectorAll('[data-mode]').forEach(button=>button.addEventListener('click',()=>setMode(button.dataset.mode)));\necosystemSelect.addEventListener('change',event=>setEcosystem(event.target.value));\nprocessSelect.addEventListener('change',event=>setProcess(event.target.value));\nprocessStageSelect.addEventListener('change',event=>{state.processStage=event.target.value;state.selectedCoverage=null;render()});\ntraceSelect.addEventListener('change',event=>setTrace(event.target.value));\nviewSelect.addEventListener('change',event=>setView(event.target.value));\nclockSelect.addEventListener('change',event=>{state.clock=event.target.value;state.selectedEdge=null;render()});\ndocument.getElementById('search').addEventListener('input',event=>{state.query=event.target.value.trim().toLowerCase();render()});\ndocument.getElementById('clearSelection').addEventListener('click',()=>{state.selectedNodes.clear();state.selectedEdge=null;render()});\ndocument.getElementById('refineToggle').addEventListener('click',event=>{const panel=document.getElementById('refinePanel'),open=panel.hidden;panel.hidden=!open;event.currentTarget.setAttribute('aria-expanded',String(open))});\ndocument.getElementById('expandMap').addEventListener('click',event=>{const expanded=document.body.classList.toggle('chart-expanded');event.currentTarget.setAttribute('aria-pressed',String(expanded));event.currentTarget.textContent=expanded?'Exit expanded':'Expand map';render()});\n\nfor(const [index,lane] of data.lanes.entries()){const head=document.createElement('div');head.className='lane-head';head.style.left=((index+.5)/data.lanes.length*100)+'%';head.style.width=`calc(${100/data.lanes.length}% - 24px)`;head.innerHTML=`<b>${esc(lane.label)}</b><span>${esc(lane.description)}</span>`;canvas.appendChild(head)}\nconst defs=document.createElementNS('http://www.w3.org/2000/svg','defs');svg.appendChild(defs);\nfor(const type of data.relationship_types){const marker=document.createElementNS('http://www.w3.org/2000/svg','marker');marker.setAttribute('id','arrow-'+type.id);marker.setAttribute('viewBox','0 0 10 10');marker.setAttribute('refX','8');marker.setAttribute('refY','5');marker.setAttribute('markerWidth','5');marker.setAttribute('markerHeight','5');marker.setAttribute('orient','auto-start-reverse');const path=document.createElementNS('http://www.w3.org/2000/svg','path');path.setAttribute('d','M 0 0 L 10 5 L 0 10 z');path.setAttribute('fill',type.color);marker.appendChild(path);defs.appendChild(marker)}\nfor(const edge of data.edges){const group=document.createElementNS('http://www.w3.org/2000/svg','g'),type=typesById.get(edge.type),path=document.createElementNS('http://www.w3.org/2000/svg','path'),hit=document.createElementNS('http://www.w3.org/2000/svg','path');path.classList.add('edge');path.setAttribute('stroke',type.color);path.setAttribute('stroke-dasharray',type.dash||'');path.setAttribute('marker-end',`url(#arrow-${type.id})`);hit.classList.add('edge-hit');hit.addEventListener('click',()=>selectEdge(edge.id));group.append(path,hit);svg.appendChild(group);edgeEls.set(edge.id,{g:group,path,hit})}\nfor(const node of data.nodes){const button=document.createElement('button'),lane=lanesById.get(node.lane),clock=clocksById.get(node.operational_state);button.type='button';button.className='node';button.dataset.id=node.id;button.style.setProperty('--lane-color',lane.color);button.style.setProperty('--clock-color',clock.color);button.innerHTML=`<b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)}</span><span class=\"kind\">${esc(node.kind.replaceAll('_',' '))}</span><span class=\"clock\">${esc(clock.label)}</span>`;if(overlayNodeIds.has(node.id))button.classList.add('overlay-node');\nbutton.setAttribute('aria-label',`${node.label}. ${node.status}. ${clock.label}`);button.setAttribute('aria-pressed','false');button.addEventListener('click',()=>selectNode(node.id));button.addEventListener('mouseenter',()=>{state.hover=node.id;applyHighlight()});button.addEventListener('mouseleave',()=>{state.hover=null;applyHighlight()});button.addEventListener('focus',()=>{state.hover=node.id;applyHighlight()});button.addEventListener('blur',()=>{state.hover=null;applyHighlight()});canvas.appendChild(button);nodeEls.set(node.id,button)}\n\n","next_section_id":"s00019","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00018.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00019.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00018.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00019.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00018.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00019.json"},{"section_id":"s00019","ordinal":19,"label":"Section 19 (continued)","source_page":null,"start_character":213006,"end_character":229194,"start_line":1424,"end_line":1550,"text":"function setMode(mode){\n if(mode==='accounting'&&['process','trace','compare'].includes(state.mode)&&state.accountingUseFlow&&state.processStage!=='all'){const step=processesById.get(state.process).stages.find(s=>s.id===state.processStage);const layer=data.accounting_layers.find(l=>step?.families.some(f=>l.families.includes(f)));if(layer)state.accountingLayer=layer.id}\n const flow=['process','trace','compare'].includes(mode);state.mode=mode;state.selectedEdge=null;\n if(mode==='trace'){const t=tracesById.get(state.trace);if(t.process_id&&!t.process_ids.includes(state.process)){state.process=t.process_id;state.processStage='all';state.selectedCoverage=null}}\n document.querySelector('.workspace').classList.toggle('accounting-active',mode==='accounting');document.getElementById('accountingPanel').hidden=mode!=='accounting';\n if(mode==='explore'&&!state.focusedNode)state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;\n document.querySelectorAll('[data-mode]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.mode===mode)));\n document.getElementById('ecosystemField').hidden=mode!=='explore'||document.body.classList.contains('current-stack-room');document.getElementById('processField').hidden=!flow;processSelect.disabled=false;document.getElementById('processStageField').hidden=!flow;document.getElementById('traceField').hidden=mode!=='trace';\n document.querySelectorAll('.type-toggle').forEach(b=>b.disabled=flow||mode==='accounting');document.getElementById('viewField').hidden=flow||mode==='accounting';viewSelect.disabled=flow||mode==='accounting';mapScroll.hidden=flow||mode==='accounting';processScroll.hidden=!flow;document.getElementById('flowSpine').hidden=!flow;document.getElementById('flowControls').hidden=!flow;document.getElementById('evidenceFlow').hidden=!flow;document.getElementById('selectionRow').hidden=true;render();\n}\nfunction setEcosystem(id){state.ecosystem=id;state.selectedEdge=null;const root=ecosystemsById.get(id).root_node_id;if(state.mode==='compare')state.selectedNodes.add(root);else state.focusedNode=root;render()}\nfunction setProcess(id){state.process=id;state.processStage='all';state.selectedCoverage=null;render()}\nfunction openEcosystemProcess(id){state.process=id;state.processStage='all';setMode('process')}\nfunction processRoutes(ecosystem){return `<button class=\"process-route-button\" data-compare-current=\"${ecosystem.id}\">Compare this system</button><div class=\"detail-block\"><h3>Compare lifecycle stages</h3><p>Explore groups objects by structural role. Process follows the sequence of work and compares the same stage across ecosystems.</p>${data.process_maps.filter(process=>process.ecosystem_ids.includes(ecosystem.id)).map(process=>`<button class=\"process-route-button\" type=\"button\" data-open-process=\"${esc(process.id)}\">Compare ${esc(process.label)} stages</button>`).join('')}</div>`}\nfunction setTrace(id){state.trace=id;state.process=tracesById.get(id).process_id;state.processStage='all';state.selectedCoverage=null;state.followNode='all';render()}\nfunction setView(id){state.view=id;state.selectedEdge=null;const lens=lensesById.get(id);state.types=new Set(lens?.relationship_types||allTypeIds);if(id==='sec-chain')state.types.add('advocacy');syncTypeButtons();render()}\nfunction syncTypeButtons(){document.querySelectorAll('.type-toggle').forEach(button=>button.setAttribute('aria-pressed',String(state.types.has(button.dataset.type))))}\nfunction searchMatchNode(node){if(!state.query)return true;return [node.label,node.status,node.summary,node.boundary,node.kind].join(' ').toLowerCase().includes(state.query)}\nfunction searchMatchEdge(edge){if(!state.query)return true;const a=nodesById.get(edge.from),b=nodesById.get(edge.to);return [edge.label,edge.status,edge.claim,edge.boundary,a.label,b.label].join(' ').toLowerCase().includes(state.query)}\nfunction profileScope(){if(state.mode==='full')return new Set(data.nodes.map(node=>node.id));if(state.mode==='trace')return new Set(tracesById.get(state.trace).node_ids);const eco=ecosystemsById.get(state.ecosystem);const ids=new Set(eco.node_ids);if(state.stackOverlay)for(const id of eco.overlay_node_ids||[])ids.add(id);if(state.mode==='compare'){for(const id of state.selectedNodes){for(const ecosystemId of nodeToEcosystems.get(id)||[])for(const member of ecosystemsById.get(ecosystemId).node_ids)ids.add(member)}}if(state.view==='sec-chain')for(const id of lensesById.get('sec-chain').node_ids)ids.add(id);return ids}\nfunction clockMatch(item){return state.clock==='all'||item.operational_state===state.clock}\nfunction visibleEdges(){const scope=profileScope(),traceEdgeIds=state.mode==='trace'?new Set(tracesById.get(state.trace).edge_ids):null;return data.edges.filter(edge=>scope.has(edge.from)&&scope.has(edge.to)&&(!traceEdgeIds||traceEdgeIds.has(edge.id))&&state.types.has(edge.type)&&clockMatch(edge)&&(!state.query||searchMatchEdge(edge)||searchMatchNode(nodesById.get(edge.from))||searchMatchNode(nodesById.get(edge.to))))}\nfunction visibleNodes(edges){const scope=profileScope(),connected=new Set(edges.flatMap(edge=>[edge.from,edge.to]));return data.nodes.filter(node=>scope.has(node.id)&&(state.clock==='all'||clockMatch(node)||connected.has(node.id))&&(!state.query||searchMatchNode(node)||connected.has(node.id)))}\nfunction layout(nodes){const grouped=new Map(data.lanes.map(lane=>[lane.id,[]]));for(const node of nodes)grouped.get(node.lane).push(node);const root=ecosystemsById.get(state.ecosystem)?.root_node_id;for(const list of grouped.values())list.sort((a,b)=>(a.id===root?-1:b.id===root?1:0)||a.label.localeCompare(b.label));const maxLane=Math.max(1,...[...grouped.values()].map(list=>list.length)),top=132,gap=142,height=Math.max(560,top+maxLane*gap+45);canvas.style.height=height+'px';const width=canvas.clientWidth,positions=new Map();data.lanes.forEach((lane,index)=>grouped.get(lane.id).forEach((node,row)=>positions.set(node.id,{x:(index+.5)/data.lanes.length*width,y:top+row*gap})));return positions}\nfunction pathFor(a,b,edge){const sameLane=Math.abs(a.x-b.x)<30,offset=(data.edges.indexOf(edge)%5-2)*7;if(sameLane)return `M ${a.x} ${a.y+32} C ${a.x+50+offset} ${a.y+44}, ${b.x+50+offset} ${b.y-44}, ${b.x} ${b.y-32}`;const direction=b.x>a.x?1:-1,startX=a.x+direction*81,endX=b.x-direction*81,curve=Math.max(42,Math.abs(endX-startX)*.45);return `M ${startX} ${a.y} C ${startX+curve*direction} ${a.y+offset}, ${endX-curve*direction} ${b.y+offset}, ${endX} ${b.y}`}\nfunction questionsFor(ids){const chosen=new Set(ids);return (data.evidence_questions||[]).filter(q=>q.coverage_ids.some(id=>chosen.has(id)))}\nfunction questionCards(ids){return questionsFor(ids).map(q=>`<details class=\"process-card-research evidence-question\" data-question=\"${esc(q.id)}\"><summary>${esc(q.label)}</summary><p><b>Established:</b> ${esc(q.finding)}</p><p class=\"accounting-gap\"><b>Still undisclosed:</b> ${esc(q.unknown)}</p><p><b>Evidence needed:</b> ${esc(q.needed)}</p><p>${esc(q.comparison)}</p><div class=\"source-list\">${sourceLinks(q.source_ids)}</div></details>`).join('')}\nfunction renderEvidenceFlow(trace,records){\n const panel=document.getElementById('evidenceFlow');\n const sequence=trace?.sequence_label?`<section class=\"reported-sequence\"><h3>${esc(trace.sequence_label)}</h3><p>${esc(trace.sequence_boundary)}</p><ol class=\"reported-steps\">${trace.mapping_steps.map((step,i)=>`<li><button type=\"button\" data-sequence-role=\"${esc(step.coverage_ids[0])}\"><b>${i+1}</b> ${esc(trace.walkthrough[i])}</button></li>`).join('')}</ol><p class=\"accounting-gap\"><b>Exposure interval:</b> receiving funds available → external settlement completed. Financing instrument and loss allocation remain undisclosed.</p></section>`:'';\n const cards=questionCards(records.map(c=>c.id));panel.innerHTML=sequence+(cards?`<details class=\"evidence-review\" ${trace?.sequence_label?'open':''}><summary>Funding, legal effect &amp; risk · ${questionsFor(records.map(c=>c.id)).length} researched questions</summary><div class=\"evidence-question-grid\">${cards}</div></details>`:'');\n panel.querySelectorAll('[data-sequence-role]').forEach(b=>b.addEventListener('click',()=>{const p=processesById.get(state.process),c=p.coverage.find(c=>c.id===b.dataset.sequenceRole);state.processStage=c.stage_ids[0];state.selectedCoverage=c.id;render()}));\n}\nfunction searchMatchCoverage(coverage,process,stage,ecosystem){if(!state.query)return true;const nodes=coverage.node_ids.map(id=>nodesById.get(id)?.label||'').join(' '),sources=coverage.source_ids.map(id=>sourcesById.get(id)?.label||'').join(' ');return [coverage.summary,coverage.boundary,JSON.stringify(questionsFor([coverage.id])),process.label,stage.label,stage.description,stage.question,ecosystem.label,nodes,sources].join(' ').toLowerCase().includes(state.query)}\nfunction renderProcessDetail(process,coverage){if(!coverage){detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Process map</div><h2>${esc(process.label)}</h2><span class=\"status\">${process.coverage.length} sourced role records</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(process.description)}</p><div class=\"detail-block\"><h3>Walk the process</h3><div class=\"stack-path\">${process.stages.map(stage=>`<div class=\"stack-step\">${esc(stage.label)} — ${esc(stage.question)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Process boundary</h3><p>${esc(process.boundary)}</p></div></div>`;return}const ecosystem=ecosystemsById.get(coverage.ecosystem_id),role=processRolesById.get(coverage.role),clock=clocksById.get(coverage.operational_state),scale=scaleStatesById.get(coverage.scale_state),stress=stressStatesById.get(coverage.stress_state),stageLabels=coverage.stage_ids.map(id=>process.stages.find(stage=>stage.id===id)?.label).filter(Boolean),evidence=coverage.node_ids.map(id=>nodesById.get(id)).filter(Boolean).map(node=>`<div class=\"process-evidence-item\" style=\"--lane-color:${lanesById.get(node.lane).color}\"><b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)}</span></div>`).join('');detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\" style=\"color:${role.color}\">${esc(ecosystem.label)} · ${esc(role.label)}</div><h2>${esc(stageLabels.join(' · '))}</h2><span class=\"status\">${esc(scale.label)}</span>${clockBadge(clock.id)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Stage role</h3><p>${esc(coverage.summary)}</p></div><div class=\"detail-block\"><h3>Evidence depth</h3><p><b>Scale:</b> ${esc(scale.label)} — ${esc(scale.description)}<br><b>Stress:</b> ${esc(stress.label)} — ${esc(stress.description)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(coverage.boundary)}</p></div><div class=\"detail-block\"><h3>Supporting objects</h3><div class=\"process-evidence-list\">${evidence}</div></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(coverage.source_ids)}</div>${questionCards([coverage.id])}</div><button class=\"process-route-button\" type=\"button\" data-open-ecosystem=\"${esc(ecosystem.id)}\">Open ${esc(ecosystem.label)} structure</button></div>`;detail.querySelector('[data-open-ecosystem]')?.addEventListener('click',event=>{state.ecosystem=event.currentTarget.dataset.openEcosystem;state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;ecosystemSelect.value=state.ecosystem;setMode('explore')})}\n/* Pass records filtered by ecosystem/search/clock, BEFORE exact-stage filtering.\n   Counts describe distinct sourced role records, never transaction volume. */\nfunction renderFlowSpine(process, visibleRecords, targetElement, unfilteredRecords = visibleRecords) {\n  if (!targetElement) return;\n  const previousFocus = targetElement.contains(document.activeElement)\n    ? document.activeElement.dataset.flowStage : null;\n  targetElement.replaceChildren();\n  if (!process || !Array.isArray(process.stages)) return;\n  const stages = process.stages;\n  const records = [...new Map((visibleRecords || []).map(record => [record.id, record])).values()];\n  const selected = stages.some(stage => stage.id === state.processStage) ? state.processStage : 'all';\n  const heading = document.createElement('div');\n  heading.className = 'flow-spine-heading';\n  const title = document.createElement('strong');\n  title.textContent = 'Follow the process';\n  const overview = document.createElement('span');\n  overview.className = 'flow-spine-overview';\n  overview.textContent = `${stages.length} steps · ${records.length} sourced role${records.length === 1 ? '' : 's'} · ${new Set(records.map(record => record.ecosystem_id)).size} ecosystems in view`;\n  heading.append(title, overview);\n  const note = document.createElement('p');\n  note.className = 'flow-spine-note';\n  note.textContent = 'Arrows show an analytical sequence, not a verified transaction route or money movement. A gap means no evidence mapped in this view, not an absent capability.';\n  const scroller = document.createElement('nav');\n  scroller.className = 'flow-spine-scroll';\n  scroller.setAttribute('aria-label', `${process.label} process steps`);\n  const row = document.createElement('div');\n  row.className = 'flow-spine-row';\n  const buttons = [];\n  function makeButton(id, label, count, index) {\n    const button = document.createElement('button');\n    button.type = 'button';\n    button.className = 'flow-spine-step' + (id === 'all' ? ' flow-spine-all' : '') + (count === 0 ? ' flow-spine-gap' : '');\n    button.dataset.flowStage = id;\n    button.setAttribute('aria-pressed', String(selected === id));\n    const number = document.createElement('span');\n    number.className = 'flow-spine-number';\n    number.textContent = index === null ? 'All' : String(index + 1).padStart(2, '0');\n    number.setAttribute('aria-hidden', 'true');\n    const text = document.createElement('span');\n    text.className = 'flow-spine-label';\n    text.textContent = label;\n    const metric = document.createElement('span');\n    metric.className = 'flow-spine-count';\n    const hiddenByFilters = !count && unfilteredRecords.some(c=>id==='all'||c.stage_ids.includes(id));\n    metric.textContent = count ? `${count} sourced role${count === 1 ? '' : 's'}` : hiddenByFilters ? 'Hidden by filters' : 'No mapped evidence';\n    button.setAttribute('aria-label', `${index === null ? '' : `Step ${index + 1}: `}${label}. ${count ? `${count} distinct sourced role records in this view.` : hiddenByFilters ? 'Mapped evidence is hidden by current filters.' : 'No mapped evidence in this view; not proof of an absent capability.'}`);\n    button.append(number, text, metric);\n    button.addEventListener('click', () => {\n      state.processStage = id;\n      state.selectedCoverage = null;\n      render();\n    });\n    button.addEventListener('keydown', event => {\n      let next;\n      const current = buttons.indexOf(button);\n      if (event.key === 'ArrowRight') next = Math.min(current + 1, buttons.length - 1);\n      else if (event.key === 'ArrowLeft') next = Math.max(current - 1, 0);\n      else if (event.key === 'Home') next = 0;\n      else if (event.key === 'End') next = buttons.length - 1;\n      else return;\n      event.preventDefault();\n      buttons[next].focus();\n      buttons[next].scrollIntoView({block: 'nearest', inline: 'nearest'});\n    });\n    buttons.push(button);\n    return button;\n  }\n  row.append(makeButton('all', 'All steps', records.length, null));\n  stages.forEach((stage, index) => {\n    if (index > 0) {\n      const arrow = document.createElement('span');\n      arrow.className = 'flow-spine-arrow';\n      arrow.setAttribute('aria-hidden', 'true');\n      arrow.textContent = '→';\n      row.append(arrow);\n    }\n    const stageCount = records.filter(record => (record.stage_ids || []).includes(stage.id)).length;\n    row.append(makeButton(stage.id, stage.label, stageCount, index));\n  });\n  scroller.append(row);\n  targetElement.classList.add('flow-spine');\n  targetElement.append(heading, note, scroller);\n  if (previousFocus) {\n    const restore = buttons.find(button => button.dataset.flowStage === previousFocus);\n    if (restore) {\n      restore.focus({preventScroll: true});\n      restore.scrollIntoView({block: 'nearest', inline: 'nearest'});\n    }\n  }\n}\n\n","next_section_id":"s00020","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00019.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00020.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00019.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00020.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00019.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00020.json"},{"section_id":"s00020","ordinal":20,"label":"Section 20 (continued)","source_page":null,"start_character":229194,"end_character":238572,"start_line":1550,"end_line":1592,"text":"function renderFlowControls(process,baseRecords){\n const box=document.getElementById('flowControls');const available=process.ecosystem_ids.map(id=>ecosystemsById.get(id));\n const nodeIds=new Set(baseRecords.flatMap(c=>c.node_ids));\n if(state.followNode!=='all'&&!nodeIds.has(state.followNode))state.followNode='all';\n box.innerHTML=`${state.mode==='compare'?`<details class=\"comparison-picker\" open><summary>Systems to compare · choose explicitly</summary><div class=\"comparison-options\">${available.map(e=>`<label><input type=\"checkbox\" data-compare-eco=\"${e.id}\" ${state.compareEcosystems.has(e.id)?'checked':''}> ${esc(e.label)}</label>`).join('')}</div></details>`:''}<label class=\"follow-object\">Follow a technology or object <select class=\"control\" id=\"followObject\"><option value=\"all\">All objects in this view</option>${[...nodeIds].map(id=>nodesById.get(id)).sort((a,b)=>a.label.localeCompare(b.label)).map(n=>`<option value=\"${n.id}\">${esc(n.short_label||n.label)}</option>`).join('')}</select></label><p class=\"flow-context\">${state.mode==='trace'?'Curated evidence for this trace; unmapped steps remain visible.':state.mode==='compare'?'Only checked ecosystems appear. Shared objects do not add other systems.':'All mapped ecosystems follow the same stage order. Use Compare to choose a smaller set.'} Following an object shows its sourced roles, not every role in its ecosystem.</p>`;\n const follow=document.getElementById('followObject');follow.value=state.followNode;follow.addEventListener('change',e=>{state.followNode=e.target.value;state.selectedCoverage=null;render()});\n box.querySelectorAll('[data-compare-eco]').forEach(e=>e.addEventListener('change',()=>{e.checked?state.compareEcosystems.add(e.dataset.compareEco):state.compareEcosystems.delete(e.dataset.compareEco);state.selectedCoverage=null;render()}));\n}\nfunction renderProcess(){\n const process=processesById.get(state.process),trace=state.mode==='trace'?tracesById.get(state.trace):null;processSelect.innerHTML=data.process_maps.filter(p=>!trace||trace.process_ids.includes(p.id)).map(p=>`<option value=\"${p.id}\">${esc(p.label)}</option>`).join('');\n if(!process.stages.some(s=>s.id===state.processStage))state.processStage='all';\n processStageSelect.innerHTML='<option value=\"all\">All stages</option>'+process.stages.map(s=>`<option value=\"${s.id}\">${esc(s.label)}</option>`).join('');processStageSelect.value=state.processStage;\n const stages=state.processStage==='all'?process.stages:process.stages.filter(s=>s.id===state.processStage);\n const traceIds=trace?new Set(trace.coverage_ids||[]):null;\n const base=process.coverage.filter(c=>(!traceIds||traceIds.has(c.id))&&(state.mode!=='compare'||state.compareEcosystems.has(c.ecosystem_id)));\n renderFlowControls(process,base);\n const filtered=base.filter(c=>clockMatch(c)&&(state.followNode==='all'||c.node_ids.includes(state.followNode))&&searchMatchCoverage(c,process,process.stages.find(s=>s.id===c.stage_ids[0]),ecosystemsById.get(c.ecosystem_id)));\n renderFlowSpine(process,filtered,document.getElementById('flowSpine'),base);\n state.flowScope={label:`${process.label} · ${state.mode==='trace'?trace.label:state.mode==='compare'?'selected systems':'all mapped systems'} · ${state.processStage==='all'?'all stages':stages[0].label}${state.followNode==='all'?'':' · '+nodesById.get(state.followNode).label}`,ids:base.filter(c=>(state.followNode==='all'||c.node_ids.includes(state.followNode))&&stages.some(s=>c.stage_ids.includes(s.id))).map(c=>c.id)};\n const visible=filtered.filter(c=>stages.some(s=>c.stage_ids.includes(s.id)));\n renderEvidenceFlow(trace,visible);\n let ecoIds=state.mode==='trace'?[...new Set(base.map(c=>c.ecosystem_id))]:state.mode==='compare'?process.ecosystem_ids.filter(id=>state.compareEcosystems.has(id)):process.ecosystem_ids;\n const ecosystems=ecoIds.map(id=>ecosystemsById.get(id)).sort((a,b)=>(a.id===state.ecosystem?-1:b.id===state.ecosystem?1:0));\n processGrid.replaceChildren();processGrid.style.minWidth=stages.length===1?'0':(190+stages.length*210)+'px';processGrid.style.gridTemplateColumns=`190px repeat(${stages.length},minmax(210px,1fr))`;\n const corner=document.createElement('div');corner.className='process-head';corner.textContent='System / sourced role';processGrid.appendChild(corner);\n for(const stage of stages){const h=document.createElement('div');h.className='process-head';h.textContent=`${process.stages.indexOf(stage)+1}. ${stage.label}`;h.title=stage.question;processGrid.appendChild(h)}\n for(const eco of ecosystems){const label=document.createElement('div');label.className='process-label';const open=document.createElement('button');open.textContent=eco.label;open.setAttribute('aria-label',`Open ${eco.label} structure`);open.addEventListener('click',()=>{state.ecosystem=eco.id;state.focusedNode=eco.root_node_id;setMode('explore')});label.appendChild(open);processGrid.appendChild(label);\n  for(const stage of stages){const cell=document.createElement('div');cell.className='process-cell';const rows=visible.filter(c=>c.ecosystem_id===eco.id&&c.stage_ids.includes(stage.id));\n   if(!rows.length){const gap=document.createElement('div');gap.className='process-empty';gap.textContent=base.some(c=>c.ecosystem_id===eco.id&&c.stage_ids.includes(stage.id))?'Hidden by filters':'No mapped role';cell.appendChild(gap)}\n   for(const c of rows){const role=processRolesById.get(c.role),clock=clocksById.get(c.operational_state),button=document.createElement('button');button.className='process-entry';button.dataset.coverage=c.id;button.style.setProperty('--role-color',role.color);button.style.setProperty('--clock-color',clock.color);button.setAttribute('aria-pressed',String(state.selectedCoverage===c.id));button.setAttribute('aria-label',`${eco.label}, ${stage.label}: ${role.label}. ${c.summary}`);button.innerHTML=`<b>${esc(role.label)}</b><small>${esc(c.node_ids.map(id=>nodesById.get(id).short_label||nodesById.get(id).label).join(' · '))}</small><span>${esc(clock.label)}</span>`;button.addEventListener('click',()=>{state.selectedCoverage=c.id;renderProcessDetail(process,c);processGrid.querySelectorAll('.process-entry').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.coverage===c.id)))});cell.appendChild(button);\n    const research=document.createElement('details');research.className='process-card-research';research.innerHTML=`<summary>Research · ${c.source_ids.length} source${c.source_ids.length===1?'':'s'}</summary><p>${esc(c.summary)}</p><p class=\"accounting-gap\"><b>Evidence limit:</b> ${esc(c.boundary)}</p><p><b>Scale:</b> ${esc(scaleStatesById.get(c.scale_state).label)}<br><b>Stress:</b> ${esc(stressStatesById.get(c.stress_state).label)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}`;cell.appendChild(research);\n   }processGrid.appendChild(cell)\n  }\n }\n if(!visible.length){const gap=document.createElement('p');gap.className='empty-note';gap.style.gridColumn='1 / -1';gap.textContent=base.length?'No role is visible at this step under the current filters. Empty steps do not establish absence of a capability.':'No systems or trace roles are selected. Choose systems to compare; no relationship is inferred automatically.';processGrid.appendChild(gap)}\n const selected=visible.find(c=>c.id===state.selectedCoverage)||null;\n setText('mapTitle',trace?trace.label+' · process trace':state.mode==='compare'?process.label+' · selected-system comparison':process.label+' · process flow');setText('mapHelp',trace?trace.description:process.description);setText('mapCount',`${ecosystems.length} systems · ${visible.length} visible roles`);setText('lensNote',`${state.processStage==='all'?'Whole lifecycle':stages[0].label} · ${process.boundary}`);processSelect.value=process.id;traceSelect.value=state.trace;clockSelect.value=state.clock;document.getElementById('selectionRow').hidden=true;\n renderProcessDetail(process,selected);\n if(!selected&&trace){detail.innerHTML=`<div class=\"detail-top\"><h2>${esc(trace.label)}</h2><span class=\"status\">Curated evidence path</span></div><div class=\"detail-body\"><p>${esc(trace.description)}</p><div class=\"stack-path\">${trace.walkthrough.map((s,i)=>`<div class=\"stack-step\">${esc(s)}<br><b>${esc(trace.mapping_steps?.[i]?.status||'unmapped')}</b><br>${esc(trace.mapping_steps?.[i]?.boundary||'Stage role mapped; see source scope and disclosure limits.')}</div>`).join('')}</div><p class=\"accounting-gap\">${esc(trace.boundary)}</p><p>${esc(trace.mapping_note||'Only cited stage roles are shown; gaps remain visible.')}</p><details class=\"process-card-research\"><summary>Documented relationships for this trace</summary>${relationshipList(trace.edge_ids.map(id=>data.edges.find(e=>e.id===id)).filter(Boolean),null)}</details></div>`;bindRelationshipButtons()}\n if(!selected&&state.mode==='compare'){const ids=new Set(base.flatMap(c=>c.node_ids));const links=data.edges.filter(e=>ids.has(e.from)&&ids.has(e.to));detail.innerHTML=`<div class=\"detail-top\"><h2>Comparison scope</h2></div><div class=\"detail-body\"><p>${esc(ecosystems.map(e=>e.label).join(' · ')||'Choose systems above.')}</p><p>Columns align functions; matching columns do not prove integration, equal authority or substitutability.</p><details class=\"process-card-research\"><summary>Documented relationships among shown objects</summary>${relationshipList(links,null)}</details></div>`;bindRelationshipButtons()}\n}\n\n","next_section_id":"s00021","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00020.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00021.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00020.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00021.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00020.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00021.json"},{"section_id":"s00021","ordinal":21,"label":"Section 21 (continued)","source_page":null,"start_character":238572,"end_character":250131,"start_line":1592,"end_line":1615,"text":"function renderAccounting(){\n const panel=document.getElementById('accountingPanel'),layer=data.accounting_layers.find(x=>x.id===state.accountingLayer);\n setText('mapTitle','Accounting · follow the claim and the money');setText('mapHelp','Accounting layers group related functions. Use See process role and the exact-stage selector to compare the same lifecycle step across ecosystems.');setText('lensNote','Direct SWIFT evidence and comparisons are separate. Other ecosystems keep their original evidence dates.');\n const rows=[];\n for(const process of data.process_maps)for(const coverage of process.coverage){if(state.accountingUseFlow&&state.flowScope&&!state.flowScope.ids.includes(coverage.id))continue;const stages=process.stages.filter(x=>coverage.stage_ids.includes(x.id)&&x.families.some(f=>layer.families.includes(f)));if(!stages.length)continue;const eco=ecosystemsById.get(coverage.ecosystem_id),direct=eco.id==='swift-ledger';if(state.accountingScope==='direct'&&!direct||state.accountingScope==='comparison'&&direct)continue;if(state.accountingEcosystem!=='all'&&state.accountingEcosystem!==eco.id)continue;if(state.clock!=='all'&&coverage.operational_state!==state.clock)continue;const hay=[eco.label,coverage.summary,coverage.boundary,...coverage.node_ids.map(id=>nodesById.get(id).label)].join(' ').toLowerCase();if(state.query&&!hay.includes(state.query))continue;rows.push({process,coverage,stages,eco,direct})}\n rows.sort((a,b)=>Number(b.direct)-Number(a.direct)||a.eco.label.localeCompare(b.eco.label));setText('mapCount',`${rows.length} sourced roles`);\n const money=new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(state.accountingAmount);\n panel.innerHTML=`<div class=\"accounting-tabs\" role=\"group\" aria-label=\"Accounting layers\">${data.accounting_layers.map(x=>`<button type=\"button\" data-accounting-layer=\"${x.id}\" aria-pressed=\"${x.id===layer.id}\">${esc(x.label)}</button>`).join('')}</div><div class=\"accounting-intro\"><h2>${esc(layer.question)}</h2><p>${esc(layer.explanation)}</p><p class=\"accounting-gap\"><b>SWIFT and coins:</b> the documented implementation uses Besu / EVM software and bank deposit commitments. These sources do not establish an ETH, XRP, LINK, QNT, USDC or RLUSD requirement. A comparable function elsewhere is not a SWIFT-ledger integration. Ripple Treasury’s separate messaging connection does not establish XRPL settlement.</p></div>\n <div class=\"accounting-filters\">${state.flowScope?`<label><input type=\"checkbox\" id=\"accountingUseFlow\" ${state.accountingUseFlow?'checked':''}> Use last process selection<br><small>${esc(state.flowScope.label)}</small></label>`:''}<label>Relationship to SWIFT<select class=\"control\" id=\"accountingScope\"><option value=\"all\">Direct evidence + comparisons</option><option value=\"direct\">Direct SWIFT evidence</option><option value=\"comparison\">Other systems · compare roles</option></select></label><label>System / ecosystem<select class=\"control\" id=\"accountingEcosystem\"><option value=\"all\">All mapped systems</option>${data.ecosystems.map(x=>`<option value=\"${x.id}\">${esc(x.label)}</option>`).join('')}</select></label></div>\n <details class=\"accounting-example\"><summary><b>Walk the Saturday payment · illustrative journal entries</b></summary><p>This teaching example assumes immediate customer booking, a direct interbank claim and later correspondent settlement. It is not a disclosed SWIFT booking policy.</p><label>Payment amount (USD) <input class=\"control\" id=\"accountingAmount\" type=\"number\" min=\"1\" max=\"1000000000000\" step=\"1\" value=\"${state.accountingAmount}\"></label><table><thead><tr><th>Stage</th><th>Bank A</th><th>Bank B</th></tr></thead><tbody><tr><td>Customer payment booked</td><td>Dr customer deposit liability <span class=\"journal-amount\">${money}</span><br>Cr payable to Bank B <span class=\"journal-amount\">${money}</span></td><td>Dr receivable from Bank A <span class=\"journal-amount\">${money}</span><br>Cr supplier deposit liability <span class=\"journal-amount\">${money}</span></td></tr><tr><td>External settlement</td><td>Dr payable to Bank B <span class=\"journal-amount\">${money}</span><br>Cr correspondent asset <span class=\"journal-amount\">${money}</span></td><td>Dr correspondent asset <span class=\"journal-amount\">${money}</span><br>Cr receivable from Bank A <span class=\"journal-amount\">${money}</span></td></tr></tbody></table><p>If Bank B has credited spendable money and settlement fails, identify the contract and balance sheet carrying that exposure. Shared ledger entries are not automatically additional assets.</p></details>\n <details class=\"evidence-review\"><summary>Funding, legal effect &amp; risk for this selection</summary>${questionCards(rows.map(r=>r.coverage.id))||'<p>No additional research questions mapped to this selection.</p>'}</details><div class=\"accounting-grid\">${rows.map(({process,coverage:c,stages,eco,direct})=>`<article class=\"accounting-card ${direct?'direct':'comparison'}\"><span class=\"accounting-tag\">${direct?'Direct SWIFT evidence':'Comparable role · no SWIFT link implied'}</span><h3>${esc(eco.label)}</h3><p><b>${esc(processRolesById.get(c.role).label)}</b> · ${esc(process.label)}<br>${esc(stages.map(x=>x.label).join(' / '))}</p><p>${esc(c.summary)}</p><p><b>Objects:</b> ${esc(c.node_ids.map(id=>nodesById.get(id).short_label||nodesById.get(id).label).join(' · '))}</p><p>${clockBadge(c.operational_state)} · ${esc(scaleStatesById.get(c.scale_state).label)}<br><b>Stress:</b> ${esc(stressStatesById.get(c.stress_state).label)}</p><p class=\"accounting-gap\">${esc(c.boundary)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}<div class=\"accounting-nav\"><button class=\"accounting-open\" data-accounting-open=\"${eco.id}\">Open ecosystem</button><button class=\"accounting-open\" data-accounting-process=\"${process.id}\" data-coverage=\"${c.id}\" data-stage=\"${stages[0].id}\" data-ecosystem=\"${eco.id}\">See process role</button></div></article>`).join('')||'<p class=\"accounting-gap\">No roles match this accounting layer and scope. Choose another layer, turn off Use last process selection, or clear the system, Find and clock filters. An empty view does not establish an absent capability.</p>'}</div>`;\n document.getElementById('accountingUseFlow')?.addEventListener('change',e=>{state.accountingUseFlow=e.target.checked;render()});\n panel.querySelectorAll('[data-accounting-layer]').forEach(b=>b.addEventListener('click',()=>{state.accountingLayer=b.dataset.accountingLayer;render()}));\n for(const [id,key] of [['accountingScope','accountingScope'],['accountingEcosystem','accountingEcosystem']]){const e=document.getElementById(id);e.value=state[key];e.addEventListener('change',()=>{state[key]=e.value;render()})}\n panel.querySelectorAll('[data-accounting-open]').forEach(b=>b.addEventListener('click',()=>{state.ecosystem=b.dataset.accountingOpen;state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;setMode('explore')}));\n panel.querySelectorAll('[data-accounting-process]').forEach(b=>b.addEventListener('click',()=>{state.followNode='all';state.process=b.dataset.accountingProcess;state.processStage=b.dataset.stage;state.ecosystem=b.dataset.ecosystem;setMode('process');state.selectedCoverage=b.dataset.coverage;render()}));\n document.getElementById('accountingAmount').addEventListener('input',e=>{const n=Number(e.target.value);if(!Number.isFinite(n)||n<1||n>1e12)return;state.accountingAmount=Math.round(n);const formatted=new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(state.accountingAmount);panel.querySelectorAll('.journal-amount').forEach(el=>el.textContent=formatted)});\n}\n\nfunction render(){if(state.mode==='accounting'){renderAccounting();return}if(['process','trace','compare'].includes(state.mode)){renderProcess();return}const edges=visibleEdges(),nodes=visibleNodes(edges),visibleIds=new Set(nodes.map(node=>node.id)),positions=layout(nodes);state.visibleEdges=edges;if(state.selectedEdge&&!edges.some(edge=>edge.id===state.selectedEdge))state.selectedEdge=null;for(const node of data.nodes){const element=nodeEls.get(node.id),position=positions.get(node.id);element.classList.toggle('hidden',!position);if(position){element.style.left=position.x+'px';element.style.top=position.y+'px'}}for(const edge of data.edges){const element=edgeEls.get(edge.id),show=edges.includes(edge)&&visibleIds.has(edge.from)&&visibleIds.has(edge.to);element.g.style.display=show?'':'none';if(show){const path=pathFor(positions.get(edge.from),positions.get(edge.to),edge);element.path.setAttribute('d',path);element.hit.setAttribute('d',path)}}const ecosystem=ecosystemsById.get(state.ecosystem),trace=tracesById.get(state.trace),viewLabel=state.mode==='trace'?'Governed asset path':viewSelect.options[viewSelect.selectedIndex].text,clockLabel=state.clock==='all'?'all operational states':clocksById.get(state.clock).label;setText('mapTitle',state.mode==='full'?'Full relationship field':state.mode==='compare'?'Comparison field':state.mode==='trace'?trace.label:ecosystem.label+' stack');setText('mapHelp',currentStackIds.has(state.ecosystem)?ecosystem.description+(state.stackOverlay?' Crypto overlap is on: dashed nodes attach to these rails without inheriting them.':' Overlay off: this is today’s machine only.'):state.mode==='explore'?'Structural classification: organizations, products, networks and market rails. Use Process to compare the sequence of work. '+ecosystem.description:state.mode==='compare'?'Choose another ecosystem, then select objects to compare direct links and shared control surfaces.':state.mode==='trace'?trace.description:'Click an ecosystem root such as Ripple to open its governed end-to-end stack.');setText('mapCount',`${nodes.length} nodes · ${edges.length} relationships`);setText('lensNote',`${viewLabel} · ${clockLabel} · ${state.mode==='trace'?trace.boundary:state.mode==='full'?'all governed objects':ecosystem.boundary}`);ecosystemSelect.value=state.ecosystem;if(currentStackIds.has(state.ecosystem))stackSelect.value=state.ecosystem;traceSelect.value=state.trace;clockSelect.value=state.clock;updateSelectionBar();applyHighlight();renderDetail(edges)}\nfunction updateSelectionBar(){const row=document.getElementById('selectionRow'),summary=document.getElementById('selectionSummary'),selected=[...state.selectedNodes].map(id=>nodesById.get(id)).filter(Boolean);row.hidden=state.mode!=='compare'||!selected.length;summary.innerHTML=selected.map(node=>`<span class=\"selection-chip\">${esc(node.short_label||node.label)}</span>`).join('')}\nfunction applyHighlight(){const focusIds=state.hover?new Set([state.hover]):state.mode==='compare'?new Set(state.selectedNodes):new Set(state.focusedNode?[state.focusedNode]:[]),activeEdges=new Set();for(const edge of state.visibleEdges)if(focusIds.has(edge.from)||focusIds.has(edge.to))activeEdges.add(edge.id);const activeNodes=new Set(focusIds);for(const edge of state.visibleEdges)if(activeEdges.has(edge.id)){activeNodes.add(edge.from);activeNodes.add(edge.to)}const hasFocus=focusIds.size>0;for(const [id,element] of nodeEls){const selected=state.mode==='compare'?state.selectedNodes.has(id):state.focusedNode===id;element.classList.toggle('selected',selected);element.setAttribute('aria-pressed',String(selected));element.classList.toggle('dim',hasFocus&&!activeNodes.has(id))}for(const [id,element] of edgeEls){element.path.classList.toggle('hot',activeEdges.has(id)||state.selectedEdge===id);element.path.classList.toggle('dim',hasFocus&&!activeEdges.has(id))}}\n\n","next_section_id":"s00022","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00021.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00022.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00021.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00022.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00021.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00022.json"},{"section_id":"s00022","ordinal":22,"label":"Section 22 (continued)","source_page":null,"start_character":250131,"end_character":257585,"start_line":1615,"end_line":1643,"text":"const bankResearchState={bank:'all',result:'all'};\nfunction bankResearchLink(node){return data.bank_research.banks.some(bank=>bank.node_id===node.id)?`<button class=\"process-route-button\" type=\"button\" data-bank-research-id=\"${esc(node.id)}\">SWIFT bank research &amp; tests</button>`:''}\nfunction bankResearchSources(ids){return sourceLinks(ids.filter(id=>id!==data.bank_research.report_source_id))}\nfunction renderBankResearch(){\n const research=data.bank_research,bankName=id=>nodesById.get(id).short_label||nodesById.get(id).label;\n const banks=research.banks.filter(bank=>(bankResearchState.bank==='all'||bank.node_id===bankResearchState.bank)&&(bankResearchState.result==='all'||bank.result===bankResearchState.result));\n const visibleBankIds=new Set(banks.map(bank=>bank.node_id));const cases=research.cases.filter(item=>item.bank_ids.some(id=>visibleBankIds.has(id)));\n setText('bankResearchOverview',`${research.banks.length} roster banks · ${research.cases.length} sourced transaction cases · cutoff ${research.cutoff}`);\n document.getElementById('bankResearchBody').innerHTML=`<p class=\"bank-research-intro\">Compare documented SWIFT-ledger transactions with each bank's adjacent projects. A roster place is participation evidence; a separate chain, stablecoin or custody relationship does not establish its use on SWIFT's ledger. These research filters are independent of the map's Find and Operational clock controls.</p><div class=\"bank-research-filters\"><label>Bank<select class=\"control\" id=\"bankResearchSelect\"><option value=\"all\">All ${research.banks.length} roster banks</option>${research.banks.map(bank=>`<option value=\"${esc(bank.node_id)}\">${esc(bankName(bank.node_id))}</option>`).join('')}</select></label><label>Direct ledger evidence<select class=\"control\" id=\"bankResearchResult\"><option value=\"all\">All evidence states</option><option value=\"completed\">Completed transaction reported</option><option value=\"roster\">Roster · no transaction receipt found</option></select></label></div><p class=\"bank-research-count\" aria-live=\"polite\">${banks.length} banks · ${cases.length} matching transaction cases. Case counts are disclosures, not transaction volume.</p><h3 class=\"bank-research-section-title\">Direct SWIFT-ledger cases</h3><div class=\"bank-research-grid\">${cases.map(item=>`<details class=\"bank-research-card\"><summary>${esc(item.label)}<small>Published ${esc(item.publication_date)} · Executed ${esc(item.execution_date||'not disclosed')}</small></summary><div class=\"bank-research-card-body\"><p><b>Banks:</b> ${esc(item.bank_ids.map(bankName).join(' · '))}</p><p>${esc(item.summary)}</p><p class=\"accounting-gap\"><b>Evidence limit:</b> ${esc(item.boundary)}</p><div class=\"source-list\">${bankResearchSources(item.source_ids)}</div><div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-trace=\"${esc(item.trace_id)}\">Open transaction trace</button></div></div></details>`).join('')||'<p class=\"bank-research-intro\">No completed transaction receipt is mapped for this selection. That is a research gap, not proof that no transaction occurred.</p>'}</div><h3 class=\"bank-research-section-title\">Bank research &amp; adjacent projects</h3><div class=\"bank-research-grid\">${banks.map(bank=>{const node=nodesById.get(bank.node_id);return `<details class=\"bank-research-card\" data-bank-card=\"${esc(bank.node_id)}\"><summary>${esc(node.label)}<small><span class=\"bank-status ${bank.result}\">${bank.result==='completed'?'Completed ledger transaction reported':'Roster · no ledger transaction receipt found'}</span></small></summary><div class=\"bank-research-card-body\"><p>${esc(node.summary)}</p><p class=\"accounting-gap\">${esc(node.boundary)}</p><div class=\"source-list\">${bankResearchSources(node.sources)}</div><div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-node=\"${esc(bank.node_id)}\">Open bank structure</button>${(bank.trace_ids||[]).map(id=>`<button class=\"process-route-button\" type=\"button\" data-bank-trace=\"${esc(id)}\">${esc(tracesById.get(id).label)}</button>`).join('')}</div>${(bank.adjacent||[]).map(item=>`<section class=\"bank-adjacent\"><h4>${esc(item.label)}</h4><p><b>Adjacent project · separate from SWIFT-ledger evidence</b><br>${clockBadge(item.operational_state)}</p><p>${esc(item.summary)}</p><div class=\"source-list\">${bankResearchSources(item.source_ids)}</div>${item.node_id?`<div class=\"bank-research-actions\"><button class=\"process-route-button\" type=\"button\" data-bank-node=\"${esc(item.node_id)}\">Open related object</button></div>`:''}</section>`).join('')||'<p class=\"bank-research-intro\">No adjacent project is mapped in this research snapshot.</p>'}</div></details>`}).join('')||'<p class=\"bank-research-intro\">No bank matches both research filters. Choose all evidence states or another bank.</p>'}</div><div class=\"bank-research-report\"><h3 class=\"bank-research-section-title\">Saved bank research</h3><div class=\"source-list\">${sourceLinks([research.report_source_id])}</div></div>`;\n document.getElementById('bankResearchSelect').value=bankResearchState.bank;document.getElementById('bankResearchResult').value=bankResearchState.result;\n}\nfunction openBankResearch(id){\n bankResearchState.bank=id;bankResearchState.result='all';renderBankResearch();const panel=document.getElementById('bankResearch');panel.open=true;\n const card=[...panel.querySelectorAll('[data-bank-card]')].find(el=>el.dataset.bankCard===id);if(card)card.open=true;\n panel.scrollIntoView({block:'start',behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'});document.getElementById('bankResearchSelect').focus({preventScroll:true});\n}\nfunction clearBankRouteFilters(){state.clock='all';state.query='';state.followNode='all';state.selectedCoverage=null;state.selectedEdge=null;document.getElementById('search').value='';state.types=new Set(allTypeIds);syncTypeButtons()}\ndocument.getElementById('bankResearchBody').addEventListener('change',event=>{if(event.target.id==='bankResearchSelect')bankResearchState.bank=event.target.value;else if(event.target.id==='bankResearchResult')bankResearchState.result=event.target.value;else return;const restore=event.target.id;renderBankResearch();document.getElementById(restore).focus({preventScroll:true})});\ndocument.addEventListener('click',event=>{\n const button=event.target.closest('button[data-bank-research-id],button[data-bank-node],button[data-bank-trace]');if(!button)return;\n if(button.dataset.bankResearchId){openBankResearch(button.dataset.bankResearchId);return}\n document.getElementById('bankResearch').open=false;\n clearBankRouteFilters();\n if(button.dataset.bankNode){const id=button.dataset.bankNode,ecosystem=data.ecosystems.find(e=>e.id==='swift-ledger'&&e.node_ids.includes(id))||data.ecosystems.find(e=>e.node_ids.includes(id));state.focusedNode=id;state.view='stack';viewSelect.value='stack';if(ecosystem)state.ecosystem=ecosystem.id;setMode(ecosystem?'explore':'full')}\n else{const trace=tracesById.get(button.dataset.bankTrace);state.trace=trace.id;state.process=trace.process_id;state.processStage='all';setMode('trace')}\n const workspace=document.querySelector('.workspace'),toolbar=document.querySelector('.toolbar');window.scrollTo({top:Math.max(0,workspace.getBoundingClientRect().top+window.scrollY-(toolbar?.getBoundingClientRect().height||0)-20),behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'});\n});\n\n","next_section_id":"s00023","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00022.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00023.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00022.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00023.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00022.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00023.json"},{"section_id":"s00023","ordinal":23,"label":"Section 23 (continued)","source_page":null,"start_character":257585,"end_character":268843,"start_line":1643,"end_line":1667,"text":"function sourceLinks(ids){return ids.map(id=>sourcesById.get(id)).filter(Boolean).map(source=>source.local_text?`<details class=\"local-research\"><summary>${esc(source.label)} · ${esc(source.date)} · saved research</summary><p>${esc(source.boundary||'Workbench research; follow its primary sources.')}</p><pre>${esc(source.local_text)}</pre></details>`:`<a href=\"${esc(source.url)}\" target=\"_blank\" rel=\"noopener\">${esc(source.label)} · ${esc(source.date)}</a>`).join('')}\nfunction evidenceDrawer(ids,boundary='',label='Evidence, sources & boundary'){return `<details class=\"hub-evidence-drawer\"><summary>${esc(label)}</summary>${boundary?`<p class=\"fg-limit\"><b>Boundary:</b> ${esc(boundary)}</p>`:''}<div class=\"source-list\">${sourceLinks([...new Set(ids)])}</div></details>`;}\nfunction clockBadge(id){const clock=clocksById.get(id);return `<span class=\"status clock-badge\" style=\"--clock-color:${clock.color}\">${esc(clock.label)}</span>`}\nfunction relationshipList(edges,focusNode,title){const list=focusNode?edges.filter(edge=>edge.from===focusNode||edge.to===focusNode):edges;return `<div class=\"relationships\"><h3>${esc(title||(focusNode?'Direct relationships':'Visible relationships'))}</h3><div class=\"relationship-list\">${list.map(edge=>{const type=typesById.get(edge.type),a=nodesById.get(edge.from),b=nodesById.get(edge.to);return `<button class=\"relationship\" type=\"button\" data-edge=\"${edge.id}\" style=\"--edge-color:${type.color}\"><i></i><span><b>${esc(a.short_label||a.label)} → ${esc(b.short_label||b.label)}</b><span>${esc(type.label)} · ${esc(edge.label)}</span></span></button>`}).join('')||'<p class=\"empty-note\">No relationships match this view and search.</p>'}</div></div>`}\nfunction sharedSurfaces(edges,selectedIds){const touches=new Map();for(const edge of edges){const from=selectedIds.has(edge.from),to=selectedIds.has(edge.to);if(from===to)continue;const selected=from?edge.from:edge.to,neighbor=from?edge.to:edge.from;if(!touches.has(neighbor))touches.set(neighbor,{selected:new Set(),edges:[]});touches.get(neighbor).selected.add(selected);touches.get(neighbor).edges.push(edge)}return [...touches.entries()].filter(([,value])=>value.selected.size>1).sort((a,b)=>b[1].selected.size-a[1].selected.size)}\nfunction renderComparison(edges){const selected=[...state.selectedNodes].map(id=>nodesById.get(id)).filter(Boolean),selectedIds=new Set(selected.map(node=>node.id)),direct=edges.filter(edge=>selectedIds.has(edge.from)&&selectedIds.has(edge.to)),touching=edges.filter(edge=>selectedIds.has(edge.from)||selectedIds.has(edge.to)),shared=sharedSurfaces(edges,selectedIds),selectedHtml=selected.map(node=>`<div class=\"compare-item\" style=\"--lane-color:${lanesById.get(node.lane).color}\"><b>${esc(node.short_label||node.label)}</b><span>${esc(node.status)} · ${esc(node.summary)}</span></div>`).join(''),sharedHtml=shared.map(([id,value])=>{const node=nodesById.get(id),names=[...value.selected].map(selectedId=>nodesById.get(selectedId).short_label||nodesById.get(selectedId).label).join(' + ');return `<div class=\"shared-item\"><b>${esc(node.short_label||node.label)}</b><span>Shared by ${esc(names)} through ${value.edges.length} visible relationship${value.edges.length===1?'':'s'}.</span></div>`}).join('')||'<p class=\"empty-note\">No shared intermediate surface is visible. That gap can be meaningful: adjacency is not shared legal control.</p>';detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Comparison</div><h2>${selected.length} selected object${selected.length===1?'':'s'}</h2><span class=\"status\">${direct.length} direct · ${shared.length} shared surfaces</span></div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Selected roles</h3><div class=\"compare-list\">${selectedHtml}</div></div><div class=\"detail-block\"><h3>Shared relationship objects</h3><div class=\"shared-list\">${sharedHtml}</div></div><div class=\"detail-block boundary\"><h3>Comparison rule</h3><p>A shared technical or commercial surface is not shared legal control. Proposal overlap is not SEC approval or a final-rule finding.</p></div>${relationshipList(direct.length?direct:touching,null,direct.length?'Direct relationships':'Relationships touching selected objects')}</div>`}\nfunction nodeProcessResearch(node){const rows=[];for(const p of data.process_maps)for(const c of p.coverage)if(c.node_ids.includes(node.id))rows.push({p,c});return `${bankResearchLink(node)}<div class=\"detail-block\"><h3>Researched process roles</h3>${rows.map(({p,c})=>`<details class=\"process-card-research\"><summary>${esc(p.label)} · ${esc(c.stage_ids.map(id=>p.stages.find(s=>s.id===id).label).join(' / '))} · ${esc(ecosystemsById.get(c.ecosystem_id).label)}</summary><p>${esc(c.summary)}</p><p class=\"accounting-gap\">${esc(c.boundary)}</p><div class=\"source-list\">${sourceLinks(c.source_ids)}</div>${questionCards([c.id])}<button class=\"process-route-button\" data-role-process=\"${p.id}\" data-role-stage=\"${c.stage_ids[0]}\" data-role-id=\"${c.id}\" data-role-ecosystem=\"${c.ecosystem_id}\">Compare this step</button></details>`).join('')||'<p>No process role is mapped for this object. Its structural presence alone does not establish a transaction role.</p>'}</div>`}\nfunction renderDetail(edges){if(state.selectedEdge){const edge=data.edges.find(item=>item.id===state.selectedEdge);if(edge){const type=typesById.get(edge.type),a=nodesById.get(edge.from),b=nodesById.get(edge.to);detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\" style=\"color:${type.color}\">${esc(type.label)}</div><h2>${esc(a.short_label||a.label)} → ${esc(b.short_label||b.label)}</h2><span class=\"status\">${esc(edge.status)} · ${esc(edge.date)}</span>${clockBadge(edge.operational_state)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Relationship</h3><p>${esc(edge.label)}</p></div><div class=\"detail-block\"><h3>Verified claim</h3><p>${esc(edge.claim)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(edge.boundary)}</p></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(edge.sources)}</div></div>${relationshipList(edges,null)}</div>`;bindRelationshipButtons();return}}\n  if(state.mode==='compare'){renderComparison(edges);bindRelationshipButtons();return}\n  if(state.mode==='trace'){const trace=tracesById.get(state.trace);detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">${esc(trace.kind)}</div><h2>${esc(trace.label)}</h2><span class=\"status\">governed asset trace</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(trace.description)}</p><div class=\"detail-block\"><h3>Follow the asset</h3><div class=\"stack-path\">${trace.walkthrough.map(step=>`<div class=\"stack-step\">${esc(step)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Finality firewall</h3><p>${esc(trace.boundary)}</p></div>${relationshipList(edges,null,'Trace relationships')}</div>`;bindRelationshipButtons();return}\n  const ecosystem=ecosystemsById.get(state.ecosystem),node=state.focusedNode?nodesById.get(state.focusedNode):null;\n  if(node&&node.id!==ecosystem.root_node_id){const lane=lanesById.get(node.lane);detail.innerHTML=`<div class=\"detail-top\"><div class=\"breadcrumb\">${esc(ecosystem.label)} / ${esc(node.short_label||node.label)}</div><div class=\"detail-kicker\">${esc(lane.label)} · ${esc(node.kind.replaceAll('_',' '))}</div><h2>${esc(node.label)}</h2><span class=\"status\">${esc(node.status)}</span>${clockBadge(node.operational_state)}</div><div class=\"detail-body\"><div class=\"detail-block\"><h3>Role</h3><p>${esc(node.summary)}</p></div><div class=\"detail-block boundary\"><h3>Do not overclaim</h3><p>${esc(node.boundary)}</p></div><div class=\"detail-block\"><h3>Sources & saved research</h3><div class=\"source-list\">${sourceLinks(node.sources)}</div></div>${nodeProcessResearch(node)}${relationshipList(edges,node.id)}</div>`;bindRelationshipButtons();return}\n  if(state.mode==='full'){detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">Full map</div><h2>Click an ecosystem root</h2><span class=\"status\">${data.ecosystems.length} governed stacks</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(data.ecosystems.map(item=>item.label).join(', '))} each open as explicit end-to-end stacks.</p><div class=\"detail-block boundary\"><h3>Global boundary</h3><p>${esc(data.boundary)}</p></div>${relationshipList(edges,null)}</div>`;bindRelationshipButtons();return}\n  detail.innerHTML=`<div class=\"detail-top\"><div class=\"detail-kicker\">${esc(ecosystem.kind)}</div><h2>${esc(ecosystem.label)}</h2><span class=\"status\">structural layers</span></div><div class=\"detail-body\"><p class=\"empty-note\">${esc(ecosystem.description)}</p><div class=\"detail-block\"><h3>Explore the structure</h3><div class=\"stack-path\">${ecosystem.walkthrough.map(step=>`<div class=\"stack-step\">${esc(step)}</div>`).join('')}</div></div><div class=\"detail-block boundary\"><h3>Do not collapse the layers</h3><p>${esc(ecosystem.boundary)}</p></div>${nodeProcessResearch(nodesById.get(ecosystem.root_node_id))}<div class=\"detail-block\"><h3>Root sources & saved research</h3><div class=\"source-list\">${sourceLinks(nodesById.get(ecosystem.root_node_id).sources)}</div></div>${processRoutes(ecosystem)}${relationshipList(edges,ecosystem.root_node_id,'Root relationships')}</div>`;bindRelationshipButtons()}\nfunction bindRelationshipButtons(){detail.querySelectorAll('[data-compare-current]').forEach(b=>b.addEventListener('click',()=>{state.compareEcosystems=new Set([b.dataset.compareCurrent]);const p=data.process_maps.find(p=>p.ecosystem_ids.includes(b.dataset.compareCurrent));state.process=p.id;state.processStage='all';setMode('compare')}));detail.querySelectorAll('[data-role-process]').forEach(button=>button.addEventListener('click',()=>{state.followNode='all';state.process=button.dataset.roleProcess;state.processStage=button.dataset.roleStage;state.ecosystem=button.dataset.roleEcosystem;state.selectedCoverage=button.dataset.roleId;setMode('process')}));detail.querySelectorAll('[data-open-process]').forEach(button=>button.addEventListener('click',()=>openEcosystemProcess(button.dataset.openProcess)));detail.querySelectorAll('[data-edge]').forEach(button=>button.addEventListener('click',()=>selectEdge(button.dataset.edge)))}\nfunction selectNode(id){state.selectedEdge=null;const ecosystemId=rootToEcosystem.get(id);if(state.mode==='full'&&ecosystemId){state.ecosystem=ecosystemId;ecosystemSelect.value=ecosystemId;setMode('explore');return}if(state.mode==='explore'&&ecosystemId&&ecosystemId!==state.ecosystem){state.ecosystem=ecosystemId;ecosystemSelect.value=ecosystemId;state.focusedNode=id;render();return}if(state.mode==='compare'){state.selectedNodes.has(id)?state.selectedNodes.delete(id):state.selectedNodes.add(id)}else state.focusedNode=id;render()}\nfunction selectEdge(id){if(['process','trace','compare'].includes(state.mode)){state.selectedEdge=id;renderDetail(state.visibleEdges);return}state.selectedEdge=state.selectedEdge===id?null:id;render();detail.scrollIntoView({block:'nearest',behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'})}\n\nrenderBankResearch();syncTypeButtons();setMode('process');window.addEventListener('resize',render);\n</script>\n</body>\n</html>\n'''\n\n","next_section_id":"s00024","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00023.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00024.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00023.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00024.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00023.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00024.json"},{"section_id":"s00024","ordinal":24,"label":"Section 24 (continued)","source_page":null,"start_character":268843,"end_character":279124,"start_line":1667,"end_line":1756,"text":"\nLIQUIDITY_SCRIPT = r\"\"\"\nconst liquidity=data.liquidity_hub;\nconst expansion=data.stack_expansion;\nconst transition=data.transition_gates;\nlet liqTab='layers',liqQuery='';\nlet expansionSeat='all',expansionQuery='',expansionSelected='',expansionSelectedSeat='';\nlet transitionView='gate',transitionRequirement='req-08',transitionSystem='',transitionFit='all';\nlet bankSelected='citi',bankDimension='all',bankArchetype='all',bankQuery='',bankCapability='money';\nlet activeRoom='command';\nconst hubRouteTable={command:{job:'command'},home:{job:'command'},systems:{job:'command'},expansion:{job:'systems'},banks:{job:'systems'},corporate:{job:'systems'},securitize:{job:'systems'},overview:{job:'systems'},stack:{job:'systems'},map:{job:'systems'},xray:{job:'how'},walk:{job:'how'},journey:{job:'how'},books:{job:'how'},rights:{job:'how'},rules:{job:'rules'},genius:{job:'rules'},legal:{job:'rules'},routes:{job:'rules'},transition:{job:'rules'},liquidity:{job:'rules'}};\nconst legacyRoomAliases={guide:'systems',transactions:'xray',qualification:'rules'};\nfunction hubJobForRoom(room){\n if(room==='map')return ['process','trace','compare','accounting'].includes(state.mode)?'how':'systems';\n return hubRouteTable[room]?.job||'command';\n}\nfunction hubContextForRoom(room){\n const job=hubJobForRoom(room),labels={command:'Command surface',systems:'Systems',how:'How it works',rules:'Rules & proof'},roomLabels={expansion:'Stack-role comparison',banks:'Major-bank comparison',corporate:'Corporate comparison',securitize:'Securitize anatomy',overview:'Institutional context',stack:'Current stack',map:'Relationship and lifecycle map',xray:'Joined route',walk:'Plain-language route',journey:'Participant journey',rights:'Rights and records',books:'Books and cash',rules:'Rules & proof',genius:'Fed GENIUS proposals',legal:'Legal process',routes:'Who may do this?',transition:'Readiness gates',liquidity:'Liquidity and collateral'};\n const crumbs=[labels[job]];if(roomLabels[room]&&roomLabels[room]!==labels[job])crumbs.push(roomLabels[room]);\n let current={command:'One evidence base · change the lens, not the page',systems:'All 34 tracked systems',how:'Follow one Share, Dollar or Fund route',rules:'Permission, readiness and evidence'}[job];\n if(room==='systems'){const system=systemRecordById(guideSelected);if(system){crumbs.push(system.label);current=system.summary;}}\n if(job==='how')current=`${hubRouteRecord().tab} route · ${roomLabels[room]||'joined evidence'}`;\n return {crumbs,current};\n}\nfunction syncHubContext(){\n const context=hubContextForRoom(activeRoom),breadcrumb=document.getElementById('hubBreadcrumb'),current=document.getElementById('hubCurrent');\n if(breadcrumb)breadcrumb.innerHTML=context.crumbs.map((label,index)=>`${index?'<span aria-hidden=\"true\">›</span>':''}<b>${esc(label)}</b>`).join('');\n if(current)current.textContent=context.current;\n}\nfunction openCryptoRoom(room,updateHash=true){\n if(room==='innovation'){legalTab='innovation';room='legal';}\n room=legacyRoomAliases[room]||room;\n document.body.classList.toggle('qual-reading',room==='legal' && legalTab==='qualifications');\n document.body.classList.toggle('hub-command-room',room==='command');\n if(!hubRouteTable[room])room='command';\n activeRoom=room;\n const onMap=room==='map'||room==='stack';\n document.body.classList.toggle('liquidity-room',!onMap);\n document.body.classList.toggle('hub-home-room',room==='home');\n document.body.classList.toggle('xray-room',room==='xray');\n document.body.classList.toggle('current-stack-room',room==='stack');\n document.body.classList.toggle('walk-room',room==='walk');\n document.getElementById('commandHub').hidden=room!=='command';\n document.getElementById('fedGeniusHub').hidden=room!=='genius';\n document.getElementById('transitionHub').hidden=room!=='transition';\n document.getElementById('fieldGuide').hidden=room!=='systems';\n document.getElementById('stackExpansionHub').hidden=room!=='expansion';\n document.getElementById('bankTransitionHub').hidden=room!=='banks';\n document.getElementById('corporateStackHub').hidden=room!=='corporate';\n document.getElementById('securitizeHub').hidden=room!=='securitize';\n document.getElementById('xrayHub').hidden=room!=='xray';\n document.getElementById('liquidityHub').hidden=room!=='liquidity';\n document.getElementById('legalHub').hidden=room!=='legal';\n document.getElementById('wholeHub').hidden=room!=='overview';\n document.getElementById('rightsHub').hidden=room!=='rights';\n document.getElementById('journeyHub').hidden=room!=='journey';\n document.getElementById('booksHub').hidden=room!=='books';\n document.getElementById('walkHub').hidden=room!=='walk';\n document.getElementById('legalRoutesHub').hidden=room!=='routes';\n document.body.classList.toggle('legal-routes-room',room==='routes');\n document.body.classList.toggle('journey-room',room==='journey');\n document.body.classList.toggle('books-room',room==='books');\n document.getElementById('stackField').hidden=room!=='stack';\n document.getElementById('stackOverlayField').hidden=room!=='stack';\n document.getElementById('ecosystemField').hidden=room==='stack'||state.mode!=='explore';\n const job=hubJobForRoom(room);\n document.querySelectorAll('.hub-chrome-nav [data-hub-job]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.hubJob===job)));\n document.querySelector('.hub-routebar').hidden=job!=='how';\n syncHubRouteBar();\n if(room==='stack'){if(!currentStackIds.has(state.ecosystem)){state.ecosystem='us-equity-now';state.focusedNode=ecosystemsById.get(state.ecosystem).root_node_id;}state.mode='explore';setMode('explore')}\n else if(room==='map'){if(currentStackIds.has(state.ecosystem)){state.ecosystem='ripple';state.focusedNode=ecosystemsById.get('ripple').root_node_id;}}\n const targetHash=room==='map'?'#map?mode='+state.mode:room==='systems'?'#systems-'+guideSelected:room==='command'?'#command?lens='+commandLens+(['systems','evidence'].includes(commandLens)?'&system='+encodeURIComponent(guideSelected):'')+(['flows','rules'].includes(commandLens)?'&route='+encodeURIComponent(hubRoute):'')+(commandLens==='rules'?'&law='+encodeURIComponent(commandLawFocus):''):'#'+room;\n if(updateHash && location.hash!==targetHash)history.replaceState(null,'',targetHash);\n if(room==='command')renderCommandSurface();else if(room==='genius')renderFedGenius();else if(room==='transition')renderTransition();else if(room==='systems')renderFieldGuide();else if(room==='expansion')renderStackExpansion();else if(room==='banks')renderBankTransition();else if(room==='corporate')renderCorporateStacks();else if(room==='securitize')renderSecuritizeAnatomy();else if(room==='xray')renderXray();else if(room==='walk')renderWalk();else if(room==='routes')renderLegalRoutes();else if(room==='journey')renderJourney();else if(room==='books')renderBooks();else if(room==='rights')renderRights();else if(room==='overview')renderWhole();else if(room==='liquidity')renderLiquidity();else if(room==='legal')renderLegal();else render();\n syncHubContext();\n}\nfunction liqResearch(ids){return `<details><summary>Sources & evidence</summary>${sourceLinks(ids)}</details>`}\nfunction expansionSystemMatches(system){const q=expansionQuery.trim().toLowerCase();return (!q||[system.name,system.kind,system.jurisdiction,system.model,system.summary,system.boundary,system.watch,...system.fits.map(f=>f.note)].join(' ').toLowerCase().includes(q))&&(expansionSeat==='all'||system.fits.some(f=>f.seat_id===expansionSeat));}\nfunction renderExpansionDetail(){\n const target=document.getElementById('sxDetail');if(!target)return;\n const selectedSeat=expansion.seats.find(s=>s.id===expansionSelectedSeat);\n if(selectedSeat){target.innerHTML=`<article class=\"sx-detail\"><span class=\"liq-kicker\">Layer ${String(selectedSeat.order).padStart(2,'0')} · quick definition</span><h3>${esc(selectedSeat.label)}</h3><p>${esc(selectedSeat.question)}</p><div class=\"sx-fit-grid\">${selectedSeat.sublayers.map(s=>`<section class=\"sx-fit\"><h4>${esc(s.label)}</h4><p>${esc(s.meaning)}</p></section>`).join('')}</div><p class=\"sx-boundary\"><b>Proof rule:</b> Each sublayer needs its own named actor, authority and operating receipt. A system touching one sublayer does not inherit the whole seat.</p></article>`;return;}\n const system=expansion.systems.find(s=>s.id===expansionSelected);\n if(!system){target.innerHTML=`<div class=\"sx-detail\"><span class=\"liq-kicker\">Select a system</span><h3>Inspect exactly what it fills</h3><p>Choose any colored system label in the map. The detail card will show its legal model, occupied sublayers, missing proof and primary sources.</p></div>`;return;}\n const seatById=Object.fromEntries(expansion.seats.map(s=>[s.id,s]));\n target.innerHTML=`<article class=\"sx-detail\"><span class=\"liq-kicker\">${esc(system.kind)}</span><h3>${esc(system.name)}</h3><div class=\"sx-tags\"><span>${esc(system.jurisdiction)}</span><span>${esc(system.model)}</span><span>${esc(system.innovation_status.replaceAll('_',' '))}</span></div><section class=\"fg-refresh\"><header><b>Current development · ${esc(system.latest_date)}</b><span class=\"fg-stage\">${esc(guideStageLabel(system.latest_state))}</span></header><p>${esc(system.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(system.latest_boundary)}</p></section><p>${esc(system.summary)}</p><p class=\"sx-boundary\"><b>Architecture boundary:</b> ${esc(system.boundary)}</p><div class=\"sx-fit-grid\">${system.fits.map(f=>{const seat=seatById[f.seat_id],subs=seat.sublayers.filter(s=>f.sublayer_ids.includes(s.id));return `<section class=\"sx-fit\"><small>${esc(f.fit)} · ${esc(seat.label)}</small><h4>${esc(subs.map(s=>s.label).join(' · '))}</h4><p>${esc(f.note)}</p></section>`;}).join('')}</div><p><b>Next operating proof:</b> ${esc(system.watch)}</p>${liqResearch(system.source_ids)}<div class=\"sx-tags\"><button data-room=\"legal\">See it against the SEC order →</button><a href=\"../../Tokenized NMS Stock Innovation Exemption 2026-09-17/outputs/SEC Innovation Exemption Hub.html\">Open the dedicated SEC hub ↗</a></div></article>`;\n}\nfunction renderStackExpansion(){\n const target=document.getElementById('stackExpansionHub'),subCount=expansion.seats.reduce((n,s)=>n+s.sublayers.length,0),visible=expansion.systems.filter(expansionSystemMatches),systemById=Object.fromEntries(expansion.systems.map(s=>[s.id,s]));\n","next_section_id":"s00025","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00024.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00025.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00024.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00025.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00024.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00025.json"},{"section_id":"s00025","ordinal":25,"label":"Section 25 (continued)","source_page":null,"start_character":279124,"end_character":296867,"start_line":1756,"end_line":1809,"text":" target.innerHTML=`<header class=\"sx-hero\"><span class=\"liq-kicker\">Shared hub owner · evidence cutoff ${esc(expansion.evidence_cutoff)}</span><h2>${esc(expansion.title)}</h2><p>${esc(expansion.subtitle)}</p><p>${esc(expansion.summary)}</p><p class=\"sx-boundary\">${esc(expansion.boundary)}</p></header><div class=\"sx-metrics\"><div class=\"sx-metric\"><strong>${expansion.systems.length}</strong><small>new system families</small></div><div class=\"sx-metric\"><strong>${expansion.seats.length}</strong><small>shared legal + operating seats</small></div><div class=\"sx-metric\"><strong>${subCount}</strong><small>separately provable sublayers</small></div><div class=\"sx-metric\"><strong>${expansion.comparison_models.length}</strong><small>rights and market models</small></div></div><div class=\"sx-legend\"><span style=\"--c:#5ebd91\">documented capability</span><span style=\"--c:#d0a85e\">architectural candidate</span><span style=\"--c:#69a9cf\">supporting layer</span><span style=\"--c:#8b8b95\">outside the U.S. core / comparison</span></div><div class=\"sx-tools\"><input id=\"sxSearch\" type=\"search\" value=\"${esc(expansionQuery)}\" placeholder=\"Find Ondo, custody, CAT, cash settlement…\" aria-label=\"Search expansion systems\"><button data-sx-seat=\"all\" aria-pressed=\"${expansionSeat==='all'}\">All seats</button>${expansion.seats.map(s=>`<button data-sx-seat=\"${esc(s.id)}\" aria-pressed=\"${expansionSeat===s.id}\">${esc(s.label)}</button>`).join('')}</div><p><b>${visible.length} of ${expansion.systems.length}</b> expansion systems visible.</p><div class=\"sx-map\">${expansion.seats.map(seat=>{const occupants=visible.flatMap(system=>system.fits.filter(f=>f.seat_id===seat.id).map(f=>({system,fit:f})));return `<section class=\"sx-row\"><header class=\"sx-seat\"><button class=\"sx-seat-button\" data-sx-seat-info=\"${esc(seat.id)}\" aria-label=\"Explain ${esc(seat.label)}\"><span>${String(seat.order).padStart(2,'0')}</span><h3>${esc(seat.label)}</h3><p>${esc(seat.question)}</p></button><div class=\"sx-sublayers\">${seat.sublayers.map(s=>`<i title=\"${esc(s.meaning)}\">${esc(s.label)}</i>`).join('')}</div></header><div class=\"sx-systems\">${occupants.length?occupants.map(({system,fit})=>`<button class=\"sx-chip ${esc(fit.fit)}\" data-sx-system=\"${esc(system.id)}\" aria-pressed=\"${system.id===expansionSelected}\" title=\"${esc(fit.note)}\">${esc(system.name)}</button>`).join(''):'<span class=\"empty-note\">No visible expansion system mapped here.</span>'}</div></section>`;}).join('')}</div><div id=\"sxDetail\"></div><aside class=\"sx-gap\"><b>Why liquidity stays different</b><p>${esc(expansion.liquidity_gap)}</p></aside><h2>Do not collapse the product models</h2><div class=\"sx-models\">${expansion.comparison_models.map(model=>`<article class=\"sx-model\"><span class=\"liq-kicker\">${model.example_ids.map(id=>esc(systemById[id].name)).join(' · ')}</span><h3>${esc(model.label)}</h3><p>${esc(model.controlling_question)}</p></article>`).join('')}</div>`;\n renderExpansionDetail();\n}\ndocument.addEventListener('click',e=>{const seat=e.target.closest('[data-sx-seat]');if(seat){expansionSeat=seat.dataset.sxSeat;renderStackExpansion();}const seatInfo=e.target.closest('[data-sx-seat-info]');if(seatInfo){expansionSelectedSeat=seatInfo.dataset.sxSeatInfo;expansionSelected='';renderStackExpansion();document.getElementById('sxDetail')?.scrollIntoView({block:'nearest'});}const system=e.target.closest('[data-sx-system]');if(system){expansionSelected=system.dataset.sxSystem;expansionSelectedSeat='';renderStackExpansion();document.getElementById('sxDetail')?.scrollIntoView({block:'nearest'});}});\ndocument.addEventListener('input',e=>{if(e.target.id==='sxSearch'){const cursor=e.target.selectionStart;expansionQuery=e.target.value;renderStackExpansion();requestAnimationFrame(()=>{const input=document.getElementById('sxSearch');if(input){input.focus();input.setSelectionRange(cursor,cursor);}});}});\nfunction transitionSystems(){\n const profiles=data.technology_field_guide.profiles.map(profile=>({id:profile.ecosystem_id,label:profile.plain_name,kind:'Governed Hub profile',summary:profile.what_it_is+' '+profile.observed_state,boundary:profile.does_not_control.join(' · '),room:'guide'}));\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,kind:'Specialist system family',summary:system.summary,boundary:system.boundary,room:'expansion'}));\n return profiles.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction transitionFitState(id){return transition.fit_states.find(state=>state.id===id)}\nfunction transitionSystemById(id){return transitionSystems().find(system=>system.id===id)}\nfunction transitionRequirementById(id){return transition.requirements.find(requirement=>requirement.id===id)}\nfunction transitionRelation(systemId,requirementId){return transitionRequirementById(requirementId)?.fits.find(fit=>fit.system_id===systemId)}\nfunction transitionSystemDetail(system,relation,requirement){\n if(!system||!relation)return '';\n return `<article class=\"tg-system-detail\" aria-live=\"polite\"><span class=\"liq-kicker\">${esc(system.kind)} · ${esc(transitionFitState(relation.fit).label)}</span><h3>${esc(system.label)}</h3><span class=\"tg-maturity\">${esc(relation.maturity)}</span><p><b>Why it applies to Gate ${requirement.number}:</b> ${esc(relation.note)}</p><p class=\"tg-limit\"><b>What it still does not establish:</b> ${esc(system.boundary)}</p><button class=\"tg-return\" data-transition-open-system=\"${esc(system.id)}\">Open its governed Hub evidence →</button></article>`;\n}\nfunction transitionGateInspector(requirement){\n const visibleFits=requirement.fits.filter(fit=>transitionFit==='all'||fit.fit===transitionFit),fitGroups=transition.fit_states.map(state=>({state,rows:visibleFits.filter(fit=>fit.fit===state.id)})).filter(group=>group.rows.length),selectedRelation=transitionSystem?transitionRelation(transitionSystem,requirement.id):null,selectedSystem=selectedRelation?transitionSystemById(transitionSystem):null;\n return `<div class=\"tg-inspector\" id=\"tgInspector\"><article class=\"tg-requirement\"><span class=\"liq-kicker\">Gate ${String(requirement.number).padStart(2,'0')} · ${esc(transition.groups.find(group=>group.id===requirement.group_id).label)}</span><h3>${esc(requirement.label)}</h3><p>${esc(requirement.question)}</p><p class=\"tg-proof\"><b>Qualification receipt:</b> ${esc(requirement.proof)}</p><p class=\"tg-limit\"><b>Boundary:</b> ${esc(requirement.boundary)}</p><h4>Indispensable external joins</h4><div class=\"tg-joins\">${requirement.external_joins.map(join=>`<span>${esc(join)}</span>`).join('')}</div></article><section class=\"tg-fit-board\" aria-label=\"Technologies mapped to this gate\"><h3>Where the current stack applies</h3><div class=\"tg-fit-legend\">${transition.fit_states.map(state=>`<span class=\"tg-fit-${esc(state.id)}\">${esc(state.label)}</span>`).join('')}</div>${fitGroups.length?fitGroups.map(group=>`<section class=\"tg-fit-section\"><h4>${esc(group.state.label)} · ${group.rows.length}</h4><div class=\"tg-fit-cards\">${group.rows.map(fit=>{const system=transitionSystemById(fit.system_id);return `<article class=\"tg-fit-card tg-fit-${esc(fit.fit)}\"><button data-transition-system=\"${esc(fit.system_id)}\" aria-pressed=\"${transitionSystem===fit.system_id}\"><b>${esc(system.label)}</b><small>${esc(fit.maturity)}</small></button></article>`;}).join('')}</div></section>`).join(''):`<div class=\"tg-empty\">No technologies match this fit filter. This does not establish ineligibility.</div>`}</section>${transitionSystemDetail(selectedSystem,selectedRelation,requirement)}</div>`;\n}\nfunction transitionGateView(){\n const selected=transitionRequirementById(transitionRequirement)||transition.requirements[0];\n return `${transition.groups.map(group=>{const rows=transition.requirements.filter(requirement=>requirement.group_id===group.id);return `<section class=\"tg-group\"><header><h3>${esc(group.label)}</h3><p>${esc(group.description)}</p></header><div class=\"tg-gates\">${rows.map(requirement=>`<button class=\"tg-gate\" data-transition-requirement=\"${esc(requirement.id)}\" aria-pressed=\"${requirement.id===selected.id}\"><span>GATE ${String(requirement.number).padStart(2,'0')}</span><b>${esc(requirement.label)}</b><small>${requirement.fits.length} mapped systems</small></button>`).join('')}</div></section>`;}).join('')}${transitionGateInspector(selected)}`;\n}\nfunction transitionSystemView(){\n const systems=transitionSystems();if(!transitionSystem)transitionSystem='ripple';const system=transitionSystemById(transitionSystem)||systems[0],relations=transition.requirements.map(requirement=>({requirement,relation:requirement.fits.find(fit=>fit.system_id===system.id)})).filter(item=>item.relation&&(transitionFit==='all'||item.relation.fit===transitionFit));\n return `<article class=\"tg-system-detail\"><span class=\"liq-kicker\">${esc(system.kind)}</span><h3>${esc(system.label)}</h3><p>${esc(system.summary)}</p><p class=\"tg-limit\"><b>Boundary:</b> ${esc(system.boundary)}</p><button class=\"tg-return\" data-transition-open-system=\"${esc(system.id)}\">Open its governed Hub evidence →</button></article><div class=\"tg-system-grid\">${relations.length?relations.map(({requirement,relation})=>`<article class=\"tg-system-req tg-fit-${esc(relation.fit)}\"><span class=\"liq-kicker\">Gate ${String(requirement.number).padStart(2,'0')} · ${esc(transitionFitState(relation.fit).label)}</span><h4><button data-transition-requirement=\"${esc(requirement.id)}\">${esc(requirement.label)} →</button></h4><span class=\"tg-maturity\">${esc(relation.maturity)}</span><p>${esc(relation.note)}</p></article>`).join(''):`<div class=\"tg-empty\">No mapped requirements match this fit filter. An absent mapping is an evidence gap, not a finding of ineligibility.</div>`}</div>`;\n}\nfunction renderTransition(){\n const target=document.getElementById('transitionHub'),systems=transitionSystems();\n target.innerHTML=`<header class=\"tg-hero\"><span class=\"liq-kicker\">Requirements constitution · evidence through ${esc(transition.evidence_cutoff)}</span><h2>${esc(transition.title)}</h2><p>${esc(transition.subtitle)}</p><p>${esc(transition.summary)}</p><p class=\"tg-boundary\">${esc(transition.boundary)}</p></header><div class=\"tg-metrics\"><div class=\"tg-metric\"><strong>${transition.requirements.length}</strong><small>non-negotiable requirements</small></div><div class=\"tg-metric\"><strong>${data.technology_field_guide.profiles.length}</strong><small>governed Hub profiles</small></div><div class=\"tg-metric\"><strong>${expansion.systems.length}</strong><small>specialist system families</small></div></div><div class=\"tg-path\" aria-label=\"Technology qualification path\">${transition.qualification_path.map((step,index)=>`<article class=\"tg-path-step\"><span>${String(index+1).padStart(2,'0')}</span><b>${esc(step.label)}</b><p>${esc(step.question)}</p></article>`).join('')}</div><div class=\"tg-toolbar\"><button data-transition-view=\"gate\" aria-pressed=\"${transitionView==='gate'}\">Start with a gate</button><button data-transition-view=\"system\" aria-pressed=\"${transitionView==='system'}\">Start with a system</button>${transitionView==='system'?`<label>Technology or system<select id=\"transitionSystemSelect\"><option value=\"\">Choose a system</option>${systems.map(system=>`<option value=\"${esc(system.id)}\" ${system.id===transitionSystem?'selected':''}>${esc(system.label)}</option>`).join('')}</select></label>`:''}<label>Functional fit<select id=\"transitionFitSelect\"><option value=\"all\">All fit states</option>${transition.fit_states.map(state=>`<option value=\"${esc(state.id)}\" ${state.id===transitionFit?'selected':''}>${esc(state.label)}</option>`).join('')}</select></label><a class=\"tg-source\" href=\"${esc(transition.source_path)}\">Read the saved crosswalk ↗</a></div><div id=\"transitionContent\">${transitionView==='gate'?transitionGateView():transitionSystemView()}</div>`;\n}\ndocument.addEventListener('click',event=>{\n const view=event.target.closest('[data-transition-view]');if(view){transitionView=view.dataset.transitionView;transitionSystem=transitionView==='system'?(transitionSystem||'ripple'):'';renderTransition();return;}\n const requirement=event.target.closest('[data-transition-requirement]');if(requirement){transitionRequirement=requirement.dataset.transitionRequirement;transitionView='gate';transitionSystem='';renderTransition();requestAnimationFrame(()=>document.getElementById('tgInspector')?.scrollIntoView({block:'start'}));return;}\n const system=event.target.closest('[data-transition-system]');if(system){transitionSystem=transitionSystem===system.dataset.transitionSystem?'':system.dataset.transitionSystem;renderTransition();requestAnimationFrame(()=>document.querySelector('.tg-system-detail')?.scrollIntoView({block:'nearest'}));return;}\n const open=event.target.closest('[data-transition-open-system]');if(open){guideSelected=open.dataset.transitionOpenSystem;systemsScope='all';guideQuery='';openCryptoRoom('systems');return;}\n});\ndocument.addEventListener('change',event=>{if(event.target.id==='transitionSystemSelect'){transitionSystem=event.target.value;renderTransition();}if(event.target.id==='transitionFitSelect'){transitionFit=event.target.value;renderTransition();}});\nfunction renderLiquidity(){\n document.querySelectorAll('[data-liq-tab]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.liqTab===liqTab)));\n const target=document.getElementById('liqContent');\n if(liqTab==='layers')target.innerHTML=`<p class=\"liq-note\">These constraints operate together. They are not eight consecutive payment steps. Open a card’s sources to see the authority behind it.</p><div class=\"liq-grid\">${liquidity.layers.map((r,i)=>`<article class=\"liq-card\"><span class=\"liq-kicker\">${i+1} / ${esc(r.kind)}</span><h3>${esc(r.title)}</h3><p>${esc(r.summary)}</p><p><b>Ask:</b> ${esc(r.question)}</p><p class=\"liq-caution\">${esc(r.boundary)}</p>${liqResearch(r.source_ids)}</article>`).join('')}</div>`;\n if(liqTab==='routes'){target.innerHTML=`<p class=\"liq-note\">Compare claims, funding providers and exits. These routes have different evidence scopes; this is not a ranking or proof of integration.</p><label class=\"liq-filters\">Find a route <input id=\"liqSearch\" type=\"search\" value=\"${esc(liqQuery)}\" placeholder=\"SWIFT, redemption, collateral…\"></label><div id=\"liqRouteResults\"></div>`;renderLiquidityRoutes();}\n if(liqTab==='flow')target.innerHTML=`<p class=\"liq-note\">Follow each change in rights and funding. Reuse may begin before external settlement when a bank supplies credit; withdrawal, redemption and sale are different exits.</p><div class=\"liq-flow\">${liquidity.stages.map((s,i)=>`<div class=\"liq-step\"><span class=\"liq-kicker\">${i+1}${i<4?' →':''}</span><b>${esc(s.title)}</b><p>${esc(s.question)}</p></div>`).join('')}</div><div class=\"liq-grid\"><article class=\"liq-card\"><h3>Backing</h3><p>What supports the claim? Identify the assets, custodian, restrictions and holder rights.</p></article><article class=\"liq-card\"><h3>Settlement asset</h3><p>What changes hands to discharge this particular obligation?</p></article><article class=\"liq-card\"><h3>Finality</h3><p>When does the relevant transfer become legally unconditional and irrevocable?</p></article></div><p class=\"liq-note\">These three dimensions apply across the lifecycle. Blockchain confirmation does not alone establish invoice discharge or completed bank payout.</p><article class=\"liq-card\"><h3>Record each interval</h3><p>Entity · account · asset and currency · usable amount · reserved amount · credit or collateral · deadline · release condition · failure responsibility.</p><p class=\"liq-caution\">Lower funding at one participant may mean funding moved to another. Compare peak requirements and duration as well as speed.</p>${liqResearch([liquidity.report_source_id])}</article>`;\n}\nfunction renderLiquidityRoutes(){const rows=liquidity.routes.filter(r=>[r.title,r.asset,r.funding,r.exit,r.limit].join(' ').toLowerCase().includes(liqQuery.toLowerCase()));document.getElementById('liqRouteResults').innerHTML=rows.length?`<p>${rows.length} route${rows.length===1?'':'s'}</p><div class=\"liq-table\"><table><thead><tr><th scope=\"col\">Route / evidence</th><th scope=\"col\">Asset</th><th scope=\"col\">Funding</th><th scope=\"col\">Exit</th><th scope=\"col\">Constraint</th></tr></thead><tbody>${rows.map(r=>`<tr><th scope=\"row\">${esc(r.title)}<p class=\"liq-kicker\">${esc(r.kind)}</p>${r.trace_id?`<button class=\"liq-action\" data-liq-trace=\"${esc(r.trace_id)}\">Open existing trace</button>`:''}${liqResearch(r.source_ids)}</th><td>${esc(r.asset)}</td><td>${esc(r.funding)}</td><td>${esc(r.exit)}</td><td>${esc(r.limit)}</td></tr>`).join('')}</tbody></table></div>`:'<p class=\"liq-empty\">No matching route. Try a different asset, system or funding term.</p>';}\ndocument.addEventListener('click',e=>{if(e.target.closest('[data-hub-search]')){commandQuery='';openCryptoRoom('command');requestAnimationFrame(()=>{const input=document.getElementById('commandSearch');input?.focus();input?.scrollIntoView({block:'center'});});return;}const room=e.target.closest('[data-room]');if(room)openCryptoRoom(room.dataset.room);const mapMode=e.target.closest('[data-workspace-map-mode]');if(mapMode){setMode(mapMode.dataset.workspaceMapMode);openCryptoRoom('map');}const tab=e.target.closest('[data-liq-tab]');if(tab){liqTab=tab.dataset.liqTab;renderLiquidity();}const trace=e.target.closest('[data-liq-trace]');if(trace){state.query='';document.getElementById('search').value='';state.clock='all';clockSelect.value='all';setTrace(trace.dataset.liqTrace);setMode('trace');openCryptoRoom('map');}});\ndocument.addEventListener('input',e=>{if(e.target.id==='liqSearch'){liqQuery=e.target.value;renderLiquidityRoutes();}});\ndocument.getElementById('liqReport').innerHTML=sourceLinks([liquidity.report_source_id]);\n\n","next_section_id":"s00026","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00025.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00026.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00025.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00026.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00025.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00026.json"},{"section_id":"s00026","ordinal":26,"label":"Section 26 (continued)","source_page":null,"start_character":296867,"end_character":317863,"start_line":1809,"end_line":1903,"text":"\n\"\"\"\n\nLEGAL_SCRIPT = r\"\"\"\nconst legal=data.legal_process_hub;\nconst innovation=legal.innovation_exemption_overlay;\nconst fedGenius=data.fed_genius_hub;\nlet fedTab='entities',fedStatus='all',fedGate='all',fedQuery='',fedEntity='issuer';\nfunction fedSourceLinks(ids){return `<details class=\"fgx-source\"><summary>Research &amp; source documents</summary>${sourceLinks(ids)}</details>`;}\nfunction fedEntityType(node){const kind=node.kind.toLowerCase();if(kind.includes('authority')||kind.includes('supervisory'))return 'authority';if(kind.includes('asset'))return 'asset';if(kind.includes('technical'))return 'dependency';if(kind.includes('claim'))return 'claim';return 'entity';}\nfunction renderFedEntityMap(){\n const map=fedGenius.entity_map,nodes=new Map(map.nodes.map(node=>[node.id,node])),selected=nodes.get(fedEntity)||nodes.get('issuer');\n const flows=map.flows.map((flow,index)=>`<div class=\"fgx-entity-flow\"><div class=\"fgx-flow-label\"><span>${String(index+1).padStart(2,'0')}</span><b>${esc(flow.label)}</b></div><div class=\"fgx-entity-sequence\">${flow.node_ids.map((id,nodeIndex)=>{const node=nodes.get(id),link=nodeIndex?`<span class=\"fgx-entity-link\"><span>${esc(flow.relationship_labels[nodeIndex-1])}</span><b aria-hidden=\"true\">→</b></span>`:'';return `${link}<button type=\"button\" class=\"fgx-entity-node ${fedEntityType(node)}\" data-fed-entity=\"${esc(node.id)}\" aria-pressed=\"${selected.id===node.id}\"><b>${esc(node.label)}</b><small>${esc(node.kind)}</small></button>`;}).join('')}</div></div>`).join('');\n const examples=selected.ecosystem_ids.map(id=>ecosystemsById.get(id)?.label).filter(Boolean);\n return `<section><div class=\"fgx-entity-intro\"><h2>${esc(map.title)}</h2><p>${esc(map.summary)}</p><p class=\"fgx-limit\"><b>Reading boundary:</b> ${esc(map.boundary)}</p></div><div class=\"fgx-entity-legend\" aria-label=\"Map legend\"><span class=\"authority\"><i></i>Regulator or supervisor</span><span class=\"entity\"><i></i>Legal entity</span><span class=\"asset\"><i></i>Asset or claim record</span><span class=\"dependency\"><i></i>Technical dependency</span><span class=\"claim\"><i></i>Holder position</span></div><div class=\"fgx-entity-map\" aria-label=\"Proposed stablecoin legal entity relationship map\">${flows}</div><article class=\"fgx-entity-detail\" id=\"fedEntityDetail\" aria-live=\"polite\"><div><span class=\"fgx-entity-kind\">${esc(selected.kind)}</span><h3>${esc(selected.label)}</h3><p>${esc(selected.role)}</p></div><div><p class=\"fgx-entity-proof\"><b>What must be proven</b><br>${esc(selected.proof)}</p><p class=\"fgx-limit\"><b>Do not collapse:</b> ${esc(selected.boundary)}</p><p><b>Attached proposal gates</b></p><div class=\"fgx-entity-gates\">${selected.gate_ids.map(id=>{const gate=fedGenius.gates.find(item=>item.id===id);return `<button type=\"button\" data-fed-entity-gate=\"${esc(id)}\">${esc(gate.title)} →</button>`;}).join('')}</div>${examples.length?`<p class=\"fgx-entity-examples\"><b>Current Hub surfaces touching this seat:</b> ${examples.map(esc).join(' · ')}</p>`:'<p class=\"fgx-entity-examples\">This is a regulatory or supervisory seat rather than a mapped commercial ecosystem.</p>'}</div></article>${fedSourceLinks(fedGenius.source_ids)}</section>`;\n}\nfunction fedEcosystemRows(){\n const q=fedQuery.trim().toLowerCase();\n return fedGenius.overlaps.map(row=>({...row,label:ecosystemsById.get(row.ecosystem_id).label})).filter(row=>(fedStatus==='all'||row.status===fedStatus)&&(fedGate==='all'||row.gate_ids.includes(fedGate))&&(!q||[row.label,row.impact,row.not_changed,row.watch,...row.gate_ids].join(' ').toLowerCase().includes(q)));\n}\nfunction renderFedEcosystems(){\n const rows=fedEcosystemRows();\n return `<div class=\"fgx-tools\"><label>Find a system, control or boundary<input id=\"fedSearch\" type=\"search\" value=\"${esc(fedQuery)}\" placeholder=\"Circle, custody, bridge, redemption…\"></label><label>Interface type<select id=\"fedStatus\"><option value=\"all\">All interface types</option>${fedGenius.status_legend.map(item=>`<option value=\"${esc(item.id)}\" ${fedStatus===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><label>Proposed gate<select id=\"fedGate\"><option value=\"all\">All twelve gates</option>${fedGenius.gates.map(item=>`<option value=\"${esc(item.id)}\" ${fedGate===item.id?'selected':''}>${esc(item.title)}</option>`).join('')}</select></label></div><p><b>${rows.length} of ${fedGenius.overlaps.length}</b> governed ecosystems visible. A mapped interface is not issuer eligibility or approval.</p><div class=\"fgx-ecosystems\">${rows.map(row=>{const status=fedGenius.status_legend.find(item=>item.id===row.status);return `<article class=\"fgx-card fgx-eco ${esc(row.status)}\"><span class=\"fgx-status ${esc(row.status)}\" title=\"${esc(status.meaning)}\">${esc(status.label)}</span><h3>${esc(row.label)}</h3><p>${esc(row.impact)}</p><p class=\"fgx-limit\"><b>Not changed:</b> ${esc(row.not_changed)}</p><details><summary>What to watch</summary><p>${esc(row.watch)}</p><p><b>Attached gates:</b> ${row.gate_ids.map(id=>esc(fedGenius.gates.find(g=>g.id===id).title)).join(' · ')}</p>${fedSourceLinks(row.source_ids)}</details><button class=\"fgx-action\" data-fed-map=\"${esc(row.ecosystem_id)}\">Open this ecosystem in the Crypto map →</button></article>`;}).join('')||'<p class=\"liq-empty\">No ecosystem matches these filters. Clear the search or choose all gates.</p>'}</div>`;\n}\nfunction renderFedGenius(){\n const target=document.getElementById('fedGeniusHub');\n const tabs=[['entities','Entity map'],['layers','Seven layers'],['gates','Twelve gates'],['clocks','Nine clocks'],['ecosystems','Twenty ecosystems'],['questions','277 questions']];\n let content='';\n if(fedTab==='entities')content=renderFedEntityMap();\n if(fedTab==='layers')content=`<section><h2>The proposed organism</h2><p class=\"liq-note\">Read left to right as an institutional dependency chain, not a claim that every duty waits for the prior layer.</p><div class=\"fgx-layer-map\">${fedGenius.layers.map(layer=>`<article class=\"fgx-layer\"><span>${String(layer.order).padStart(2,'0')}</span><h3>${esc(layer.title)}</h3><p><b>${esc(layer.question)}</b></p><p>${esc(layer.summary)}</p><p class=\"fgx-limit\">${esc(layer.boundary)}</p><small>${layer.gate_ids.map(id=>esc(fedGenius.gates.find(g=>g.id===id).title)).join(' · ')}</small></article>`).join('')}</div><div class=\"fgx-capital\"><article><span class=\"liq-kicker\">R-1900 · 60 pages</span><strong>Entry machine</strong><p>Insured-state-member-bank subsidiary application, completeness, decision, conditions, denial and hearing.</p></article><article><span class=\"liq-kicker\">R-1899 · 392 pages</span><strong>Operating constitution</strong><p>Business, reserves, redemption, risk, reports, capital, custody, state enforcement and parent treatment.</p></article><article><span class=\"liq-kicker\">Proposal boundary</span><strong>0 approved stacks</strong><p>The notices propose tests. They do not choose an issuer, chain, custodian, reserve or distribution system.</p></article></div>${fedSourceLinks(fedGenius.source_ids)}</section>`;\n if(fedTab==='gates')content=`<section><h2>Twelve independently provable gates</h2><p class=\"liq-note\">A technology or provider touching one gate does not inherit the others.</p><div class=\"fgx-gates\">${fedGenius.gates.map((gate,index)=>`<article class=\"fgx-card\"><span class=\"liq-kicker\">Gate ${String(index+1).padStart(2,'0')}</span><h3>${esc(gate.title)}</h3><p>${esc(gate.rule)}</p><p><b>Infrastructure effect:</b> ${esc(gate.infrastructure_effect)}</p><p class=\"fgx-clock\"><b>Clock:</b> ${esc(gate.implementation_clock)}</p><p class=\"fgx-limit\"><b>Watch:</b> ${esc(gate.watch)}</p><button class=\"fgx-action\" data-fed-gate-open=\"${esc(gate.id)}\">See affected ecosystems →</button></article>`).join('')}</div></section>`;\n if(fedTab==='clocks')content=`<section><h2>Nine clocks that must not be collapsed</h2><p class=\"liq-note\">Proposal, statutory effectiveness, application review, reserve measurement, redemption, publication, supervisory reporting and examination all run on different anchors.</p><div class=\"fgx-clocks\">${fedGenius.clocks.map(clock=>`<article class=\"fgx-card fgx-clock-card\"><span class=\"liq-kicker\">${esc(clock.label)}</span><strong>${esc(clock.value)}</strong><p>${esc(clock.anchor)}</p><p class=\"fgx-limit\"><b>${esc(clock.state)}</b><br>${esc(clock.meaning)}</p></article>`).join('')}</div></section>`;\n if(fedTab==='ecosystems')content=`<section><h2>Where the proposal touches the governed stack</h2>${renderFedEcosystems()}</section>`;\n if(fedTab==='questions')content=`<section><h2>The open calibration surface</h2><p class=\"liq-note\">The 254 framework questions and 23 application questions identify where the final architecture may still move.</p><div class=\"fgx-questions\">${fedGenius.question_clusters.map(cluster=>`<article class=\"fgx-card fgx-question\"><b>${cluster.count}</b><div><h3>${esc(cluster.label)}</h3><p class=\"liq-kicker\">${esc(cluster.range)}</p><p>${esc(cluster.open_issue)}</p></div></article>`).join('')}</div></section>`;\n target.innerHTML=`<header class=\"fgx-hero\"><span class=\"fgx-proposal\">Two proposals · not final</span><h2>${esc(fedGenius.title)}</h2><p>${esc(fedGenius.subtitle)}</p><p>${esc(fedGenius.summary)}</p><p class=\"fgx-boundary\"><b>Evidence boundary:</b> ${esc(fedGenius.boundary)}</p></header><div class=\"fgx-metrics\"><div class=\"fgx-metric\"><strong>452</strong><small>source PDF pages reviewed</small></div><div class=\"fgx-metric\"><strong>${fedGenius.layers.length}</strong><small>institutional layers</small></div><div class=\"fgx-metric\"><strong>${fedGenius.gates.length}</strong><small>separately provable gates</small></div><div class=\"fgx-metric\"><strong>${fedGenius.question_clusters.reduce((sum,item)=>sum+item.count,0)}</strong><small>numbered questions</small></div></div><nav class=\"fgx-tabs\" aria-label=\"Fed GENIUS hub views\">${tabs.map(([id,label])=>`<button data-fed-tab=\"${id}\" aria-pressed=\"${fedTab===id}\">${label}</button>`).join('')}</nav><div id=\"fedContent\">${content}</div>`;\n}\nlet legalTab='walk',legalStep=0,legalCase='',innovationStatus='all',innovationQuery='';\nfunction legalSources(ids){return `<details><summary>Research & source documents</summary>${sourceLinks(ids)}</details>`;}\nfunction renderInnovationRows(){\n const q=innovationQuery.toLowerCase(),base=innovation.overlaps.map(r=>{const e=ecosystemsById.get(r.ecosystem_id);return {...r,label:e.label,open_id:e.id,adjacent:false};}),adjacent=expansion.systems.map(system=>({status:system.innovation_status,label:system.name,open_id:system.id,adjacent:true,overlap:system.summary,missing:system.boundary,watch:system.watch,source_ids:system.source_ids})),all=base.concat(adjacent),rows=all.filter(r=>innovationStatus==='all'||r.status===innovationStatus).filter(r=>[r.label,r.overlap,r.missing,r.watch].join(' ').toLowerCase().includes(q));\n document.getElementById('innovationResults').innerHTML=`<p class=\"liq-note\"><b>${rows.length} of ${all.length} tracked systems</b> · 20 deep ecosystem profiles plus ${expansion.systems.length} adjacent technology, control and settlement families. Every row remains not selected and not operating under the order.</p><div class=\"ix-grid\">${rows.map(r=>{const s=innovation.status_legend.find(x=>x.id===r.status);return `<article class=\"ix-card ${esc(r.status)}\"><span class=\"ix-status ${esc(r.status)}\">${esc(s.label)}</span><h4>${esc(r.label)}</h4><p>${esc(r.overlap)}</p><p class=\"ix-missing\"><b>Still missing / boundary:</b> ${esc(r.missing)}</p><details><summary>What to watch</summary><p>${esc(r.watch)}</p>${legalSources(r.source_ids)}</details><button class=\"liq-action\" ${r.adjacent?`data-innovation-expansion=\"${esc(r.open_id)}\"`:`data-innovation-map=\"${esc(r.open_id)}\"`}>${r.adjacent?'Open in Stack expansion':'Open this system in the Crypto map'} →</button></article>`;}).join('')}</div>`;\n}\nfunction renderInnovation(){\n document.getElementById('legalContent').innerHTML=`<header class=\"ix-hero\"><span class=\"liq-kicker\">Effective order · evidence cutoff ${esc(innovation.evidence_cutoff)}</span><h3>${esc(innovation.title)}</h3><p>${esc(innovation.subtitle)}</p><p>${esc(innovation.summary)}</p><p class=\"ix-boundary\">${esc(innovation.boundary)}</p></header><h3>The eight gates every implementation must cross</h3><div class=\"ix-gates\">${innovation.gates.map((g,i)=>`<article class=\"ix-gate\"><span class=\"liq-kicker\">${i+1} / ${innovation.gates.length}</span><h4>${esc(g.title)}</h4><p>${esc(g.rule)}</p><p><b>Watch:</b> ${esc(g.watch)}</p></article>`).join('')}</div><h3>Technology overlap matrix</h3><div class=\"ix-legend\">${innovation.status_legend.map(s=>`<span class=\"ix-status ${esc(s.id)}\" title=\"${esc(s.meaning)}\">${esc(s.label)}</span>`).join('')}</div><div class=\"ix-tools\"><label>Find a system, role or missing receipt<input id=\"innovationSearch\" type=\"search\" value=\"${esc(innovationQuery)}\" placeholder=\"XRP, public chain, transfer agent…\"></label><label>Overlap state<select id=\"innovationStatus\"><option value=\"all\">All states</option>${innovation.status_legend.map(s=>`<option value=\"${esc(s.id)}\" ${innovationStatus===s.id?'selected':''}>${esc(s.label)}</option>`).join('')}</select></label></div><div id=\"innovationResults\"></div><div class=\"liq-source\">${legalSources(innovation.source_ids)}</div>`;\n renderInnovationRows();\n}\nfunction renderLegal(){\n document.body.classList.toggle('qual-reading',legalTab==='qualifications');\n document.querySelectorAll('[data-legal-tab]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.legalTab===legalTab)));\n const target=document.getElementById('legalContent');\n if(legalTab==='qualifications'){renderQualifications();return;}\n if(legalTab==='innovation'){renderInnovation();return;}\n if(legalTab==='walk'){\n  const s=legal.steps[legalStep],c=legal.cases.find(c=>c.id===legalCase),item=c?.steps.find(t=>t.step_id===s.id);\n  target.innerHTML=`<p class=\"liq-note\">Follow the questions in order. Several legal duties operate at once; these steps organize the inquiry rather than prescribe a universal transaction sequence.</p><label class=\"legal-case-label\">Carry a worked case through the steps <select id=\"legalCase\" class=\"control\"><option value=\"\">Start with the general questions</option>${legal.cases.map(c=>`<option value=\"${esc(c.id)}\" ${c.id===legalCase?'selected':''}>${esc(c.title)}</option>`).join('')}</select></label><div class=\"legal-walk\"><nav class=\"legal-spine\" aria-label=\"Legal process steps\">${legal.steps.map((r,i)=>`<button data-legal-step=\"${i}\" aria-current=\"${i===legalStep?'step':'false'}\"><span>${String(i+1).padStart(2,'0')}</span>${esc(r.title)}</button>`).join('')}</nav><article class=\"legal-detail\" aria-label=\"Selected legal step\"><div class=\"liq-kicker\">Step ${legalStep+1} of ${legal.steps.length}</div><h3 tabindex=\"-1\" id=\"legalStepHeading\">${esc(s.question)}</h3><p class=\"legal-explanation\">${esc(s.explanation)}</p><dl class=\"legal-facts\"><div><dt>Who carries the responsibility</dt><dd>${esc(s.actors)}</dd></div><div><dt>What to inspect</dt><dd>${esc(s.required_evidence)}</dd></div><div><dt>What this step establishes</dt><dd>${esc(s.output)}</dd></div></dl><p class=\"liq-caution\">${esc(s.boundary)}</p>${legalSources(s.source_ids)}${c?`<section class=\"legal-example\"><div class=\"liq-kicker\">${esc(c.status)}</div><h4>${esc(c.title)} · this step</h4><p>${esc(item.finding)}</p><p><b>Still to establish:</b> ${esc(item.gap)}</p>${legalSources(c.source_ids)}</section>`:''}<div class=\"legal-next\"><button class=\"liq-action\" data-legal-step=\"${legalStep-1}\" ${legalStep===0?'disabled':''}>Previous</button><button class=\"liq-action\" data-legal-step=\"${legalStep+1}\" ${legalStep===legal.steps.length-1?'disabled':''}>Next step →</button></div></article></div>`;\n }\n if(legalTab==='layers')target.innerHTML=`<p class=\"liq-note\">These authorities can apply simultaneously. Start with the jurisdiction, legal entity and function to determine which instrument governs each question.</p><div class=\"liq-grid\">${legal.layers.map(r=>`<article class=\"liq-card\"><h3>${esc(r.title)}</h3><p>${esc(r.summary)}</p><p><b>Locate:</b> ${esc(r.question)}</p><p class=\"liq-caution\">${esc(r.boundary)}</p>${legalSources(r.source_ids)}</article>`).join('')}</div>`;\n if(legalTab==='cases')target.innerHTML=`<p class=\"liq-note\">Each case uses the same questions. Their evidence states remain distinct: proposals, effective conditional exemptions, operating services and reported arrangements do not carry the same authority or operating clock.</p><div class=\"liq-grid\">${legal.cases.map(c=>`<article class=\"liq-card\"><span class=\"liq-kicker\">${esc(c.status)}</span><h3>${esc(c.title)}</h3><p>${esc(c.summary)}</p><p class=\"liq-caution\">${esc(c.boundary)}</p><button class=\"liq-action\" data-legal-case=\"${esc(c.id)}\">Walk through this case →</button>${c.trace_id?` <button class=\"liq-action\" data-liq-trace=\"${esc(c.trace_id)}\">Open asset trace</button>`:''}${legalSources(c.source_ids)}</article>`).join('')}</div>`;\n}\ndocument.addEventListener('click',e=>{\n const tab=e.target.closest('[data-legal-tab]');if(tab){legalTab=tab.dataset.legalTab;renderLegal();}\n const step=e.target.closest('[data-legal-step]');if(step){const i=Number(step.dataset.legalStep);if(i>=0&&i<legal.steps.length){legalStep=i;renderLegal();document.getElementById('legalStepHeading').focus({preventScroll:true});}}\n const c=e.target.closest('[data-legal-case]');if(c){legalCase=c.dataset.legalCase;legalStep=0;legalTab='walk';renderLegal();}\n const map=e.target.closest('[data-innovation-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.innovationMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}}\n const adjacent=e.target.closest('[data-innovation-expansion]');if(adjacent){expansionSelected=adjacent.dataset.innovationExpansion;openCryptoRoom('expansion');}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='legalCase'){legalCase=e.target.value;renderLegal();}if(e.target.id==='innovationStatus'){innovationStatus=e.target.value;renderInnovationRows();}});\ndocument.addEventListener('input',e=>{if(e.target.id==='innovationSearch'){innovationQuery=e.target.value;renderInnovationRows();}});\ndocument.addEventListener('click',e=>{\n const tab=e.target.closest('[data-fed-tab]');if(tab){fedTab=tab.dataset.fedTab;renderFedGenius();return;}\n const entity=e.target.closest('[data-fed-entity]');if(entity){fedEntity=entity.dataset.fedEntity;renderFedGenius();requestAnimationFrame(()=>document.getElementById('fedEntityDetail')?.scrollIntoView({block:'nearest'}));return;}\n const entityGate=e.target.closest('[data-fed-entity-gate]');if(entityGate){fedGate=entityGate.dataset.fedEntityGate;fedTab='ecosystems';renderFedGenius();return;}\n const gate=e.target.closest('[data-fed-gate-open]');if(gate){fedGate=gate.dataset.fedGateOpen;fedTab='ecosystems';renderFedGenius();return;}\n const map=e.target.closest('[data-fed-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.fedMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='fedStatus'){fedStatus=e.target.value;renderFedGenius();}if(e.target.id==='fedGate'){fedGate=e.target.value;renderFedGenius();}});\ndocument.addEventListener('input',e=>{if(e.target.id==='fedSearch'){fedQuery=e.target.value;renderFedGenius();document.getElementById('fedSearch')?.focus();}});\ndocument.getElementById('legalReport').innerHTML=sourceLinks(legal.report_source_ids);\nconst qualifications=data.legal_process_hub.qualifications;\nlet qualMode='transaction',qualFunction='recordkeeping',qualActor='securitize-ta';\nfunction renderQualifications(){\n if(qualMode==='transaction')renderLegalTransaction();\n else if(qualMode==='role')renderLegalRole();\n else if(qualMode==='player')renderLegalPlayer();\n else renderQualificationDirectory();\n}\ndocument.addEventListener('change',e=>{if(e.target.id==='qualActorSelect'){qualActor=e.target.value;renderQualifications();}});\ndocument.addEventListener('click',e=>{\n const mode=e.target.closest('[data-qual-mode]');if(mode){qualMode=mode.dataset.qualMode;lvSelection=null;renderQualifications();}\n const actor=e.target.closest('[data-qual-view-actor]');if(actor){qualActor=actor.dataset.qualViewActor;qualMode='player';lvSelection=null;renderQualifications();document.getElementById('qualJobHeading').focus({preventScroll:true});}\n const job=e.target.closest('[data-qual-view-job]');if(job){qualFunction=job.dataset.qualViewJob;qualMode='role';lvSelection=null;renderQualifications();document.getElementById('qualJobHeading').focus({preventScroll:true});}\n const step=e.target.closest('[data-qual-step]');if(step){legalStep=legal.steps.findIndex(s=>s.id===step.dataset.qualStep);legalTab='walk';legalCase='';renderLegal();document.getElementById('legalStepHeading').focus();}\n});\n\n","next_section_id":"s00027","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00026.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00027.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00026.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00027.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00026.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00027.json"},{"section_id":"s00027","ordinal":27,"label":"Section 27 (continued)","source_page":null,"start_character":317863,"end_character":336130,"start_line":1903,"end_line":1982,"text":"function qualificationInventoryCard(item){\n const n=data.nodes.find(n=>n.id===item.node_id);\n const names=item.role_ids.map(id=>qualifications.functions.find(f=>f.id===id)?.display_title||id);\n return `<article class=\"q-card\"><div class=\"q-card-top\"><span class=\"q-status\">${esc(item.classification==='object'?'Supporting object':item.classification==='aggregate'?'Group / mixed entry':'Player or operator')}</span><span class=\"q-status\">${esc(n.status)}</span></div><h4>${esc(n.label)}</h4><p>${esc(n.summary)}</p><p class=\"q-scope\">${esc(item.actor_type)}</p><p><b>Role leads:</b> ${names.length?names.map(esc).join(' · '):'No function assigned from this entry alone.'}</p><details class=\"q-evidence\"><summary>Evidence and limits</summary><p>${esc(n.boundary)}</p><p>These are inventory research leads. They do not establish registration, appointment, eligibility or current operational readiness.</p>${legalSources(n.sources)}</details>${qualifications.actors.some(a=>a.id===item.actor_id)?`<button class=\"liq-action\" data-qual-view-actor=\"${esc(item.actor_id)}\">Inspect this entry’s roles</button>`:''}</article>`;\n}\nfunction qualificationModes(){return lvModes();}\nfunction renderQualificationDirectory(){\n const counts={};qualifications.inventory.forEach(i=>counts[i.classification]=(counts[i.classification]||0)+1);\n document.getElementById('legalContent').innerHTML=`<div class=\"q-intro\"><h3>All players & coverage</h3><p>${esc(qualifications.coverage_boundary)}</p></div>${qualificationModes()}<div class=\"q-job-heading\"><h3 id=\"qualJobHeading\" tabindex=\"-1\">Who is in the map—and what still needs proof?</h3><p><b>${qualifications.inventory.length} Hub entries reviewed</b> · ${counts.actor} players / operators · ${counts.aggregate} groups / mixed entries · ${counts.object} supporting objects</p><p>${qualifications.functions.length} role families · ${qualifications.records.length} scoped assessments. Additional researched actors are included in this search and in “Explore a player.”</p></div><label for=\"qualInventorySearch\">Find a player, role or product</label><input class=\"control\" id=\"qualInventorySearch\" type=\"search\" placeholder=\"Try issuer, BNY, custody, Circle…\"><label for=\"qualInventoryType\">Show</label><select class=\"control\" id=\"qualInventoryType\"><option value=\"all\">All inventory entries</option value=\"actor\">Players and operators</option><option value=\"aggregate\">Groups and unresolved identities</option><option value=\"object\">Assets, products and supporting objects</option></select><p id=\"qualInventoryCount\" role=\"status\"></p><div class=\"q-cards\" id=\"qualInventoryResults\"></div><section class=\"q-group\"><h4>Research needed to complete the legal assignments</h4>${qualifications.research_gaps.map(g=>`<details class=\"q-limits\"><summary>${esc(g.title)}</summary><p>${esc(g.detail)}</p></details>`).join('')}${qualifications.report_source_id?legalSources([qualifications.report_source_id]):''}</section>`;\n updateQualificationDirectory();\n}\nfunction updateQualificationDirectory(){\n const term=document.getElementById('qualInventorySearch').value.toLowerCase(),type=document.getElementById('qualInventoryType').value;\n const rows=qualifications.inventory.filter(i=>{const n=data.nodes.find(n=>n.id===i.node_id);return (type==='all'||i.classification===type)&&[n.label,n.summary,i.actor_type,...i.role_ids,...i.role_ids.map(id=>qualifications.functions.find(f=>f.id===id)?.display_title||'')].join(' ').toLowerCase().includes(term);});\n const extras=qualifications.actors.filter(a=>!qualifications.inventory.some(i=>i.classification!=='object'&&i.actor_id===a.id)).filter(a=>{const roles=qualifications.records.filter(r=>r.actor_id===a.id).map(r=>qualifications.functions.find(f=>f.id===r.function_id).display_title);return (type==='all'||type==='actor')&&[a.label,a.scope,...roles].join(' ').toLowerCase().includes(term);});\n document.getElementById('qualInventoryCount').textContent=`${rows.length} matching Hub entries + ${extras.length} additional researched actors`;\n document.getElementById('qualInventoryResults').innerHTML=(rows.map(qualificationInventoryCard).join('')+extras.map(a=>`<article class=\"q-card\"><span class=\"q-status\">Additional researched actor / role</span><h4>${esc(a.label)}</h4><p>${esc(a.scope)}</p><button class=\"liq-action\" data-qual-view-actor=\"${esc(a.id)}\">Inspect this entry’s roles</button></article>`).join(''))||'<p>No matching entries. Try another name or role.</p>';\n}\n\ndocument.addEventListener('input',e=>{if(e.target.id==='qualInventorySearch')updateQualificationDirectory();});\ndocument.addEventListener('change',e=>{if(e.target.id==='qualInventoryType')updateQualificationDirectory();});\nlet lvCase='',lvSelection=null,lvReturn=null;\nfunction lvModes(){return `<div class=\"lv-modes\" role=\"group\" aria-label=\"Explore legal relationships\">${[['transaction','Follow a transaction'],['role','Understand a role'],['player','Explore a player'],['directory','Directory & coverage']].map(([id,t])=>`<button class=\"liq-action\" data-qual-mode=\"${id}\" aria-pressed=\"${qualMode===id}\">${t}</button>`).join('')}</div>`;}\nfunction lvTag(type){return `<span class=\"lv-tag lv-${type}\">${esc(type)}</span>`;}\nfunction lvFrame(title,intro,controls,body){\n document.getElementById('legalContent').innerHTML=`${lvModes()}<div class=\"lv-heading\"><div class=\"liq-kicker\">Legal relationships · saved evidence through ${esc(qualifications.evidence_cutoff)}</div><h3 id=\"qualJobHeading\" tabindex=\"-1\">${esc(title)}</h3><p>${esc(intro)}</p></div>${controls}${qualMode==='role'&&lvReturn?`<button class=\"liq-action\" data-lv-return>Return to transaction</button>`:''}<div class=\"lv-legend\" aria-label=\"Diagram legend\">${['entity','role','asset','system','group'].map(lvTag).join('')}<span>Solid: documented</span><span class=\"lv-dashed\">Dashed: proposed / conditional</span><span class=\"lv-dotted\">Dotted: unresolved / research lead</span></div><div class=\"lv-workspace\"><section class=\"lv-canvas\" aria-label=\"Relationship diagram\">${body}</section><aside class=\"lv-detail\" aria-label=\"Evidence panel\" tabindex=\"-1\" id=\"lvDetail\"><h4>Select a step or connection</h4><p>Its meaning, limits and source documents appear here. You can move from a transaction to a role or player without losing the case.</p></aside></div>`;\n if(lvSelection)lvShowDetail(lvSelection);\n}\nfunction lvState(s){return ['proposed','conditional'].includes(s)?'conditional':s==='documented'||s==='established_scope'?'documented':'unresolved';}\nfunction lvActorType(a){const n=data.nodes.find(n=>n.id===a.node_id);return n?lvNodeShape(n):'entity';}\nfunction lvActorButtons(ids){return ids.map(id=>{const a=qualifications.actors.find(a=>a.id===id);return a?`<button class=\"lv-node lv-entity\" data-lv-player=\"${esc(id)}\">${esc(a.label)} →</button>`:'';}).join('');}\nfunction lvShowDetail(sel){\n const panel=document.getElementById('lvDetail');if(!panel)return;lvSelection=sel;document.querySelectorAll('[data-lv-cell]').forEach(el=>el.setAttribute('aria-pressed',String(sel.kind==='cell'&&el.dataset.lvCell===sel.stage&&el.dataset.lvLane===sel.lane)));\n let title='',text='',boundary='',sources=[],links='',status='';\n if(sel.kind==='cell'){\n  const c=qualifications.visual_cases.find(c=>c.id===sel.case),st=c.stages.find(st=>st.id===sel.stage),v=st.lanes[sel.lane];title=st.title+' · '+sel.lane;text=v.text;boundary=v.boundary;sources=v.source_ids;status=v.status;links=lvActorButtons(v.actor_ids)+(v.record_ids||[]).map(id=>{const r=qualifications.records.find(r=>r.id===id);return `<button class=\"liq-action\" data-lv-record=\"${esc(id)}\">Role assessment: ${esc(qualifications.actors.find(a=>a.id===r.actor_id).label)} — ${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)} →</button>`;}).join('');\n }else if(sel.kind==='record'){\n  const r=qualifications.records.find(r=>r.id===sel.id);title=qualifications.actors.find(a=>a.id===r.actor_id).label;text=r.finding;boundary=r.boundary;sources=r.source_ids;status=r.status;links=`<h5>Required for this arrangement</h5><p>${esc(r.conditions)}</p><p>${esc(r.authority)}</p>`+lvActorButtons([r.actor_id])+`<button class=\"liq-action\" data-lv-role=\"${esc(r.function_id)}\">Explore this role →</button>`;\n }else if(sel.kind==='edge'){\n  const e=data.edges.find(e=>e.id===sel.id);title=e.label;text=e.claim;boundary=e.boundary;sources=e.sources;status=e.status;links=[e.from,e.to].map(id=>{const a=qualifications.actors.find(a=>a.node_id===id);return a?lvActorButtons([a.id]):'';}).join('');\n }else if(sel.kind==='lead'){\n  const i=qualifications.inventory.find(i=>i.node_id===sel.id),n=data.nodes.find(n=>n.id===sel.id);title=n.label;text=n.summary;boundary=n.boundary+' Inventory role leads do not establish authorization or appointment.';sources=n.sources;status=n.status;links=lvActorButtons([i.actor_id]);\n }else if(sel.kind==='requirement'){\n  const f=qualifications.functions.find(f=>f.id===sel.id);title=f.display_title;text=f.qualification_check;boundary='This is an applicability checklist, not a determination that every actor qualifies.';sources=[qualifications.report_source_id];status='Eligibility question';\n }\n panel.classList.add('is-open');\n panel.innerHTML=`<button class=\"lv-close liq-action\" data-lv-close>Close details</button><span class=\"liq-kicker\">${esc(status.replaceAll('_',' '))}</span><h4>${esc(title)}</h4><p>${esc(text)}</p><div class=\"lv-boundary\"><b>What this does—and does not—establish</b><p>${esc(boundary)}</p></div><div class=\"lv-links\">${links}</div><h5>Evidence</h5>${sources.length?sourceLinks(sources):'<p>No transaction-specific evidence is mapped for this connection.</p>'}`;\n}\nfunction renderLegalTransaction(){\n const cases=qualifications.visual_cases;if(!cases?.length)return;\n const c=cases.find(c=>c.id===lvCase)||cases[0];lvCase=c.id;\n const controls=`<label class=\"lv-label\" for=\"lvCase\">Choose an arrangement</label><select class=\"control\" id=\"lvCase\">${cases.map(x=>`<option value=\"${esc(x.id)}\" ${x.id===c.id?'selected':''}>${esc(x.title)}</option>`).join('')}</select>`;\n const body=`<div class=\"lv-scroll\"><div class=\"lv-swim\" style=\"--steps:${c.stages.length}\"><div class=\"lv-corner\">Follow each lane →</div>${c.stages.map((s,i)=>`<div class=\"lv-stage\"><span>${i+1}</span><h4>${esc(s.title)}</h4></div>`).join('')}${[['asset','The asset','asset'],['money','The money','asset'],['record','The record','system']].map(([lane,label,type])=>`<div class=\"lv-lane\">${label}</div>${c.stages.map(s=>{const v=s.lanes[lane];return `<button class=\"lv-cell lv-${lvState(v.status)}\" data-lv-cell=\"${esc(s.id)}\" data-lv-lane=\"${lane}\">${lvTag(type)}<strong>${esc(v.text)}</strong><span class=\"lv-cell-actors\">${v.actor_ids.map(id=>{const a=qualifications.actors.find(a=>a.id===id),n=data.nodes.find(n=>n.id===a.node_id);return esc(n?.short_label||a.label);}).join(' · ')}</span><small>${esc(v.status)}</small><span class=\"lv-arrow\" aria-hidden=\"true\">→</span></button>`;}).join('')}`).join('')}</div></div><p class=\"lv-note\">Read left to right within each lane. Columns organize the arrangement; they do not assert atomic settlement or identical timing across lanes. Click a dotted connection to see the missing evidence.</p>`;\n lvFrame(c.title,c.description,controls,body);\n}\nfunction renderLegalRole(){\n const f=qualifications.functions.find(f=>f.id===qualFunction);const rows=qualifications.records.filter(r=>r.function_id===f.id);const leads=qualifications.inventory.filter(i=>i.classification!=='object'&&i.role_ids.includes(f.id)&&!rows.some(r=>r.actor_id===i.actor_id));\n const controls=`<label class=\"lv-label\" for=\"lvRole\">Choose the role</label><select class=\"control\" id=\"lvRole\">${qualifications.role_groups.map(g=>`<optgroup label=\"${esc(g)}\">${qualifications.functions.filter(x=>x.group===g).map(x=>`<option value=\"${esc(x.id)}\" ${x.id===f.id?'selected':''}>${esc(x.display_title)}</option>`).join('')}</optgroup>`).join('')}</select>`;\n const body=`<div class=\"lv-role-map\"><button class=\"lv-requirements\" data-lv-requirement=\"${esc(f.id)}\"><span class=\"liq-kicker\">What establishes eligibility?</span><p>${esc(f.qualification_check)}</p><small>Inspect the legal gateways →</small></button><div class=\"lv-bridge\">qualifies for ↓</div><div class=\"lv-role-center\">${lvTag('role')}<h4>${esc(f.display_title)}</h4><p>${esc(f.question)}</p></div><div class=\"lv-bridge\">scoped role assessments ↓</div><div class=\"lv-role-actors\">${rows.map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return `<button class=\"lv-assignment lv-${lvState(r.status)}\" data-lv-record=\"${esc(r.id)}\">${lvTag(lvActorType(a))}<strong>${esc(a.label)}</strong><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><span>${esc(r.finding)}</span></button>`;}).join('')||'<div class=\"lv-assignment lv-unresolved\">No scoped assignment saved for this role yet. This is an evidence gap, not a finding of ineligibility.</div>'}</div></div><details class=\"q-limits\"><summary>Other inventory leads (${leads.length})</summary><p>Function mentions to investigate; these are not established assignments.</p><div class=\"lv-role-actors\">${leads.map(i=>`<button class=\"lv-assignment lv-unresolved\" data-lv-lead=\"${esc(i.node_id)}\">${esc(data.nodes.find(n=>n.id===i.node_id).label)}</button>`).join('')}</div></details>`;\n lvFrame('Understand a role','Read the qualification requirements, then inspect each player’s actual appointment and limits.',controls,body);\n}\nfunction lvNodeShape(n){const i=qualifications.inventory.find(i=>i.node_id===n.id);if(i?.actor_type==='role'||n.kind==='role')return 'role';if(i?.classification==='aggregate')return 'group';if(i?.classification==='actor')return /technical|network/.test(i.actor_type)?'system':'entity';if(/asset|token|fund|money|share|deposit/.test(n.kind))return 'asset';if(/role/.test(n.kind))return 'role';return 'system';}\nfunction renderLegalPlayer(){\n const a=qualifications.actors.find(a=>a.id===qualActor);const rows=qualifications.records.filter(r=>r.actor_id===a.id);const edges=a.node_id?data.edges.filter(e=>e.from===a.node_id||e.to===a.node_id):[];\n const controls=`<label class=\"lv-label\" for=\"lvPlayer\">Choose a player or operator group</label><select class=\"control\" id=\"lvPlayer\">${[...qualifications.actors].sort((a,b)=>a.label.localeCompare(b.label)).map(x=>`<option value=\"${esc(x.id)}\" ${x.id===a.id?'selected':''}>${esc(x.label)}</option>`).join('')}</select>${lvReturn?`<button class=\"liq-action\" data-lv-return>Return to ${esc(qualifications.visual_cases.find(c=>c.id===lvReturn).title)}</button>`:''}`;\n const body=`<div class=\"lv-player-center\">${lvTag(lvActorType(a))}<h4>${esc(a.label)}</h4><p>${esc(a.scope)}</p></div><h4 class=\"lv-section-title\">Roles held or assessed</h4><div class=\"lv-role-actors\">${rows.map(r=>`<button class=\"lv-assignment lv-${lvState(r.status)}\" data-lv-record=\"${esc(r.id)}\">${lvTag('role')}<strong>${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)}</strong><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small></button>`).join('')||'<div class=\"lv-assignment lv-unresolved\">No completed role assessment for this entry. Use its relationship evidence below to investigate.</div>'}</div><h4 class=\"lv-section-title\">Connected entities, products and systems</h4><p>Arrows preserve the source relationship’s direction. Ownership, service, capital and technical links retain their original meaning.</p><div class=\"lv-edge-map\">${edges.map(e=>{const from=data.nodes.find(n=>n.id===e.from),to=data.nodes.find(n=>n.id===e.to);const state=e.operational_state==='proposed'||['pending_control','proposal_fit'].includes(e.type)||/propos|pending/.test(e.status)?'conditional':['planned','announced','pilot_test'].includes(e.operational_state)?'unresolved':'documented';return `<button class=\"lv-edge lv-${state}\" data-lv-edge=\"${esc(e.id)}\"><span class=\"lv-edge-node\">${lvTag(lvNodeShape(from))}<strong>${esc(from.label)}</strong></span><span class=\"lv-edge-verb\">${esc(e.label)}<b aria-hidden=\"true\">⟶</b><small>${esc(e.status)}</small></span><span class=\"lv-edge-node\">${lvTag(lvNodeShape(to))}<strong>${esc(to.label)}</strong></span></button>`;}).join('')||'<div class=\"lv-assignment lv-unresolved\">No direct structural connections are saved for this exact entry. Its scoped assessments above remain available.</div>'}</div>`;\n lvFrame('Explore a player','See this entry’s legal roles and its directly sourced relationships. A parent’s permissions do not pass automatically to its subsidiaries or products.',controls,body);\n}\ndocument.addEventListener('click',e=>{\n const cell=e.target.closest('[data-lv-cell]');if(cell)lvShowDetail({kind:'cell',case:lvCase,stage:cell.dataset.lvCell,lane:cell.dataset.lvLane});\n for(const [attr,kind] of [['lvRecord','record'],['lvEdge','edge'],['lvLead','lead'],['lvRequirement','requirement']]){const el=e.target.closest('[data-'+attr.replace(/[A-Z]/g,m=>'-'+m.toLowerCase())+']');if(el)lvShowDetail({kind,id:el.dataset[attr]});}\n const player=e.target.closest('[data-lv-player]');if(player){if(qualMode==='transaction')lvReturn=lvCase;qualActor=player.dataset.lvPlayer;qualMode='player';lvSelection=null;renderQualifications();}\n const role=e.target.closest('[data-lv-role]');if(role){if(qualMode==='transaction')lvReturn=lvCase;qualFunction=role.dataset.lvRole;qualMode='role';lvSelection=null;renderQualifications();}\n if(e.target.closest('[data-lv-return]')){lvCase=lvReturn;qualMode='transaction';lvSelection=null;renderQualifications();}\n if(e.target.closest('[data-lv-close]')){lvSelection=null;document.querySelectorAll('[data-lv-cell]').forEach(el=>el.setAttribute('aria-pressed','false'));document.getElementById('lvDetail').classList.remove('is-open');document.getElementById('lvDetail').innerHTML='<h4>Select a step or connection</h4><p>Inspect its evidence here.</p>';}\n});\ndocument.addEventListener('keydown',e=>{if(e.key==='Escape'){const close=document.querySelector('[data-lv-close]');if(close)close.click();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='lvCase'){lvCase=e.target.value;lvSelection=null;renderQualifications();}if(e.target.id==='lvRole'){qualFunction=e.target.value;lvSelection=null;renderQualifications();}if(e.target.id==='lvPlayer'){qualActor=e.target.value;lvSelection=null;renderQualifications();}});\n\n","next_section_id":"s00028","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00027.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00028.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00027.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00028.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00027.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00028.json"},{"section_id":"s00028","ordinal":28,"label":"Section 28 (continued)","source_page":null,"start_character":336130,"end_character":357945,"start_line":1982,"end_line":2069,"text":"let wholeQuery='',wholeCase='',wholeNode='',wholeEdge='',wholeLimit=18;\nfunction wholeIndex(){\n const entries=data.nodes.map(n=>({id:n.id,type:'entry',label:n.label,text:n.summary,status:n.status}));\n data.legal_routes_map.routes.forEach(r=>entries.push({id:r.id,type:'legal pathway',label:r.label,text:r.trigger+' '+r.basis,searchText:r.conditions.concat(r.eligible_categories||[]).join(' '),status:r.state}));\n data.legal_routes_map.players.forEach(p=>entries.push({id:p.id,type:'route player',label:p.label,text:p.evidence+' '+p.remaining,searchText:p.appointment,status:lrStatus(p)}));\n (data.legal_routes_map.participation_directory?.rows||[]).forEach(r=>entries.push({id:r.id,type:'member account',label:r.name,text:r.services,searchText:r.id,status:'GSD directory '+data.legal_routes_map.participation_directory.as_of}));\n data.infrastructure_map.rulebook_crosswalk.forEach(r=>entries.push({id:r.id,type:'rulebook',label:r.label,text:r.establishes+' '+r.boundary,searchText:r.kind+' '+r.version,status:r.version}));\n data.infrastructure_map.access_paths.forEach(r=>entries.push({id:r.id,type:'access path',label:r.title,text:r.boundary+' '+r.open_question,searchText:r.steps.map(s=>s.title+' '+s.text).join(' '),status:'Sourced access model'}));\n data.infrastructure_map.entities.forEach(n=>entries.push({id:n.id,type:'institution',label:n.label,text:n.scope+' '+n.boundary,searchText:n.jurisdiction+' '+n.kind,status:n.evidence_date}));\n data.infrastructure_map.edges.forEach(e=>entries.push({id:e.id,type:'institutional connection',label:infraName(e.from)+' → '+e.verb.replaceAll('_',' ')+' → '+infraName(e.to),text:e.claim+' '+e.boundary,status:e.evidence_date}));\n qualifications.actors.filter(a=>!a.node_id).forEach(a=>entries.push({id:a.id,type:'player',label:a.label,text:a.scope,status:'Scoped research'}));\n qualifications.functions.forEach(f=>entries.push({id:f.id,type:'role',label:f.display_title,text:f.question+' '+f.qualification_check,status:'Role family'}));\n data.sources.forEach(s=>entries.push({id:s.id,type:'source',label:s.label,text:s.publisher+' '+(s.boundary||''),searchText:s.local_text||'',status:s.date}));\n data.edges.forEach(e=>entries.push({id:e.id,type:'relationship',label:data.nodes.find(n=>n.id===e.from).label+' — '+e.label+' — '+data.nodes.find(n=>n.id===e.to).label,text:e.claim+' '+e.boundary,searchText:e.sources.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:e.status}));\n qualifications.records.forEach(r=>entries.push({id:r.id,type:'assessment',label:qualifications.actors.find(a=>a.id===r.actor_id).label+' · '+qualifications.functions.find(f=>f.id===r.function_id).display_title,text:r.finding+' '+r.conditions+' '+r.boundary,searchText:r.authority+' '+r.source_ids.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:r.status}));\n liquidity.layers.forEach(r=>entries.push({id:r.id,type:'liquidity layer',label:r.title,text:r.summary+' '+r.question+' '+r.boundary,status:r.kind}));\n liquidity.routes.forEach(r=>entries.push({id:r.id,type:'liquidity route',label:r.title,text:r.asset+' '+r.funding+' '+r.exit+' '+r.limit,status:r.kind}));\n qualifications.visual_cases.forEach(c=>entries.push({id:c.id,type:'arrangement',label:c.title,text:c.description,status:'Bounded case'}));\n qualifications.visual_cases.forEach(c=>c.stages.forEach(st=>Object.entries(st.lanes).forEach(([lane,v])=>entries.push({id:[c.id,st.id,lane].join('|'),type:'transaction step',label:c.title+' · '+st.title+' · '+lane,text:v.text+' '+v.boundary,searchText:v.source_ids.map(id=>data.sources.find(s=>s.id===id)?.label||'').join(' '),status:v.status}))));\n legal.steps.forEach(st=>entries.push({id:st.id,type:'legal foundation',label:st.title,text:st.question||st.title,searchText:JSON.stringify(st),status:'Legal process step'}));\n data.transaction_maps.routes.forEach(r=>{\n  entries.push({id:r.id,type:'transaction map',label:r.title,text:r.scope+' '+r.footprint,status:r.overlay_name});\n  r.nodes.concat(r.overlay_nodes).forEach(n=>entries.push({id:r.id+'|'+n.id,type:'map milestone',label:r.title+' · '+n.label.join(' '),text:n.explain+' '+n.before+' '+n.after+' '+n.overlay,status:r.overlay_nodes.some(x=>x.id===n.id)?'Digital comparison':'Conventional route / context'}));\n });\n data.books_hub.routes.forEach(r=>{\n  entries.push({id:r.id,type:'books route',label:r.title+' · debits & credits',text:r.scope+' '+r.overlay_name,status:r.overlay_name});\n  r.steps.forEach(s=>entries.push({id:r.id+'|'+s.id,type:'books step',label:r.title+' · '+s.title,text:s.question+' '+s.role_test+' '+s.entries.map(e=>e.entity_label+' '+e.role_performed+' '+e.debit+' '+e.credit).join(' '),status:'Teaching journals · occupants unnamed'}));\n });\n return entries;\n}\nfunction wholeScope(){\n const ids=new Set();const c=qualifications.visual_cases.find(c=>c.id===wholeCase);\n if(c)c.stages.forEach(s=>Object.values(s.lanes).forEach(v=>{v.object_ids.forEach(id=>ids.add(id));v.actor_ids.forEach(id=>{ids.add(id);const a=qualifications.actors.find(a=>a.id===id);if(a?.node_id)ids.add(a.node_id);});}));\n if(wholeNode){ids.add(wholeNode);data.edges.filter(e=>e.from===wholeNode||e.to===wholeNode).forEach(e=>{ids.add(e.from);ids.add(e.to);});}return ids;\n}\nfunction wholePlayerLink(a){return `<button class=\"wh-link\" data-wh-player=\"${esc(a.id)}\">${esc(a.label)} →</button>`;}\nfunction wholeLayer(layer,scope){\n const fs=qualifications.functions.filter(f=>layer.function_ids.includes(f.id));let records=qualifications.records.filter(r=>layer.function_ids.includes(r.function_id));\n const scoped=r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return scope.has(a.id)||scope.has(a.node_id);};records.sort((a,b)=>Number(scoped(b))-Number(scoped(a)));\n const leads=layer.id==='authority'?[]:qualifications.inventory.filter(i=>i.classification!=='object'&&i.role_ids.some(id=>layer.function_ids.includes(id)));\n const highlighted=scope.size&& (records.some(scoped)||leads.some(i=>scope.has(i.node_id))||layer.node_ids.some(id=>scope.has(id)));\n return `<section id=\"wh-layer-${esc(layer.id)}\" class=\"wh-layer ${highlighted?'wh-lit':''}\"><div class=\"wh-layer-top\"><span>${esc(layer.number)}</span><h3>${esc(layer.title)}</h3>${highlighted?'<b class=\"wh-match\">Connected to focus</b>':''}</div><p>${esc(layer.question)}</p><div class=\"wh-roles\">${fs.map(f=>`<button data-wh-role=\"${esc(f.id)}\">${esc(f.display_title)}</button>`).join('')}</div><div class=\"wh-findings\">${records.slice(0,3).map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id);return `<article class=\"${scoped(r)?'wh-selected':''}\">${wholePlayerLink(a)}<small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><p>${esc(r.finding)}</p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">Conditions & evidence →</button></article>`;}).join('')}${layer.node_ids.slice(0,2).map(id=>{const n=data.nodes.find(n=>n.id===id);return `<article><button class=\"wh-link\" data-wh-node=\"${esc(id)}\">${esc(n.label)} →</button><small>${esc(n.status)}</small><p>${esc(n.summary)}</p></article>`;}).join('')}</div><div class=\"wh-leads\"><b>Inventory leads · role not yet assessed</b>${leads.filter(i=>!records.some(r=>r.actor_id===i.actor_id)).sort((a,b)=>Number(scope.has(b.node_id))-Number(scope.has(a.node_id))).slice(0,3).map(i=>{const n=data.nodes.find(n=>n.id===i.node_id);return `<p><button class=\"wh-link\" data-wh-node=\"${esc(n.id)}\">${esc(n.label)} →</button><span> ${esc(n.summary)}</span></p>`;}).join('')}</div><p class=\"wh-gap\"><b>Open question:</b> ${esc(layer.gap)}</p><p class=\"wh-count\">${records.length} scoped assessments · ${leads.length} inventory leads. Choose a role above to inspect all.</p></section>`;\n}\nfunction wholeInstitutionLinks(nodeId){\n const matches=data.infrastructure_map.entities.filter(n=>n.node_ref===nodeId||(n.role_actor_ref&&qualifications.actors.find(a=>a.id===n.role_actor_ref)?.node_id===nodeId));\n return `<div class=\"infra-role-links\"><h4>Institutional connections</h4>${matches.length?matches.map(n=>`<p><button class=\"liq-action\" data-infra=\"${esc(n.id)}\">Inspect ${esc(n.label)} in the institutional map →</button></p>`).join(''):'<p class=\"wh-gap\">This entry has not yet been joined to the institutional map. Its saved relationships below may contain relevant evidence; an absent join does not mean it is unregulated.</p>'}<p class=\"wh-boundary\">Check the exact legal entity, activity, jurisdiction and permission. A parent company’s connections do not automatically apply to its subsidiaries or products.</p></div>`;\n}\nfunction wholeConnections(){\n if(!wholeNode)return '<div class=\"wh-guidance\"><b>Explore across layers</b><p>Choose an arrangement to highlight its footprint, or search for a player, product, rule or relationship. Selecting a map entry shows its direct connections here.</p></div>';\n const n=data.nodes.find(n=>n.id===wholeNode);const es=data.edges.filter(e=>e.from===n.id||e.to===n.id).sort((a,b)=>Number(b.id===wholeEdge)-Number(a.id===wholeEdge));\n return `<section class=\"wh-focus\" id=\"wholeEntryFocus\" tabindex=\"-1\"><div><span class=\"liq-kicker\">Selected entry · ${esc(n.status)}</span><h3>${esc(n.label)}</h3><p>${esc(n.summary)}</p><p>${esc(n.boundary)}</p><button class=\"liq-action\" data-wh-clear>Clear focus</button> <span>${qualifications.actors.filter(a=>a.node_id===n.id).map(wholePlayerLink).join('')}</span>${wholeInstitutionLinks(n.id)}</div><div class=\"wh-connections\">${es.map(e=>`<article class=\"${e.id===wholeEdge?'wh-selected':''}\">${e.id===wholeEdge?'<strong>Matched relationship</strong>':''}<button class=\"wh-link\" data-wh-node=\"${esc(e.from)}\">${esc(data.nodes.find(n=>n.id===e.from).label)}</button><b> ${esc(e.label)} → </b><button class=\"wh-link\" data-wh-node=\"${esc(e.to)}\">${esc(data.nodes.find(n=>n.id===e.to).label)}</button><small>${esc(e.status)} · ${esc(e.date)}</small><p>${esc(e.claim)}</p><details ${e.id===wholeEdge?'open':''}><summary>Limit and source</summary><p>${esc(e.boundary)}</p>${sourceLinks(e.sources)}</details></article>`).join('')||'<p>No direct structural relationships are saved for this entry.</p>'}</div></section>`;\n}\nlet infraSelected='dtc',infraJurisdiction=data.infrastructure_map.default_scope||'',infraRelation='';\nfunction infraInScope(n){return !infraJurisdiction||(infraJurisdiction==='US focus'?(n.jurisdiction==='US'||n.jurisdiction.startsWith('US /')||data.infrastructure_map.us_focus_context_ids.includes(n.id)):n.jurisdiction===infraJurisdiction);}\nfunction infraName(id){return data.infrastructure_map.entities.find(n=>n.id===id)?.label||id;}\nfunction infraEvidence(n){return n.source_ids?sourceLinks(n.source_ids):`<a href=\"${esc(n.source_url)}\" target=\"_blank\" rel=\"noopener\">Primary source ↗</a>`;}\nfunction infraRoleLinks(n){\n if(!n.role_actor_ref)return '';\n const rs=qualifications.records.filter(r=>r.actor_id===n.role_actor_ref);\n return `<div class=\"infra-role-links\"><h4>Existing role research</h4><button class=\"wh-link\" data-wh-player=\"${esc(n.role_actor_ref)}\">Open the full role profile →</button>${rs.map(r=>`<p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">${esc(qualifications.functions.find(f=>f.id===r.function_id).display_title)} →</button><br><small>${esc(qualifications.statuses.find(s=>s.id===r.status).label)}</small><br>${esc(r.finding)}</p>`).join('')||'<p>No scoped role assessment is saved for this profile.</p>'}</div>`;\n}\nfunction infraPanel(){\n const m=data.infrastructure_map,n=m.entities.find(n=>n.id===infraSelected);\n const edges=m.edges.filter(e=>(e.from===infraSelected||e.to===infraSelected)&&(!infraRelation||e.verb===infraRelation));\n return `<section class=\"infra-inspect\" id=\"infraInspect\" tabindex=\"-1\"><div><span class=\"liq-kicker\">Selected institution / instrument</span><h3>${esc(n.label)}</h3><p>${esc(n.scope)}</p><p class=\"wh-gap\">${esc(n.boundary)}</p><small>${esc(n.evidence_date)}</small><p>${infraEvidence(n)}</p>${infraRoleLinks(n)}${n.node_ref?`<button class=\"liq-action\" data-wh-node=\"${esc(n.node_ref)}\">Open existing company / arrangement research →</button>`:''}</div><div><label for=\"infraRelation\">Connection type</label><select id=\"infraRelation\"><option value=\"\">All documented connections</option>${[...new Set(m.edges.filter(e=>e.from===infraSelected||e.to===infraSelected).map(e=>e.verb))].map(v=>`<option value=\"${esc(v)}\" ${v===infraRelation?'selected':''}>${esc(v.replaceAll('_',' '))}</option>`).join('')}</select><div class=\"infra-edges\">${edges.map(e=>`<article><button data-infra=\"${esc(e.from)}\">${esc(infraName(e.from))}</button><strong> — ${esc(e.verb.replaceAll('_',' '))} → </strong><button data-infra=\"${esc(e.to)}\">${esc(infraName(e.to))}</button><p>${esc(e.claim)}</p><p class=\"wh-boundary\">${esc(e.boundary)}</p><small>${esc(e.evidence_date)}</small><br>${e.source_ids?sourceLinks(e.source_ids):`<a href=\"${esc(e.source_url)}\" target=\"_blank\" rel=\"noopener\">Relationship source ↗</a>`}</article>`).join('')||'<p>No institution-to-institution connection is assessed here. This is a coverage gap, not evidence of independence. For a company, open its existing arrangement research.</p>'}</div></div></section>`;\n}\nfunction infraAccessPaths(){return `<section id=\"infra-access-paths\"><h3>How participants gain access</h3><p>Compare the gates and responsibilities. Each path describes a particular access model; it does not approve a named firm.</p><div class=\"infra-gaps\">${data.infrastructure_map.access_paths.filter(r=>infraJurisdiction!=='US focus'||r.id!=='boe_omnibus').map(r=>`<article id=\"infra-route-${esc(r.id)}\" tabindex=\"-1\"><h4>${esc(r.title)}</h4><p>${r.entity_ids.map(id=>`<button data-infra=\"${esc(id)}\">${esc(infraName(id))} →</button>`).join(' · ')}</p><ol>${r.steps.map(s=>`<li><b>${esc(s.title.replace(/^\\d+ · /,''))}</b><p>${esc(s.text)} <a href=\"${esc(s.source_url)}\" target=\"_blank\" rel=\"noopener\">Source ↗</a></p></li>`).join('')}</ol><p class=\"wh-gap\">${esc(r.boundary)}</p><p><b>Still to establish:</b> ${esc(r.open_question)}</p></article>`).join('')}</div></section>`;}\nfunction infraRules(){return `<section id=\"infra-rulebooks\"><h3>Which rules govern which part?</h3><p>Source versions from the saved research are shown explicitly. A standard, regulation, rulebook and private agreement do different legal work.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Instrument / version</th><th>Applies to</th><th>What it establishes</th><th>What remains separate</th></tr></thead><tbody>${data.infrastructure_map.rulebook_crosswalk.map(r=>`<tr id=\"infra-rule-${esc(r.id)}\" tabindex=\"-1\"><td><a href=\"${esc(r.source_url)}\" target=\"_blank\" rel=\"noopener\">${esc(r.label)} ↗</a><p>${esc(r.kind)} · ${esc(r.version)}</p></td><td><button data-infra=\"${esc(r.entity_id)}\">${esc(infraName(r.entity_id))} →</button></td><td>${esc(r.establishes)}</td><td>${esc(r.boundary)}</td></tr>`).join('')}</tbody></table></div></section>`;}\nfunction infraRoleCoverage(){return `<section id=\"infra-role-coverage\"><h3>Every mapped job · evidence and gaps</h3><p>All ${qualifications.functions.length} role families are shown. A scoped assessment can be documented, conditional, proposed or not established; it is not blanket approval for the actor. Public-authority relationships are mapped separately above.</p><div class=\"infra-gaps\">${qualifications.functions.map(f=>{const rs=qualifications.records.filter(r=>r.function_id===f.id);return `<article><h4><button class=\"wh-link\" data-wh-role=\"${esc(f.id)}\">${esc(f.display_title)} →</button></h4><p>${esc(f.question)}</p>${rs.length?rs.map(r=>{const a=qualifications.actors.find(a=>a.id===r.actor_id),st=qualifications.statuses.find(s=>s.id===r.status);return `<p><button class=\"wh-link\" data-wh-assessment=\"${esc(r.id)}\">${esc(a.label)} →</button><br><small>${esc(st.label)}</small></p>`;}).join(''):'<p class=\"wh-gap\">No actor-level qualification assessment in the saved role records.</p>'}<p><b>Evidence needed:</b> ${esc(f.qualification_check)}</p></article>`;}).join('')}</div></section>`;}\nfunction infraEcosystemCoverage(){\n return `<section id=\"infra-ecosystem-coverage\"><h3>Coverage across the saved ecosystems</h3><p>Every saved ecosystem is listed. Counts describe this research model, not approved institutions or complete regulatory coverage. A joined entry may be a company, service, instrument or authority. Assessment counts include conditional and negative findings; read each finding’s status and evidence.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Ecosystem and saved research</th><th>Saved entries</th><th>Institutional connections</th><th>Scoped role assessments</th></tr></thead><tbody>${data.ecosystems.map(c=>{\n const ids=new Set(c.node_ids),joined=data.infrastructure_map.entities.filter(n=>ids.has(n.node_ref)||(n.role_actor_ref&&ids.has(qualifications.actors.find(a=>a.id===n.role_actor_ref)?.node_id)));\n const actors=new Set(qualifications.actors.filter(a=>ids.has(a.node_id)).map(a=>a.id)),rs=qualifications.records.filter(r=>actors.has(r.actor_id));\n return `<tr><td><button class=\"wh-link\" data-wh-node=\"${esc(c.root_node_id)}\">${esc(c.label)} →</button><p>${esc(c.boundary)}</p></td><td>${ids.size}</td><td>${joined.length?joined.map(n=>`<p><button data-infra=\"${esc(n.id)}\">${esc(n.label)} →</button></p>`).join(''):'<p class=\"wh-gap\">No exact institutional joins yet.</p>'}</td><td>${rs.length?`${rs.length} scoped assessments across ${new Set(rs.map(r=>r.function_id)).size} role families`:'No scoped role assessments linked to these entries.'}</td></tr>`;\n }).join('')}</tbody></table></div></section>`;\n}\nfunction infraOverview(){\n const m=data.infrastructure_map;\n return `<nav id=\"infra-overview\" class=\"infra-overview\" aria-label=\"Whole infrastructure at a glance\">${m.layers.map((l,i)=>`<a href=\"#infra-${esc(l.id)}\"><span class=\"liq-kicker\">${i+1} · ${m.entities.filter(n=>n.layer===l.id&&infraInScope(n)).length} mapped entries</span><strong>${esc(l.title)}</strong><span>${esc(l.question)}</span></a>`).join('')}</nav>`;\n}\nfunction infraMap(){\n const m=data.infrastructure_map;\n return `<section class=\"infra-map\"><div class=\"infra-heading\"><div><span class=\"liq-kicker\">Institutional map · evidence checked ${esc(m.cutoff)}</span><h2>Who has authority—and how the layers connect</h2><p>${esc(m.scope)}</p><p><b>${m.entities.filter(infraInScope).length} entries in this view · ${m.entities.length} in the saved reference · ${m.edges.length} saved typed connections</b></p></div><div><label for=\"infraJurisdiction\">Show jurisdiction</label><select id=\"infraJurisdiction\"><option value=\"US focus\" ${infraJurisdiction==='US focus'?'selected':''}>U.S. focus + relevant international context</option><option value=\"\" ${!infraJurisdiction?'selected':''}>All saved jurisdictions</option>${[...new Set(m.entities.map(n=>n.jurisdiction))].map(j=>`<option ${j===infraJurisdiction?'selected':''}>${esc(j)}</option>`).join('')}</select></div></div><p class=\"wh-guidance\">Read each connection by its verb: <b>supervises · designates · sets standards · operates · provides services</b>. Rows organize functions; they do not imply that every row commands the next. Select any name to inspect its relationships. All mapped names remain visible below.</p>${infraOverview()}<div id=\"infraPanel\">${infraPanel()}</div><nav class=\"wh-jumps\" aria-label=\"Institutional layers\">${m.layers.map(l=>`<a href=\"#infra-${esc(l.id)}\">${esc(l.title)}</a>`).join('')}<a href=\"#infra-role-coverage\">All roles & coverage</a><a href=\"#infra-access-paths\">Access paths</a><a href=\"#infra-rulebooks\">Rulebooks</a><a href=\"#infra-ecosystem-coverage\">Ecosystem coverage</a><a href=\"#infra-gaps\">Unmapped work</a></nav><div class=\"infra-layers\">${m.layers.map((l,i)=>{const ns=m.entities.filter(n=>n.layer===l.id&&infraInScope(n));return `<section id=\"infra-${esc(l.id)}\" class=\"infra-row\"><header><span class=\"liq-kicker\">${i+1} · ${ns.length} mapped</span><h3>${esc(l.title)}</h3><p>${esc(l.question)}</p></header><div class=\"infra-nodes\">${ns.map(n=>`<article class=\"${n.id===infraSelected?'wh-lit':''}\"><button data-infra=\"${esc(n.id)}\" aria-pressed=\"${n.id===infraSelected}\">${esc(n.label)}</button><small>${esc(n.jurisdiction)} · ${esc(n.kind.replaceAll('_',' '))}</small><p>${esc(n.scope)}</p></article>`).join('')||'<p>No entries in this jurisdiction are mapped in this row.</p>'}</div></section>`;}).join('')}</div>${infraEcosystemCoverage()}${infraRoleCoverage()}${infraAccessPaths()}${infraRules()}<section id=\"infra-source-audit\"><h3>Source links needing follow-up</h3><p>${esc(data.infrastructure_map.source_audit.boundary)}</p><p>${data.infrastructure_map.source_audit.returned_content} of ${data.infrastructure_map.source_audit.total} URLs returned content in the September 10 browser check.</p><ul>${data.infrastructure_map.source_audit.exceptions.map(x=>`<li><a href=\"${esc(x.url)}\" target=\"_blank\" rel=\"noopener\">${esc(new URL(x.url).hostname)} source ↗</a> — ${esc(x.status)}</li>`).join('')}</ul></section><section id=\"infra-gaps\"><h3>Where the map is still incomplete</h3><p>These are explicit research gaps. An absent connection does not mean no legal relationship exists.</p><div class=\"infra-gaps\">${m.gaps.map(g=>`<article><h4>${esc(g.title)}</h4><p>${esc(g.detail)}</p></article>`).join('')}</div></section></section>`;\n}\ndocument.addEventListener('click',e=>{const b=e.target.closest('[data-infra]');if(b){infraSelected=b.dataset.infra;infraRelation='';history.pushState(null,'','#infra-entity-'+encodeURIComponent(infraSelected));renderWhole();document.getElementById('infraInspect').focus({preventScroll:true});document.getElementById('infraInspect').scrollIntoView({block:'start'});}});\ndocument.addEventListener('change',e=>{if(e.target.id==='infraJurisdiction'){infraJurisdiction=e.target.value;renderWhole();}if(e.target.id==='infraRelation'){infraRelation=e.target.value;document.getElementById('infraPanel').innerHTML=infraPanel();}});\n\n","next_section_id":"s00029","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00028.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00029.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00028.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00029.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00028.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00029.json"},{"section_id":"s00029","ordinal":29,"label":"Section 29 (continued)","source_page":null,"start_character":357945,"end_character":372789,"start_line":2069,"end_line":2112,"text":"function renderWhole(){\n const scope=wholeScope();document.getElementById('wholeHub').innerHTML=`<div id=\"infra-top\" class=\"wh-hero\"><span class=\"liq-kicker\">One connected reference · sources retain their own dates</span><h2>How the market fits together</h2><p>See who creates the claim, who controls the records, how money moves, and who has authority when something changes.</p></div><div class=\"wh-tools\"><div><label for=\"wholeSearch\">Search the whole hub</label><input id=\"wholeSearch\" type=\"search\" placeholder=\"Player, role, product, rule or relationship…\" value=\"${esc(wholeQuery)}\"></div><div><label for=\"wholeCase\">Highlight an arrangement</label><select id=\"wholeCase\"><option value=\"\">Whole market structure</option>${qualifications.visual_cases.map(c=>`<option value=\"${esc(c.id)}\" ${wholeCase===c.id?'selected':''}>${esc(c.title)}</option>`).join('')}</select></div></div><div id=\"wholeResults\" aria-live=\"polite\"></div><div class=\"wh-routes\"><button class=\"liq-action\" data-room=\"routes\">Find legal routes &amp; players →</button><button class=\"liq-action\" data-room=\"journey\">Start with a transaction →</button><button class=\"liq-action\" data-room=\"books\">Walk the books →</button><button class=\"liq-action\" data-room=\"rights\">Start with steps &amp; rights →</button><a class=\"liq-action\" href=\"#infra-overview\">See the whole structure →</a><button class=\"liq-action\" data-wh-transaction>Follow the selected transaction →</button><button class=\"liq-action\" data-room=\"liquidity\">Explore liquidity →</button><button class=\"liq-action\" data-wh-directory>Full directory & coverage →</button><button class=\"liq-action\" data-wh-foundations>Legal foundations →</button></div><p class=\"wh-boundary\">This overview organizes the saved research. Layer placement is a navigation aid, not a license or proof that systems integrate. Highlighting follows explicit case membership or direct relationships.</p>${wholeConnections()}${infraMap()}<p><a href=\"#infra-top\" class=\"wh-link\">Back to search and overview ↑</a></p><h2>Follow a transaction through its working roles</h2><p>These supporting views connect the institutional picture to the saved arrangements. Company role leads remain unassessed until supported by a scoped finding.</p><nav class=\"wh-jumps\" aria-label=\"Market structure layers\">${data.market_overview.layers.map(l=>`<button data-wh-layer=\"${esc(l.id)}\">${esc(l.number)} · ${esc(l.title)}</button>`).join('')}</nav><div class=\"wh-stack\">${data.market_overview.layers.map(l=>wholeLayer(l,scope)).join('')}</div>`;wholeResults();\n}\nfunction wholeResults(){\n const target=document.getElementById('wholeResults');if(!target)return;if(!wholeQuery.trim()){target.innerHTML='';return;}\n const terms=wholeQuery.toLowerCase().trim().split(/\\s+/);const matches=wholeIndex().filter(x=>terms.every(t=>(x.label+' '+x.text+' '+(x.searchText||'')+' '+x.type).toLowerCase().includes(t)));\n const phrase=wholeQuery.toLowerCase().trim(),score=x=>Number(x.label.toLowerCase().includes(phrase))*10+terms.filter(t=>x.label.toLowerCase().includes(t)).length;matches.sort((a,b)=>score(b)-score(a));\n target.innerHTML=`<p><b>${matches.length} results</b> across maps, milestones, entries, roles, assessments, transaction steps, liquidity and sources</p><div class=\"wh-results\">${matches.slice(0,wholeLimit).map(x=>`<article><small>${esc(x.type)} · ${esc(x.status)}</small>${x.type==='source'?`<a href=\"${esc(data.sources.find(s=>s.id===x.id).url)}\" data-wh-source=\"${esc(x.id)}\">${esc(x.label)}</a>`:`<button class=\"wh-link\" data-wh-result=\"${esc(x.id)}\" data-wh-type=\"${esc(x.type)}\">${esc(x.label)} →</button>`}<p>${esc(x.text)}</p></article>`).join('')}</div>${matches.length>wholeLimit?`<button class=\"liq-action\" data-wh-more>Show more (${matches.length-wholeLimit} remaining)</button>`:''}`;\n}\nfunction wholeOpenLegal(mode){qualMode=mode;lvSelection=null;legalTab='qualifications';openCryptoRoom('legal');}\ndocument.addEventListener('input',e=>{if(e.target.id==='wholeSearch'){wholeQuery=e.target.value;wholeLimit=18;wholeResults();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='wholeCase'){wholeCase=e.target.value;wholeNode='';wholeEdge='';renderWhole();}});\ndocument.addEventListener('click',e=>{\n const jump=e.target.closest('[data-wh-layer]');if(jump)document.getElementById('wh-layer-'+jump.dataset.whLayer).scrollIntoView({block:'start'});\n const node=e.target.closest('[data-wh-node]');if(node){wholeNode=node.dataset.whNode;wholeEdge='';renderWhole();document.getElementById('wholeEntryFocus').focus({preventScroll:true});document.getElementById('wholeEntryFocus').scrollIntoView({block:'start'});}\n const role=e.target.closest('[data-wh-role]');if(role){qualFunction=role.dataset.whRole;wholeOpenLegal('role');}\n const player=e.target.closest('[data-wh-player]');if(player){qualActor=player.dataset.whPlayer;wholeOpenLegal('player');}\n const assessment=e.target.closest('[data-wh-assessment]');if(assessment){const r=qualifications.records.find(r=>r.id===assessment.dataset.whAssessment);qualActor=r.actor_id;wholeOpenLegal('player');lvShowDetail({kind:'record',id:r.id});}\n if(e.target.closest('[data-wh-foundations]')){legalTab='walk';openCryptoRoom('legal');}\n if(e.target.closest('[data-wh-clear]')){wholeNode='';wholeEdge='';renderWhole();}\n if(e.target.closest('[data-wh-more]')){wholeLimit+=18;wholeResults();}\n if(e.target.closest('[data-wh-directory]'))wholeOpenLegal('directory');\n if(e.target.closest('[data-wh-transaction]')){lvCase=wholeCase||qualifications.visual_cases[0].id;wholeOpenLegal('transaction');}\n const result=e.target.closest('[data-wh-result]');if(result){const id=result.dataset.whResult,type=result.dataset.whType;if(type==='member account'){lrDirectoryQuery=id;location.hash='routes-participation';}if(type==='legal pathway'){const r=data.legal_routes_map.routes.find(x=>x.id===id);location.hash='routes-'+r.function_ids[0];}if(type==='route player'){const r=data.legal_routes_map.routes.find(x=>x.player_ids.includes(id));if(r)location.hash='routes-'+r.function_ids[0]+'?player='+encodeURIComponent(id);}if(type==='transaction map'||type==='map milestone'){const [r,n]=id.split('|'),route=data.transaction_maps.routes.find(x=>x.id===r),node=n||route.nodes[0].id;location.hash='journey-'+r+'-'+node+'?overlay='+(route.overlay_nodes.some(x=>x.id===node)?'1':'0')+'&scenario=ordinary';}if(type==='books route'||type==='books step'){const [r,s]=id.split('|');location.hash='books-'+(r||id)+'-'+(s||data.books_hub.routes.find(x=>x.id===(r||id)).steps[0].id);}if(type==='rulebook'){renderWhole();const el=document.getElementById('infra-rule-'+id);el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(type==='access path'){renderWhole();const el=document.getElementById('infra-route-'+id);el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(type==='institution'){infraSelected=id;infraRelation='';renderWhole();document.getElementById('infraInspect').scrollIntoView({block:'start'});}if(type==='institutional connection'){infraSelected=data.infrastructure_map.edges.find(e=>e.id===id).from;infraRelation=data.infrastructure_map.edges.find(e=>e.id===id).verb;renderWhole();document.getElementById('infraInspect').scrollIntoView({block:'start'});}if(type==='entry'){wholeNode=id;wholeEdge='';renderWhole();}if(type==='role'){qualFunction=id;wholeOpenLegal('role');}if(type==='player'){qualActor=id;wholeOpenLegal('player');}if(type==='legal foundation'){legalTab='walk';legalStep=legal.steps.findIndex(s=>s.id===id);legalCase='';openCryptoRoom('legal');}if(type==='assessment'){const r=qualifications.records.find(r=>r.id===id);qualActor=r.actor_id;wholeOpenLegal('player');lvShowDetail({kind:'record',id});}if(type==='arrangement'){lvCase=id;wholeOpenLegal('transaction');}if(type==='liquidity route'){liqTab='routes';liqQuery=liquidity.routes.find(r=>r.id===id).title;openCryptoRoom('liquidity');}if(type==='liquidity layer'){liqTab='layers';openCryptoRoom('liquidity');const idx=liquidity.layers.findIndex(r=>r.id===id);document.querySelectorAll('#liqContent .liq-card')[idx]?.scrollIntoView({block:'center'});}if(type==='transaction step'){const [c,st,lane]=id.split('|');lvCase=c;wholeOpenLegal('transaction');lvShowDetail({kind:'cell',case:c,stage:st,lane});}if(type==='relationship'){wholeEdge=id;wholeNode=data.edges.find(e=>e.id===id).from;renderWhole();}}\n const source=e.target.closest('[data-wh-source]');if(source){e.preventDefault();const s=data.sources.find(s=>s.id===source.dataset.whSource);document.getElementById('wholeResults').innerHTML=`<button class=\"liq-action\" data-wh-backresults>Back to results</button><h3>${esc(s.label)}</h3>${sourceLinks([s.id])}`;}\n if(e.target.closest('[data-wh-backresults]'))wholeResults();\n});\n\n\nlet rightsRoute='securities',rightsOverlay=true,rightsFilter='all';\nfunction renderRights(){\n const hub=data.steps_rights_hub,r=hub.routes.find(r=>r.id===rightsRoute)||hub.routes[0];\n const rows=r.steps.filter(s=>!rightsOverlay||rightsFilter==='all'||s.status===rightsFilter);\n document.getElementById('rightsHub').classList.toggle('rights-base',!rightsOverlay);\n document.getElementById('rightsHub').innerHTML=`<span class=\"liq-kicker\">U.S. walkthroughs · checked ${esc(hub.cutoff)} · source versions shown below</span><h2>What happens—and what right changes?</h2><p class=\"rights-intro\">Read the current system first. Then compare the crypto function at the same step. Each card names the action, the person who can act, the right or obligation, the controlling record, and the evidence needed to call that step complete.</p><nav class=\"rights-route-nav\" aria-label=\"Choose a transaction\">${hub.routes.map(x=>`<button data-rights-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\">${esc(x.title)}</button>`).join('')}</nav><section class=\"rights-scope\"><h3>${esc(r.baseline)}</h3><p>${esc(r.scope)}</p><p class=\"wh-boundary\">${esc(r.clock)}</p></section><h3>Whose right are we following?</h3><ul class=\"rights-chain\">${r.chain.map(x=>`<li>${esc(x)}</li>`).join('')}</ul><p class=\"wh-boundary\">These relationships coexist. The numbered steps are a teaching sequence; postings, funding and legal rights can arise at different times or overlap. They are not a claim that every transaction follows one clock.</p><div class=\"rights-tools\"><label><input id=\"rightsOverlay\" type=\"checkbox\" ${rightsOverlay?'checked':''}> Show crypto comparison: ${esc(r.overlay)}</label>${rightsOverlay?`<label for=\"rightsFilter\">Focus <select id=\"rightsFilter\"><option value=\"all\">All steps</option>${hub.statuses.map(x=>`<option value=\"${esc(x.id)}\" ${rightsFilter===x.id?'selected':''}>${esc(x.label)}</option>`).join('')}</select></label>`:''}<button data-rights-copy>Copy evidence checklist</button><span id=\"rightsCopyStatus\" role=\"status\"></span></div>${rightsOverlay?`<div class=\"rights-legend\">${hub.statuses.map(x=>`<div><span class=\"rights-status ${esc(x.id)}\">${esc(x.label)}</span><p>${esc(x.meaning)}</p></div>`).join('')}</div><p class=\"wh-boundary\">“Continuing dependency” is not necessarily a defect crypto must remove. A technical ledger alone cannot grant a charter, create an issuer obligation or adjudicate a legal claim. “Outside reviewed design” is not a prediction that technology can never change.</p>`:''}<nav class=\"rights-jumps\" aria-label=\"Jump to a step\">${rows.map(s=>`<a href=\"#rights-${esc(r.id)}-${esc(s.id)}\">${r.steps.indexOf(s)+1}. ${esc(s.title)}</a>`).join('')}</nav><p role=\"status\" class=\"wh-count\">Showing ${rows.length} of ${r.steps.length} steps${rightsFilter!=='all'&&rightsOverlay?' · filtered; choose All steps to restore the full route':''}. All main findings and evidence questions are visible.</p>${rows.length?rows.map(s=>{const st=hub.statuses.find(x=>x.id===s.status);return `<article class=\"rights-card\" id=\"rights-${esc(r.id)}-${esc(s.id)}\" tabindex=\"-1\"><header><span class=\"rights-num\">${r.steps.indexOf(s)+1}</span><h3>${esc(s.title)}</h3></header><div class=\"rights-columns\"><section class=\"rights-cell\"><h4>Current system · action</h4><p>${esc(s.action)}</p><dl><dt>Who can act</dt><dd>${esc(s.actors)}</dd></dl><p class=\"rights-proof\"><strong>Completion evidence</strong><br>${esc(s.proof)}</p><div class=\"rights-evidence\">${sourceLinks(s.baseline_sources)}</div>${s.source_note?`<p class=\"wh-boundary\">${esc(s.source_note)}</p>`:''}</section><section class=\"rights-cell\"><h4>Rights &amp; obligations</h4><p>${esc(s.right)}</p><dl><dt>Controlling record / receipt</dt><dd>${esc(s.record)}</dd></dl></section><section class=\"rights-cell rights-crypto\"><h4>${esc(r.overlay)} · at this step</h4><span class=\"rights-status ${esc(s.status)}\">${esc(st.label)}</span><p>${esc(s.crypto)}</p><p><strong>What remains</strong><br>${esc(s.gap)}</p><p class=\"rights-proof\"><strong>Next evidence to obtain</strong><br>${esc(s.needed)}</p><div class=\"rights-evidence\">${sourceLinks(s.crypto_sources)}</div></section></div><footer><button data-rights-legal=\"${esc(s.legal_step_id)}\">Related legal question →</button></footer></article>`;}).join(''):'<p class=\"rights-empty\">No steps have this classification in the selected route. Choose All steps to see the complete workflow.</p>'}<div class=\"rights-tools\"><button data-room=\"overview\">Who has authority? →</button><button data-room=\"map\">Explore crypto research →</button><button data-room=\"liquidity\">Follow funding constraints →</button></div>`;\n}\ndocument.addEventListener('click',async e=>{\n const r=e.target.closest('[data-rights-route]');if(r){setHubRoute(r.dataset.rightsRoute,false);rightsFilter='all';history.replaceState(null,'','#rights-'+rightsRoute);renderRights();}\n const l=e.target.closest('[data-rights-legal]');if(l){legalTab='walk';legalStep=legal.steps.findIndex(s=>s.id===l.dataset.rightsLegal);legalCase='';openCryptoRoom('legal');document.getElementById('legalStepHeading')?.focus();}\n if(e.target.closest('[data-rights-copy]')){const r=data.steps_rights_hub.routes.find(r=>r.id===rightsRoute);const text=[r.title,r.scope,r.clock,...r.steps.map((s,i)=>`${i+1}. ${s.title}\\nCurrent action: ${s.action}\\nWho acts: ${s.actors}\\nRights: ${s.right}\\nRecord: ${s.record}\\nEvidence: ${s.proof}\\nCrypto: ${s.crypto}\\nRemaining: ${s.gap}\\nNext evidence: ${s.needed}\\nSources: ${[...new Set([...s.baseline_sources,...s.crypto_sources])].map(id=>{const x=sourcesById.get(id);return x.label+' — '+x.url;}).join('\\n')}`)].join('\\n\\n');try{await navigator.clipboard.writeText(text);document.getElementById('rightsCopyStatus').textContent='Full route checklist copied, including sources.';}catch{document.getElementById('rightsCopyStatus').textContent='Clipboard unavailable. Select and copy the visible route text.';}}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='rightsOverlay'){rightsOverlay=e.target.checked;renderRights();}if(e.target.id==='rightsFilter'){rightsFilter=e.target.value;renderRights();}});\n\n","next_section_id":"s00030","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00029.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00030.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00029.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00030.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00029.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00030.json"},{"section_id":"s00030","ordinal":30,"label":"Section 30 (continued)","source_page":null,"start_character":372789,"end_character":383930,"start_line":2112,"end_line":2149,"text":"\n\nlet journeyRoute='securities',journeySelected='order',journeyOverlay=false,journeyScenario='ordinary',journeyZoom='100';\nfunction journeyData(){return data.transaction_maps.routes.find(r=>r.id===journeyRoute);}\nfunction journeyNodes(){const p=journeyData();return p.nodes.concat(journeyOverlay?p.overlay_nodes:[]);}\nfunction journeyHash(){return '#journey-'+journeyRoute+'-'+journeySelected+'?overlay='+(journeyOverlay?'1':'0')+'&scenario='+encodeURIComponent(journeyScenario);}\nfunction journeyCommit(){history.replaceState(null,'',journeyHash());renderJourney();}\nfunction journeySvg(){\n const p=journeyData(),lanes=p.lanes.concat(journeyOverlay?p.overlay_lanes:[]),nodes=journeyNodes(),links=p.connections.concat(journeyOverlay?p.overlay_connections:[]),xy=n=>({x:160+n.col*190,y:64+n.row*62}),height=78+lanes.length*62,sc=p.scenarios.find(x=>x.id===journeyScenario);\n const colors={instruction:'#8bbfe6',securities:'#b9a7e6',money:'#e3c66f',record:'#8cb4a7',token:'#64d7df'};\n return `<svg class=\"j-map\" style=\"width:${journeyZoom}%\" viewBox=\"0 0 1130 ${height}\" role=\"group\" aria-label=\"${esc(p.title)}: complete mapped route; select any milestone.\"><defs>${Object.entries(colors).map(([k,c])=>`<marker id=\"j-arrow-${k}\" markerWidth=\"7\" markerHeight=\"7\" refX=\"6\" refY=\"3\" orient=\"auto\"><path d=\"M0,0 L6,3 L0,6\" fill=\"${c}\"/></marker>`).join('')}</defs>${p.phases.map((x,i)=>`<text class=\"j-phase\" x=\"${230+i*190}\" y=\"25\" text-anchor=\"middle\">${esc(x)}</text>`).join('')}${lanes.map((x,i)=>`<rect x=\"0\" y=\"${43+i*62}\" width=\"1130\" height=\"62\" fill=\"${i>=p.lanes.length?'#203733':i%2?'#172a35':'#13232d'}\"/>${i===p.lanes.length?`<line x1=\"0\" y1=\"${43+i*62}\" x2=\"1130\" y2=\"${43+i*62}\" stroke=\"#8bcbb7\" stroke-dasharray=\"6 4\"/>`:''}<text class=\"j-lane\" x=\"12\" y=\"${78+i*62}\">${esc(x)}</text>`).join('')}${links.map(e=>{const a=xy(nodes.find(n=>n.id===e.from_id)),b=xy(nodes.find(n=>n.id===e.to_id));let x1=a.x+150,y1=a.y+18,x2=b.x,y2=b.y+18;if(a.x===b.x){x1=a.x+75;x2=b.x+75;y1=a.y+(b.y>a.y?36:0);y2=b.y+(b.y>a.y?0:36);}if(e.id==='money'){x1=a.x+75;y1=a.y+36;x2=b.x;y2=b.y+18;}return `<path d=\"M${x1},${y1} L${x2},${y2}\" stroke=\"${colors[e.kind]}\" stroke-width=\"1.6\" fill=\"none\" ${e.kind==='record'?'stroke-dasharray=\"4 3\"':''} ${e.kind!=='record'?`marker-end=\"url(#j-arrow-${e.kind})\"`:''}/><text class=\"j-edge-label\" x=\"${(x1+x2)/2}\" y=\"${y1===y2?a.y-7:(y1+y2)/2-5}\" text-anchor=\"middle\">${esc(e.label)}</text>`;}).join('')}${nodes.map(n=>{const a=xy(n),over=journeyOverlay&&n.overlay_role==='specified',gap=(journeyOverlay&&n.overlay_role==='dependency')||(sc?.node_id===n.id);return `<g class=\"j-node ${over?'j-overlay':''} ${gap?'j-gap':''}\" role=\"button\" tabindex=\"0\" data-journey-node=\"${esc(n.id)}\" aria-pressed=\"${journeySelected===n.id}\" aria-label=\"${esc(n.label.join(' '))}\"><rect x=\"${a.x}\" y=\"${a.y}\" width=\"150\" height=\"36\" rx=\"7\"/>${n.label.map((t,i)=>`<text class=\"j-label\" x=\"${a.x+75}\" y=\"${a.y+(n.label.length===1?23:14+i*14)}\" text-anchor=\"middle\">${esc(t)}</text>`).join('')}</g>`;}).join('')}<text x=\"15\" y=\"${height-12}\" font-size=\"10\">${journeyOverlay?'The lower lane is a separate comparison detail—not an automatic continuation of the conventional transaction.':'Arrows identify instructions or obligations. Dashed lines connect records and rights; they do not prescribe timing.'}</text></svg>`;\n}\nfunction renderJourney(){\n const active=document.activeElement;let restore='';\n if(active&&document.getElementById('journeyHub').contains(active)){\n  if(active.id)restore='#'+CSS.escape(active.id);\n  else for(const attr of ['data-journey-route','data-journey-node','data-journey-prev','data-journey-next','data-journey-restart','data-journey-normal','data-journey-scenario-focus'])if(active.hasAttribute(attr)){restore='['+attr+'=\"'+CSS.escape(active.getAttribute(attr))+'\"]';break;}\n }\n const p=journeyData(),ns=journeyNodes();if(!ns.some(n=>n.id===journeySelected))journeySelected=p.nodes[0].id;\n const n=ns.find(n=>n.id===journeySelected),r=data.steps_rights_hub.routes.find(r=>r.id===p.id),base=r.steps.find(s=>s.id===n.step_ref),walk=p.nodes.filter(n=>!n.context),i=walk.findIndex(x=>x.id===n.id),scenario=p.scenarios.find(x=>x.id===journeyScenario),v=scenario?.node_id===n.id?scenario:n,extra=p.overlay_nodes.some(x=>x.id===n.id);\n document.getElementById('journeyHub').innerHTML=`<div class=\"j-top\"><div><h2>Transaction maps</h2><p class=\"j-note\">U.S. routes · evidence through ${esc(data.transaction_maps.cutoff)}</p></div><a href=\"#infra-overview\">See the wider system →</a> <a href=\"#books\">See the books →</a></div><nav class=\"j-route-nav\" aria-label=\"Choose a transaction map\">${data.transaction_maps.routes.map(x=>`<button data-journey-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===p.id}\"><b>${esc(x.title)}</b><small>Compare ${esc(x.overlay_name)}</small></button>`).join('')}</nav><h3 class=\"j-route-title\">${esc(p.subtitle)}</h3><p class=\"j-note\">${esc(p.scope)}</p><div class=\"j-tools\"><label>Scenario <select id=\"journeyScenario\"><option value=\"ordinary\" ${journeyScenario==='ordinary'?'selected':''}>Ordinary route</option>${p.scenarios.map(x=>`<option value=\"${esc(x.id)}\" ${journeyScenario===x.id?'selected':''}>${esc(x.title)}</option>`).join('')}</select></label><label><input type=\"checkbox\" id=\"journeyOverlay\" ${journeyOverlay?'checked':''}> Compare ${esc(p.overlay_name)}</label><button data-journey-restart>Start walkthrough</button><label>Map size <select id=\"journeyZoom\">${[100,125,150].map(z=>`<option value=\"${z}\" ${journeyZoom===String(z)?'selected':''}>${z===100?'Fit':z+'%'}</option>`).join('')}</select></label></div><div class=\"j-legend\"><span style=\"--edge:#8bbfe6\">Instruction / condition</span><span style=\"--edge:#b9a7e6\">Securities obligation</span><span style=\"--edge:#e3c66f\">Money obligation / payment</span><span style=\"--edge:#8cb4a7\">Record / rights relationship · dashed</span>${journeyOverlay?'<span style=\"--edge:#64d7df\">Token movement · separate from bank payout</span>':''}</div>${journeyOverlay?`<p class=\"j-overlay-key\">Lower lane: ${esc(p.overlay_name)} comparison. Green = specified function; dashed amber = separate dependency; gold = selection.</p>`:''}<p class=\"j-current\" aria-live=\"polite\"><b>${esc(v.title||n.label.join(' '))}:</b> ${esc(v.explain)}</p><div class=\"j-mapwrap\">${journeySvg()}</div>${journeyOverlay?`<aside class=\"j-footprint\"><b>${esc(p.overlay_name)} · footprint</b><p>${esc(p.footprint)}</p><small>Green: bounded specified function. Dashed amber: a separate dependency or missing evidence. Gold: selected milestone. Select the lower-lane boxes to inspect the digital route.</small></aside>`:''}<div class=\"j-context\"><span>Governing context:</span><a href=\"#infra-authority\">Who authorizes the actors?</a><a href=\"#rights-${esc(p.id)}\">Exact rights &amp; conditions</a><a href=\"#infra-rulebooks\">System rulebooks</a><a href=\"#liquidity\">Funding constraints</a></div>${scenario?`<aside class=\"j-warning\"><b>Exception branch · ${esc(scenario.title)}</b><p>${esc(scenario.after)}</p><button data-journey-scenario-focus>Inspect the affected milestone →</button><button data-journey-normal>Return to ordinary route</button></aside>`:''}<div class=\"j-controls\"><button data-journey-prev ${i<=0?'disabled':''}>← Previous</button><span class=\"j-progress\">${extra?'Digital comparison detail':n.context?'Continuing legal / record context':`Milestone ${i+1} of ${walk.length}`} · ${esc(n.label.join(' '))}</span><button data-journey-next ${i<0||i===walk.length-1?'disabled':''}>Next →</button></div><section class=\"j-inspector\" aria-live=\"polite\"><div><h3>${esc(v.title||n.label.join(' '))}</h3><p>${esc(v.explain)}</p><div class=\"j-change\"><article><h4>Before</h4><p>${esc(v.before)}</p></article><article><h4>After / required result</h4><p>${esc(v.after)}</p></article></div></div><div>${journeyOverlay?`<div class=\"j-crypto\"><h4>${esc(p.overlay_name)} at this point</h4><p>${esc(v.overlay)}</p></div>`:'<h4>Who acts, and what proves it?</h4>'}<p><b>Actors:</b> ${esc(base.actors)}</p><p><b>Record:</b> ${esc(base.record)}</p><p><b>Evidence to check:</b> ${esc(base.proof)}</p><a href=\"#rights-${esc(p.id)}-${esc(base.id)}\">Read exact rights, conditions and gaps →</a><details><summary>Sources and dated evidence</summary><p class=\"j-note\">${esc(r.clock)}</p><div class=\"j-source-links\">${sourceLinks([...new Set([...base.baseline_sources,...(journeyOverlay?p.overlay_sources:[])])])}</div>${base.source_note?`<p class=\"j-note\">${esc(base.source_note)}</p>`:''}</details></div></section><p class=\"j-note\"><b>Timing:</b> ${esc(p.timing)}</p><p class=\"j-note\">${esc(p.boundary)}</p><section class=\"j-coverage\"><h3>Continue exploring</h3><p>These maps cover the three researched walkthroughs. The wider library includes more systems; a saved role is not yet a complete transaction route.</p><div class=\"j-tools\"><button data-room=\"overview\">Institutional map →</button><button data-room=\"map\">All crypto research →</button><button data-room=\"rights\">Detailed steps &amp; rights →</button></div><details><summary>Routes still to map</summary><ul>${data.transaction_maps.unmapped.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></details></section>`;\n if(restore)document.querySelector(restore)?.focus({preventScroll:true});\n}\nfunction journeySelect(id){journeySelected=id;journeyCommit();}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-journey-route]');if(route){setHubRoute(route.dataset.journeyRoute,false);journeySelected=journeyData().nodes[0].id;journeyScenario='ordinary';journeyCommit();return;}\n const b=e.target.closest('[data-journey-node]');if(b)journeySelect(b.dataset.journeyNode);\n const p=journeyData(),ns=p.nodes.filter(n=>!n.context),i=ns.findIndex(n=>n.id===journeySelected);\n if(e.target.closest('[data-journey-next]')&&i>=0&&i<ns.length-1)journeySelect(ns[i+1].id);\n if(e.target.closest('[data-journey-prev]')&&i>0)journeySelect(ns[i-1].id);\n if(e.target.closest('[data-journey-restart]')){journeyScenario='ordinary';journeySelect(ns[0].id);}\n if(e.target.closest('[data-journey-normal]')){journeyScenario='ordinary';journeyCommit();}\n if(e.target.closest('[data-journey-scenario-focus]')){const sc=p.scenarios.find(s=>s.id===journeyScenario);if(sc)journeySelect(sc.node_id);}\n});\ndocument.addEventListener('keydown',e=>{const b=e.target.closest('[data-journey-node]');if(b&&['Enter',' '].includes(e.key)){e.preventDefault();journeySelect(b.dataset.journeyNode);document.querySelector(`[data-journey-node=\"${journeySelected}\"]`)?.focus();}});\ndocument.addEventListener('change',e=>{if(e.target.id==='journeyZoom'){journeyZoom=e.target.value;renderJourney();}if(e.target.id==='journeyOverlay'){journeyOverlay=e.target.checked;const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc?.requires_overlay&&!journeyOverlay)journeyScenario='ordinary';if(!journeyNodes().some(n=>n.id===journeySelected))journeySelected=journeyData().nodes[0].id;journeyCommit();}if(e.target.id==='journeyScenario'){journeyScenario=e.target.value;const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc){journeySelected=sc.node_id;if(sc.requires_overlay)journeyOverlay=true;}journeyCommit();}});\n\n","next_section_id":"s00031","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00030.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00031.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00030.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00031.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00030.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00031.json"},{"section_id":"s00031","ordinal":31,"label":"Section 31 (continued)","source_page":null,"start_character":383930,"end_character":395934,"start_line":2149,"end_line":2189,"text":"\nlet lrFunction='recordkeeping',lrPlayer='',lrFind='';\nlet lrDirectoryQuery='';\nfunction lrSources(ids){return `<div class=\"lr-sources\">${sourceLinks(ids)}</div>`;}\nfunction lrStatus(p){return data.legal_routes_map.statuses.find(s=>s.id===p.status)?.label||p.status;}\nfunction lrAssignmentStatus(a){return ({verified:'Primary record checked',dated:'Dated evidence',conditional:'Conditional scope',lead:'Research lead'})[a.status];}\nfunction lrPlayerCard(p,r){const a=(data.legal_routes_map.assignments||[]).find(x=>x.route_id===r.id&&x.player_id===p.id);return `<article class=\"lr-player\"><button data-lr-player=\"${esc(p.id)}\">${esc(p.label)} →</button><br>${a?`<p><b>Capacity on this route:</b> ${esc(a.capacity)}</p><span class=\"lr-status\">${esc(lrAssignmentStatus(a))}</span><p>${esc(a.evidence)}</p>${lrSources(a.source_ids)}`:''}<span class=\"lr-status ${esc(p.status)}\">${esc(lrStatus(p))}</span><p><b>Entity evidence:</b> ${esc(p.evidence)}</p><p><b>Still required:</b> ${esc(p.remaining)}</p>${lrSources(p.source_ids)}</article>`;}\nfunction lrEntitySummary(routes){const rows=(data.legal_routes_map.assignments||[]).filter(a=>routes.some(r=>r.id===a.route_id));if(!rows.length)return '';return `<section class=\"lr-unmapped\"><h4>Who fills which capacity?</h4><p>These are sourced examples, not the complete membership or eligibility universe. “Primary record checked” describes the evidence check, not approval for your transaction.</p><div style=\"overflow-x:auto\"><table><thead><tr><th>Exact entity</th><th>Capacity</th><th>Evidence</th></tr></thead><tbody>${rows.map(a=>{const p=data.legal_routes_map.players.find(x=>x.id===a.player_id);return `<tr><td><button data-lr-player=\"${esc(p.id)}\">${esc(p.label)} →</button></td><td>${esc(a.capacity)}</td><td>${esc(lrAssignmentStatus(a))}</td></tr>`;}).join('')}</tbody></table></div></section>`;}\n\nfunction lrDirectoryRows(){const d=data.legal_routes_map.participation_directory;if(!d)return '';const rows=d.rows.filter(r=>(r.name+' '+r.id+' '+r.services).toLowerCase().includes(lrDirectoryQuery.toLowerCase()));return `<p>${rows.length} of ${d.rows.length} member/account rows shown · effective ${esc(d.as_of)}</p><div style=\"max-height:400px;overflow:auto\"><table><thead><tr><th>Member/account number</th><th>Publisher’s member/account name</th><th>Listed services</th></tr></thead><tbody>${rows.map(r=>`<tr><td>${esc(r.id)}</td><td>${esc(r.name)}</td><td>${esc(r.services)}</td></tr>`).join('')}</tbody></table></div>`;}\nfunction lrDirectory(){const d=data.legal_routes_map.participation_directory;if(lrFunction!=='participation'||!d)return '';return `<section class=\"lr-unmapped\"><h4>Search the full public GSD directory snapshot</h4><p>${esc(d.boundary)}</p><label for=\"lrDirectorySearch\">Member, account number or listed service</label><input id=\"lrDirectorySearch\" type=\"search\" placeholder=\"Try JPMorgan, Hidden Road, Netting…\" value=\"${esc(lrDirectoryQuery)}\"><div id=\"lrDirectoryRows\">${lrDirectoryRows()}</div>${lrSources([d.source_id])}</section>`;}\nfunction renderLegalRoutes(){\n const m=data.legal_routes_map,f=qualifications.functions.find(x=>x.id===lrFunction),routes=m.routes.filter(r=>r.function_ids.includes(lrFunction)),playerIds=new Set(routes.flatMap(r=>r.player_ids)),focus=m.players.find(p=>p.id===lrPlayer),records=qualifications.records.filter(r=>r.function_id===lrFunction);\n document.getElementById('legalRoutesHub').innerHTML=`<span class=\"liq-kicker\">U.S. legal routes · research assembled ${esc(m.cutoff)}</span><h2>What permits this role—and who has the evidence?</h2><p class=\"lr-explainer\">Choose the legal function first. Follow the applicable branch, check its conditions, then inspect the exact entity. Registration, a documented service role and an appointment to your arrangement answer different questions.</p><div class=\"lr-sequence\"><span>1 · Function needed</span>→<span>2 · Legal pathway</span>→<span>3 · Conditions to satisfy</span>→<span>4 · Named entity &amp; evidence</span>→<span>5 · Arrangement still to establish</span></div><p class=\"lr-count\">${m.routes.length} mapped pathways · ${m.players.length} named evidence profiles · ${qualifications.functions.length} functions visible. Every function has its own applicability test. Eligible categories describe who may qualify; named profiles show the evidence recovered so far.</p><div class=\"lr-layout\"><nav class=\"lr-functions\" aria-label=\"Choose a legal function\"><label for=\"lrFind\">Find a function</label><input id=\"lrFind\" type=\"search\" placeholder=\"Record, custody, clear…\" value=\"${esc(lrFind)}\">${qualifications.functions.map(x=>{const rs=m.routes.filter(r=>r.function_ids.includes(x.id)),count=rs.length,named=new Set(rs.flatMap(r=>r.player_ids)).size;return `<button ${(x.display_title+' '+x.question).toLowerCase().includes(lrFind.toLowerCase())?'':'hidden'} data-lr-function=\"${esc(x.id)}\" aria-pressed=\"${x.id===f.id}\">${esc(x.display_title)}<small>${count?count+' pathway'+(count===1?'':'s')+' · '+named+' named profile'+(named===1?'':'s'):'Route mapping still needed'}</small></button>`;}).join('')}</nav><div><header class=\"lr-role-header\"><h3>${esc(f.display_title)}</h3><p>${esc(f.question)}</p><p><b>Qualification test:</b> ${esc(f.qualification_check)}</p></header>${focus?`<section class=\"lr-focus\" id=\"legalEntityFocus\" tabindex=\"-1\"><button data-lr-close>Close entity detail</button><h3>${esc(focus.label)}</h3><span class=\"lr-status ${esc(focus.status)}\">${esc(lrStatus(focus))}</span><div class=\"lr-focus-grid\"><div><h4>Evidence for the entity</h4><p>${esc(focus.evidence)}</p>${lrSources(focus.source_ids)}</div><div><h4>Related pathways in this map</h4><div class=\"lr-research-links\">${m.routes.filter(r=>r.player_ids.includes(focus.id)).map(r=>`<button data-lr-function=\"${esc(r.function_ids[0])}\">${esc(r.label)} →</button>`).join('')}</div><h4>Appointment to an arrangement</h4><p>${esc(focus.appointment)}</p><h4>Remaining requirements</h4><p>${esc(focus.remaining)}</p>${focus.actor_ref?`<button data-lr-profile=\"${esc(focus.actor_ref)}\">Existing role research →</button>`:''}</div></div></section>`:''}<p class=\"lr-count\">${routes.length} pathways for this function · ${playerIds.size} distinct named profiles. Branches depend on the activity and entity; they are not interchangeable options.</p>${lrEntitySummary(routes)}${lrDirectory()}<div class=\"lr-branches\">${routes.map((r,i)=>`<section class=\"lr-branch\" id=\"lr-route-${esc(r.id)}\"><div class=\"lr-path\"><span class=\"lr-state\">PATH ${i+1} · ${r.state==='proposed'?'PROPOSED · NO CURRENT PERMISSION':'MAPPED LEGAL / CONTRACTUAL PATH'}</span><h4>${esc(r.label)}</h4><p><b>Applies when:</b> ${esc(r.trigger)}</p><p><b>Legal basis:</b> ${esc(r.basis)}</p>${r.eligible_categories?.length?`<h4>Who can use this route?</h4><ul>${r.eligible_categories.map(c=>`<li>${esc(c)}</li>`).join('')}</ul>`:''}<h4>Conditions to satisfy</h4><ol>${r.conditions.map(c=>`<li>${esc(c)}</li>`).join('')}</ol><p class=\"lr-limit\">${esc(r.limit)}</p>${lrSources(r.source_ids)}</div><div class=\"lr-players\"><h4>Named entities with relevant evidence</h4>${r.player_ids.length?r.player_ids.map(id=>lrPlayerCard(m.players.find(p=>p.id===id),r)).join(''):`<div class=\"lr-empty\">${r.state==='proposed'?'This proposal qualifies no entity.':'No named player has been assessed against this pathway here. The pathway is mapped; its player evidence is still missing.'}</div>`}</div></section>`).join('')||`<div class=\"lr-empty\"><h4>The legal routes for this function still need mapping</h4><p>${esc(f.qualification_check)}</p><p>This is an explicit research gap, not a finding that no legal route or eligible player exists.</p></div>`}</div><section class=\"lr-unmapped\"><h4>Related saved role assessments · not automatic qualification</h4><p>${records.length} saved assessment${records.length===1?'':'s'} for this function. These can include proposals, outside-role findings and foreign examples; the original scope remains controlling.</p><div class=\"lr-research-links\">${records.map(r=>{const a=qualifications.actors.find(x=>x.id===r.actor_id);return `<button data-wh-assessment=\"${esc(r.id)}\">${esc(a.label)} · ${esc(qualifications.statuses.find(x=>x.id===r.status).label)} →</button>`;}).join('')||'<span>No scoped actor assessment saved.</span>'}</div></section><div class=\"lr-research-links\"><button data-room=\"journey\">See roles work together in a transaction →</button><button data-room=\"overview\">Wider institutional map →</button></div></div></div><p class=\"lr-count\">${esc(m.scope)} Technology does not substitute for entity identity, powers, registration, service admission or a required appointment. The current-status labels describe the cited evidence, not a compliance certification.</p>`;\n}\ndocument.addEventListener('click',e=>{const f=e.target.closest('[data-lr-function]');if(f){lrFunction=f.dataset.lrFunction;lrPlayer='';history.replaceState(null,'','#routes-'+lrFunction);renderLegalRoutes();}const p=e.target.closest('[data-lr-player]');if(p){lrPlayer=p.dataset.lrPlayer;history.replaceState(null,'','#routes-'+lrFunction+'?player='+encodeURIComponent(lrPlayer));renderLegalRoutes();const el=document.getElementById('legalEntityFocus');el.focus({preventScroll:true});el.scrollIntoView({block:'center'});}if(e.target.closest('[data-lr-close]')){lrPlayer='';history.replaceState(null,'','#routes-'+lrFunction);renderLegalRoutes();}const profile=e.target.closest('[data-lr-profile]');if(profile){qualActor=profile.dataset.lrProfile;wholeOpenLegal('player');}});\ndocument.addEventListener('input',e=>{if(e.target.id==='lrDirectorySearch'){lrDirectoryQuery=e.target.value;document.getElementById('lrDirectoryRows').innerHTML=lrDirectoryRows();}if(e.target.id==='lrFind'){lrFind=e.target.value;document.querySelectorAll('.lr-functions [data-lr-function]').forEach(b=>{const f=qualifications.functions.find(x=>x.id===b.dataset.lrFunction);b.hidden=!(f.display_title+' '+f.question).toLowerCase().includes(lrFind.toLowerCase());});}});\n\nlet walkRoute='securities';\nfunction walkBooks(routeId,stepId){\n const r=data.books_hub.routes.find(x=>x.id===routeId),s=r&&r.steps.find(x=>x.id===stepId);\n if(!s)return '';\n const cards=[...s.entries,...(s.overlay_entries||[])].filter(e=>e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n if(!cards.length)return '';\n return `<details><summary>T-accounts for this step</summary>${cards.map(e=>`<p><b>${esc(e.entity_label)}</b> · ${e.occupant==='unnamed'?'unnamed':esc(e.occupant)}</p><div class=\"wk-t\"><div><b>Debit</b>${esc(e.debit)}</div><div><b>Credit</b>${esc(e.credit)}</div></div><p class=\"wk-empty\">${esc(e.role_performed)}</p>`).join('')}</details>`;\n}\nfunction renderWalk(){\n const hub=data.process_walk,r=hub.routes.find(x=>x.id===walkRoute)||hub.routes[0];\n history.replaceState(null,'','#walk-'+r.id);\n document.getElementById('walkHub').innerHTML=`<p class=\"wk-empty\">${esc(hub.cutoff)}</p><h2>${esc(hub.title)}</h2><p class=\"wk-intro\">${esc(hub.subtitle)}</p><p class=\"wk-test\">${esc(hub.test)}</p>\n<nav class=\"wk-tabs\" aria-label=\"Choose a process\">${hub.routes.map(x=>`<button data-walk-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\">${esc(x.tab)}</button>`).join('')}</nav>\n<p><b>${esc(r.title)}</b></p><p class=\"wk-empty\">${esc(r.today)}</p><p class=\"wk-empty\">Overlay: ${esc(r.overlay_name)}</p>\n${r.steps.map((s,i)=>`<section class=\"wk-step\" id=\"walk-${esc(r.id)}-${esc(s.id)}\"><div class=\"wk-n\">${String(i+1).padStart(2,'0')}</div><h3>${esc(s.title)}</h3><p>${esc(s.what)}</p>\n<table class=\"wk-table\"><thead><tr><th>Seat</th><th>Today</th><th>Crypto overlap</th><th>Took the books?</th></tr></thead><tbody>${s.seats.map(row=>`<tr><td>${esc(row.seat)}</td><td>${esc(row.today)}</td><td>${esc(row.overlap)}</td><td class=\"wk-no\">${esc(row.overtake)}</td></tr>`).join('')}</tbody></table>\n${walkBooks(r.id,s.id)}</section>`).join('')}`;\n}\ndocument.addEventListener('click',e=>{\n const wr=e.target.closest('[data-walk-route]');if(wr){setHubRoute(wr.dataset.walkRoute,false);renderWalk();window.scrollTo({top:0});}\n});\n\n","next_section_id":"s00032","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00031.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00032.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00031.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00032.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00031.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00032.json"},{"section_id":"s00032","ordinal":32,"label":"Section 32 (continued)","source_page":null,"start_character":395934,"end_character":403162,"start_line":2189,"end_line":2243,"text":"let booksRoute='securities',booksStep='access',booksOverlay=false,booksMoved=false,booksDirQuery='';\nfunction booksData(){return data.books_hub.routes.find(r=>r.id===booksRoute)||data.books_hub.routes[0];}\nfunction booksHash(){return 'books-'+booksRoute+'-'+booksStep+'?overlay='+(booksOverlay?'1':'0')+'&moved='+(booksMoved?'1':'0');}\nfunction booksMoney(n){return new Intl.NumberFormat('en-US',{style:'currency',currency:'USD',maximumFractionDigits:0}).format(n);}\nfunction booksKind(id){return data.books_hub.book_kinds.find(k=>k.id===id);}\nfunction booksOccupant(e){\n if(e.occupant==='unnamed')return `<p class=\"bk-empty\">Occupant: unnamed — not a finding that the seat is empty</p>`;\n const st=({verified:'Sourced process office / primary record',dated:'Dated appointment or disclosure',conditional:'Conditional / design-limited',example:'Sourced example — not this teaching party',lead:'Research lead'})[e.occupant_status]||e.occupant_status;\n return `<p><b>Occupant:</b> ${esc(e.occupant)}</p><span class=\"bk-kind ${e.occupant_status==='verified'?'fiduciary':e.occupant_status==='conditional'?'memo':'none'}\">${esc(st)}</span>${e.occupant_boundary?`<p class=\"bk-empty\">${esc(e.occupant_boundary)}</p>`:''}${e.occupant_source_ids?`<div class=\"bk-jumps\">${sourceLinks(e.occupant_source_ids)}</div>`:''}`;\n}\nfunction booksDirectory(){\n const dirs=Object.values(data.books_hub.current_directories||{}).filter(x=>x.shown_on==='securities-'+booksStep);\n if(!dirs.length)return '';\n const q=booksDirQuery.toLowerCase();\n return dirs.map((d,i)=>{\n  const rows=d.rows.filter(r=>(r.name+' '+(r.aba||'')+' '+r.id+' '+(r.services||'')).toLowerCase().includes(q));\n  const extra=d.rows[0]&&d.rows[0].aba?'<th>ABA</th>':'';\n  const svc=d.rows[0]&&d.rows[0].services?'<th>Directory services</th>':'';\n  return `<section class=\"bk-overlay\"><h3>${esc(d.title)}</h3><p class=\"bk-empty\">${esc(d.boundary)} Snapshot ${esc(d.as_of)} · ${d.rows.length} rows.</p>${i===0?`<label>Find <input id=\"booksDirSearch\" type=\"search\" value=\"${esc(booksDirQuery)}\" placeholder=\"Bank, ABA, member, flag…\"></label>`:''}<p class=\"bk-empty\">${rows.length} shown</p><div style=\"max-height:280px;overflow:auto\"><table><thead><tr><th>Name</th><th>Number</th>${extra}${svc}</tr></thead><tbody>${rows.map(r=>`<tr><td>${esc(r.name)}</td><td>${esc(r.id)}</td>${r.aba?`<td>${esc(r.aba)}</td>`:''}${r.services?`<td>${esc(r.services)}</td>`:''}</tr>`).join('')}</tbody></table></div></section>`;\n }).join('');\n}\nfunction booksCard(e){\n const kind=booksKind(e.book_kind);\n const idle=e.book_kind==='none'||e.book_kind==='memo';\n return `<article class=\"bk-card\"><span class=\"bk-kind ${esc(e.book_kind)}\">${esc(kind.label)}</span>${e.process_office?'<span class=\"bk-office\"> Process office</span>':''}<h4>${esc(e.entity_label)}</h4>${booksOccupant(e)}${idle?'':`<div class=\"bk-t\"><div><b>Debit</b>${esc(e.debit)}</div><div><b>Credit</b>${esc(e.credit)}</div></div>`}<p><b>Role this entry performs:</b> ${esc(e.role_performed)}</p>${e.note?`<p>${esc(e.note)}</p>`:''}</article>`;\n}\nfunction renderBooks(){\n const hub=data.books_hub,r=booksData();\n if(!r.steps.some(s=>s.id===booksStep))booksStep=r.steps[0].id;\n const step=r.steps.find(s=>s.id===booksStep);\n const money=booksMoney(r.amount);\n const ordinary=step.entries.filter(e=>!booksMoved||e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n const overlay=(step.overlay_entries||[]).filter(e=>!booksMoved||e.book_kind==='proprietary'||e.book_kind==='fiduciary');\n history.replaceState(null,'','#'+booksHash());\n document.getElementById('booksHub').innerHTML=`<span class=\"liq-kicker\">U.S. teaching books · ${esc(hub.cutoff)} · occupants unnamed</span><h2>${esc(hub.title)}</h2><p class=\"bk-intro\">${esc(hub.subtitle)}</p><p class=\"bk-test\">${esc(hub.test)}</p><p class=\"bk-empty\">${esc(hub.boundary)}</p>\n<nav class=\"bk-routes\" aria-label=\"Choose a process\">${hub.routes.map(x=>`<button data-books-route=\"${esc(x.id)}\" aria-pressed=\"${x.id===r.id}\"><b>${esc(x.title)}</b><small>${esc(x.overlay_name)}</small></button>`).join('')}</nav>\n<div class=\"bk-tools\"><label>${esc(r.amount_label)} <input id=\"booksAmount\" type=\"number\" min=\"1\" max=\"1000000000000\" step=\"1\" value=\"${r.amount}\" disabled></label><span class=\"bk-empty\">${money} teaching amount</span><label><input type=\"checkbox\" id=\"booksOverlay\" ${booksOverlay?'checked':''}> Compare ${esc(r.overlay_name)}</label><label><input type=\"checkbox\" id=\"booksMoved\" ${booksMoved?'checked':''}> Only rows whose books moved</label></div>\n<p class=\"bk-empty\">${esc(r.scope)}</p>\n<div class=\"bk-legend\">${hub.book_kinds.map(k=>`<span class=\"bk-kind ${esc(k.id)}\">${esc(k.label)}</span>`).join('')}<span>Occupant names stay empty. Process offices (CCP, CSD, Reserve Banks) are the taught constitution, not a member census.</span></div>\n<nav class=\"bk-spine\" aria-label=\"Steps\">${r.steps.map((s,i)=>`<button data-books-step=\"${esc(s.id)}\" aria-pressed=\"${s.id===step.id}\"><span>${i+1}</span>${esc(s.title)}</button>`).join('')}</nav>\n<section class=\"bk-step\"><h3>${esc(step.title)}</h3><p><b>Ask:</b> ${esc(step.question)}</p><p class=\"bk-test\">${esc(step.role_test)}</p>${step.fail_discriminator?`<div class=\"bk-fail\"><p><b>Fail discriminator:</b> ${esc(step.fail_discriminator)}</p></div>`:''}${(()=>{const named=[...step.entries,...(step.overlay_entries||[])].filter(e=>e.occupant&&e.occupant!=='unnamed');return named.length?`<p><b>Named on this step:</b> ${named.map(e=>esc(e.occupant)+' <span class=\"bk-empty\">('+esc(e.entity_label)+')</span>').join(' · ')}</p>`:'<p class=\"bk-empty\">No named legal person on this step yet. The T-accounts still show which office would have to move.</p>';})()}\n<h4>Ordinary path</h4><div class=\"bk-grid\">${ordinary.map(booksCard).join('')||'<p class=\"bk-empty\">No moving books on this step.</p>'}</div>\n${booksOverlay?`<div class=\"bk-overlay\"><h3>Overlay · ${esc(r.overlay_name)}</h3><div class=\"bk-grid\">${overlay.map(booksCard).join('')||'<p class=\"bk-empty\">No overlay books at this step.</p>'}</div></div>`:''}${booksDirectory()}\n<div class=\"bk-jumps\"><button data-room=\"journey\">Transaction map →</button><button data-books-rights=\"${esc(r.id)}\">Steps &amp; rights →</button><button data-room=\"legal\">Legal inquiry →</button><details><summary>Sources</summary>${sourceLinks(step.source_ids)}</details></div></section>`;\n document.getElementById('booksOverlay').addEventListener('change',e=>{booksOverlay=e.target.checked;renderBooks();});\n document.getElementById('booksMoved').addEventListener('change',e=>{booksMoved=e.target.checked;renderBooks();});\n document.getElementById('booksDirSearch')?.addEventListener('input',e=>{booksDirQuery=e.target.value;renderBooks();document.getElementById('booksDirSearch')?.focus();});\n}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-books-route]');if(route){setHubRoute(route.dataset.booksRoute,false);booksStep=(data.books_hub.routes.find(r=>r.id===booksRoute).steps[0]||{}).id;renderBooks();}\n const step=e.target.closest('[data-books-step]');if(step){booksStep=step.dataset.booksStep;renderBooks();}\n const toRights=e.target.closest('[data-books-rights]');if(toRights){setHubRoute(toRights.dataset.booksRights,false);openCryptoRoom('rights');}\n});\n\n","next_section_id":"s00033","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00032.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00033.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00032.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00033.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00032.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00033.json"},{"section_id":"s00033","ordinal":33,"label":"Section 33 (continued)","source_page":null,"start_character":403162,"end_character":415059,"start_line":2243,"end_line":2278,"text":"const fieldGuide=data.technology_field_guide;\nconst guideCategories=byId(fieldGuide.categories);\nconst technologyBuildout=data.technology_buildout;\nconst buildoutByEcosystem=new Map(technologyBuildout.profiles.map(profile=>[profile.ecosystem_id,profile]));\nconst buildoutStates=byId(technologyBuildout.states);\nlet guideSelected='quant',systemsScope='all',guideQuery='',systemsCompare=new Set();\nlet commandLens='briefing',commandQuery='',commandLawFocus='genius';\nfunction guideStatusLabel(status){return ({meaningful:'Meaningful distinction',contextual:'Contextual distinction',not_established:'No distinct edge established'})[status]||status;}\nfunction guideStageLabel(state){return buildoutStates.get(state)?.label||state;}\nfunction guideBuildItems(items,deal=false){return `<div class=\"fg-build-list\">${items.map(item=>`<article class=\"fg-build-item\"><header><b>${esc(deal?item.counterparty:item.name)}</b><span class=\"fg-stage\">${esc(guideStageLabel(item.state))}</span></header><small>${esc(item.date)}</small><p>${esc(item.summary)}</p>${evidenceDrawer(item.source_ids,item.boundary)}</article>`).join('')}</div>`;}\nfunction systemRecords(){\n const core=fieldGuide.profiles.map(profile=>{const build=buildoutByEcosystem.get(profile.ecosystem_id);return {id:profile.ecosystem_id,label:profile.plain_name,coverage:'deep',kind:guideCategories.get(profile.category).label,state:build.transition_state,date:build.refreshed_through,summary:profile.what_it_is,boundary:build.transition_assessment.not_proved,search:[profile.plain_name,profile.what_it_is,profile.why_following,profile.differentiator,...profile.do_not_confuse,...profile.attachments,build.headline,build.strongest_receipt,build.native_token.symbol,build.native_token.role,...build.current_builds.flatMap(item=>[item.name,item.summary]),...build.deals_and_integrations.flatMap(item=>[item.counterparty,item.summary])].join(' ').toLowerCase(),profile,build};});\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,coverage:'specialist',kind:'Specialist system family',state:system.latest_state,date:system.latest_date,summary:system.summary,boundary:system.boundary,search:[system.name,system.kind,system.jurisdiction,system.model,system.summary,system.latest_development,system.latest_boundary,system.boundary,system.watch,...system.fits.map(fit=>fit.note)].join(' ').toLowerCase(),specialist:system}));\n return core.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction systemRecordById(id){return systemRecords().find(system=>system.id===id);}\nfunction guideList(items){return `<nav class=\"fg-profile-list\" aria-label=\"All tracked systems\">${items.map(system=>`<article class=\"fg-profile-row\"><button type=\"button\" data-guide-profile=\"${esc(system.id)}\" aria-pressed=\"${system.id===guideSelected}\"><b>${esc(system.label)}</b><small>${esc(system.kind)} · ${esc(guideStageLabel(system.state))}</small></button><button type=\"button\" class=\"fg-compare-toggle\" data-system-compare=\"${esc(system.id)}\" aria-pressed=\"${systemsCompare.has(system.id)}\" aria-label=\"${systemsCompare.has(system.id)?'Remove':'Add'} ${esc(system.label)} ${systemsCompare.has(system.id)?'from':'to'} comparison\">${systemsCompare.has(system.id)?'✓ Compare':'＋ Compare'}</button></article>`).join('')}</nav>`;}\nfunction systemComparePanel(){\n const selected=[...systemsCompare].map(systemRecordById).filter(Boolean);\n if(!selected.length)return `<aside class=\"fg-compare-panel\"><span class=\"liq-kicker\">Compare systems</span><p>Choose <b>Compare</b> beside up to three systems. The comparison stays inside Systems; it is not another room.</p></aside>`;\n return `<aside class=\"fg-compare-panel\"><header><div><span class=\"liq-kicker\">Contextual comparison · ${selected.length} of 3</span><h3>${selected.map(system=>esc(system.label)).join(' ↔ ')}</h3></div><button type=\"button\" data-system-compare-clear>Clear</button></header><div class=\"fg-compare-grid\">${selected.map(system=>`<article><span class=\"fg-kind\">${esc(system.kind)}</span><h4><button type=\"button\" data-guide-profile=\"${esc(system.id)}\">${esc(system.label)} →</button></h4><p><b>Current state:</b> ${esc(guideStageLabel(system.state))} · ${esc(system.date)}</p><p>${esc(system.coverage==='deep'?system.build.headline:system.specialist.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(system.boundary)}</p></article>`).join('')}</div><p class=\"fg-limit\">Different coverage depth is shown, not normalized away. A specialist record is not silently promoted to a deep architecture, deals or token-value-capture profile.</p></aside>`;\n}\nfunction coreSystemDetail(system){\n const p=system.profile,b=system.build;\n return `<article class=\"fg-detail\"><header class=\"fg-hero\"><span class=\"fg-kind\">${esc(system.kind)} · deep profile</span><h2>${esc(p.plain_name)}</h2><p><b>Plain answer:</b> ${esc(p.what_it_is)}</p><p class=\"fg-why\"><b>Why we follow it:</b> ${esc(p.why_following)}</p><section class=\"fg-refresh\"><header><b>Current evidence state · ${esc(b.refreshed_through)}</b><span class=\"fg-stage\">${esc(guideStageLabel(b.transition_state))}</span></header><p>${esc(b.headline)}</p><p class=\"fg-limit\"><b>Strongest current receipt:</b> ${esc(b.strongest_receipt)}</p></section><section class=\"fg-special\"><header><b>What makes it different</b><span class=\"fg-status ${esc(p.differentiator_status)}\">${esc(guideStatusLabel(p.differentiator_status))}</span></header><p>${esc(p.differentiator)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(p.differentiator_boundary)}</p></section></header><div class=\"fg-body\"><div class=\"fg-grid\"><section class=\"fg-card wide\"><h3>What they are building now</h3>${guideBuildItems(b.current_builds)}</section><section class=\"fg-card wide\"><h3>Deals &amp; connections</h3>${guideBuildItems(b.deals_and_integrations,true)}</section><section class=\"fg-card wide\"><h3>What is live / still building / not proved</h3><div class=\"fg-assessment\"><p><b>What changed</b><br>${esc(b.transition_assessment.what_changed)}</p><p><b>Live now</b><br>${esc(b.transition_assessment.live_now)}</p><p><b>Still building</b><br>${esc(b.transition_assessment.still_building)}</p><p><b>Not proved</b><br>${esc(b.transition_assessment.not_proved)}</p></div></section><section class=\"fg-card wide\"><h3>Token or issued claim · ${esc(b.native_token.symbol)}</h3><p><b>Role:</b> ${esc(b.native_token.role)}</p><p><b>Required channel:</b> ${esc(b.native_token.required_channel)}</p><p><b>Value-capture reading:</b> ${esc(b.native_token.value_capture)}</p>${sourceLinks(b.native_token.source_ids)}</section><section class=\"fg-card wide\"><h3>Evidence and next receipt</h3><ul>${b.return_gates.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card wide\"><h3>How it actually works</h3><ol>${p.how_it_works.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section><div class=\"fg-split wide\"><section class=\"fg-card fg-yes\"><h3>What it controls</h3><ul>${p.controls.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card fg-no\"><h3>What it does not control</h3><ul>${p.does_not_control.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section></div><section class=\"fg-card\"><h3>Role in the stack</h3><div class=\"fg-attachments\">${p.attachments.map(x=>`<span>${esc(x)}</span>`).join('')}</div><p>${esc(p.observed_state)}</p></section><section class=\"fg-card\"><h3>What we are watching next</h3><ul>${p.watch_for.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><section class=\"fg-card wide fg-confuse\"><h3>Do not confuse</h3><ul>${p.do_not_confuse.map(x=>`<li>${esc(x)}</li>`).join('')}</ul></section><details class=\"fg-card wide\"><summary><b>Evidence drawer</b></summary>${sourceLinks(p.source_ids)}</details></div><div class=\"fg-actions\"><button type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button>${p.ecosystem_id==='securitize'?'<button type=\"button\" data-room=\"securitize\">Open Securitize anatomy →</button>':''}<button type=\"button\" data-guide-map=\"${esc(p.ecosystem_id)}\">Role in the relationship map →</button><button type=\"button\" data-system-readiness=\"${esc(system.id)}\">Readiness gates →</button></div></div></article>`;\n}\nfunction specialistSystemDetail(system){\n const s=system.specialist,seatById=Object.fromEntries(expansion.seats.map(seat=>[seat.id,seat]));\n return `<article class=\"fg-detail\"><header class=\"fg-hero\"><span class=\"fg-kind\">${esc(system.kind)} · specialist coverage</span><h2>${esc(s.name)}</h2><p><b>Plain answer:</b> ${esc(s.summary)}</p><section class=\"fg-refresh\"><header><b>Current evidence state · ${esc(s.latest_date)}</b><span class=\"fg-stage\">${esc(guideStageLabel(s.latest_state))}</span></header><p>${esc(s.latest_development)}</p><p class=\"fg-limit\"><b>Boundary:</b> ${esc(s.latest_boundary)}</p></section><p class=\"fg-boundary\"><b>Coverage note:</b> This record supports architecture, stack-role and current-development analysis. It does not yet carry a separate governed deals ledger, deep transaction anatomy or token-value-capture profile.</p></header><div class=\"fg-body\"><div class=\"fg-grid\"><section class=\"fg-card wide\"><h3>What changed</h3><p>${esc(s.latest_development)}</p><p class=\"fg-limit\"><b>Current receipt boundary:</b> ${esc(s.latest_boundary)}</p></section><section class=\"fg-card wide\"><h3>What is live / still building / not proved</h3><div class=\"fg-assessment\"><p><b>Documented state</b><br>${esc(guideStageLabel(s.latest_state))} as of ${esc(s.latest_date)}.</p><p><b>Current model</b><br>${esc(s.model)} · ${esc(s.jurisdiction)}</p><p><b>Still needs a receipt</b><br>${esc(s.watch)}</p><p><b>Not proved</b><br>${esc(s.boundary)}</p></div></section><section class=\"fg-card wide\"><h3>Role in the stack</h3><div class=\"sx-fit-grid\">${s.fits.map(fit=>{const seat=seatById[fit.seat_id],subs=seat.sublayers.filter(layer=>fit.sublayer_ids.includes(layer.id));return `<article class=\"sx-fit\"><small>${esc(fit.fit)} · ${esc(seat.label)}</small><h4>${esc(subs.map(layer=>layer.label).join(' · '))}</h4><p>${esc(fit.note)}</p></article>`;}).join('')}</div></section><section class=\"fg-card\"><h3>Deals &amp; connections</h3><p>No separate governed deals ledger is attached to this specialist record. Connections remain available through its cited sources and relationship context where mapped.</p></section><section class=\"fg-card\"><h3>Token or issued claim</h3><p>No separate governed token or value-capture profile is attached here. The system’s product model must not be treated as proof of token demand or holder value capture.</p></section><section class=\"fg-card wide\"><h3>Evidence and next receipt</h3><p><b>Next operating proof:</b> ${esc(s.watch)}</p><details open><summary>Evidence drawer</summary>${sourceLinks(s.source_ids)}</details></section></div><div class=\"fg-actions\"><button type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button><button type=\"button\" data-system-role-map=\"${esc(system.id)}\">Open stack-role comparison →</button><button type=\"button\" data-system-readiness=\"${esc(system.id)}\">Readiness gates →</button>${ecosystemsById.has(system.id)?`<button type=\"button\" data-guide-map=\"${esc(system.id)}\">Relationship map →</button>`:''}</div></div></article>`;\n}\nfunction renderFieldGuide(){\n const q=guideQuery.trim().toLowerCase();\n const records=systemRecords(),visible=records.filter(system=>(systemsScope==='all'||system.coverage===systemsScope)&&(!q||system.search.includes(q)));\n if(visible.length&&!visible.some(system=>system.id===guideSelected))guideSelected=visible[0].id;\n const selected=visible.find(system=>system.id===guideSelected),detail=selected?(selected.coverage==='deep'?coreSystemDetail(selected):specialistSystemDetail(selected)):'<div class=\"fg-empty\">No tracked system matches this filter. Clear the search or show all coverage.</div>';\n","next_section_id":"s00034","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00033.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00034.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00033.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00034.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00033.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00034.json"},{"section_id":"s00034","ordinal":34,"label":"Section 34 (continued)","source_page":null,"start_character":415059,"end_character":425245,"start_line":2278,"end_line":2314,"text":" document.getElementById('fieldGuide').innerHTML=`<header class=\"fg-intro\"><span class=\"liq-kicker\">Systems · 34 tracked technologies and operating families · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>One directory. One stable system page.</h2><p>Every system now enters through the same page grammar: plain answer, current evidence state, what changed, stack role, boundaries and next receipt. Coverage differences remain explicit.</p><p class=\"fg-boundary\">${esc(technologyBuildout.boundary)}</p></header>\n <section class=\"fg-distinctions\" aria-label=\"Important distinctions\">${fieldGuide.quick_distinctions.map(x=>`<article class=\"fg-distinction\"><h3>${esc(x.title)}</h3><p>${esc(x.explanation)}</p></article>`).join('')}</section>\n <div class=\"fg-tools\"><label class=\"fg-search\">Find any tracked system, token, deal, role or build<input id=\"guideSearch\" type=\"search\" value=\"${esc(guideQuery)}\" placeholder=\"QNT, Ondo, Stellar, XRP, custody, CAT…\"></label><div class=\"fg-categories\" role=\"group\" aria-label=\"Filter by evidence coverage\"><button type=\"button\" data-systems-scope=\"all\" aria-pressed=\"${systemsScope==='all'}\">All systems · ${records.length}</button><button type=\"button\" data-systems-scope=\"deep\" aria-pressed=\"${systemsScope==='deep'}\">Deep profiles · ${fieldGuide.profiles.length}</button><button type=\"button\" data-systems-scope=\"specialist\" aria-pressed=\"${systemsScope==='specialist'}\">Specialist coverage · ${expansion.systems.length}</button></div></div>\n ${systemComparePanel()}<div class=\"fg-layout\">${guideList(visible)}${detail}</div>`;\n document.getElementById('guideSearch')?.addEventListener('input',e=>{guideQuery=e.target.value;renderFieldGuide();document.getElementById('guideSearch')?.focus();});\n syncHubContext();\n}\nfunction commandSourceIds(system){\n if(!system)return [];\n if(system.coverage==='specialist')return [...new Set(system.specialist.source_ids||[])];\n const p=system.profile,b=system.build;\n return [...new Set([...(p.source_ids||[]),...(b.current_builds||[]).flatMap(item=>item.source_ids||[]),...(b.deals_and_integrations||[]).flatMap(item=>item.source_ids||[]),...(b.native_token?.source_ids||[])])];\n}\nfunction commandCurrent(system){\n if(system.coverage==='specialist')return {headline:system.specialist.latest_development,date:system.specialist.latest_date,state:guideStageLabel(system.specialist.latest_state),boundary:system.specialist.latest_boundary};\n return {headline:system.build.headline,date:system.build.refreshed_through,state:guideStageLabel(system.build.transition_state),boundary:system.build.transition_assessment.not_proved};\n}\nfunction commandRail(records){\n const q=commandQuery.trim().toLowerCase(),visible=records.filter(system=>!q||system.search.includes(q));\n const lenses=[['briefing','Overview','The whole field',['briefing']],['systems','Structure','Who and what connects',['systems']],['flows','Operation','How things move',['flows']],['rules','Change','Law, state and proof',['rules','evidence']]];\n let context='';\n if(commandLens==='systems'||commandLens==='evidence')context=`<h2>${commandLens==='systems'?'Structure in view':'Evidence for one system'} · ${records.length}</h2><div class=\"cmd-systems\">${visible.map(system=>`<button type=\"button\" data-command-system=\"${esc(system.id)}\" aria-pressed=\"${guideSelected===system.id}\"><b>${esc(system.label)}</b><small>${esc(system.kind)} · ${esc(guideStageLabel(system.state))}</small></button>`).join('')||'<p class=\"cmd-empty\">No tracked system matches that search.</p>'}</div>`;\n else if(commandLens==='flows')context=`<h2>Transaction routes</h2><div class=\"cmd-systems\">${data.process_walk.routes.map(route=>`<button type=\"button\" data-command-route=\"${esc(route.id)}\" aria-pressed=\"${route.id===hubRoute}\"><b>${esc(route.tab)}</b><small>${esc(route.title)}</small></button>`).join('')}</div>`;\n else if(commandLens==='rules')context=`<h2>Change in view</h2><div class=\"cmd-systems\"><button type=\"button\" data-command-law=\"genius\" aria-pressed=\"${commandLawFocus==='genius'}\"><b>GENIUS proposals</b><small>Rule package and issuer gates</small></button><button type=\"button\" data-command-law=\"innovation\" aria-pressed=\"${commandLawFocus==='innovation'}\"><b>SEC Innovation order</b><small>Eligibility and transaction design</small></button><button type=\"button\" data-command-law=\"functions\" aria-pressed=\"${commandLawFocus==='functions'}\"><b>Who may do what?</b><small>${qualifications.functions.length} legal functions</small></button><button type=\"button\" data-command-law=\"readiness\" aria-pressed=\"${commandLawFocus==='readiness'}\"><b>Readiness requirements</b><small>${transition.requirements.length} separate gates</small></button><button type=\"button\" data-command-lens=\"evidence\"><b>Evidence and open receipts</b><small>Sources, gaps and clocks for a selected system</small></button></div>`;\n else context=`<h2>Joined questions</h2><div class=\"cmd-systems\"><button type=\"button\" data-command-preset=\"QNT\"><b>Why did QNT rise?</b><small>Buildout · law · value capture · causation</small></button><button type=\"button\" data-command-system=\"ondo-us-stack\"><b>What is Ondo actually operating?</b><small>Product · market access · record · cash</small></button><button type=\"button\" data-command-law=\"genius\"><b>What would GENIUS change?</b><small>Authority · eligibility · operation</small></button><button type=\"button\" data-command-route=\"securities\"><b>How does a tokenized share work?</b><small>Movement · rights · books · remedy</small></button></div>`;\n return `<nav class=\"cmd-rail\" aria-label=\"Crypto knowledge roots and contextual index\"><h2>Choose a root</h2><div class=\"cmd-lenses\">${lenses.map(([id,label,note,active])=>`<button type=\"button\" data-command-lens=\"${id}\" aria-pressed=\"${active.includes(commandLens)}\"><b>${label}</b><small>${note}</small></button>`).join('')}</div><label class=\"cmd-search\">Search the complete Hub<input id=\"commandSearch\" type=\"search\" value=\"${esc(commandQuery)}\" placeholder=\"System, rule, function, route, source…\"></label>${context}</nav>`;\n}\nfunction commandProof(system){\n if(commandLens==='briefing')return `<aside class=\"cmd-proof\" aria-label=\"Knowledge roots in view\"><h2>Roots in view</h2><section><span class=\"cmd-state\">STRUCTURE</span><b>${systemRecords().length} tracked families</b><p>Technology, issuer, operator, network, token and dependency remain separate objects.</p></section><section><span class=\"cmd-state\">OPERATION</span><b>${data.process_walk.routes.length} joined routes</b><p>Movement, rights, records, books, cash, authority, finality and remedy stay aligned.</p></section><section><span class=\"cmd-state\">CHANGE</span><b>${qualifications.functions.length} legal functions</b><p>Proposal, permission, appointment, operation, scale and correction keep separate clocks.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">PROOF FLOOR</span><b>${data.sources.length} source objects</b><p>Coverage never substitutes for exact claim support; gaps remain visible.</p></section></aside>`;\n if(commandLens==='flows'){const route=hubRouteRecord();return `<aside class=\"cmd-proof\" aria-label=\"Transaction context in view\"><h2>Transaction context</h2><section><span class=\"cmd-state\">ROUTE</span><b>${esc(route.tab)} · ${esc(route.title)}</b><p>${esc(route.today)}</p></section><section><span class=\"cmd-state\">LEGAL JOIN</span><b>Rights and authority travel with the route</b><p>A technical event does not silently create title, permission or discharge.</p></section><section><span class=\"cmd-state\">BOOKS JOIN</span><b>Record and accounting clocks stay visible</b><p>Network movement, authoritative posting and cash settlement can occur at different times.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">SEQUENCE RULE</span><b>Teaching order is not one universal clock</b><p>Steps may overlap, branch or remain external to the crypto layer.</p></section></aside>`;}\n if(commandLens==='rules')return `<aside class=\"cmd-proof\" aria-label=\"Legal clocks in view\"><h2>Legal clocks in view</h2><section><span class=\"cmd-state\">PROPOSAL</span><b>Fed GENIUS package</b><p>A proposal qualifies no entity and proves no operating route.</p></section><section><span class=\"cmd-state\">EFFECTIVE ORDER</span><b>SEC Innovation package</b><p>Eligibility and transaction conditions do not establish that a named system is selected or live.</p></section><section><span class=\"cmd-state\">ENTITY</span><b>Capacity must be exact</b><p>Registration, membership, service role and appointment answer different questions.</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">READINESS</span><b>Operation still needs a receipt</b><p>Functional fit and legal permission do not prove production, scale or stress recovery.</p></section></aside>`;\n const current=commandCurrent(system),ids=commandSourceIds(system),coverage=system.coverage==='deep'?'Deep architecture, build, deals and value-capture profile':'Specialist architecture and current-development coverage';\n return `<aside class=\"cmd-proof\" aria-label=\"Evidence in view\"><h2>Evidence in view</h2><section><span class=\"cmd-state\">CURRENT RECORD</span><b>${esc(current.state)} · ${esc(current.date)}</b><p>${esc(current.headline)}</p></section><section><span class=\"cmd-state\">COVERAGE</span><b>${esc(coverage)}</b><p>${system.coverage==='deep'?'This profile carries the shared deep-field grammar.':'Missing parity is shown rather than invented.'}</p></section><section class=\"cmd-boundary\"><span class=\"cmd-state\">DO NOT OVERCLAIM</span><b>Current boundary</b><p>${esc(current.boundary||system.boundary)}</p></section><section><span class=\"cmd-state\">SOURCES</span><b>${ids.length} joined records for ${esc(system.label)}</b><div class=\"source-list\">${sourceLinks(ids)}</div></section></aside>`;\n}\nfunction commandBriefing(records){\n const quant=records.find(system=>system.id==='quant')||records[0],ondo=records.find(system=>system.id==='ondo-us-stack')||records.find(system=>system.label.toLowerCase().includes('ondo')),qc=commandCurrent(quant),oc=ondo?commandCurrent(ondo):null,commentClock=fedGenius.clocks.find(clock=>clock.id==='comment-period')||fedGenius.clocks[0];\n","next_section_id":"s00035","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00034.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00035.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00034.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00035.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00034.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00035.json"},{"section_id":"s00035","ordinal":35,"label":"Section 35 (continued)","source_page":null,"start_character":425245,"end_character":447885,"start_line":2314,"end_line":2380,"text":" return `<header><span class=\"cmd-kicker\">Crypto knowledge roots · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>Structure. Operation. Change.</h2><p class=\"cmd-lede\">The Hub keeps one body of research and lets each root become the focus without losing the others. Sources and cutoffs remain underneath every answer.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Structure</small><b>${records.length} tracked families</b></div><div class=\"cmd-stat\"><small>Operation</small><b>${data.process_walk.routes.length} joined routes</b></div><div class=\"cmd-stat\"><small>Change</small><b>${qualifications.functions.length} legal functions</b></div><div class=\"cmd-stat\"><small>Proof floor</small><b>${data.sources.length} source objects</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card\"><span class=\"cmd-kicker\">STRUCTURE · WHO AND WHAT EXISTS</span><h3>${esc(quant.label)} · ${esc(qc.state)}</h3><p>${esc(qc.headline)}</p>${ondo?`<h4>${esc(ondo.label)} · ${esc(oc.state)}</h4><p>${esc(oc.headline)}</p>`:''}<p class=\"cmd-boundary\">A company, product, network, token, issuer and regulated operator never inherit one another’s roles.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"systems\">Explore structure</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">OPERATION · HOW IT WORKS</span><h3>Share · Dollar · Fund</h3>${data.process_walk.routes.map(route=>`<h4>${esc(route.tab)}</h4><p>${esc(route.title)}</p>`).join('')}<p class=\"cmd-boundary\">Technical movement, authoritative record, books, cash settlement and remedy are separate endpoints.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"flows\">Follow an operation</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">CHANGE · WHAT STATE MOVED</span><h3>Law, permission and readiness</h3><p>${esc(fedGenius.status)} · ${esc(commentClock.label)}: ${esc(commentClock.value)}</p><h4>${esc(innovation.title)}</h4><p>${esc(innovation.boundary)}</p><p class=\"cmd-boundary\">Proposal, permission, operation, scale, stress and correction keep separate clocks.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"rules\">Inspect change</button></section><section class=\"cmd-card\"><span class=\"cmd-kicker\">PROOF FLOOR · SOURCES AND BOUNDARIES</span><h3>What the record establishes</h3><p>Capability, relationship, pilot, production, scale, stress and causal effect are distinct evidence states.</p><h4>Current held questions</h4><p>Direct QNT price causation · mandatory token demand · generalized adoption from a named pilot · legal effect inferred from technical state.</p><p class=\"cmd-boundary\">An absent receipt stays visible as a gap, never a negative finding.</p><button class=\"cmd-action\" type=\"button\" data-command-lens=\"evidence\">Inspect sources and boundaries</button></section></div>`;\n}\nfunction commandSystemView(system){\n const current=commandCurrent(system);\n if(system.coverage==='specialist'){\n  const s=system.specialist,seatById=Object.fromEntries(expansion.seats.map(seat=>[seat.id,seat]));\n  return `<header class=\"cmd-header-row\"><div><span class=\"cmd-kicker\">${esc(system.kind)} · specialist coverage</span><h2>${esc(system.label)}</h2><p class=\"cmd-lede\">${esc(system.summary)}</p></div><div class=\"cmd-actions\"><button class=\"cmd-action\" type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button></div></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Observed state</small><b>${esc(current.state)}</b></div><div class=\"cmd-stat\"><small>Latest record</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Model</small><b>${esc(s.model)}</b></div><div class=\"cmd-stat\"><small>Jurisdiction</small><b>${esc(s.jurisdiction)}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>What changed</h3><p>${esc(s.latest_development)}</p><p class=\"cmd-boundary\"><b>Receipt boundary:</b> ${esc(s.latest_boundary)}</p></section><section class=\"cmd-card wide\"><h3>Where it sits in the stack</h3>${s.fits.map(fit=>{const seat=seatById[fit.seat_id],subs=seat.sublayers.filter(layer=>fit.sublayer_ids.includes(layer.id));return `<h4>${esc(seat.label)} · ${esc(subs.map(layer=>layer.label).join(' · '))}</h4><p>${esc(fit.note)}</p>`;}).join('')}</section><section class=\"cmd-card\"><h3>Still needed</h3><p>${esc(s.watch)}</p></section><section class=\"cmd-card\"><h3>Not proved</h3><p>${esc(s.boundary)}</p></section><section class=\"cmd-card wide\"><h3>Coverage honesty</h3><p>This specialist record does not silently inherit a deals ledger, transaction anatomy, legal-register role or token-value-capture profile. Those fields remain visibly unproved.</p></section></div>${commandDeepTools(system)}`;\n }\n const p=system.profile,b=system.build;\n return `<header class=\"cmd-header-row\"><div><span class=\"cmd-kicker\">${esc(system.kind)} · deep profile</span><h2>${esc(system.label)}</h2><p class=\"cmd-lede\"><b>Plain answer:</b> ${esc(p.what_it_is)} ${esc(p.why_following)}</p></div><div class=\"cmd-actions\"><button class=\"cmd-action\" type=\"button\" data-system-compare=\"${esc(system.id)}\">${systemsCompare.has(system.id)?'Remove from':'Add to'} comparison</button></div></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Observed state</small><b>${esc(current.state)}</b></div><div class=\"cmd-stat\"><small>Latest record</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Primary role</small><b>${esc(p.attachments.slice(0,2).join(' · '))}</b></div><div class=\"cmd-stat\"><small>Token / claim</small><b>${esc(b.native_token.symbol)}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>What changed</h3><p>${esc(b.transition_assessment.what_changed)}</p><div class=\"cmd-update\"><time>LIVE NOW</time><div><p>${esc(b.transition_assessment.live_now)}</p></div></div><div class=\"cmd-update\"><time>BUILDING</time><div><p>${esc(b.transition_assessment.still_building)}</p></div></div><div class=\"cmd-update\"><time>NOT PROVED</time><div><p>${esc(b.transition_assessment.not_proved)}</p></div></div></section><section class=\"cmd-card wide\"><h3>What they are building</h3>${b.current_builds.map(item=>`<div class=\"cmd-update\"><time>${esc(item.date)}</time><div><h4>${esc(item.name)} · ${esc(guideStageLabel(item.state))}</h4><p>${esc(item.summary)}</p><p class=\"cmd-boundary\">${esc(item.boundary)}</p></div></div>`).join('')}</section><section class=\"cmd-card wide\"><h3>Deals and connections</h3>${b.deals_and_integrations.map(item=>`<div class=\"cmd-update\"><time>${esc(item.date)}</time><div><h4>${esc(item.counterparty)} · ${esc(guideStageLabel(item.state))}</h4><p>${esc(item.summary)}</p><p class=\"cmd-boundary\">${esc(item.boundary)}</p></div></div>`).join('')}</section><section class=\"cmd-card\"><h3>How it works</h3><ol>${p.how_it_works.map(step=>`<li>${esc(step)}</li>`).join('')}</ol></section><section class=\"cmd-card\"><h3>Role in the stack</h3><p>${esc(p.observed_state)}</p><p><b>Controls:</b> ${esc(p.controls.join(' · '))}</p><p><b>Does not control:</b> ${esc(p.does_not_control.join(' · '))}</p></section><section class=\"cmd-card wide\"><h3>${esc(b.native_token.symbol)} · token or issued claim</h3><p><b>Role:</b> ${esc(b.native_token.role)}</p><p><b>Required channel:</b> ${esc(b.native_token.required_channel)}</p><p><b>Value-capture reading:</b> ${esc(b.native_token.value_capture)}</p></section><section class=\"cmd-card\"><h3>What we are watching next</h3><ul>${p.watch_for.map(item=>`<li>${esc(item)}</li>`).join('')}</ul></section><section class=\"cmd-card\"><h3>Do not confuse</h3><ul>${p.do_not_confuse.map(item=>`<li>${esc(item)}</li>`).join('')}</ul></section></div>${commandDeepTools(system)}`;\n}\nfunction commandDeepTools(system){\n return `<details class=\"cmd-tools\"><summary>Specialist analytical views · only when you need them</summary><div>${system.coverage==='specialist'?'<button class=\"cmd-action\" data-room=\"expansion\">Stack-role map</button>':'<button class=\"cmd-action\" data-room=\"map\">Relationship map</button>'}<button class=\"cmd-action\" data-room=\"transition\">Readiness matrix</button><button class=\"cmd-action\" data-room=\"overview\">Institutional map</button><button class=\"cmd-action\" data-room=\"legal\">Legal process</button></div></details>`;\n}\nfunction commandDeals(records){\n const rows=records.flatMap(system=>system.coverage==='deep'?system.build.deals_and_integrations.map(item=>({system,item,type:'deal'})):[{system,item:{counterparty:'Specialist current development',date:system.specialist.latest_date,state:system.specialist.latest_state,summary:system.specialist.latest_development,boundary:'No separate governed deals ledger: '+system.specialist.latest_boundary},type:'specialist'}]).sort((a,b)=>String(b.item.date).localeCompare(String(a.item.date)));\n return `<header><span class=\"cmd-kicker\">Deals, builds and institutional connections</span><h2>What is connected—and at what evidence state?</h2><p class=\"cmd-lede\">Named relationships, software availability, pilots and completed operating events stay different. Specialist developments are shown, but never relabeled as deals.</p></header><div class=\"cmd-feed\">${rows.map(({system,item,type})=>`<article><div><span class=\"cmd-feed-meta\">${esc(system.label)} · ${esc(item.date)}</span><div class=\"cmd-feed-state\">${esc(guideStageLabel(item.state))}</div></div><div><h3>${esc(item.counterparty)}</h3><p>${esc(item.summary)}</p></div><div><p><b>${type==='specialist'?'Coverage note':'Boundary'}</b><br>${esc(item.boundary)}</p><button class=\"cmd-action\" type=\"button\" data-command-system=\"${esc(system.id)}\">System context</button></div></article>`).join('')}</div>`;\n}\nfunction commandFlows(){\n const route=hubRouteRecord();\n return `<header><span class=\"cmd-kicker\">Transaction flows · one route, all lenses</span><h2>Follow ${esc(route.tab)} without leaving the canvas.</h2><p class=\"cmd-lede\">Movement, rights, records, books, authority, cash, remedy and evidence stay aligned. The numbered sequence is explanatory; legal and accounting clocks can overlap.</p></header><div class=\"cmd-route-list\">${data.process_walk.routes.map(r=>`<button class=\"cmd-route-button\" type=\"button\" data-command-route=\"${esc(r.id)}\" aria-pressed=\"${r.id===hubRoute}\"><b>${esc(r.tab)}</b><br><small>${esc(r.title)}</small></button>`).join('')}</div><section class=\"cmd-card wide\"><h3>${esc(route.title)}</h3><p>${esc(route.today)}</p><div class=\"cmd-flow\">${route.steps.map((step,index)=>`<article><span>${String(index+1).padStart(2,'0')}</span><b>${esc(step.title)}</b><small>${esc(step.what)}</small></article>`).join('')}</div></section><div class=\"cmd-grid\">${route.steps.map((step,index)=>`<section class=\"cmd-card\"><span class=\"cmd-kicker\">Step ${index+1}</span><h3>${esc(step.title)}</h3><p>${esc(step.what)}</p>${step.seats.slice(0,3).map(seat=>`<h4>${esc(seat.seat)}</h4><p><b>Today:</b> ${esc(seat.today)}<br><b>Crypto overlap:</b> ${esc(seat.overlap)}<br><b>Did it take the books?</b> ${esc(seat.overtake)}</p>`).join('')}</section>`).join('')}</div><details class=\"cmd-tools\"><summary>Specialist route tools</summary><div><button class=\"cmd-action\" data-room=\"xray\">Aligned X-ray</button><button class=\"cmd-action\" data-room=\"journey\">Participant map</button><button class=\"cmd-action\" data-room=\"rights\">Rights and records</button><button class=\"cmd-action\" data-room=\"books\">Books and cash</button></div></details>`;\n}\nfunction commandRules(){\n const commentClock=fedGenius.clocks.find(clock=>clock.id==='comment-period')||fedGenius.clocks[0];\n return `<header><span class=\"cmd-kicker\">Rules, permissions and readiness</span><h2>What is permitted—and what is actually operating?</h2><p class=\"cmd-lede\">Functional fit, legal seat, appointment, operating receipt, scale and stress are separate gates. Rule packages remain labeled by their own legal clock.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Legal functions</small><b>${qualifications.functions.length}</b></div><div class=\"cmd-stat\"><small>Readiness requirements</small><b>${transition.requirements.length}</b></div><div class=\"cmd-stat\"><small>Tracked systems</small><b>${systemRecords().length}</b></div><div class=\"cmd-stat\"><small>Current route</small><b>${esc(hubRouteRecord().tab)}</b></div></div><div class=\"cmd-grid\"><section id=\"command-law-genius\" tabindex=\"-1\" class=\"cmd-card ${commandLawFocus==='genius'?'command-focus':''}\"><span class=\"cmd-kicker\">PROPOSAL CLOCK</span><h3>Federal Reserve GENIUS package</h3><p>${esc(fedGenius.status)}</p><p><b>${esc(commentClock.label)}:</b> ${esc(commentClock.value)} · ${esc(commentClock.state)}</p><p class=\"cmd-boundary\">A final rule, entity approval and operating receipt remain separate future facts.</p></section><section id=\"command-law-innovation\" tabindex=\"-1\" class=\"cmd-card ${commandLawFocus==='innovation'?'command-focus':''}\"><span class=\"cmd-kicker\">EFFECTIVE ORDER</span><h3>${esc(innovation.title)}</h3><p>${esc(innovation.summary||innovation.scope||innovation.boundary)}</p><p class=\"cmd-boundary\">${esc(innovation.boundary)}</p></section><section id=\"command-law-functions\" tabindex=\"-1\" class=\"cmd-card wide ${commandLawFocus==='functions'?'command-focus':''}\"><h3>Who may perform each function?</h3><div class=\"cmd-grid\">${qualifications.functions.map(fn=>`<article><h4>${esc(fn.display_title)}</h4><p>${esc(fn.question)}</p><p><b>Qualification test:</b> ${esc(fn.qualification_check)}</p></article>`).join('')}</div></section><section id=\"command-law-readiness\" tabindex=\"-1\" class=\"cmd-card wide ${commandLawFocus==='readiness'?'command-focus':''}\"><h3>Readiness is a chain, not a badge</h3><div class=\"cmd-flow\"><article><span>01</span><b>Functional fit</b><small>Can it perform the job?</small></article><article><span>02</span><b>Legal seat</b><small>May an eligible entity occupy it?</small></article><article><span>03</span><b>Appointment</b><small>Is it named for this arrangement?</small></article><article><span>04</span><b>Operating receipt</b><small>Did the exact route complete?</small></article><article><span>05</span><b>Scale and stress</b><small>Does it recur and recover?</small></article></div></section></div><details class=\"cmd-tools\"><summary>Specialist legal and readiness tools</summary><div><button class=\"cmd-action\" data-room=\"routes\">Exact legal pathways</button><button class=\"cmd-action\" data-room=\"transition\">34-system readiness matrix</button><button class=\"cmd-action\" data-room=\"genius\">Fed GENIUS package</button><button class=\"cmd-action\" data-room=\"legal\">SEC and legal process</button><button class=\"cmd-action\" data-room=\"liquidity\">Liquidity and collateral</button></div></details>`;\n}\nfunction commandEvidence(system){\n const ids=commandSourceIds(system),current=commandCurrent(system);\n return `<header><span class=\"cmd-kicker\">Evidence and boundaries</span><h2>What supports the current ${esc(system.label)} reading?</h2><p class=\"cmd-lede\">The answer, source, operating clock and limit stay together. Source count is coverage, not proof of importance or adoption.</p></header><div class=\"cmd-stats\"><div class=\"cmd-stat\"><small>Joined system sources</small><b>${ids.length}</b></div><div class=\"cmd-stat\"><small>Hub sources</small><b>${data.sources.length}</b></div><div class=\"cmd-stat\"><small>Evidence cutoff</small><b>${esc(current.date)}</b></div><div class=\"cmd-stat\"><small>Coverage depth</small><b>${system.coverage==='deep'?'Deep profile':'Specialist'}</b></div></div><div class=\"cmd-grid\"><section class=\"cmd-card wide\"><h3>Current finding</h3><p>${esc(current.headline)}</p><p class=\"cmd-boundary\"><b>Limit:</b> ${esc(current.boundary)}</p></section><section class=\"cmd-card\"><h3>Reading rule</h3><p>Proposal, agreement, investment, software capability, pilot, production, scale, settlement and legal effect are different facts and clocks.</p></section><section class=\"cmd-card\"><h3>Coverage rule</h3><p>A missing relationship is an explicit evidence gap, not proof that the relationship does not exist.</p></section><section class=\"cmd-card wide\"><h3>Joined source records</h3><div class=\"source-list\">${sourceLinks(ids)}</div></section></div>`;\n}\nfunction commandSearchView(records){\n const q=commandQuery.trim().toLowerCase(),stop=new Set(['a','an','and','at','did','does','for','how','in','is','of','on','the','to','what','why','with']),tokens=[...new Set(q.split(/[^a-z0-9]+/).filter(token=>token.length>1&&!stop.has(token)))];\n const score=text=>{const hay=String(text).toLowerCase();return (hay.includes(q)?tokens.length+3:0)+tokens.reduce((sum,token)=>sum+(hay.includes(token)?1:0),0)};\n const ranked=(items,text)=>items.map(item=>({item,score:score(text(item))})).filter(row=>row.score>0).sort((a,b)=>b.score-a.score).map(row=>row.item);\n const systems=ranked(records,system=>system.search);\n const functions=ranked(qualifications.functions,fn=>[fn.display_title,fn.question,fn.qualification_check].join(' '));\n const routes=ranked(data.process_walk.routes,route=>[route.tab,route.title,route.today,...route.steps.flatMap(step=>[step.title,step.what,...step.seats.flatMap(seat=>[seat.seat,seat.today,seat.overlap,seat.overtake])])].join(' '));\n const sources=ranked(data.sources,source=>[source.label,source.date,source.boundary,source.url].join(' ')).slice(0,20);\n const total=systems.length+functions.length+routes.length+sources.length;\n return `<header><span class=\"cmd-kicker\">Search every research dimension</span><h2>${total} joined result${total===1?'':'s'} for “${esc(commandQuery)}”</h2><p class=\"cmd-lede\">Results remain grouped by what they are. A matching technology, legal function, transaction route and source are not flattened into one evidence class.</p></header><div class=\"cmd-grid\">${systems.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">SYSTEMS & ENTITIES · ${systems.length}</span>${systems.map(system=>{const current=commandCurrent(system);return `<h3><button class=\"cmd-action\" type=\"button\" data-command-system=\"${esc(system.id)}\">${esc(system.label)}</button></h3><p>${esc(current.headline)}</p><p class=\"cmd-boundary\">${esc(current.boundary)}</p>`;}).join('')}</section>`:''}${functions.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">LAW & AUTHORITY · ${functions.length}</span>${functions.map(fn=>`<h3>${esc(fn.display_title)}</h3><p>${esc(fn.question)}</p><p><b>Qualification test:</b> ${esc(fn.qualification_check)}</p>`).join('')}</section>`:''}${routes.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">TRANSACTIONS · ${routes.length}</span>${routes.map(route=>`<h3>${esc(route.tab)} · ${esc(route.title)}</h3><p>${esc(route.today)}</p><button class=\"cmd-action\" type=\"button\" data-command-route=\"${esc(route.id)}\">Keep this route in view</button>`).join('')}</section>`:''}${sources.length?`<section class=\"cmd-card\"><span class=\"cmd-kicker\">SOURCE OBJECTS · ${sources.length}${sources.length===20?' shown':''}</span><div class=\"source-list\">${sourceLinks(sources.map(source=>source.id))}</div></section>`:''}${!total?'<p class=\"cmd-empty\">No exact joined result. Try one remembered word, a system, legal function, transaction step or source label.</p>':''}</div>`;\n}\nfunction renderCommandSurface(){\n const records=systemRecords(),system=systemRecordById(guideSelected)||records[0];\n const body=commandQuery.trim()?commandSearchView(records):commandLens==='briefing'?commandBriefing(records):commandLens==='systems'?commandSystemView(system):commandLens==='flows'?commandFlows():commandLens==='rules'?commandRules():commandEvidence(system);\n document.getElementById('commandHub').innerHTML=`<div class=\"cmd-shell\">${commandRail(records)}<main class=\"cmd-main\">${body}</main>${commandProof(system)}</div>`;\n document.getElementById('commandSearch')?.addEventListener('input',event=>{commandQuery=event.target.value;renderCommandSurface();document.getElementById('commandSearch')?.focus();});\n syncHubContext();\n}\ndocument.addEventListener('click',event=>{\n const landscape=event.target.closest('[data-command-landscape]');if(landscape){commandLens='briefing';commandQuery='';openCryptoRoom('command');return;}\n const lens=event.target.closest('[data-command-lens]');if(lens){commandLens=lens.dataset.commandLens;openCryptoRoom('command');return;}\n const system=event.target.closest('[data-command-system]');if(system){guideSelected=system.dataset.commandSystem;commandLens='systems';commandQuery='';openCryptoRoom('command');return;}\n const route=event.target.closest('[data-command-route]');if(route){setHubRoute(route.dataset.commandRoute,false);commandLens='flows';openCryptoRoom('command');return;}\n const preset=event.target.closest('[data-command-preset]');if(preset){commandQuery=preset.dataset.commandPreset;openCryptoRoom('command');return;}\n const law=event.target.closest('[data-command-law]');if(law){commandQuery='';commandLens='rules';commandLawFocus=law.dataset.commandLaw;openCryptoRoom('command');requestAnimationFrame(()=>{const target=document.getElementById('command-law-'+commandLawFocus);target?.focus({preventScroll:true});target?.scrollIntoView({block:'center'});});return;}\n});\ndocument.addEventListener('click',e=>{\n const profile=e.target.closest('[data-guide-profile]');if(profile){guideSelected=profile.dataset.guideProfile;history.replaceState(null,'','#systems-'+guideSelected);renderFieldGuide();syncHubContext();return;}\n const scope=e.target.closest('[data-systems-scope]');if(scope){systemsScope=scope.dataset.systemsScope;renderFieldGuide();return;}\n const compare=e.target.closest('[data-system-compare]');if(compare){const id=compare.dataset.systemCompare;if(systemsCompare.has(id))systemsCompare.delete(id);else if(systemsCompare.size<3)systemsCompare.add(id);renderFieldGuide();return;}\n if(e.target.closest('[data-system-compare-clear]')){systemsCompare.clear();renderFieldGuide();return;}\n const roleMap=e.target.closest('[data-system-role-map]');if(roleMap){expansionSelected=roleMap.dataset.systemRoleMap;expansionSelectedSeat='';expansionSeat='all';expansionQuery='';openCryptoRoom('expansion');requestAnimationFrame(()=>document.getElementById('sxDetail')?.scrollIntoView({block:'start'}));return;}\n const readiness=e.target.closest('[data-system-readiness]');if(readiness){transitionView='system';transitionSystem=readiness.dataset.systemReadiness;openCryptoRoom('transition');return;}\n const map=e.target.closest('[data-guide-map]');if(map){const ecosystem=ecosystemsById.get(map.dataset.guideMap);if(ecosystem){state.ecosystem=ecosystem.id;state.focusedNode=ecosystem.root_node_id;ecosystemSelect.value=ecosystem.id;state.mode='explore';setMode('explore');openCryptoRoom('map');}return;}\n});\n\n","next_section_id":"s00036","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00035.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00036.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00035.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00036.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00035.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00036.json"},{"section_id":"s00036","ordinal":36,"label":"Section 36 (continued)","source_page":null,"start_character":447885,"end_character":459825,"start_line":2380,"end_line":2461,"text":"let hubRoute='securities',xrayStep=0,xrayOverlay=true,xrayLayer='all';\nfunction hubRouteRecord(id=hubRoute){return data.process_walk.routes.find(r=>r.id===id)||data.process_walk.routes[0];}\nfunction syncHubRouteBar(){document.querySelectorAll('[data-hub-route]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.hubRoute===hubRoute)));}\nfunction setHubRoute(id,rerender=true){\n if(!data.process_walk.routes.some(r=>r.id===id))return;\n hubRoute=id;walkRoute=id;rightsRoute=id;booksRoute=id;journeyRoute=id;rightsFilter='all';journeyScenario='ordinary';\n const b=data.books_hub.routes.find(r=>r.id===id),j=data.transaction_maps.routes.find(r=>r.id===id);\n booksStep=b.steps[0].id;journeySelected=j.nodes[0].id;xrayStep=0;syncHubRouteBar();\n if(!rerender)return;\n if(activeRoom==='command')renderCommandSurface();else if(activeRoom==='xray')renderXray();else if(activeRoom==='walk')renderWalk();else if(activeRoom==='journey')journeyCommit();else if(activeRoom==='books')renderBooks();else if(activeRoom==='rights')renderRights();\n}\nfunction hubRoomCard(room,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-room=\"${esc(room)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubMapCard(mode,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-workspace-map-mode=\"${esc(mode)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubViewCard(room,view,title,description,badge=''){return `<button type=\"button\" class=\"hub-room-card\" data-hub-subview-room=\"${esc(room)}\" data-hub-subview=\"${esc(view)}\"><span><b>${esc(title)}</b><small>${esc(description)}</small></span>${badge?`<em>${esc(badge)}</em>`:'<span aria-hidden=\"true\">→</span>'}</button>`;}\nfunction hubSubviewButton(room,view,label){return `<button type=\"button\" data-hub-subview-room=\"${esc(room)}\" data-hub-subview=\"${esc(view)}\">${esc(label)}</button>`;}\nfunction openHubSubview(room,view){\n if(room==='map'){setMode(view);openCryptoRoom('map');return;}\n if(view==='room'){openCryptoRoom(room);return;}\n if(room==='genius')fedTab=view;\n if(room==='transition'){transitionView=view;transitionSystem=view==='system'?(transitionSystem||'ripple'):'';}\n if(room==='legal')legalTab=view;\n if(room==='liquidity')liqTab=view;\n if(room==='xray'){xrayLayer=view;openCryptoRoom('xray');return;}\n openCryptoRoom(room,false);\n history.replaceState(null,'',`#${room}?view=${encodeURIComponent(view)}`);\n}\nlet homeDeepSearchIndex=null;\nfunction homeSearchStrings(value,out=[]){\n if(value===null||value===undefined)return out;\n if(typeof value==='string'||typeof value==='number'){const raw=String(value),parts=raw.length>4000?raw.split(/\\n{2,}/):[raw];parts.forEach(part=>{const text=part.replace(/\\s+/g,' ').trim();if(!text)return;if(text.length<=1200)out.push(text);else for(let start=0;start<text.length;start+=1100)out.push(text.slice(start,start+1200));});return out;}\n if(Array.isArray(value)){value.forEach(item=>homeSearchStrings(item,out));return out;}\n if(typeof value==='object')Object.entries(value).forEach(([key,item])=>{if(!['color','dash','url'].includes(key))homeSearchStrings(item,out);});\n return out;\n}\nfunction homeSearchNormalize(value){return String(value||'').normalize('NFKD').replace(/[\\u0300-\\u036f]/g,'').toLowerCase().replace(/[^a-z0-9]+/g,' ').trim();}\nfunction homeSearchStem(value){return value.length>5?value.replace(/(ization|ational|ments|ment|ingly|edly|ing|ers|ies|ed|es|s)$/,''):value;}\nfunction homeSearchTokens(value){return [...new Set(homeSearchNormalize(value).split(' ').filter(token=>token.length>1).map(homeSearchStem))];}\nfunction homeSearchWordMatch(word,token){return word===token||word.startsWith(token)||token.length>3&&token.startsWith(word)||token.length>3&&word.includes(token);}\nfunction homeSearchBuildIndex(){\n const fed=data.fed_genius_hub,legal=data.legal_process_hub,liq=data.liquidity_hub,transition=data.transition_gates,currentIds=new Set(data.current_stack_ids||[]),currentEcosystems=data.ecosystems.filter(item=>currentIds.has(item.id)),currentNodeIds=new Set(currentEcosystems.flatMap(item=>item.node_ids||[])),currentNodes=data.nodes.filter(item=>currentNodeIds.has(item.id)),currentEdges=data.edges.filter(item=>currentNodeIds.has(item.from)&&currentNodeIds.has(item.to)),sourceIndex=data.sources.map(source=>({id:source.id,label:source.label,publisher:source.publisher,date:source.date,url:source.url})),sourceReports=data.sources.filter(source=>source.local_text).map(source=>({id:source.id,label:source.label,text:source.local_text}));\n const targets=[\n  ['guide','room','Systems & entities → Field Guide','Tracked Systems Field Guide','company network token connector plain language controls deals integrations builds transition value capture return gates', [data.technology_field_guide,data.technology_buildout]],\n  ['map','explore','Systems & entities → Crypto map','Entities, relationships and ecosystems','entity organization product network rail relationship control partnership operating source',[data.nodes,data.edges,data.ecosystems,data.relationship_types,sourceIndex,data.bank_research]],\n  ['overview','room','Systems & entities → Whole institutional map','Institutions, access routes and rulebooks','institution member access route rulebook authority arrangement market structure',[data.infrastructure_map,data.market_overview]],\n  ['overview','room','Evidence → Saved Hub reports','Full source reports connected to the Hub','research report source evidence analysis finding boundary',sourceReports],\n  ['stack','room','Systems & entities → Current stack','Current securities, dollar and fund rails','incumbent current share dollar fund rail cash settlement',[currentEcosystems,currentNodes,currentEdges]],\n  ['expansion','room','Systems & entities → Stack expansion','Expanded technology and control stack','technology control rights settlement sublayer seat architecture',data.stack_expansion],\n  ['banks','room','Systems & entities → Major bank transition','Major bank digital transition comparison','bank asset manager digital money tokenization custody settlement collateral financing recovery research thesis',data.bank_transition_comparison],\n  ['corporate','room','Systems & entities → Corporate stacks','Corporate stack comparison','company group ownership operating dimension peer',data.corporate_stack_comparison],\n  ['securitize','room','Systems & entities → Securitize anatomy','Securitize anatomy','regulated entity lifecycle record model security fund cash leg ripple genius',data.securitize_anatomy],\n  ['xray','all','Transactions → X-ray','Transaction X-ray','movement rights record books cash authority permission remedy failure correction',[data.process_walk,data.steps_rights_hub,data.books_hub,data.transaction_maps]],\n  ['walk','room','Transactions → Walk','Plain-language transaction walk','today overlap overtake step sequence share dollar fund',data.process_walk],\n  ['journey','room','Transactions → Transaction maps','Transaction maps and exceptions','participant lane milestone scenario exception overlay',data.transaction_maps],\n  ['rights','room','Transactions → Steps & rights','Rights, obligations and controlling records','right obligation authoritative controlling record completion evidence',data.steps_rights_hub],\n  ['books','room','Transactions → Debits & credits','Books, accounts and fiduciary records','debit credit ledger account cash posting reconciliation',data.books_hub],\n  ['map','process','Transactions → Crypto map → Process','Process coverage','tokenization stablecoin foreign exchange lifecycle stage process role coverage',data.process_maps],\n  ['map','trace','Transactions → Crypto map → Trace','Evidence traces','asset claim evidence path walkthrough boundary',data.asset_traces],\n  ['map','accounting','Transactions → Crypto map → Accounting','Accounting and finality','claim record cash settlement finality balance sheet accounting',data.accounting_layers],\n  ['genius','entities','Rules & permissions → Fed GENIUS','Fed GENIUS entity map','federal reserve payment stablecoin issuer subsidiary legal entity reserve custodian distributor',fed.entity_map],\n  ['genius','layers','Rules & permissions → Fed GENIUS','Fed GENIUS seven layers','institutional layer supervision reserve redemption custody reporting examination capital',fed.layers],\n  ['genius','gates','Rules & permissions → Fed GENIUS','Fed GENIUS twelve gates','application approval eligibility operating gate proof receipt',fed.gates],\n  ['genius','clocks','Rules & permissions → Fed GENIUS','Fed GENIUS nine clocks','proposal comment final rule effective date application approval redemption reporting examination',fed.clocks],\n  ['genius','ecosystems','Rules & permissions → Fed GENIUS','Fed GENIUS ecosystem impacts','ecosystem overlap impact company network adapter reserve custody',fed.overlaps],\n  ['genius','questions','Rules & permissions → Fed GENIUS','Fed GENIUS 277 questions','request for comment question cluster issue section',fed.question_clusters],\n  ['legal','walk','Rules & permissions → Legal process','Legal foundations and process','authority statute rule contract claim evidence legal effect',[legal.steps,legal.subtitle]],\n  ['legal','innovation','Rules & permissions → SEC package','SEC Innovation Exemption','securities exchange commission order exemption eligible actor tokenized stock',legal.innovation_exemption_overlay],\n  ['legal','layers','Rules & permissions → Legal process','Authority layers','legal authority layer regulator rulebook contract arrangement',legal.layers],\n  ['legal','qualifications','Rules & permissions → Legal process','Actors and qualifications','actor function qualification assessment assignment eligibility',legal.qualifications],\n  ['legal','cases','Rules & permissions → Legal process','Worked legal cases','case finding gap status transaction',legal.cases],\n  ['routes','room','Rules & permissions → Permissions & players','Legal pathways and named players','function pathway condition legal basis entity appointment participation',data.legal_routes_map],\n  ['transition','gate','Qualification & evidence → Transition gates','Fourteen transition requirements','functional fit legal seat exact route operating receipt scale stress requirement proof boundary',[transition.requirements,transition.qualification_path,transition.groups]],\n  ['transition','system','Qualification & evidence → Transition gates','System qualification results','technology system family fit dependency evidence',transition.requirements.map(requirement=>requirement.fits)],\n  ['liquidity','layers','Qualification & evidence → Liquidity','Liquidity rule layers','liquidity collateral reserve capital rule funding constraint',liq.layers],\n  ['liquidity','routes','Qualification & evidence → Liquidity','Liquidity route comparisons','route cash collateral provider restriction comparison',liq.routes],\n  ['liquidity','flow','Qualification & evidence → Liquidity','Funding lifecycle','funding stage available reusable release lifecycle',liq.stages]\n ];\n homeDeepSearchIndex=targets.map(([room,view,breadcrumb,label,aliases,payload])=>{const strings=[label,breadcrumb,aliases,...homeSearchStrings(payload)],normalized=homeSearchNormalize(strings.join(' ')),words=[...new Set(normalized.split(' ').filter(Boolean).map(homeSearchStem))];return {room,view,breadcrumb,label,strings,normalized,words};});\n return homeDeepSearchIndex;\n}\nfunction homeSearchSnippet(row,tokens){\n const candidates=row.strings.map(text=>({text,normalized:homeSearchNormalize(text),hits:tokens.filter(token=>homeSearchNormalize(text).split(' ').some(word=>homeSearchWordMatch(homeSearchStem(word),token))).length})).filter(item=>item.hits).sort((a,b)=>b.hits-a.hits||a.text.length-b.text.length);\n","next_section_id":"s00037","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00036.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00037.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00036.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00037.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00036.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00037.json"},{"section_id":"s00037","ordinal":37,"label":"Section 37 (continued)","source_page":null,"start_character":459825,"end_character":471586,"start_line":2461,"end_line":2499,"text":" const selected=[];for(const item of candidates){if(selected.some(text=>text.toLowerCase()===item.text.toLowerCase()))continue;selected.push(item.text.length>210?item.text.slice(0,207)+'…':item.text);if(selected.length===2)break;}\n return selected.join(' · ')||'Matching content is inside this room.';\n}\nfunction homeDeepSearch(query){\n const tokens=homeSearchTokens(query);if(!tokens.length)return [];\n return (homeDeepSearchIndex||homeSearchBuildIndex()).map(row=>{const matches=tokens.every(token=>row.words.some(word=>homeSearchWordMatch(word,token)));if(!matches)return null;const heading=homeSearchNormalize(row.label+' '+row.breadcrumb),headingHits=tokens.filter(token=>heading.split(' ').some(word=>homeSearchWordMatch(homeSearchStem(word),token))).length;return {...row,score:headingHits*20+tokens.filter(token=>row.normalized.includes(token)).length,snippet:homeSearchSnippet(row,tokens)};}).filter(Boolean).sort((a,b)=>b.score-a.score||a.label.localeCompare(b.label));\n}\nfunction filterHomeAtlas(){\n const q=homeAtlasQuery.trim().toLowerCase();let visible=0;\n document.querySelectorAll('#hubHome .home-system-card,#hubHome .home-recent-card').forEach(card=>{const show=!q||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)visible+=1;});\n document.querySelectorAll('#hubHome .atlas-family').forEach(family=>{const meta=[family.querySelector('.liq-kicker')?.textContent,family.querySelector('h3')?.textContent,family.querySelector(':scope>p')?.textContent].join(' ').toLowerCase(),familyMatch=!q||meta.includes(q);let cards=0;family.querySelectorAll('.hub-room-card').forEach(card=>{const show=familyMatch||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)cards+=1;});family.hidden=cards===0;if(cards)visible+=1;});\n document.querySelectorAll('#hubHome .embedded-room').forEach(card=>{const show=!q||card.textContent.toLowerCase().includes(q);card.hidden=!show;if(show)visible+=1;});\n const results=document.getElementById('homeSearchResults'),matches=q?homeDeepSearch(q):[];\n if(results){results.hidden=!q;results.innerHTML=q?`<div class=\"home-search-summary\"><b>${matches.length} matching ${matches.length===1?'room':'rooms'} inside the Hub</b><small>Full-content search · titles, explanations, entities, relationships, questions, boundaries and source labels</small></div><div class=\"home-search-grid\">${matches.slice(0,24).map(row=>`<button type=\"button\" class=\"home-search-result\" data-hub-subview-room=\"${esc(row.room)}\" data-hub-subview=\"${esc(row.view)}\"><small>${esc(row.breadcrumb)}</small><b>${esc(row.label)}</b><span>${esc(row.snippet)}</span></button>`).join('')}</div>${matches.length>24?`<p class=\"home-empty\">Showing the 24 strongest room matches. Add another remembered word to narrow ${matches.length-24} more.</p>`:''}`:'';}\n const empty=document.getElementById('homeAtlasEmpty');if(empty)empty.hidden=visible>0||matches.length>0;\n}\nfunction renderWorkspaceHub(workspace){\n const target=document.getElementById('workspaceHub');\n const commentClock=fedGenius.clocks.find(clock=>clock.id==='comment')||fedGenius.clocks[0];\n target.innerHTML=`<header class=\"hub-home-intro\"><span class=\"liq-kicker\">Rules &amp; proof · authority, readiness and evidence</span><h2>What is permitted—and what is actually proved?</h2><p>Start with the question. Legal permission, technical fit, operating receipt, scale and stress evidence remain separate clocks.</p></header><div class=\"hub-workspace-grid\"><article class=\"hub-question\"><span class=\"liq-kicker\">Who may do this?</span><h3>Permission and responsible actors</h3><div class=\"hub-room-list\">${hubRoomCard('routes','Who may perform the function?','Follow function → pathway → conditions → eligible entity → named evidence.','Start here')}${hubRoomCard('legal','How does legal effect arise?','Inspect legal foundations, actor qualifications, transaction assignments and worked cases.')}${hubRoomCard('overview','Institutional context','See institutions, access routes, rulebooks, arrangements and transaction cells.')}</div></article><article class=\"hub-question\"><span class=\"liq-kicker\">Is it actually ready?</span><h3>Qualification and operating proof</h3><div class=\"hub-room-list\">${hubRoomCard('transition','Readiness gates','Test fourteen requirements against all 34 governed technology families.','Gate matrix')}${hubRoomCard('liquidity','Liquidity and collateral','Compare rule layers, reserve constraints, funding routes and reuse clocks.')}${hubMapCard('accounting','Accounting and finality','Inspect which claim, record or book changed—and what still did not settle.')}</div></article></div><section aria-label=\"Current rule packages\"><span class=\"liq-kicker\">What rule changes it?</span><div class=\"rule-package-grid\"><article class=\"rule-package proposed\"><span class=\"fgx-proposal\">${esc(fedGenius.status)}</span><h3>Federal Reserve GENIUS proposals</h3><dl><dt>Authority</dt><dd>Federal Reserve Board</dd><dt>Legal subject</dt><dd>Payment stablecoin issuer and the insured-state-member-bank subsidiary route</dd><dt>Current clock</dt><dd>${esc(commentClock.label)} · ${esc(commentClock.value)} · ${esc(commentClock.state)}</dd><dt>Receipt needed</dt><dd>A final rule, entity-specific approval and operating evidence remain distinct future receipts.</dd></dl>${hubRoomCard('genius','Open the Fed package','Entity map, seven layers, twelve gates, nine clocks and 277 questions.')}</article><article class=\"rule-package\"><span class=\"xr-status\">Effective order</span><h3>${esc(innovation.title)}</h3><dl><dt>Authority</dt><dd>Securities and Exchange Commission</dd><dt>Legal subject</dt><dd>The eligible actor and transaction design defined by the order</dd><dt>Current clock</dt><dd>Effective at the ${esc(innovation.evidence_cutoff.slice(0,10))} saved cutoff</dd><dt>Receipt needed</dt><dd>${esc(innovation.boundary)}</dd></dl>${hubRoomCard('innovation','Open the SEC package','Eight gates, overlap states, ecosystem matrix and implementation watches.')}</article></div></section><section aria-label=\"Qualification evidence chain\"><div class=\"workspace-path\"><article><b>1 · Functional fit</b><small>Can it perform the required function?</small></article><article><b>2 · Legal seat</b><small>May an eligible entity occupy the role?</small></article><article><b>3 · Operating receipt</b><small>Did the exact route complete in production?</small></article><article><b>4 · Scale and stress</b><small>Does it recur and recover under pressure?</small></article></div></section>`;\n}\nfunction homeTrackedSystems(){\n const dated=(items,fallback)=>items.map(item=>item.date).filter(date=>/^\\d{4}-\\d{2}-\\d{2}$/.test(date)).sort().at(-1)||fallback;\n const core=fieldGuide.profiles.map(profile=>{const build=buildoutByEcosystem.get(profile.ecosystem_id),items=build.current_builds.concat(build.deals_and_integrations);return {id:profile.ecosystem_id,label:profile.plain_name,group:'Core profile',room:'guide',state:build.transition_state,date:dated(items,build.refreshed_through),summary:build.headline};});\n const specialists=expansion.systems.map(system=>({id:system.id,label:system.name,group:'Specialist system',room:'expansion',state:system.latest_state,date:system.latest_date,summary:system.latest_development}));\n return core.concat(specialists).sort((a,b)=>a.label.localeCompare(b.label));\n}\nfunction homeSystemCard(system,recent=false){return `<button type=\"button\" class=\"${recent?'home-recent-card':'home-system-card'}\" data-home-system=\"${esc(system.id)}\" data-home-system-room=\"${esc(system.room)}\"><small>${esc(system.group)} · ${esc(system.date)}</small><b>${esc(system.label)}</b><span>${esc(system.summary)}</span><em>${esc(guideStageLabel(system.state))}</em></button>`;}\nfunction renderHubHome(){\n const family=(kicker,title,description,cards)=>`<article class=\"atlas-family\" data-atlas-searchable><span class=\"liq-kicker\">${esc(kicker)}</span><h3>${esc(title)}</h3><p>${esc(description)}</p><div class=\"hub-room-list\">${cards}</div></article>`;\n const embedded=(workspace,title,description,buttons)=>`<article class=\"embedded-room\" data-atlas-searchable><span class=\"liq-kicker\">${esc(workspace)}</span><h4>${esc(title)}</h4><p>${esc(description)}</p><div class=\"subview-chips\">${buttons}</div></article>`;\n const systems=hubRoomCard('guide','Tracked Systems Field Guide','Plain-language directory for all governed systems.')+hubViewCard('map','explore','Crypto relationship map','Entities, products, networks and typed relationships.')+hubRoomCard('overview','Whole institutional map','Institutions, access routes, rulebooks and connections.')+hubRoomCard('stack','Current stack map','Today’s securities, dollar and fund rails.')+hubRoomCard('expansion','Stack expansion','Ten seats and 34 technology/control sublayers.')+hubRoomCard('banks','Major bank transition','Sixteen institutions across seven separately evidenced transition surfaces.','New')+hubRoomCard('corporate','Corporate stack comparison','Seven groups across seven operating dimensions.')+hubRoomCard('securitize','Securitize anatomy','Entities, lifecycle, record models and cash-leg interfaces.');\n const transactions=hubViewCard('xray','all','Transaction X-ray','Five aligned layers for Share, Dollar or Fund.','Start here')+hubRoomCard('walk','Plain-language Walk','Read one route from beginning to end.')+hubRoomCard('journey','Transaction maps','Participant lanes, overlays and exceptions.')+hubRoomCard('rights','Steps & rights','Rights, obligations and authoritative records.')+hubRoomCard('books','Debits & credits','Whose books or fiduciary records move.')+hubViewCard('map','process','Process coverage','Tokenization, stablecoin and FX lifecycle grids.')+hubViewCard('map','trace','Evidence traces','Follow a named asset or claim.')+hubViewCard('map','compare','Lifecycle comparison','Compare systems at the same stage.')+hubViewCard('map','accounting','Accounting & finality','Separate claims, records, cash and settlement.');\n const rules=hubViewCard('genius','entities','Fed GENIUS entity map','Legal entities, claims, assets and dependencies.','New')+hubViewCard('legal','innovation','SEC Innovation Exemption','Eight gates and technology-overlap matrix.')+hubRoomCard('routes','Permissions & players','Function → pathway → conditions → evidence.')+hubViewCard('legal','qualifications','Who does what?','Actors, roles, assessments and transaction assignments.');\n const qualificationCards=hubViewCard('transition','gate','Transition gates','Fourteen requirements across 34 system families.')+hubViewCard('transition','system','System qualification view','Start with a system and inspect every gate it touches.')+hubViewCard('liquidity','layers','Liquidity & collateral','Rule layers and funding constraints.')+hubViewCard('map','accounting','Accounting & finality','What changed on which book—and what did not settle.');\n const embeddedViews=[\n  embedded('Rules & permissions → Fed GENIUS','Six coordinated Fed views','The proposal room contains six separate infographics; open any one directly.',hubSubviewButton('genius','entities','Entity map')+hubSubviewButton('genius','layers','Seven layers')+hubSubviewButton('genius','gates','Twelve gates')+hubSubviewButton('genius','clocks','Nine clocks')+hubSubviewButton('genius','ecosystems','Twenty ecosystems')+hubSubviewButton('genius','questions','277 questions')),\n  embedded('Systems + Transactions → Crypto map','Six map modes','The same governed registry can be read structurally, sequentially, comparatively or as accounting.',hubSubviewButton('map','explore','Explore')+hubSubviewButton('map','full','Full map')+hubSubviewButton('map','process','Process')+hubSubviewButton('map','trace','Trace')+hubSubviewButton('map','compare','Compare')+hubSubviewButton('map','accounting','Accounting')),\n","next_section_id":"s00038","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00037.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00038.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00037.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00038.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00037.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00038.json"},{"section_id":"s00038","ordinal":38,"label":"Section 38 (continued)","source_page":null,"start_character":471586,"end_character":481892,"start_line":2499,"end_line":2527,"text":"  embedded('Transactions → X-ray','Six layer settings','All-aligned is the default; isolate a layer without losing the joined route context.',hubSubviewButton('xray','all','All aligned')+hubSubviewButton('xray','movement','Movement')+hubSubviewButton('xray','record','Rights & record')+hubSubviewButton('xray','books','Books & cash')+hubSubviewButton('xray','authority','Authority')+hubSubviewButton('xray','remedy','Remedy')),\n  embedded('Rules & permissions → Legal process','Five legal views','Keep legal foundations, an effective order, authority layers, qualifications and cases distinct.',hubSubviewButton('legal','walk','Step by step')+hubSubviewButton('legal','innovation','Innovation order')+hubSubviewButton('legal','layers','Authority layers')+hubSubviewButton('legal','qualifications','Who does what?')+hubSubviewButton('legal','cases','Worked cases')),\n  embedded('Qualification & evidence → Transition gates','Two directions through the matrix','Start with a required function or with a named technology family.',hubSubviewButton('transition','gate','Start with a gate')+hubSubviewButton('transition','system','Start with a system')),\n  embedded('Qualification & evidence → Liquidity','Three liquidity views','Separate rule constraints, route comparisons and the funding lifecycle.',hubSubviewButton('liquidity','layers','Rule layers')+hubSubviewButton('liquidity','routes','Route comparisons')+hubSubviewButton('liquidity','flow','Funding lifecycle')),\n  embedded('Systems & entities → Securitize anatomy','Embedded company layers','Regulated entities · operating scale · security lifecycle · record models · Ripple comparison · GENIUS cash-leg interface · watch questions.',hubSubviewButton('securitize','room','Open anatomy room')),\n  embedded('Systems & entities → Stack comparisons','Embedded structural layers','Current stack: Share, Dollar and Fund rails. Stack expansion: ten seats and 34 sublayers. Major-bank transition: 16 institutions and seven capability surfaces. Corporate comparison: seven operating dimensions.',hubSubviewButton('stack','room','Current stack')+hubSubviewButton('expansion','room','Stack expansion')+hubSubviewButton('banks','room','Major banks')+hubSubviewButton('corporate','room','Corporate comparison')),\n  embedded('Systems & entities → Whole institutional map','Embedded market layers','Institutions · member and access routes · rulebooks · roles · legal foundations · assessments · arrangements · transaction cells · liquidity.',hubSubviewButton('overview','room','Open whole map'))\n ].join('');\n const allSystems=homeTrackedSystems(),featuredIds=['quant','ondo-us-stack','fireblocks-tokeny','cat-reporting','backed-xstocks','dinari-dshares','circle','partior-money'],recent=featuredIds.map(id=>allSystems.find(system=>system.id===id)).filter(Boolean);\n document.getElementById('hubHome').innerHTML=`<header class=\"hub-home-intro\"><span class=\"liq-kicker\">Crypto Infrastructure Hub · 34 tracked systems · evidence through ${esc(technologyBuildout.evidence_cutoff)}</span><h2>What do you want to understand?</h2><p>Begin with the remembered question—not the Hub’s filing system. Every path below opens the governed evidence directly.</p></header><section class=\"hub-question-grid\" aria-label=\"Start with a question\"><article class=\"hub-question\"><span class=\"liq-kicker\">A system</span><h3>What is it building?</h3><p>Open one stable profile for QNT, Ondo, Stellar, Ripple or any other tracked system.</p>${hubRoomCard('systems','Browse all 34 systems','Architecture, current developments, deals, stack role and evidence.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A transaction</span><h3>How does it actually work?</h3><p>Keep one Share, Dollar or Fund route while inspecting movement, records, books, authority and remedy.</p>${hubRoomCard('xray','Follow a route','Start with the joined transaction view.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A permission</span><h3>Who may do this?</h3><p>Follow the function through its legal pathway, conditions, eligible entity and named evidence.</p>${hubRoomCard('routes','Check permission','Open the function-to-actor route.')}</article><article class=\"hub-question\"><span class=\"liq-kicker\">A claim</span><h3>Is it actually ready?</h3><p>Test functional fit, legal seat, exact route, operating receipt, scale and stress separately.</p>${hubRoomCard('transition','Test readiness','Open the fourteen-gate matrix.')}</article></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">Search the complete Hub</span><h3>Use any word you remember</h3></div><p>Search entities, technologies, deals, explanations, relationships, questions, evidence boundaries and source labels.</p></div><div class=\"atlas-tools\"><label>Search everything inside the Hub<input id=\"homeAtlasSearch\" type=\"search\" value=\"${esc(homeAtlasQuery)}\" placeholder=\"Try Ondo, QNT, Fund/SERV, tokenized deposits or a half-remembered phrase…\"></label></div><div class=\"home-search-results\" id=\"homeSearchResults\" aria-live=\"polite\" hidden></div></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">What changed recently</span><h3>Current developments, without opening another gate</h3></div><p>Each card preserves its own evidence state. Announcement, pilot, live availability and named use are not interchangeable.</p></div><div class=\"home-recent-grid\">${recent.map(system=>homeSystemCard(system,true)).join('')}</div></section><section><div class=\"home-section-head\"><div><span class=\"liq-kicker\">Complete technology directory</span><h3>All 34 systems we follow</h3></div><p>Twenty systems have full architecture, build, deal and value-capture profiles. Fourteen specialist families carry the fields their governed records actually support.</p></div><div class=\"home-system-grid\">${allSystems.map(system=>homeSystemCard(system)).join('')}</div><p class=\"home-empty\" id=\"homeAtlasEmpty\" hidden>No Hub content matches that search. Try one remembered word or a shorter phrase.</p></section><details class=\"home-deep\"><summary>Specialist comparison and analysis tools</summary><div><div class=\"visual-atlas\">${family('Systems','Compare or inspect structure','Relationship, stack, bank, corporate and company-control tools.',systems)}${family('How it works','Change the transaction lens','Route, rights, books, lifecycle and finality tools.',transactions)}${family('Rules & proof','Authority, qualification and evidence','Rule packages, legal routes, readiness, liquidity and finality.',rules+qualificationCards)}</div></div></details><details class=\"home-deep\"><summary>Exact lenses inside those tools</summary><div><p>These direct links are available when you already know the exact lens you want.</p><div class=\"embedded-index\">${embeddedViews}</div></div></details><section class=\"hub-lens\"><div><span class=\"liq-kicker\">Reading rule</span><h3>Easy to reach does not mean proved.</h3><p>The rebuilt front door removes navigation gates while preserving the exact data owner, legal state, operating clock, boundary and source record behind every answer.</p></div></section>`;\n filterHomeAtlas();\n}\nconst corporateStack=data.corporate_stack_comparison;\nconst corporateStates=new Map(corporateStack.states.map(x=>[x.id,x]));\nconst bankTransition=data.bank_transition_comparison;\nconst bankStates=new Map(bankTransition.states.map(x=>[x.id,x]));\nconst bankSources=new Map(bankTransition.sources.map(x=>[x.id,x]));\nconst bankArchetypes=new Map(bankTransition.archetypes.map(x=>[x.id,x]));\nfunction bankSourceLinks(ids){return `<div class=\"bt-sources\">${ids.map(id=>bankSources.get(id)).filter(Boolean).map(source=>`<a href=\"${esc(source.url)}\" target=\"_blank\" rel=\"noopener\">${esc(source.publisher)} · ${esc(source.title)} · ${esc(source.date)}</a>`).join('')}</div>`;}\nfunction bankStateBadge(id){const state=bankStates.get(id);return `<span class=\"bt-state ${esc(id)}\" title=\"${esc(state.meaning)}\">${esc(state.id.toUpperCase())} · ${esc(state.label)}</span>`;}\nfunction renderBankDetail(){\n const institution=bankTransition.institutions.find(item=>item.id===bankSelected)||bankTransition.institutions[0],dimension=bankTransition.dimensions.find(item=>item.id===bankCapability)||bankTransition.dimensions[0],capability=institution.capabilities[dimension.id],archetype=bankArchetypes.get(institution.archetype_id);\n const target=document.getElementById('btDetail');if(!target)return;\n target.innerHTML=`<div class=\"bt-detail-grid\"><section class=\"bt-profile\"><span class=\"liq-kicker\">${esc(archetype.label)} · ${institution.g_sib?'2025 G-SIB':'incumbent asset-manager comparator'}</span><h3>${esc(institution.label)}</h3><p><b>Operating thesis:</b> ${esc(institution.thesis)}</p><p><b>Current frontier:</b> ${esc(institution.frontier)}</p><p class=\"bt-limit\"><b>Whole-institution boundary:</b> ${esc(institution.boundary)}</p><p><b>Next receipt:</b> ${esc(institution.watch)}</p><details><summary>Institution source base</summary>${bankSourceLinks(institution.source_ids)}</details></section><section class=\"bt-capability\"><span class=\"liq-kicker\">Selected surface · ${esc(dimension.label)}</span><h3>${esc(dimension.question)}</h3>${bankStateBadge(capability.state)}<p>${esc(capability.detail)}</p><p class=\"bt-limit\"><b>Do not overclaim:</b> ${esc(capability.boundary)}</p><details open><summary>Evidence for this cell</summary>${bankSourceLinks(capability.source_ids)}</details><p><b>Why this surface matters:</b> ${esc(dimension.description)}</p></section></div>`;\n}\nfunction bankVisible(institution){const query=bankQuery.trim().toLowerCase(),archetypeMatch=bankArchetype==='all'||institution.archetype_id===bankArchetype,queryMatch=!query||[institution.label,institution.kind,institution.domicile,institution.thesis,institution.frontier,institution.boundary,institution.watch,...Object.values(institution.capabilities).flatMap(item=>[item.detail,item.boundary])].join(' ').toLowerCase().includes(query);return archetypeMatch&&queryMatch;}\nfunction renderBankTransition(){\n const target=document.getElementById('bankTransitionHub'),gSibs=bankTransition.institutions.filter(item=>item.g_sib).length,liveCells=bankTransition.institutions.flatMap(item=>Object.values(item.capabilities)).filter(item=>['m4','m5','m6'].includes(item.state)).length;\n","next_section_id":"s00039","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00038.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00039.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00038.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00039.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00038.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00039.json"},{"section_id":"s00039","ordinal":39,"label":"Section 39 (continued)","source_page":null,"start_character":481892,"end_character":492571,"start_line":2527,"end_line":2551,"text":" target.innerHTML=`<header class=\"bt-hero\"><span class=\"liq-kicker\">Comparative transition constitution · evidence through ${esc(bankTransition.cutoff)}</span><h2>${esc(bankTransition.title)}</h2><p>${esc(bankTransition.summary)}</p><p class=\"bt-boundary\">${esc(bankTransition.boundary)}</p></header><div class=\"bt-metrics\"><article class=\"bt-metric\"><strong>${bankTransition.institutions.length}</strong><small>institutions in the governed cohort</small></article><article class=\"bt-metric\"><strong>${gSibs}</strong><small>2025 FSB G-SIB groups</small></article><article class=\"bt-metric\"><strong>${bankTransition.dimensions.length}</strong><small>separately evidenced capability surfaces</small></article><article class=\"bt-metric\"><strong>${liveCells}</strong><small>bounded-live or recurring-production cells</small></article></div><p><b>Method:</b> ${esc(bankTransition.method_note)}</p><div class=\"bt-legend\">${bankTransition.states.map(state=>bankStateBadge(state.id)).join('')}</div><div class=\"bt-tools\"><label>Find an institution, product or transition claim<input id=\"bankSearch\" type=\"search\" value=\"${esc(bankQuery)}\" placeholder=\"Citi, collateral, tokenized deposits…\"></label><label>Transition model<select id=\"bankArchetype\"><option value=\"all\">All models</option>${bankTransition.archetypes.map(item=>`<option value=\"${esc(item.id)}\" ${bankArchetype===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><label>Focus one surface<select id=\"bankDimension\"><option value=\"all\">All seven surfaces</option>${bankTransition.dimensions.map(item=>`<option value=\"${esc(item.id)}\" ${bankDimension===item.id?'selected':''}>${esc(item.label)}</option>`).join('')}</select></label><button type=\"button\" id=\"bankReset\">Reset view</button></div><div class=\"bt-table-wrap\"><table class=\"bt-table\"><thead><tr><th>Institution <small>select a row</small></th>${bankTransition.dimensions.map(dimension=>`<th ${bankDimension!=='all'&&bankDimension!==dimension.id?'hidden':''}>${esc(dimension.label)}<small>${esc(dimension.question)}</small></th>`).join('')}</tr></thead><tbody>${bankTransition.institutions.map(institution=>`<tr class=\"bt-row\" data-bank-row=\"${esc(institution.id)}\" ${bankVisible(institution)?'':'hidden'}><th scope=\"row\"><button class=\"bt-institution\" type=\"button\" data-bank-institution=\"${esc(institution.id)}\"><b>${esc(institution.label)}</b><small>${esc(institution.kind)} · ${esc(bankArchetypes.get(institution.archetype_id).label)}</small></button></th>${bankTransition.dimensions.map(dimension=>{const capability=institution.capabilities[dimension.id];return `<td ${bankDimension!=='all'&&bankDimension!==dimension.id?'hidden':''}><button class=\"bt-cell\" type=\"button\" data-bank-institution=\"${esc(institution.id)}\" data-bank-capability=\"${esc(dimension.id)}\" aria-pressed=\"${institution.id===bankSelected&&dimension.id===bankCapability}\">${bankStateBadge(capability.state)}<p>${esc(capability.detail)}</p></button></td>`;}).join('')}</tr>`).join('')}</tbody></table></div><section class=\"bt-detail\" id=\"btDetail\" aria-live=\"polite\"></section><section><span class=\"liq-kicker\">Five recurring transition models</span><div class=\"bt-archetypes\">${bankTransition.archetypes.map(item=>`<article><h3>${esc(item.label)}</h3><p>${esc(item.description)}</p><small>${bankTransition.institutions.filter(institution=>institution.archetype_id===item.id).map(institution=>esc(institution.label)).join(' · ')}</small></article>`).join('')}</div></section><p class=\"bt-boundary\"><b>Reading rule:</b> M5 on one surface does not pull the other six surfaces forward. Institution-authored research is doctrine evidence; only a named operating route, legal seat and receipt advances an operating cell.</p>`;\n renderBankDetail();\n}\ndocument.addEventListener('click',event=>{\n const bank=event.target.closest('[data-bank-institution]');if(bank){bankSelected=bank.dataset.bankInstitution;if(bank.dataset.bankCapability)bankCapability=bank.dataset.bankCapability;document.querySelectorAll('.bt-cell').forEach(cell=>cell.setAttribute('aria-pressed',String(cell.dataset.bankInstitution===bankSelected&&cell.dataset.bankCapability===bankCapability)));renderBankDetail();document.getElementById('btDetail')?.scrollIntoView({behavior:'smooth',block:'nearest'});return;}\n if(event.target.closest('#bankReset')){bankSelected='citi';bankCapability='money';bankDimension='all';bankArchetype='all';bankQuery='';renderBankTransition();}\n});\ndocument.addEventListener('input',event=>{if(event.target.id==='bankSearch'){bankQuery=event.target.value;document.querySelectorAll('[data-bank-row]').forEach(row=>row.hidden=!bankVisible(bankTransition.institutions.find(item=>item.id===row.dataset.bankRow)));}});\ndocument.addEventListener('change',event=>{if(event.target.id==='bankArchetype'){bankArchetype=event.target.value;renderBankTransition();}if(event.target.id==='bankDimension'){bankDimension=event.target.value;renderBankTransition();}});\nfunction corporateSeat(seat){const st=corporateStates.get(seat.state);return `<span class=\"cs-state ${esc(seat.state)}\" title=\"${esc(st.meaning)}\">${esc(st.label)}</span><p>${esc(seat.text)}</p>`;}\nfunction renderCorporateStacks(){\n const target=document.getElementById('corporateStackHub');\n target.innerHTML=`<header class=\"cs-intro\"><span class=\"liq-kicker\">Corporate stack comparison · evidence through ${esc(corporateStack.cutoff)}</span><h2>${esc(corporateStack.title)}</h2><p>${esc(corporateStack.summary)}</p><p class=\"cs-boundary\">${esc(corporateStack.boundary)}</p></header><div class=\"cs-legend\">${corporateStack.states.map(s=>`<span class=\"cs-state ${esc(s.id)}\" title=\"${esc(s.meaning)}\">${esc(s.label)}</span>`).join('')}</div><div class=\"cs-table-wrap\"><table class=\"cs-table\"><thead><tr><th>Group <small>Bottom-line reading</small></th>${corporateStack.dimensions.map(d=>`<th>${esc(d.label)}<small>${esc(d.question)}</small></th>`).join('')}</tr></thead><tbody>${corporateStack.groups.map(g=>`<tr><th scope=\"row\"><b>${esc(g.label)}</b><p class=\"cs-verdict\">${esc(g.verdict)}</p><p class=\"cs-bound\">${esc(g.boundary)}</p><details class=\"cs-source\"><summary>Evidence</summary>${sourceLinks(g.source_ids)}</details></th>${corporateStack.dimensions.map(d=>`<td>${corporateSeat(g.seats[d.id])}</td>`).join('')}</tr>`).join('')}</tbody></table></div><section class=\"cs-foot\"><span class=\"liq-kicker\">Second ring</span><div class=\"cs-second\">${corporateStack.second_ring.map(x=>`<article><h3>${esc(x.label)}</h3><p>${esc(x.finding)}</p><details><summary>Evidence</summary>${sourceLinks(x.source_ids)}</details></article>`).join('')}</div><p><b>Reading rule:</b> a group enters the closest-peer set when it occupies most seats with operating products. Partners, pending acquisitions, pre-opening charters and roadmaps can form a powerful federation without proving vertical control.</p></section>`;\n}\nconst securitizeAnatomy=data.securitize_anatomy;\nfunction securitizeSources(ids){return `<details class=\"sz-source\"><summary>Primary evidence</summary>${sourceLinks(ids)}</details>`;}\nfunction renderSecuritizeAnatomy(){\n const a=securitizeAnatomy,c=a.ripple_comparison,g=a.genius_act,target=document.getElementById('securitizeHub');\n target.innerHTML=`<header class=\"sz-hero\"><span class=\"liq-kicker\">Company anatomy · evidence through ${esc(a.cutoff)}</span><h2>${esc(a.title)}</h2><p>${esc(a.summary)}</p><p class=\"sz-thesis\"><b>The lens:</b> ${esc(a.thesis)}</p><p class=\"sz-boundary\">${esc(a.boundary)}</p></header>\n <section aria-labelledby=\"sz-scale\"><h2 id=\"sz-scale\">What the operating scale says</h2><div class=\"sz-metrics\">${a.scale.map(x=>`<article class=\"sz-metric\"><strong>${esc(x.value)}</strong><b>${esc(x.label)}</b><small>As of ${esc(x.as_of)}</small><p>${esc(x.meaning)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-body\"><h2 id=\"sz-body\">The regulated operating body</h2><p>The brand is one group; permissions and customer duties attach to the exact entities below.</p><div class=\"sz-entities\">${a.entities.map(x=>`<article class=\"sz-card\"><span class=\"sz-tag\">${esc(x.kind)}</span><h3>${esc(x.label)}</h3><p class=\"sz-status\">${esc(x.status)}</p><p>${esc(x.role)}</p><p class=\"sz-limit\">${esc(x.boundary)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-life\"><h2 id=\"sz-life\">Follow one security through the machine</h2><p>These are functional stages, not a claim that every product uses one route or one clock.</p><div class=\"sz-flow\">${a.lifecycle.map(x=>`<article class=\"sz-step\"><h3>${esc(x.label)}</h3><p>${esc(x.action)}</p><dl><dt>Control seat</dt><dd>${esc(x.control)}</dd><dt>Record to inspect</dt><dd>${esc(x.record)}</dd></dl><p class=\"sz-limit\">${esc(x.boundary)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section aria-labelledby=\"sz-models\"><h2 id=\"sz-models\">“On-chain ownership” is not one record model</h2><p>The governing documents decide how public-chain state, identity records and incumbent registers fit together.</p><div class=\"sz-models\">${a.record_models.map(x=>`<article class=\"sz-card sz-model\"><span class=\"sz-status\">${esc(x.state)}</span><h3>${esc(x.label)}</h3><p><b>Authoritative pattern</b><br>${esc(x.authoritative_pattern)}</p><p><b>Outside bodies</b><br>${esc(x.outside_bodies)}</p><p class=\"sz-limit\"><b>Why it matters:</b> ${esc(x.lesson)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div></section>\n <section class=\"sz-compare\" aria-labelledby=\"sz-compare\"><span class=\"liq-kicker\">Direct comparison</span><h2 id=\"sz-compare\">${esc(c.title)}</h2><div class=\"sz-compare-intro\"><p class=\"sz-thesis\"><b>Working thesis:</b> ${esc(c.thesis)}</p><p class=\"sz-boundary\">${esc(c.boundary)}</p></div><div class=\"sz-compare-table\"><div class=\"sz-compare-head\"><b>Control seat</b><b>Ripple</b><b>Securitize</b><b>Decisive distinction</b></div>${c.rows.map(x=>`<article class=\"sz-compare-row\"><h3>${esc(x.seat)}</h3><p>${esc(x.ripple)}</p><p>${esc(x.securitize)}</p><div class=\"sz-distinction\"><p><b>${esc(x.distinction)}</b></p>${securitizeSources(x.source_ids)}</div></article>`).join('')}</div><article class=\"sz-interface\"><span class=\"sz-tag\">Live interface · bounded public evidence</span><h3>${esc(c.interface.title)}</h3><ol>${c.interface.steps.map(x=>`<li>${esc(x)}</li>`).join('')}</ol><p class=\"sz-limit\"><b>What the evidence proves:</b> ${esc(c.interface.proof_state)}</p>${securitizeSources(c.interface.source_ids)}</article><section class=\"sz-watch\"><h3>What would deepen or change this comparison</h3><ol>${c.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section></section>\n","next_section_id":"s00040","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00039.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00040.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00039.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00040.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00039.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00040.json"},{"section_id":"s00040","ordinal":40,"label":"Section 40 (continued)","source_page":null,"start_character":492571,"end_character":506218,"start_line":2551,"end_line":2629,"text":" <section class=\"sz-genius\" aria-labelledby=\"sz-genius\"><span class=\"liq-kicker\">Enacted law · implementation clock through ${esc(g.cutoff)}</span><h2 id=\"sz-genius\">${esc(g.title)}</h2><p class=\"sz-status\">${esc(g.status)}</p><div class=\"sz-compare-intro\"><p class=\"sz-thesis\"><b>The fit:</b> ${esc(g.thesis)}</p><p class=\"sz-boundary\">${esc(g.boundary)}</p></div><div class=\"sz-genius-clocks\">${g.clocks.map(x=>`<article class=\"sz-clock\"><span class=\"sz-tag\">${esc(x.state)}</span><h3>${esc(x.label)}</h3><time>${esc(x.date)}</time><p>${esc(x.meaning)}</p>${securitizeSources(x.source_ids)}</article>`).join('')}</div><div class=\"sz-genius-table\"><div class=\"sz-genius-head\"><b>Legal question</b><b>Ripple</b><b>Securitize</b><b>What the Act changes</b></div>${g.rows.map(x=>`<article class=\"sz-genius-row\"><h3>${esc(x.question)}</h3><p>${esc(x.ripple)}</p><p>${esc(x.securitize)}</p><div class=\"sz-effect\"><p><b>${esc(x.effect)}</b></p>${securitizeSources(x.source_ids)}</div></article>`).join('')}</div><article class=\"sz-interface\"><span class=\"sz-tag\">Joined transaction · separate claims</span><h3>${esc(g.interface.title)}</h3><ol>${g.interface.steps.map(x=>`<li>${esc(x)}</li>`).join('')}</ol><p class=\"sz-limit\"><b>Reading rule:</b> ${esc(g.interface.reading)}</p>${securitizeSources(g.interface.source_ids)}</article><section class=\"sz-watch\"><h3>GENIUS evidence to watch next</h3><ol>${g.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section></section>\n <section class=\"sz-watch\"><h2>What would change the Securitize reading</h2><ol>${a.watch.map(x=>`<li>${esc(x)}</li>`).join('')}</ol></section><div class=\"sz-actions\"><button type=\"button\" data-room=\"corporate\">Return to corporate stacks</button><button type=\"button\" data-guide-securitize>Open Securitize in the Field Guide</button><button type=\"button\" data-map-securitize>Open the governed relationship map</button></div>`;\n}\ndocument.addEventListener('click',e=>{\n if(e.target.closest('[data-guide-securitize]')){guideSelected='securitize';systemsScope='all';guideQuery='';openCryptoRoom('systems');return;}\n if(e.target.closest('[data-map-securitize]')){state.ecosystem='securitize';state.focusedNode=ecosystemsById.get('securitize').root_node_id;ecosystemSelect.value='securitize';state.mode='explore';setMode('explore');openCryptoRoom('map');}\n});\nfunction xrayJoined(){\n const rightsRouteData=data.steps_rights_hub.routes.find(r=>r.id===hubRoute),walkRouteData=data.process_walk.routes.find(r=>r.id===hubRoute),booksRouteData=data.books_hub.routes.find(r=>r.id===hubRoute),journeyRouteData=data.transaction_maps.routes.find(r=>r.id===hubRoute);\n if(xrayStep>=rightsRouteData.steps.length)xrayStep=0;\n const right=rightsRouteData.steps[xrayStep],walk=walkRouteData.steps.find(s=>s.id===right.id),books=booksRouteData.steps.find(s=>s.id===right.id),journey=journeyRouteData.nodes.filter(n=>n.step_ref===right.id);\n return {rightsRouteData,walkRouteData,booksRouteData,journeyRouteData,right,walk,books,journey};\n}\nfunction xrayBookCards(step){\n const rows=[...(step.entries||[]).map(x=>({...x,xrPath:'Ordinary'})),...(xrayOverlay?(step.overlay_entries||[]).map(x=>({...x,xrPath:'Crypto comparison'})):[])];\n const moving=rows.filter(x=>x.book_kind!=='none').slice(0,8),idle=rows.filter(x=>x.book_kind==='none').length;\n if(!moving.length)return `<p class=\"xr-empty\">No proprietary or fiduciary book entry is shown at this step. ${idle} explicit no-entry role${idle===1?'':'s'} remain visible in Debits &amp; credits.</p>`;\n return `<div class=\"xr-book-grid\">${moving.map(x=>`<article class=\"xr-mini xr-book ${esc(x.book_kind)}\"><b>${esc(x.entity_label)} · ${esc(x.xrPath)}</b><span class=\"xr-empty\">${esc(booksKind(x.book_kind).label)}</span>${x.book_kind==='proprietary'||x.book_kind==='fiduciary'?`<p><b>Debit</b> ${esc(x.debit)}</p><p><b>Credit</b> ${esc(x.credit)}</p>`:`<p>${esc(x.role_performed)}</p>`}</article>`).join('')}</div>${idle?`<p class=\"xr-empty\">Plus ${idle} explicit no-entry role${idle===1?'':'s'}; open Debits &amp; credits for the complete discriminator.</p>`:''}`;\n}\nfunction xrayProcessIds(){return ({securities:['tokenization'],payment:['stablecoins','fx-cross-border'],fund:['tokenization']})[hubRoute]||['tokenization'];}\nfunction xrayProcessPanel(){\n const processes=xrayProcessIds().map(id=>processesById.get(id)).filter(Boolean);\n return `<div class=\"xr-wide-grid\">${processes.map(process=>`<article class=\"xr-route-evidence\"><span class=\"liq-kicker\">${esc(process.label)} · lifecycle context</span><h3>${esc(process.label)} process</h3><ol>${process.stages.map((stage,index)=>`<li><b>${index+1}. ${esc(stage.label)}</b><span>${esc(stage.question||stage.description||'Inspect the exact sourced coverage at this stage.')}</span></li>`).join('')}</ol><p class=\"xr-empty\">This is the process constitution around the selected ${esc(hubRouteRecord().tab)} route. It does not assert that one transaction crosses every stage or system.</p></article>`).join('')}</div>`;\n}\nfunction xrayTracePanel(){\n const processIds=new Set(xrayProcessIds()),traces=data.asset_traces.filter(trace=>(trace.process_ids||[trace.process_id]).some(id=>processIds.has(id)));\n return `<div class=\"xr-wide-grid\">${traces.map(trace=>`<details class=\"xr-route-evidence\"><summary><b>${esc(trace.label)}</b><span>${esc(trace.kind||'evidence trace')}</span></summary><p>${esc(trace.description)}</p><ol>${trace.walkthrough.map(step=>`<li>${esc(step)}</li>`).join('')}</ol><p class=\"xr-empty\"><b>Boundary:</b> ${esc(trace.boundary)}</p><p class=\"xr-empty\">${esc(trace.mapping_note||'The trace preserves explicit evidence gaps.')}</p></details>`).join('')}</div>`;\n}\nfunction xrayAccountingPanel(){\n const route=data.books_hub.routes.find(item=>item.id===hubRoute),rights=data.steps_rights_hub.routes.find(item=>item.id===hubRoute);\n return `<div class=\"xr-accounting-table\"><div class=\"xr-accounting-head\"><b>Step</b><b>Right / authoritative record</b><b>Books and cash</b><b>What remains open</b></div>${route.steps.map((step,index)=>{const right=rights.steps[index],entries=[...(step.entries||[]),...(xrayOverlay?(step.overlay_entries||[]):[])],moving=entries.filter(entry=>entry.book_kind!=='none');return `<article><h3>${index+1}. ${esc(step.title)}</h3><p>${esc(right.record)}</p><p>${moving.length?esc(moving.map(entry=>`${entry.entity_label}: ${entry.book_kind}`).join(' · ')):'No proprietary or fiduciary entry shown at this step.'}</p><p class=\"xr-empty\">${esc(right.gap)}</p></article>`;}).join('')}</div><p class=\"xr-empty\">Book entry, authoritative record, cash discharge and legal finality are shown together because they can occur on different clocks.</p>`;\n}\nfunction renderXray(){\n const {rightsRouteData,walkRouteData,journeyRouteData,right,walk,books,journey}=xrayJoined(),status=data.steps_rights_hub.statuses.find(s=>s.id===right.status),before=journey[0]?.before||walk?.what||right.action,after=journey[journey.length-1]?.after||right.proof,sourceIds=[...new Set([...(right.baseline_sources||[]),...(right.crypto_sources||[]),...(books.source_ids||[])])];\n const layerChoices=[['all','Step view'],['movement','Movement'],['record','Rights & record'],['books','Books & cash'],['authority','Authority'],['remedy','Remedy'],['process','Process'],['trace','Evidence traces'],['accounting','Accounting & finality']];\n history.replaceState(null,'','#xray-'+hubRoute+'-'+right.id+'?overlay='+(xrayOverlay?'1':'0')+'&layer='+xrayLayer);\n document.getElementById('xrayHub').innerHTML=`\n  <span class=\"liq-kicker\">Synthesis view · joins existing route, rights and books owners</span>\n  <h2>How it works</h2>\n  <p class=\"xr-intro\"><b>${esc(hubRouteRecord().tab)} · ${esc(rightsRouteData.title)}</b><br>Move one step at a time without leaving the route. Change the lens to inspect movement, records, books, authority, remedy, the wider process, named evidence traces or accounting and finality.</p>\n  <p class=\"xr-boundary\">This is a joined reading of existing evidence, not a new transaction receipt. Technical movement, legal title, book entry, cash discharge and remedy can occur on different clocks.</p>\n  <nav class=\"xr-steps\" aria-label=\"Choose an X-ray step\">${rightsRouteData.steps.map((s,i)=>`<button type=\"button\" data-xray-step=\"${i}\" aria-pressed=\"${i===xrayStep}\"><span>${i+1} / ${rightsRouteData.steps.length}</span>${esc(s.title)}</button>`).join('')}</nav>\n  <div class=\"xr-controls\"><button type=\"button\" data-xray-prev ${xrayStep===0?'disabled':''}>← Previous</button><span class=\"xr-progress\">Step ${xrayStep+1} of ${rightsRouteData.steps.length} · ${esc(right.title)}</span><label><input id=\"xrayOverlay\" type=\"checkbox\" ${xrayOverlay?'checked':''}> Show ${esc(rightsRouteData.overlay)} comparison</label><button type=\"button\" data-xray-next ${xrayStep===rightsRouteData.steps.length-1?'disabled':''}>Next →</button></div>\n  <nav class=\"xr-layerbar\" aria-label=\"Choose X-ray layers\"><strong>Layer focus</strong>${layerChoices.map(([id,label])=>`<button type=\"button\" data-xray-layer=\"${id}\" aria-pressed=\"${xrayLayer===id}\">${label}</button>`).join('')}</nav>\n  <div class=\"xr-layers\">\n   <article class=\"xr-layer\" data-xray-layer-panel=\"movement\"><header><span>Layer 1</span><h3>Action &amp; movement</h3></header><div><p><b>What happens:</b> ${esc(walk?.what||right.action)}</p>${journey.map(n=>`<p>${esc(n.explain)}</p>`).join('')}<div class=\"xr-before-after\"><div class=\"xr-mini\"><b>Before</b>${esc(before)}</div><div class=\"xr-mini\"><b>After / required result</b>${esc(after)}</div></div></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"record\"><header><span>Layer 2</span><h3>Right &amp; authoritative record</h3></header><div><p><b>Right or obligation:</b> ${esc(right.right)}</p><p><b>Controlling record or receipt:</b> ${esc(right.record)}</p></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"books\"><header><span>Layer 3</span><h3>Books &amp; cash</h3></header><div>${xrayBookCards(books)}</div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"authority\"><header><span>Layer 4</span><h3>Authority &amp; permission</h3></header><div><p><b>Who can act:</b> ${esc(right.actors)}</p><p><b>Evidence that completes this step:</b> ${esc(right.proof)}</p></div></article>\n   <article class=\"xr-layer\" data-xray-layer-panel=\"remedy\"><header><span>Layer 5</span><h3>Correction, failure &amp; remedy</h3></header><div><p><b>What remains unresolved:</b> ${esc(right.gap)}</p><p><b>Next evidence to obtain:</b> ${esc(right.needed)}</p></div></article>\n   ${xrayOverlay?`<article class=\"xr-layer xr-crypto\" data-xray-layer-panel=\"comparison\"><header><span>Crypto comparison</span><h3>${esc(rightsRouteData.overlay)}</h3></header><div><span class=\"xr-status\">${esc(status?.label||right.status)}</span><p>${esc(right.crypto)}</p><p class=\"xr-empty\">${esc(status?.meaning||'The cited evidence boundary remains controlling.')}</p></div></article>`:''}\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"process\">${xrayProcessPanel()}</section>\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"trace\">${xrayTracePanel()}</section>\n   <section class=\"xr-lens-wide\" data-xray-layer-panel=\"accounting\">${xrayAccountingPanel()}</section>\n  </div>\n  <div class=\"xr-links\"><details><summary>Specialist detail views</summary><div><button type=\"button\" data-xray-open=\"walk\">Plain-language Walk</button><button type=\"button\" data-xray-open=\"journey\">Participant map</button><button type=\"button\" data-xray-open=\"rights\">Detailed rights</button><button type=\"button\" data-xray-open=\"books\">Full books</button><button type=\"button\" data-xray-open=\"legal\">Related legal question</button></div></details>${evidenceDrawer(sourceIds,right.gap,'Evidence behind this step')}</div>\n  <p class=\"xr-empty\"><b>Route timing:</b> ${esc(journeyRouteData.timing)} ${esc(rightsRouteData.clock)}</p>`;\n document.querySelectorAll('#xrayHub [data-xray-layer-panel]').forEach(panel=>{const name=panel.dataset.xrayLayerPanel,special=['process','trace','accounting'].includes(name),show=xrayLayer==='all'?!special:name===xrayLayer||name==='comparison'&&['movement','record','books','authority','remedy'].includes(xrayLayer);panel.hidden=!show;});\n}\nfunction openXraySource(room){\n const {right,journeyRouteData}=xrayJoined();\n if(room==='journey'){journeySelected=(journeyRouteData.nodes.find(n=>n.step_ref===right.id)||journeyRouteData.nodes[0]).id;journeyScenario='ordinary';}\n if(room==='rights'){rightsFilter='all';}\n if(room==='books'){booksStep=right.id;}\n if(room==='legal'){legalTab='walk';legalStep=Math.max(0,legal.steps.findIndex(s=>s.id===right.legal_step_id));legalCase='';}\n openCryptoRoom(room);\n if(room==='rights')requestAnimationFrame(()=>document.getElementById('rights-'+hubRoute+'-'+right.id)?.scrollIntoView({block:'start'}));\n}\ndocument.addEventListener('click',e=>{\n const route=e.target.closest('[data-hub-route]');if(route){setHubRoute(route.dataset.hubRoute);return;}\n const layer=e.target.closest('[data-xray-layer]');if(layer){xrayLayer=layer.dataset.xrayLayer;renderXray();return;}\n const step=e.target.closest('[data-xray-step]');if(step){xrayStep=Number(step.dataset.xrayStep);renderXray();return;}\n if(e.target.closest('[data-xray-prev]')&&xrayStep>0){xrayStep-=1;renderXray();return;}\n if(e.target.closest('[data-xray-next]')){const total=data.steps_rights_hub.routes.find(r=>r.id===hubRoute).steps.length;if(xrayStep<total-1){xrayStep+=1;renderXray();}return;}\n const open=e.target.closest('[data-xray-open]');if(open){openXraySource(open.dataset.xrayOpen);return;}\n});\ndocument.addEventListener('change',e=>{if(e.target.id==='xrayOverlay'){xrayOverlay=e.target.checked;renderXray();}});\n\n","next_section_id":"s00041","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00040.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00041.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00040.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00041.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00040.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00041.json"},{"section_id":"s00041","ordinal":41,"label":"Section 41 (continued)","source_page":null,"start_character":506218,"end_character":518493,"start_line":2629,"end_line":2814,"text":"function roomFromHash(){\n const room=location.hash.slice(1)||'command';\n if(room==='command'||room.startsWith('command?')){const q=room.includes('?')?new URLSearchParams(room.split('?')[1]):null,lens=q?.get('lens'),system=q?.get('system'),law=q?.get('law'),route=q?.get('route');if(['briefing','systems','flows','rules','evidence'].includes(lens))commandLens=lens;if(system&&systemRecordById(system))guideSelected=system;if(data.process_walk.routes.some(item=>item.id===route))setHubRoute(route,false);if(['genius','innovation','functions','readiness'].includes(law))commandLawFocus=law;openCryptoRoom('command',false);return;}\n if(room==='home'){commandLens='briefing';openCryptoRoom('command',false);return;}\n if(room==='transactions'){commandLens='flows';openCryptoRoom('command',false);return;}\n if(room==='qualification'){commandLens='rules';openCryptoRoom('command',false);return;}\n if(room==='rules'){commandLens='rules';openCryptoRoom('command',false);return;}\n if(room==='systems'||room.startsWith('systems-')){\n  const id=room.slice(8);if(systemRecordById(id))guideSelected=id;commandLens='systems';openCryptoRoom('command',false);return;\n }\n if(room.startsWith('genius?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['entities','layers','gates','clocks','ecosystems','questions'].includes(view))fedTab=view;openCryptoRoom('genius',false);return;}\n if(room.startsWith('transition?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['gate','system'].includes(view)){transitionView=view;transitionSystem=view==='system'?(transitionSystem||'ripple'):'';}openCryptoRoom('transition',false);return;}\n if(room.startsWith('legal?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['walk','innovation','layers','qualifications','cases'].includes(view))legalTab=view;openCryptoRoom('legal',false);return;}\n if(room.startsWith('liquidity?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['layers','routes','flow'].includes(view))liqTab=view;openCryptoRoom('liquidity',false);return;}\n if(room.startsWith('xray?')){const view=new URLSearchParams(room.split('?')[1]).get('view');if(['all','movement','record','books','authority','remedy','process','trace','accounting'].includes(view))xrayLayer=view;openCryptoRoom('xray',false);return;}\n if(room==='innovation'){openCryptoRoom('innovation',false);return;}\n if(room==='map'||room.startsWith('map?')){const q=room.includes('?')?new URLSearchParams(room.split('?')[1]):null,mode=q?.get('mode');setMode(['process','trace','compare','accounting','explore','full'].includes(mode)?mode:'explore');openCryptoRoom('map',false);return;}\n if(room==='guide'||room.startsWith('guide-')){\n  const id=room.slice(6);if(systemRecordById(id))guideSelected=id;commandLens='systems';openCryptoRoom('command',false);return;\n }\n if(room==='banks'){openCryptoRoom('banks',false);return;}\n if(room==='corporate'){openCryptoRoom('corporate',false);return;}\n if(room==='securitize'){openCryptoRoom('securitize',false);return;}\n if(room==='xray'||room.startsWith('xray-')){\n  const [path,query]=room.split('?'),route=data.steps_rights_hub.routes.find(r=>path==='xray-'+r.id||path.startsWith('xray-'+r.id+'-'));\n  if(route){setHubRoute(route.id,false);const stepId=path.slice(('xray-'+route.id+'-').length),idx=route.steps.findIndex(s=>s.id===stepId);xrayStep=idx>=0?idx:0;}\n  if(query){const q=new URLSearchParams(query);xrayOverlay=q.get('overlay')!=='0';if(['all','movement','record','books','authority','remedy','process','trace','accounting'].includes(q.get('layer')))xrayLayer=q.get('layer');}\n  openCryptoRoom('xray',false);return;\n }\n if(room==='routes'||room.startsWith('routes-')){const [path,q]=room.split('?'),id=path.slice(7);if(qualifications.functions.some(f=>f.id===id))lrFunction=id;lrPlayer=q?new URLSearchParams(q).get('player')||'':'';if(!data.legal_routes_map.players.some(p=>p.id===lrPlayer))lrPlayer='';openCryptoRoom('routes',false);return;}\n\n if(room==='books'||room.startsWith('books-')){\n  const [path,query]=room.split('?'),r=data.books_hub.routes.find(r=>path==='books-'+r.id||path.startsWith('books-'+r.id+'-')||path==='books');\n  if(r){setHubRoute(r.id,false);const prefix='books-'+r.id+'-';booksStep=path.startsWith(prefix)&&r.steps.some(s=>s.id===path.slice(prefix.length))?path.slice(prefix.length):r.steps[0].id;}\n  if(query){const q=new URLSearchParams(query);booksOverlay=q.get('overlay')==='1';booksMoved=q.get('moved')==='1';}\n  openCryptoRoom('books',false);return;\n }\n if(room==='journey'||room.startsWith('journey-')){\n  const [path,query]=room.split('?'),r=data.transaction_maps.routes.find(r=>path==='journey-'+r.id||path.startsWith('journey-'+r.id+'-'));\n  if(r){setHubRoute(r.id,false);const id=path.slice(('journey-'+r.id+'-').length);journeySelected=r.nodes.concat(r.overlay_nodes).some(n=>n.id===id)?id:r.nodes[0].id;}\n  else {const legacy=path.slice(8);if(journeyData().nodes.some(n=>n.id===legacy))journeySelected=legacy;}\n  if(query){const q=new URLSearchParams(query);journeyOverlay=q.get('overlay')==='1';journeyScenario=journeyData().scenarios.some(s=>s.id===q.get('scenario'))?q.get('scenario'):'ordinary';const sc=journeyData().scenarios.find(s=>s.id===journeyScenario);if(sc?.requires_overlay)journeyOverlay=true;}\n  openCryptoRoom('journey',false);return;\n }\n if(room==='rights'||room.startsWith('rights-')){\n  const route=data.steps_rights_hub.routes.find(r=>room==='rights-'+r.id||room.startsWith('rights-'+r.id+'-'));\n  if(route)setHubRoute(route.id,false);\n  if(route&&room!=='rights-'+route.id)rightsFilter='all';\n  openCryptoRoom('rights',false);\n  const target=document.getElementById(room);if(target)requestAnimationFrame(()=>{target.focus({preventScroll:true});target.scrollIntoView({block:'start'});});\n  return;\n }\n\n if(room.startsWith('infra-')){\n  if(room.startsWith('infra-entity-')){const id=room.slice(13);if(data.infrastructure_map.entities.some(n=>n.id===id)){infraSelected=id;infraRelation='';}}\n  openCryptoRoom('overview',false);\n  const target=room.startsWith('infra-entity-')?document.getElementById('infraInspect'):document.getElementById(room);\n  if(target)requestAnimationFrame(()=>target.scrollIntoView({block:'start'}));\n  return;\n }\n if(room==='walk'||room.startsWith('walk-')){\n  const id=room.slice(5);if(data.process_walk.routes.some(r=>r.id===id))setHubRoute(id,false);\n  openCryptoRoom('walk',false);return;\n }\n if(['overview','legal','liquidity','map','books','stack','expansion','banks','corporate','securitize','transition','genius'].includes(room))openCryptoRoom(room,false);\n else openCryptoRoom('command',false);\n}\nwindow.addEventListener('hashchange',roomFromHash);\nroomFromHash();\n\n\"\"\"\n\ndef merge_current_stack(data: dict) -> None:\n    stack = json.loads((ROOT / \"current_stack.json\").read_text(encoding=\"utf-8\"))\n    have_nodes = {n[\"id\"] for n in data[\"nodes\"]}\n    have_edges = {e[\"id\"] for e in data[\"edges\"]}\n    have_ecos = {e[\"id\"] for e in data[\"ecosystems\"]}\n    new_node_ids = []\n    for node in stack[\"nodes\"]:\n        if node[\"id\"] not in have_nodes:\n            data[\"nodes\"].append(node)\n            have_nodes.add(node[\"id\"])\n            new_node_ids.append(node[\"id\"])\n    for edge in stack[\"edges\"]:\n        if edge[\"id\"] not in have_edges:\n            data[\"edges\"].append(edge)\n            have_edges.add(edge[\"id\"])\n    for ecosystem in stack[\"ecosystems\"]:\n        if ecosystem[\"id\"] not in have_ecos:\n            data[\"ecosystems\"].append(ecosystem)\n            have_ecos.add(ecosystem[\"id\"])\n    data[\"current_stack_ids\"] = [e[\"id\"] for e in stack[\"ecosystems\"]]\n    inventory = data[\"legal_process_hub\"][\"qualifications\"][\"inventory\"]\n    inventoried = {item[\"node_id\"] for item in inventory}\n    actors = data[\"legal_process_hub\"][\"qualifications\"][\"actors\"]\n    actor_ids = {a[\"id\"] for a in actors}\n    person_nodes = {\"nscc\", \"federal-reserve-banks\", \"payward-financial\"}\n    for node_id in new_node_ids:\n        if node_id in inventoried:\n            continue\n        node = next(n for n in data[\"nodes\"] if n[\"id\"] == node_id)\n        if node_id in person_nodes:\n            if node_id not in actor_ids:\n                actors.append(\n                    {\n                        \"id\": node_id,\n                        \"label\": node[\"label\"],\n                        \"scope\": node[\"boundary\"],\n                        \"node_id\": node_id,\n                        \"actor_type\": \"legal_person_org\",\n                    }\n                )\n                actor_ids.add(node_id)\n            inventory.append(\n                {\n                    \"node_id\": node_id,\n                    \"classification\": \"actor\",\n                    \"actor_type\": \"organization / exact entity scope below\",\n                    \"role_ids\": [],\n                    \"reason\": node[\"summary\"],\n                    \"assessment\": \"inventory_lead\",\n                    \"actor_id\": node_id,\n                }\n            )\n        else:\n            inventory.append(\n                {\n                    \"node_id\": node_id,\n                    \"classification\": \"object\",\n                    \"actor_type\": \"supporting object\",\n                    \"role_ids\": [],\n                    \"reason\": node[\"summary\"],\n                    \"assessment\": \"inventory_lead\",\n                    \"actor_id\": f\"object-{node_id}\",\n                }\n            )\n\n\ndef main() -> None:\n    data = json.loads(REGISTRY.read_text(encoding=\"utf-8\"))\n    data[\"technology_field_guide\"] = json.loads(FIELD_GUIDE.read_text(encoding=\"utf-8\"))\n    data[\"technology_buildout\"] = json.loads(TECHNOLOGY_BUILDOUT.read_text(encoding=\"utf-8\"))\n    data[\"corporate_stack_comparison\"] = json.loads(CORPORATE_STACK.read_text(encoding=\"utf-8\"))\n    data[\"bank_transition_comparison\"] = json.loads(BANK_TRANSITION.read_text(encoding=\"utf-8\"))\n    data[\"securitize_anatomy\"] = json.loads(SECURITIZE_ANATOMY.read_text(encoding=\"utf-8\"))\n    data[\"stack_expansion\"] = json.loads(STACK_EXPANSION.read_text(encoding=\"utf-8\"))\n    data[\"transition_gates\"] = json.loads(TRANSITION_GATES.read_text(encoding=\"utf-8\"))\n    fed_genius = json.loads(FED_GENIUS_HUB.read_text(encoding=\"utf-8\"))\n    data[\"fed_genius_hub\"] = {key: value for key, value in fed_genius.items() if key not in {\"sources\", \"case\"}}\n    data[\"legal_process_hub\"][\"cases\"].append(fed_genius[\"case\"])\n    existing_source_ids = {source[\"id\"] for source in data[\"sources\"]}\n    for source in data[\"technology_buildout\"][\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate technology buildout source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    for source in data[\"stack_expansion\"][\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate stack expansion source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    for source in fed_genius[\"sources\"]:\n        if source[\"id\"] in existing_source_ids:\n            raise ValueError(f\"duplicate Fed GENIUS source id: {source['id']}\")\n        data[\"sources\"].append(source)\n        existing_source_ids.add(source[\"id\"])\n    data[\"books_hub\"] = json.loads((ROOT / \"books_hub.json\").read_text(encoding=\"utf-8\"))\n    data[\"process_walk\"] = json.loads((ROOT / \"process_walk.json\").read_text(encoding=\"utf-8\"))\n    merge_current_stack(data)\n    validate(data)\n    for source in data[\"sources\"]:\n        if not source[\"url\"].startswith((\"https://\", \"http://\")):\n            source_path = (REGISTRY.parent / source[\"url\"]).resolve()\n            source[\"local_text\"] = source_path.read_text(encoding=\"utf-8\")\n    payload = json.dumps(data, ensure_ascii=False, separators=(\",\", \":\")).replace(\"</\", \"<\\\\/\")\n    rendered = HTML.replace(\"__DATA__\", payload)\n    rendered = rendered.replace(\"</body>\", \"<script>\" + LIQUIDITY_SCRIPT + LEGAL_SCRIPT + \"</script></body>\")\n    OUTPUT.parent.mkdir(parents=True, exist_ok=True)\n    OUTPUT.write_text(rendered, encoding=\"utf-8\")\n    print(\n        f\"PASS: generated {OUTPUT.name} with {len(data['nodes'])} nodes, \"\n        f\"{len(data['edges'])} relationships, {len(data['sources'])} sources and \"\n        f\"{len(data['process_maps'])} process maps\"\n    )\n\n","next_section_id":"s00042","end_of_document":false,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00041.json","next_section_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00042.json","data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00041.json","next_section_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00042.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00041.json","next_section_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00042.json"},{"section_id":"s00042","ordinal":42,"label":"Section 42 (continued)","source_page":null,"start_character":518493,"end_character":518532,"start_line":2814,"end_line":2817,"text":"\nif __name__ == \"__main__\":\n    main()\n","next_section_id":null,"end_of_document":true,"data_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00042.json","next_section_url":null,"data_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/readings/sections/doc-320666a0b851f8dc975f-s00042.json","data_url_relative_path":"sections/doc-320666a0b851f8dc975f-s00042.json"}],"reading_state":"complete_text","warnings":[],"text_sha256":"0852fb89d15968c460d7f595b920f6094870307c4b11d8f74a52a6946d4050cd","original_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/Research%20Packages/Fintech%20and%20Private%20Rails/Tokenization%20Entity%20and%20Control%20Map%202026-09-01/generate_tokenization_entity_map.py","characters":518532,"original_url_absolute_url":"https://freedom-250-observatory.katiekaim.chatgpt.site/Research%20Packages/Fintech%20and%20Private%20Rails/Tokenization%20Entity%20and%20Control%20Map%202026-09-01/generate_tokenization_entity_map.py","original_url_relative_path":"../../../../Research%20Packages/Fintech%20and%20Private%20Rails/Tokenization%20Entity%20and%20Control%20Map%202026-09-01/generate_tokenization_entity_map.py"}
