@hippo-digital/hippocampus 1.0.0-rc.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +141 -3
  2. package/README.md +36 -0
  3. package/agents/README.md +6 -6
  4. package/agents/accessibility-tester.md +2 -2
  5. package/agents/ingestion-curator.md +9 -9
  6. package/agents/knowledge-builder.md +9 -9
  7. package/agents/prototype-builder.md +3 -3
  8. package/agents/screenshot-runner.md +2 -2
  9. package/agents/workflow-orchestrator.md +16 -16
  10. package/assets/dist/hippocampus.css +1 -1
  11. package/assets/hippocampus.scss +994 -133
  12. package/assets/javascript/blueprint.js +21 -0
  13. package/assets/javascript/trace.js +54 -0
  14. package/bin/hippocampus.js +9 -3
  15. package/docs/agent-roadmap.md +2 -2
  16. package/docs/custom-agents-usage.md +1 -1
  17. package/docs/repeatable-research-round-ingestion.md +3 -3
  18. package/docs/research-knowledge-graph.md +5 -5
  19. package/index.js +2 -1
  20. package/lib/breadcrumb.js +80 -0
  21. package/lib/create-router.js +246 -6
  22. package/lib/discover-projects.js +5 -0
  23. package/lib/filter.js +81 -0
  24. package/lib/flow-map.js +214 -0
  25. package/lib/lint-knowledge.js +31 -0
  26. package/lib/load-knowledge.js +335 -34
  27. package/lib/record-links.js +51 -0
  28. package/lib/templates.js +174 -0
  29. package/package.json +1 -1
  30. package/scripts/doctor.js +10 -0
  31. package/scripts/install-skills.js +93 -3
  32. package/scripts/lib/make-blueprint-template.py +107 -0
  33. package/scripts/smoke-routes.js +19 -0
  34. package/scripts/validate-skills.js +64 -5
  35. package/skills/README.md +18 -18
  36. package/skills/SKILL-FORMAT.md +24 -5
  37. package/skills/{add-prototype-screen.skill.md → add-prototype-screen/SKILL.md} +2 -0
  38. package/skills/{add-scenario.skill.md → add-scenario/SKILL.md} +2 -0
  39. package/skills/{add-user-needs.skill.md → add-user-needs/SKILL.md} +2 -0
  40. package/skills/{audit-knowledge-source.skill.md → audit-knowledge-source/SKILL.md} +2 -0
  41. package/skills/{capture-route-review-pack.skill.md → capture-route-review-pack/SKILL.md} +2 -0
  42. package/skills/{create-journey-from-scenario.skill.md → create-journey-from-scenario/SKILL.md} +2 -0
  43. package/skills/{deliver-service-slice.skill.md → deliver-service-slice/SKILL.md} +2 -0
  44. package/skills/examples/README.md +1 -1
  45. package/skills/examples/non-copilot-research-ingestion.md +1 -1
  46. package/skills/examples/non-copilot-service-slice.md +1 -1
  47. package/skills/{generate-service-slice.skill.md → generate-service-slice/SKILL.md} +2 -0
  48. package/skills/{ingest-project-context.skill.md → ingest-project-context/SKILL.md} +2 -0
  49. package/skills/{ingest-research-round.skill.md → ingest-research-round/SKILL.md} +2 -0
  50. package/skills/{ingest-user-personas.skill.md → ingest-user-personas/SKILL.md} +2 -0
  51. package/skills/{map-research-to-graph.skill.md → map-research-to-graph/SKILL.md} +2 -0
  52. package/skills/{onboard-team-member.skill.md → onboard-team-member/SKILL.md} +2 -0
  53. package/skills/{record-accessibility-review.skill.md → record-accessibility-review/SKILL.md} +2 -0
  54. package/skills/{record-design-decision.skill.md → record-design-decision/SKILL.md} +2 -0
  55. package/skills/{review-research-import-draft.skill.md → review-research-import-draft/SKILL.md} +2 -0
  56. package/skills/skills.json +21 -21
  57. package/skills/skills.schema.json +1 -1
  58. package/skills/{structure-project-context-draft.skill.md → structure-project-context-draft/SKILL.md} +2 -0
  59. package/skills/{structure-research-draft.skill.md → structure-research-draft/SKILL.md} +2 -0
  60. package/skills/{triage-research-corpus.skill.md → triage-research-corpus/SKILL.md} +2 -0
  61. package/skills/{write-delivery-summary.skill.md → write-delivery-summary/SKILL.md} +2 -0
  62. package/skills/{write-route-review-summary.skill.md → write-route-review-summary/SKILL.md} +2 -0
  63. package/templates/service-blueprint.xlsx +0 -0
  64. package/views/hippocampus/_layout.html +116 -3
  65. package/views/hippocampus/blueprint-classic.html +0 -1
  66. package/views/hippocampus/blueprint.html +0 -1
  67. package/views/hippocampus/components/_blueprint-cell.njk +6 -3
  68. package/views/hippocampus/components/_blueprint-controls.njk +2 -1
  69. package/views/hippocampus/components/_breadcrumb.njk +29 -0
  70. package/views/hippocampus/components/_connections.njk +38 -0
  71. package/views/hippocampus/components/_filters.njk +56 -0
  72. package/views/hippocampus/components/_journey-step.njk +11 -7
  73. package/views/hippocampus/components/_screen-preview.njk +41 -0
  74. package/views/hippocampus/doc.html +0 -1
  75. package/views/hippocampus/docs.html +67 -6
  76. package/views/hippocampus/evidence-impact.html +66 -33
  77. package/views/hippocampus/graph.html +137 -31
  78. package/views/hippocampus/handover-empty.html +0 -1
  79. package/views/hippocampus/handover.html +0 -1
  80. package/views/hippocampus/index.html +102 -13
  81. package/views/hippocampus/journey-flow.html +0 -1
  82. package/views/hippocampus/journey.html +21 -6
  83. package/views/hippocampus/journeys.html +63 -0
  84. package/views/hippocampus/project.html +19 -2
  85. package/views/hippocampus/record.html +33 -0
  86. package/views/hippocampus/research.html +14 -2
  87. package/views/hippocampus/route-review.html +0 -1
  88. package/views/hippocampus/scenarios.html +21 -3
  89. package/views/hippocampus/screens.html +45 -0
  90. package/views/hippocampus/trace.html +35 -22
  91. package/views/hippocampus/user-needs.html +55 -19
  92. package/views/hippocampus/user.html +131 -79
  93. package/views/hippocampus/users.html +33 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0
4
+
5
+ Skills install in the layout agent runtimes actually read.
6
+
7
+ ### Why this is a major version
8
+
9
+ `skills install` writes to different paths. A host that upgrades gets
10
+ `.github/skills/<name>/SKILL.md` where it had `.github/skills/<name>.skill.md`,
11
+ and anything of its own that referred to the old paths - a custom agent's
12
+ Preferred Skills list, a runbook, a script - needs repointing. Nothing about
13
+ the knowledge base changes, and `schemaVersion` stays at 1.
14
+
15
+ ### The layout
16
+
17
+ Skills were flat `<name>.skill.md` files. That is not a shape any agent runtime
18
+ discovers: GitHub Copilot, Claude and the rest implement the
19
+ [Agent Skills](https://agentskills.io) standard, which defines a skill as a
20
+ **directory containing `SKILL.md`**. A flat file is read only when an agent has
21
+ been told its exact path - so 21 installed skills were, in practice, loadable
22
+ only by naming them one at a time, and invisible to anything else.
23
+
24
+ Every skill is now a directory, and every `SKILL.md` front matter opens with the
25
+ two fields the standard requires:
26
+
27
+ - `name`, which must equal the directory name. `id` stays for the catalog, and
28
+ the validator asserts the two match so they cannot drift.
29
+ - `description`, which is the **only** thing an agent sees before deciding
30
+ whether to load a skill at all. All 21 were written fresh rather than derived
31
+ from `purpose`: a purpose says what the skill produces, and a description has
32
+ to say when somebody would want it, in the words they would use. The validator
33
+ rejects one with no trigger clause, because a description that only restates
34
+ the title is a skill that never fires.
35
+
36
+ The remaining keys stay at the top level. The standard offers `metadata` for
37
+ extra data but permits only string values, and these are arrays; unknown keys
38
+ are not rejected, and splitting one skill across two files would cost more than
39
+ it buys.
40
+
41
+ ### Upgrading
42
+
43
+ `skills install` removes the flat copies it wrote. It removes only those: a
44
+ flat file whose hash no longer matches what was installed is left in place and
45
+ named, because that is somebody's edit and nothing else holds a copy. Two copies
46
+ of every skill - one of them invisible to every runtime - is a worse failure
47
+ than a file left behind, so the removal is deliberate rather than a tidy-up.
48
+
49
+ `skills validate` reports a leftover flat file as an error rather than ignoring
50
+ it. It looks installed and is not, which is the hardest kind of thing to notice.
51
+
52
+ The release gate counts installed skills by directory. Counting flat files would
53
+ have passed an install that produced nothing any agent could see - which it did,
54
+ on the first run of this change.
55
+
3
56
  ## 1.0.0
4
57
 
5
58
  First published release.
@@ -8,6 +61,91 @@ A design-knowledge base for NHS Prototype Kit projects: research rounds,
8
61
  participants, insights and design actions alongside the user needs, scenarios,
9
62
  journeys and screens they justify, rendered as a viewer inside your prototype.
10
63
 
64
+ ### The viewer
65
+
66
+ Eight release candidates were spent running a real service's knowledge base -
67
+ several hundred records and over a thousand relationships - through a viewer
68
+ that had only ever been exercised against three fictional users. Almost
69
+ everything below is a page that was fine at three records and unusable at four
70
+ hundred.
71
+
72
+ - **Navigation.** Every page carries the same nav bar and a breadcrumb trail
73
+ derived from its URL, replacing the per-page back links that each guessed at
74
+ where you had come from. The trail hides itself on the overview, where a
75
+ single crumb is just the page's own name repeated.
76
+ - **The footer** states knowledge integrity and the date the sources were last
77
+ checked. It used to be a sentence at the top of every page - "Knowledge
78
+ validation passed. Source links are intact." - which is reassurance nobody
79
+ needs twice, in the place the actual content should start.
80
+ - **The landing page** says where things stand rather than listing the nav
81
+ again, and the knowledge base is named after the project rather than after
82
+ the design task that happened to create it.
83
+ - **Research is ordered newest first**, and says what is outstanding. Oldest
84
+ first is the order it was gathered in, not the order anyone reads it in.
85
+
86
+ ### Pages that could not be read
87
+
88
+ Four pages did not degrade at scale - they broke.
89
+
90
+ - **Evidence impact** rendered 602 rows for one piece of evidence by
91
+ walking every relationship it could reach. Most of those rows were not impact;
92
+ they were the graph. It now follows only the relationship types that carry
93
+ provenance, plus the records naming that evidence directly, which for the same
94
+ page is 24 rows - and every one of them is something the evidence actually
95
+ supports. That inbound scan also found records linked by foreign key that the
96
+ old walk never reached at all.
97
+ - **The relationship graph** was a 453KB page listing every edge one by one.
98
+ It is now a flow map of the knowledge base by record type: five declared
99
+ columns, one box per type, one line per relationship kind with its width set
100
+ by how many there are. 45KB, and it answers the question the page was for -
101
+ how the parts connect - which a list of every individual edge never did.
102
+ Column order is declared rather than computed, because seven relationship
103
+ types are stored pointing against the direction the narrative reads.
104
+ - **Records connected to nothing** were one undifferentiated list. They are now
105
+ grouped by type, each a card, because "132 things are unconnected" is a
106
+ number and "these 9 needs have no evidence" is a task.
107
+ - **The trace timeline** was rebuilt. It was 2,903px of mostly whitespace for a
108
+ trace that is now 2,299px and legible at both ends.
109
+
110
+ ### Finding things
111
+
112
+ - **Every list page has the same find bar**, with the same white surface - needs,
113
+ scenarios, journeys, trace and the blueprint controls, which were four
114
+ different bars doing one job.
115
+ - **The trace form filters its entity list as soon as you pick a type**, rather
116
+ than requiring a round trip to the server to populate the field beside it.
117
+ Server-rendered, JS-filtered, so it still works without JS.
118
+ - **Users, user needs, a user's needs and a user's scenarios are card grids**
119
+ rather than stacks. The user needs list went from 48,777px to 10,912px.
120
+ - **A user page leads with the person** - responsibilities and access needs -
121
+ rather than with a dump of their graph edges.
122
+ - **Screens show the screen.** List and detail pages render a live, scaled
123
+ preview of the route rather than its title, for the screens the host actually
124
+ serves.
125
+
126
+ ### Templates to fill in
127
+
128
+ The blank workbooks ship with the package and are now offered from `/docs`,
129
+ where somebody might find them. Previously the only place any of them was named
130
+ was inside an error message giving a `node_modules/...` path - a path you can
131
+ only follow if you already knew it was there, and one that arrives after the
132
+ thing it would have prevented.
133
+
134
+ - A blank `service-blueprint.xlsx` joins the project context and tracker
135
+ workbooks. Its row labels are the ones the importer recognises, and a test
136
+ asserts that - the first cut carried two lanes the triage had no rule for,
137
+ which would have landed a filled-in blueprint in the unmapped pile.
138
+ - A project's own templates are listed too, grouped apart from the blanks. A
139
+ team's renamed copy of a blank is recognised by its sheet names rather than
140
+ its filename, so it carries the right import command; a workbook matching
141
+ nothing still downloads, without one.
142
+
143
+ ### Imported values
144
+
145
+ `promote` strips a list marker left at the front of a value. A bullet that
146
+ survived an import became part of the sentence, and appeared as one in every
147
+ view that rendered it.
148
+
11
149
  ### Install and wiring
12
150
 
13
151
  - `hippocampus init` writes the config and an empty knowledge base, then makes
@@ -95,10 +233,10 @@ run by the release gate. They are the package's first.
95
233
 
96
234
  ### Unit tests where end-to-end cannot reach
97
235
 
98
- 35 tests covering the two places where being wrong damages something the team
99
- owns, and where the install test structurally cannot help: it wires one
236
+ 99 tests, most of them covering places where being wrong damages something the
237
+ team owns and where the install test structurally cannot help: it wires one
100
238
  well-formed Prototype Kit, and every branch below needs a differently-malformed
101
- file or directory tree.
239
+ file or directory tree. The two that started it:
102
240
 
103
241
  - **`host-edit.js`** - the seven paths where it refuses to edit `app.js`. A block
104
242
  with no end marker, a block the team has edited since it was written, two
package/README.md CHANGED
@@ -47,6 +47,42 @@ installs the skills alone for a host whose agent runtime is not Copilot.
47
47
  It records a hash of what it wrote, so a later upgrade can tell a stale copy
48
48
  from one your team has edited - the edited one is left alone and named.
49
49
 
50
+ ## Working on the viewer against a real project
51
+
52
+ Designing the viewer needs real data in it - a page that looks fine against
53
+ three fictional records falls over against a hundred and thirty. Symlink this
54
+ package into the project you want to preview against:
55
+
56
+ ```bash
57
+ cd <your-project>
58
+ rm -rf node_modules/@hippo-digital/hippocampus
59
+ ln -s ../../../nhs-prototype-hippocampus/packages/hippocampus \
60
+ node_modules/@hippo-digital/hippocampus
61
+ npm start
62
+ ```
63
+
64
+ That relative path assumes the two repositories are siblings. Use a relative
65
+ link rather than an absolute one: an absolute path is correct on exactly the
66
+ machine it was typed on, and a link made anywhere else - by a colleague, in a
67
+ container, or by a tool working through a mount - dangles with
68
+ `Cannot find module '@hippo-digital/hippocampus'`.
69
+
70
+ What reloads, and what does not:
71
+
72
+ | You change | Effect |
73
+ | --- | --- |
74
+ | `views/**` (.html, .njk) | Live. Refresh the page. |
75
+ | `hippocampus/source/*.json` in the project | Live. Refresh the page. |
76
+ | `lib/**`, `scripts/**` (JavaScript) | Restart `npm start`. |
77
+
78
+ The symlink leaves the project's `package.json` and lockfile untouched, so there
79
+ is nothing to commit by accident, and `npm install` removes it - which is how
80
+ you go back to the released version.
81
+
82
+ **`doctor` says when a project is linked rather than installed.** Worth reading
83
+ before you conclude a page works: while linked, the viewer is running code
84
+ nobody else has.
85
+
50
86
  ## Wiring it by hand
51
87
 
52
88
  Two lines in `app/routes.js`:
package/agents/README.md CHANGED
@@ -23,10 +23,10 @@ Use the source model as the handoff contract between agents.
23
23
 
24
24
  ## Common entrypoints
25
25
 
26
- - End-to-end research ingestion: `.github/skills/ingest-research-round.skill.md`
27
- - End-to-end project context ingestion: `.github/skills/ingest-project-context.skill.md`
28
- - End-to-end service slice delivery: `.github/skills/deliver-service-slice.skill.md`
29
- - Route review pack: `.github/skills/capture-route-review-pack.skill.md`
30
- - Accessibility review note: `.github/skills/record-accessibility-review.skill.md`
31
- - Route review handover: `.github/skills/write-route-review-summary.skill.md`
26
+ - End-to-end research ingestion: `.github/skills/ingest-research-round/SKILL.md`
27
+ - End-to-end project context ingestion: `.github/skills/ingest-project-context/SKILL.md`
28
+ - End-to-end service slice delivery: `.github/skills/deliver-service-slice/SKILL.md`
29
+ - Route review pack: `.github/skills/capture-route-review-pack/SKILL.md`
30
+ - Accessibility review note: `.github/skills/record-accessibility-review/SKILL.md`
31
+ - Route review handover: `.github/skills/write-route-review-summary/SKILL.md`
32
32
 
@@ -11,8 +11,8 @@ Reviews accessibility of changed prototype and Hippocampus pages.
11
11
 
12
12
  ## Preferred Skills
13
13
 
14
- - `.github/skills/record-accessibility-review.skill.md`
15
- - `.github/skills/write-route-review-summary.skill.md`
14
+ - `.github/skills/record-accessibility-review/SKILL.md`
15
+ - `.github/skills/write-route-review-summary/SKILL.md`
16
16
 
17
17
  ## Read First
18
18
 
@@ -12,15 +12,15 @@ Improves script-generated research and project-context drafts before human revie
12
12
 
13
13
  ## Preferred Skills
14
14
 
15
- - `.github/skills/ingest-project-context.skill.md`
16
- - `.github/skills/ingest-research-round.skill.md`
17
- - `.github/skills/structure-project-context-draft.skill.md`
18
- - `.github/skills/structure-research-draft.skill.md`
19
- - `.github/skills/review-research-import-draft.skill.md`
20
- - `.github/skills/map-research-to-graph.skill.md`
21
- - `.github/skills/ingest-user-personas.skill.md`
22
- - `.github/skills/record-design-decision.skill.md`
23
- - `.github/skills/triage-research-corpus.skill.md`
15
+ - `.github/skills/ingest-project-context/SKILL.md`
16
+ - `.github/skills/ingest-research-round/SKILL.md`
17
+ - `.github/skills/structure-project-context-draft/SKILL.md`
18
+ - `.github/skills/structure-research-draft/SKILL.md`
19
+ - `.github/skills/review-research-import-draft/SKILL.md`
20
+ - `.github/skills/map-research-to-graph/SKILL.md`
21
+ - `.github/skills/ingest-user-personas/SKILL.md`
22
+ - `.github/skills/record-design-decision/SKILL.md`
23
+ - `.github/skills/triage-research-corpus/SKILL.md`
24
24
 
25
25
  ## Read First
26
26
 
@@ -12,15 +12,15 @@ Maintains the Hippocampus source model.
12
12
 
13
13
  ## Preferred Skills
14
14
 
15
- - `.github/skills/deliver-service-slice.skill.md`
16
- - `.github/skills/generate-service-slice.skill.md`
17
- - `.github/skills/add-user-needs.skill.md`
18
- - `.github/skills/add-scenario.skill.md`
19
- - `.github/skills/create-journey-from-scenario.skill.md`
20
- - `.github/skills/audit-knowledge-source.skill.md`
21
- - `.github/skills/ingest-user-personas.skill.md`
22
- - `.github/skills/record-design-decision.skill.md`
23
- - `.github/skills/onboard-team-member.skill.md`
15
+ - `.github/skills/deliver-service-slice/SKILL.md`
16
+ - `.github/skills/generate-service-slice/SKILL.md`
17
+ - `.github/skills/add-user-needs/SKILL.md`
18
+ - `.github/skills/add-scenario/SKILL.md`
19
+ - `.github/skills/create-journey-from-scenario/SKILL.md`
20
+ - `.github/skills/audit-knowledge-source/SKILL.md`
21
+ - `.github/skills/ingest-user-personas/SKILL.md`
22
+ - `.github/skills/record-design-decision/SKILL.md`
23
+ - `.github/skills/onboard-team-member/SKILL.md`
24
24
 
25
25
  ## Read First
26
26
 
@@ -12,9 +12,9 @@ Builds NHS Prototype Kit routes and views from the source model.
12
12
 
13
13
  ## Preferred Skills
14
14
 
15
- - `.github/skills/deliver-service-slice.skill.md`
16
- - `.github/skills/add-prototype-screen.skill.md`
17
- - `.github/skills/audit-knowledge-source.skill.md`
15
+ - `.github/skills/deliver-service-slice/SKILL.md`
16
+ - `.github/skills/add-prototype-screen/SKILL.md`
17
+ - `.github/skills/audit-knowledge-source/SKILL.md`
18
18
 
19
19
  ## Read First
20
20
 
@@ -12,8 +12,8 @@ Captures review evidence for prototype and Hippocampus routes.
12
12
 
13
13
  ## Preferred Skills
14
14
 
15
- - `.github/skills/capture-route-review-pack.skill.md`
16
- - `.github/skills/write-route-review-summary.skill.md`
15
+ - `.github/skills/capture-route-review-pack/SKILL.md`
16
+ - `.github/skills/write-route-review-summary/SKILL.md`
17
17
 
18
18
  ## Read First
19
19
 
@@ -12,22 +12,22 @@ Coordinates larger Hippocampus delivery work.
12
12
 
13
13
  ## Preferred Skills
14
14
 
15
- - `.github/skills/deliver-service-slice.skill.md`
16
- - `.github/skills/ingest-project-context.skill.md`
17
- - `.github/skills/ingest-research-round.skill.md`
18
- - `.github/skills/write-delivery-summary.skill.md`
19
- - `.github/skills/capture-route-review-pack.skill.md`
20
- - `.github/skills/record-accessibility-review.skill.md`
21
- - `.github/skills/write-route-review-summary.skill.md`
22
- - `.github/skills/generate-service-slice.skill.md`
23
- - `.github/skills/add-prototype-screen.skill.md`
24
- - `.github/skills/structure-project-context-draft.skill.md`
25
- - `.github/skills/structure-research-draft.skill.md`
26
- - `.github/skills/review-research-import-draft.skill.md`
27
- - `.github/skills/map-research-to-graph.skill.md`
28
- - `.github/skills/audit-knowledge-source.skill.md`
29
- - `.github/skills/triage-research-corpus.skill.md`
30
- - `.github/skills/onboard-team-member.skill.md`
15
+ - `.github/skills/deliver-service-slice/SKILL.md`
16
+ - `.github/skills/ingest-project-context/SKILL.md`
17
+ - `.github/skills/ingest-research-round/SKILL.md`
18
+ - `.github/skills/write-delivery-summary/SKILL.md`
19
+ - `.github/skills/capture-route-review-pack/SKILL.md`
20
+ - `.github/skills/record-accessibility-review/SKILL.md`
21
+ - `.github/skills/write-route-review-summary/SKILL.md`
22
+ - `.github/skills/generate-service-slice/SKILL.md`
23
+ - `.github/skills/add-prototype-screen/SKILL.md`
24
+ - `.github/skills/structure-project-context-draft/SKILL.md`
25
+ - `.github/skills/structure-research-draft/SKILL.md`
26
+ - `.github/skills/review-research-import-draft/SKILL.md`
27
+ - `.github/skills/map-research-to-graph/SKILL.md`
28
+ - `.github/skills/audit-knowledge-source/SKILL.md`
29
+ - `.github/skills/triage-research-corpus/SKILL.md`
30
+ - `.github/skills/onboard-team-member/SKILL.md`
31
31
 
32
32
  ## Required Finish
33
33
 
@@ -1 +1 @@
1
- .knowledge-admin-theme{background:#f6f5f2;font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif}.knowledge-admin-theme .nhsuk-header{background:#1c1c1a}.knowledge-admin-theme h1,.knowledge-admin-theme h2,.knowledge-admin-theme h3,.knowledge-admin-theme h4{font-weight:600;letter-spacing:-0.01em}.knowledge-admin-theme .nhsuk-caption-l{color:#706f68;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.knowledge-admin-theme a{color:#00726b}.knowledge-admin-theme .nhsuk-back-link,.knowledge-admin-theme .nhsuk-back-link__icon{color:#00726b}.knowledge-admin-theme .knowledge-card,.knowledge-admin-theme .knowledge-section,.knowledge-admin-theme .knowledge-blueprint-step,.knowledge-admin-theme .knowledge-linked-block{background:#fff;border-color:#e3e1d9;border-radius:3px;box-shadow:none}.knowledge-admin-theme .knowledge-card__meta,.knowledge-admin-theme .knowledge-muted{color:#8c8a80;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:12px;letter-spacing:.03em;text-transform:uppercase}.knowledge-admin-theme .nhsuk-button{background:#1c1c1a;border-radius:2px}.knowledge-admin-theme .nhsuk-button--secondary{background:rgba(0,0,0,0);border-color:#1c1c1a;color:#1c1c1a}.knowledge-admin-theme .nhsuk-tag{border-radius:2px}.knowledge-admin-theme code{background:#e6f6f5;font-family:ui-monospace,"SF Mono",Consolas,monospace}.knowledge-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));gap:16px;margin-top:32px}.knowledge-list{display:grid;gap:16px}.knowledge-card,.knowledge-section,.knowledge-blueprint-step{border:1px solid #d8dde0;padding:24px;margin-bottom:24px;background:#fff}.knowledge-card,.knowledge-linked-block,.knowledge-timeline__item,.knowledge-admin-theme .nhsuk-lede-text{max-width:70ch}.knowledge-section>p,.knowledge-admin-theme .nhsuk-list--bullet,.knowledge-admin-theme .nhsuk-list--number{max-width:70ch}.knowledge-card__meta{color:#4c6272;font-size:16px;margin-bottom:8px}.knowledge-timeline{list-style:none;padding-left:0}.knowledge-timeline__item{border-left:4px solid #005eb8;padding-left:24px;margin-bottom:32px}.knowledge-admin-theme .knowledge-timeline__item{border-left-color:#00726b}.knowledge-blueprint-step__header{align-items:flex-start;display:flex;justify-content:space-between;gap:16px}.knowledge-lane{border-top:1px solid #d8dde0;display:grid;grid-template-columns:220px minmax(0, 1fr);gap:24px;padding:16px 0}.knowledge-lane[hidden]{display:none}.knowledge-lane__label h3{font-size:16px;margin:0}.knowledge-lane__content{max-width:70ch}.knowledge-lane__content>:last-child{margin-bottom:0}.knowledge-boundary{border-top:2px dashed #005eb8;color:#005eb8;font-size:14px;font-weight:700;letter-spacing:.04em;padding-top:8px;text-transform:uppercase}.knowledge-admin-theme .knowledge-boundary{border-top-color:#00726b;color:#00726b}.knowledge-tagged-item{border-left:4px solid #768692;margin-bottom:8px;padding:8px 12px;background:#f0f4f5}.knowledge-tagged-item strong{display:block;font-size:14px}.knowledge-tagged-item--high{border-left-color:#d5281b;background:#fbeae5}.knowledge-tagged-item--medium{border-left-color:#ffb81c;background:#fff9e6}.knowledge-admin-theme .knowledge-tagged-item--high{border-left-color:#8e5300;background:#fdf3e6}.knowledge-admin-theme .knowledge-tagged-item--medium{border-left-color:#ed8b00;background:#fdf3e6}.knowledge-linked-block{border-top:1px solid #d8dde0;padding-top:24px;margin-top:24px}.knowledge-linked-block:first-of-type{border-top:0;padding-top:0;margin-top:0}.knowledge-linked-block__detail{background:#f0f4f5;margin:24px 0;padding:16px}.knowledge-graph-summary{display:grid;grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));gap:12px;margin:24px 0}.knowledge-graph-summary div{background:#f0f4f5;border-left:4px solid #005eb8;padding:12px}.knowledge-admin-theme .knowledge-graph-summary div{background:#e6f6f5;border-left-color:#00726b}.knowledge-graph-summary strong,.knowledge-graph-summary span{display:block}.knowledge-graph-summary strong{font-size:28px;line-height:1}.knowledge-graph-summary span{color:#4c6272;font-size:14px;margin-top:4px}.knowledge-graph{display:grid;grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));gap:12px;margin-top:24px}.knowledge-graph__node{border:1px solid #d8dde0;border-top:4px solid #768692;padding:12px}.knowledge-graph__node strong,.knowledge-graph__node span{display:block}.knowledge-graph__node strong{color:#4c6272;font-size:14px;margin-bottom:4px}.knowledge-graph__node span{font-size:16px}.knowledge-graph__node--user{border-top-color:#005eb8}.knowledge-graph__node--scenario{border-top-color:#d5281b}.knowledge-graph__node--need{border-top-color:#007f3b}.knowledge-graph__node--evidence{border-top-color:#7c2855}.knowledge-admin-theme .knowledge-graph__node--scenario{border-top-color:#330072}.knowledge-admin-theme .knowledge-graph__node--need{border-top-color:#006747}.knowledge-graph__node--journey,.knowledge-graph__node--screen,.knowledge-graph__node--decision{border-top-color:#ffb81c}.knowledge-edge-list{display:grid;gap:8px}.knowledge-edge-list li{background:#f0f4f5;display:grid;grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);gap:12px;padding:12px}.knowledge-edge-list span{color:#4c6272;font-size:14px;font-weight:700;text-transform:uppercase}.knowledge-trace-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px;margin-bottom:0}.knowledge-trace-controls__field{display:flex;flex-direction:column;width:100%;max-width:320px}.knowledge-trace-controls__field .nhsuk-label{margin-bottom:4px}.knowledge-trace-controls__submit{margin:0}.knowledge-trace-timeline,.knowledge-trace-children{list-style:none;margin:0;padding-left:0}.knowledge-trace-timeline{position:relative}.knowledge-trace-timeline::before{background:#005eb8;bottom:0;content:"";left:13px;position:absolute;top:8px;width:4px}.knowledge-trace-group,.knowledge-trace-item{position:relative}.knowledge-trace-group{padding-left:48px}.knowledge-trace-group__content{margin-bottom:24px}.knowledge-trace-group__content h3{margin-bottom:16px}.knowledge-trace-children{display:grid;gap:16px}.knowledge-trace-children .knowledge-trace-children{border-left:2px solid #d8dde0;margin-top:16px;padding-left:24px}.knowledge-trace-item{padding-left:48px}.knowledge-trace-item__marker{background:#fff;border:4px solid #005eb8;border-radius:50%;height:20px;left:3px;position:absolute;top:4px;width:20px}.knowledge-trace-children .knowledge-trace-item__marker{border-color:#768692}.knowledge-trace-item__content{max-width:70ch;border-top:1px solid #d8dde0;padding:16px 0 8px}.knowledge-trace-item--selected .knowledge-trace-item__content{background:#f0f4f5;border-left:4px solid #005eb8;border-top:0;margin:8px 0 32px;padding:16px}.knowledge-trace-item--selected .knowledge-trace-item__marker{background:#005eb8}.knowledge-admin-theme .knowledge-trace-timeline::before{background:#00726b}.knowledge-admin-theme .knowledge-trace-item__marker{border-color:#00726b}.knowledge-admin-theme .knowledge-trace-children .knowledge-trace-item__marker{border-color:#768692}.knowledge-admin-theme .knowledge-trace-item--selected .knowledge-trace-item__content{border-left-color:#00726b}.knowledge-admin-theme .knowledge-trace-item--selected .knowledge-trace-item__marker{background:#00726b}.knowledge-trace-item__date{color:#4c6272;font-size:16px;font-weight:700;margin-bottom:4px}.knowledge-trace-item__heading{font-size:22px;margin:0 0 8px}.knowledge-trace-item__type{display:inline-block;padding:2px 10px;margin-bottom:8px;font-size:14px;font-weight:700;color:#fff;background:#768692;border-radius:12px}.knowledge-trace-item__type--user{background:#005eb8}.knowledge-trace-item__type--scenario{background:#d5281b}.knowledge-trace-item__type--need{background:#007f3b}.knowledge-admin-theme .knowledge-trace-item__type--scenario{background:#330072}.knowledge-admin-theme .knowledge-trace-item__type--need{background:#006747}.knowledge-trace-item__type--evidence{background:#7c2855}.knowledge-trace-item__type--journey,.knowledge-trace-item__type--screen,.knowledge-trace-item__type--decision{color:#212b32;background:#ffb81c}.knowledge-trace-item__relationship{color:#4c6272;font-size:16px;margin-bottom:4px}.knowledge-trace-item__relationship strong{color:#212b32}.knowledge-muted{color:#4c6272}.knowledge-confidence-tag{display:inline-block;padding:2px 8px;font-size:13px;font-weight:700;border-radius:10px}.knowledge-confidence-tag--high{color:#00726b;background:#e6f6f5}.knowledge-confidence-tag--medium{color:#00758f;background:#e6f6fa}.knowledge-confidence-tag--low{color:#4c6272;background:#f0f4f5}.knowledge-matrix-wrap{overflow-x:auto}.knowledge-matrix{border-collapse:collapse;min-width:1200px;width:100%}.knowledge-matrix th,.knowledge-matrix td{border:1px solid #d8dde0;padding:12px;text-align:left;vertical-align:top}.knowledge-matrix thead th,.knowledge-matrix tbody th{background:#f0f4f5}.knowledge-matrix__boundary td{border-top:2px dashed #005eb8;color:#005eb8;font-weight:700;text-transform:uppercase}.knowledge-admin-theme .knowledge-matrix__boundary td{border-top-color:#00726b;color:#00726b}.knowledge-blueprint-controls{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:16px 24px;align-items:flex-start;padding:12px 0;margin-bottom:24px;background:#fff;border-bottom:1px solid #d8dde0}.knowledge-blueprint-controls__lenses{display:flex;flex-wrap:wrap;gap:8px}.knowledge-lens-btn{padding:6px 14px;font:inherit;color:#005eb8;background:#fff;border:2px solid #005eb8;border-radius:20px;cursor:pointer}.knowledge-lens-btn[aria-pressed=true]{color:#fff;background:#005eb8}.knowledge-admin-theme .knowledge-lens-btn{color:#00726b;border-color:#00726b}.knowledge-admin-theme .knowledge-lens-btn[aria-pressed=true]{background:#00726b}.knowledge-blueprint-controls__lanes{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0;margin:0;border:0}.knowledge-blueprint-controls__lanes legend{width:100%;font-size:14px;font-weight:700}.knowledge-lane-toggle{display:inline-flex;align-items:center;gap:4px;font-size:14px}.knowledge-blueprint-layout{display:grid;grid-template-columns:72px 1fr;gap:24px}.knowledge-blueprint-minimap{position:sticky;top:64px;align-self:start}.knowledge-blueprint-minimap ul{position:relative;padding:0;margin:0;list-style:none}.knowledge-blueprint-minimap ul::before{position:absolute;top:16px;bottom:16px;left:15px;width:2px;content:"";background:#d8dde0}.knowledge-blueprint-minimap li{position:relative;margin-bottom:16px}.knowledge-blueprint-minimap a{position:relative;display:block}.knowledge-blueprint-minimap__marker{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-weight:700;color:#005eb8;background:#fff;border:2px solid #005eb8;border-radius:50%}.knowledge-blueprint-minimap a.is-active .knowledge-blueprint-minimap__marker{color:#fff;background:#005eb8}.knowledge-admin-theme .knowledge-blueprint-minimap__marker{color:#00726b;border-color:#00726b}.knowledge-admin-theme .knowledge-blueprint-minimap a.is-active .knowledge-blueprint-minimap__marker{background:#00726b}.knowledge-blueprint-step{scroll-margin-top:88px}.knowledge-flow-diagram{overflow-x:auto;padding:24px;margin-bottom:24px;background:#fff;border:1px solid #d8dde0}.knowledge-flow-source{overflow-x:auto;white-space:pre}.knowledge-admin-theme .knowledge-flow-diagram{border-color:#e3e1d9;border-radius:3px}@media(max-width: 48.0525em){.knowledge-blueprint-layout{display:block}.knowledge-blueprint-minimap{position:static;margin-bottom:16px}.knowledge-blueprint-minimap ul{display:flex;flex-wrap:wrap;gap:8px}.knowledge-blueprint-minimap ul::before{display:none}.knowledge-blueprint-minimap li{margin-bottom:0}.knowledge-lane{grid-template-columns:1fr;gap:8px}.knowledge-edge-list li{grid-template-columns:1fr}.knowledge-trace-controls{grid-template-columns:1fr;gap:0}.knowledge-trace-timeline::before{left:9px}.knowledge-trace-group,.knowledge-trace-item{padding-left:36px}.knowledge-trace-item__marker{height:16px;left:1px;width:16px}}.knowledge-admin-theme .knowledge-empty-state{max-width:70ch;padding:24px;margin-bottom:24px;background:#fff;border-left:4px solid #aeb7bd}.knowledge-admin-theme .knowledge-empty-state h2{margin-top:0}.knowledge-admin-theme .knowledge-empty-state p:last-child{margin-bottom:0}.knowledge-admin-theme .knowledge-doc{max-width:76ch;padding:24px 32px;background:#fff}.knowledge-admin-theme .knowledge-doc h1{margin-top:0}.knowledge-admin-theme .knowledge-doc h2,.knowledge-admin-theme .knowledge-doc h3{margin-top:32px}.knowledge-admin-theme .knowledge-doc pre{padding:16px;overflow-x:auto;background:#f6f5f2;border-left:4px solid #aeb7bd}.knowledge-admin-theme .knowledge-doc code{font-size:15px}.knowledge-admin-theme .knowledge-doc table{width:100%;margin-bottom:24px;border-collapse:collapse}.knowledge-admin-theme .knowledge-doc th,.knowledge-admin-theme .knowledge-doc td{padding:8px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #d8dde0}
1
+ .knowledge-admin-theme{background:#f6f5f2;font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif}.knowledge-admin-theme .nhsuk-header{background:#1c1c1a}.knowledge-admin-theme .nhsuk-header__service-logo,.knowledge-admin-theme .nhsuk-header__service-logo:hover,.knowledge-admin-theme .nhsuk-header__service-logo:visited{color:#fff}.knowledge-admin-theme .nhsuk-header__logo{fill:currentcolor}.knowledge-admin-theme .nhsuk-header__service-name{color:#fff}.knowledge-admin-theme .nhsuk-header__service-logo:focus{color:#212b32;background-color:#ffeb3b;box-shadow:0 -2px #ffeb3b,0 4px #212b32}.knowledge-admin-theme .nhsuk-header__container{max-width:none;margin-left:16px;margin-right:16px}@media(min-width: 48.0625em){.knowledge-admin-theme .nhsuk-header__container{margin-left:32px;margin-right:32px}}.knowledge-admin-theme h1,.knowledge-admin-theme h2,.knowledge-admin-theme h3,.knowledge-admin-theme h4{font-weight:600;letter-spacing:-0.01em}.knowledge-admin-theme .nhsuk-caption-l{color:#706f68;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.knowledge-admin-theme a{color:#00726b}.knowledge-admin-theme .nhsuk-back-link,.knowledge-admin-theme .nhsuk-back-link__icon{color:#00726b}.knowledge-admin-theme .knowledge-card,.knowledge-admin-theme .knowledge-section,.knowledge-admin-theme .knowledge-blueprint-step,.knowledge-admin-theme .knowledge-linked-block{background:#fff;border-color:#e3e1d9;border-radius:3px;box-shadow:none}.knowledge-admin-theme .knowledge-card__meta,.knowledge-admin-theme .knowledge-muted{color:#8c8a80;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:12px;letter-spacing:.03em;text-transform:uppercase}.knowledge-admin-theme .knowledge-note{color:#626058;font-size:15px;line-height:1.4;margin-bottom:8px}.knowledge-admin-theme .nhsuk-button{background:#1c1c1a;border-radius:2px}.knowledge-admin-theme .nhsuk-button--secondary{background:rgba(0,0,0,0);border-color:#1c1c1a;color:#1c1c1a}.knowledge-admin-theme .nhsuk-tag{border-radius:2px}.knowledge-admin-theme code{background:#e6f6f5;font-family:ui-monospace,"SF Mono",Consolas,monospace}.knowledge-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));gap:16px;margin-top:32px}.knowledge-list{display:grid;gap:16px}.knowledge-card,.knowledge-section,.knowledge-blueprint-step{border:1px solid #d8dde0;padding:24px;margin-bottom:24px;background:#fff}.knowledge-card,.knowledge-linked-block,.knowledge-timeline__item,.knowledge-admin-theme .nhsuk-lede-text{max-width:70ch}.knowledge-section>p,.knowledge-admin-theme .nhsuk-list--bullet,.knowledge-admin-theme .nhsuk-list--number{max-width:70ch}.knowledge-card__meta{color:#4c6272;font-size:16px;margin-bottom:8px}.knowledge-timeline{list-style:none;padding-left:0}.knowledge-timeline__item{border-left:4px solid #005eb8;padding-left:24px;margin-bottom:32px}.knowledge-admin-theme .knowledge-timeline__item{border-left-color:#00726b}.knowledge-blueprint-step__header{align-items:flex-start;display:flex;justify-content:space-between;gap:16px}.knowledge-lane{border-top:1px solid #d8dde0;display:grid;grid-template-columns:220px minmax(0, 1fr);gap:24px;padding:16px 0}.knowledge-lane[hidden]{display:none}.knowledge-lane__label h3{font-size:16px;margin:0}.knowledge-lane__content{max-width:70ch}.knowledge-lane__content>:last-child{margin-bottom:0}.knowledge-boundary{border-top:2px dashed #005eb8;color:#005eb8;font-size:14px;font-weight:700;letter-spacing:.04em;padding-top:8px;text-transform:uppercase}.knowledge-admin-theme .knowledge-boundary{border-top-color:#00726b;color:#00726b}.knowledge-tagged-item{border-left:4px solid #768692;margin-bottom:8px;padding:8px 12px;background:#f0f4f5}.knowledge-tagged-item strong{display:block;font-size:14px}.knowledge-tagged-item--high{border-left-color:#d5281b;background:#fbeae5}.knowledge-tagged-item--medium{border-left-color:#ffb81c;background:#fff9e6}.knowledge-admin-theme .knowledge-tagged-item--high{border-left-color:#8e5300;background:#fdf3e6}.knowledge-admin-theme .knowledge-tagged-item--medium{border-left-color:#ed8b00;background:#fdf3e6}.knowledge-linked-block{border-top:1px solid #d8dde0;padding-top:24px;margin-top:24px}.knowledge-linked-block:first-of-type{border-top:0;padding-top:0;margin-top:0}.knowledge-linked-block__detail{background:#f0f4f5;margin:24px 0;padding:16px}.knowledge-graph-summary{display:grid;grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));gap:12px;margin:24px 0}.knowledge-graph-summary div{background:#f0f4f5;border-left:4px solid #005eb8;padding:12px}.knowledge-admin-theme .knowledge-graph-summary div{background:#e6f6f5;border-left-color:#00726b}.knowledge-graph-summary strong,.knowledge-graph-summary span{display:block}.knowledge-graph-summary strong{font-size:28px;line-height:1}.knowledge-graph-summary span{color:#4c6272;font-size:14px;margin-top:4px}.knowledge-graph{display:grid;grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));gap:12px;margin-top:24px}.knowledge-graph__node{border:1px solid #d8dde0;border-top:4px solid #768692;padding:12px}.knowledge-graph__node strong,.knowledge-graph__node span{display:block}.knowledge-graph__node strong{color:#4c6272;font-size:14px;margin-bottom:4px}.knowledge-graph__node span{font-size:16px}.knowledge-graph__node--user{border-top-color:#005eb8}.knowledge-graph__node--scenario{border-top-color:#d5281b}.knowledge-graph__node--need{border-top-color:#007f3b}.knowledge-graph__node--evidence{border-top-color:#7c2855}.knowledge-admin-theme .knowledge-graph__node--scenario{border-top-color:#330072}.knowledge-admin-theme .knowledge-graph__node--need{border-top-color:#006747}.knowledge-graph__node--journey,.knowledge-graph__node--screen,.knowledge-graph__node--decision{border-top-color:#ffb81c}.knowledge-edge-list{display:grid;gap:8px}.knowledge-edge-list li{background:#f0f4f5;display:grid;grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);gap:12px;padding:12px}.knowledge-edge-list span{color:#4c6272;font-size:14px;font-weight:700;text-transform:uppercase}.knowledge-trace-timeline,.knowledge-trace-children{list-style:none;margin:0;padding-left:0}.knowledge-trace-timeline{position:relative}.knowledge-trace-timeline::before{background:#e3e1d9;bottom:0;content:"";left:14px;position:absolute;top:8px;width:2px}.knowledge-trace-group,.knowledge-trace-item{position:relative}.knowledge-trace-group{padding-left:48px}.knowledge-trace-group__content{margin-bottom:24px}.knowledge-trace-group__content h3{margin-bottom:16px}.knowledge-trace-children{border-left:2px solid #e3e1d9;display:grid;gap:12px;margin-top:12px;padding-left:22px}.knowledge-trace-group__content>.knowledge-trace-children{margin-top:0}.knowledge-trace-item{padding-left:0}.knowledge-trace-item__marker{background:#fff;border:2px solid #00726b;border-radius:50%;height:11px;left:-28.5px;position:absolute;top:16px;width:11px}.knowledge-trace-children .knowledge-trace-children .knowledge-trace-item__marker{border-color:#adb4b8}.knowledge-trace-item__content{background:#fff;border:1px solid #e3e1d9;border-radius:3px;max-width:70ch;padding:12px 16px}.knowledge-trace-item--selected{padding-left:48px}.knowledge-trace-item--selected .knowledge-trace-item__marker{background:#00726b;border-color:#00726b;height:16px;left:7px;top:18px;width:16px}.knowledge-trace-item--selected .knowledge-trace-item__content{border-color:#00726b;border-left-width:4px;margin:8px 0 32px;max-width:none}.knowledge-trace-item__heading{font-size:18px;margin:0 0 4px}.knowledge-trace-item__heading a{text-decoration:none}.knowledge-trace-item__heading a:hover,.knowledge-trace-item__heading a:focus{text-decoration:underline}.knowledge-trace-item--selected .knowledge-trace-item__heading{font-size:20px}.knowledge-trace-item__type{color:#706f68;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:12px;letter-spacing:.03em;margin:0;text-transform:uppercase}.knowledge-trace-item__relationship{color:#4c6272;font-size:14px;margin:0 0 2px}.knowledge-muted{color:#4c6272}.knowledge-confidence-tag{display:inline-block;padding:2px 8px;font-size:13px;font-weight:700;border-radius:10px}.knowledge-confidence-tag--high{color:#00726b;background:#e6f6f5}.knowledge-confidence-tag--medium{color:#00758f;background:#e6f6fa}.knowledge-confidence-tag--low{color:#4c6272;background:#f0f4f5}.knowledge-matrix-wrap{overflow-x:auto}.knowledge-matrix{border-collapse:collapse;min-width:1200px;width:100%}.knowledge-matrix th,.knowledge-matrix td{border:1px solid #e3e1d9;padding:12px;text-align:left;vertical-align:top}.knowledge-matrix thead th,.knowledge-matrix tbody th{background:#fff}.knowledge-matrix thead th{border-bottom:2px solid #adb4b8}.knowledge-matrix tbody th{border-right:2px solid #adb4b8}.knowledge-matrix__boundary td{border-top:2px dashed #005eb8;color:#005eb8;font-weight:700;text-transform:uppercase}.knowledge-admin-theme .knowledge-matrix__boundary td{border-top-color:#00726b;color:#00726b}.knowledge-blueprint-controls{align-items:flex-start;background:#fff;border:1px solid #e3e1d9;border-radius:3px;display:flex;flex-wrap:wrap;gap:16px 24px;margin-bottom:24px;padding:12px 24px;position:sticky;top:0;z-index:2}.knowledge-blueprint-controls__lenses{display:flex;flex-wrap:wrap;gap:8px}.knowledge-blueprint-controls__legend{font-size:14px;font-weight:700;margin:0 0 6px;width:100%}.knowledge-lens-btn{padding:6px 14px;font:inherit;color:#005eb8;background:#fff;border:2px solid #005eb8;border-radius:20px;cursor:pointer}.knowledge-lens-btn[aria-pressed=true]{color:#fff;background:#005eb8}.knowledge-admin-theme .knowledge-lens-btn{color:#00726b;border-color:#00726b}.knowledge-admin-theme .knowledge-lens-btn[aria-pressed=true]{background:#00726b;color:#fff}.knowledge-blueprint-controls__lanes{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0;margin:0;border:0}.knowledge-blueprint-controls__lanes legend{font-size:14px;font-weight:700;margin-bottom:6px;width:100%}.knowledge-lane-toggle{display:inline-flex;align-items:center;gap:4px;font-size:14px}.knowledge-blueprint-layout{display:grid;grid-template-columns:72px 1fr;gap:24px}.knowledge-blueprint-minimap{position:sticky;top:calc(var(--blueprint-controls-height, 137px) + 16px);align-self:start}.knowledge-blueprint-minimap ul{position:relative;padding:0;margin:0;list-style:none}.knowledge-blueprint-minimap ul::before{position:absolute;top:16px;bottom:16px;left:15px;width:2px;content:"";background:#d8dde0}.knowledge-blueprint-minimap li{position:relative;margin-bottom:16px}.knowledge-blueprint-minimap a{position:relative;display:block}.knowledge-blueprint-minimap__marker{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-weight:700;color:#005eb8;background:#fff;border:2px solid #005eb8;border-radius:50%}.knowledge-blueprint-minimap a.is-active .knowledge-blueprint-minimap__marker{color:#fff;background:#005eb8}.knowledge-admin-theme .knowledge-blueprint-minimap__marker{color:#00726b;border-color:#00726b}.knowledge-admin-theme .knowledge-blueprint-minimap a.is-active .knowledge-blueprint-minimap__marker{background:#00726b}.knowledge-blueprint-step{scroll-margin-top:88px}.knowledge-flow-diagram{overflow-x:auto;padding:24px;margin-bottom:24px;background:#fff;border:1px solid #d8dde0}.knowledge-flow-source{overflow-x:auto;white-space:pre}.knowledge-admin-theme .knowledge-flow-diagram{border-color:#e3e1d9;border-radius:3px}@media(max-width: 48.0525em){.knowledge-blueprint-layout{display:block}.knowledge-blueprint-minimap{position:static;margin-bottom:16px}.knowledge-blueprint-minimap ul{display:flex;flex-wrap:wrap;gap:8px}.knowledge-blueprint-minimap ul::before{display:none}.knowledge-blueprint-minimap li{margin-bottom:0}.knowledge-lane{grid-template-columns:1fr;gap:8px}.knowledge-edge-list li{grid-template-columns:1fr}.knowledge-trace-timeline::before{left:9px}.knowledge-trace-group,.knowledge-trace-item{padding-left:36px}.knowledge-trace-item__marker{height:16px;left:1px;width:16px}}.knowledge-admin-theme .knowledge-empty-state{max-width:70ch;padding:24px;margin-bottom:24px;background:#fff;border-left:4px solid #aeb7bd}.knowledge-admin-theme .knowledge-empty-state h2{margin-top:0}.knowledge-admin-theme .knowledge-empty-state p:last-child{margin-bottom:0}.knowledge-admin-theme .knowledge-doc{max-width:76ch;padding:24px 32px;background:#fff}.knowledge-admin-theme .knowledge-doc h1{margin-top:0}.knowledge-admin-theme .knowledge-doc h2,.knowledge-admin-theme .knowledge-doc h3{margin-top:32px}.knowledge-admin-theme .knowledge-doc pre{padding:16px;overflow-x:auto;background:#f6f5f2;border-left:4px solid #aeb7bd}.knowledge-admin-theme .knowledge-doc code{font-size:15px}.knowledge-admin-theme .knowledge-doc table{width:100%;margin-bottom:24px;border-collapse:collapse}.knowledge-admin-theme .knowledge-doc th,.knowledge-admin-theme .knowledge-doc td{padding:8px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #d8dde0}.knowledge-find{align-items:flex-end;background:#fff;border:1px solid #e3e1d9;border-radius:3px;display:flex;flex-wrap:wrap;gap:0 24px;margin-bottom:8px;padding:24px 24px 8px}.knowledge-find .nhsuk-form-group{flex:1 1 14rem;margin-bottom:16px;min-width:0}.knowledge-find .nhsuk-form-group:first-child{flex:2 1 20rem}.knowledge-find .nhsuk-form-group .nhsuk-label{margin-bottom:4px}.knowledge-find .nhsuk-select,.knowledge-find .nhsuk-input{max-width:100%;width:100%}.knowledge-find .nhsuk-button{flex:0 0 auto;margin-bottom:16px}.knowledge-find--compact .nhsuk-form-group,.knowledge-find--compact .nhsuk-form-group:first-child{flex:1 1 16rem;max-width:26rem}.knowledge-find__count{margin-bottom:24px;color:#4c6272}@media(max-width: 48em){.knowledge-find{display:block}}.knowledge-nav{background-color:#fff;border-bottom:1px solid #d8dde0;margin-bottom:24px}.knowledge-nav__list{display:flex;gap:4px;margin:0;padding:0;list-style:none;overflow-x:auto;-webkit-overflow-scrolling:touch}.knowledge-nav__item{margin:0;flex:0 0 auto}.knowledge-nav__link{display:block;padding:12px 12px;text-decoration:none;color:#4c6272;font-weight:600;white-space:nowrap;border-bottom:4px solid rgba(0,0,0,0)}.knowledge-nav__link:hover{color:#00726b;background-color:#f0f4f5}.knowledge-nav__link:focus{outline:3px solid rgba(0,0,0,0);color:#212b32;background-color:#ffeb3b;box-shadow:0 -2px #ffeb3b,0 4px #212b32;text-decoration:none}.knowledge-nav__link--current{color:#00726b;border-bottom-color:#00726b}.knowledge-round-status{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:8px}.knowledge-status{margin-bottom:32px}.knowledge-status__grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(13rem, 1fr));gap:16px}.knowledge-stat{display:flex;flex-direction:column;gap:4px;padding:16px 20px;background-color:#fff;border:1px solid #d8dde0;border-left:4px solid #768692;border-radius:4px;text-decoration:none}.knowledge-stat:hover{border-color:#00726b;border-left-color:#00726b;background-color:#f0f4f5}.knowledge-stat:focus{outline:3px solid rgba(0,0,0,0);background-color:#ffeb3b;box-shadow:0 0 0 4px #212b32;text-decoration:none}.knowledge-stat--waiting{border-left-color:#ed8b00}.knowledge-stat--done{border-left-color:#007f3b}.knowledge-stat--neutral{border-left-color:#005eb8}.knowledge-stat__value{font-size:2rem;line-height:1.1;font-weight:700;color:#212b32}.knowledge-stat__label{font-weight:600;color:#00726b;text-decoration:underline}.knowledge-stat__detail{font-size:.875rem;color:#4c6272}.knowledge-nav__inner{display:flex;align-items:stretch;gap:16px}.knowledge-nav__wordmark{display:flex;align-items:center;flex:0 0 auto;padding-right:24px;border-right:1px solid #d8dde0;color:#212b32;font-weight:700;text-decoration:none;white-space:nowrap}.knowledge-nav__wordmark:hover{color:#00726b}.knowledge-nav__wordmark:focus{outline:3px solid rgba(0,0,0,0);color:#212b32;background-color:#ffeb3b;box-shadow:0 -2px #ffeb3b,0 4px #212b32}@media(max-width: 40em){.knowledge-nav__wordmark{display:none}}.knowledge-breadcrumb{margin-top:12px;margin-bottom:0;padding:0;background:none}.knowledge-breadcrumb .nhsuk-breadcrumb__list{margin-bottom:0}.knowledge-breadcrumb [aria-current=page]{color:#4c6272}.knowledge-breadcrumb:not(.knowledge-breadcrumb--quiet)+.nhsuk-main-wrapper{padding-top:12px}@media(min-width: 40.0625em){.knowledge-breadcrumb:not(.knowledge-breadcrumb--quiet)+.nhsuk-main-wrapper{padding-top:16px}}.knowledge-integrity{align-items:center;color:#d8dde0;display:flex;gap:8px;margin-bottom:0}.knowledge-integrity__icon{fill:#4caf7d;flex-shrink:0;height:20px;width:20px}.knowledge-integrity--failed{color:#ff8f85}.knowledge-admin-theme .nhsuk-footer{background-color:#1c1c1a;border-top:4px solid #007f3b;color:#fff}.knowledge-admin-theme .nhsuk-footer .nhsuk-width-container{max-width:none;margin-left:16px;margin-right:16px}@media(min-width: 48.0625em){.knowledge-admin-theme .nhsuk-footer .nhsuk-width-container{margin-left:32px;margin-right:32px}}.knowledge-admin-theme .nhsuk-footer__list-item-link,.knowledge-admin-theme .nhsuk-footer__list-item-link:visited,.knowledge-admin-theme .nhsuk-footer__list-item-link:hover{color:#fff}.knowledge-admin-theme .nhsuk-footer__list-item-link:focus{color:#212b32}.knowledge-admin-theme .nhsuk-footer__list{margin-bottom:16px}.knowledge-view-list{list-style:none;margin:0 0 24px;padding:0}.knowledge-view-list-heading{margin-top:24px;margin-bottom:4px}.knowledge-view-list li{border-top:1px solid #e3e1d9;padding:8px 0}.knowledge-view-list li:last-child{border-bottom:1px solid #e3e1d9}.knowledge-view-list .knowledge-note{display:block;margin:2px 0 0}.knowledge-card-grid{--card-min: 260px;--card-fit: auto-fit;display:grid;gap:16px;grid-template-columns:repeat(var(--card-fit), minmax(var(--card-min), 1fr));margin-bottom:32px}.knowledge-card-grid .knowledge-card{margin-bottom:0;max-width:none}.knowledge-card--compact{display:flex;flex-direction:column;padding:16px}.knowledge-card--compact .knowledge-card__meta:last-child{margin-top:auto;padding-top:8px}.knowledge-linked-list{font-size:.875rem;margin:0}.knowledge-linked-list li{margin-bottom:6px;padding:0}.knowledge-linked-list li:last-child{margin-bottom:0}.knowledge-linked-list a{text-decoration:none}.knowledge-linked-list a:hover,.knowledge-linked-list a:focus{text-decoration:underline}.knowledge-admin-theme .knowledge-card__statement{font-size:1rem;font-weight:400;line-height:1.4;margin:0 0 12px}.knowledge-admin-theme .knowledge-card__statement a{text-decoration:none}.knowledge-admin-theme .knowledge-card__statement a:hover,.knowledge-admin-theme .knowledge-card__statement a:focus{text-decoration:underline}.knowledge-card-grid--wide{--card-min: 380px}.knowledge-card__tags{margin-bottom:8px}.knowledge-card__details{margin-bottom:12px}.knowledge-card__details .nhsuk-details__text{font-size:.875rem}.knowledge-connection-list a{text-decoration:none}.knowledge-connection-list a:hover,.knowledge-connection-list a:focus{text-decoration:underline}.knowledge-connection-list li{margin-bottom:8px}.knowledge-flowmap{margin:0 0 32px;overflow-x:auto}.knowledge-flowmap__svg{display:block;min-width:860px;width:100%;height:auto}.knowledge-flowmap__flow{fill:none;stroke:#00726b;stroke-opacity:.22;stroke-linecap:round}.knowledge-flowmap__flow--aside{stroke-dasharray:3 5;stroke-opacity:.4;stroke-width:2 !important}.knowledge-flowmap__flow:hover{stroke-opacity:.55}.knowledge-flowmap__box{fill:#fff;stroke:#adb4b8}.knowledge-flowmap__label{fill:#1c1c1a;font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;font-weight:600}.knowledge-flowmap__count{fill:#4c6272;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:12px}.knowledge-flowlist{list-style:none;margin:0;padding:0}.knowledge-flowlist__row{align-items:center;border-top:1px solid #e3e1d9;display:grid;gap:16px;grid-template-columns:minmax(220px, 20rem) 1fr 3rem;padding:6px 0}.knowledge-flowlist__row:last-child{border-bottom:1px solid #e3e1d9}.knowledge-flowlist__phrase{color:#706f68;font-style:italic}.knowledge-flowlist__bar{background:#f0efe9;display:block;height:10px}.knowledge-flowlist__bar span{background:#00726b;border-radius:0 4px 4px 0;display:block;height:100%;min-width:2px}.knowledge-flowlist__count{font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:14px;text-align:right}@media(max-width: 40em){.knowledge-flowlist__row{grid-template-columns:1fr 3rem}.knowledge-flowlist__bar{display:none}}.knowledge-orphan-heading{margin-bottom:8px}.knowledge-orphan-heading+.knowledge-card-grid{margin-bottom:24px}.knowledge-admin-theme .knowledge-card__statement--only{margin-bottom:0}.knowledge-card-grid--fill{--card-fit: auto-fill}.knowledge-screen-preview{--preview-width: 1280px;--preview-height: 820px;--preview-scale: 0.28;margin:0 0 12px}.knowledge-screen-preview__frame{background:#fff;border:1px solid #e3e1d9;border-radius:3px;height:calc(var(--preview-height)*var(--preview-scale));overflow:hidden;position:relative;width:calc(var(--preview-width)*var(--preview-scale));max-width:100%}.knowledge-screen-preview__frame iframe{border:0;height:var(--preview-height);left:0;pointer-events:none;position:absolute;top:0;transform:scale(var(--preview-scale));transform-origin:0 0;width:var(--preview-width)}.knowledge-screen-preview figcaption{align-items:baseline;display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}.knowledge-screen-preview figcaption code{color:#706f68;font-size:12px}.knowledge-screen-preview--detail{--preview-scale: 0.5}.knowledge-screen-preview--inline{--preview-scale: 0.18}.knowledge-screen-preview--absent{background:#f6f5f2;border:1px dashed #d8dde0;border-radius:3px;padding:12px}@media print{.knowledge-screen-preview__frame{display:none}}.knowledge-screen-preview-row{display:flex;flex-wrap:wrap;gap:16px}.knowledge-template__command{background:#f6f5f2;border:1px solid #e3e1d9;border-radius:3px;display:block;font-size:13px;margin-top:4px;overflow-x:auto;padding:6px 8px;white-space:nowrap}